Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_unwind_linux_libcdep.cc44 backtrace_frame_t *backtrace, uptr ignore_depth, uptr max_depth);
106 u32 max_depth; member
111 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
119 if (arg->stack->size == arg->max_depth) return UNWIND_STOP; in Unwind_Trace()
123 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { in SlowUnwindStack() argument
124 CHECK_GE(max_depth, 2); in SlowUnwindStack()
126 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in SlowUnwindStack()
143 u32 max_depth) { in SlowUnwindStackWithContext() argument
144 CHECK_GE(max_depth, 2); in SlowUnwindStackWithContext()
146 SlowUnwindStack(pc, max_depth); in SlowUnwindStackWithContext()
[all …]
H A Dsanitizer_symbolizer_markup.cc108 u32 max_depth; member
113 CHECK_LT(arg->stack->size, arg->max_depth); in Unwind_Trace()
117 return (arg->stack->size == arg->max_depth ? _URC_NORMAL_STOP in Unwind_Trace()
121 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { in SlowUnwindStack() argument
122 CHECK_GE(max_depth, 2); in SlowUnwindStack()
124 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in SlowUnwindStack()
137 u32 max_depth) { in SlowUnwindStackWithContext() argument
H A Dsanitizer_unwind_win.cc28 void BufferedStackTrace::SlowUnwindStack(uptr pc, u32 max_depth) { in SlowUnwindStack() argument
29 CHECK_GE(max_depth, 2); in SlowUnwindStack()
33 size = CaptureStackBackTrace(1, Min(max_depth, kStackTraceMax), in SlowUnwindStack()
44 u32 max_depth) { in SlowUnwindStackWithContext() argument
69 size < Min(max_depth, kStackTraceMax)) { in SlowUnwindStackWithContext()
H A Dsanitizer_stacktrace_libcdep.cc58 void BufferedStackTrace::Unwind(u32 max_depth, uptr pc, uptr bp, void *context, in Unwind() argument
61 top_frame_bp = (max_depth > 0) ? bp : 0; in Unwind()
63 if (max_depth == 0) { in Unwind()
67 if (max_depth == 1) { in Unwind()
75 SlowUnwindStackWithContext(pc, context, max_depth); in Unwind()
77 SlowUnwindStack(pc, max_depth); in Unwind()
82 FastUnwindStack(pc, bp, stack_top, stack_bottom, max_depth); in Unwind()
H A Dsanitizer_stacktrace_sparc.cc26 uptr stack_bottom, u32 max_depth) { in FastUnwindStack() argument
28 CHECK_GE(max_depth, 2); in FastUnwindStack()
41 size < max_depth) { in FastUnwindStack()
H A Dsanitizer_stacktrace.h100 void Unwind(u32 max_depth, uptr pc, uptr bp, void *context, uptr stack_top,
110 u32 max_depth);
111 void SlowUnwindStack(uptr pc, u32 max_depth);
113 u32 max_depth);
H A Dsanitizer_stacktrace.cc72 uptr stack_bottom, u32 max_depth) { in FastUnwindStack() argument
74 CHECK_GE(max_depth, 2); in FastUnwindStack()
85 size < max_depth) { in FastUnwindStack()
/freebsd-12.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-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_stack.h34 void GetStackTrace(BufferedStackTrace *stack, uptr max_depth, uptr pc, uptr bp, in GetStackTrace() argument
37 stack->Unwind(max_depth, pc, bp, context, 0, 0, fast); in GetStackTrace()
47 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, in GetStackTrace()
52 stack->Unwind(max_depth, pc, bp, context, 0, 0, false); in GetStackTrace()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Interpreter/
H A DOptionGroupValueObjectDisplay.cpp108 if (option_arg.getAsInteger(0, max_depth)) { in SetOptionValue()
109 max_depth = UINT32_MAX; in SetOptionValue()
171 max_depth = UINT32_MAX; in OptionParsingStarting()
199 options.SetMaximumDepth(max_depth) in GetAsDumpOptions()
/freebsd-12.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-12.1/contrib/llvm/tools/lldb/include/lldb/Interpreter/
H A DOptionGroupValueObjectDisplay.h38 flat_output || use_objc || max_depth != UINT32_MAX || in AnyOptionWasSet()
53 uint32_t max_depth; variable
/freebsd-12.1/contrib/compiler-rt/lib/lsan/
H A Dlsan.h49 __sanitizer::uptr max_depth, __sanitizer::uptr pc, in GetStackTrace() argument
58 stack->Unwind(max_depth, pc, bp, context, stack_top, stack_bottom, fast); in GetStackTrace()
/freebsd-12.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-12.1/sys/dev/bce/
H A Dif_bce.c10334 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10343 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10352 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10361 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10370 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10379 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10388 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10397 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10406 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
10415 cmd, ctl, cur_depth, max_depth, valid_cnt); in bce_dump_ftqs()
[all …]
/freebsd-12.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()
/freebsd-12.1/contrib/gcc/
H A Dipa-inline.c576 int max_depth = PARAM_VALUE (PARAM_MAX_INLINE_RECURSIVE_DEPTH_AUTO); in cgraph_decide_recursive_inlining() local
587 max_depth = PARAM_VALUE (PARAM_MAX_INLINE_RECURSIVE_DEPTH); in cgraph_decide_recursive_inlining()
591 if (!max_depth in cgraph_decide_recursive_inlining()
627 if (depth > max_depth) in cgraph_decide_recursive_inlining()
/freebsd-12.1/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()
4210 for (depth = 0; depth < vdd->max_depth; depth++) { in calculate_path_table_size()
5487 depth + 2 < iso9660->primary.max_depth) || in isoent_setup_file_location()
6591 depth + 1 < vdd->max_depth) { in isoent_traverse_tree()
6963 int max_depth) in isoent_alloc_path_table() argument
6967 vdd->max_depth = max_depth; in isoent_alloc_path_table()
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/ubsan/
H A Dubsan_diag.cc30 void __ubsan::GetStackTrace(BufferedStackTrace *stack, uptr max_depth, uptr pc, in GetStackTrace() argument
36 stack->Unwind(max_depth, pc, bp, context, top, bottom, fast); in GetStackTrace()
H A Dubsan_diag.h238 void GetStackTrace(BufferedStackTrace *stack, uptr max_depth, uptr pc, uptr bp,
/freebsd-12.1/sys/dev/acpica/
H A Dacpi_if.m144 # int max_depth: number of levels to traverse (i.e., 1 means just the
156 int max_depth;
/freebsd-12.1/contrib/ofed/opensm/opensm/
H A Dosm_mcast_mgr.c749 uint8_t max_depth = 0; in mcast_mgr_build_spanning_tree() local
805 &max_depth); in mcast_mgr_build_spanning_tree()
809 mbox->mlid, num_ports, max_depth); in mcast_mgr_build_spanning_tree()
/freebsd-12.1/contrib/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc453 virtual std::string CurrentStackTrace(int max_depth, int skip_count) { in CurrentStackTrace()
454 return (testing::Message() << max_depth << "::" << skip_count << "\n") in CurrentStackTrace()

12