/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 …]
|
/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()
|
/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()
|
/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()
|
D | super.c | 103 for (i = 0 ; i < sizeof(monc->monmap->fsid) / sizeof(__le32) ; ++i) in ceph_statfs() 104 buf->f_fsid.val[0] ^= le32_to_cpu(((__le32 *)&monc->monmap->fsid)[i]); in ceph_statfs() 1010 ceph_fsid_compare(&opt->fsid, &fsc->client->fsid)) { in ceph_compare_super()
|
/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() 595 static void ovl_map_ino(struct inode *inode, unsigned long ino, int fsid) in ovl_map_ino() argument 611 inode->i_ino |= (unsigned long)fsid << (xinoshift + 1); in ovl_map_ino() 634 unsigned long ino, int fsid) in ovl_inode_init() argument [all …]
|
D | super.c | 1181 upper_layer->fsid = 0; in ovl_get_upper() 1644 int fsid; in ovl_get_layers() local 1646 err = fsid = ovl_get_fsid(ofs, &stack[i]); in ovl_get_layers() 1686 layers[ofs->numlayer].fsid = fsid; in ovl_get_layers() 1687 layers[ofs->numlayer].fs = &ofs->fs[fsid]; in ovl_get_layers() 1689 ofs->fs[fsid].is_lower = true; in ovl_get_layers() 1869 int fsid = lowerpath->layer->fsid; in ovl_get_root() local 1884 fsid = 0; in ovl_get_root() 1894 ovl_inode_init(d_inode(root), &oip, ino, fsid); in ovl_get_root()
|
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() 513 ovl_layer_lower(this)->fsid, in ovl_cache_update_ino() 644 int fsid; member 666 ino = ovl_remap_lower_ino(ino, rdt->xinobits, rdt->fsid, in ovl_fill_real() 702 rdt.fsid = lower_layer->fsid; in ovl_iterate_real()
|
D | ovl_entry.h | 42 int fsid; member
|
/fs/dlm/ |
D | plock.c | 93 op->info.fsid = info->fsid; in do_unlock_close() 125 op->info.fsid = ls->ls_global_id; in dlm_posix_lock() 284 op->info.fsid = ls->ls_global_id; in dlm_posix_unlock() 345 op->info.fsid = ls->ls_global_id; in dlm_posix_get() 455 if (iter->info.fsid == info.fsid && in dev_write() 470 iter->info.fsid == info.fsid) { in dev_write() 502 info.fsid, (unsigned long long)info.number); in dev_write()
|
/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()
|
D | fscache.c | 139 key->key.nfs_server.fsid = nfss->fsid; in nfs_fscache_get_super_cookie()
|
D | fscache.h | 34 struct nfs_fsid fsid; member
|
/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() 446 const u8 *fsid, const u8 *metadata_fsid) in find_fsid() argument 450 ASSERT(fsid); in find_fsid() 455 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0 in find_fsid() 460 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0) in find_fsid() 481 memcmp(disk_super->metadata_uuid, fs_devices->fsid, in find_fsid_with_metadata_uuid() [all …]
|
D | disk-io.c | 474 offsetof(struct btrfs_header, fsid), in csum_dirty_buffer() 501 u8 fsid[BTRFS_FSID_SIZE]; in check_tree_block_fsid() local 504 read_extent_buffer(eb, fsid, offsetof(struct btrfs_header, fsid), in check_tree_block_fsid() 514 metadata_uuid = fs_devices->fsid; in check_tree_block_fsid() 516 if (!memcmp(fsid, metadata_uuid, BTRFS_FSID_SIZE)) in check_tree_block_fsid() 520 if (!memcmp(fsid, seed_devs->fsid, BTRFS_FSID_SIZE)) in check_tree_block_fsid() 2508 if (memcmp(fs_info->fs_devices->fsid, sb->fsid, BTRFS_FSID_SIZE) != 0) { in validate_super() 2511 sb->fsid, fs_info->fs_devices->fsid); in validate_super() 2523 if (memcmp(fs_info->fs_devices->metadata_uuid, sb->dev_item.fsid, in validate_super() 2527 fs_info->fs_devices->metadata_uuid, sb->dev_item.fsid); in validate_super() [all …]
|
D | volumes.h | 216 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */ member 457 u64 devid, u8 *uuid, u8 *fsid, bool seed);
|
D | super.c | 2191 __be32 *fsid = (__be32 *)fs_info->fs_devices->fsid; in btrfs_statfs() local 2280 buf->f_fsid.val[0] = be32_to_cpu(fsid[0]) ^ be32_to_cpu(fsid[2]); in btrfs_statfs() 2281 buf->f_fsid.val[1] = be32_to_cpu(fsid[1]) ^ be32_to_cpu(fsid[3]); in btrfs_statfs()
|
/fs/nfsd/ |
D | trace.h | 90 __array(u32, fsid, 6) 96 memcpy(__entry->fsid, key->ek_fsid, 4*6); 102 __print_array(__entry->fsid, 6, 4), 113 __array(u32, fsid, 6) 120 memcpy(__entry->fsid, key->ek_fsid, 4*6); 127 __print_array(__entry->fsid, 6, 4),
|
D | nfsfh.h | 93 u32 fsid, unsigned char *uuid) in mk_fsid() argument 103 fsidv[0] = fsid; in mk_fsid()
|
D | pnfs.h | 18 u32 fsid[]; member
|
/fs/ |
D | statfs.c | 72 int vfs_get_fsid(struct dentry *dentry, __kernel_fsid_t *fsid) in vfs_get_fsid() argument 81 *fsid = st.f_fsid; in vfs_get_fsid()
|