Home
last modified time | relevance | path

Searched refs:fsid (Results 1 – 25 of 73) sorted by relevance

123

/Linux-v4.19/fs/orangefs/
Dorangefs-utils.c15 __s32 fsid = ORANGEFS_FS_ID_NULL; in fsid_of_op() local
20 fsid = op->upcall.req.io.refn.fs_id; in fsid_of_op()
23 fsid = op->upcall.req.lookup.parent_refn.fs_id; in fsid_of_op()
26 fsid = op->upcall.req.create.parent_refn.fs_id; in fsid_of_op()
29 fsid = op->upcall.req.getattr.refn.fs_id; in fsid_of_op()
32 fsid = op->upcall.req.remove.parent_refn.fs_id; in fsid_of_op()
35 fsid = op->upcall.req.mkdir.parent_refn.fs_id; in fsid_of_op()
38 fsid = op->upcall.req.readdir.refn.fs_id; in fsid_of_op()
41 fsid = op->upcall.req.setattr.refn.fs_id; in fsid_of_op()
44 fsid = op->upcall.req.sym.parent_refn.fs_id; in fsid_of_op()
[all …]
Ddevorangefs-req.c105 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-v4.19/fs/ceph/
Dcache.c46 struct ceph_fsid fsid; member
67 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs() local
75 if (memcmp(&ent->fsid, fsid, sizeof(*fsid))) in ceph_fscache_register_fs()
82 pr_err("fscache cookie already registered for fsid %pU\n", fsid); in ceph_fscache_register_fs()
94 memcpy(&ent->fsid, fsid, sizeof(*fsid)); in ceph_fscache_register_fs()
102 &ent->fsid, sizeof(ent->fsid) + uniq_len, in ceph_fscache_register_fs()
112 fsid); in ceph_fscache_register_fs()
Dsuper.c50 u64 fsid; in ceph_statfs() local
98 fsid = le64_to_cpu(*(__le64 *)(&monc->monmap->fsid)) ^ in ceph_statfs()
99 le64_to_cpu(*((__le64 *)&monc->monmap->fsid + 1)); in ceph_statfs()
102 buf->f_fsid.val[0] = fsid & 0xffffffff; in ceph_statfs()
103 buf->f_fsid.val[1] = fsid >> 32; in ceph_statfs()
993 ceph_fsid_compare(&opt->fsid, &other->client->fsid)) { in ceph_compare_super()
/Linux-v4.19/net/ceph/
Dceph_common.c103 int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid) in ceph_check_fsid() argument
106 if (ceph_fsid_compare(&client->fsid, fsid)) { in ceph_check_fsid()
108 &client->fsid, fsid); in ceph_check_fsid()
112 memcpy(&client->fsid, fsid, sizeof(*fsid)); in ceph_check_fsid()
199 static int parse_fsid(const char *str, struct ceph_fsid *fsid) in parse_fsid() argument
219 fsid->fsid[i] = d & 0xff; in parse_fsid()
226 dout("parse_fsid ret %d got fsid %pU\n", err, fsid); in parse_fsid()
421 err = parse_fsid(argstr[0].from, &opt->fsid); in ceph_parse_options()
566 seq_printf(m, "fsid=%pU,", &opt->fsid); in ceph_print_client_options()
725 &client->fsid); in __ceph_open_session()
Dmon_client.c46 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()
68 m->fsid = fsid; in ceph_monmap_decode()
475 if (ceph_check_fsid(monc->client, &monmap->fsid) < 0) { in ceph_monc_handle_map()
718 h->fsid = monc->monmap->fsid; in ceph_monc_do_statfs()
914 h->fsid = monc->monmap->fsid; in ceph_monc_blacklist_add()
/Linux-v4.19/fs/nfs/
Dnfs4getroot.c37 memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid)); in nfs4_get_rootfh()
Dclient.c980 memcpy(&server->fsid, &fattr->fsid, sizeof(server->fsid)); in nfs_create_server()
983 (unsigned long long) server->fsid.major, in nfs_create_server()
984 (unsigned long long) server->fsid.minor); in nfs_create_server()
1025 server->fsid = fattr->fsid; in nfs_clone_server()
1205 char fsid[34]; // 2 * 16 for %llx, 1 for ':', 1 for '\0' in nfs_volume_list_show() local
1221 snprintf(fsid, sizeof(fsid), "%llx:%llx", in nfs_volume_list_show()
1222 (unsigned long long) server->fsid.major, in nfs_volume_list_show()
1223 (unsigned long long) server->fsid.minor); in nfs_volume_list_show()
1231 fsid, in nfs_volume_list_show()
Dfscache.h38 struct nfs_fsid fsid; member
/Linux-v4.19/Documentation/filesystems/
Dcramfs.txt98 >32 ulelong x fsid.crc 0x%x
99 >36 ulelong x fsid.edition %d
100 >40 ulelong x fsid.blocks %d
101 >44 ulelong x fsid.files %d
108 >544 ulelong x fsid.crc 0x%x
109 >548 ulelong x fsid.edition %d
110 >552 ulelong x fsid.blocks %d
111 >556 ulelong x fsid.files %d
/Linux-v4.19/fs/dlm/
Dplock.c91 op->info.fsid = ls->ls_global_id; in do_unlock_close()
127 op->info.fsid = ls->ls_global_id; in dlm_posix_lock()
277 op->info.fsid = ls->ls_global_id; in dlm_posix_unlock()
338 op->info.fsid = ls->ls_global_id; in dlm_posix_get()
439 if (op->info.fsid == info.fsid && in dev_write()
461 log_print("dev_write no op %x %llx", info.fsid, in dev_write()
/Linux-v4.19/fs/overlayfs/
Dinode.c110 stat->ino |= ((u64)lower_layer->fsid) << shift; in ovl_map_dev_ino()
130 } else if (lower_layer && lower_layer->fsid) { in ovl_map_dev_ino()
551 unsigned long ino, int fsid) in ovl_fill_inode() argument
566 if (xinobits && fsid && !(ino >> (64 - xinobits))) in ovl_fill_inode()
567 inode->i_ino |= (unsigned long)fsid << (64 - xinobits); in ovl_fill_inode()
832 int fsid = bylower ? oip->lowerpath->layer->fsid : 0; in ovl_get_inode() local
883 ovl_fill_inode(inode, realinode->i_mode, realinode->i_rdev, ino, fsid); in ovl_get_inode()
Dovl_entry.h36 int fsid; member
Dreaddir.c443 static u64 ovl_remap_lower_ino(u64 ino, int xinobits, int fsid, in ovl_remap_lower_ino() argument
452 return ino | ((u64)fsid) << (64 - xinobits); in ovl_remap_lower_ino()
514 ovl_layer_lower(this)->fsid, in ovl_cache_update_ino()
643 int fsid; member
664 ino = ovl_remap_lower_ino(ino, rdt->xinobits, rdt->fsid, in ovl_fill_real()
699 rdt.fsid = lower_layer->fsid; in ovl_iterate_real()
Dsuper.c1226 int fsid; in ovl_get_lower_layers() local
1228 err = fsid = ovl_get_fsid(ofs, stack[i].mnt->mnt_sb); in ovl_get_lower_layers()
1247 ofs->lower_layers[ofs->numlower].fsid = fsid; in ovl_get_lower_layers()
1248 if (fsid) { in ovl_get_lower_layers()
1250 &ofs->lower_fs[fsid - 1]; in ovl_get_lower_layers()
/Linux-v4.19/include/linux/ceph/
Dceph_fs.h171 struct ceph_fsid fsid; member
182 struct ceph_fsid fsid; member
189 struct ceph_fsid fsid; member
197 struct ceph_fsid fsid; member
203 struct ceph_fsid fsid; member
219 struct ceph_fsid fsid; member
Dlibceph.h48 struct ceph_fsid fsid; member
111 struct ceph_fsid fsid; member
271 extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid);
Dmon_client.h19 struct ceph_fsid fsid; member
/Linux-v4.19/include/uapi/linux/
Ddlm_plock.h38 __u32 fsid; member
Dcramfs_fs.h61 struct cramfs_info fsid; /* unique filesystem info */ member
/Linux-v4.19/fs/nfsd/
Dnfsfh.h90 u32 fsid, unsigned char *uuid) in mk_fsid() argument
100 fsidv[0] = fsid; in mk_fsid()
Dpnfs.h18 u32 fsid[]; member
/Linux-v4.19/fs/9p/
Dvfs_super.c272 buf->f_fsid.val[0] = rs.fsid & 0xFFFFFFFFUL; in v9fs_statfs()
273 buf->f_fsid.val[1] = (rs.fsid >> 32) & 0xFFFFFFFFUL; in v9fs_statfs()
/Linux-v4.19/fs/btrfs/
Dvolumes.c247 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid) in alloc_fs_devices() argument
261 if (fsid) in alloc_fs_devices()
262 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
371 static noinline struct btrfs_fs_devices *find_fsid(u8 *fsid) in find_fsid() argument
376 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0) in find_fsid()
763 fs_devices = find_fsid(disk_super->fsid); in device_list_add()
765 fs_devices = alloc_fs_devices(disk_super->fsid); in device_list_add()
812 disk_super->fsid, devid, found_transid, path); in device_list_add()
887 fs_devices = alloc_fs_devices(orig->fsid); in clone_fs_devices()
1712 write_extent_buffer(leaf, trans->fs_info->fsid, ptr, BTRFS_FSID_SIZE); in btrfs_add_dev_item()
[all …]
/Linux-v4.19/include/linux/
Dnfs_fs_sb.h161 struct nfs_fsid fsid; member

123