Home
last modified time | relevance | path

Searched refs:fanotify_fh (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/fs/notify/fanotify/
H A Dfanotify.h28 #define FANOTIFY_FH_HDR_LEN offsetof(struct fanotify_fh, buf)
31 struct fanotify_fh { struct
85 static inline bool fanotify_fh_has_ext_buf(struct fanotify_fh *fh) in fanotify_fh_has_ext_buf()
98 static inline void *fanotify_fh_ext_buf(struct fanotify_fh *fh) in fanotify_fh_ext_buf()
103 static inline void *fanotify_fh_buf(struct fanotify_fh *fh) in fanotify_fh_buf()
121 return (struct fanotify_fh *)FANOTIFY_DIR_FH_BUF(info); in fanotify_info_dir_fh()
135 return (struct fanotify_fh *)FANOTIFY_DIR2_FH_BUF(info); in fanotify_info_dir2_fh()
149 return (struct fanotify_fh *)FANOTIFY_FILE_FH_BUF(info); in fanotify_info_file_fh()
280 struct fanotify_fh name; \
338 static inline struct fanotify_fh *fanotify_event_object_fh( in fanotify_event_object_fh()
[all …]
H A Dfanotify.c37 static bool fanotify_fh_equal(struct fanotify_fh *fh1, in fanotify_fh_equal()
38 struct fanotify_fh *fh2) in fanotify_fh_equal()
47 static unsigned int fanotify_hash_fh(struct fanotify_fh *fh) in fanotify_hash_fh()
412 static int fanotify_encode_fh(struct fanotify_fh *fh, struct inode *inode, in fanotify_encode_fh()
637 struct fanotify_fh *dfh, *ffh; in fanotify_alloc_name_event()
H A Dfanotify_user.c453 static int copy_fid_info_to_user(__kernel_fsid_t *fsid, struct fanotify_fh *fh, in copy_fid_info_to_user()