Searched refs:fsid (Results 1 - 25 of 86) sorted by path

1234

/linux-master/fs/nfs/
H A Dnfs4getroot.c37 memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid));
/linux-master/fs/orangefs/
H A Ddevorangefs-req.c105 static int fs_mount_pending(__s32 fsid) argument
112 if (orangefs_sb->fs_id == fsid) {
193 __s32 fsid; local
201 fsid = fsid_of_op(op);
202 if (fsid != ORANGEFS_FS_ID_NULL) {
205 ret = fs_mount_pending(fsid);
235 fsid);
H A Dupcall.h211 __s32 fsid; member in struct:orangefs_fs_key_request_s
/linux-master/include/uapi/linux/
H A Dcramfs_fs.h61 struct cramfs_info fsid; /* unique filesystem info */ member in struct:cramfs_super
72 #define CRAMFS_FLAG_FSID_VERSION_2 0x00000001 /* fsid version #2 */
/linux-master/drivers/block/
H A Drbd.c5085 return sprintf(buf, "%pU\n", &rbd_dev->rbd_client->client->fsid);
/linux-master/drivers/pinctrl/renesas/
H A Dpfc-sh73a0.c3469 SH_PFC_FUNCTION(fsid),
/linux-master/fs/9p/
H A Dvfs_super.c235 buf->f_fsid = u64_to_fsid(rs.fsid);
/linux-master/fs/btrfs/
H A Daccessors.h177 return (unsigned long)d + offsetof(struct btrfs_dev_item, fsid);
H A Ddisk-io.c292 offsetof(struct btrfs_header, fsid),
338 u8 fsid[BTRFS_FSID_SIZE]; local
340 read_extent_buffer(eb, fsid, offsetof(struct btrfs_header, fsid),
344 * alloc_fsid_devices() copies the fsid into fs_devices::metadata_uuid.
349 if (memcmp(fsid, fs_info->fs_devices->metadata_uuid, BTRFS_FSID_SIZE) == 0)
353 if (!memcmp(fsid, seed_devs->fsid, BTRFS_FSID_SIZE))
382 btrfs_err_rl(fs_info, "bad fsid on logical %llu mirror %u",
2435 memcmp(fs_info->fs_devices->fsid, s
[all...]
H A Dextent_io.h323 const void *fsid)
325 write_extent_buffer(eb, fsid, offsetof(struct btrfs_header, fsid),
322 write_extent_buffer_fsid(const struct extent_buffer *eb, const void *fsid) argument
H A Dioctl.c2690 "device add not supported on cloned temp-fsid mount");
2878 memcpy(&fi_args->fsid, fs_devices->fsid, sizeof(fi_args->fsid));
2934 memcpy(di_args->fsid, dev->fs_devices->fsid, BTRFS_UUID_SIZE);
H A Dscrub.c627 if (memcmp(header->fsid, fs_info->fs_devices->metadata_uuid,
632 "tree block %llu mirror %u has bad fsid, has %pU want %pU",
634 header->fsid, fs_info->fs_devices->fsid);
H A Dsuper.c72 btrfs_info(fs_info, "last unmount of filesystem %pU", fs_info->fs_devices->fsid);
1685 __be32 *fsid = (__be32 *)fs_info->fs_devices->fsid; local
1772 because we want the fsid to come out the same whether mounted
1774 buf->f_fsid.val[0] = be32_to_cpu(fsid[0]) ^ be32_to_cpu(fsid[2]);
1775 buf->f_fsid.val[1] = be32_to_cpu(fsid[1]) ^ be32_to_cpu(fsid[3]);
2311 /* Btrfs_validate_super() includes fsid check against super->fsid
[all...]
H A Dsysfs.c1491 /* when fs_devs is NULL it will remove all fsid kobject */
1860 return sysfs_emit(buf, "%pU\n", device->fs_devices->fsid);
1862 BTRFS_ATTR(devid, fsid, btrfs_devinfo_fsid_show);
1899 BTRFS_ATTR_PTR(devid, fsid),
2013 * Sprouting changes fsid of the mounted filesystem, rename the fsid
2016 snprintf(fsid_buf, BTRFS_UUID_UNPARSED_SIZE, "%pU", fs_devices->fsid);
2019 "sysfs: failed to create fsid for sprout");
2050 "%pU", fs_devs->fsid);
2445 fs_info->fs_devices->fsid, re
[all...]
H A Dvolumes.c370 * Allocate new btrfs_fs_devices structure identified by a fsid.
372 * @fsid: if not NULL, copy the UUID to fs_devices::fsid and to
379 static struct btrfs_fs_devices *alloc_fs_devices(const u8 *fsid) argument
394 if (fsid) {
395 memcpy(fs_devs->fsid, fsid, BTRFS_FSID_SIZE);
396 memcpy(fs_devs->metadata_uuid, fsid, BTRFS_FSID_SIZE);
438 const u8 *fsid, const u8 *metadata_fsid)
440 if (memcmp(fsid, fs_device
437 match_fsid_fs_devices(const struct btrfs_fs_devices *fs_devices, const u8 *fsid, const u8 *metadata_fsid) argument
452 find_fsid( const u8 *fsid, const u8 *metadata_fsid) argument
7187 open_seed_devices(struct btrfs_fs_info *fs_info, u8 *fsid) argument
[all...]
H A Dvolumes.h314 u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */ member in struct:btrfs_fs_devices
319 * - If metadata_uuid != fsid then super block must have
323 * - metadata_uuid == btrfs_header::fsid
324 * - metadata_uuid == btrfs_dev_item::fsid
326 * - Relations between fsid and metadata_uuid in sb and fs_devices:
328 * fs_devices->fsid == fs_devices->metadata_uuid == sb->fsid
332 * fs_devices->fsid == sb->fsid
336 * fs_devices->fsid
615 u8 *fsid; member in struct:btrfs_dev_lookup_args
[all...]
/linux-master/fs/ceph/
H A Dcache.c88 const struct ceph_fsid *fsid = &fsc->client->fsid; local
94 name = kasprintf(GFP_KERNEL, "ceph,%pU%s%s", fsid, uniq_len ? "," : "",
H A Dfile.c2911 if (ceph_fsid_compare(&src_fsc->client->fsid,
2912 &dst_fsc->client->fsid)) {
2914 &src_fsc->client->fsid, &dst_fsc->client->fsid);
H A Dmds_client.c5851 struct ceph_fsid fsid; local
5854 ceph_decode_need(&p, end, sizeof(fsid)+2*sizeof(u32), bad);
5855 ceph_decode_copy(&p, &fsid, sizeof(fsid));
5856 if (ceph_check_fsid(mdsc->fsc->client, &fsid) < 0)
H A Dsuper.c107 /* Must convert the fsid, for consistent values across arches */
110 for (i = 0 ; i < sizeof(monc->monmap->fsid) / sizeof(__le32) ; ++i)
111 buf->f_fsid.val[0] ^= le32_to_cpu(((__le32 *)&monc->monmap->fsid)[i]);
285 struct ceph_fsid fsid; local
297 return invalfc(fc, "missing cluster fsid");
298 ++fsid_start; /* start of cluster fsid */
304 if (ceph_parse_fsid(fsid_start, &fsid))
330 * <device_spec> is name@fsid.fsname
1245 ceph_fsid_compare(&opt->fsid, &fsc->client->fsid)) {
[all...]
H A Dxattr.c319 return ceph_fmt_xattr(val, size, "%pU", &fsc->client->fsid);
/linux-master/fs/cramfs/
H A Dinode.c566 sbi->blocks = super->fsid.blocks;
567 sbi->files = super->fsid.files;
/linux-master/fs/dlm/
H A Dplock.c52 if (iter->info.fsid == info->fsid &&
144 op->info.fsid = ls->ls_global_id;
321 op->info.fsid = ls->ls_global_id;
380 info.fsid = ls->ls_global_id;
442 op->info.fsid = ls->ls_global_id;
550 iter->info.fsid == info.fsid) {
582 info.fsid, (unsigned long long)info.number);
/linux-master/fs/erofs/
H A Dfscache.c418 domain_id ? domain_id : sbi->fsid);
652 * the primary data blob (aka fsid) is unique in the shared domain.
662 fscache = erofs_fscache_register_cookie(sb, sbi->fsid, flags);
H A Dinternal.h179 char *fsid; member in struct:erofs_sb_info

Completed in 462 milliseconds

1234