Home
last modified time | relevance | path

Searched refs:superblock (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/fs/hpfs/
H A Dsuper.c541 struct hpfs_super_block *superblock; in hpfs_fill_super() local
590 if (!(superblock = hpfs_map_sector(s, 16, &bh1, 1))) goto bail2; in hpfs_fill_super()
595 ||*/ le32_to_cpu(superblock->magic) != SB_MAGIC in hpfs_fill_super()
603 if (!sb_rdonly(s) && superblock->funcversion != 2 && superblock->funcversion != 3) { in hpfs_fill_super()
605 (int)superblock->version, (int)superblock->funcversion); in hpfs_fill_super()
612 /* Fill superblock stuff */ in hpfs_fill_super()
619 sbi->sb_root = le32_to_cpu(superblock->root); in hpfs_fill_super()
620 sbi->sb_fs_size = le32_to_cpu(superblock in hpfs_fill_super()
[all...]
/kernel/linux/linux-6.6/fs/hpfs/
H A Dsuper.c541 struct hpfs_super_block *superblock; in hpfs_fill_super() local
590 if (!(superblock = hpfs_map_sector(s, 16, &bh1, 1))) goto bail2; in hpfs_fill_super()
595 ||*/ le32_to_cpu(superblock->magic) != SB_MAGIC in hpfs_fill_super()
603 if (!sb_rdonly(s) && superblock->funcversion != 2 && superblock->funcversion != 3) { in hpfs_fill_super()
605 (int)superblock->version, (int)superblock->funcversion); in hpfs_fill_super()
612 /* Fill superblock stuff */ in hpfs_fill_super()
619 sbi->sb_root = le32_to_cpu(superblock->root); in hpfs_fill_super()
620 sbi->sb_fs_size = le32_to_cpu(superblock in hpfs_fill_super()
[all...]
/kernel/linux/linux-6.6/security/landlock/
H A Dfs.h64 * @inode_refs: Number of pending inodes (from this superblock) that
84 landlock_superblock(const struct super_block *const superblock) in landlock_superblock() argument
86 return superblock->s_security + landlock_blob_sizes.lbs_superblock; in landlock_superblock()
/kernel/linux/linux-5.10/scripts/gdb/linux/
H A Dproc.py190 superblock = vfs['mnt']['mnt_sb']
191 fstype = superblock['s_type']['name'].string()
192 s_flags = int(superblock['s_flags'])
197 vfs.format_string(), superblock.format_string(), devname,
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Dproc.py192 superblock = mnt['mnt']['mnt_sb']
193 fstype = superblock['s_type']['name'].string()
194 s_flags = int(superblock['s_flags'])
199 mnt.format_string(), superblock.format_string(), devname,
/kernel/linux/linux-5.10/fs/nilfs2/
H A Dsysfs.h20 * @sg_superblock_kobj: /sys/fs/<nilfs>/<device>/superblock
32 /* /sys/fs/<nilfs>/<device>/superblock */
77 NILFS_DEV_ATTR_STRUCT(superblock); variable
139 NILFS_RO_ATTR(superblock, name)
141 NILFS_RW_ATTR(superblock, name)
H A Dsysfs.c711 * NILFS superblock attrs *
788 "superblock update frequency cannot be lesser than 10 seconds"); in nilfs_superblock_sb_update_frequency_store()
799 "The superblock group contains attributes that describe\n"
800 "superblock's details.\n\n"
807 "\tshow/set interval of periodical update of superblock (in seconds).\n\n"
808 "\tYou can set preferable frequency of superblock update by command:\n\n"
809 "\t'echo <val> > /sys/fs/<nilfs>/<dev>/superblock/sb_update_frequency'\n";
833 NILFS_DEV_INT_GROUP_OPS(superblock, dev);
834 NILFS_DEV_INT_GROUP_TYPE(superblock, dev);
835 NILFS_DEV_INT_GROUP_FNS(superblock, de
[all...]
/kernel/linux/linux-6.6/fs/nilfs2/
H A Dsysfs.h20 * @sg_superblock_kobj: /sys/fs/<nilfs>/<device>/superblock
32 /* /sys/fs/<nilfs>/<device>/superblock */
77 NILFS_DEV_ATTR_STRUCT(superblock); variable
139 NILFS_RO_ATTR(superblock, name)
141 NILFS_RW_ATTR(superblock, name)
H A Dsysfs.c703 * NILFS superblock attrs *
780 "superblock update frequency cannot be lesser than 10 seconds"); in nilfs_superblock_sb_update_frequency_store()
791 "The superblock group contains attributes that describe\n"
792 "superblock's details.\n\n"
799 "\tshow/set interval of periodical update of superblock (in seconds).\n\n"
800 "\tYou can set preferable frequency of superblock update by command:\n\n"
801 "\t'echo <val> > /sys/fs/<nilfs>/<dev>/superblock/sb_update_frequency'\n";
826 NILFS_DEV_INT_GROUP_OPS(superblock, dev);
827 NILFS_DEV_INT_GROUP_TYPE(superblock, dev);
828 NILFS_DEV_INT_GROUP_FNS(superblock, de
[all...]
/kernel/linux/linux-6.6/security/selinux/include/
H A Dobjsec.h64 u32 sid; /* SID of file system superblock */
192 const struct super_block *superblock) in selinux_superblock()
194 return superblock->s_security + selinux_blob_sizes.lbs_superblock; in selinux_superblock()
191 selinux_superblock( const struct super_block *superblock) selinux_superblock() argument
/kernel/linux/linux-5.10/drivers/md/persistent-data/
H A Ddm-space-map-metadata.h35 dm_block_t superblock);
H A Ddm-transaction-manager.h41 * i) Make all changes for the transaction *except* for the superblock.
44 * ii) Lock your superblock. Update. Then call dm_tm_commit() which will
45 * unlock the superblock and flush it. No other blocks should be updated
47 * updated superblock; perform any operations that could fail *before* you
48 * take the superblock lock.
51 int dm_tm_commit(struct dm_transaction_manager *tm, struct dm_block *superblock);
125 * The superblock location is passed so the metadata space map knows it
H A Ddm-space-map-metadata.c774 dm_block_t superblock) in dm_sm_metadata_create()
780 smm->begin = superblock + 1; in dm_sm_metadata_create()
802 for (i = superblock; !r && i < smm->begin; i++) in dm_sm_metadata_create()
771 dm_sm_metadata_create(struct dm_space_map *sm, struct dm_transaction_manager *tm, dm_block_t nr_blocks, dm_block_t superblock) dm_sm_metadata_create() argument
/kernel/linux/linux-6.6/drivers/md/persistent-data/
H A Ddm-space-map-metadata.h36 dm_block_t superblock);
H A Ddm-transaction-manager.h42 * i) Make all changes for the transaction *except* for the superblock.
45 * ii) Lock your superblock. Update. Then call dm_tm_commit() which will
46 * unlock the superblock and flush it. No other blocks should be updated
48 * updated superblock; perform any operations that could fail *before* you
49 * take the superblock lock.
52 int dm_tm_commit(struct dm_transaction_manager *tm, struct dm_block *superblock);
142 * The superblock location is passed so the metadata space map knows it
H A Ddm-space-map-metadata.c787 dm_block_t superblock) in dm_sm_metadata_create()
792 smm->begin = superblock + 1; in dm_sm_metadata_create()
814 r = add_bop(smm, BOP_INC, superblock, smm->begin); in dm_sm_metadata_create()
784 dm_sm_metadata_create(struct dm_space_map *sm, struct dm_transaction_manager *tm, dm_block_t nr_blocks, dm_block_t superblock) dm_sm_metadata_create() argument
/kernel/linux/linux-5.10/fs/btrfs/
H A Dcheck-integrity.c658 pr_info("btrfsic: no superblock found!\n"); in btrfsic_process_superblock()
799 /* for superblock, only the dev_bytenr makes sense */ in btrfsic_process_superblock_dev_mirror()
1776 pr_info("[before new superblock is written]:\n"); in btrfsic_process_written_block()
1834 pr_info("btrfs: attempt to overwrite %c-block @%llu (%s/%llu/%d), old(gen=%llu, objectid=%llu, type=%d, offset=%llu), new(gen=%llu), which is referenced by most recent superblock (superblockgen=%llu)!\n", in btrfsic_process_written_block()
1938 pr_info("[after new superblock is written]:\n"); in btrfsic_process_written_block()
2124 struct btrfsic_block *const superblock, in btrfsic_process_written_superblock()
2130 superblock->generation = btrfs_super_generation(super_hdr); in btrfsic_process_written_superblock()
2131 if (!(superblock->generation > state->max_superblock_generation || in btrfsic_process_written_superblock()
2134 pr_info("btrfsic: superblock @%llu (%s/%llu/%d) with old gen %llu <= %llu\n", in btrfsic_process_written_superblock()
2135 superblock in btrfsic_process_written_superblock()
2122 btrfsic_process_written_superblock( struct btrfsic_state *state, struct btrfsic_block *const superblock, struct btrfs_super_block *const super_hdr) btrfsic_process_written_superblock() argument
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dcheck-integrity.c607 pr_info("btrfsic: no superblock found!\n"); in btrfsic_process_superblock()
746 /* for superblock, only the dev_bytenr makes sense */ in btrfsic_process_superblock_dev_mirror()
1731 pr_info("[before new superblock is written]:\n"); in btrfsic_process_written_block()
1793 "btrfs: attempt to overwrite %c-block @%llu (%pg/%llu/%d), old(gen=%llu, objectid=%llu, type=%d, offset=%llu), new(gen=%llu), which is referenced by most recent superblock (superblockgen=%llu)!\n", in btrfsic_process_written_block()
1898 pr_info("[after new superblock is written]:\n"); in btrfsic_process_written_block()
2086 struct btrfsic_block *const superblock, in btrfsic_process_written_superblock()
2092 superblock->generation = btrfs_super_generation(super_hdr); in btrfsic_process_written_superblock()
2093 if (!(superblock->generation > state->max_superblock_generation || in btrfsic_process_written_superblock()
2097 "btrfsic: superblock @%llu (%pg/%llu/%d) with old gen %llu <= %llu\n", in btrfsic_process_written_superblock()
2098 superblock in btrfsic_process_written_superblock()
2084 btrfsic_process_written_superblock( struct btrfsic_state *state, struct btrfsic_block *const superblock, struct btrfs_super_block *const super_hdr) btrfsic_process_written_superblock() argument
[all...]
/kernel/linux/linux-6.6/security/smack/
H A Dsmack.h353 const struct super_block *superblock) in smack_superblock()
355 return superblock->s_security + smack_blob_sizes.lbs_superblock; in smack_superblock()
352 smack_superblock( const struct super_block *superblock) smack_superblock() argument
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-integrity.c68 struct superblock { struct
174 struct superblock *sb;
500 if (sizeof(struct superblock) + size > 1 << SECTOR_SHIFT) { in sb_mac()
534 dm_integrity_io_error(ic, "superblock mac", -EILSEQ); in sb_mac()
535 dm_audit_log_target(DM_MSG_PREFIX, "mac-superblock", ic->ti, 0); in sb_mac()
2716 dm_integrity_io_error(ic, "writing superblock", r); in recalc_write_super()
3245 dm_integrity_io_error(ic, "writing superblock", r); in dm_integrity_postsuspend()
3279 dm_integrity_io_error(ic, "writing superblock", r); in dm_integrity_resume()
3321 dm_integrity_io_error(ic, "writing superblock", r); in dm_integrity_resume()
3333 dm_integrity_io_error(ic, "writing superblock", in dm_integrity_resume()
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-integrity.c63 struct superblock { struct
164 struct superblock *sb;
2511 dm_integrity_io_error(ic, "writing superblock", r); in recalc_write_super()
3004 dm_integrity_io_error(ic, "writing superblock", r); in dm_integrity_postsuspend()
3038 dm_integrity_io_error(ic, "writing superblock", r); in dm_integrity_resume()
3078 dm_integrity_io_error(ic, "writing superblock", r); in dm_integrity_resume()
3086 dm_integrity_io_error(ic, "writing superblock", r); in dm_integrity_resume()
4097 ti->error = "Cannot allocate superblock area"; in dm_integrity_ctr()
4103 ti->error = "Error reading superblock"; in dm_integrity_ctr()
4118 ti->error = "Could not initialize superblock"; in dm_integrity_ctr()
[all...]

Completed in 28 milliseconds