Lines Matching defs:fsid

412 static int copy_fid_info_to_user(__kernel_fsid_t *fsid, struct fanotify_fh *fh,
452 info.fsid = *fsid;
1202 struct fan_fsid *fsid)
1208 FANOTIFY_MARK(mark)->fsid = fsid->id;
1210 if (fsid->weak)
1213 /* First mark added will determine if group is single or multi fsid */
1231 /* Do not allow mixing of marks with weak and strong fsid */
1235 /* Allow mixing of marks with strong fsid from different fs */
1236 if (!fsid->weak)
1239 /* Do not allow mixing marks with weak fsid from different fs */
1240 if (old_sb != fsid->sb)
1244 if (!fanotify_fsid_equal(&FANOTIFY_MARK(old)->fsid,
1245 &FANOTIFY_MARK(mark)->fsid))
1255 struct fan_fsid *fsid)
1282 /* Cache fsid of filesystem containing the marked object */
1283 if (fsid) {
1284 ret = fanotify_set_mark_fsid(group, mark, fsid);
1288 fan_mark->fsid.val[0] = fan_mark->fsid.val[1] = 0;
1349 struct fan_fsid *fsid)
1359 fan_flags, fsid);
1397 unsigned int flags, struct fan_fsid *fsid)
1400 FSNOTIFY_OBJ_TYPE_VFSMOUNT, mask, flags, fsid);
1405 unsigned int flags, struct fan_fsid *fsid)
1408 FSNOTIFY_OBJ_TYPE_SB, mask, flags, fsid);
1413 unsigned int flags, struct fan_fsid *fsid)
1428 FSNOTIFY_OBJ_TYPE_INODE, mask, flags, fsid);
1625 struct fan_fsid *fsid)
1632 * Make sure dentry is not of a filesystem with zero fsid (e.g. fuse).
1634 err = vfs_get_fsid(dentry, &fsid->id);
1638 fsid->sb = dentry->d_sb;
1639 if (!fsid->id.val[0] && !fsid->id.val[1]) {
1646 * which uses a different fsid than sb root.
1652 if (!fanotify_fsid_equal(&root_fsid, &fsid->id)) {
1657 fsid->weak = false;
1661 /* Allow weak fsid when marking inodes */
1662 fsid->weak = true;
1747 struct fan_fsid __fsid, *fsid = NULL;
1907 fsid = &__fsid;
1941 flags, fsid);
1944 flags, fsid);
1947 flags, fsid);