Home
last modified time | relevance | path

Searched refs:name2_len (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/fs/notify/fanotify/
H A Dfanotify.h47 u8 name2_len; member
61 #define FANOTIFY_NAME2_SIZE(info) ((info)->name2_len + 1)
162 if (!info->name2_len) in fanotify_info_name2()
177 info->name2_len = 0; in fanotify_info_init()
187 WARN_ON_ONCE(info->name2_len > 0)) in fanotify_info_set_dir_fh()
198 WARN_ON_ONCE(info->name2_len > 0)) in fanotify_info_set_dir2_fh()
208 WARN_ON_ONCE(info->name2_len > 0)) in fanotify_info_set_file_fh()
218 WARN_ON_ONCE(info->name2_len > 0)) in fanotify_info_copy_name()
231 info->name2_len = name->len; in fanotify_info_copy_name2()
H A Dfanotify.c75 info1->name2_len != info2->name2_len) in fanotify_info_equal()
98 return !info1->name2_len || in fanotify_info_equal()
100 info1->name2_len); in fanotify_info_equal()
644 unsigned long name2_len = name2 ? name2->len : 0; in fanotify_alloc_name_event() local
648 size = sizeof(*fne) + name_len + name2_len + 2; in fanotify_alloc_name_event()
683 if (name2_len) { in fanotify_alloc_name_event()
685 *hash ^= full_name_hash((void *)name2_len, name2->name, in fanotify_alloc_name_event()
686 name2_len); in fanotify_alloc_name_event()
695 __func__, dir2_fh_len, info->name2_len, in fanotify_alloc_name_event()
696 info->name2_len, fanotify_info_name2(info)); in fanotify_alloc_name_event()
H A Dfanotify_user.c154 info->name2_len); in fanotify_dir_name_info_len()
640 info->name2_len, buf, count); in copy_info_records_to_user()
/linux-6.15/net/ceph/
H A Dosd_client.c1760 const void *name2, size_t name2_len) in compare_names() argument
1764 ret = memcmp(name1, name2, min(name1_len, name2_len)); in compare_names()
1766 if (name1_len < name2_len) in compare_names()
1768 else if (name1_len > name2_len) in compare_names()