Home
last modified time | relevance | path

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

/openbmc/linux/fs/notify/fanotify/
H A Dfanotify.h46 u8 name2_len; member
60 #define FANOTIFY_NAME2_SIZE(info) ((info)->name2_len + 1)
161 if (!info->name2_len) in fanotify_info_name2()
176 info->name2_len = 0; in fanotify_info_init()
186 WARN_ON_ONCE(info->name2_len > 0)) in fanotify_info_set_dir_fh()
197 WARN_ON_ONCE(info->name2_len > 0)) in fanotify_info_set_dir2_fh()
207 WARN_ON_ONCE(info->name2_len > 0)) in fanotify_info_set_file_fh()
217 WARN_ON_ONCE(info->name2_len > 0)) in fanotify_info_copy_name()
230 info->name2_len = name->len; in fanotify_info_copy_name2()
H A Dfanotify.c82 info1->name2_len != info2->name2_len) in fanotify_info_equal()
105 return !info1->name2_len || in fanotify_info_equal()
107 info1->name2_len); in fanotify_info_equal()
614 unsigned long name2_len = name2 ? name2->len : 0; in fanotify_alloc_name_event() local
618 size = sizeof(*fne) + name_len + name2_len + 2; in fanotify_alloc_name_event()
653 if (name2_len) { in fanotify_alloc_name_event()
655 *hash ^= full_name_hash((void *)name2_len, name2->name, in fanotify_alloc_name_event()
656 name2_len); in fanotify_alloc_name_event()
665 __func__, dir2_fh_len, info->name2_len, in fanotify_alloc_name_event()
666 info->name2_len, fanotify_info_name2(info)); in fanotify_alloc_name_event()
H A Dfanotify_user.c152 info->name2_len); in fanotify_dir_name_info_len()
569 info->name2_len, buf, count); in copy_info_records_to_user()
/openbmc/linux/fs/ntfs/
H A Dunistr.c84 const ntfschar *name2, const u32 name2_len, in ntfs_collate_names() argument
92 if (name1_len > name2_len) in ntfs_collate_names()
93 min_len = name2_len; in ntfs_collate_names()
110 if (name1_len < name2_len) in ntfs_collate_names()
112 if (name1_len == name2_len) in ntfs_collate_names()
H A Dntfs.h99 const ntfschar *name2, const u32 name2_len,
/openbmc/linux/net/ceph/
H A Dosd_client.c1783 const void *name2, size_t name2_len) in compare_names() argument
1787 ret = memcmp(name1, name2, min(name1_len, name2_len)); in compare_names()
1789 if (name1_len < name2_len) in compare_names()
1791 else if (name1_len > name2_len) in compare_names()