Home
last modified time | relevance | path

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

/linux-4.1.27/fs/xfs/
Dxfs_error.c38 int64_t fsid; in xfs_error_test() local
43 memcpy(&fsid, fsidp, sizeof(xfs_fsid_t)); in xfs_error_test()
46 if (xfs_etest[i] == error_tag && xfs_etest_fsid[i] == fsid) { in xfs_error_test()
62 int64_t fsid; in xfs_errortag_add() local
64 memcpy(&fsid, mp->m_fixedfsid, sizeof(xfs_fsid_t)); in xfs_errortag_add()
67 if (xfs_etest_fsid[i] == fsid && xfs_etest[i] == error_tag) { in xfs_errortag_add()
78 xfs_etest_fsid[i] = fsid; in xfs_errortag_add()
95 int64_t fsid; in xfs_errortag_clearall() local
99 memcpy(&fsid, mp->m_fixedfsid, sizeof(xfs_fsid_t)); in xfs_errortag_clearall()
103 if ((fsid == 0LL || xfs_etest_fsid[i] == fsid) && in xfs_errortag_clearall()
Duuid.c36 uuid_getnodeuniq(uuid_t *uuid, int fsid [2]) in uuid_getnodeuniq()
40 fsid[0] = (be16_to_cpu(uup->uu_clockseq) << 16) | in uuid_getnodeuniq()
42 fsid[1] = be32_to_cpu(uup->uu_timelow); in uuid_getnodeuniq()
Duuid.h27 extern void uuid_getnodeuniq(uuid_t *uuid, int fsid [2]);
/linux-4.1.27/Documentation/filesystems/
Dcramfs.txt56 >32 ulelong x fsid.crc 0x%x
57 >36 ulelong x fsid.edition %d
58 >40 ulelong x fsid.blocks %d
59 >44 ulelong x fsid.files %d
66 >544 ulelong x fsid.crc 0x%x
67 >548 ulelong x fsid.edition %d
68 >552 ulelong x fsid.blocks %d
69 >556 ulelong x fsid.files %d
/linux-4.1.27/net/ceph/
Dceph_common.c99 int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid) in ceph_check_fsid() argument
102 if (ceph_fsid_compare(&client->fsid, fsid)) { in ceph_check_fsid()
104 &client->fsid, fsid); in ceph_check_fsid()
108 memcpy(&client->fsid, fsid, sizeof(*fsid)); in ceph_check_fsid()
188 static int parse_fsid(const char *str, struct ceph_fsid *fsid) in parse_fsid() argument
208 fsid->fsid[i] = d & 0xff; in parse_fsid()
215 dout("parse_fsid ret %d got fsid %pU", err, fsid); in parse_fsid()
407 err = parse_fsid(argstr[0].from, &opt->fsid); in ceph_parse_options()
507 seq_printf(m, "fsid=%pU,", &opt->fsid); in ceph_print_client_options()
Dmon_client.c44 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()
378 if (ceph_check_fsid(monc->client, &monmap->fsid) < 0) { in ceph_monc_handle_map()
391 &monc->client->fsid); in ceph_monc_handle_map()
608 h->fsid = monc->monmap->fsid; in ceph_monc_do_statfs()
923 &monc->client->fsid); in handle_auth_reply()
Dosdmap.c1067 ceph_decode_need(p, end, sizeof(map->fsid) + sizeof(u32) + in osdmap_decode()
1069 ceph_decode_copy(p, &map->fsid, sizeof(map->fsid)); in osdmap_decode()
1202 struct ceph_fsid fsid; in osdmap_apply_incremental() local
1220 ceph_decode_need(p, end, sizeof(fsid) + sizeof(u32) + sizeof(modified) + in osdmap_apply_incremental()
1222 ceph_decode_copy(p, &fsid, sizeof(fsid)); in osdmap_apply_incremental()
Ddebugfs.c218 snprintf(name, sizeof(name), "%pU.client%lld", &client->fsid, in ceph_debugfs_client_init()
Dosd_client.c2066 struct ceph_fsid fsid; in ceph_osdc_handle_map() local
2074 ceph_decode_need(&p, end, sizeof(fsid), bad); in ceph_osdc_handle_map()
2075 ceph_decode_copy(&p, &fsid, sizeof(fsid)); in ceph_osdc_handle_map()
2076 if (ceph_check_fsid(osdc->client, &fsid) < 0) in ceph_osdc_handle_map()
/linux-4.1.27/fs/nfs/
Dnfs4getroot.c45 memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid)); in nfs4_get_rootfh()
Dclient.c1094 memcpy(&server->fsid, &fattr->fsid, sizeof(server->fsid)); in nfs_create_server()
1097 (unsigned long long) server->fsid.major, in nfs_create_server()
1098 (unsigned long long) server->fsid.minor); in nfs_create_server()
1125 (unsigned long long) fattr->fsid.major, in nfs_clone_server()
1126 (unsigned long long) fattr->fsid.minor); in nfs_clone_server()
1143 server->fsid = fattr->fsid; in nfs_clone_server()
1160 (unsigned long long) server->fsid.major, in nfs_clone_server()
1161 (unsigned long long) server->fsid.minor); in nfs_clone_server()
1367 char dev[8], fsid[17]; in nfs_volume_list_show() local
1382 snprintf(fsid, 17, "%llx:%llx", in nfs_volume_list_show()
[all …]
Dfscache.c92 key->key.nfs_server.fsid = nfss->fsid; in nfs_fscache_get_super_cookie()
Dfscache.h38 struct nfs_fsid fsid; member
Dnfs4client.c947 (unsigned long long) server->fsid.major, in nfs4_server_common_setup()
948 (unsigned long long) server->fsid.minor); in nfs4_server_common_setup()
1182 (unsigned long long)server->fsid.major, in nfs4_update_server()
1183 (unsigned long long)server->fsid.minor, in nfs4_update_server()
Dinternal.h25 if (!nfs_fsid_equal(&NFS_SB(parent)->fsid, &fattr->fsid)) in nfs_attr_check_mountpoint()
Dnfs2xdr.c311 fattr->fsid.major = be32_to_cpup(p++); in decode_fattr()
312 fattr->fsid.minor = 0; in decode_fattr()
Dinode.c1661 !nfs_fsid_equal(&server->fsid, &fattr->fsid) && in nfs_update_inode()
1663 server->fsid = fattr->fsid; in nfs_update_inode()
Dpnfs.c697 struct nfs_fsid *fsid, in pnfs_destroy_layouts_byfsid() argument
707 if (memcmp(&server->fsid, fsid, sizeof(*fsid)) != 0) in pnfs_destroy_layouts_byfsid()
Dnfs4state.c1212 (unsigned long long)server->fsid.major, in nfs4_schedule_migration_recovery()
1213 (unsigned long long)server->fsid.minor, in nfs4_schedule_migration_recovery()
1895 (unsigned long long)server->fsid.major, in nfs4_try_migration()
1896 (unsigned long long)server->fsid.minor, in nfs4_try_migration()
Dpnfs.h250 struct nfs_fsid *fsid,
Dnfs4proc.c3150 !nfs_fsid_equal(&server->fsid, &fattr->fsid)) in nfs4_proc_get_root()
3151 memcpy(&server->fsid, &fattr->fsid, sizeof(server->fsid)); in nfs4_proc_get_root()
3188 if (nfs_fsid_equal(&NFS_SERVER(dir)->fsid, &locations->fattr.fsid)) { in nfs4_get_referral()
6412 (unsigned long long)server->fsid.major, in nfs4_proc_get_locations()
6413 (unsigned long long)server->fsid.minor, in nfs4_proc_get_locations()
6538 (unsigned long long)server->fsid.major, in nfs4_proc_fsid_present()
6539 (unsigned long long)server->fsid.minor, in nfs4_proc_fsid_present()
Dsuper.c2452 if (memcmp(&old->fsid, &server->fsid, sizeof(old->fsid)) != 0) in nfs_compare_super()
Dnfs4xdr.c3300 static int decode_attr_fsid(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_fsid *fsid) in decode_attr_fsid() argument
3305 fsid->major = 0; in decode_attr_fsid()
3306 fsid->minor = 0; in decode_attr_fsid()
3313 p = xdr_decode_hyper(p, &fsid->major); in decode_attr_fsid()
3314 xdr_decode_hyper(p, &fsid->minor); in decode_attr_fsid()
3319 (unsigned long long)fsid->major, in decode_attr_fsid()
3320 (unsigned long long)fsid->minor); in decode_attr_fsid()
4520 status = decode_attr_fsid(xdr, bitmap, &fattr->fsid); in decode_getfattr_attrs()
Dnfs3xdr.c671 p = xdr_decode_hyper(p, &fattr->fsid.major); in decode_fattr3()
672 fattr->fsid.minor = 0; in decode_fattr3()
Ddir.c494 if (!nfs_fsid_equal(&NFS_SB(dentry->d_sb)->fsid, in nfs_prime_dcache()
495 &entry->fattr->fsid)) in nfs_prime_dcache()
/linux-4.1.27/include/linux/ceph/
Dlibceph.h44 struct ceph_fsid fsid; member
114 struct ceph_fsid fsid; member
188 extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid);
Dceph_fs.h169 struct ceph_fsid fsid; member
178 struct ceph_fsid fsid; member
185 struct ceph_fsid fsid; member
191 struct ceph_fsid fsid; member
207 struct ceph_fsid fsid; member
Dmon_client.h18 struct ceph_fsid fsid; member
Dosdmap.h88 struct ceph_fsid fsid; member
Drados.h15 unsigned char fsid[16]; member
/linux-4.1.27/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-4.1.27/fs/ceph/
Dsuper.c50 u64 fsid; in ceph_statfs() local
81 fsid = *(u64 *)(&monmap->fsid) ^ *((u64 *)&monmap->fsid + 1); in ceph_statfs()
82 buf->f_fsid.val[0] = fsid & 0xffffffff; in ceph_statfs()
83 buf->f_fsid.val[1] = fsid >> 32; in ceph_statfs()
874 ceph_fsid_compare(&opt->fsid, &other->client->fsid)) { in ceph_compare_super()
Dcache.c43 klen = sizeof(fsc->client->fsid); in ceph_fscache_session_get_key()
47 memcpy(buffer, &fsc->client->fsid, klen); in ceph_fscache_session_get_key()
Dmds_client.c3638 struct ceph_fsid fsid; in ceph_mdsc_handle_map() local
3641 ceph_decode_need(&p, end, sizeof(fsid)+2*sizeof(u32), bad); in ceph_mdsc_handle_map()
3642 ceph_decode_copy(&p, &fsid, sizeof(fsid)); in ceph_mdsc_handle_map()
3643 if (ceph_check_fsid(mdsc->fsc->client, &fsid) < 0) in ceph_mdsc_handle_map()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_nfs.c63 void get_uuid2fsid(const char *name, int len, __kernel_fsid_t *fsid) in get_uuid2fsid() argument
75 fsid->val[0] = key; in get_uuid2fsid()
76 fsid->val[1] = key >> 32; in get_uuid2fsid()
Dllite_internal.h836 void get_uuid2fsid(const char *name, int len, __kernel_fsid_t *fsid);
/linux-4.1.27/include/uapi/linux/
Ddlm_plock.h37 __u32 fsid; member
Dcramfs_fs.h60 struct cramfs_info fsid; /* unique filesystem info */ member
Dbtrfs.h185 __u8 fsid[BTRFS_FSID_SIZE]; /* out */ member
/linux-4.1.27/fs/nfsd/
Dnfsfh.h87 u32 fsid, unsigned char *uuid) in mk_fsid() argument
97 fsidv[0] = fsid; in mk_fsid()
Dpnfs.h17 u32 fsid[]; member
Dnfs4layouts.c58 memcpy(&map->fsid, fh->fh_fsid, fsid_len); in nfsd4_alloc_devid_map()
68 if (memcmp(old->fsid, fh->fh_fsid, in nfsd4_alloc_devid_map()
Dexport.c652 static void exp_flags(struct seq_file *m, int flag, int fsid,
1224 static void exp_flags(struct seq_file *m, int flag, int fsid, in exp_flags() argument
1229 seq_printf(m, ",fsid=%d", fsid); in exp_flags()
Dnfs4proc.c1229 exp = rqst_exp_find(rqstp, map->fsid_type, map->fsid); in nfsd4_getdeviceinfo()
/linux-4.1.27/fs/9p/
Dvfs_super.c269 buf->f_fsid.val[0] = rs.fsid & 0xFFFFFFFFUL; in v9fs_statfs()
270 buf->f_fsid.val[1] = (rs.fsid >> 32) & 0xFFFFFFFFUL; in v9fs_statfs()
/linux-4.1.27/fs/btrfs/
Dvolumes.c83 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid) in alloc_fs_devices() argument
91 if (fsid) in alloc_fs_devices()
92 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices()
94 generate_random_uuid(fs_devs->fsid); in alloc_fs_devices()
176 static noinline struct btrfs_fs_devices *find_fsid(u8 *fsid) in find_fsid() argument
181 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0) in find_fsid()
463 fs_devices = find_fsid(disk_super->fsid); in device_list_add()
465 fs_devices = alloc_fs_devices(disk_super->fsid); in device_list_add()
571 fs_devices = alloc_fs_devices(orig->fsid); in clone_fs_devices()
951 printk(KERN_INFO "BTRFS: device fsid %pU ", disk_super->fsid); in btrfs_scan_one_device()
[all …]
Dvolumes.h223 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */ member
445 u8 *uuid, u8 *fsid);
Ddisk-io.c519 u8 fsid[BTRFS_UUID_SIZE]; in check_tree_block_fsid() local
522 read_extent_buffer(eb, fsid, btrfs_header_fsid(), BTRFS_FSID_SIZE); in check_tree_block_fsid()
524 if (!memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE)) { in check_tree_block_fsid()
1342 write_extent_buffer(leaf, fs_info->fsid, btrfs_header_fsid(), in btrfs_create_tree()
1429 write_extent_buffer(root->node, root->fs_info->fsid, in alloc_log_tree()
2654 memcpy(fs_info->fsid, fs_info->super_copy->fsid, BTRFS_FSID_SIZE); in open_ctree()
3553 memcpy(dev_item->fsid, dev->fs_devices->fsid, BTRFS_UUID_SIZE); in write_all_supers()
3963 if (memcmp(fs_info->fsid, sb->dev_item.fsid, BTRFS_UUID_SIZE) != 0) { in btrfs_check_super_valid()
3965 fs_info->fsid, sb->dev_item.fsid); in btrfs_check_super_valid()
Dsuper.c1840 __be32 *fsid = (__be32 *)fs_info->fsid; in btrfs_statfs() local
1919 buf->f_fsid.val[0] = be32_to_cpu(fsid[0]) ^ be32_to_cpu(fsid[2]); in btrfs_statfs()
1920 buf->f_fsid.val[1] = be32_to_cpu(fsid[1]) ^ be32_to_cpu(fsid[3]); in btrfs_statfs()
Dctree.h280 u8 fsid[BTRFS_UUID_SIZE]; member
374 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */ member
456 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */ member
1388 u8 fsid[BTRFS_FSID_SIZE]; member
2386 return (unsigned long)d + offsetof(struct btrfs_dev_item, fsid); in btrfs_device_fsid()
2866 return offsetof(struct btrfs_header, fsid); in btrfs_header_fsid()
Dscrub.c1531 static inline int scrub_check_fsid(u8 fsid[], in scrub_check_fsid() argument
1537 ret = memcmp(fsid, fs_devices->fsid, BTRFS_UUID_SIZE); in scrub_check_fsid()
1560 !scrub_check_fsid(h->fsid, sblock->pagev[0]) || in scrub_recheck_block_checksum()
1936 if (!scrub_check_fsid(h->fsid, sblock->pagev[0])) in scrub_checksum_tree_block()
1999 if (!scrub_check_fsid(s->fsid, sblock->pagev[0])) in scrub_checksum_super()
Dsysfs.c677 "%pU", fs_info->fsid); in btrfs_sysfs_add_one()
Dctree.c275 write_extent_buffer(cow, root->fs_info->fsid, btrfs_header_fsid(), in btrfs_copy_root()
1151 write_extent_buffer(cow, root->fs_info->fsid, btrfs_header_fsid(), in __btrfs_cow_block()
3359 write_extent_buffer(c, root->fs_info->fsid, btrfs_header_fsid(), in insert_new_root()
3496 write_extent_buffer(split, root->fs_info->fsid, in split_node()
4276 write_extent_buffer(right, fs_info->fsid, in split_leaf()
Dioctl.c502 write_extent_buffer(leaf, root->fs_info->fsid, btrfs_header_fsid(), in create_subvol()
2693 memcpy(&fi_args->fsid, root->fs_info->fsid, sizeof(fi_args->fsid)); in btrfs_ioctl_fs_info()
Dcheck-integrity.c1801 if (memcmp(h->fsid, state->root->fs_info->fsid, BTRFS_UUID_SIZE)) in btrfsic_test_for_metadata()
/linux-4.1.27/include/linux/
Dnfs_fs_sb.h153 struct nfs_fsid fsid; member
Dnfs_xdr.h61 struct nfs_fsid fsid; member
/linux-4.1.27/fs/cramfs/
Dinode.c319 sbi->blocks = super.fsid.blocks; in cramfs_fill_super()
320 sbi->files = super.fsid.files; in cramfs_fill_super()
/linux-4.1.27/include/net/9p/
D9p.h533 u64 fsid; member
/linux-4.1.27/include/trace/events/
Dbtrfs.h726 __array( u8, fsid, BTRFS_UUID_SIZE )
734 memcpy(__entry->fsid, fs_info->fsid, BTRFS_UUID_SIZE);
741 TP_printk("%pU: %s: %Lu %s %Lu", __entry->fsid, __get_str(type),
/linux-4.1.27/fs/ext2/
Dsuper.c1368 u64 fsid; in ext2_statfs() local
1422 fsid = le64_to_cpup((void *)es->s_uuid) ^ in ext2_statfs()
1424 buf->f_fsid.val[0] = fsid & 0xFFFFFFFFUL; in ext2_statfs()
1425 buf->f_fsid.val[1] = (fsid >> 32) & 0xFFFFFFFFUL; in ext2_statfs()
/linux-4.1.27/Documentation/filesystems/nfs/
Dnfs-rdma.txt217 /vol0 192.168.0.47(fsid=0,rw,async,insecure,no_root_squash)
218 /vol0 192.168.0.0/255.255.255.0(fsid=0,rw,async,insecure,no_root_squash)
/linux-4.1.27/fs/ext3/
Dsuper.c2798 u64 fsid; in ext3_statfs() local
2855 fsid = le64_to_cpup((void *)es->s_uuid) ^ in ext3_statfs()
2857 buf->f_fsid.val[0] = fsid & 0xFFFFFFFFUL; in ext3_statfs()
2858 buf->f_fsid.val[1] = (fsid >> 32) & 0xFFFFFFFFUL; in ext3_statfs()
/linux-4.1.27/net/9p/
Dclient.c1896 &sb->files, &sb->ffree, &sb->fsid, &sb->namelen); in p9_client_statfs()
1908 sb->fsid, (long int)sb->namelen); in p9_client_statfs()
/linux-4.1.27/fs/ext4/
Dsuper.c5135 u64 fsid; in ext4_statfs() local
5156 fsid = le64_to_cpup((void *)es->s_uuid) ^ in ext4_statfs()
5158 buf->f_fsid.val[0] = fsid & 0xFFFFFFFFUL; in ext4_statfs()
5159 buf->f_fsid.val[1] = (fsid >> 32) & 0xFFFFFFFFUL; in ext4_statfs()
/linux-4.1.27/fs/cifs/
Dcifspdu.h2158 __le32 fsid; member
/linux-4.1.27/drivers/pinctrl/sh-pfc/
Dpfc-sh73a0.c3115 SH_PFC_FUNCTION(fsid),