Home
last modified time | relevance | path

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

/Linux-v5.10/fs/notify/fanotify/
Dfanotify.h26 #define FANOTIFY_FH_HDR_LEN offsetof(struct fanotify_fh, buf)
29 struct fanotify_fh { struct
53 static inline bool fanotify_fh_has_ext_buf(struct fanotify_fh *fh) in fanotify_fh_has_ext_buf()
58 static inline char **fanotify_fh_ext_buf_ptr(struct fanotify_fh *fh) in fanotify_fh_ext_buf_ptr()
66 static inline void *fanotify_fh_ext_buf(struct fanotify_fh *fh) in fanotify_fh_ext_buf()
71 static inline void *fanotify_fh_buf(struct fanotify_fh *fh) in fanotify_fh_buf()
85 static inline struct fanotify_fh *fanotify_info_dir_fh(struct fanotify_info *info) in fanotify_info_dir_fh()
89 return (struct fanotify_fh *)info->buf; in fanotify_info_dir_fh()
101 static inline struct fanotify_fh *fanotify_info_file_fh(struct fanotify_info *info) in fanotify_info_file_fh()
103 return (struct fanotify_fh *)(info->buf + info->dir_fh_totlen); in fanotify_info_file_fh()
[all …]
Dfanotify.c31 static bool fanotify_fh_equal(struct fanotify_fh *fh1, in fanotify_fh_equal()
32 struct fanotify_fh *fh2) in fanotify_fh_equal()
332 static int fanotify_encode_fh(struct fanotify_fh *fh, struct inode *inode, in fanotify_encode_fh()
488 struct fanotify_fh *dfh, *ffh; in fanotify_alloc_name_event()
Dfanotify_user.c228 static int copy_info_to_user(__kernel_fsid_t *fsid, struct fanotify_fh *fh, in copy_info_to_user()