Lines Matching refs:fsid
38 static unsigned int fanotify_hash_fsid(__kernel_fsid_t *fsid) in fanotify_hash_fsid() argument
40 return hash_32(fsid->val[0], FANOTIFY_EVENT_HASH_BITS) ^ in fanotify_hash_fsid()
41 hash_32(fsid->val[1], FANOTIFY_EVENT_HASH_BITS); in fanotify_hash_fsid()
71 return fanotify_fsid_equal(&ffe1->fsid, &ffe2->fsid) && in fanotify_fid_event_equal()
108 if (!fanotify_fsid_equal(&fne1->fsid, &fne2->fsid)) in fanotify_name_event_equal()
118 if (!fanotify_fsid_equal(&fee1->fsid, &fee2->fsid)) in fanotify_error_event_equal()
536 __kernel_fsid_t *fsid, in fanotify_alloc_fid_event() argument
547 ffe->fsid = *fsid; in fanotify_alloc_fid_event()
548 *hash ^= fanotify_hash_fsid(fsid); in fanotify_alloc_fid_event()
556 __kernel_fsid_t *fsid, in fanotify_alloc_name_event() argument
579 fne->fsid = *fsid; in fanotify_alloc_name_event()
580 *hash ^= fanotify_hash_fsid(fsid); in fanotify_alloc_name_event()
606 __kernel_fsid_t *fsid, in fanotify_alloc_error_event() argument
626 fee->fsid = *fsid; in fanotify_alloc_error_event()
637 *hash ^= fanotify_hash_fsid(fsid); in fanotify_alloc_error_event()
646 __kernel_fsid_t *fsid) in fanotify_alloc_event() argument
710 event = fanotify_alloc_error_event(group, fsid, data, in fanotify_alloc_event()
713 event = fanotify_alloc_name_event(id, fsid, file_name, child, in fanotify_alloc_event()
716 event = fanotify_alloc_fid_event(id, fsid, &hash, gfp); in fanotify_alloc_event()
747 __kernel_fsid_t fsid = {}; in fanotify_get_fsid() local
763 fsid = conn->fsid; in fanotify_get_fsid()
764 if (WARN_ON_ONCE(!fsid.val[0] && !fsid.val[1])) in fanotify_get_fsid()
766 return fsid; in fanotify_get_fsid()
769 return fsid; in fanotify_get_fsid()
802 __kernel_fsid_t fsid = {}; in fanotify_handle_event() local
844 fsid = fanotify_get_fsid(iter_info); in fanotify_handle_event()
846 if (!fsid.val[0] && !fsid.val[1]) in fanotify_handle_event()
851 file_name, &fsid); in fanotify_handle_event()