/linux-6.6.21/fs/notify/fanotify/ |
D | fanotify.c | 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() 120 if (!fanotify_fsid_equal(&fne1->fsid, &fne2->fsid)) in fanotify_name_event_equal() 130 if (!fanotify_fsid_equal(&fee1->fsid, &fee2->fsid)) in fanotify_error_event_equal() 578 __kernel_fsid_t *fsid, in fanotify_alloc_fid_event() argument 589 ffe->fsid = *fsid; in fanotify_alloc_fid_event() 590 *hash ^= fanotify_hash_fsid(fsid); in fanotify_alloc_fid_event() 598 __kernel_fsid_t *fsid, in fanotify_alloc_name_event() argument [all …]
|
D | fanotify_user.c | 413 static int copy_fid_info_to_user(__kernel_fsid_t *fsid, struct fanotify_fh *fh, in copy_fid_info_to_user() argument 453 info.fsid = *fsid; in copy_fid_info_to_user() 1199 __kernel_fsid_t *fsid) in fanotify_add_new_mark() argument 1224 ret = fsnotify_add_mark_locked(mark, connp, obj_type, 0, fsid); in fanotify_add_new_mark() 1282 __kernel_fsid_t *fsid) in fanotify_add_mark() argument 1292 fan_flags, fsid); in fanotify_add_mark() 1330 unsigned int flags, __kernel_fsid_t *fsid) in fanotify_add_vfsmount_mark() argument 1333 FSNOTIFY_OBJ_TYPE_VFSMOUNT, mask, flags, fsid); in fanotify_add_vfsmount_mark() 1338 unsigned int flags, __kernel_fsid_t *fsid) in fanotify_add_sb_mark() argument 1341 FSNOTIFY_OBJ_TYPE_SB, mask, flags, fsid); in fanotify_add_sb_mark() [all …]
|
D | fanotify.h | 285 __kernel_fsid_t fsid; member 298 __kernel_fsid_t fsid; member 313 __kernel_fsid_t fsid; /* FSID this error refers to. */ member 327 return &FANOTIFY_FE(event)->fsid; in fanotify_event_fsid() 329 return &FANOTIFY_NE(event)->fsid; in fanotify_event_fsid() 331 return &FANOTIFY_EE(event)->fsid; in fanotify_event_fsid()
|
/linux-6.6.21/fs/notify/ |
D | mark.c | 541 __kernel_fsid_t *fsid) in fsnotify_attach_connector_to_object() argument 554 if (fsid) { in fsnotify_attach_connector_to_object() 555 conn->fsid = *fsid; in fsnotify_attach_connector_to_object() 558 conn->fsid.val[0] = conn->fsid.val[1] = 0; in fsnotify_attach_connector_to_object() 612 int add_flags, __kernel_fsid_t *fsid) in fsnotify_add_mark_list() argument 623 if (fsid && WARN_ON_ONCE(!fsid->val[0] && !fsid->val[1])) in fsnotify_add_mark_list() 632 fsid); in fsnotify_add_mark_list() 636 } else if (fsid && !(conn->flags & FSNOTIFY_CONN_FLAG_HAS_FSID)) { in fsnotify_add_mark_list() 637 conn->fsid = *fsid; in fsnotify_add_mark_list() 641 } else if (fsid && (conn->flags & FSNOTIFY_CONN_FLAG_HAS_FSID) && in fsnotify_add_mark_list() [all …]
|
/linux-6.6.21/fs/orangefs/ |
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() 24 fsid = op->upcall.req.lookup.parent_refn.fs_id; in fsid_of_op() 27 fsid = op->upcall.req.create.parent_refn.fs_id; in fsid_of_op() 30 fsid = op->upcall.req.getattr.refn.fs_id; in fsid_of_op() 33 fsid = op->upcall.req.remove.parent_refn.fs_id; in fsid_of_op() 36 fsid = op->upcall.req.mkdir.parent_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() 45 fsid = op->upcall.req.sym.parent_refn.fs_id; in fsid_of_op() [all …]
|
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-6.6.21/fs/nfs/ |
D | nfs4getroot.c | 37 memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid)); in nfs4_get_rootfh()
|
D | client.c | 1090 memcpy(&server->fsid, &fattr->fsid, sizeof(server->fsid)); in nfs_create_server() 1093 (unsigned long long) server->fsid.major, in nfs_create_server() 1094 (unsigned long long) server->fsid.minor); in nfs_create_server() 1131 server->fsid = fattr->fsid; in nfs_clone_server() 1326 char fsid[34]; // 2 * 16 for %llx, 1 for ':', 1 for '\0' in nfs_volume_list_show() local 1342 snprintf(fsid, sizeof(fsid), "%llx:%llx", in nfs_volume_list_show() 1343 (unsigned long long) server->fsid.major, in nfs_volume_list_show() 1344 (unsigned long long) server->fsid.minor); in nfs_volume_list_show() 1352 fsid, in nfs_volume_list_show()
|
/linux-6.6.21/net/ceph/ |
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() 193 int ceph_parse_fsid(const char *str, struct ceph_fsid *fsid) in ceph_parse_fsid() argument 213 fsid->fsid[i] = d & 0xff; in ceph_parse_fsid() 220 dout("%s ret %d got fsid %pU\n", __func__, err, fsid); in ceph_parse_fsid() 443 err = ceph_parse_fsid(param->string, &opt->fsid); in ceph_parse_param() 657 seq_printf(m, "fsid=%pU,", &opt->fsid); in ceph_print_client_options() 826 &client->fsid); in __ceph_open_session()
|
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-6.6.21/Documentation/filesystems/ |
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-6.6.21/fs/overlayfs/ |
D | inode.c | 98 static void ovl_map_dev_ino(struct dentry *dentry, struct kstat *stat, int fsid) in ovl_map_dev_ino() argument 124 stat->ino |= ((u64)fsid) << (xinoshift + 1); in ovl_map_dev_ino() 153 stat->dev = ofs->fs[fsid].pseudo_dev; in ovl_map_dev_ino() 166 int fsid = 0; in ovl_getattr() local 192 fsid = ovl_layer_lower(dentry)->fsid; in ovl_getattr() 222 fsid = ovl_layer_lower(dentry)->fsid; in ovl_getattr() 264 ovl_map_dev_ino(dentry, stat, fsid); in ovl_getattr() 972 static void ovl_map_ino(struct inode *inode, unsigned long ino, int fsid) in ovl_map_ino() argument 989 inode->i_ino |= (unsigned long)fsid << (xinoshift + 1); in ovl_map_ino() 1012 unsigned long ino, int fsid) in ovl_inode_init() argument [all …]
|
D | super.c | 573 upper_layer->fsid = 0; in ovl_get_upper() 1076 int fsid; in ovl_get_layers() local 1079 fsid = ovl_get_fsid(ofs, &l->path); in ovl_get_layers() 1081 fsid = ovl_get_data_fsid(ofs); in ovl_get_layers() 1082 if (fsid < 0) in ovl_get_layers() 1083 return fsid; in ovl_get_layers() 1121 layers[ofs->numlayer].fsid = fsid; in ovl_get_layers() 1122 layers[ofs->numlayer].fs = &ofs->fs[fsid]; in ovl_get_layers() 1127 ofs->fs[fsid].is_lower = true; in ovl_get_layers() 1301 int fsid = lowerpath->layer->fsid; in ovl_get_root() local [all …]
|
/linux-6.6.21/fs/ceph/ |
D | cache.c | 88 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs() local 94 name = kasprintf(GFP_KERNEL, "ceph,%pU%s%s", fsid, uniq_len ? "," : "", in ceph_fscache_register_fs()
|
/linux-6.6.21/fs/dlm/ |
D | plock.c | 52 if (iter->info.fsid == info->fsid && in plock_lookup_waiter() 144 op->info.fsid = ls->ls_global_id; in dlm_posix_lock() 325 op->info.fsid = ls->ls_global_id; in dlm_posix_unlock() 387 info.fsid = ls->ls_global_id; in dlm_posix_cancel() 449 op->info.fsid = ls->ls_global_id; in dlm_posix_get() 560 iter->info.fsid == info.fsid) { in dev_write() 592 info.fsid, (unsigned long long)info.number); in dev_write()
|
/linux-6.6.21/fs/nfsd/ |
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()
|
D | nfsfh.h | 143 u32 fsid, unsigned char *uuid) in mk_fsid() argument 153 fsidv[0] = fsid; in mk_fsid()
|
/linux-6.6.21/fs/erofs/ |
D | super.c | 517 kfree(ctx->fsid); in erofs_fc_parse_param() 518 ctx->fsid = kstrdup(param->string, GFP_KERNEL); in erofs_fc_parse_param() 519 if (!ctx->fsid) in erofs_fc_parse_param() 605 sbi->fsid = ctx->fsid; in erofs_fc_fill_super() 606 ctx->fsid = NULL; in erofs_fc_fill_super() 720 if (IS_ENABLED(CONFIG_EROFS_FS_ONDEMAND) && ctx->fsid) in erofs_fc_get_tree() 734 if (ctx->fsid || ctx->domain_id) in erofs_fc_reconfigure() 776 kfree(ctx->fsid); in erofs_fc_free() 841 kfree(sbi->fsid); in erofs_kill_sb() 1000 if (sbi->fsid) in erofs_show_options() [all …]
|
/linux-6.6.21/include/linux/ceph/ |
D | libceph.h | 49 struct ceph_fsid fsid; member 116 struct ceph_fsid fsid; member 289 extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid); 290 extern int ceph_parse_fsid(const char *str, struct ceph_fsid *fsid);
|
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
|
/linux-6.6.21/samples/fanotify/ |
D | fs-monitor.c | 98 fid->fsid.val[0], fid->fsid.val[1]); in handle_notifications()
|
/linux-6.6.21/Documentation/filesystems/nfs/ |
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-6.6.21/fs/btrfs/ |
D | extent_io.h | 258 const void *fsid) in write_extent_buffer_fsid() argument 260 write_extent_buffer(eb, fsid, offsetof(struct btrfs_header, fsid), in write_extent_buffer_fsid()
|
D | volumes.c | 368 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid, in alloc_fs_devices() argument 373 ASSERT(fsid || !metadata_fsid); in alloc_fs_devices() 386 if (fsid) { in alloc_fs_devices() 387 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices() 389 metadata_fsid ?: fsid, BTRFS_FSID_SIZE); in alloc_fs_devices() 431 const u8 *fsid, const u8 *metadata_fsid) in match_fsid_fs_devices() argument 433 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) != 0) in match_fsid_fs_devices() 446 const u8 *fsid, const u8 *metadata_fsid) in find_fsid() argument 450 ASSERT(fsid); in find_fsid() 454 if (match_fsid_fs_devices(fs_devices, fsid, metadata_fsid)) in find_fsid() [all …]
|
/linux-6.6.21/include/uapi/linux/ |
D | dlm_plock.h | 39 __u32 fsid; member
|