-static struct unsuspendable_fd *unsuspendable_fd_create(const char *name,
- int fd);
-static int open_from_properties(const char *path,
- struct open_properties *properties);
-
-static void fs_handle_log(struct fs_handle *handle);
-static int fs_handle_suspend(struct fs_handle *handle);
-static int fs_handle_restore(struct fs_handle *handle);
-
-static void fd_tracker_track(struct fd_tracker *tracker,
- struct fs_handle *handle);
-static void fd_tracker_untrack(struct fd_tracker *tracker,
- struct fs_handle *handle);
-static int fd_tracker_suspend_handles(struct fd_tracker *tracker,
- unsigned int count);
-static int fd_tracker_restore_handle(struct fd_tracker *tracker,
- struct fs_handle *handle);
+static struct unsuspendable_fd *unsuspendable_fd_create(
+ const char *name, int fd);
+static int open_from_properties(const struct lttng_directory_handle *dir_handle,
+ const char *path, struct open_properties *properties);
+
+static void fs_handle_tracked_log(struct fs_handle_tracked *handle);
+static int fs_handle_tracked_suspend(struct fs_handle_tracked *handle);
+static int fs_handle_tracked_restore(struct fs_handle_tracked *handle);
+static int fs_handle_tracked_get_fd(struct fs_handle *_handle);
+static void fs_handle_tracked_put_fd(struct fs_handle *_handle);
+static int fs_handle_tracked_unlink(struct fs_handle *_handle);
+static int fs_handle_tracked_close(struct fs_handle *_handle);
+
+static void fd_tracker_track(
+ struct fd_tracker *tracker, struct fs_handle_tracked *handle);
+static void fd_tracker_untrack(
+ struct fd_tracker *tracker, struct fs_handle_tracked *handle);
+static int fd_tracker_suspend_handles(
+ struct fd_tracker *tracker, unsigned int count);
+static int fd_tracker_restore_handle(
+ struct fd_tracker *tracker, struct fs_handle_tracked *handle);