Home
last modified time | relevance | path

Searched refs:uuid (Results 1 – 25 of 32) sorted by relevance

12

/fs/xfs/
Duuid.c36 uuid_getnodeuniq(uuid_t *uuid, int fsid [2]) in uuid_getnodeuniq() argument
38 xfs_uu_t *uup = (xfs_uu_t *)uuid; in uuid_getnodeuniq()
46 uuid_is_nil(uuid_t *uuid) in uuid_is_nil() argument
49 char *cp = (char *)uuid; in uuid_is_nil()
51 if (uuid == NULL) in uuid_is_nil()
54 for (i = 0; i < sizeof *uuid; i++) in uuid_is_nil()
Duuid.h25 extern int uuid_is_nil(uuid_t *uuid);
27 extern void uuid_getnodeuniq(uuid_t *uuid, int fsid [2]);
Dxfs_fs.h172 unsigned char uuid[16]; /* unique id of the filesystem */ member
198 unsigned char uuid[16]; /* unique id of the filesystem */ member
DMakefile56 uuid.o
Dxfs_mount.c126 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_mount() local
132 if (uuid_is_nil(uuid)) { in xfs_uuid_mount()
143 if (uuid_equal(uuid, &xfs_uuid_table[i])) in xfs_uuid_mount()
154 xfs_uuid_table[hole] = *uuid; in xfs_uuid_mount()
161 xfs_warn(mp, "Filesystem has duplicate UUID %pU - can't mount", uuid); in xfs_uuid_mount()
169 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_unmount() local
179 if (!uuid_equal(uuid, &xfs_uuid_table[i])) in xfs_uuid_unmount()
Dxfs_ioctl32.h202 unsigned char uuid[16]; /* unique id of the filesystem */ member
Dxfs_fsops.c71 ASSERT(sizeof(geo->uuid)==sizeof(mp->m_sb.sb_uuid)); in xfs_fs_geometry()
72 memcpy(geo->uuid, &mp->m_sb.sb_uuid, sizeof(mp->m_sb.sb_uuid)); in xfs_fs_geometry()
/fs/nfsd/
Dnfsfh.h31 u32 fsid, unsigned char *uuid) in mk_fsid() argument
56 up = (u32*)uuid; in mk_fsid()
63 up = (u32*)uuid; in mk_fsid()
70 memcpy(fsidv, uuid, 16); in mk_fsid()
76 memcpy(fsidv+2, uuid, 16); in mk_fsid()
Dexport.c352 static int check_export(struct inode *inode, int *flags, unsigned char *uuid) in check_export() argument
380 uuid == NULL) { in check_export()
/fs/afs/
Dcmservice.c515 __be32 uuid[11]; in SRXAFSCB_TellMeAboutYourself() member
542 reply.ia.uuid[0] = htonl(afs_uuid.time_low); in SRXAFSCB_TellMeAboutYourself()
543 reply.ia.uuid[1] = htonl(afs_uuid.time_mid); in SRXAFSCB_TellMeAboutYourself()
544 reply.ia.uuid[2] = htonl(afs_uuid.time_hi_and_version); in SRXAFSCB_TellMeAboutYourself()
545 reply.ia.uuid[3] = htonl((s8) afs_uuid.clock_seq_hi_and_reserved); in SRXAFSCB_TellMeAboutYourself()
546 reply.ia.uuid[4] = htonl((s8) afs_uuid.clock_seq_low); in SRXAFSCB_TellMeAboutYourself()
548 reply.ia.uuid[loop + 5] = htonl((s8) afs_uuid.node[loop]); in SRXAFSCB_TellMeAboutYourself()
/fs/gfs2/
Dsys.c71 static int gfs2_uuid_valid(const u8 *uuid) in gfs2_uuid_valid() argument
76 if (uuid[i]) in gfs2_uuid_valid()
85 const u8 *uuid = s->s_uuid; in uuid_show() local
87 if (!gfs2_uuid_valid(uuid)) in uuid_show()
89 return snprintf(buf, PAGE_SIZE, "%pUB\n", uuid); in uuid_show()
256 GFS2_ATTR(uuid, 0444, uuid_show, NULL);
635 const u8 *uuid = s->s_uuid; in gfs2_uevent() local
641 if (gfs2_uuid_valid(uuid)) in gfs2_uevent()
642 add_uevent_var(env, "UUID=%pUB", uuid); in gfs2_uevent()
/fs/jfs/
Djfs_logmgr.h76 char uuid[16]; /* 16: 128-bit journal uuid */ member
79 char uuid[16]; member
413 char uuid[16]; /* 16: 128-bit uuid of log device */ member
Djfs_logmgr.c1095 if (memcmp(log->uuid, sbi->loguuid, in lmLogOpen()
1096 sizeof(log->uuid))) { in lmLogOpen()
1133 memcpy(log->uuid, sbi->loguuid, sizeof(log->uuid)); in lmLogOpen()
1340 if (memcmp(logsuper->uuid, log->uuid, 16)) { in lmLogInit()
1738 char *uuid = sbi->uuid; in lmLogFileSystem() local
1749 if (!memcmp(logsuper->active[i].uuid, NULL_UUID, 16)) { in lmLogFileSystem()
1750 memcpy(logsuper->active[i].uuid, uuid, 16); in lmLogFileSystem()
1761 if (!memcmp(logsuper->active[i].uuid, uuid, 16)) { in lmLogFileSystem()
1762 memcpy(logsuper->active[i].uuid, NULL_UUID, 16); in lmLogFileSystem()
Djfs_mount.c392 memcpy(sbi->uuid, j_sb->s_uuid, sizeof(sbi->uuid)); in chkSuper()
393 memcpy(sbi->loguuid, j_sb->s_loguuid, sizeof(sbi->uuid)); in chkSuper()
Dsuper.c168 buf->f_fsid.val[0] = (u32)crc32_le(0, sbi->uuid, sizeof(sbi->uuid)/2); in jfs_statfs()
169 buf->f_fsid.val[1] = (u32)crc32_le(0, sbi->uuid + sizeof(sbi->uuid)/2, in jfs_statfs()
170 sizeof(sbi->uuid)/2); in jfs_statfs()
Djfs_incore.h177 char uuid[16]; /* 128-bit uuid for volume */ member
/fs/ocfs2/
Dstack_user.c144 char uuid[OCFS2_TEXT_UUID_LEN]; member
281 static void ocfs2_control_send_down(const char *uuid, in ocfs2_control_send_down() argument
288 c = ocfs2_connection_find(uuid); in ocfs2_control_send_down()
473 ocfs2_control_send_down(msg->uuid, nodenum); in ocfs2_control_do_down_msg()
486 WARN_ON(offsetof(struct ocfs2_control_message_down, uuid) != in ocfs2_control_message()
/fs/btrfs/
Dvolumes.h87 u8 uuid[BTRFS_UUID_SIZE]; member
273 u8 *uuid, u8 *fsid);
Dvolumes.c83 u64 devid, u8 *uuid) in __find_device() argument
89 (!uuid || !memcmp(dev->uuid, uuid, BTRFS_UUID_SIZE))) { in __find_device()
352 disk_super->dev_item.uuid); in device_list_add()
365 memcpy(device->uuid, disk_super->dev_item.uuid, in device_list_add()
441 memcpy(device->uuid, orig_dev->uuid, sizeof(device->uuid)); in clone_fs_devices()
645 if (memcmp(device->uuid, disk_super->dev_item.uuid, in __btrfs_open_devices()
1242 write_extent_buffer(leaf, device->uuid, ptr, BTRFS_UUID_SIZE); in btrfs_add_device()
1374 dev_uuid = disk_super->dev_item.uuid; in btrfs_rm_device()
1706 generate_random_uuid(device->uuid); in btrfs_init_new_device()
3468 memcpy(stripe->dev_uuid, device->uuid, BTRFS_UUID_SIZE); in __finish_chunk_alloc()
[all …]
Dioctl.h98 __u8 uuid[BTRFS_UUID_SIZE]; /* in/out */ member
Dioctl.c2249 if (memcmp(empty_uuid, di_args->uuid, BTRFS_UUID_SIZE) != 0) in btrfs_ioctl_dev_info()
2250 s_uuid = di_args->uuid; in btrfs_ioctl_dev_info()
2264 memcpy(di_args->uuid, dev->uuid, sizeof(di_args->uuid)); in btrfs_ioctl_dev_info()
/fs/ocfs2/cluster/
Dheartbeat.c2389 char *uuid; in o2hb_region_pin() local
2394 uuid = config_item_name(&reg->hr_item); in o2hb_region_pin()
2398 if (strcmp(region_uuid, uuid)) in o2hb_region_pin()
2409 mlog(ML_CLUSTER, "Pin region %s\n", uuid); in o2hb_region_pin()
2416 uuid, ret); in o2hb_region_pin()
2438 char *uuid; in o2hb_region_unpin() local
2444 uuid = config_item_name(&reg->hr_item); in o2hb_region_unpin()
2446 if (strcmp(region_uuid, uuid)) in o2hb_region_unpin()
2452 mlog(ML_CLUSTER, "Unpin region %s\n", uuid); in o2hb_region_unpin()
/fs/ubifs/
Dsuper.c399 __le32 *uuid = (__le32 *)c->uuid; in ubifs_statfs() local
416 buf->f_fsid.val[0] = le32_to_cpu(uuid[0]) ^ le32_to_cpu(uuid[2]); in ubifs_statfs()
417 buf->f_fsid.val[1] = le32_to_cpu(uuid[1]) ^ le32_to_cpu(uuid[3]); in ubifs_statfs()
1444 dbg_msg("UUID: %pUB", c->uuid); in mount_ubifs()
Dsb.c190 generate_random_uuid(sup->uuid); in create_default_filesystem()
627 memcpy(&c->uuid, &sup->uuid, 16); in ubifs_read_superblock()
Dubifs-media.h646 __u8 uuid[16]; member

12