Home
last modified time | relevance | path

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

12

/linux-6.6.21/fs/crypto/
Dkeysetup.c198 u8 hkdf_info[sizeof(mode_num) + sizeof(sb->s_uuid)]; in setup_per_mode_enc_key()
217 BUILD_BUG_ON(sizeof(sb->s_uuid) != 16); in setup_per_mode_enc_key()
221 memcpy(&hkdf_info[hkdf_infolen], &sb->s_uuid, in setup_per_mode_enc_key()
222 sizeof(sb->s_uuid)); in setup_per_mode_enc_key()
223 hkdf_infolen += sizeof(sb->s_uuid); in setup_per_mode_enc_key()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/fs/overlayfs/
Dutil.c690 res = ovl_path_getxattr(ofs, upperpath, OVL_XATTR_UUID, sb->s_uuid.b, in ovl_init_uuid_xattr()
721 uuid_gen(&sb->s_uuid); in ovl_init_uuid_xattr()
725 res = ovl_setxattr(ofs, upperpath->dentry, OVL_XATTR_UUID, sb->s_uuid.b, in ovl_init_uuid_xattr()
731 memset(sb->s_uuid.b, 0, UUID_SIZE); in ovl_init_uuid_xattr()
Dsuper.c261 buf->f_fsid = uuid_to_fsid(sb->s_uuid.b); in ovl_statfs()
972 uuid_equal(&ofs->fs[i].sb->s_uuid, uuid)) { in ovl_lower_uuid_ok()
995 if (!ovl_lower_uuid_ok(ofs, &sb->s_uuid)) { in ovl_get_fsid()
1008 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()
/linux-6.6.21/include/uapi/linux/
Dnilfs2_ondisk.h190 /*98*/ __u8 s_uuid[16]; /* 128-bit uuid for volume */ member
/linux-6.6.21/fs/ocfs2/
Dsuper.c2030 memcpy(&sb->s_uuid, di->id2.i_super.s_uuid, in ocfs2_initialize_super()
2031 sizeof(di->id2.i_super.s_uuid)); in ocfs2_initialize_super()
2219 if (ocfs2_setup_osb_uuid(osb, di->id2.i_super.s_uuid, in ocfs2_initialize_super()
2220 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
/linux-6.6.21/security/integrity/evm/
Devm_crypto.c175 crypto_shash_update(desc, (u8 *)&inode->i_sb->s_uuid, UUID_SIZE); in hmac_add_misc()
/linux-6.6.21/fs/ext4/
Dsuper.c1305 &sb->s_uuid); in ext4_put_super()
3256 crc = crc16(~0, sbi->s_es->s_uuid, sizeof(sbi->s_es->s_uuid)); in ext4_group_desc_csum()
4650 sbi->s_csum_seed = ext4_chksum(sbi, ~0, es->s_uuid, in ext4_init_metadata_csum()
4651 sizeof(es->s_uuid)); in ext4_init_metadata_csum()
5350 memcpy(&sb->s_uuid, es->s_uuid, sizeof(es->s_uuid)); in __ext4_fill_super()
5720 "Quota mode: %s.", &sb->s_uuid, in ext4_fill_super()
5907 if (memcmp(EXT4_SB(sb)->s_es->s_journal_uuid, es->s_uuid, 16)) { in ext4_get_journal_blkdev()
6759 &sb->s_uuid, sb_rdonly(sb) ? "ro" : "r/w", in ext4_reconfigure()
6834 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()
/linux-6.6.21/fs/jbd2/
Djournal.c1493 journal->j_csum_seed = jbd2_chksum(journal, ~0, sb->s_uuid, in journal_load_superblock()
1494 sizeof(sb->s_uuid)); in journal_load_superblock()
2346 journal->j_csum_seed = jbd2_chksum(journal, ~0, sb->s_uuid, in jbd2_journal_set_features()
2347 sizeof(sb->s_uuid)); in jbd2_journal_set_features()
/linux-6.6.21/fs/ext2/
Dext2.h455 __u8 s_uuid[16]; /* 128-bit uuid for volume */ member
/linux-6.6.21/include/linux/
Djbd2.h252 __u8 s_uuid[16]; /* 128-bit uuid for journal */ member
/linux-6.6.21/fs/xfs/
Dxfs_mount.c65 uuid_copy(&mp->m_super->s_uuid, uuid); in xfs_uuid_mount()
/linux-6.6.21/fs/nilfs2/
Dsysfs.c884 return sysfs_emit(buf, "%pUb\n", sbp[0]->s_uuid); in nilfs_dev_uuid_show()
/linux-6.6.21/fs/erofs/
Dsuper.c345 memcpy(&sb->s_uuid, dsb->uuid, sizeof(dsb->uuid)); in erofs_read_superblock()

12