Home
last modified time | relevance | path

Searched refs:depth (Results 226 - 250 of 3754) sorted by relevance

12345678910>>...151

/kernel/linux/linux-5.10/tools/perf/ui/stdio/
H A Dhist.c33 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line() argument
39 for (i = 0; i < depth; i++) in ipchain__fprintf_graph_line()
52 int depth, int depth_mask, int period, in ipchain__fprintf_graph()
62 for (i = 0; i < depth; i++) { in ipchain__fprintf_graph()
67 if (!period && i == depth - 1) { in ipchain__fprintf_graph()
110 u64 total_samples, int depth, in __callchain__fprintf_graph()
136 * The depth mask manages the output of pipes that show in __callchain__fprintf_graph()
137 * the depth. We don't want to keep the pipes of the current in __callchain__fprintf_graph()
138 * level for the last child of this depth. in __callchain__fprintf_graph()
144 new_depth_mask &= ~(1 << (depth in __callchain__fprintf_graph()
50 ipchain__fprintf_graph(FILE *fp, struct callchain_node *node, struct callchain_list *chain, int depth, int depth_mask, int period, u64 total_samples, int left_margin) ipchain__fprintf_graph() argument
109 __callchain__fprintf_graph(FILE *fp, struct rb_root *root, u64 total_samples, int depth, int depth_mask, int left_margin) __callchain__fprintf_graph() argument
637 int depth; hists__fprintf_hierarchy_headers() local
878 int depth = hists->nr_hpp_node + h->depth + 1; hists__fprintf() local
[all...]
/kernel/linux/linux-5.10/fs/ext4/
H A Dindirect.c117 * @depth: depth of the chain (1 - direct pointer, etc.)
138 * or when it reads all @depth-1 indirect blocks successfully and finds
144 static Indirect *ext4_get_branch(struct inode *inode, int depth, in ext4_get_branch() argument
159 while (--depth) { in ext4_get_branch()
539 int depth; in ext4_ind_map_blocks() local
546 depth = ext4_block_to_path(inode, map->m_lblk, offsets, in ext4_ind_map_blocks()
549 if (depth == 0) in ext4_ind_map_blocks()
552 partial = ext4_get_branch(inode, depth, offsets, chain, &err); in ext4_ind_map_blocks()
556 first_block = le32_to_cpu(chain[depth in ext4_ind_map_blocks()
801 ext4_find_shared(struct inode *inode, int depth, ext4_lblk_t offsets[4], Indirect chain[4], __le32 *top) ext4_find_shared() argument
1003 ext4_free_branches(handle_t *handle, struct inode *inode, struct buffer_head *parent_bh, __le32 *first, __le32 *last, int depth) ext4_free_branches() argument
1390 int depth = (chain+n-1) - partial; ext4_ind_remove_space() local
[all...]
/kernel/linux/linux-6.6/tools/perf/ui/stdio/
H A Dhist.c33 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line() argument
39 for (i = 0; i < depth; i++) in ipchain__fprintf_graph_line()
52 int depth, int depth_mask, int period, in ipchain__fprintf_graph()
62 for (i = 0; i < depth; i++) { in ipchain__fprintf_graph()
67 if (!period && i == depth - 1) { in ipchain__fprintf_graph()
110 u64 total_samples, int depth, in __callchain__fprintf_graph()
136 * The depth mask manages the output of pipes that show in __callchain__fprintf_graph()
137 * the depth. We don't want to keep the pipes of the current in __callchain__fprintf_graph()
138 * level for the last child of this depth. in __callchain__fprintf_graph()
144 new_depth_mask &= ~(1 << (depth in __callchain__fprintf_graph()
50 ipchain__fprintf_graph(FILE *fp, struct callchain_node *node, struct callchain_list *chain, int depth, int depth_mask, int period, u64 total_samples, int left_margin) ipchain__fprintf_graph() argument
109 __callchain__fprintf_graph(FILE *fp, struct rb_root *root, u64 total_samples, int depth, int depth_mask, int left_margin) __callchain__fprintf_graph() argument
637 int depth; hists__fprintf_hierarchy_headers() local
878 int depth = hists->nr_hpp_node + h->depth + 1; hists__fprintf() local
[all...]
/third_party/mesa3d/src/amd/common/
H A Dac_surface_meta_address_test.c197 unsigned depth, unsigned samples, unsigned bpp, in one_dcc_address_test()
223 din.numSlices = depth; in one_dcc_address_test()
278 for (in.slice = start_z; in.slice < depth; in.slice += dout.compressBlkDepth) { in one_dcc_address_test()
373 unsigned depth = 2; in run_dcc_address_test() local
377 width, height, depth, bpp, samples, rb_aligned, pipe_aligned); in run_dcc_address_test()
379 if (one_dcc_address_test(name, test, addrlib, info, width, height, depth, samples, in run_dcc_address_test()
422 unsigned width, unsigned height, unsigned depth, in one_htile_address_test()
439 hin.depthFlags.depth = 1; in one_htile_address_test()
445 hin.numSlices = in.numSlices = depth; in one_htile_address_test()
473 for (in.slice = start_z; in.slice < depth; i in one_htile_address_test()
195 one_dcc_address_test(const char *name, const char *test, ADDR_HANDLE addrlib, const struct radeon_info *info, unsigned width, unsigned height, unsigned depth, unsigned samples, unsigned bpp, unsigned swizzle_mode, bool pipe_aligned, bool rb_aligned, unsigned mrt_index, unsigned start_x, unsigned start_y, unsigned start_z, unsigned start_sample) one_dcc_address_test() argument
420 one_htile_address_test(const char *name, const char *test, ADDR_HANDLE addrlib, const struct radeon_info *info, unsigned width, unsigned height, unsigned depth, unsigned bpp, unsigned swizzle_mode, unsigned start_x, unsigned start_y, unsigned start_z) one_htile_address_test() argument
576 one_cmask_address_test(const char *name, const char *test, ADDR_HANDLE addrlib, const struct radeon_info *info, unsigned width, unsigned height, unsigned depth, unsigned bpp, unsigned swizzle_mode, bool pipe_aligned, bool rb_aligned, unsigned mrt_index, unsigned start_x, unsigned start_y, unsigned start_z) one_cmask_address_test() argument
[all...]
/kernel/linux/linux-5.10/fs/sysv/
H A Ditree.c89 int depth, in get_branch()
102 while (--depth) { in get_branch()
215 int depth = block_to_path(inode, iblock, offsets); in get_block() local
217 if (depth == 0) in get_block()
222 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
229 chain[depth-1].key)); in get_block()
231 partial = chain+depth-1; /* the whole chain */ in get_block()
254 left = (chain + depth) - partial; in get_block()
282 int depth, in find_shared()
291 for (k = depth; in find_shared()
88 get_branch(struct inode *inode, int depth, int offsets[], Indirect chain[], int *err) get_branch() argument
281 find_shared(struct inode *inode, int depth, int offsets[], Indirect chain[], sysv_zone_t *top) find_shared() argument
342 free_branches(struct inode *inode, sysv_zone_t *p, sysv_zone_t *q, int depth) free_branches() argument
359 block_end(bh), depth); free_branches() local
[all...]
/kernel/linux/linux-5.10/fs/minix/
H A Ditree_common.c31 int depth, in get_branch()
45 while (--depth) { in get_branch()
160 int depth = block_to_path(inode, block, offsets); in get_block() local
162 if (depth == 0) in get_block()
166 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
171 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block()
173 partial = chain+depth-1; /* the whole chain */ in get_block()
196 left = (chain + depth) - partial; in get_block()
224 int depth, in find_shared()
233 for (k = depth; in find_shared()
30 get_branch(struct inode *inode, int depth, int *offsets, Indirect chain[DEPTH], int *err) get_branch() argument
223 find_shared(struct inode *inode, int depth, int offsets[DEPTH], Indirect chain[DEPTH], block_t *top) find_shared() argument
276 free_branches(struct inode *inode, block_t *p, block_t *q, int depth) free_branches() argument
291 block_end(bh), depth); free_branches() local
[all...]
/kernel/linux/linux-6.6/fs/minix/
H A Ditree_common.c31 int depth, in get_branch()
45 while (--depth) { in get_branch()
160 int depth = block_to_path(inode, block, offsets); in get_block() local
162 if (depth == 0) in get_block()
166 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
171 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key)); in get_block()
173 partial = chain+depth-1; /* the whole chain */ in get_block()
196 left = (chain + depth) - partial; in get_block()
224 int depth, in find_shared()
233 for (k = depth; in find_shared()
30 get_branch(struct inode *inode, int depth, int *offsets, Indirect chain[DEPTH], int *err) get_branch() argument
223 find_shared(struct inode *inode, int depth, int offsets[DEPTH], Indirect chain[DEPTH], block_t *top) find_shared() argument
276 free_branches(struct inode *inode, block_t *p, block_t *q, int depth) free_branches() argument
291 block_end(bh), depth); free_branches() local
[all...]
/kernel/linux/linux-6.6/fs/sysv/
H A Ditree.c89 int depth, in get_branch()
102 while (--depth) { in get_branch()
215 int depth = block_to_path(inode, iblock, offsets); in get_block() local
217 if (depth == 0) in get_block()
222 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
229 chain[depth-1].key)); in get_block()
231 partial = chain+depth-1; /* the whole chain */ in get_block()
254 left = (chain + depth) - partial; in get_block()
282 int depth, in find_shared()
291 for (k = depth; in find_shared()
88 get_branch(struct inode *inode, int depth, int offsets[], Indirect chain[], int *err) get_branch() argument
281 find_shared(struct inode *inode, int depth, int offsets[], Indirect chain[], sysv_zone_t *top) find_shared() argument
342 free_branches(struct inode *inode, sysv_zone_t *p, sysv_zone_t *q, int depth) free_branches() argument
359 block_end(bh), depth); free_branches() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h63 .depth = max_t(u32, base_level.depth >> mip_level, 1) in vmw_surface_get_mip_size()
78 block_size->depth = __KERNEL_DIV_ROUND_UP(pixel_size->depth, in vmw_surface_get_size_in_blocks()
79 desc->blockSize.depth); in vmw_surface_get_size_in_blocks()
126 total_size = clamped_umul32(total_size, image_blocks.depth); in vmw_surface_get_image_buffer_size()
135 total_size = clamped_umul32(slice_size, image_blocks.depth); in vmw_surface_get_image_buffer_size()
198 const u32 bd = desc->blockSize.depth; in vmw_surface_get_pixel_offset()
456 loc->z *= desc->blockSize.depth; in vmw_surface_get_loc()
491 loc->z += desc->blockSize.depth; in vmw_surface_inc_loc()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_owdenoise.c47 int depth; member
57 { "depth", "set depth", OFFSET(depth), AV_OPT_TYPE_INT, {.i64 = 8}, 8, 16, FLAGS },
193 int x, y, i, j, depth = s->depth; in filter() local
195 while (1<<depth > width || 1<<depth > height) in filter()
196 depth--; in filter()
211 for (i = 0; i < depth; in filter()
[all...]
H A Dvf_colorbalance.c52 int depth; member
220 const int depth = s->depth; in color_balance16_p() local
238 dstr[j] = av_clip_uintp2_c(lrintf(r * max), depth); in color_balance16_p()
239 dstg[j] = av_clip_uintp2_c(lrintf(g * max), depth); in color_balance16_p()
240 dstb[j] = av_clip_uintp2_c(lrintf(b * max), depth); in color_balance16_p()
324 const int depth = s->depth; in color_balance16() local
347 dst[j + roffset] = av_clip_uintp2_c(lrintf(r * max), depth); in color_balance16()
348 dst[j + goffset] = av_clip_uintp2_c(lrintf(g * max), depth); in color_balance16()
366 const int depth = desc->comp[0].depth; config_output() local
[all...]
/third_party/skia/third_party/externals/libpng/contrib/pngminus/
H A Dpnm2png.c37 png_uint_32 get_data (FILE *pnm_file, int depth);
38 png_uint_32 get_value (FILE *pnm_file, int depth);
356 /* row_bytes is the width x number of channels x (bit-depth / 8) */ in pnm2png()
558 * taking as much bits as defined by bit-depth and
559 * using the bit-depth to fill up a byte (0Ah -> AAh)
562 png_uint_32 get_data (FILE *pnm_file, int depth) in get_data() argument
571 for (i = 0; i < depth; i++) in get_data()
581 for (i = 1; i < (8 / depth); i++) in get_data()
582 ret_value = ret_value || (ret_value >> depth); in get_data()
584 old_value = (old_value << depth) in get_data()
595 get_value(FILE *pnm_file, int depth) get_value() argument
[all...]
/third_party/mesa3d/src/util/format/
H A Du_format_pack.py443 depth = format.block_size()
444 print(' uint%u_t value = *(const uint%u_t *)src;' % (depth, depth))
454 if shift + src_channel.size < depth:
456 print(' uint%u_t %s = %s;' % (depth, src_channel.name, value))
458 if shift + src_channel.size < depth:
460 lshift = depth - (shift + src_channel.size)
463 value = '(int%u_t)(%s) ' % (depth, value)
464 if src_channel.size < depth:
466 rshift = depth
[all...]
/kernel/linux/linux-6.6/drivers/char/hw_random/
H A Dhistb-rng.c31 * depth = 1 -> ~1ms
32 * depth = 255 -> ~16ms
42 static void histb_rng_init(void __iomem *base, unsigned int depth) in histb_rng_init() argument
52 val |= min(depth, 0xffu) << 8; in histb_rng_init()
101 unsigned int depth; in depth_store() local
103 if (kstrtouint(buf, 0, &depth)) in depth_store()
106 histb_rng_init(base, depth); in depth_store()
110 static DEVICE_ATTR_RW(depth);
/third_party/eudev/src/shared/
H A Dstrbuf.c130 size_t depth; in strbuf_add_string() local
147 for (depth = 0; depth <= len; depth++) { in strbuf_add_string()
152 if (depth == len || (node->value_len >= len && memcmp(str->buf + off, s, len) == 0)) { in strbuf_add_string()
159 c = s[len - 1 - depth]; in strbuf_add_string()
/third_party/ffmpeg/tests/checkasm/
H A Dvf_blend.c63 #define check_blend_func(depth) \
71 w = WIDTH / depth; \
74 int src_offset = i * SIZE_PER_UNIT + (BUF_UNITS - 1 - i) * depth; /* Test various alignments */ \
100 #define check_and_report(name, val, depth) \ in checkasm_check_blend()
102 ff_blend_init(&param, depth * 8); \ in checkasm_check_blend()
104 check_blend_func(depth); in checkasm_check_blend()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DAnalyzeCallDepth.cpp231 unsigned int depth = main->analyzeCallDepth(this); in analyzeCallDepth() local
232 if(depth != UINT_MAX) ++depth; in analyzeCallDepth()
239 if(globalDepth > depth) in analyzeCallDepth()
241 depth = globalDepth; in analyzeCallDepth()
250 return depth; in analyzeCallDepth()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
H A Ddemangle_test.cc140 // Returns a mangled name nested to the given depth.
141 static std::string NestedMangledName(int depth) { in NestedMangledName() argument
143 if (depth > 0) { in NestedMangledName()
145 mangled_name += NestedMangledName(depth - 1); in NestedMangledName()
153 // depth. Since Demangle is implemented as a recursive descent parser, in TEST()
154 // stack consumption will grow as the nesting depth increases. By measuring in TEST()
207 const int depth = 100000; in TEST() local
209 data.reserve(data.size() + 3 * depth + 1); in TEST()
210 for (int i = 0; i < depth; i++) { in TEST()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
H A Dxm_api.c307 img = XCreateImage( dpy, visinfo->visual, visinfo->depth, in bits_per_pixel()
363 unsigned int w, h, bw, depth; in get_drawable_size() local
364 stat = XGetGeometry(dpy, d, &root, &xpos, &ypos, &w, &h, &bw, &depth); in get_drawable_size()
461 * Choose a depth/stencil format that satisfies the given depth and
465 choose_depth_stencil_format(XMesaDisplay xmdpy, int depth, int stencil, in choose_depth_stencil_format() argument
475 if (depth <= 16 && stencil == 0) { in choose_depth_stencil_format()
478 if (depth <= 24 && stencil == 0) { in choose_depth_stencil_format()
482 if (depth <= 24 && stencil <= 8) { in choose_depth_stencil_format()
486 if (depth < in choose_depth_stencil_format()
827 int depth; XMesaCreateVisual() local
1069 int depth; XMesaCreateWindowBuffer() local
[all...]
/third_party/vulkan-loader/loader/
H A DcJSON.c447 static char *print_value(cJSON *item, int depth, int fmt, printbuffer *p);
449 static char *print_array(cJSON *item, int depth, int fmt, printbuffer *p);
451 static char *print_object(cJSON *item, int depth, int fmt, printbuffer *p);
532 static char *print_value(cJSON *item, int depth, int fmt, printbuffer *p) { in print_value() argument
559 out = print_array(item, depth, fmt, p); in print_value()
562 out = print_object(item, depth, fmt, p); in print_value()
583 out = print_array(item, depth, fmt, 0); in print_value()
586 out = print_object(item, depth, fmt, 0); in print_value()
633 static char *print_array(cJSON *item, int depth, int fmt, printbuffer *p) { in print_array() argument
662 print_value(child, depth in print_array()
788 print_object(cJSON *item, int depth, int fmt, printbuffer *p) print_object() argument
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DICUResourceBundle.java122 int defDepth = 0; // depth of 'default' marker in getFunctionalEquivalent()
123 int resDepth = 0; // depth of found resource; in getFunctionalEquivalent()
416 int depth = getResDepth(); // How deep are we in this bundle? in getAllItemsWithFallback()
417 String[] pathKeys = new String[depth + numPathKeys]; in getAllItemsWithFallback()
418 getResPathKeys(path, numPathKeys, pathKeys, depth); in getAllItemsWithFallback()
419 rb = findResourceWithFallback(pathKeys, depth, this, null); in getAllItemsWithFallback()
495 int depth = getResDepth(); in getAllItemsWithFallback()
496 if (depth == 0) { in getAllItemsWithFallback()
501 String[] pathKeys = new String[depth]; in getAllItemsWithFallback()
502 getResPathKeys(pathKeys, depth); in getAllItemsWithFallback()
949 findResourceWithFallback( String[] keys, int depth, ICUResourceBundle base, UResourceBundle requested) findResourceWithFallback() argument
1107 getResPathKeys(String[] keys, int depth) getResPathKeys() argument
1615 getAliasedResource( ICUResourceBundle base, String[] keys, int depth, String key, int _resource, HashMap<String, String> aliasesVisited, UResourceBundle requested) getAliasedResource() argument
1635 getAliasedResource( String rpath, ClassLoader loaderToUse, String baseName, String[] keys, int depth, String[] baseKeyPath, HashMap<String, String> aliasesVisited, UResourceBundle requested) getAliasedResource() argument
[all...]
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dicm.c108 int (*get_route)(struct tb *tb, u8 link, u8 depth, u64 *route);
188 static inline u8 phy_port_from_route(u64 route, u8 depth) in phy_port_from_route() argument
192 link = depth ? route >> ((depth - 1) * 8) : route; in phy_port_from_route()
208 int depth = tb_route_length(route); in get_parent_route() local
209 return depth ? route & ~(0xffULL << (depth - 1) * TB_ROUTE_SHIFT) : 0; in get_parent_route()
398 static int icm_fr_get_route(struct tb *tb, u8 link, u8 depth, u64 *route) in icm_fr_get_route() argument
425 for (i = 1; i < depth; i++) { in icm_fr_get_route()
570 request.link_info = xd->depth << ICM_LINK_INFO_DEPTH_SHIF in icm_fr_approve_xdomain_paths()
647 update_switch(struct tb_switch *sw, u64 route, u8 connection_id, u8 connection_key, u8 link, u8 depth, bool boot) update_switch() argument
679 add_xdomain(struct tb_switch *sw, u64 route, const uuid_t *local_uuid, const uuid_t *remote_uuid, u8 link, u8 depth) add_xdomain() argument
730 u8 link, depth; icm_fr_device_connected() local
873 u8 link, depth; icm_fr_device_disconnected() local
908 u8 link, depth; icm_fr_xdomain_connected() local
1514 icm_ar_get_route(struct tb *tb, u8 link, u8 depth, u64 *route) icm_ar_get_route() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dheadc57d.c35 u8 depth; in headc57d_or() local
38 /*XXX: This is a dirty hack until OR depth handling is in headc57d_or()
41 switch (asyh->or.depth) { in headc57d_or()
42 case 6: depth = 5; break; in headc57d_or()
43 case 5: depth = 4; break; in headc57d_or()
44 case 2: depth = 1; break; in headc57d_or()
45 case 0: depth = 4; break; in headc57d_or()
47 depth = asyh->or.depth; in headc57d_or()
59 NVVAL(NVC57D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, PIXEL_DEPTH, depth) | in headc57d_or()
[all...]
/kernel/linux/linux-6.6/block/
H A Dblk-rq-qos.c108 * Return true, if we can't increase the depth further by scaling
112 unsigned int depth; in rq_depth_calc_max_depth() local
117 * to have one request ready when one completes, so force a depth of in rq_depth_calc_max_depth()
118 * 2 for those devices. On the backend, it'll be a depth of 1 anyway, in rq_depth_calc_max_depth()
134 * writes, and we allow a temporarily higher depth to in rq_depth_calc_max_depth()
137 depth = min_t(unsigned int, rqd->default_depth, in rq_depth_calc_max_depth()
140 depth = 1 + ((depth - 1) >> min(31, rqd->scale_step)); in rq_depth_calc_max_depth()
144 depth = 1 + ((depth in rq_depth_calc_max_depth()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/
H A Dheadc57d.c35 u8 depth; in headc57d_or() local
38 /*XXX: This is a dirty hack until OR depth handling is in headc57d_or()
41 switch (asyh->or.depth) { in headc57d_or()
42 case 6: depth = 5; break; in headc57d_or()
43 case 5: depth = 4; break; in headc57d_or()
44 case 2: depth = 1; break; in headc57d_or()
45 case 0: depth = 4; break; in headc57d_or()
47 depth = asyh->or.depth; in headc57d_or()
59 NVVAL(NVC57D, HEAD_SET_CONTROL_OUTPUT_RESOURCE, PIXEL_DEPTH, depth) | in headc57d_or()
[all...]

Completed in 25 milliseconds

12345678910>>...151