/kernel/linux/linux-5.10/fs/notify/ |
D | mark.c | 478 __kernel_fsid_t *fsid) in fsnotify_attach_connector_to_object() argument 491 if (fsid) { in fsnotify_attach_connector_to_object() 492 conn->fsid = *fsid; in fsnotify_attach_connector_to_object() 495 conn->fsid.val[0] = conn->fsid.val[1] = 0; in fsnotify_attach_connector_to_object() 549 int allow_dups, __kernel_fsid_t *fsid) in fsnotify_add_mark_list() argument 560 if (fsid && WARN_ON_ONCE(!fsid->val[0] && !fsid->val[1])) in fsnotify_add_mark_list() 568 err = fsnotify_attach_connector_to_object(connp, type, fsid); in fsnotify_add_mark_list() 572 } else if (fsid && !(conn->flags & FSNOTIFY_CONN_FLAG_HAS_FSID)) { in fsnotify_add_mark_list() 573 conn->fsid = *fsid; in fsnotify_add_mark_list() 577 } else if (fsid && (conn->flags & FSNOTIFY_CONN_FLAG_HAS_FSID) && in fsnotify_add_mark_list() [all …]
|
/kernel/linux/linux-5.10/fs/notify/fanotify/ |
D | fanotify.c | 48 return fanotify_fsid_equal(&ffe1->fsid, &ffe2->fsid) && in fanotify_fid_event_equal() 85 if (!fanotify_fsid_equal(&fne1->fsid, &fne2->fsid)) in fanotify_name_event_equal() 468 __kernel_fsid_t *fsid, in fanotify_alloc_fid_event() argument 478 ffe->fsid = *fsid; in fanotify_alloc_fid_event() 486 __kernel_fsid_t *fsid, in fanotify_alloc_name_event() argument 508 fne->fsid = *fsid; in fanotify_alloc_name_event() 531 __kernel_fsid_t *fsid) in fanotify_alloc_event() argument 594 event = fanotify_alloc_name_event(id, fsid, file_name, child, in fanotify_alloc_event() 597 event = fanotify_alloc_fid_event(id, fsid, gfp); in fanotify_alloc_event() 629 __kernel_fsid_t fsid = {}; in fanotify_get_fsid() local [all …]
|
D | fanotify_user.c | 228 static int copy_info_to_user(__kernel_fsid_t *fsid, struct fanotify_fh *fh, in copy_info_to_user() argument 268 info.fsid = *fsid; in copy_info_to_user() 823 __kernel_fsid_t *fsid) in fanotify_add_new_mark() argument 836 ret = fsnotify_add_mark_locked(mark, connp, type, 0, fsid); in fanotify_add_new_mark() 849 __kernel_fsid_t *fsid) in fanotify_add_mark() argument 857 fsn_mark = fanotify_add_new_mark(group, connp, type, fsid); in fanotify_add_mark() 874 unsigned int flags, __kernel_fsid_t *fsid) in fanotify_add_vfsmount_mark() argument 877 FSNOTIFY_OBJ_TYPE_VFSMOUNT, mask, flags, fsid); in fanotify_add_vfsmount_mark() 882 unsigned int flags, __kernel_fsid_t *fsid) in fanotify_add_sb_mark() argument 885 FSNOTIFY_OBJ_TYPE_SB, mask, flags, fsid); in fanotify_add_sb_mark() [all …]
|
D | fanotify.h | 157 __kernel_fsid_t fsid; member 171 __kernel_fsid_t fsid; member 184 return &FANOTIFY_FE(event)->fsid; in fanotify_event_fsid() 186 return &FANOTIFY_NE(event)->fsid; in fanotify_event_fsid()
|
/kernel/linux/linux-5.10/fs/ceph/ |
D | cache.c | 34 struct ceph_fsid fsid; member 55 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs() local 63 if (memcmp(&ent->fsid, fsid, sizeof(*fsid))) in ceph_fscache_register_fs() 71 fsid); in ceph_fscache_register_fs() 82 memcpy(&ent->fsid, fsid, sizeof(*fsid)); in ceph_fscache_register_fs() 90 &ent->fsid, sizeof(ent->fsid) + uniq_len, in ceph_fscache_register_fs() 100 fsid); in ceph_fscache_register_fs()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | nfs4getroot.c | 37 memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid)); in nfs4_get_rootfh()
|
D | client.c | 1022 memcpy(&server->fsid, &fattr->fsid, sizeof(server->fsid)); in nfs_create_server() 1025 (unsigned long long) server->fsid.major, in nfs_create_server() 1026 (unsigned long long) server->fsid.minor); in nfs_create_server() 1069 server->fsid = fattr->fsid; in nfs_clone_server() 1261 char fsid[34]; // 2 * 16 for %llx, 1 for ':', 1 for '\0' in nfs_volume_list_show() local 1277 snprintf(fsid, sizeof(fsid), "%llx:%llx", in nfs_volume_list_show() 1278 (unsigned long long) server->fsid.major, in nfs_volume_list_show() 1279 (unsigned long long) server->fsid.minor); in nfs_volume_list_show() 1287 fsid, in nfs_volume_list_show()
|
/kernel/linux/linux-5.10/fs/overlayfs/ |
D | inode.c | 97 static int ovl_map_dev_ino(struct dentry *dentry, struct kstat *stat, int fsid) in ovl_map_dev_ino() argument 122 stat->ino |= ((u64)fsid) << (xinoshift + 1); in ovl_map_dev_ino() 151 stat->dev = OVL_FS(dentry->d_sb)->fs[fsid].pseudo_dev; in ovl_map_dev_ino() 165 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 err = ovl_map_dev_ino(dentry, stat, fsid); in ovl_getattr() 594 static void ovl_map_ino(struct inode *inode, unsigned long ino, int fsid) in ovl_map_ino() argument 610 inode->i_ino |= (unsigned long)fsid << (xinoshift + 1); in ovl_map_ino() 633 unsigned long ino, int fsid) in ovl_inode_init() argument [all …]
|
D | super.c | 1152 upper_layer->fsid = 0; in ovl_get_upper() 1615 int fsid; in ovl_get_layers() local 1617 err = fsid = ovl_get_fsid(ofs, &stack[i]); in ovl_get_layers() 1657 layers[ofs->numlayer].fsid = fsid; in ovl_get_layers() 1658 layers[ofs->numlayer].fs = &ofs->fs[fsid]; in ovl_get_layers() 1660 ofs->fs[fsid].is_lower = true; in ovl_get_layers() 1840 int fsid = lowerpath->layer->fsid; in ovl_get_root() local 1855 fsid = 0; in ovl_get_root() 1865 ovl_inode_init(d_inode(root), &oip, ino, fsid); in ovl_get_root()
|
/kernel/linux/linux-5.10/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() 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() 448 err = parse_fsid(param->string, &opt->fsid); in ceph_parse_param() 621 seq_printf(m, "fsid=%pU,", &opt->fsid); in ceph_print_client_options() 790 &client->fsid); in __ceph_open_session()
|
D | mon_client.c | 46 struct ceph_fsid fsid; in ceph_monmap_decode() local 56 ceph_decode_need(&p, end, sizeof(fsid) + 2*sizeof(u32), bad); in ceph_monmap_decode() 57 ceph_decode_copy(&p, &fsid, sizeof(fsid)); in ceph_monmap_decode() 67 m->fsid = fsid; in ceph_monmap_decode() 487 if (ceph_check_fsid(client, &monmap->fsid) < 0) { in ceph_monc_handle_map() 730 h->fsid = monc->monmap->fsid; in ceph_monc_do_statfs() 927 h->fsid = monc->monmap->fsid; in do_mon_command_vargs()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/fs/dlm/ |
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()
|
/kernel/linux/linux-5.10/include/linux/ceph/ |
D | ceph_fs.h | 172 struct ceph_fsid fsid; member 183 struct ceph_fsid fsid; member 190 struct ceph_fsid fsid; member 198 struct ceph_fsid fsid; member 204 struct ceph_fsid fsid; member 220 struct ceph_fsid fsid; member
|
D | libceph.h | 49 struct ceph_fsid fsid; member 123 struct ceph_fsid fsid; member 291 extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid);
|
/kernel/linux/linux-5.10/include/linux/ |
D | fsnotify_backend.h | 359 __kernel_fsid_t fsid; /* fsid of filesystem containing object */ member 520 __kernel_fsid_t *fsid); 524 int allow_dups, __kernel_fsid_t *fsid); 528 __kernel_fsid_t *fsid);
|
D | statfs.h | 46 extern int vfs_get_fsid(struct dentry *dentry, __kernel_fsid_t *fsid);
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | volumes.c | 346 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid, in alloc_fs_devices() argument 361 if (fsid) in alloc_fs_devices() 362 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices() 366 else if (fsid) in alloc_fs_devices() 367 memcpy(fs_devs->metadata_uuid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices() 445 const u8 *fsid, const u8 *metadata_fsid) in find_fsid() argument 449 ASSERT(fsid); in find_fsid() 454 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0 in find_fsid() 459 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0) in find_fsid() 480 memcmp(disk_super->metadata_uuid, fs_devices->fsid, in find_fsid_with_metadata_uuid() [all …]
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | dlm_plock.h | 41 __u32 fsid; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | dlm_plock.h | 38 __u32 fsid; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | dlm_plock.h | 28 __u32 fsid; member
|
D | cramfs_fs.h | 38 struct cramfs_info fsid; member
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | nfsfh.h | 93 u32 fsid, unsigned char *uuid) in mk_fsid() argument 103 fsidv[0] = fsid; in mk_fsid()
|