Home
last modified time | relevance | path

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

/openbmc/linux/fs/notify/fanotify/
H A Dfanotify.h27 #define FANOTIFY_FH_HDR_LEN offsetof(struct fanotify_fh, buf)
30 struct fanotify_fh { struct
84 static inline bool fanotify_fh_has_ext_buf(struct fanotify_fh *fh) in fanotify_fh_has_ext_buf()
97 static inline void *fanotify_fh_ext_buf(struct fanotify_fh *fh) in fanotify_fh_ext_buf()
102 static inline void *fanotify_fh_buf(struct fanotify_fh *fh) in fanotify_fh_buf()
120 return (struct fanotify_fh *)FANOTIFY_DIR_FH_BUF(info); in fanotify_info_dir_fh()
134 return (struct fanotify_fh *)FANOTIFY_DIR2_FH_BUF(info); in fanotify_info_dir2_fh()
148 return (struct fanotify_fh *)FANOTIFY_FILE_FH_BUF(info); in fanotify_info_file_fh()
278 struct fanotify_fh (name); \
336 static inline struct fanotify_fh *fanotify_event_object_fh( in fanotify_event_object_fh()
[all …]
H A Dfanotify.c44 static bool fanotify_fh_equal(struct fanotify_fh *fh1, in fanotify_fh_equal()
45 struct fanotify_fh *fh2) in fanotify_fh_equal()
54 static unsigned int fanotify_hash_fh(struct fanotify_fh *fh) in fanotify_hash_fh()
403 static int fanotify_encode_fh(struct fanotify_fh *fh, struct inode *inode, in fanotify_encode_fh()
607 struct fanotify_fh *dfh, *ffh; in fanotify_alloc_name_event()
H A Dfanotify_user.c413 static int copy_fid_info_to_user(__kernel_fsid_t *fsid, struct fanotify_fh *fh, in copy_fid_info_to_user()