Home
last modified time | relevance | path

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

/linux-6.1.9/fs/notify/fanotify/
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()
89 static inline char **fanotify_fh_ext_buf_ptr(struct fanotify_fh *fh) in fanotify_fh_ext_buf_ptr()
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()
116 static inline struct fanotify_fh *fanotify_info_dir_fh(struct fanotify_info *info) in fanotify_info_dir_fh()
120 return (struct fanotify_fh *)FANOTIFY_DIR_FH_BUF(info); in fanotify_info_dir_fh()
132 static inline struct fanotify_fh *fanotify_info_dir2_fh(struct fanotify_info *info) in fanotify_info_dir2_fh()
134 return (struct fanotify_fh *)FANOTIFY_DIR2_FH_BUF(info); in fanotify_info_dir2_fh()
[all …]
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()
402 static int fanotify_encode_fh(struct fanotify_fh *fh, struct inode *inode, in fanotify_encode_fh()
603 struct fanotify_fh *dfh, *ffh; in fanotify_alloc_name_event()
Dfanotify_user.c373 static int copy_fid_info_to_user(__kernel_fsid_t *fsid, struct fanotify_fh *fh, in copy_fid_info_to_user()