Home
last modified time | relevance | path

Searched refs:extents (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/fs/btrfs/tests/
H A Dfree-space-tree-tests.c23 const struct free_space_extent * const extents, in __check_free_space_extents()
64 extent_start != extents[i].start || in __check_free_space_extents()
65 offset - extent_start != extents[i].length) in __check_free_space_extents()
75 extent_start != extents[i].start || in __check_free_space_extents()
76 end - extent_start != extents[i].length) in __check_free_space_extents()
90 key.objectid != extents[i].start || in __check_free_space_extents()
91 key.offset != extents[i].length) in __check_free_space_extents()
110 const struct free_space_extent * const extents, in check_free_space_extents()
126 ret = __check_free_space_extents(trans, fs_info, cache, path, extents, in check_free_space_extents()
135 test_err("could not convert to extents"); in check_free_space_extents()
19 __check_free_space_extents(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, const struct free_space_extent * const extents, unsigned int num_extents) __check_free_space_extents() argument
106 check_free_space_extents(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, const struct free_space_extent * const extents, unsigned int num_extents) check_free_space_extents() argument
155 const struct free_space_extent extents[] = { test_empty_block_group() local
169 const struct free_space_extent extents[] = {}; test_remove_all() local
190 const struct free_space_extent extents[] = { test_remove_beginning() local
213 const struct free_space_extent extents[] = { test_remove_end() local
236 const struct free_space_extent extents[] = { test_remove_middle() local
260 const struct free_space_extent extents[] = { test_merge_left() local
297 const struct free_space_extent extents[] = { test_merge_right() local
335 const struct free_space_extent extents[] = { test_merge_both() local
378 const struct free_space_extent extents[] = { test_merge_none() local
[all...]
/kernel/linux/linux-6.6/fs/btrfs/tests/
H A Dfree-space-tree-tests.c24 const struct free_space_extent * const extents, in __check_free_space_extents()
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()
127 ret = __check_free_space_extents(trans, fs_info, cache, path, extents, in check_free_space_extents()
136 test_err("could not convert to extents"); in check_free_space_extents()
20 __check_free_space_extents(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, const struct free_space_extent * const extents, unsigned int num_extents) __check_free_space_extents() argument
107 check_free_space_extents(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, struct btrfs_block_group *cache, struct btrfs_path *path, const struct free_space_extent * const extents, unsigned int num_extents) check_free_space_extents() argument
156 const struct free_space_extent extents[] = { test_empty_block_group() local
170 const struct free_space_extent extents[] = {}; test_remove_all() local
191 const struct free_space_extent extents[] = { test_remove_beginning() local
214 const struct free_space_extent extents[] = { test_remove_end() local
237 const struct free_space_extent extents[] = { test_remove_middle() local
261 const struct free_space_extent extents[] = { test_merge_left() local
298 const struct free_space_extent extents[] = { test_merge_right() local
336 const struct free_space_extent extents[] = { test_merge_both() local
379 const struct free_space_extent extents[] = { test_merge_none() local
[all...]
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_discard.c27 * discards on extents that might be in use, or are so recently in use they are
29 * gathering extents to trim, we must hold the AGF lock to lock out other
35 * couple of million free extents and issuing synchronous discards on each
53 * This is exactly how online discard works - free extents are marked busy when
78 struct xfs_busy_extents *extents = in xfs_discard_endio_work() local
81 xfs_extent_busy_clear(extents->mount, &extents->extent_list, false); in xfs_discard_endio_work()
82 kmem_free(extents->owner); in xfs_discard_endio_work()
93 struct xfs_busy_extents *extents = bio->bi_private; in xfs_discard_endio() local
95 INIT_WORK(&extents in xfs_discard_endio()
106 xfs_discard_extents( struct xfs_mount *mp, struct xfs_busy_extents *extents) xfs_discard_extents() argument
148 xfs_trim_gather_extents( struct xfs_perag *pag, xfs_daddr_t start, xfs_daddr_t end, xfs_daddr_t minlen, struct xfs_alloc_rec_incore *tcur, struct xfs_busy_extents *extents, uint64_t *blocks_trimmed) xfs_trim_gather_extents() argument
312 struct xfs_busy_extents *extents; xfs_trim_extents() local
[all...]
/kernel/liteos_a/kernel/extended/container/
H A Dlos_user_container.c109 STATIC UidGidExtent *MapIdUpBase(UINT32 extents, UidGidMap *map, UINT32 id) in MapIdUpBase() argument
115 for (idx = 0; idx < extents; idx++) { in MapIdUpBase()
127 UINT32 extents = map->extentCount; in MapIdUp() local
128 if (extents > UID_GID_MAP_MAX_EXTENTS) { in MapIdUp()
132 UidGidExtent *extent = MapIdUpBase(extents, map, id); in MapIdUp()
168 STATIC UidGidExtent *MapIdRangeDownBase(UINT32 extents, UidGidMap *map, UINT32 id, UINT32 count) in MapIdRangeDownBase() argument
176 for (idx = 0; idx < extents; idx++) { in MapIdRangeDownBase()
188 UINT32 extents = map->extentCount; in MapIdRangeDown() local
189 if (extents > UID_GID_MAP_MAX_EXTENTS) { in MapIdRangeDown()
193 UidGidExtent *extent = MapIdRangeDownBase(extents, ma in MapIdRangeDown()
[all...]
/kernel/linux/linux-5.10/fs/efs/
H A Dinode.c126 /* get the number of extents for this object */ in efs_iget()
130 /* copy the extents contained within the inode to memory */ in efs_iget()
132 extent_copy(&(efs_inode->di_u.di_extents[i]), &(in->extents[i])); in efs_iget()
133 if (i < in->numextents && in->extents[i].cooked.ex_magic != 0) { in efs_iget()
142 pr_debug("efs_iget(): inode %lu, extents %d, mode %o\n", in efs_iget()
213 if ((result = efs_extent_check(&in->extents[last], block, sb))) in efs_map_block()
225 * check the stored extents in the inode in efs_map_block()
230 if ((result = efs_extent_check(&in->extents[cur], block, sb))) { in efs_map_block()
242 direxts = in->extents[0].cooked.ex_offset; in efs_map_block()
257 ibase += in->extents[direx in efs_map_block()
[all...]
H A Defs.h66 __be16 di_numextents; /* # of extents */
80 efs_extent extents[EFS_DIRECTEXTENTS]; member
/kernel/linux/linux-6.6/fs/efs/
H A Dinode.c128 /* get the number of extents for this object */ in efs_iget()
132 /* copy the extents contained within the inode to memory */ in efs_iget()
134 extent_copy(&(efs_inode->di_u.di_extents[i]), &(in->extents[i])); in efs_iget()
135 if (i < in->numextents && in->extents[i].cooked.ex_magic != 0) { in efs_iget()
144 pr_debug("efs_iget(): inode %lu, extents %d, mode %o\n", in efs_iget()
215 if ((result = efs_extent_check(&in->extents[last], block, sb))) in efs_map_block()
227 * check the stored extents in the inode in efs_map_block()
232 if ((result = efs_extent_check(&in->extents[cur], block, sb))) { in efs_map_block()
244 direxts = in->extents[0].cooked.ex_offset; in efs_map_block()
259 ibase += in->extents[direx in efs_map_block()
[all...]
H A Defs.h63 __be16 di_numextents; /* # of extents */
77 efs_extent extents[EFS_DIRECTEXTENTS]; member
/kernel/linux/linux-5.10/kernel/
H A Duser_namespace.c255 map_id_range_down_max(unsigned extents, struct uid_gid_map *map, u32 id, u32 count) in map_id_range_down_max() argument
263 return bsearch(&key, map->forward, extents, in map_id_range_down_max()
273 map_id_range_down_base(unsigned extents, struct uid_gid_map *map, u32 id, u32 count) in map_id_range_down_base() argument
281 for (idx = 0; idx < extents; idx++) { in map_id_range_down_base()
294 unsigned extents = map->nr_extents; in map_id_range_down() local
297 if (extents <= UID_GID_MAP_MAX_BASE_EXTENTS) in map_id_range_down()
298 extent = map_id_range_down_base(extents, map, id, count); in map_id_range_down()
300 extent = map_id_range_down_max(extents, map, id, count); in map_id_range_down()
322 map_id_up_base(unsigned extents, struct uid_gid_map *map, u32 id) in map_id_up_base() argument
328 for (idx = 0; idx < extents; id in map_id_up_base()
342 map_id_up_max(unsigned extents, struct uid_gid_map *map, u32 id) map_id_up_max() argument
357 unsigned extents = map->nr_extents; map_id_up() local
645 unsigned extents = map->nr_extents; m_start() local
[all...]
/kernel/linux/linux-6.6/kernel/
H A Duser_namespace.c276 map_id_range_down_max(unsigned extents, struct uid_gid_map *map, u32 id, u32 count) in map_id_range_down_max() argument
284 return bsearch(&key, map->forward, extents, in map_id_range_down_max()
294 map_id_range_down_base(unsigned extents, struct uid_gid_map *map, u32 id, u32 count) in map_id_range_down_base() argument
302 for (idx = 0; idx < extents; idx++) { in map_id_range_down_base()
315 unsigned extents = map->nr_extents; in map_id_range_down() local
318 if (extents <= UID_GID_MAP_MAX_BASE_EXTENTS) in map_id_range_down()
319 extent = map_id_range_down_base(extents, map, id, count); in map_id_range_down()
321 extent = map_id_range_down_max(extents, map, id, count); in map_id_range_down()
343 map_id_up_base(unsigned extents, struct uid_gid_map *map, u32 id) in map_id_up_base() argument
349 for (idx = 0; idx < extents; id in map_id_up_base()
363 map_id_up_max(unsigned extents, struct uid_gid_map *map, u32 id) map_id_up_max() argument
378 unsigned extents = map->nr_extents; map_id_up() local
666 unsigned extents = map->nr_extents; m_start() local
[all...]
/kernel/linux/linux-5.10/drivers/md/bcache/
H A DMakefile5 bcache-y := alloc.o bset.o btree.o closure.o debug.o extents.o\
/kernel/linux/linux-6.6/drivers/md/bcache/
H A DMakefile5 bcache-y := alloc.o bset.o btree.o closure.o debug.o extents.o\
/kernel/linux/linux-5.10/fs/hfsplus/
H A Dhfsplus_raw.h100 hfsplus_extent_rec extents; member
338 /* HFS+ extents tree key */
378 struct hfsplus_extent extents; member
396 struct hfsplus_attr_extents extents; member
H A DMakefile8 hfsplus-objs := super.o options.o inode.o ioctl.o extents.o catalog.o dir.o btree.o \
H A Dinode.c457 memcpy(&hip->first_extents, &fork->extents, sizeof(hfsplus_extent_rec)); in hfsplus_inode_read_fork()
459 count += be32_to_cpu(fork->extents[i].block_count); in hfsplus_inode_read_fork()
482 memcpy(&fork->extents, &HFSPLUS_I(inode)->first_extents, in hfsplus_inode_write_fork()
H A Dextents.c3 * linux/fs/hfsplus/extents.c
9 * Handling of Extents both in catalog and extents overflow trees
19 /* Compare two extents keys, returns 0 on same, pos/neg for difference */
264 * the extents btree. In that case we may have to mark the inode in hfsplus_get_block()
385 * Try to free all extents and in hfsplus_free_extents()
410 blocks += be32_to_cpu(fork->extents[i].block_count); in hfsplus_free_fork()
412 res = hfsplus_free_extents(sb, fork->extents, blocks, blocks); in hfsplus_free_fork()
487 hfs_dbg(EXTENT, "first extents\n"); in hfsplus_file_extend()
488 /* no extents yet */ in hfsplus_file_extend()
493 /* try to append to extents i in hfsplus_file_extend()
[all...]
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dhfsplus_raw.h100 hfsplus_extent_rec extents; member
342 /* HFS+ extents tree key */
382 struct hfsplus_extent extents; member
400 struct hfsplus_attr_extents extents; member
H A DMakefile8 hfsplus-objs := super.o options.o inode.o ioctl.o extents.o catalog.o dir.o btree.o \
H A Dinode.c471 memcpy(&hip->first_extents, &fork->extents, sizeof(hfsplus_extent_rec)); in hfsplus_inode_read_fork()
473 count += be32_to_cpu(fork->extents[i].block_count); in hfsplus_inode_read_fork()
496 memcpy(&fork->extents, &HFSPLUS_I(inode)->first_extents, in hfsplus_inode_write_fork()
H A Dextents.c3 * linux/fs/hfsplus/extents.c
9 * Handling of Extents both in catalog and extents overflow trees
19 /* Compare two extents keys, returns 0 on same, pos/neg for difference */
264 * the extents btree. In that case we may have to mark the inode in hfsplus_get_block()
385 * Try to free all extents and in hfsplus_free_extents()
410 blocks += be32_to_cpu(fork->extents[i].block_count); in hfsplus_free_fork()
412 res = hfsplus_free_extents(sb, fork->extents, blocks, blocks); in hfsplus_free_fork()
487 hfs_dbg(EXTENT, "first extents\n"); in hfsplus_file_extend()
488 /* no extents yet */ in hfsplus_file_extend()
493 /* try to append to extents i in hfsplus_file_extend()
[all...]
/kernel/linux/linux-5.10/fs/nfs/blocklayout/
H A Dblocklayout.c282 /* Code assumes extents are page-aligned */ in bl_read_pagelist()
518 /* Tracks info needed to ensure extents in layout obey constraints of spec */
614 struct layout_verification *lv, struct list_head *extents, in bl_alloc_extent()
659 list_add_tail(&be->be_list, extents); in bl_alloc_extent()
687 LIST_HEAD(extents); in bl_alloc_lseg()
710 dprintk("%s: number of extents %d\n", __func__, count); in bl_alloc_lseg()
713 * Decode individual extents, putting them in temporary staging area in bl_alloc_lseg()
717 status = bl_alloc_extent(&xdr, lo, &lv, &extents, gfp_mask); in bl_alloc_lseg()
735 while (!list_empty(&extents)) { in bl_alloc_lseg()
737 list_first_entry(&extents, struc in bl_alloc_lseg()
613 bl_alloc_extent(struct xdr_stream *xdr, struct pnfs_layout_hdr *lo, struct layout_verification *lv, struct list_head *extents, gfp_t gfp_mask) bl_alloc_extent() argument
[all...]
/kernel/linux/linux-6.6/fs/nfs/blocklayout/
H A Dblocklayout.c259 /* Code assumes extents are page-aligned */ in bl_read_pagelist()
494 /* Tracks info needed to ensure extents in layout obey constraints of spec */
590 struct layout_verification *lv, struct list_head *extents, in bl_alloc_extent()
635 list_add_tail(&be->be_list, extents); in bl_alloc_extent()
663 LIST_HEAD(extents); in bl_alloc_lseg()
686 dprintk("%s: number of extents %d\n", __func__, count); in bl_alloc_lseg()
689 * Decode individual extents, putting them in temporary staging area in bl_alloc_lseg()
693 status = bl_alloc_extent(&xdr, lo, &lv, &extents, gfp_mask); in bl_alloc_lseg()
711 while (!list_empty(&extents)) { in bl_alloc_lseg()
713 list_first_entry(&extents, struc in bl_alloc_lseg()
589 bl_alloc_extent(struct xdr_stream *xdr, struct pnfs_layout_hdr *lo, struct layout_verification *lv, struct list_head *extents, gfp_t gfp_mask) bl_alloc_extent() argument
[all...]
/kernel/linux/linux-5.10/fs/ext4/
H A DMakefile8 ext4-y := balloc.o bitmap.o block_validity.o dir.o ext4_jbd2.o extents.o \
/kernel/linux/linux-6.6/fs/ext4/
H A DMakefile8 ext4-y := balloc.o bitmap.o block_validity.o dir.o ext4_jbd2.o extents.o \
/kernel/linux/linux-6.6/fs/smb/client/
H A Dsmb2pdu.h243 struct smb3_extents extents[]; member

Completed in 16 milliseconds

12