Lines Matching refs:fsid
38 static unsigned int fanotify_hash_fsid(__kernel_fsid_t *fsid)
40 return hash_32(fsid->val[0], FANOTIFY_EVENT_HASH_BITS) ^
41 hash_32(fsid->val[1], FANOTIFY_EVENT_HASH_BITS);
71 return fanotify_fsid_equal(&ffe1->fsid, &ffe2->fsid) &&
120 if (!fanotify_fsid_equal(&fne1->fsid, &fne2->fsid))
130 if (!fanotify_fsid_equal(&fee1->fsid, &fee2->fsid))
578 __kernel_fsid_t *fsid,
589 ffe->fsid = *fsid;
590 *hash ^= fanotify_hash_fsid(fsid);
598 __kernel_fsid_t *fsid,
630 fne->fsid = *fsid;
631 *hash ^= fanotify_hash_fsid(fsid);
674 __kernel_fsid_t *fsid,
694 fee->fsid = *fsid;
705 *hash ^= fanotify_hash_fsid(fsid);
714 __kernel_fsid_t *fsid, u32 match_mask)
811 event = fanotify_alloc_error_event(group, fsid, data,
814 event = fanotify_alloc_name_event(dirid, fsid, file_name, child,
817 event = fanotify_alloc_fid_event(id, fsid, &hash, gfp);
841 * Get cached fsid of the filesystem containing the object from any connector.
842 * All connectors are supposed to have the same fsid, but we do not verify that
849 __kernel_fsid_t fsid = {};
862 fsid = conn->fsid;
863 if (WARN_ON_ONCE(!fsid.val[0] && !fsid.val[1]))
865 return fsid;
868 return fsid;
901 __kernel_fsid_t fsid = {};
946 fsid = fanotify_get_fsid(iter_info);
948 if (!fsid.val[0] && !fsid.val[1])
953 file_name, &fsid, match_mask);