Home
last modified time | relevance | path

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

12345678910>>...13

/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 …]
H A Dporting.rst135 new file_system_type method - kill_sb(superblock). If you are converting
208 just takes the superblock and inode number as arguments and does the
831 in ->destroy_inode()) is *NOT* ordered wrt superblock destruction;
832 as the matter of fact, the superblock and all associated structures
958 suitable superblock to reuse based on the block device pointer.
960 The new logic tries to find a suitable superblock first based on the device
967 In the old logic concurrent mounters would find the superblock on the list of
969 would hold s_umount they would wait until the superblock became either born or
980 The holder of a block device is now the superblock.
984 superblock without matching on the device pointer stored in the superblock.
[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()
176 * drop the last active reference to the superblock from within the shrinker.
179 * take a passive reference to the superblock to avoid this from occurring.
254 * However, if we are currently mounting the superblock, the underlying in super_cache_count()
297 /* Free a superblock tha in destroy_super_rcu()
[all...]
H A Dfs_context.c2 /* Provide a way to create a superblock configuration context within the kernel
3 * that allows a superblock to be set up prior to mounting.
98 * vfs_parse_fs_param - Add a single parameter to a superblock config
181 * @fc: The superblock configuration to fill in.
230 * @fc: The superblock configuration to fill in.
249 * @sb_flags: Filesystem/superblock flags (SB_*)
255 * another superblock (referred to by @reference) is supplied, may have
256 * parameters such as namespaces copied across from that superblock.
487 * put_fs_context - Dispose of a superblock configuration context.
528 * from where it can be used to reconfigure a superblock.
/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.c34 * Physical superblock buffer manipulations. Shared with libxfs in userspace.
191 /* Check all the superblock fields we care about when reading one in. */
201 * Version 5 superblock feature mask validation. Reject combinations in xfs_validate_sb_read()
206 "Superblock has unknown compatible features (0x%x) enabled.", in xfs_validate_sb_read()
214 "Superblock has unknown read-only compatible features (0x%x) enabled.", in xfs_validate_sb_read()
228 "Superblock has unknown incompatible features (0x%x) enabled.", in xfs_validate_sb_read()
321 /* Check all the superblock fields we care about when writing one out. */
330 * the superblock. We skip this in the read validator because there in xfs_validate_sb_write()
350 * Version 5 superblock feature mask validation. Reject combinations in xfs_validate_sb_write()
357 "Corruption detected in superblock rea 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 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 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 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()
[all...]
/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 …]
/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/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/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/fs/gfs2/
H A Dlog.c86 * @sdp: The superblock
237 * @sdp: The superblock
345 * @sdp: The superblock
426 * @sdp: The GFS2 superblock
448 * @sdp: The GFS2 superblock
461 * @sdp: The GFS2 superblock
479 * @sdp: The GFS2 superblock
505 * @sdp: The GFS2 superblock
551 * @sdp: The GFS2 superblock
583 * @sdp: The GFS2 superblock
[all...]
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h50 * Superblock flags that can be altered by MS_REMOUNT
105 FSCONFIG_CMD_CREATE = 6, /* Create new or reuse existing superblock */
106 FSCONFIG_CMD_RECONFIGURE = 7, /* Invoke superblock reconfiguration */
107 FSCONFIG_CMD_CREATE_EXCL = 8, /* Create new superblock, fail if reusing existing superblock */
146 * Structure for getting mount/superblock/filesystem info with statmount(2).
/linux/include/uapi/linux/
H A Dmount.h50 * Superblock flags that can be altered by MS_REMOUNT
105 FSCONFIG_CMD_CREATE = 6, /* Create new or reuse existing superblock */
106 FSCONFIG_CMD_RECONFIGURE = 7, /* Invoke superblock reconfiguration */
107 FSCONFIG_CMD_CREATE_EXCL = 8, /* Create new superblock, fail if reusing existing superblock */
146 * Structure for getting mount/superblock/filesystem info with statmount(2).
/linux/fs/jbd2/
H A Djournal.c1051 * Update information in journal structure and in on disk journal superblock
1299 * superblock as being NULL to prevent the journal destroy from writing
1300 * back a bogus superblock.
1310 * Check the superblock for a given journal, performing initial
1321 printk(KERN_WARNING "JBD2: no valid journal superblock found\n"); in journal_check_superblock()
1327 printk(KERN_WARNING "JBD2: unrecognised superblock format ID\n"); in journal_check_superblock()
1345 * If this is a V2 superblock, then we have to check the in journal_check_superblock()
1390 /* Check superblock checksum */ in journal_check_superblock()
1459 * Load the on-disk journal superblock and read the key fields into the
1473 pr_err("%s: Cannot read journal superblock\ in journal_load_superblock()
[all...]

12345678910>>...13