/linux/fs/notify/fanotify/ |
A D | fanotify.c | 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() 547 ffe->fsid = *fsid; in fanotify_alloc_fid_event() 579 fne->fsid = *fsid; in fanotify_alloc_name_event() 626 fee->fsid = *fsid; in fanotify_alloc_error_event() 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() [all …]
|
A D | fanotify_user.c | 392 info.fsid = *fsid; in copy_fid_info_to_user() 1061 __kernel_fsid_t *fsid) in fanotify_add_new_mark() argument 1110 __kernel_fsid_t *fsid) in fanotify_add_mark() argument 1374 err = vfs_get_fsid(dentry, fsid); in fanotify_test_fsid() 1378 if (!fsid->val[0] && !fsid->val[1]) in fanotify_test_fsid() 1390 root_fsid.val[1] != fsid->val[1]) in fanotify_test_fsid() 1437 __kernel_fsid_t __fsid, *fsid = NULL; in do_fanotify_mark() local 1570 fsid = &__fsid; in do_fanotify_mark() 1597 flags, fsid); in do_fanotify_mark() 1600 flags, fsid); in do_fanotify_mark() [all …]
|
A D | fanotify.h | 183 __kernel_fsid_t fsid; member 196 __kernel_fsid_t fsid; member 211 __kernel_fsid_t fsid; /* FSID this error refers to. */ member 225 return &FANOTIFY_FE(event)->fsid; in fanotify_event_fsid() 227 return &FANOTIFY_NE(event)->fsid; in fanotify_event_fsid() 229 return &FANOTIFY_EE(event)->fsid; in fanotify_event_fsid()
|
/linux/fs/ceph/ |
A D | cache.c | 28 struct ceph_fsid fsid; member 49 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs() local 57 if (memcmp(&ent->fsid, fsid, sizeof(*fsid))) in ceph_fscache_register_fs() 65 fsid); in ceph_fscache_register_fs() 76 memcpy(&ent->fsid, fsid, sizeof(*fsid)); in ceph_fscache_register_fs() 84 &ent->fsid, sizeof(ent->fsid) + uniq_len, in ceph_fscache_register_fs() 94 fsid); in ceph_fscache_register_fs()
|
/linux/fs/notify/ |
A D | mark.c | 500 __kernel_fsid_t *fsid) in fsnotify_attach_connector_to_object() argument 513 if (fsid) { in fsnotify_attach_connector_to_object() 514 conn->fsid = *fsid; in fsnotify_attach_connector_to_object() 517 conn->fsid.val[0] = conn->fsid.val[1] = 0; in fsnotify_attach_connector_to_object() 576 int allow_dups, __kernel_fsid_t *fsid) in fsnotify_add_mark_list() argument 587 if (fsid && WARN_ON_ONCE(!fsid->val[0] && !fsid->val[1])) in fsnotify_add_mark_list() 600 conn->fsid = *fsid; in fsnotify_add_mark_list() 605 (fsid->val[0] != conn->fsid.val[0] || in fsnotify_add_mark_list() 606 fsid->val[1] != conn->fsid.val[1])) { in fsnotify_add_mark_list() 616 fsid->val[0], fsid->val[1], in fsnotify_add_mark_list() [all …]
|
/linux/fs/orangefs/ |
A D | orangefs-utils.c | 16 __s32 fsid = ORANGEFS_FS_ID_NULL; in fsid_of_op() local 21 fsid = op->upcall.req.io.refn.fs_id; in fsid_of_op() 30 fsid = op->upcall.req.getattr.refn.fs_id; in fsid_of_op() 39 fsid = op->upcall.req.readdir.refn.fs_id; in fsid_of_op() 42 fsid = op->upcall.req.setattr.refn.fs_id; in fsid_of_op() 51 fsid = op->upcall.req.statfs.fs_id; in fsid_of_op() 54 fsid = op->upcall.req.truncate.refn.fs_id; in fsid_of_op() 60 fsid = op->upcall.req.fs_umount.fs_id; in fsid_of_op() 63 fsid = op->upcall.req.getxattr.refn.fs_id; in fsid_of_op() 75 fsid = op->upcall.req.fsync.refn.fs_id; in fsid_of_op() [all …]
|
A D | devorangefs-req.c | 105 static int fs_mount_pending(__s32 fsid) in fs_mount_pending() argument 112 if (orangefs_sb->fs_id == fsid) { in fs_mount_pending() 193 __s32 fsid; in orangefs_devreq_read() local 201 fsid = fsid_of_op(op); in orangefs_devreq_read() 202 if (fsid != ORANGEFS_FS_ID_NULL) { in orangefs_devreq_read() 205 ret = fs_mount_pending(fsid); in orangefs_devreq_read() 235 fsid); in orangefs_devreq_read()
|
/linux/fs/overlayfs/ |
A D | inode.c | 120 stat->ino |= ((u64)fsid) << (xinoshift + 1); in ovl_map_dev_ino() 149 stat->dev = OVL_FS(dentry->d_sb)->fs[fsid].pseudo_dev; in ovl_map_dev_ino() 162 int fsid = 0; in ovl_getattr() local 188 fsid = ovl_layer_lower(dentry)->fsid; in ovl_getattr() 218 fsid = ovl_layer_lower(dentry)->fsid; in ovl_getattr() 253 ovl_map_dev_ino(dentry, stat, fsid); in ovl_getattr() 777 unsigned long ino, int fsid) in ovl_inode_init() argument 791 ovl_map_ino(inode, ino, fsid); in ovl_inode_init() 1107 int fsid = bylower ? lowerpath->layer->fsid : 0; in ovl_get_inode() local 1159 fsid = lowerpath->layer->fsid; in ovl_get_inode() [all …]
|
A D | super.c | 1228 upper_layer->fsid = 0; in ovl_get_upper() 1708 int fsid; in ovl_get_layers() local 1710 err = fsid = ovl_get_fsid(ofs, &stack[i]); in ovl_get_layers() 1750 layers[ofs->numlayer].fsid = fsid; in ovl_get_layers() 1751 layers[ofs->numlayer].fs = &ofs->fs[fsid]; in ovl_get_layers() 1753 ofs->fs[fsid].is_lower = true; in ovl_get_layers() 1933 int fsid = lowerpath->layer->fsid; in ovl_get_root() local 1948 fsid = 0; in ovl_get_root() 1958 ovl_inode_init(d_inode(root), &oip, ino, fsid); in ovl_get_root()
|
A D | readdir.c | 428 static u64 ovl_remap_lower_ino(u64 ino, int xinobits, int fsid, in ovl_remap_lower_ino() argument 445 return ino | ((u64)fsid) << (xinoshift + 1); in ovl_remap_lower_ino() 515 ovl_layer_lower(this)->fsid, in ovl_cache_update_ino() 646 int fsid; member 668 ino = ovl_remap_lower_ino(ino, rdt->xinobits, rdt->fsid, in ovl_fill_real() 704 rdt.fsid = lower_layer->fsid; in ovl_iterate_real()
|
/linux/net/ceph/ |
A D | ceph_common.c | 105 int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid) in ceph_check_fsid() argument 108 if (ceph_fsid_compare(&client->fsid, fsid)) { in ceph_check_fsid() 110 &client->fsid, fsid); in ceph_check_fsid() 114 memcpy(&client->fsid, fsid, sizeof(*fsid)); in ceph_check_fsid() 220 static int parse_fsid(const char *str, struct ceph_fsid *fsid) in parse_fsid() argument 240 fsid->fsid[i] = d & 0xff; in parse_fsid() 247 dout("parse_fsid ret %d got fsid %pU\n", err, fsid); in parse_fsid() 468 err = parse_fsid(param->string, &opt->fsid); in ceph_parse_param() 679 seq_printf(m, "fsid=%pU,", &opt->fsid); in ceph_print_client_options() 846 &client->fsid); in __ceph_open_session()
|
A D | mon_client.c | 73 struct ceph_fsid fsid; in ceph_monmap_decode() local 90 ceph_decode_copy_safe(p, end, &fsid, sizeof(fsid), e_inval); in ceph_monmap_decode() 115 dout("%s fsid %pU epoch %u num_mon %d\n", __func__, &fsid, epoch, in ceph_monmap_decode() 125 monmap->fsid = fsid; in ceph_monmap_decode() 560 if (ceph_check_fsid(client, &monmap->fsid) < 0) { in ceph_monc_handle_map() 803 h->fsid = monc->monmap->fsid; in ceph_monc_do_statfs() 1000 h->fsid = monc->monmap->fsid; in do_mon_command_vargs()
|
/linux/fs/nfs/ |
A D | nfs4getroot.c | 37 memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid)); in nfs4_get_rootfh()
|
A D | client.c | 1057 memcpy(&server->fsid, &fattr->fsid, sizeof(server->fsid)); in nfs_create_server() 1060 (unsigned long long) server->fsid.major, in nfs_create_server() 1061 (unsigned long long) server->fsid.minor); in nfs_create_server() 1098 server->fsid = fattr->fsid; in nfs_clone_server() 1288 char fsid[34]; // 2 * 16 for %llx, 1 for ':', 1 for '\0' in nfs_volume_list_show() local 1304 snprintf(fsid, sizeof(fsid), "%llx:%llx", in nfs_volume_list_show() 1305 (unsigned long long) server->fsid.major, in nfs_volume_list_show() 1306 (unsigned long long) server->fsid.minor); in nfs_volume_list_show() 1314 fsid, in nfs_volume_list_show()
|
/linux/Documentation/filesystems/ |
A D | cramfs.rst | 102 >32 ulelong x fsid.crc 0x%x 103 >36 ulelong x fsid.edition %d 104 >40 ulelong x fsid.blocks %d 105 >44 ulelong x fsid.files %d 112 >544 ulelong x fsid.crc 0x%x 113 >548 ulelong x fsid.edition %d 114 >552 ulelong x fsid.blocks %d 115 >556 ulelong x fsid.files %d
|
/linux/fs/nfsd/ |
A D | nfsxdr.c | 222 u32 fsid; in svcxdr_encode_fattr() local 247 fsid = (u32)fhp->fh_export->ex_fsid; in svcxdr_encode_fattr() 250 fsid = ((u32 *)fhp->fh_export->ex_uuid)[0]; in svcxdr_encode_fattr() 251 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[1]; in svcxdr_encode_fattr() 252 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[2]; in svcxdr_encode_fattr() 253 fsid ^= ((u32 *)fhp->fh_export->ex_uuid)[3]; in svcxdr_encode_fattr() 256 fsid = new_encode_dev(stat->dev); in svcxdr_encode_fattr() 259 *p++ = cpu_to_be32(fsid); in svcxdr_encode_fattr()
|
A D | nfsfh.h | 146 u32 fsid, unsigned char *uuid) in mk_fsid() argument 156 fsidv[0] = fsid; in mk_fsid()
|
/linux/fs/dlm/ |
A D | plock.c | 88 op->info.fsid = ls->ls_global_id; in do_unlock_close() 124 op->info.fsid = ls->ls_global_id; in dlm_posix_lock() 274 op->info.fsid = ls->ls_global_id; in dlm_posix_unlock() 335 op->info.fsid = ls->ls_global_id; in dlm_posix_get() 436 if (op->info.fsid == info.fsid && in dev_write() 458 log_print("dev_write no op %x %llx", info.fsid, in dev_write()
|
/linux/include/linux/ceph/ |
A D | ceph_fs.h | 183 struct ceph_fsid fsid; member 194 struct ceph_fsid fsid; member 201 struct ceph_fsid fsid; member 209 struct ceph_fsid fsid; member 215 struct ceph_fsid fsid; member 231 struct ceph_fsid fsid; member
|
A D | libceph.h | 48 struct ceph_fsid fsid; member 125 struct ceph_fsid fsid; member 297 extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid);
|
/linux/Documentation/filesystems/nfs/ |
A D | reexport.rst | 14 "fsid=" required, crossmnt broken 17 We require the "fsid=" export option on any reexport of an NFS 20 The "crossmnt" export does not propagate "fsid=", so it will not allow 23 them explicitly, assigning each its own unique "fsid= option.
|
/linux/fs/btrfs/ |
A D | volumes.c | 388 if (fsid) in alloc_fs_devices() 389 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices() 393 else if (fsid) in alloc_fs_devices() 439 ASSERT(fsid); in find_fsid() 444 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0 in find_fsid() 449 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0) in find_fsid() 724 memcmp(fs_devices->fsid, disk_super->fsid, in find_fsid_changed() 831 memcpy(fs_devices->fsid, disk_super->fsid, in device_list_add() 2389 memcpy(args->fsid, disk_super->fsid, BTRFS_FSID_SIZE); in btrfs_get_dev_args_from_path() 7181 ASSERT(fsid); in open_seed_devices() [all …]
|
/linux/samples/fanotify/ |
A D | fs-monitor.c | 98 fid->fsid.val[0], fid->fsid.val[1]); in handle_notifications()
|
/linux/include/linux/ |
A D | fsnotify_backend.h | 420 __kernel_fsid_t fsid; /* fsid of filesystem containing object */ member 604 __kernel_fsid_t *fsid); 608 int allow_dups, __kernel_fsid_t *fsid); 612 __kernel_fsid_t *fsid);
|
/linux/include/uapi/linux/ |
A D | dlm_plock.h | 38 __u32 fsid; member
|