Lines Matching refs:fh
84 static inline bool fanotify_fh_has_ext_buf(struct fanotify_fh *fh) in fanotify_fh_has_ext_buf() argument
86 return (fh->flags & FANOTIFY_FH_FLAG_EXT_BUF); 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() argument
94 return (char **)ALIGN((unsigned long)(fh->buf), __alignof__(char *)); in fanotify_fh_ext_buf_ptr()
97 static inline void *fanotify_fh_ext_buf(struct fanotify_fh *fh) in fanotify_fh_ext_buf() argument
99 return *fanotify_fh_ext_buf_ptr(fh); in fanotify_fh_ext_buf()
102 static inline void *fanotify_fh_buf(struct fanotify_fh *fh) in fanotify_fh_buf() argument
104 return fanotify_fh_has_ext_buf(fh) ? fanotify_fh_ext_buf(fh) : fh->buf; in fanotify_fh_buf()
361 struct fanotify_fh *fh = fanotify_event_object_fh(event); in fanotify_event_object_fh_len() local
364 return info->file_fh_totlen ? fh->len : 0; in fanotify_event_object_fh_len()
366 return fh ? fh->len : 0; in fanotify_event_object_fh_len()