Home
last modified time | relevance | path

Searched refs:max_depth (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_unwind_linux_libcdep.cpp45 backtrace_frame_t *backtrace, uptr ignore_depth, uptr max_depth);
75 u32 max_depth; member
80 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
88 if (arg->stack->size == arg->max_depth) return UNWIND_STOP; in Unwind_Trace()
126 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { in UnwindSlow() argument
127 CHECK_GE(max_depth, 2); in UnwindSlow()
129 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in UnwindSlow()
145 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { in UnwindSlow() argument
147 CHECK_GE(max_depth, 2); in UnwindSlow()
149 UnwindSlow(pc, max_depth); in UnwindSlow()
[all …]
H A Dsanitizer_stacktrace.h121 u32 max_depth = kStackTraceMax) {
122 top_frame_bp = (max_depth > 0) ? bp : 0;
124 if (max_depth <= 1) {
125 if (max_depth == 1)
127 size = max_depth;
130 UnwindImpl(pc, bp, context, request_fast, max_depth);
133 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
144 u32 max_depth);
148 u32 max_depth);
149 void UnwindSlow(uptr pc, u32 max_depth);
[all …]
H A Dsanitizer_unwind_win.cpp27 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { in UnwindSlow() argument
28 CHECK_GE(max_depth, 2); in UnwindSlow()
32 size = CaptureStackBackTrace(1, Min(max_depth, kStackTraceMax), in UnwindSlow()
50 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { in UnwindSlow() argument
52 CHECK_GE(max_depth, 2); in UnwindSlow()
91 size < Min(max_depth, kStackTraceMax)) { in UnwindSlow()
H A Dsanitizer_stacktrace_libcdep.cpp137 void BufferedStackTrace::Unwind(u32 max_depth, uptr pc, uptr bp, void *context, in Unwind() argument
142 top_frame_bp = (max_depth > 0) ? bp : 0; in Unwind()
144 if (max_depth == 0) { in Unwind()
148 if (max_depth == 1) { in Unwind()
156 UnwindSlow(pc, context, max_depth); in Unwind()
158 UnwindSlow(pc, max_depth); in Unwind()
161 if (size > 2 || size >= max_depth) in Unwind()
167 UnwindFast(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
H A Dsanitizer_stacktrace_sparc.cpp29 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument
31 CHECK_GE(max_depth, 2); in UnwindFast()
60 size < max_depth) { in UnwindFast()
H A Dsanitizer_stacktrace.cpp98 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument
100 CHECK_GE(max_depth, 2); in UnwindFast()
112 size < max_depth) { in UnwindFast()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_stack.cpp34 u32 max_depth) { in UnwindImpl() argument
43 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), in UnwindImpl()
48 Unwind(max_depth, pc, bp, context, 0, 0, false); in UnwindImpl()
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionGroupValueObjectDisplay.cpp103 if (option_arg.getAsInteger(0, max_depth)) { in SetOptionValue()
104 max_depth = UINT32_MAX; in SetOptionValue()
167 max_depth = UINT32_MAX; in OptionParsingStarting()
181 max_depth = std::get<uint32_t>(max_depth_config); in OptionParsingStarting()
199 options.SetMaximumDepth(max_depth, max_depth_is_default) in GetAsDumpOptions()
/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/optional/
H A Dbacktrace_sanitizer_common.cpp24 u32 max_depth) { in UnwindImpl() argument
26 return Unwind(max_depth, pc, 0, context, 0, 0, false); in UnwindImpl()
32 return Unwind(max_depth, pc, bp, context, top, bottom, request_fast); in UnwindImpl()
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag_standalone.cpp20 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
25 Unwind(max_depth, pc, bp, context, top, bottom, fast); in UnwindImpl()
H A Dubsan_signals_standalone.cpp46 void ubsan_GetStackTrace(BufferedStackTrace *stack, uptr max_depth,
H A Dubsan_diag.cpp35 void ubsan_GetStackTrace(BufferedStackTrace *stack, uptr max_depth, uptr pc, in ubsan_GetStackTrace() argument
41 stack->Unwind(max_depth, pc, bp, context, top, bottom, fast); in ubsan_GetStackTrace()
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/
H A Drtsan_stack.cpp23 bool request_fast, u32 max_depth) { in UnwindImpl() argument
28 Unwind(max_depth, pc, bp, context, top, bottom, fast); in UnwindImpl()
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionGroupValueObjectDisplay.h34 flat_output || use_objc || max_depth != UINT32_MAX || in AnyOptionWasSet()
50 uint32_t max_depth; variable
/freebsd/contrib/ntp/libntp/lib/isc/
H A Dbacktrace.c93 int max_depth; member
106 if (arg->count == arg->max_depth) in btcallback()
122 arg.max_depth = maxaddrs; in isc_backtrace_gettrace()
/freebsd/sys/ddb/
H A Ddb_pprint.c46 static u_int max_depth = DB_PPRINT_DEFAULT_DEPTH; variable
104 if (depth > max_depth) { in db_pprint_struct()
290 if (depth < max_depth && (val != 0)) { in db_pprint_ptr()
430 max_depth = DB_PPRINT_DEFAULT_DEPTH; in db_pprint_cmd()
444 max_depth = db_tok_number; in db_pprint_cmd()
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_stack_trace.cpp50 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
55 Unwind(max_depth, pc, bp, context, top, bottom, fast); in UnwindImpl()
/freebsd/contrib/unbound/edns-subnet/
H A Daddrtree.h76 addrlen_t max_depth; member
143 addrtree_create(addrlen_t max_depth, void (*delfunc)(void *, void *),
H A Daddrtree.c122 addrtree_create(addrlen_t max_depth, void (*delfunc)(void *, void *), in addrtree_create() argument
139 tree->max_depth = max_depth; in addrtree_create()
374 if (tree->max_depth < scope) scope = tree->max_depth; in addrtree_insert()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan.cpp36 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
46 Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, fast); in UnwindImpl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxMap.cpp219 ValueObjectSP GetKeyValuePair(size_t idx, size_t max_depth);
280 size_t idx, size_t max_depth) { in GetKeyValuePair() argument
281 MapIterator iterator(m_root_node, max_depth); in GetKeyValuePair()
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan.cpp336 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
342 return Unwind(max_depth, pc, bp, context, t ? t->stack_top() : 0, in UnwindImpl()
346 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), true); in UnwindImpl()
348 Unwind(max_depth, pc, 0, context, 0, 0, false); in UnwindImpl()
/freebsd/sys/dev/bce/
H A Dif_bce.c10086 u32 cmd, ctl, cur_depth, max_depth, valid_cnt, val; in bce_dump_ftqs() local
10127 max_depth = (ctl & BCE_RLUP_FTQ_CTL_MAX_DEPTH) >> 12; in bce_dump_ftqs()
10130 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10136 max_depth = (ctl & BCE_RXP_FTQ_CTL_MAX_DEPTH) >> 12; in bce_dump_ftqs()
10139 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10145 max_depth = (ctl & BCE_RXP_CFTQ_CTL_MAX_DEPTH) >> 12; in bce_dump_ftqs()
10148 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10154 max_depth = (ctl & BCE_RV2P_PFTQ_CTL_MAX_DEPTH) >> 12; in bce_dump_ftqs()
10157 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10163 max_depth = (ctl & BCE_RV2P_MFTQ_CTL_MAX_DEPTH) >> 12; in bce_dump_ftqs()
[all …]
/freebsd/crypto/heimdal/lib/hx509/
H A Dcert.c63 unsigned int max_depth; member
406 c->max_depth = HX509_VERIFY_MAX_DEPTH; in hx509_verify_init_ctx()
510 hx509_verify_set_max_depth(hx509_verify_ctx ctx, unsigned int max_depth) in hx509_verify_set_max_depth() argument
512 ctx->max_depth = max_depth; in hx509_verify_set_max_depth()
1239 unsigned int max_depth, in _hx509_calculate_path() argument
1247 if (max_depth == 0) in _hx509_calculate_path()
1248 max_depth = HX509_VERIFY_MAX_DEPTH; in _hx509_calculate_path()
1269 if (path->len > max_depth) { in _hx509_calculate_path()
2016 anchors, ctx->max_depth, in hx509_verify_path()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_set_format_iso9660.c732 int max_depth; member
1072 iso9660->primary.max_depth = 0; in archive_write_set_format_iso9660()
1076 iso9660->joliet.max_depth = 0; in archive_write_set_format_iso9660()
2130 for (i = 0; i < iso9660->primary.max_depth; i++) in iso9660_free()
2136 for (i = 0; i < iso9660->joliet.max_depth; i++) in iso9660_free()
4207 for (depth = 0; depth < vdd->max_depth; depth++) { in calculate_path_table_size()
4311 for (depth = 0; depth < vdd->max_depth; depth++) { in write_path_table()
4337 !iso9660->opt.rr && depth + 1 >= vdd->max_depth)) in calculate_directory_descriptors()
4383 !iso9660->opt.rr && depth + 1 >= vdd->max_depth)) { in _write_directory_descriptors()
4452 if (np->subdirs.first != NULL && depth + 1 < vdd->max_depth) { in write_directory_descriptors()
[all …]

12