Home
last modified time | relevance | path

Searched full:superblock (Results 1 – 25 of 235) sorted by relevance

12345678910

/linux/Documentation/filesystems/
H A Dqnx6.rst41 The superblock contains all global information about the filesystem.
43 That serial number is used to identify the "active" superblock.
45 serial of the new master superblock is increased (old superblock serial + 1)
51 inactive superblock.
53 Each superblock holds a set of root inodes for the different filesystem
71 The first Superblock is located at 0x2000. (0x2000 is the bootblock size)
72 The Audi MMI 3G first superblock directly starts at byte 0.
74 Second superblock position can either be calculated from the superblock
79 0x1000 is the size reserved for each superblock - regardless of the
98 used. (scheme is the same as the one used for the superblock root nodes)
[all …]
/linux/fs/qnx6/
H A Dsuper_mmi.c30 /* the rest of the superblock is the same */ in qnx6_mmi_copy_sb()
44 /* Check the superblock signatures in qnx6_mmi_fill_super()
45 start with the first superblock */ in qnx6_mmi_fill_super()
48 pr_err("Unable to read first mmi superblock\n"); in qnx6_mmi_fill_super()
55 pr_err("wrong signature (magic) in superblock #1.\n"); in qnx6_mmi_fill_super()
63 pr_err("superblock #1 checksum error\n"); in qnx6_mmi_fill_super()
67 /* calculate second superblock blocknumber */ in qnx6_mmi_fill_super()
83 /* read second superblock */ in qnx6_mmi_fill_super()
86 pr_err("unable to read the second superblock\n"); in qnx6_mmi_fill_super()
92 pr_err("wrong signature (magic) in superblock #2.\n"); in qnx6_mmi_fill_super()
[all …]
/linux/fs/
H A Dsuper.c98 * super_lock - wait for superblock to become ready and lock it
99 * @sb: superblock to wait for
102 * If the superblock has neither passed through vfs_get_tree() or
103 * generic_shutdown_super() yet wait for it to happen. Either superblock
117 /* wait until the superblock is ready or dying */ in super_lock()
161 * all initializations in the superblock are seen by the user in super_wake()
189 * drop the last active reference to the superblock from within the shrinker.
192 * take a passive reference to the superblock to avoid this from occurring.
267 * However, if we are currently mounting the superblock, the underlying in super_cache_count()
300 /* Only an unregistered entry is still owned by the superblock. */ in destroy_super_work()
[all …]
/linux/include/linux/
H A Dfs_context.h2 /* Filesystem superblock creation and reconfiguration context.
30 FS_CONTEXT_FOR_MOUNT, /* New superblock for explicit mount */
31 FS_CONTEXT_FOR_SUBMOUNT, /* New superblock for automatic submount */
32 FS_CONTEXT_FOR_RECONFIGURE, /* Superblock reconfiguration (remount) */
40 FS_CONTEXT_CREATING, /* A superblock is being created */
41 FS_CONTEXT_AWAITING_MOUNT, /* Superblock created, awaiting fsmount() */
44 FS_CONTEXT_RECONFIGURING, /* Reconfiguring the superblock */
83 * reconfiguration of a superblock.
85 * Superblock creation fills in ->root whereas reconfiguration begins with this
96 struct dentry *root; /* The root and superblock */
[all …]
H A Dqnx6_fs.h21 #define QNX6_SUPERBLOCK_SIZE 0x200 /* superblock always is 512 bytes */
22 #define QNX6_SUPERBLOCK_AREA 0x1000 /* area reserved for superblock */
116 /* Audi MMI 3G superblock layout is different to plain qnx6 */
/linux/fs/xfs/libxfs/
H A Dxfs_sb.c35 * Physical superblock buffer manipulations. Shared with libxfs in userspace.
192 /* Check all the superblock fields we care about when reading one in. */
202 * Version 5 superblock feature mask validation. Reject combinations in xfs_validate_sb_read()
207 "Superblock has unknown compatible features (0x%x) enabled.", in xfs_validate_sb_read()
215 "Superblock has unknown read-only compatible features (0x%x) enabled.", in xfs_validate_sb_read()
229 "Superblock has unknown incompatible features (0x%x) enabled.", in xfs_validate_sb_read()
322 /* Check all the superblock fields we care about when writing one out. */
331 * the superblock. We skip this in the read validator because there in xfs_validate_sb_write()
351 * Version 5 superblock feature mask validation. Reject combinations in xfs_validate_sb_write()
358 "Corruption detected in superblock read-only compatible features (0x%x)!", in xfs_validate_sb_write()
[all …]
/linux/fs/ubifs/
H A Dsb.c12 * This file implements UBIFS superblock. The superblock is stored at the first
14 * change it. The superblock node mostly contains geometry information.
175 /* Create default superblock */ in create_default_filesystem()
223 dbg_gen("default superblock created at LEB 0:0"); in create_default_filesystem()
370 * validate_sb - validate superblock node.
372 * @sup: superblock node
374 * This function validates superblock node @sup. Since most of data was read
375 * from the superblock and stored in @c, the function validates fields in @c
395 ubifs_err(c, "min. I/O unit mismatch: %d in superblock, %d real", in validate_sb()
401 ubifs_err(c, "LEB size mismatch: %d in superblock, %d real", in validate_sb()
[all …]
/linux/Documentation/filesystems/ext4/
H A Dchecksums.rst8 The desired checksum algorithm is indicated in the superblock, though as
27 of checksum. The checksum function is whatever the superblock describes
37 * - Superblock
39 - The entire superblock up to the checksum field. The UUID lives inside
40 the superblock.
H A Dspecial_inodes.rst37 …st non-reserved inode. Usually this is the lost+found directory. See s_first_ino in the superblock.
41 hierarchy. These are generally reference from the superblock. They are:
47 * - Superblock field
H A Djournal.rst43 journal inode are replicated in the ext4 superblock. The journal itself
65 * - Superblock
86 The journal superblock will be in the next full block after the
87 superblock.
94 - ext4 Superblock
95 - Journal Superblock
150 - Journal superblock, v1.
152 - Journal superblock, v2.
164 The journal superblock is recorded as ``struct journal_superblock_s``,
182 - Common header identifying this as a superblock.
[all …]
H A Dorphan.rst15 superblock contains the inode number of the last orphan inode (s_last_orphan
21 (referenced from the superblock through s_orphan_file_inum) with several
37 RO_COMPAT_ORPHAN_PRESENT feature in the superblock to indicate there may
/linux/drivers/md/persistent-data/
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
/linux/drivers/md/
H A Ddm-clone-metadata.c153 * buffer before the superblock is locked and updated.
164 * Superblock validation.
189 DMERR("Superblock check failed: blocknr %llu, expected %llu", in sb_check()
196 DMERR("Superblock check failed: magic %llu, expected %llu", in sb_check()
205 DMERR("Superblock check failed: checksum %u, expected %u", in sb_check()
224 .name = "superblock",
230 * Check if the superblock is formatted or not. We consider the superblock to
241 * We don't use a validator here because the superblock could be all in __superblock_all_zeroes()
246 DMERR("Failed to read_lock superblock"); in __superblock_all_zeroes()
297 /* Save dm-clone metadata in superblock */
[all …]
H A Ddm-thin-metadata.h30 * Thin metadata superblock flags.
88 * Discards all uncommitted changes. Rereads the superblock, rolling back
110 * The metadata snapshot is a copy of the current superblock (minus the
223 * Updates the superblock immediately.
/linux/fs/befs/
H A Dbtree.c42 * The first thing in the tree is the tree superblock. It tells you
123 * befs_bt_read_super() - read in btree superblock convert to cpu byteorder
124 * @sb: Filesystem superblock
126 * @sup: Buffer in which to place the btree superblock
128 * Calls befs_read_datastream to read in the btree superblock and
130 * Return: BEFS_OK on success and if *@sup contains the btree superblock in cpu
173 * @sb: Filesystem superblock
228 * @sb: Filesystem superblock
239 * Read the superblock and rootnode of the b+tree.
257 "befs_btree_find() failed to read index superblock"); in befs_btree_find()
[all …]
H A Dbefs_fs_types.h45 * Flags of superblock
111 * The Superblock Structure
202 * B+tree superblock
/linux/security/landlock/
H A Dfs.h122 * struct landlock_superblock_security - Superblock security blob
128 * @inode_refs: Number of pending inodes (from this superblock) that
148 landlock_superblock(const struct super_block *const superblock)
150 return superblock->s_security + landlock_blob_sizes.lbs_superblock;
92 landlock_superblock(const struct super_block * const superblock) landlock_superblock() argument
/linux/Documentation/ABI/testing/
H A Dsysfs-fs-nilfs260 What: /sys/fs/nilfs2/<device>/superblock/sb_write_time
67 What: /sys/fs/nilfs2/<device>/superblock/sb_write_time_secs
73 What: /sys/fs/nilfs2/<device>/superblock/sb_write_count
79 What: /sys/fs/nilfs2/<device>/superblock/sb_update_frequency
83 Show/Set interval of periodical update of superblock
86 What: /sys/fs/nilfs2/<device>/superblock/README
90 Describe attributes of /sys/fs/nilfs2/<device>/superblock
/linux/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);
139 NILFS_RO_ATTR(superblock, name)
141 NILFS_RW_ATTR(superblock, name)
/linux/tools/include/uapi/linux/
H A Dmount.h50 * Superblock flags that can be altered by MS_REMOUNT
104 FSCONFIG_CMD_CREATE = 6, /* Create new or reuse existing superblock */
105 FSCONFIG_CMD_RECONFIGURE = 7, /* Invoke superblock reconfiguration */
106 FSCONFIG_CMD_CREATE_EXCL = 8, /* Create new superblock, fail if reusing existing superblock */
145 * Structure for getting mount/superblock/filesystem info with statmount(2).
/linux/fs/jfs/
H A Dresize.c212 * update on-disk superblock for the new space configuration in jfs_extendfs()
219 * workspace from superblock inline log descriptor and fsck in jfs_extendfs()
223 /* read in superblock */ in jfs_extendfs()
236 /* synchronously update superblock */ in jfs_extendfs()
267 * the bitmap and configuration parameter from superblock in jfs_extendfs()
270 * superblock: in jfs_extendfs()
480 * update superblock in jfs_extendfs()
507 /* Update secondary superblock */ in jfs_extendfs()
518 /* write primary superblock */ in jfs_extendfs()
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h50 * Superblock flags that can be altered by MS_REMOUNT
104 FSCONFIG_CMD_CREATE = 6, /* Create new or reuse existing superblock */
105 FSCONFIG_CMD_RECONFIGURE = 7, /* Invoke superblock reconfiguration */
106 FSCONFIG_CMD_CREATE_EXCL = 8, /* Create new superblock, fail if reusing existing superblock */
145 * Structure for getting mount/superblock/filesystem info with statmount(2).
/linux/fs/jbd2/
H A Djournal.c1046 * Update information in journal structure and in on disk journal superblock
1294 * superblock as being NULL to prevent the journal destroy from writing
1295 * back a bogus superblock.
1305 * Check the superblock for a given journal, performing initial
1316 printk(KERN_WARNING "JBD2: no valid journal superblock found\n"); in journal_check_superblock()
1322 printk(KERN_WARNING "JBD2: unrecognised superblock format ID\n"); in journal_check_superblock()
1340 * If this is a V2 superblock, then we have to check the in journal_check_superblock()
1385 /* Check superblock checksum */ in journal_check_superblock()
1454 * Load the on-disk journal superblock and read the key fields into the
1468 pr_err("%s: Cannot read journal superblock\n", __func__); in journal_load_superblock()
[all …]
/linux/fs/afs/
H A Dsuper.c1 /* AFS superblock handling
418 * check a superblock to see if it's the one we're looking for
446 * fill in the superblock
456 /* fill in the superblock */ in afs_fill_super()
535 * deactivating the superblock. in afs_kill_super()
546 * Get an AFS superblock and root directory.
561 /* allocate a superblock info record */ in afs_get_tree()
568 /* allocate a deviceless superblock */ in afs_get_tree()
578 /* initial superblock/root creation */ in afs_get_tree()
/linux/include/uapi/linux/raid/
H A Dmd_u.h24 * >=1 means different superblock formats are selectable using SET_ARRAY_INFO
28 * >=3 means that bitmap superblock version 4 is supported, which uses
91 unsigned int utime; /* 0 Superblock update time */

12345678910