Home
last modified time | relevance | path

Searched refs:extent (Results 1 – 25 of 754) sorted by relevance

12345678910>>...31

/external/jemalloc_new/include/jemalloc/internal/
Dextent_inlines.h12 extent_lock(tsdn_t *tsdn, extent_t *extent) { in extent_lock() argument
13 assert(extent != NULL); in extent_lock()
14 mutex_pool_lock(tsdn, &extent_mutex_pool, (uintptr_t)extent); in extent_lock()
18 extent_unlock(tsdn_t *tsdn, extent_t *extent) { in extent_unlock() argument
19 assert(extent != NULL); in extent_unlock()
20 mutex_pool_unlock(tsdn, &extent_mutex_pool, (uintptr_t)extent); in extent_unlock()
38 extent_arena_get(const extent_t *extent) { in extent_arena_get() argument
39 unsigned arena_ind = (unsigned)((extent->e_bits & in extent_arena_get()
53 extent_szind_get_maybe_invalid(const extent_t *extent) { in extent_szind_get_maybe_invalid() argument
54 szind_t szind = (szind_t)((extent->e_bits & EXTENT_BITS_SZIND_MASK) >> in extent_szind_get_maybe_invalid()
[all …]
Darena_inlines_b.h18 const extent_t *extent = iealloc(tsdn, ptr); in arena_prof_tctx_get() local
19 if (unlikely(!extent_slab_get(extent))) { in arena_prof_tctx_get()
20 return large_prof_tctx_get(tsdn, extent); in arena_prof_tctx_get()
38 extent_t *extent = iealloc(tsdn, ptr); in arena_prof_tctx_set() local
39 if (unlikely(!extent_slab_get(extent))) { in arena_prof_tctx_set()
40 large_prof_tctx_set(tsdn, extent, tctx); in arena_prof_tctx_set()
54 extent_t *extent = iealloc(tsdn, ptr); in arena_prof_tctx_reset() local
55 assert(!extent_slab_get(extent)); in arena_prof_tctx_reset()
57 large_prof_tctx_reset(tsdn, extent); in arena_prof_tctx_reset()
141 extent_t *extent; in arena_vsalloc() local
[all …]
Dlarge_externs.h7 bool large_ralloc_no_move(tsdn_t *tsdn, extent_t *extent, size_t usize_min,
9 void *large_ralloc(tsdn_t *tsdn, arena_t *arena, extent_t *extent, size_t usize,
18 void large_dalloc_prep_junked_locked(tsdn_t *tsdn, extent_t *extent);
19 void large_dalloc_finish(tsdn_t *tsdn, extent_t *extent);
20 void large_dalloc(tsdn_t *tsdn, extent_t *extent);
21 size_t large_salloc(tsdn_t *tsdn, const extent_t *extent);
22 prof_tctx_t *large_prof_tctx_get(tsdn_t *tsdn, const extent_t *extent);
23 void large_prof_tctx_set(tsdn_t *tsdn, extent_t *extent, prof_tctx_t *tctx);
24 void large_prof_tctx_reset(tsdn_t *tsdn, extent_t *extent);
/external/e2fsprogs/resize/
Dextent.c40 ext2_extent extent; in ext2fs_create_extent_table() local
43 retval = ext2fs_get_mem(sizeof(struct _ext2_extent), &extent); in ext2fs_create_extent_table()
46 memset(extent, 0, sizeof(struct _ext2_extent)); in ext2fs_create_extent_table()
48 extent->size = size ? size : 50; in ext2fs_create_extent_table()
49 extent->cursor = 0; in ext2fs_create_extent_table()
50 extent->num = 0; in ext2fs_create_extent_table()
51 extent->sorted = 1; in ext2fs_create_extent_table()
54 extent->size, &extent->list); in ext2fs_create_extent_table()
56 ext2fs_free_mem(&extent); in ext2fs_create_extent_table()
59 memset(extent->list, 0, in ext2fs_create_extent_table()
[all …]
Dtest_extent.c27 ext2_extent extent = 0; in do_test() local
69 retval = ext2fs_create_extent_table(&extent, num1); in do_test()
78 if (!extent) { in do_test()
83 ext2fs_free_extent_table(extent); in do_test()
84 extent = 0; in do_test()
86 retval = ext2fs_add_extent_entry(extent, num1, num2); in do_test()
90 num2 = ext2fs_extent_translate(extent, num1); in do_test()
94 ext2fs_extent_dump(extent, out); in do_test()
96 retval = ext2fs_iterate_extent(extent, 0, 0, 0); in do_test()
100 retval = ext2fs_iterate_extent(extent, in do_test()
[all …]
/external/skia/src/compute/skc/platforms/cl_12/
Dextent_cl_12.c25 struct skc_extent_phrw * const extent, in skc_extent_phrw_alloc() argument
28 extent->hrw = skc_runtime_host_perm_alloc(runtime,SKC_MEM_FLAGS_READ_WRITE,size); in skc_extent_phrw_alloc()
33 struct skc_extent_phrw * const extent) in skc_extent_phrw_free() argument
35 skc_runtime_host_perm_free(runtime,extent->hrw); in skc_extent_phrw_free()
44 struct skc_extent_pdrw * const extent, in skc_extent_pdrw_alloc() argument
47 extent->drw = skc_runtime_device_perm_alloc(runtime, in skc_extent_pdrw_alloc()
54 struct skc_extent_pdrw * const extent) in skc_extent_pdrw_free() argument
56 skc_runtime_device_perm_free(runtime,extent->drw); in skc_extent_pdrw_free()
65 struct skc_extent_tdrw * const extent, in skc_extent_tdrw_alloc() argument
68 extent->size = size; in skc_extent_tdrw_alloc()
[all …]
Dextent_cl_12_unified.c37 struct skc_extent_thrw_tdrw * const extent,
40 extent->drw = skc_runtime_device_temp_alloc(runtime,
42 size,&extent->id,&extent->size);
47 struct skc_extent_thrw_tdrw * const extent)
49 skc_runtime_device_temp_free(runtime,extent->drw,extent->id);
53 skc_extent_thrw_tdrw_map_size(struct skc_extent_thrw_tdrw * const extent,
60 void * hrw = clEnqueueMapBuffer(cq,extent->drw,
69 skc_extent_thrw_tdrw_map(struct skc_extent_thrw_tdrw * const extent,
73 return skc_extent_thrw_tdrw_map_size(extent,extent->size,cq,event);
77 skc_extent_thrw_tdrw_unmap(struct skc_extent_thrw_tdrw * const extent,
[all …]
Dextent_cl_12.h50 struct skc_extent_phrw * const extent,
55 struct skc_extent_phrw * const extent);
68 struct skc_extent_pdrw * const extent,
73 struct skc_extent_pdrw * const extent);
88 struct skc_extent_tdrw * const extent,
93 struct skc_extent_tdrw * const extent);
96 skc_extent_tdrw_zero(struct skc_extent_tdrw * const extent,
113 struct skc_extent_phr_pdrw * const extent,
118 struct skc_extent_phr_pdrw * const extent);
121 skc_extent_phr_pdrw_read(struct skc_extent_phr_pdrw * const extent,
[all …]
/external/skqp/src/compute/skc/platforms/cl_12/
Dextent_cl_12.c25 struct skc_extent_phrw * const extent, in skc_extent_phrw_alloc() argument
28 extent->hrw = skc_runtime_host_perm_alloc(runtime,SKC_MEM_FLAGS_READ_WRITE,size); in skc_extent_phrw_alloc()
33 struct skc_extent_phrw * const extent) in skc_extent_phrw_free() argument
35 skc_runtime_host_perm_free(runtime,extent->hrw); in skc_extent_phrw_free()
44 struct skc_extent_pdrw * const extent, in skc_extent_pdrw_alloc() argument
47 extent->drw = skc_runtime_device_perm_alloc(runtime, in skc_extent_pdrw_alloc()
54 struct skc_extent_pdrw * const extent) in skc_extent_pdrw_free() argument
56 skc_runtime_device_perm_free(runtime,extent->drw); in skc_extent_pdrw_free()
65 struct skc_extent_tdrw * const extent, in skc_extent_tdrw_alloc() argument
68 extent->size = size; in skc_extent_tdrw_alloc()
[all …]
Dextent_cl_12_unified.c37 struct skc_extent_thrw_tdrw * const extent,
40 extent->drw = skc_runtime_device_temp_alloc(runtime,
42 size,&extent->id,&extent->size);
47 struct skc_extent_thrw_tdrw * const extent)
49 skc_runtime_device_temp_free(runtime,extent->drw,extent->id);
53 skc_extent_thrw_tdrw_map_size(struct skc_extent_thrw_tdrw * const extent,
60 void * hrw = clEnqueueMapBuffer(cq,extent->drw,
69 skc_extent_thrw_tdrw_map(struct skc_extent_thrw_tdrw * const extent,
73 return skc_extent_thrw_tdrw_map_size(extent,extent->size,cq,event);
77 skc_extent_thrw_tdrw_unmap(struct skc_extent_thrw_tdrw * const extent,
[all …]
Dextent_cl_12.h50 struct skc_extent_phrw * const extent,
55 struct skc_extent_phrw * const extent);
68 struct skc_extent_pdrw * const extent,
73 struct skc_extent_pdrw * const extent);
88 struct skc_extent_tdrw * const extent,
93 struct skc_extent_tdrw * const extent);
96 skc_extent_tdrw_zero(struct skc_extent_tdrw * const extent,
113 struct skc_extent_phr_pdrw * const extent,
118 struct skc_extent_phr_pdrw * const extent);
121 skc_extent_phr_pdrw_read(struct skc_extent_phr_pdrw * const extent,
[all …]
/external/jemalloc_new/src/
Dextent.c35 extent_hooks_t **r_extent_hooks, extent_t *extent, size_t offset,
44 extent_hooks_t **r_extent_hooks, extent_t *extent, size_t offset,
51 extent_hooks_t **r_extent_hooks, extent_t *extent, size_t offset,
59 extent_hooks_t **r_extent_hooks, extent_t *extent, size_t size_a,
108 static void extent_deregister(tsdn_t *tsdn, extent_t *extent);
115 extent_t *extent, bool *coalesced, bool growing_retained);
117 extent_hooks_t **r_extent_hooks, extents_t *extents, extent_t *extent,
179 extent_t *extent = extent_avail_first(&arena->extent_avail); in extent_alloc() local
180 if (extent == NULL) { in extent_alloc()
184 extent_avail_remove(&arena->extent_avail, extent); in extent_alloc()
[all …]
Dlarge.c24 extent_t *extent; in large_palloc() local
55 if (unlikely(arena == NULL) || (extent = arena_extent_alloc_large(tsdn, in large_palloc()
64 extent_list_append(&arena->large, extent); in large_palloc()
74 memset(extent_addr_get(extent), JEMALLOC_ALLOC_JUNK, in large_palloc()
75 extent_usize_get(extent)); in large_palloc()
79 return extent_addr_get(extent); in large_palloc()
104 large_ralloc_no_move_shrink(tsdn_t *tsdn, extent_t *extent, size_t usize) { in large_ralloc_no_move_shrink() argument
105 arena_t *arena = extent_arena_get(extent); in large_ralloc_no_move_shrink()
106 size_t oldusize = extent_usize_get(extent); in large_ralloc_no_move_shrink()
108 size_t diff = extent_size_get(extent) - (usize + sz_large_pad); in large_ralloc_no_move_shrink()
[all …]
Dbase.c119 base_extent_init(size_t *extent_sn_next, extent_t *extent, void *addr, in base_extent_init() argument
126 extent_binit(extent, addr, size, sn); in base_extent_init()
172 extent_bsize_get(&block->extent)) >> LG_HUGEPAGE; in base_auto_thp_switch()
180 base_extent_bump_alloc_helper(extent_t *extent, size_t *gap_size, size_t size, in base_extent_bump_alloc_helper() argument
187 *gap_size = ALIGNMENT_CEILING((uintptr_t)extent_addr_get(extent), in base_extent_bump_alloc_helper()
188 alignment) - (uintptr_t)extent_addr_get(extent); in base_extent_bump_alloc_helper()
189 ret = (void *)((uintptr_t)extent_addr_get(extent) + *gap_size); in base_extent_bump_alloc_helper()
190 assert(extent_bsize_get(extent) >= *gap_size + size); in base_extent_bump_alloc_helper()
191 extent_binit(extent, (void *)((uintptr_t)extent_addr_get(extent) + in base_extent_bump_alloc_helper()
192 *gap_size + size), extent_bsize_get(extent) - *gap_size - size, in base_extent_bump_alloc_helper()
[all …]
Dandroid_je_iterate.c30 extent_t* extent = iealloc(tsd_tsdn(tsd), (void*)ptr); in je_iterate() local
31 if (extent == NULL) { in je_iterate()
37 if (extent_szind_get_maybe_invalid(extent) >= NSIZES) { in je_iterate()
39 ptr = (uintptr_t)extent_past_get(extent); in je_iterate()
48 szind_t binind = extent_szind_get(extent); in je_iterate()
50 arena_slab_data_t* slab_data = extent_slab_data_get(extent); in je_iterate()
52 uintptr_t first_ptr = (uintptr_t)extent_addr_get(extent); in je_iterate()
65 } else if (extent_state_get(extent) == extent_state_active) { in je_iterate()
67 uintptr_t base_ptr = (uintptr_t)extent_addr_get(extent); in je_iterate()
70 callback(base_ptr, extent_usize_get(extent), arg); in je_iterate()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dextent.c108 static void dbg_print_extent(char *desc, struct ext2fs_extent *extent) in dbg_print_extent() argument
113 extent->e_lblk, extent->e_lblk + extent->e_len - 1, in dbg_print_extent()
114 extent->e_len, extent->e_pblk); in dbg_print_extent()
115 if (extent->e_flags & EXT2_EXTENT_FLAGS_LEAF) in dbg_print_extent()
117 if (extent->e_flags & EXT2_EXTENT_FLAGS_UNINIT) in dbg_print_extent()
119 if (extent->e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dbg_print_extent()
121 if (!extent->e_flags) in dbg_print_extent()
306 int flags, struct ext2fs_extent *extent) in ext2fs_extent_get() argument
530 extent->e_flags = 0; in ext2fs_extent_get()
538 extent->e_pblk = ext2fs_le32_to_cpu(ex->ee_start) + in ext2fs_extent_get()
[all …]
Dpunch.c169 static void dbg_print_extent(char *desc, struct ext2fs_extent *extent) in dbg_print_extent() argument
174 extent->e_lblk, extent->e_lblk + extent->e_len - 1, in dbg_print_extent()
175 extent->e_len, extent->e_pblk); in dbg_print_extent()
176 if (extent->e_flags & EXT2_EXTENT_FLAGS_LEAF) in dbg_print_extent()
178 if (extent->e_flags & EXT2_EXTENT_FLAGS_UNINIT) in dbg_print_extent()
180 if (extent->e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dbg_print_extent()
182 if (!extent->e_flags) in dbg_print_extent()
266 struct ext2fs_extent extent; in ext2fs_punch_extent() local
288 retval = ext2fs_extent_get(handle, EXT2_EXTENT_CURRENT, &extent); in ext2fs_punch_extent()
296 dbg_print_extent("main loop", &extent); in ext2fs_punch_extent()
[all …]
/external/e2fsprogs/debugfs/
Dextent_inode.c31 static void dbg_print_extent(char *desc, struct ext2fs_extent *extent) in dbg_print_extent() argument
36 extent->e_lblk, extent->e_lblk + extent->e_len - 1, in dbg_print_extent()
37 extent->e_len, extent->e_pblk); in dbg_print_extent()
38 if (extent->e_flags & EXT2_EXTENT_FLAGS_LEAF) in dbg_print_extent()
40 if (extent->e_flags & EXT2_EXTENT_FLAGS_UNINIT) in dbg_print_extent()
42 if (extent->e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dbg_print_extent()
44 if (!extent->e_flags) in dbg_print_extent()
143 struct ext2fs_extent extent; in generic_goto_node() local
155 retval = ext2fs_extent_get(current_handle, op, &extent); in generic_goto_node()
160 dbg_print_extent(0, &extent); in generic_goto_node()
[all …]
/external/ImageMagick/MagickWand/
Dwand-view.c72 extent; member
142 clone_view->extent=wand_view->extent; in CloneWandView()
147 wand_view->pixel_wands[i],wand_view->extent.width); in CloneWandView()
197 wand_view->extent.width); in DestroyWandView()
293 height=source->extent.height-source->extent.y; in DuplexTransferWandViewIterator()
297 for (y=source->extent.y; y < (ssize_t) source->extent.height; y++) in DuplexTransferWandViewIterator()
317 pixels=GetCacheViewVirtualPixels(source->view,source->extent.x,y, in DuplexTransferWandViewIterator()
318 source->extent.width,1,source->exception); in DuplexTransferWandViewIterator()
324 for (x=0; x < (ssize_t) source->extent.width; x++) in DuplexTransferWandViewIterator()
329 duplex_pixels=GetCacheViewVirtualPixels(duplex->view,duplex->extent.x,y, in DuplexTransferWandViewIterator()
[all …]
/external/ImageMagick/MagickCore/
Dimage-view.c64 extent; member
114 clone_view->extent=image_view->extent; in CloneImageView()
244 height=source->extent.height-source->extent.y; in DuplexTransferImageViewIterator()
248 for (y=source->extent.y; y < (ssize_t) source->extent.height; y++) in DuplexTransferImageViewIterator()
265 pixels=GetCacheViewVirtualPixels(source->view,source->extent.x,y, in DuplexTransferImageViewIterator()
266 source->extent.width,1,source->exception); in DuplexTransferImageViewIterator()
272 duplex_pixels=GetCacheViewVirtualPixels(duplex->view,duplex->extent.x,y, in DuplexTransferImageViewIterator()
273 duplex->extent.width,1,duplex->exception); in DuplexTransferImageViewIterator()
280 destination->extent.x,y,destination->extent.width,1, in DuplexTransferImageViewIterator()
302 source->extent.height); in DuplexTransferImageViewIterator()
[all …]
/external/e2fsprogs/e2fsck/
Dextents.c75 struct ext2fs_extent extent; in load_extents() local
82 retval = ext2fs_extent_get(handle, EXT2_EXTENT_ROOT, &extent); in load_extents()
87 if (extent.e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in load_extents()
91 if (!(extent.e_flags & EXT2_EXTENT_FLAGS_LEAF)) { in load_extents()
94 extent.e_pblk, list->blocks_freed + 1); in load_extents()
97 ext2fs_block_alloc_stats2(fs, extent.e_pblk, -1); in load_extents()
106 blk64_t end = last->e_len + extent.e_len; in load_extents()
108 if (last->e_pblk + last->e_len == extent.e_pblk && in load_extents()
109 last->e_lblk + last->e_len == extent.e_lblk && in load_extents()
111 (extent.e_flags & EXT2_EXTENT_FLAGS_UNINIT) && in load_extents()
[all …]
/external/u-boot/fs/btrfs/
Dextent-io.c12 struct btrfs_file_extent_item *extent, u64 offset, in btrfs_read_extent_inline() argument
22 cbuf = (const char *) extent + data_off; in btrfs_read_extent_inline()
23 dlen = extent->ram_bytes; in btrfs_read_extent_inline()
31 if (extent->compression == BTRFS_COMPRESS_NONE) { in btrfs_read_extent_inline()
44 res = btrfs_decompress(extent->compression, cbuf, clen, dbuf, dlen); in btrfs_read_extent_inline()
64 struct btrfs_file_extent_item *extent, u64 offset, in btrfs_read_extent_reg() argument
71 clen = extent->disk_num_bytes; in btrfs_read_extent_reg()
72 dlen = extent->num_bytes; in btrfs_read_extent_reg()
80 physical = btrfs_map_logical_to_physical(extent->disk_bytenr); in btrfs_read_extent_reg()
84 if (extent->compression == BTRFS_COMPRESS_NONE) { in btrfs_read_extent_reg()
[all …]
Dinode.c90 struct btrfs_file_extent_item *extent; in btrfs_readlink() local
104 extent = btrfs_path_item_ptr(&path, struct btrfs_file_extent_item); in btrfs_readlink()
105 if (extent->type != BTRFS_FILE_EXTENT_INLINE) { in btrfs_readlink()
111 btrfs_file_extent_item_to_cpu_inl(extent); in btrfs_readlink()
113 if (extent->compression != BTRFS_COMPRESS_NONE) { in btrfs_readlink()
117 } else if (extent->encryption != 0) { in btrfs_readlink()
121 } else if (extent->ram_bytes >= btrfs_info.sb.sectorsize) { in btrfs_readlink()
123 __func__, inr, extent->ram_bytes); in btrfs_readlink()
127 data_ptr = (const char *) extent in btrfs_readlink()
130 memcpy(target, data_ptr, extent->ram_bytes); in btrfs_readlink()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.hpp112 r.extent.width = width; in makeRect2D()
113 r.extent.height = height; in makeRect2D()
133 inline VkRect2D makeRect2D(const VkExtent3D& extent) in makeRect2D() argument
135 return makeRect2D(0, 0, extent.width, extent.height); in makeRect2D()
138 inline VkRect2D makeRect2D(const VkExtent2D& extent) in makeRect2D() argument
140 return makeRect2D(0, 0, extent.width, extent.height); in makeRect2D()
163 inline VkViewport makeViewport(const VkExtent3D& extent) in makeViewport() argument
165 return makeViewport(0.0f, 0.0f, (float)extent.width, (float)extent.height, 0.0f, 1.0f); in makeViewport()
168 inline VkViewport makeViewport(const VkExtent2D& extent) in makeViewport() argument
170 return makeViewport(0.0f, 0.0f, (float)extent.width, (float)extent.height, 0.0f, 1.0f); in makeViewport()
/external/e2fsprogs/tests/d_punch/
Dexpect130 Inode 15 extent tree (at level 1) could be shorter. Fix? yes
132 Inode 16 extent tree (at level 1) could be shorter. Fix? yes
134 Inode 17 extent tree (at level 1) could be shorter. Fix? yes
136 Inode 18 extent tree (at level 1) could be shorter. Fix? yes
138 Inode 19 extent tree (at level 1) could be shorter. Fix? yes
140 Inode 20 extent tree (at level 1) could be shorter. Fix? yes
142 Inode 21 extent tree (at level 1) could be shorter. Fix? yes
144 Inode 22 extent tree (at level 1) could be shorter. Fix? yes
146 Inode 23 extent tree (at level 1) could be shorter. Fix? yes
148 Inode 24 extent tree (at level 1) could be shorter. Fix? yes
[all …]

12345678910>>...31