/fs/notify/ |
D | mark.c | 474 __kernel_fsid_t *fsid) in fsnotify_attach_connector_to_object() argument 487 if (fsid) { in fsnotify_attach_connector_to_object() 488 conn->fsid = *fsid; in fsnotify_attach_connector_to_object() 491 conn->fsid.val[0] = conn->fsid.val[1] = 0; in fsnotify_attach_connector_to_object() 545 int allow_dups, __kernel_fsid_t *fsid) in fsnotify_add_mark_list() argument 556 if (fsid && WARN_ON_ONCE(!fsid->val[0] && !fsid->val[1])) in fsnotify_add_mark_list() 564 err = fsnotify_attach_connector_to_object(connp, type, fsid); in fsnotify_add_mark_list() 568 } else if (fsid && !(conn->flags & FSNOTIFY_CONN_FLAG_HAS_FSID)) { in fsnotify_add_mark_list() 569 conn->fsid = *fsid; in fsnotify_add_mark_list() 573 } else if (fsid && (conn->flags & FSNOTIFY_CONN_FLAG_HAS_FSID) && in fsnotify_add_mark_list() [all …]
|
/fs/notify/fanotify/ |
D | fanotify.c | 215 __kernel_fsid_t *fsid) in fanotify_encode_fid() argument 243 fid->fsid = *fsid; in fanotify_encode_fid() 251 fsid->val[0], fsid->val[1], type, bytes, err); in fanotify_encode_fid() 282 __kernel_fsid_t *fsid) in fanotify_alloc_event() argument 326 event->fh_type = fanotify_encode_fid(event, id, gfp, fsid); in fanotify_alloc_event() 349 __kernel_fsid_t fsid = {}; in fanotify_get_fsid() local 365 fsid = conn->fsid; in fanotify_get_fsid() 366 if (WARN_ON_ONCE(!fsid.val[0] && !fsid.val[1])) in fanotify_get_fsid() 368 return fsid; in fanotify_get_fsid() 371 return fsid; in fanotify_get_fsid() [all …]
|
D | fanotify.h | 33 __kernel_fsid_t fsid; member 50 return fid1->fsid.val[0] == fid2->fsid.val[0] && in fanotify_fid_equal() 51 fid1->fsid.val[1] == fid2->fsid.val[1] && in fanotify_fid_equal() 145 __kernel_fsid_t *fsid);
|
D | fanotify_user.c | 224 info.fsid = event->fid.fsid; in copy_fid_to_user() 680 __kernel_fsid_t *fsid) in fanotify_add_new_mark() argument 693 ret = fsnotify_add_mark_locked(mark, connp, type, 0, fsid); in fanotify_add_new_mark() 706 __kernel_fsid_t *fsid) in fanotify_add_mark() argument 714 fsn_mark = fanotify_add_new_mark(group, connp, type, fsid); in fanotify_add_mark() 731 unsigned int flags, __kernel_fsid_t *fsid) in fanotify_add_vfsmount_mark() argument 734 FSNOTIFY_OBJ_TYPE_VFSMOUNT, mask, flags, fsid); in fanotify_add_vfsmount_mark() 739 unsigned int flags, __kernel_fsid_t *fsid) in fanotify_add_sb_mark() argument 742 FSNOTIFY_OBJ_TYPE_SB, mask, flags, fsid); in fanotify_add_sb_mark() 747 unsigned int flags, __kernel_fsid_t *fsid) in fanotify_add_inode_mark() argument [all …]
|
/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 | 33 struct ceph_fsid fsid; member 54 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs() local 62 if (memcmp(&ent->fsid, fsid, sizeof(*fsid))) in ceph_fscache_register_fs() 69 pr_err("fscache cookie already registered for fsid %pU\n", fsid); in ceph_fscache_register_fs() 81 memcpy(&ent->fsid, fsid, sizeof(*fsid)); in ceph_fscache_register_fs() 89 &ent->fsid, sizeof(ent->fsid) + uniq_len, in ceph_fscache_register_fs() 99 fsid); in ceph_fscache_register_fs()
|
D | super.c | 51 u64 fsid; in ceph_statfs() local 99 fsid = le64_to_cpu(*(__le64 *)(&monc->monmap->fsid)) ^ in ceph_statfs() 100 le64_to_cpu(*((__le64 *)&monc->monmap->fsid + 1)); in ceph_statfs() 103 buf->f_fsid.val[0] = fsid & 0xffffffff; in ceph_statfs() 104 buf->f_fsid.val[1] = fsid >> 32; in ceph_statfs() 1042 ceph_fsid_compare(&opt->fsid, &other->client->fsid)) { in ceph_compare_super()
|
/fs/nfs/ |
D | nfs4getroot.c | 37 memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid)); in nfs4_get_rootfh()
|
D | client.c | 988 memcpy(&server->fsid, &fattr->fsid, sizeof(server->fsid)); in nfs_create_server() 991 (unsigned long long) server->fsid.major, in nfs_create_server() 992 (unsigned long long) server->fsid.minor); in nfs_create_server() 1035 server->fsid = fattr->fsid; in nfs_clone_server() 1227 char fsid[34]; // 2 * 16 for %llx, 1 for ':', 1 for '\0' in nfs_volume_list_show() local 1243 snprintf(fsid, sizeof(fsid), "%llx:%llx", in nfs_volume_list_show() 1244 (unsigned long long) server->fsid.major, in nfs_volume_list_show() 1245 (unsigned long long) server->fsid.minor); in nfs_volume_list_show() 1253 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/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()
|
/fs/overlayfs/ |
D | inode.c | 107 stat->ino |= ((u64)lower_layer->fsid) << shift; in ovl_map_dev_ino() 127 } else if (lower_layer && lower_layer->fsid) { in ovl_map_dev_ino() 209 if (samefs || lower_layer->fsid) in ovl_getattr() 556 unsigned long ino, int fsid) in ovl_fill_inode() argument 571 if (xinobits && fsid && !(ino >> (64 - xinobits))) in ovl_fill_inode() 572 inode->i_ino |= (unsigned long)fsid << (64 - xinobits); in ovl_fill_inode() 885 int fsid = bylower ? oip->lowerpath->layer->fsid : 0; in ovl_get_inode() local 936 ovl_fill_inode(inode, realinode->i_mode, realinode->i_rdev, ino, fsid); in ovl_get_inode()
|
D | readdir.c | 440 static u64 ovl_remap_lower_ino(u64 ino, int xinobits, int fsid, in ovl_remap_lower_ino() argument 449 return ino | ((u64)fsid) << (64 - xinobits); in ovl_remap_lower_ino() 511 ovl_layer_lower(this)->fsid, in ovl_cache_update_ino() 640 int fsid; member 661 ino = ovl_remap_lower_ino(ino, rdt->xinobits, rdt->fsid, in ovl_fill_real() 696 rdt.fsid = lower_layer->fsid; in ovl_iterate_real()
|
D | ovl_entry.h | 38 int fsid; member
|
D | super.c | 1364 int fsid; in ovl_get_lower_layers() local 1366 err = fsid = ovl_get_fsid(ofs, &stack[i]); in ovl_get_lower_layers() 1397 ofs->lower_layers[ofs->numlower].fsid = fsid; in ovl_get_lower_layers() 1398 if (fsid) { in ovl_get_lower_layers() 1400 &ofs->lower_fs[fsid - 1]; in ovl_get_lower_layers()
|
/fs/btrfs/ |
D | volumes.c | 314 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid, in alloc_fs_devices() argument 328 if (fsid) in alloc_fs_devices() 329 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices() 333 else if (fsid) in alloc_fs_devices() 334 memcpy(fs_devs->metadata_uuid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices() 413 const u8 *fsid, const u8 *metadata_fsid) in find_fsid() argument 417 ASSERT(fsid); in find_fsid() 428 memcmp(metadata_fsid, fs_devices->fsid, in find_fsid() 430 memcmp(fs_devices->fsid, fs_devices->metadata_uuid, in find_fsid() 444 fs_devices->fsid, BTRFS_FSID_SIZE) != 0 && in find_fsid() [all …]
|
D | sysfs.h | 26 const u8 *fsid);
|
D | volumes.h | 222 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */ member 462 u64 devid, u8 *uuid, u8 *fsid, bool seed);
|
D | super.c | 2031 __be32 *fsid = (__be32 *)fs_info->fs_devices->fsid; in btrfs_statfs() local 2115 buf->f_fsid.val[0] = be32_to_cpu(fsid[0]) ^ be32_to_cpu(fsid[2]); in btrfs_statfs() 2116 buf->f_fsid.val[1] = be32_to_cpu(fsid[1]) ^ be32_to_cpu(fsid[3]); in btrfs_statfs()
|
/fs/nfsd/ |
D | nfsfh.h | 90 u32 fsid, unsigned char *uuid) in mk_fsid() argument 100 fsidv[0] = fsid; in mk_fsid()
|
D | pnfs.h | 18 u32 fsid[]; member
|
/fs/9p/ |
D | vfs_super.c | 261 buf->f_fsid.val[0] = rs.fsid & 0xFFFFFFFFUL; in v9fs_statfs() 262 buf->f_fsid.val[1] = (rs.fsid >> 32) & 0xFFFFFFFFUL; in v9fs_statfs()
|
/fs/ |
D | statfs.c | 70 int vfs_get_fsid(struct dentry *dentry, __kernel_fsid_t *fsid) in vfs_get_fsid() argument 79 *fsid = st.f_fsid; in vfs_get_fsid()
|