Home
last modified time | relevance | path

Searched refs:extents (Results 1 – 25 of 47) sorted by relevance

12

/linux/fs/btrfs/tests/
H A Dfree-space-tree-tests.c24 const struct free_space_extent * const extents, in __check_free_space_extents() argument
65 extent_start != extents[i].start || in __check_free_space_extents()
66 offset - extent_start != extents[i].length) in __check_free_space_extents()
76 extent_start != extents[i].start || in __check_free_space_extents()
77 end - extent_start != extents[i].length) in __check_free_space_extents()
91 key.objectid != extents[i].start || in __check_free_space_extents()
92 key.offset != extents[i].length) in __check_free_space_extents()
111 const struct free_space_extent * const extents, in check_free_space_extents() argument
127 ret = __check_free_space_extents(trans, fs_info, cache, path, extents, in check_free_space_extents()
146 return __check_free_space_extents(trans, fs_info, cache, path, extents, in check_free_space_extents()
[all …]
/linux/fs/xfs/
H A Dxfs_discard.c84 struct xfs_busy_extents *extents = in xfs_discard_endio_work() local
87 xfs_extent_busy_clear(&extents->extent_list, false); in xfs_discard_endio_work()
88 kfree(extents->owner); in xfs_discard_endio_work()
99 struct xfs_busy_extents *extents = bio->bi_private; in xfs_discard_endio() local
101 INIT_WORK(&extents->endio_work, xfs_discard_endio_work); in xfs_discard_endio()
102 queue_work(xfs_discard_wq, &extents->endio_work); in xfs_discard_endio()
114 struct xfs_busy_extents *extents) in xfs_discard_extents() argument
121 list_for_each_entry(busyp, &extents->extent_list, list) { in xfs_discard_extents()
135 bio->bi_private = extents; in xfs_discard_extents()
139 xfs_discard_endio_work(&extents->endio_work); in xfs_discard_extents()
[all …]
/linux/Documentation/filesystems/ext4/
H A Datomic_writes.rst13 I/O) on regular files with extents, provided the underlying storage device
34 1. The extents feature must be enabled (default for ext4)
65 * For regions with fully mapped extents, no additional work is needed
68 * For large unwritten extents, the extent gets split into two unwritten
69 extents of appropriate requested size
70 * For mixed mapping regions (combinations of holes, unwritten extents, or
71 mapped extents), ext4_map_blocks() is called in a loop with
73 mapped extent by writing zeroes to it and converting any unwritten extents to
78 region (i.e. one containing a combination of mapped and unwritten extents)
89 ext4 defers the conversion of unwritten extents to written extents until the I/O
[all …]
H A Difork.rst15 string is less than 60 bytes long. Otherwise, either extents or block
48 requires an indirect block to map all 1,000 entries; with extents, the
53 must have the extents flag (0x80000) flag set for this feature to be in
64 stored in ``inode.i_block``, which allows for the first four extents to
168 the 32-bit checksum is inserted into this space. The 4 extents in the
H A Dblocks.rst141 Note: Files not using extents (i.e. files using block maps) must be
142 placed within the first 2^32 blocks of a filesystem. Files with extents
H A Dverity.rst35 Verity inodes have EXT4_VERITY_FL set, and they must use extents, i.e.
/linux/Documentation/filesystems/
H A Dfiemap.rst9 returns a list of extents.
37 that can be used to return extents. If fm_extent_count is zero, then the
38 fm_extents[] array is ignored (no extents will be returned), and the
39 fm_mapped_extents count will hold the number of extents needed in
46 If this flag is set, the kernel will sync the file before mapping extents.
49 If this flag is set, the extents returned will describe the inodes
53 This flag requests caching of the extents.
61 fm_extent_count. The number of extents mapped by kernel will be
64 the maximum number of extents that can be mapped in the fm_extent[]
77 for an extents logical offset to start before the request or its logical
[all …]
H A Domfs.rst49 and extents. Each sysblock has a header containing CRCs of the entire
100 __be32 e_extent_count; /* total # extents in this table */
H A Derofs.rst181 | ... | inode | xattrs | extents | data inline | ... | inode ...
215 Xattrs, extents, data inline are placed after the corresponding inode with
279 with ``extents`` area of the inode metadata indicating how to get the chunk
328 extents and in the meanwhile, compressed into physical clusters (pclusters).
376 Since Linux v6.1, each pcluster can be used for multiple variable-sized extents,
/linux/kernel/
H A Duser_namespace.c282 map_id_range_down_max(unsigned extents, struct uid_gid_map *map, u32 id, u32 count) in map_id_range_down_max() argument
290 return bsearch(&key, map->forward, extents, in map_id_range_down_max()
300 map_id_range_down_base(unsigned extents, struct uid_gid_map *map, u32 id, u32 count) in map_id_range_down_base() argument
308 for (idx = 0; idx < extents; idx++) { in map_id_range_down_base()
321 unsigned extents = map->nr_extents; in map_id_range_down() local
324 if (extents <= UID_GID_MAP_MAX_BASE_EXTENTS) in map_id_range_down()
325 extent = map_id_range_down_base(extents, map, id, count); in map_id_range_down()
327 extent = map_id_range_down_max(extents, map, id, count); in map_id_range_down()
349 map_id_range_up_base(unsigned extents, struct uid_gid_map *map, u32 id, u32 count) in map_id_range_up_base() argument
357 for (idx = 0; idx < extents; idx++) { in map_id_range_up_base()
[all …]
/linux/Documentation/admin-guide/device-mapper/
H A Dlinear.rst51 my $extents = int($dev_size / $extent_size) -
54 while ($extents > 0) {
56 $extents--;
58 my $this_offset = $extents * $extent_size;
/linux/fs/efs/
H A Dinode.c133 extent_copy(&(efs_inode->di_u.di_extents[i]), &(in->extents[i])); in efs_iget()
134 if (i < in->numextents && in->extents[i].cooked.ex_magic != 0) { in efs_iget()
214 if ((result = efs_extent_check(&in->extents[last], block, sb))) in efs_map_block()
231 if ((result = efs_extent_check(&in->extents[cur], block, sb))) { in efs_map_block()
243 direxts = in->extents[0].cooked.ex_offset; in efs_map_block()
258 ibase += in->extents[dirext].cooked.ex_length * in efs_map_block()
271 iblock = sb->fs_start + in->extents[dirext].cooked.ex_bn + in efs_map_block()
H A Defs.h77 efs_extent extents[EFS_DIRECTEXTENTS]; member
/linux/fs/ext4/
H A DMakefile8 ext4-y := balloc.o bitmap.o block_validity.o dir.o ext4_jbd2.o extents.o \
18 extents-test.o
/linux/fs/nfsd/
H A Dblocklayout.c134 bl = kzalloc_flex(*bl, extents, nr_extents_max); in nfsd4_block_proc_layoutget()
141 struct pnfs_block_extent *bex = bl->extents + i; in nfsd4_block_proc_layoutget()
159 first_bex = bl->extents; in nfsd4_block_proc_layoutget()
160 last_bex = bl->extents + bl->nr_extents - 1; in nfsd4_block_proc_layoutget()
H A Dblocklayoutxdr.h35 struct pnfs_block_extent extents[] __counted_by(nr_extents);
/linux/drivers/md/bcache/
H A DMakefile5 bcache-y := alloc.o bset.o btree.o debug.o extents.o io.o\
/linux/fs/nfs/blocklayout/
H A Dblocklayout.c610 struct layout_verification *lv, struct list_head *extents, in bl_alloc_extent() argument
655 list_add_tail(&be->be_list, extents); in bl_alloc_extent()
683 LIST_HEAD(extents); in bl_alloc_lseg()
713 status = bl_alloc_extent(&xdr, lo, &lv, &extents, gfp_mask); in bl_alloc_lseg()
731 while (!list_empty(&extents)) { in bl_alloc_lseg()
733 list_first_entry(&extents, struct pnfs_block_extent, in bl_alloc_lseg()
/linux/include/linux/
H A Dhfs_common.h187 hfsplus_extent_rec extents; member
623 struct hfsplus_extent extents; member
641 struct hfsplus_attr_extents extents; member
/linux/fs/hfsplus/
H A DMakefile8 hfsplus-objs := super.o options.o inode.o ioctl.o extents.o catalog.o dir.o btree.o \
H A Dinode.c519 memcpy(&hip->first_extents, &fork->extents, sizeof(hfsplus_extent_rec)); in hfsplus_inode_read_fork()
521 count += be32_to_cpu(fork->extents[i].block_count); in hfsplus_inode_read_fork()
544 memcpy(&fork->extents, &HFSPLUS_I(inode)->first_extents, in hfsplus_inode_write_fork()
/linux/fs/btrfs/
H A DKconfig22 Btrfs is a general purpose copy-on-write filesystem with extents,
107 - raid-stripe-tree - additional mapping of extents to devices to
/linux/Documentation/ABI/testing/
H A Dsysfs-fs-ext422 The maximum number of extents the multiblock allocator
29 The minimum number of extents the multiblock allocator
/linux/fs/ext2/
H A DKconfig14 or extents, and also supports larger time stamps if the filesystem
/linux/Documentation/admin-guide/
H A Dext4.rst39 Or to configure an existing ext3 filesystem to support extents:
41 # tune2fs -O extents /dev/hda1
482 The maximum number of extents the multiblock allocator will search to
486 The minimum number of extents the multiblock allocator will search to
555 Move the block extents from orig_fd (the one this ioctl is pointing to)
575 contiguous block ranges into ext4 extents of the temporary inode. Then,
579 extents for this ioctl to work.

12