Home
last modified time | relevance | path

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

/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()
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 …]
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()
407 static int fanotify_encode_fh(struct fanotify_fh *fh, struct inode *inode, in fanotify_encode_fh()
618 struct fanotify_fh *dfh, *ffh; in fanotify_alloc_name_event()