Home
last modified time | relevance | path

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

123

/xnu-11215/tests/
H A Dvm_test_mach_map.c198 depth = 1; in test_memory_entry_tagging()
203 &depth, in test_memory_entry_tagging()
1200 depth = 99;
1205 &depth,
1223 depth = 99;
1228 &depth,
1301 depth = 99;
1306 &depth,
1371 depth = 99;
1376 &depth,
[all …]
H A Dposix_spawn_alt_rosetta_helper.c13 unsigned depth = 1; in main() local
23 …err = vm_region_recurse_64(mach_task_self(), &address, &size, &depth, (vm_region_info_t)&info, &co… in main()
H A Dpriority_queue.cpp55 dump_pqueue_entry(priority_queue_entry_sched_t e, int depth) in dump_pqueue_entry() argument
59 printf("%*s [%02d] %p\n", depth * 4, "", e->key, (void *)e); in dump_pqueue_entry()
62 dump_pqueue_entry(t, depth + 1); in dump_pqueue_entry()
66 dump_pqueue_entry(e, depth); in dump_pqueue_entry()
/xnu-11215/bsd/dev/arm64/
H A Ddtrace_isa.c472 int depth = 0; in dtrace_getpcstack() local
480 if (intrpc != NULL && depth < pcstack_limit) { in dtrace_getpcstack()
481 pcstack[depth++] = (pc_t) intrpc; in dtrace_getpcstack()
484 while (depth < pcstack_limit) { in dtrace_getpcstack()
543 ASSERT(depth < pcstack_limit); in dtrace_getpcstack()
544 pcstack[depth++] = (pc_t) caller; in dtrace_getpcstack()
548 if (depth < pcstack_limit) { in dtrace_getpcstack()
549 pcstack[depth++] = (pc_t) pc; in dtrace_getpcstack()
554 while (depth < pcstack_limit) { in dtrace_getpcstack()
555 pcstack[depth++] = (pc_t) NULL; in dtrace_getpcstack()
/xnu-11215/osfmk/kperf/
H A Daction.c609 kperf_ast_set_callstack_depth(thread_t thread, uint32_t depth) in kperf_ast_set_callstack_depth() argument
613 if (existing_depth < depth) { in kperf_ast_set_callstack_depth()
615 ast |= T_KPERF_SET_CALLSTACK_DEPTH(depth); in kperf_ast_set_callstack_depth()
805 kperf_action_set_ucallstack_depth(unsigned action_id, uint32_t depth) in kperf_action_set_ucallstack_depth() argument
811 if (depth > MAX_UCALLSTACK_FRAMES) { in kperf_action_set_ucallstack_depth()
814 if (depth < 2) { in kperf_action_set_ucallstack_depth()
818 actionv[action_id - 1].ucallstack_depth = depth; in kperf_action_set_ucallstack_depth()
824 kperf_action_set_kcallstack_depth(unsigned action_id, uint32_t depth) in kperf_action_set_kcallstack_depth() argument
830 if (depth > MAX_KCALLSTACK_FRAMES) { in kperf_action_set_kcallstack_depth()
833 if (depth < 1) { in kperf_action_set_kcallstack_depth()
[all …]
H A Daction.h131 int kperf_action_set_ucallstack_depth(unsigned int actionid, uint32_t depth);
133 int kperf_action_set_kcallstack_depth(unsigned int actionid, uint32_t depth);
H A Dast.h38 void kperf_ast_set_callstack_depth(thread_t thread, uint32_t depth);
H A Dcallstack.h83 int kperf_ucallstack_pend(struct kperf_context *, uint32_t depth,
/xnu-11215/iokit/Kernel/
H A DIODMAEventSource.cpp168 IODMAEventSource::setFIFODepth(IOByteCount depth) in setFIFODepth() argument
174 return dmaController->setFIFODepth(dmaIndex, depth); in setFIFODepth()
179 IODMAEventSource::validFIFODepth(IOByteCount depth, IODirection direction) in validFIFODepth() argument
185 return dmaController->validFIFODepth(dmaIndex, depth, direction); in validFIFODepth()
/xnu-11215/bsd/dev/i386/
H A Ddtrace_isa.c832 int depth = 0; in dtrace_getpcstack() local
847 if (intrpc != NULL && depth < pcstack_limit) in dtrace_getpcstack()
848 pcstack[depth++] = (pc_t)intrpc; in dtrace_getpcstack()
850 while (depth < pcstack_limit) { in dtrace_getpcstack()
881 ASSERT(depth < pcstack_limit); in dtrace_getpcstack()
882 pcstack[depth++] = (pc_t)caller; in dtrace_getpcstack()
886 if (depth < pcstack_limit) in dtrace_getpcstack()
887 pcstack[depth++] = (pc_t)pc; in dtrace_getpcstack()
891 while (depth < pcstack_limit) in dtrace_getpcstack()
892 pcstack[depth++] = 0; in dtrace_getpcstack()
/xnu-11215/tools/
H A Dcred_dump_backtraces.c24 int depth; member
72 for (j = 0; j < btp->depth; j++) { in main()
/xnu-11215/libkern/zlib/
H A Dtrees.c476 #define smaller(tree, n, m, depth) \ argument
478 (tree[n].Freq == tree[m].Freq && depth[n] <= depth[m]))
497 smaller(tree, s->heap[j+1], s->heap[j], s->depth)) { in pqdownheap()
501 if (smaller(tree, v, s->heap[j], s->depth)) break; in pqdownheap()
678 s->depth[n] = 0; in build_tree()
692 s->depth[node] = 0; in build_tree()
716 s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ? in build_tree()
717 s->depth[n] : s->depth[m]) + 1); in build_tree()
/xnu-11215/iokit/IOKit/
H A DIODMAController.h59 virtual IOReturn setFIFODepth(UInt32 dmaIndex, IOByteCount depth) = 0;
60 virtual IOByteCount validFIFODepth(UInt32 dmaIndex, IOByteCount depth, IODirection direction) = 0;
H A DIODMAEventSource.h67 virtual IOReturn setFIFODepth(IOByteCount depth);
68 virtual IOByteCount validFIFODepth(IOByteCount depth, IODirection direction);
/xnu-11215/tests/vm/
H A Dvm_test_linkedit_permanent.c64 natural_t depth; in find_first_read_only_mapping() local
70 depth = 0; in find_first_read_only_mapping()
75 &depth, in find_first_read_only_mapping()
H A Dvm_test_shreg_ro.c64 natural_t depth; in find_nested_read_only_mapping() local
70 depth = 1; in find_nested_read_only_mapping()
75 &depth, in find_nested_read_only_mapping()
84 if (depth == 0) { in find_nested_read_only_mapping()
/xnu-11215/bsd/kern/
H A Dmach_loader.c147 int depth,
267 int depth,
773 int depth, in parse_machfile() argument
823 if (depth > 2) { in parse_machfile()
827 depth++; in parse_machfile()
833 if (depth == 1) { in parse_machfile()
855 if (depth != 1 && depth != 3) { in parse_machfile()
878 if (depth != 2) { in parse_machfile()
1253 if (depth != 1) { in parse_machfile()
1273 if (pass == 1 && depth == 1) { in parse_machfile()
[all …]
/xnu-11215/osfmk/vm/
H A Dvm32_user.c509 uint32_t *depth, in vm32_vm_region_recurse_64() argument
520 kr = mach_vm_region_recurse(map, &addr, &size, depth, info, infoCnt); in vm32_vm_region_recurse_64()
533 natural_t *depth, /* IN/OUT */ in vm32_vm_region_recurse() argument
554 depth, (vm_region_recurse_info_t)&info64, infoCnt); in vm32_vm_region_recurse()
H A Dvm_user.c1435 uint32_t *depth, in mach_vm_region_recurse() argument
1443 return vm_map_region_recurse_64(map, address_u, size_u, depth, in mach_vm_region_recurse()
1457 uint32_t *depth, in vm_region_recurse_64() argument
1463 kr = mach_vm_region_recurse(map, address_u, size_u, depth, in vm_region_recurse_64()
1474 natural_t *depth, /* IN/OUT */ in vm_region_recurse() argument
1490 depth, &info64, infoCnt); in vm_region_recurse()
/xnu-11215/bsd/net/pktsched/
H A Dpktsched_cbq.h123 u_int32_t depth; member
/xnu-11215/tests/ktrace/
H A Dkperf_backtracing_tests.c472 recurse_spin(dispatch_semaphore_t notify_sema, int depth) in recurse_spin() argument
474 if (depth > 0) { in recurse_spin()
475 recurse_spin(notify_sema, depth - 1); in recurse_spin()
/xnu-11215/tools/lldbmacros/
H A Dxnu.py1504 def IterateSysctls(root_oid, prefix="", depth = 0, parent = ""): argument
1513 yield pp, depth, parent
1515 yield pp, depth, parent
1528 …x in IterateSysctls(Cast(pp.oid_arg1, "struct sysctl_oid_list *"), prefix, depth + 1, next_parent):
1547 … for sysctl, depth, parentstr in IterateSysctls(kern.globals.sysctl__children, _ShowSysctl_prefix):
1551 …st = (" " * depth * 2) + str(sysctl.GetSBValue().Dereference()).replace("\n", "\n" + (" " * depth
1587 for sysctl, depth, parentstr in IterateSysctls(kern.globals.sysctl__children):
/xnu-11215/bsd/net/classq/
H A Dclassq_subr.c201 { .rate = 0, .percent = 0, .depth = 0 }; in ifclassq_teardown()
756 "enabled", rate, profile->depth); in ifclassq_tbr_set()
795 tbr->tbr_depth = TBR_SCALE(profile->depth); in ifclassq_tbr_set()
804 tbr->tbr_depth = TBR_SCALE(profile->depth); in ifclassq_tbr_set()
/xnu-11215/osfmk/ipc/
H A Dipc_importance.c272 unsigned int depth) in ipc_importance_inherit_find() argument
283 if (inherit->iii_to_task == to_task && inherit->iii_depth == depth) { in ipc_importance_inherit_find()
2719 uint32_t depth = 1; in ipc_importance_inherit_from_kmsg() local
2772 depth = III_DEPTH_RESET | 1; in ipc_importance_inherit_from_kmsg()
2783 depth = from_inherit->iii_depth + 1; in ipc_importance_inherit_from_kmsg()
2812 inherit = ipc_importance_inherit_find(from_elem, task_imp, depth); in ipc_importance_inherit_from_kmsg()
2863 inherit->iii_depth = depth; in ipc_importance_inherit_from_kmsg()
2986 uint32_t depth = 1; in ipc_importance_inherit_from_task() local
3020 inherit = ipc_importance_inherit_find(from_elem, to_task_imp, depth); in ipc_importance_inherit_from_task()
3068 inherit->iii_depth = depth; in ipc_importance_inherit_from_task()
/xnu-11215/libkern/c++/
H A DOSMetaClass.cpp900 unsigned int depth = 1; in postModLoad() local
902 depth++; in postModLoad()
904 if (depth > sDeepestClass) { in postModLoad()
905 sDeepestClass = depth; in postModLoad()

123