Lines Matching defs:fsid
32 static unsigned int fanotify_hash_fsid(__kernel_fsid_t *fsid)
34 return hash_32(fsid->val[0], FANOTIFY_EVENT_HASH_BITS) ^
35 hash_32(fsid->val[1], FANOTIFY_EVENT_HASH_BITS);
65 return fanotify_fsid_equal(&ffe1->fsid, &ffe2->fsid) &&
114 if (!fanotify_fsid_equal(&fne1->fsid, &fne2->fsid))
124 if (!fanotify_fsid_equal(&fee1->fsid, &fee2->fsid))
574 __kernel_fsid_t *fsid,
585 ffe->fsid = *fsid;
586 *hash ^= fanotify_hash_fsid(fsid);
594 __kernel_fsid_t *fsid,
626 fne->fsid = *fsid;
627 *hash ^= fanotify_hash_fsid(fsid);
670 __kernel_fsid_t *fsid,
690 fee->fsid = *fsid;
701 *hash ^= fanotify_hash_fsid(fsid);
710 __kernel_fsid_t *fsid, u32 match_mask)
807 event = fanotify_alloc_error_event(group, fsid, data,
810 event = fanotify_alloc_name_event(dirid, fsid, file_name, child,
813 event = fanotify_alloc_fid_event(id, fsid, &hash, gfp);
837 * Get cached fsid of the filesystem containing the object from any mark.
838 * All marks are supposed to have the same fsid, but we do not verify that here.
844 __kernel_fsid_t fsid = {};
849 fsid = FANOTIFY_MARK(mark)->fsid;
851 WARN_ON_ONCE(!fsid.val[0] && !fsid.val[1]))
853 return fsid;
856 return fsid;
889 __kernel_fsid_t fsid = {};
934 fsid = fanotify_get_fsid(iter_info);
937 file_name, &fsid, match_mask);