Home
last modified time | relevance | path

Searched refs:s_uuid (Results 1 – 25 of 29) sorted by relevance

12

/fs/crypto/
Dkeysetup.c201 u8 hkdf_info[sizeof(mode_num) + sizeof(sb->s_uuid)]; in setup_per_mode_enc_key()
245 BUILD_BUG_ON(sizeof(sb->s_uuid) != 16); in setup_per_mode_enc_key()
249 memcpy(&hkdf_info[hkdf_infolen], &sb->s_uuid, in setup_per_mode_enc_key()
250 sizeof(sb->s_uuid)); in setup_per_mode_enc_key()
251 hkdf_infolen += sizeof(sb->s_uuid); in setup_per_mode_enc_key()
/fs/zonefs/
Dzonefs.h158 __u8 s_uuid[ZONEFS_UUID_SIZE]; member
227 uuid_t s_uuid; member
Dsuper.c467 buf->f_fsid = uuid_to_fsid(sbi->s_uuid.b); in zonefs_statfs()
1197 import_uuid(&sbi->s_uuid, super->s_uuid); in zonefs_read_super()
/fs/gfs2/
Dsys.c151 if (uuid_is_null(&s->s_uuid)) in uuid_show()
153 return snprintf(buf, PAGE_SIZE, "%pUB\n", &s->s_uuid); in uuid_show()
789 if (!uuid_is_null(&s->s_uuid)) in gfs2_uevent()
790 add_uevent_var(env, "UUID=%pUB", &s->s_uuid); in gfs2_uevent()
Dops_fstype.c218 memcpy(&s->s_uuid, str->sb_uuid, 16); in gfs2_sb_in()
/fs/jfs/
Djfs_superblock.h90 uuid_t s_uuid; /* 16: 128-bit uuid for volume */ member
Djfs_mount.c385 uuid_copy(&sbi->uuid, &j_sb->s_uuid); in chkSuper()
/fs/kernfs/
Dmount.c53 buf->f_fsid = uuid_to_fsid(dentry->d_sb->s_uuid.b); in kernfs_statfs()
363 uuid_gen(&sb->s_uuid); in kernfs_get_tree()
/fs/overlayfs/
Dutil.c699 res = ovl_path_getxattr(ofs, upperpath, OVL_XATTR_UUID, sb->s_uuid.b, in ovl_init_uuid_xattr()
730 uuid_gen(&sb->s_uuid); in ovl_init_uuid_xattr()
734 res = ovl_setxattr(ofs, upperpath->dentry, OVL_XATTR_UUID, sb->s_uuid.b, in ovl_init_uuid_xattr()
740 memset(sb->s_uuid.b, 0, UUID_SIZE); in ovl_init_uuid_xattr()
Dsuper.c262 buf->f_fsid = uuid_to_fsid(sb->s_uuid.b); in ovl_statfs()
973 uuid_equal(&ofs->fs[i].sb->s_uuid, uuid)) { in ovl_lower_uuid_ok()
996 if (!ovl_lower_uuid_ok(ofs, &sb->s_uuid)) { in ovl_get_fsid()
1009 uuid_is_null(&sb->s_uuid) ? "null" : in ovl_get_fsid()
Dcopy_up.c380 uuid_t *uuid = &real->d_sb->s_uuid; in ovl_encode_real_fh()
Dnamei.c175 !uuid_equal(&fh->fb.uuid, &mnt->mnt_sb->s_uuid) : in ovl_decode_real_fh()
/fs/reiserfs/
Dobjectid.c211 generate_random_uuid(disk_sb->s_uuid); in reiserfs_convert_objectid_map_v1()
Dsuper.c2260 buf->f_fsid.val[0] = (u32)crc32_le(0, rs->s_uuid, sizeof(rs->s_uuid)/2); in reiserfs_statfs()
2261 buf->f_fsid.val[1] = (u32)crc32_le(0, rs->s_uuid + sizeof(rs->s_uuid)/2, in reiserfs_statfs()
2262 sizeof(rs->s_uuid)/2); in reiserfs_statfs()
/fs/ocfs2/
Dsuper.c2034 memcpy(&sb->s_uuid, di->id2.i_super.s_uuid, in ocfs2_initialize_super()
2035 sizeof(di->id2.i_super.s_uuid)); in ocfs2_initialize_super()
2223 if (ocfs2_setup_osb_uuid(osb, di->id2.i_super.s_uuid, in ocfs2_initialize_super()
2224 sizeof(di->id2.i_super.s_uuid))) { in ocfs2_initialize_super()
Docfs2_fs.h608 /*90*/ __u8 s_uuid[OCFS2_VOL_UUID_LEN]; /* 128-bit uuid */ member
/fs/ext4/
Dsuper.c1306 &sb->s_uuid); in ext4_put_super()
3259 crc = crc16(~0, sbi->s_es->s_uuid, sizeof(sbi->s_es->s_uuid)); in ext4_group_desc_csum()
4653 sbi->s_csum_seed = ext4_chksum(sbi, ~0, es->s_uuid, in ext4_init_metadata_csum()
4654 sizeof(es->s_uuid)); in ext4_init_metadata_csum()
5353 memcpy(&sb->s_uuid, es->s_uuid, sizeof(es->s_uuid)); in __ext4_fill_super()
5721 "Quota mode: %s.", &sb->s_uuid, in ext4_fill_super()
5908 if (memcmp(EXT4_SB(sb)->s_es->s_journal_uuid, es->s_uuid, 16)) { in ext4_get_journal_blkdev()
6760 &sb->s_uuid, sb_rdonly(sb) ? "ro" : "r/w", in ext4_reconfigure()
6835 buf->f_fsid = uuid_to_fsid(es->s_uuid); in ext4_statfs()
Dioctl.c51 memcpy(es->s_uuid, (__u8 *)arg, UUID_SIZE); in ext4_sb_setuuid()
1175 memcpy(uuid, sbi->s_es->s_uuid, UUID_SIZE); in ext4_ioctl_getuuid()
/fs/jbd2/
Djournal.c1536 journal->j_csum_seed = jbd2_chksum(journal, ~0, sb->s_uuid, in journal_load_superblock()
1537 sizeof(sb->s_uuid)); in journal_load_superblock()
2385 journal->j_csum_seed = jbd2_chksum(journal, ~0, sb->s_uuid, in jbd2_journal_set_features()
2386 sizeof(sb->s_uuid)); in jbd2_journal_set_features()
/fs/ext2/
Dext2.h455 __u8 s_uuid[16]; /* 128-bit uuid for volume */ member
Dsuper.c1468 buf->f_fsid = uuid_to_fsid(es->s_uuid); in ext2_statfs()
/fs/xfs/
Dxfs_mount.c65 uuid_copy(&mp->m_super->s_uuid, uuid); in xfs_uuid_mount()
/fs/erofs/
Dsuper.c345 memcpy(&sb->s_uuid, dsb->uuid, sizeof(dsb->uuid)); in erofs_read_superblock()
/fs/nilfs2/
Dsysfs.c884 return sysfs_emit(buf, "%pUb\n", sbp[0]->s_uuid); in nilfs_dev_uuid_show()
/fs/ubifs/
Dsuper.c2249 import_uuid(&sb->s_uuid, c->uuid); in ubifs_fill_super()

12