Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 6 of 6) sorted by relevance

/lib/
Dsbitmap.c23 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, in sbitmap_init_node() argument
37 if (depth >= 4) { in sbitmap_init_node()
38 while ((4U << shift) > depth) in sbitmap_init_node()
47 sb->depth = depth; in sbitmap_init_node()
48 sb->map_nr = DIV_ROUND_UP(sb->depth, bits_per_word); in sbitmap_init_node()
50 if (depth == 0) { in sbitmap_init_node()
60 sb->map[i].depth = min(depth, bits_per_word); in sbitmap_init_node()
61 depth -= sb->map[i].depth; in sbitmap_init_node()
67 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize() argument
72 sb->depth = depth; in sbitmap_resize()
[all …]
Dfault-inject.c69 int depth = attr->stacktrace_depth; in fail_stacktrace() local
74 if (depth == 0) in fail_stacktrace()
79 trace.max_entries = depth; in fail_stacktrace()
Dvsprintf.c612 int depth; in dentry_name() local
617 depth = fmt[1] - '0'; in dentry_name()
620 depth = 1; in dentry_name()
624 for (i = 0; i < depth; i++, d = p) { in dentry_name()
1526 static const char *device_node_name_for_depth(const struct device_node *np, int depth) in device_node_name_for_depth() argument
1528 for ( ; np && depth; depth--) in device_node_name_for_depth()
1537 int depth; in device_node_gen_full_name() local
1548 for (depth = 0; parent->parent; depth++) in device_node_gen_full_name()
1551 for ( ; depth >= 0; depth--) { in device_node_gen_full_name()
1553 buf = string(buf, end, device_node_name_for_depth(np, depth), in device_node_gen_full_name()
/lib/zlib_deflate/
Ddeftree.c361 #define smaller(tree, n, m, depth) \ argument
363 (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m]))
382 smaller(tree, s->heap[j+1], s->heap[j], s->depth)) { in pqdownheap()
386 if (smaller(tree, v, s->heap[j], s->depth)) break; in pqdownheap()
559 s->depth[n] = 0; in build_tree()
573 s->depth[node] = 0; in build_tree()
597 s->depth[node] = (uch) (max(s->depth[n], s->depth[m]) + 1); in build_tree()
Ddefutil.h186 uch depth[2*L_CODES+1]; member
/lib/zstd/
Dcompress.c1897 …y_generic(ZSTD_CCtx *ctx, const void *src, size_t srcSize, const U32 searchMethod, const U32 depth) in ZSTD_compressBlock_lazy_generic() argument
1935 if (depth == 0) in ZSTD_compressBlock_lazy_generic()
1953 if (depth >= 1) in ZSTD_compressBlock_lazy_generic()
1975 if ((depth == 2) && (ip < ilimit)) { in ZSTD_compressBlock_lazy_generic()
2058 …t_generic(ZSTD_CCtx *ctx, const void *src, size_t srcSize, const U32 searchMethod, const U32 depth) in ZSTD_compressBlock_lazy_extDict_generic() argument
2104 if (depth == 0) in ZSTD_compressBlock_lazy_extDict_generic()
2123 if (depth >= 1) in ZSTD_compressBlock_lazy_extDict_generic()
2159 if ((depth == 2) && (ip < ilimit)) { in ZSTD_compressBlock_lazy_extDict_generic()