/linux-4.4.14/fs/xfs/ |
D | xfs_error.c | 38 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()
|
D | uuid.c | 36 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()
|
D | uuid.h | 27 extern void uuid_getnodeuniq(uuid_t *uuid, int fsid [2]);
|
/linux-4.4.14/Documentation/filesystems/ |
D | cramfs.txt | 56 >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.4.14/net/ceph/ |
D | ceph_common.c | 98 int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid) in ceph_check_fsid() argument 101 if (ceph_fsid_compare(&client->fsid, fsid)) { in ceph_check_fsid() 103 &client->fsid, fsid); in ceph_check_fsid() 107 memcpy(&client->fsid, fsid, sizeof(*fsid)); in ceph_check_fsid() 194 static int parse_fsid(const char *str, struct ceph_fsid *fsid) in parse_fsid() argument 214 fsid->fsid[i] = d & 0xff; in parse_fsid() 221 dout("parse_fsid ret %d got fsid %pU", err, fsid); in parse_fsid() 415 err = parse_fsid(argstr[0].from, &opt->fsid); in ceph_parse_options() 540 seq_printf(m, "fsid=%pU,", &opt->fsid); in ceph_print_client_options()
|
D | mon_client.c | 44 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() 394 if (ceph_check_fsid(monc->client, &monmap->fsid) < 0) { in ceph_monc_handle_map() 407 &monc->client->fsid); in ceph_monc_handle_map() 624 h->fsid = monc->monmap->fsid; in ceph_monc_do_statfs() 951 &monc->client->fsid); in handle_auth_reply()
|
D | osdmap.c | 1067 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()
|
D | debugfs.c | 218 snprintf(name, sizeof(name), "%pU.client%lld", &client->fsid, in ceph_debugfs_client_init()
|
D | osd_client.c | 2080 struct ceph_fsid fsid; in ceph_osdc_handle_map() local 2088 ceph_decode_need(&p, end, sizeof(fsid), bad); in ceph_osdc_handle_map() 2089 ceph_decode_copy(&p, &fsid, sizeof(fsid)); in ceph_osdc_handle_map() 2090 if (ceph_check_fsid(osdc->client, &fsid) < 0) in ceph_osdc_handle_map()
|
/linux-4.4.14/fs/nfs/ |
D | nfs4getroot.c | 38 memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid)); in nfs4_get_rootfh()
|
D | client.c | 985 memcpy(&server->fsid, &fattr->fsid, sizeof(server->fsid)); in nfs_create_server() 988 (unsigned long long) server->fsid.major, in nfs_create_server() 989 (unsigned long long) server->fsid.minor); in nfs_create_server() 1016 (unsigned long long) fattr->fsid.major, in nfs_clone_server() 1017 (unsigned long long) fattr->fsid.minor); in nfs_clone_server() 1034 server->fsid = fattr->fsid; in nfs_clone_server() 1051 (unsigned long long) server->fsid.major, in nfs_clone_server() 1052 (unsigned long long) server->fsid.minor); in nfs_clone_server() 1257 char fsid[34]; // 2 * 16 for %llx, 1 for ':', 1 for '\0' in nfs_volume_list_show() local 1273 snprintf(fsid, sizeof(fsid), "%llx:%llx", in nfs_volume_list_show() [all …]
|
D | fscache.c | 92 key->key.nfs_server.fsid = nfss->fsid; in nfs_fscache_get_super_cookie()
|
D | fscache.h | 38 struct nfs_fsid fsid; member
|
D | nfs4client.c | 943 (unsigned long long) server->fsid.major, in nfs4_server_common_setup() 944 (unsigned long long) server->fsid.minor); in nfs4_server_common_setup() 1178 (unsigned long long)server->fsid.major, in nfs4_update_server() 1179 (unsigned long long)server->fsid.minor, in nfs4_update_server()
|
D | internal.h | 25 if (!nfs_fsid_equal(&NFS_SB(parent)->fsid, &fattr->fsid)) in nfs_attr_check_mountpoint()
|
D | nfs2xdr.c | 311 fattr->fsid.major = be32_to_cpup(p++); in decode_fattr() 312 fattr->fsid.minor = 0; in decode_fattr()
|
D | inode.c | 1675 !nfs_fsid_equal(&server->fsid, &fattr->fsid) && in nfs_update_inode() 1677 server->fsid = fattr->fsid; in nfs_update_inode()
|
D | nfs4state.c | 1211 (unsigned long long)server->fsid.major, in nfs4_schedule_migration_recovery() 1212 (unsigned long long)server->fsid.minor, in nfs4_schedule_migration_recovery() 1896 (unsigned long long)server->fsid.major, in nfs4_try_migration() 1897 (unsigned long long)server->fsid.minor, in nfs4_try_migration()
|
D | pnfs.c | 714 struct nfs_fsid *fsid, in pnfs_destroy_layouts_byfsid() argument 724 if (memcmp(&server->fsid, fsid, sizeof(*fsid)) != 0) in pnfs_destroy_layouts_byfsid()
|
D | pnfs.h | 254 struct nfs_fsid *fsid,
|
D | nfs4proc.c | 3303 !nfs_fsid_equal(&server->fsid, &fattr->fsid)) in nfs4_proc_get_root() 3304 memcpy(&server->fsid, &fattr->fsid, sizeof(server->fsid)); in nfs4_proc_get_root() 3341 if (nfs_fsid_equal(&NFS_SERVER(dir)->fsid, &locations->fattr.fsid)) { in nfs4_get_referral() 6550 (unsigned long long)server->fsid.major, in nfs4_proc_get_locations() 6551 (unsigned long long)server->fsid.minor, in nfs4_proc_get_locations() 6676 (unsigned long long)server->fsid.major, in nfs4_proc_fsid_present() 6677 (unsigned long long)server->fsid.minor, in nfs4_proc_fsid_present()
|
D | super.c | 2455 if (memcmp(&old->fsid, &server->fsid, sizeof(old->fsid)) != 0) in nfs_compare_super()
|
D | nfs4xdr.c | 3314 static int decode_attr_fsid(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs_fsid *fsid) in decode_attr_fsid() argument 3319 fsid->major = 0; in decode_attr_fsid() 3320 fsid->minor = 0; in decode_attr_fsid() 3327 p = xdr_decode_hyper(p, &fsid->major); in decode_attr_fsid() 3328 xdr_decode_hyper(p, &fsid->minor); in decode_attr_fsid() 3333 (unsigned long long)fsid->major, in decode_attr_fsid() 3334 (unsigned long long)fsid->minor); in decode_attr_fsid() 4559 status = decode_attr_fsid(xdr, bitmap, &fattr->fsid); in decode_getfattr_attrs()
|
D | nfs3xdr.c | 671 p = xdr_decode_hyper(p, &fattr->fsid.major); in decode_fattr3() 672 fattr->fsid.minor = 0; in decode_fattr3()
|
D | dir.c | 494 if (!nfs_fsid_equal(&NFS_SB(dentry->d_sb)->fsid, in nfs_prime_dcache() 495 &entry->fattr->fsid)) in nfs_prime_dcache()
|
/linux-4.4.14/include/linux/ceph/ |
D | libceph.h | 45 struct ceph_fsid fsid; member 113 struct ceph_fsid fsid; member 189 extern int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid);
|
D | ceph_fs.h | 169 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
|
D | mon_client.h | 18 struct ceph_fsid fsid; member
|
D | osdmap.h | 88 struct ceph_fsid fsid; member
|
D | rados.h | 15 unsigned char fsid[16]; member
|
/linux-4.4.14/fs/dlm/ |
D | plock.c | 91 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.4.14/fs/ceph/ |
D | super.c | 50 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() 896 ceph_fsid_compare(&opt->fsid, &other->client->fsid)) { in ceph_compare_super()
|
D | cache.c | 43 klen = sizeof(fsc->client->fsid); in ceph_fscache_session_get_key() 47 memcpy(buffer, &fsc->client->fsid, klen); in ceph_fscache_session_get_key()
|
D | mds_client.c | 3739 struct ceph_fsid fsid; in ceph_mdsc_handle_map() local 3742 ceph_decode_need(&p, end, sizeof(fsid)+2*sizeof(u32), bad); in ceph_mdsc_handle_map() 3743 ceph_decode_copy(&p, &fsid, sizeof(fsid)); in ceph_mdsc_handle_map() 3744 if (ceph_check_fsid(mdsc->fsc->client, &fsid) < 0) in ceph_mdsc_handle_map()
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | llite_nfs.c | 64 void get_uuid2fsid(const char *name, int len, __kernel_fsid_t *fsid) in get_uuid2fsid() argument 76 fsid->val[0] = key; in get_uuid2fsid() 77 fsid->val[1] = key >> 32; in get_uuid2fsid()
|
D | llite_internal.h | 803 void get_uuid2fsid(const char *name, int len, __kernel_fsid_t *fsid);
|
/linux-4.4.14/include/uapi/linux/ |
D | dlm_plock.h | 37 __u32 fsid; member
|
D | cramfs_fs.h | 60 struct cramfs_info fsid; /* unique filesystem info */ member
|
D | btrfs.h | 185 __u8 fsid[BTRFS_FSID_SIZE]; /* out */ member
|
/linux-4.4.14/fs/nfsd/ |
D | nfsfh.h | 87 u32 fsid, unsigned char *uuid) in mk_fsid() argument 97 fsidv[0] = fsid; in mk_fsid()
|
D | pnfs.h | 17 u32 fsid[]; member
|
D | nfs4layouts.c | 58 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()
|
D | export.c | 652 static void exp_flags(struct seq_file *m, int flag, int fsid, 1157 static void exp_flags(struct seq_file *m, int flag, int fsid, in exp_flags() argument 1162 seq_printf(m, ",fsid=%d", fsid); in exp_flags()
|
D | nfs4proc.c | 1218 exp = rqst_exp_find(rqstp, map->fsid_type, map->fsid); in nfsd4_getdeviceinfo()
|
/linux-4.4.14/fs/9p/ |
D | vfs_super.c | 265 buf->f_fsid.val[0] = rs.fsid & 0xFFFFFFFFUL; in v9fs_statfs() 266 buf->f_fsid.val[1] = (rs.fsid >> 32) & 0xFFFFFFFFUL; in v9fs_statfs()
|
/linux-4.4.14/fs/btrfs/ |
D | volumes.c | 163 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid) in alloc_fs_devices() argument 171 if (fsid) in alloc_fs_devices() 172 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE); in alloc_fs_devices() 174 generate_random_uuid(fs_devs->fsid); in alloc_fs_devices() 256 static noinline struct btrfs_fs_devices *find_fsid(u8 *fsid) in find_fsid() argument 261 if (memcmp(fsid, fs_devices->fsid, BTRFS_FSID_SIZE) == 0) in find_fsid() 600 fs_devices = find_fsid(disk_super->fsid); in device_list_add() 602 fs_devices = alloc_fs_devices(disk_super->fsid); in device_list_add() 714 fs_devices = alloc_fs_devices(orig->fsid); in clone_fs_devices() 1065 printk(KERN_INFO "BTRFS: device fsid %pU ", disk_super->fsid); in btrfs_scan_one_device() [all …]
|
D | volumes.h | 223 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */ member 460 u8 *uuid, u8 *fsid);
|
D | disk-io.c | 519 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() 1351 write_extent_buffer(leaf, fs_info->fsid, btrfs_header_fsid(), in btrfs_create_tree() 1438 write_extent_buffer(root->node, root->fs_info->fsid, in alloc_log_tree() 2702 memcpy(fs_info->fsid, fs_info->super_copy->fsid, BTRFS_FSID_SIZE); in open_ctree() 3644 memcpy(dev_item->fsid, dev->fs_devices->fsid, BTRFS_UUID_SIZE); in write_all_supers() 4065 if (memcmp(fs_info->fsid, sb->dev_item.fsid, BTRFS_UUID_SIZE) != 0) { in btrfs_check_super_valid() 4067 fs_info->fsid, sb->dev_item.fsid); in btrfs_check_super_valid()
|
D | super.c | 1974 __be32 *fsid = (__be32 *)fs_info->fsid; in btrfs_statfs() local 2053 buf->f_fsid.val[0] = be32_to_cpu(fsid[0]) ^ be32_to_cpu(fsid[2]); in btrfs_statfs() 2054 buf->f_fsid.val[1] = be32_to_cpu(fsid[1]) ^ be32_to_cpu(fsid[3]); in btrfs_statfs()
|
D | ctree.h | 280 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 1422 u8 fsid[BTRFS_FSID_SIZE]; member 2430 return (unsigned long)d + offsetof(struct btrfs_dev_item, fsid); in btrfs_device_fsid() 2910 return offsetof(struct btrfs_header, fsid); in btrfs_header_fsid()
|
D | scrub.c | 1521 static inline int scrub_check_fsid(u8 fsid[], in scrub_check_fsid() argument 1527 ret = memcmp(fsid, fs_devices->fsid, BTRFS_UUID_SIZE); in scrub_check_fsid() 1891 if (!scrub_check_fsid(h->fsid, sblock->pagev[0])) in scrub_checksum_tree_block() 1954 if (!scrub_check_fsid(s->fsid, sblock->pagev[0])) in scrub_checksum_super()
|
D | sysfs.c | 735 &btrfs_ktype, parent, "%pU", fs_devs->fsid); in btrfs_sysfs_add_fsid()
|
D | ctree.c | 275 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() 3365 write_extent_buffer(c, root->fs_info->fsid, btrfs_header_fsid(), in insert_new_root() 3502 write_extent_buffer(split, root->fs_info->fsid, in split_node() 4282 write_extent_buffer(right, fs_info->fsid, in split_leaf()
|
D | ioctl.c | 503 write_extent_buffer(leaf, root->fs_info->fsid, btrfs_header_fsid(), in create_subvol() 2719 memcpy(&fi_args->fsid, root->fs_info->fsid, sizeof(fi_args->fsid)); in btrfs_ioctl_fs_info()
|
D | check-integrity.c | 1801 if (memcmp(h->fsid, state->root->fs_info->fsid, BTRFS_UUID_SIZE)) in btrfsic_test_for_metadata()
|
/linux-4.4.14/include/linux/ |
D | nfs_fs_sb.h | 154 struct nfs_fsid fsid; member
|
D | nfs_xdr.h | 61 struct nfs_fsid fsid; member
|
/linux-4.4.14/fs/cramfs/ |
D | inode.c | 319 sbi->blocks = super.fsid.blocks; in cramfs_fill_super() 320 sbi->files = super.fsid.files; in cramfs_fill_super()
|
/linux-4.4.14/include/net/9p/ |
D | 9p.h | 533 u64 fsid; member
|
/linux-4.4.14/include/trace/events/ |
D | btrfs.h | 726 __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.4.14/fs/ext2/ |
D | super.c | 1374 u64 fsid; in ext2_statfs() local 1428 fsid = le64_to_cpup((void *)es->s_uuid) ^ in ext2_statfs() 1430 buf->f_fsid.val[0] = fsid & 0xFFFFFFFFUL; in ext2_statfs() 1431 buf->f_fsid.val[1] = (fsid >> 32) & 0xFFFFFFFFUL; in ext2_statfs()
|
/linux-4.4.14/Documentation/filesystems/nfs/ |
D | nfs-rdma.txt | 217 /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.4.14/net/9p/ |
D | client.c | 1904 &sb->files, &sb->ffree, &sb->fsid, &sb->namelen); in p9_client_statfs() 1916 sb->fsid, (long int)sb->namelen); in p9_client_statfs()
|
/linux-4.4.14/fs/ext4/ |
D | super.c | 4800 u64 fsid; in ext4_statfs() local 4821 fsid = le64_to_cpup((void *)es->s_uuid) ^ in ext4_statfs() 4823 buf->f_fsid.val[0] = fsid & 0xFFFFFFFFUL; in ext4_statfs() 4824 buf->f_fsid.val[1] = (fsid >> 32) & 0xFFFFFFFFUL; in ext4_statfs()
|
/linux-4.4.14/fs/cifs/ |
D | cifspdu.h | 2158 __le32 fsid; member
|
/linux-4.4.14/drivers/pinctrl/sh-pfc/ |
D | pfc-sh73a0.c | 3111 SH_PFC_FUNCTION(fsid),
|