Home
last modified time | relevance | path

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

12

/freebsd-13.1/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()
151 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { in UnwindSlow() argument
153 CHECK_GE(max_depth, 2); in UnwindSlow()
155 UnwindSlow(pc, max_depth); in UnwindSlow()
[all …]
H A Dsanitizer_stacktrace.h122 u32 max_depth = kStackTraceMax) {
123 top_frame_bp = (max_depth > 0) ? bp : 0;
125 if (max_depth <= 1) {
126 if (max_depth == 1)
128 size = max_depth;
131 UnwindImpl(pc, bp, context, request_fast, max_depth);
134 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
145 u32 max_depth);
149 u32 max_depth);
150 void UnwindSlow(uptr pc, u32 max_depth);
[all …]
H A Dsanitizer_symbolizer_markup.cpp115 u32 max_depth; member
120 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
124 return (arg->stack->size == arg->max_depth ? _URC_NORMAL_STOP in Unwind_Trace()
128 void BufferedStackTrace::UnwindSlow(uptr pc, u32 max_depth) { in UnwindSlow() argument
129 CHECK_GE(max_depth, 2); in UnwindSlow()
131 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in UnwindSlow()
143 void BufferedStackTrace::UnwindSlow(uptr pc, void *context, u32 max_depth) { in UnwindSlow() argument
145 CHECK_GE(max_depth, 2); in UnwindSlow()
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()
77 size < Min(max_depth, kStackTraceMax)) { in UnwindSlow()
H A Dsanitizer_stacktrace_libcdep.cpp136 void BufferedStackTrace::Unwind(u32 max_depth, uptr pc, uptr bp, void *context, in Unwind() argument
141 top_frame_bp = (max_depth > 0) ? bp : 0; in Unwind()
143 if (max_depth == 0) { in Unwind()
147 if (max_depth == 1) { in Unwind()
155 UnwindSlow(pc, context, max_depth); in Unwind()
157 UnwindSlow(pc, max_depth); in Unwind()
160 if (size > 2 || size >= max_depth) in Unwind()
166 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()
66 size < max_depth) { in UnwindFast()
H A Dsanitizer_stacktrace.cpp96 uptr stack_bottom, u32 max_depth) { in UnwindFast() argument
98 CHECK_GE(max_depth, 2); in UnwindFast()
110 size < max_depth) { in UnwindFast()
/freebsd-13.1/sys/contrib/octeon-sdk/
H A Dcvmx-cmd-queue.c143 cvmx_cmd_queue_result_t cvmx_cmd_queue_initialize(cvmx_cmd_queue_id_t queue_id, int max_depth, int … in cvmx_cmd_queue_initialize() argument
157 if ((max_depth < 0) || (max_depth > 1<<20)) in cvmx_cmd_queue_initialize()
160 else if (max_depth != 0) in cvmx_cmd_queue_initialize()
171 if (max_depth != (int)qstate->max_depth) in cvmx_cmd_queue_initialize()
173 …e_initialize: Queue already initialized with different max_depth (%d).\n", (int)qstate->max_depth); in cvmx_cmd_queue_initialize()
208 qstate->max_depth = max_depth; in cvmx_cmd_queue_initialize()
H A Dcvmx-cmd-queue.h155 uint32_t max_depth; /**< Maximum outstanding command words */ member
191 cvmx_cmd_queue_result_t cvmx_cmd_queue_initialize(cvmx_cmd_queue_id_t queue_id, int max_depth, int …
365 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && cvmx_unlikely(qptr->max_depth)) in cvmx_cmd_queue_write()
367 if (cvmx_unlikely(cvmx_cmd_queue_length(queue_id) > (int)qptr->max_depth)) in cvmx_cmd_queue_write()
452 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && cvmx_unlikely(qptr->max_depth)) in cvmx_cmd_queue_write2()
454 if (cvmx_unlikely(cvmx_cmd_queue_length(queue_id) > (int)qptr->max_depth)) in cvmx_cmd_queue_write2()
542 if (CVMX_CMD_QUEUE_ENABLE_MAX_DEPTH && cvmx_unlikely(qptr->max_depth)) in cvmx_cmd_queue_write3()
544 if (cvmx_unlikely(cvmx_cmd_queue_length(queue_id) > (int)qptr->max_depth)) in cvmx_cmd_queue_write3()
/freebsd-13.1/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-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_stack.cpp57 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
69 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), in UnwindImpl()
77 Unwind(max_depth, pc, bp, context, t ? t->stack_top() : 0, in UnwindImpl()
/freebsd-13.1/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-13.1/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()
165 max_depth = UINT32_MAX; in OptionParsingStarting()
193 options.SetMaximumDepth(max_depth) in GetAsDumpOptions()
/freebsd-13.1/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.cpp41 void ubsan_GetStackTrace(BufferedStackTrace *stack, uptr max_depth,
H A Dubsan_diag.cpp35 void ubsan_GetStackTrace(BufferedStackTrace *stack, uptr max_depth, in ubsan_GetStackTrace() argument
41 stack->Unwind(max_depth, pc, bp, nullptr, top, bottom, true); in ubsan_GetStackTrace()
43 stack->Unwind(max_depth, pc, bp, context, 0, 0, false); in ubsan_GetStackTrace()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionGroupValueObjectDisplay.h34 flat_output || use_objc || max_depth != UINT32_MAX || in AnyOptionWasSet()
49 uint32_t max_depth; variable
/freebsd-13.1/contrib/ntp/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-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_stack_trace.cpp54 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
59 Unwind(max_depth, pc, bp, context, top, bottom, fast); in UnwindImpl()
/freebsd-13.1/contrib/unbound/edns-subnet/
H A Daddrtree.h76 addrlen_t max_depth; member
139 addrtree_create(addrlen_t max_depth, void (*delfunc)(void *, void *),
H A Daddrtree.c121 addrtree_create(addrlen_t max_depth, void (*delfunc)(void *, void *), in addrtree_create() argument
138 tree->max_depth = max_depth; in addrtree_create()
372 if (tree->max_depth < scope) scope = tree->max_depth; in addrtree_insert()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan.cpp35 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
45 Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, fast); in UnwindImpl()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan.cpp305 uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth) { in UnwindImpl() argument
311 return Unwind(max_depth, pc, bp, context, t ? t->stack_top() : 0, in UnwindImpl()
315 Unwind(max_depth, pc, bp, nullptr, t->stack_top(), t->stack_bottom(), true); in UnwindImpl()
317 Unwind(max_depth, pc, 0, context, 0, 0, false); in UnwindImpl()
/freebsd-13.1/sys/dev/bce/
H A Dif_bce.c10151 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10160 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10169 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10178 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10187 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10196 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10205 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10214 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10223 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10232 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
[all …]
/freebsd-13.1/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()

12