Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 191) sorted by relevance

12345678

/xnu-11215/tools/lldbmacros/kmemory/
H A Dkmem.py31 def __init__(self, target, param_var): argument
88 def __init__(self, target): argument
89 self.target = target
185 def get_shared(target=None): argument
190 arch = target.triple[:target.triple.find('-')]
195 return _KMemARM64(target)
197 return _KMemX86(target)
251 def __init__(self, target): argument
252 super().__init__(target)
290 def __init__(self, target): argument
[all …]
H A Dbtlog.py40 target = library.target
74 target = self.sbv.target
108 def __init__(self, target): argument
109 self.target = target
126 def get_shared(target=None): argument
129 return BTLibrary(target)
261 target = self.sbv.target
272 target.xReadBytes(arr.GetLoadAddress(), count * tysz)
301 target = self.sbv.target
320 target.xCreateValueFromAddress(
[all …]
H A Dzone.py131 target = kmem.target
135 for pc in target.xIterAsInt32(
370 target = self.kmem.target
558 def get_zone_name(zid, target=None): argument
630 def elem_redzone(self, target=None): argument
638 def elem_inner_size(self, target=None): argument
644 def elem_outer_size(self, target=None): argument
658 def chunk_pages(self, target=None): argument
664 def chunk_elems(self, target=None): argument
734 target = kmem.target
[all …]
H A Dwhatis.py71 def __init__(self, target): argument
72 self._children = list(cls(target) for cls in self.__class__.subproviders)
74 self.target = target
78 def get_shared(target=None): argument
79 return WhatisProvider(target)
/xnu-11215/osfmk/kern/
H A Dextmod_statistics.c73 extmod_statistics_incr_task_for_pid(task_t target) in extmod_statistics_incr_task_for_pid() argument
77 if ((ctask == kernel_task) || (target == TASK_NULL)) { in extmod_statistics_incr_task_for_pid()
81 if (target != ctask) { in extmod_statistics_incr_task_for_pid()
83 target->extmod_statistics.task_for_pid_count++; in extmod_statistics_incr_task_for_pid()
98 ttask = get_threadtask(target); in extmod_statistics_incr_thread_set_state()
112 extmod_statistics_incr_thread_create(task_t target) in extmod_statistics_incr_thread_create() argument
116 if ((ctask == kernel_task) || (target == TASK_NULL)) { in extmod_statistics_incr_thread_create()
120 if (target != ctask) { in extmod_statistics_incr_thread_create()
122 target->extmod_statistics.thread_creation_count++; in extmod_statistics_incr_thread_create()
125 extmod_statistics_log(ctask, target); in extmod_statistics_incr_thread_create()
[all …]
H A Dthread_act.c901 thread_t target) in thread_dup() argument
906 if (target == THREAD_NULL || target == self) { in thread_dup()
910 thread_mtx_lock(target); in thread_dup()
912 if (target->active) { in thread_dup()
913 thread_hold(target); in thread_dup()
924 thread_unstop(target); in thread_dup()
930 thread_release(target); in thread_dup()
944 thread_t target) in thread_dup2() argument
949 if (source == THREAD_NULL || target == THREAD_NULL || target == source) { in thread_dup2()
963 if (target->active || target->inspection) { in thread_dup2()
[all …]
/xnu-11215/libsyscall/mach/
H A Dmach_vm.c48 mach_port_name_t target, in mach_vm_allocate() argument
71 mach_port_name_t target, in mach_vm_deallocate() argument
162 mach_port_name_t target, in mach_vm_map() argument
198 mach_port_name_t target, in mach_vm_remap() argument
227 mach_port_name_t target, in mach_vm_remap_new() argument
257 mach_port_name_t target, in mach_vm_read() argument
279 mach_port_name_t target, in vm_map() argument
307 mach_port_name_t target, in vm_remap() argument
336 mach_port_name_t target, in vm_remap_new() argument
366 mach_port_name_t target, in vm_read() argument
[all …]
/xnu-11215/iokit/Kernel/
H A DIOCPU.cpp104 IOCPU *targetCPU = (IOCPU *)target; in PE_cpu_start_internal()
113 PE_cpu_halt(cpu_id_t target) in PE_cpu_halt() argument
193 IOCPU *targetCPU = (IOCPU*)target; in PE_cpu_machine_quiesce()
216 IOCPU *targetCPU = (IOCPU*)target; in PE_cpu_perfmon_interrupt_enable()
263 IOCPU *target; in IOCPUSleepKernel() local
301 bootCPU = target; in IOCPUSleepKernel()
304 currentShutdownTarget = target; in IOCPUSleepKernel()
306 target->haltCPU(); in IOCPUSleepKernel()
519 signalCPU(target); in signalCPUDeferred()
701 void *target, in registerInterrupt() argument
[all …]
/xnu-11215/tools/lldbmacros/core/
H A Dkernelcore.py364 target = LazyTarget.GetTarget()
427 target = LazyTarget.GetTarget()
536 def zones(self, target=None): argument
551 target = LazyTarget.GetTarget()
560 def tasks(self, target=None): argument
569 target = LazyTarget.GetTarget()
578 target = LazyTarget.GetTarget()
588 target = LazyTarget.GetTarget()
598 target = LazyTarget.GetTarget()
608 target = LazyTarget.GetTarget()
[all …]
H A Dcaching.py273 target = exe_ctx.GetTarget()
277 process = target.GetProcess()
280 target = bpoint.GetTarget()
281 process = target.GetProcess()
284 target = process.GetTarget()
286 target = lldbwrap.SBTarget(arg)
287 process = target.GetProcess()
292 self.target = target
303 _implicit_target = self.target
315 target, process, exe_id = self.old_ctx
[all …]
/xnu-11215/osfmk/mach/
H A Dmach_traps.h166 mach_port_name_t target,
172 mach_port_name_t target,
183 mach_port_name_t target,
191 mach_port_name_t target,
200 mach_port_name_t target,
206 mach_port_name_t target,
212 mach_port_name_t target,
217 mach_port_name_t target,
224 mach_port_name_t target,
230 mach_port_name_t target,
[all …]
/xnu-11215/pexpert/i386/
H A Dpe_interrupt.c42 void *target; member
61 void *, vector->target, IOInterruptHandler, vector->handler, in PE_incoming_interrupt()
65 vector->handler(vector->target, NULL, vector->nub, interrupt); in PE_incoming_interrupt()
69 void *, vector->target, IOInterruptHandler, vector->handler, in PE_incoming_interrupt()
77 void *target, in PE_install_interrupt_handler() argument
88 vector->target = target; in PE_install_interrupt_handler()
/xnu-11215/tools/lldbmacros/
H A Dkext.py116 def sbsec_contains(target, sbsections, addr): argument
121 if s.GetLoadAddress(target) <= addr < s.GetLoadAddress(target) + s.GetByteSize()
165 return list(IterateKextSummaries(target))
626 self.target = kmem.target
637 target = self.target
684 self.target = kmem.target
691 target = self.target
729 target = self.target
730 mainmod = target.GetModuleAtIndex(0)
744 target = self.target
[all …]
/xnu-11215/iokit/Kernel/arm/
H A DAppleARMSMP.cpp265 PE_cpu_start_from_kext(cpu_id_t target, in PE_cpu_start_from_kext() argument
274 PE_cpu_start_internal(cpu_id_t target, in PE_cpu_start_internal() argument
277 unsigned int cpu_id = target_to_cpu_id(target); in PE_cpu_start_internal()
295 unsigned int cpu_id = target_to_cpu_id(target); in PE_cpu_machine_init()
306 PE_cpu_signal(target, target); in PE_cpu_machine_init()
326 PE_cpu_halt(cpu_id_t target) in PE_cpu_halt() argument
332 PE_cpu_signal(cpu_id_t /*source*/, cpu_id_t target) in PE_cpu_signal() argument
366 PE_cpu_machine_quiesce(cpu_id_t target) in PE_cpu_machine_quiesce() argument
368 unsigned int cpu_id = target_to_cpu_id(target); in PE_cpu_machine_quiesce()
398 PE_cpu_down(cpu_id_t target) in PE_cpu_down() argument
[all …]
/xnu-11215/osfmk/arm/
H A Dlocks_arm.c127 load_exclusive32(uint32_t *target, enum memory_order ord) in load_exclusive32() argument
132 value = __builtin_arm_ldaex(target); // ldaxr in load_exclusive32()
134 value = __builtin_arm_ldrex(target); // ldxr in load_exclusive32()
141 store_exclusive32(uint32_t *target, uint32_t value, enum memory_order ord) in store_exclusive32() argument
146 err = __builtin_arm_stlex(value, target); // stlxr in store_exclusive32()
148 err = __builtin_arm_strex(value, target); // stxr in store_exclusive32()
155 atomic_exchange_begin32(uint32_t *target, uint32_t *previous, enum memory_order ord) in atomic_exchange_begin32() argument
162 val = load_exclusive32(target, ord); in atomic_exchange_begin32()
174 return store_exclusive32(target, newval, ord); in atomic_exchange_complete32()
190 value = atomic_exchange_begin32(target, &prev, ord); in atomic_test_and_set32()
[all …]
/xnu-11215/pexpert/pexpert/
H A Dpexpert.h239 void *target, IOInterruptHandler handler, void *refCon);
387 cpu_id_t target,
392 cpu_id_t target,
399 cpu_id_t target,
405 cpu_id_t target);
408 cpu_id_t target);
412 cpu_id_t target);
416 cpu_id_t target);
420 cpu_id_t target);
423 cpu_id_t target,
[all …]
/xnu-11215/libkern/kxld/
H A Dkxld_reloc.c352 reloc->target -= 1; in kxld_reloc_create_macho()
767 kxld_addr_t target = 0; in kxld_relocator_process_sect_reloc() local
904 rval = get_target_by_address_lookup(&target, reloc->target, in calculate_targets()
986 *_target = target; in calculate_targets()
1009 check(target); in get_target_by_address_lookup()
1011 *target = 0; in get_target_by_address_lookup()
1260 target = target + base_pc - link_pc; in generic_process_reloc()
1277 instr_data += target; in generic_process_reloc()
1483 instr64 += target; in x86_64_process_reloc()
1612 instr_data += target; in arm_process_reloc()
[all …]
/xnu-11215/tools/lldbmacros/tests/lldbtest/
H A Dtestcase.py72 return self.target.GetProcess()
81 def target(self): member in LLDBTestCase
130 target = lldb.debugger.GetSelectedTarget()
131 version = target.FindGlobalVariables('version', 1).GetValueAtIndex(0)
133 addr = target.ResolveLoadAddress(version.AddressOf().GetLoadAddress())
136 verstr = target.ReadMemory(addr, version.GetByteSize(), err)
150 target = lldb.debugger.GetSelectedTarget()
153 for m in target.module_iter()
/xnu-11215/EXTERNAL_HEADERS/mach-o/
H A Dfixup-chains.h111 uint64_t target : 43, member
132 uint64_t target : 32, // runtimeOffset member
157 …uint64_t target : 36, // 64GB max image size (DYLD_CHAINED_PTR_64 => vmAddr, DYLD_CHAINED… member
203 uint64_t target : 30, // basePointers[cacheLevel] + target member
219 uint32_t target : 26, // vmaddr, 64MB max image size member
236 uint32_t target : 30, // 1GB max dyld cache TEXT and DATA member
244 uint32_t target : 26, // 64MB max firmware TEXT and DATA member
/xnu-11215/tests/vm/
H A Dvm_ranges.c167 mach_vm_address_t target = dst; in assert_allocate_eq() local
172 T_EXPECT_EQ(target, dst, "target/dst differ"); in assert_allocate_eq()
373 mach_vm_address_t target = range.min_address - ALLOCATION_SIZE; variable
397 mach_vm_address_t target = range.max_address + 0x100000000; variable
431 mach_vm_address_t target = addr + ALLOCATION_SIZE; variable
448 mach_vm_address_t target = addr + ALLOCATION_SIZE; variable
454 assert_in_heap_range(target);
466 mach_vm_address_t target = 0; variable
472 assert_in_heap_range(target);
661 mach_vm_address_t const target = ti.max_address + PAGE_SIZE; variable
[all …]
/xnu-11215/bsd/vfs/
H A Dvfs_fslog.c61 fslog_extmod_msgtracer(__unused proc_t caller, __unused proc_t target) in fslog_extmod_msgtracer() argument
64 if ((caller != PROC_NULL) && (target != PROC_NULL)) { in fslog_extmod_msgtracer()
83 strlcpy(t_name, target->p_comm, sizeof(t_name)); in fslog_extmod_msgtracer()
84 uuid_unparse_upper(proc_executableuuid_addr(target), uuidstr); in fslog_extmod_msgtracer()
96 proc_pid(target)); in fslog_extmod_msgtracer()
/xnu-11215/security/
H A Dmac_mach.c166 mac_task_check_get_task_special_port(struct task *task, struct task *target, int which) in mac_task_check_get_task_special_port() argument
176 if (!task_is_a_corpse(target)) { in mac_task_check_get_task_special_port()
178 target_proc = mac_task_get_proc(target); in mac_task_check_get_task_special_port()
195 mac_task_check_set_task_special_port(struct task *task, struct task *target, int which, struct ipc_… in mac_task_check_set_task_special_port() argument
203 if (task_is_a_corpse(target)) { in mac_task_check_set_task_special_port()
207 struct proc *targetp = mac_task_get_proc(target); in mac_task_check_set_task_special_port()
222 mac_task_check_set_task_exception_ports(struct task *task, struct task *target, unsigned int except… in mac_task_check_set_task_exception_ports() argument
232 if (task_is_a_corpse(target)) { in mac_task_check_set_task_exception_ports()
236 struct proc *targetp = mac_task_get_proc(target); in mac_task_check_set_task_exception_ports()
268 if (task_is_a_corpse(target)) { in mac_task_check_set_thread_exception_ports()
[all …]
/xnu-11215/osfmk/ipc/
H A Dmach_kernelrpc.c58 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_vm_allocate_trap()
79 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_vm_deallocate_trap()
92 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_vm_protect_trap()
106 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_vm_map_trap()
138 task = port_name_to_current_task_read_noref(args->target); in _kernelrpc_mach_vm_purgable_control_trap()
140 task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_vm_purgable_control_trap()
166 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_port_allocate_trap()
183 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_port_deallocate_trap()
196 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_port_mod_refs_trap()
211 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_port_move_member_trap()
[all …]
/xnu-11215/osfmk/i386/commpage/
H A Dcommpage.h88 #define COMMPAGE_CALL(target, from, start) \
89 COMMPAGE_CALL_INTERNAL(target,from,start,__LINE__)
91 #define COMMPAGE_CALL_INTERNAL(target, from, start, unique) \
93 .set UNIQUEID(unique), L ## start - . + target - from - 4 ;\
103 #define COMMPAGE_JMP(target, from, start) \
104 jmp L ## start - from + target
/xnu-11215/iokit/IOKit/
H A DIODMACommand.h133 typedef bool (*SegmentFunction)(IODMACommand *target,
143 static bool OutputHost32(IODMACommand *target,
154 static bool OutputBig32(IODMACommand *target,
165 static bool OutputLittle32(IODMACommand *target,
176 static bool OutputHost64(IODMACommand *target,
187 static bool OutputBig64(IODMACommand *target,
198 static bool OutputLittle64(IODMACommand *target,
437 IODMACommand *target,
450 void *reference, IODMACommand *target,
455 IODMACommand *target,
[all …]

12345678