Home
last modified time | relevance | path

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

/openbmc/linux/fs/notify/fanotify/
H A Dfanotify.h27 #define FANOTIFY_FH_HDR_LEN offsetof(struct fanotify_fh, buf) macro
91 BUILD_BUG_ON(FANOTIFY_FH_HDR_LEN % 4); in fanotify_fh_ext_buf_ptr()
110 WARN_ON_ONCE(info->dir_fh_totlen < FANOTIFY_FH_HDR_LEN)) in fanotify_info_dir_fh_len()
113 return info->dir_fh_totlen - FANOTIFY_FH_HDR_LEN; in fanotify_info_dir_fh_len()
126 WARN_ON_ONCE(info->dir2_fh_totlen < FANOTIFY_FH_HDR_LEN)) in fanotify_info_dir2_fh_len()
129 return info->dir2_fh_totlen - FANOTIFY_FH_HDR_LEN; in fanotify_info_dir2_fh_len()
140 WARN_ON_ONCE(info->file_fh_totlen < FANOTIFY_FH_HDR_LEN)) in fanotify_info_file_fh_len()
143 return info->file_fh_totlen - FANOTIFY_FH_HDR_LEN; in fanotify_info_file_fh_len()
169 BUILD_BUG_ON(FANOTIFY_FH_HDR_LEN + MAX_HANDLE_SZ > U8_MAX); in fanotify_info_init()
H A Dfanotify.c462 return FANOTIFY_FH_HDR_LEN + fh_len; in fanotify_encode_fh()
620 size += FANOTIFY_FH_HDR_LEN + dir_fh_len; in fanotify_alloc_name_event()
622 size += FANOTIFY_FH_HDR_LEN + dir2_fh_len; in fanotify_alloc_name_event()
624 size += FANOTIFY_FH_HDR_LEN + child_fh_len; in fanotify_alloc_name_event()