Home
last modified time | relevance | path

Searched defs:task (Results 1 – 25 of 181) sorted by relevance

12345678

/xnu-11215/osfmk/kern/
H A Dtask.h190 struct task { struct
201 bool ipc_active; /* IPC with the task ports is allowed */ argument
213 vm_map_t XNU_PTRAUTH_SIGNED_PTR("task.map") map; /* Address space description */ argument
229 struct task_suspend_stats_s t_suspend_stats; /* suspension statistics for this task */ argument
242 #define task_is_immovable(task) \ argument
307 queue_chain_t corpse_tasks; argument
311 …volatile uint32_t t_flags; /* general-purpose task flags prot… argument
448 int8_t suspends_outstanding; /* suspends this task performed in excess of resumes */ argument
479 struct bank_task *bank_context; /* pointer to per task bank structure */ argument
519 /* Statistics accumulated for terminated threads from this task */ argument
[all …]
H A Dbsd_kern.c238 get_firstthread(task_t task) in get_firstthread()
262 task_t task, in get_signalact()
312 task_t task, in check_actforsig()
597 get_task_internal(task_t task) in get_task_internal()
836 get_task_loadTag(task_t task) in get_task_loadTag()
892 task_t task) in get_task_page_size()
969 task_t task) in get_task_userstop()
983 task_t task) in get_task_pidsuspended()
990 task_t task) in get_task_frozen()
1227 get_numthreads(task_t task) in get_numthreads()
[all …]
H A Dtask.c610 task_t task, in task_set_64bit()
683 task_t task, in task_set_platform_binary()
740 task_t task, in task_set_hardened_runtime()
780 task_t task, in task_set_ca_client_wi()
839 task_t task) in task_donates_own_pages()
846 task_t task, in task_set_mach_header_address()
2339 task_t task, in task_collect_crash_info()
2698 task_t task; in task_port_with_flavor_no_senders() local
2788 task_t task, in task_duplicate_map_and_threads()
3260 task_t task; in tasks_system_suspend() local
[all …]
H A Dtask_ref.c379 task_reference_external(task_t task) in task_reference_external()
385 task_deallocate_external(task_t task) in task_deallocate_external()
391 allocate_refgrp_default(task_t task) in allocate_refgrp_default()
404 free_refgrp_default(task_t task) in free_refgrp_default()
412 allocate_refgrp_full(task_t task) in allocate_refgrp_full()
426 free_refgrp_full(task_t task) in free_refgrp_full()
435 task_ref_count_init(task_t task) in task_ref_count_init()
470 task_ref_count_fini(task_t task) in task_ref_count_fini()
521 task_ref_count_init(task_t task) in task_ref_count_init()
552 task_reference_external(task_t task) in task_reference_external()
[all …]
H A Dtask_policy.c2211 proc_task_is_tal(task_t task) in proc_task_is_tal()
2217 task_get_apptype(task_t task) in task_get_apptype()
2223 task_is_daemon(task_t task) in task_is_daemon()
2237 task_is_driver(task_t task) in task_is_driver()
2246 task_is_app(task_t task) in task_is_app()
2355 trequested_0(task_t task) in trequested_0()
2365 trequested_1(task_t task) in trequested_1()
2377 teffective_0(task_t task) in teffective_0()
2385 teffective_1(task_t task) in teffective_1()
3048 task_t task = (task_t)param0; in task_action_cpuusage() local
[all …]
H A Dtask_ref.h69 #define task_reference_mig(task) task_reference_grp(task, TASK_GRP_MIG) argument
70 #define task_deallocate_mig(task) task_deallocate_grp(task, TASK_GRP_MIG) argument
77 #define task_reference(task) task_reference_grp(task, TASK_GRP_KERNEL) argument
78 #define task_deallocate(task) task_deallocate_grp(task, TASK_GRP_KERNEL) argument
80 #define convert_task_to_port(task) convert_task_to_port_kernel(task) argument
81 #define convert_task_read_to_port(task) convert_task_read_to_port_kernel(task) argument
89 #define task_suspend2(task, token) task_suspend2_kernel(task, token) argument
H A Dtask_ident.c128 task_t task, in task_create_identity_token()
173 task_t task; in task_identity_token_get_task_grp() local
207 task_t task; in task_identity_token_get_task_port() local
268 task_t *task, in task_id_token_port_name_to_task_grp()
285 task_t *task) in task_id_token_port_name_to_task_external()
293 task_t *task) in task_id_token_port_name_to_task()
H A Dipc_tt.c172 task_t task, in ipc_task_init()
352 task_t task) in ipc_task_enable()
416 task_t task) in ipc_task_disable()
496 task_t task) in ipc_task_terminate()
648 task_t task) in ipc_task_reset()
816 task_t task, in ipc_thread_init()
1343 task_t task, in mach_task_is_self()
2635 task_t task; in convert_port_to_task_with_flavor_locked_noref() local
2687 task_t task; in convert_port_to_task_with_flavor_locked() local
3140 task_t task; in convert_port_to_thread_with_flavor_locked() local
[all …]
H A Dcoalition.c405 coalition_ledger_get_from_task(task_t task) in coalition_ledger_get_from_task()
465 task_t task = current_task(); in SENDING_NOTIFICATION__THIS_COALITION_IS_CAUSING_TOO_MUCH_IO() local
820 task_t task; in coalition_resource_usage_internal() local
1649 task_coalition_focal_count(task_t task) in task_coalition_focal_count()
1940 coalitions_adopt_init_task(task_t task) in coalitions_adopt_init_task()
1952 coalitions_adopt_corpse_task(task_t task) in coalitions_adopt_corpse_task()
2094 coalitions_remove_task(task_t task) in coalitions_remove_task()
2122 task_release_coalitions(task_t task) in task_release_coalitions()
2509 task_t task; in i_get_list_footprint() local
2640 task_t task; in coalition_get_sort_list() local
[all …]
H A Drestartable.c139 _ranges_validate(task_t task, task_restartable_range_t *ranges, uint32_t count) in _ranges_validate()
264 _restartable_ranges_create(task_t task, task_restartable_range_t *ranges, in _restartable_ranges_create()
374 task_t task = get_threadtask(thread); in thread_reset_pcs_done_faulting() local
403 thread_rr_wait_if_needed(task_t task, thread_t thread) in thread_rr_wait_if_needed()
491 thread_reset_pcs_in_range(task_t task, thread_t thread) in thread_reset_pcs_in_range()
497 thread_reset_pcs_ast(task_t task, thread_t thread) in thread_reset_pcs_ast()
536 task_t task, in task_restartable_ranges_register()
583 task_restartable_ranges_synchronize(task_t task) in task_restartable_ranges_synchronize()
H A Dexception.c208 task_t task; in exception_deliver() local
696 task_t task = current_task(); in check_exc_receiver_dependency() local
727 task_t task; in exception_triage_thread() local
810 task_t task = current_task(); in pac_exception_triage() local
877 task_t task = current_task(); in exception_triage() local
917 task_t task; in bsd_exception() local
H A Dthread.c904 task_t task; in thread_exception_queue_invoke() local
972 task_t task, in thread_exception_enqueue()
1706 task_t task, in thread_create_waiting_internal()
1768 task_t task, in thread_create_running_internal2()
1844 task_t task, in thread_create_running()
1857 task_t task, in thread_create_running_from_user()
1870 task_t task, in thread_create_workq_waiting()
3199 task_t task; in thread_dispatchqaddr() local
3228 task_t task; in thread_wqquantum_addr() local
3255 task_t task; in thread_rettokern_addr() local
[all …]
/xnu-11215/libsyscall/mach/
H A Dmach_port.c39 ipc_space_t task, in mach_port_names()
55 ipc_space_t task, in mach_port_type()
72 ipc_space_t task, in mach_port_rename()
85 ipc_space_t task, in mach_port_allocate_name()
98 ipc_space_t task, in mach_port_allocate()
115 ipc_space_t task, in mach_port_destroy()
127 ipc_space_t task, in mach_port_deallocate()
143 ipc_space_t task, in mach_port_get_refs()
157 ipc_space_t task, in mach_port_mod_refs()
195 ipc_space_t task, in mach_port_set_mscount()
[all …]
/xnu-11215/osfmk/mach/
H A Dtask_special_ports.h104 #define task_get_kernel_port(task, port) \ argument
107 #define task_set_kernel_port(task, port) \ argument
110 #define task_get_host_port(task, port) \ argument
113 #define task_set_host_port(task, port) \ argument
116 #define task_get_bootstrap_port(task, port) \ argument
119 #define task_get_debug_control_port(task, port) \ argument
122 #define task_set_bootstrap_port(task, port) \ argument
125 #define task_get_task_access_port(task, port) \ argument
128 #define task_set_task_access_port(task, port) \ argument
131 #define task_set_task_debug_control_port(task, port) \ argument
/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() local
79 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_vm_deallocate_trap() local
92 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_vm_protect_trap() local
106 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_vm_map_trap() local
134 task_t task; in _kernelrpc_mach_vm_purgable_control_trap() local
166 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_port_allocate_trap() local
183 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_port_deallocate_trap() local
196 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_port_mod_refs_trap() local
211 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_port_move_member_trap() local
225 task_t task = port_name_to_current_task_noref(args->target); in _kernelrpc_mach_port_insert_right_trap() local
[all …]
/xnu-11215/security/
H A Dmac_mach.c57 mac_task_get_proc(struct task *task) in mac_task_get_proc()
80 mac_task_check_expose_task(struct task *task, mach_task_flavor_t flavor) in mac_task_check_expose_task()
101 mac_task_check_task_id_token_get_task(struct task *task, mach_task_flavor_t flavor) in mac_task_check_task_id_token_get_task()
140 mac_task_check_set_host_special_port(struct task *task, int id, struct ipc_port *port) in mac_task_check_set_host_special_port()
153 mac_task_check_set_host_exception_port(struct task *task, unsigned int exception) in mac_task_check_set_host_exception_port()
166 mac_task_check_get_task_special_port(struct task *task, struct task *target, int which) 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()
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()
258 mac_task_check_set_thread_exception_ports(struct task *task, struct task *target, unsigned int exce… in mac_task_check_set_thread_exception_ports()
305 mac_task_check_set_host_exception_ports(struct task *task, unsigned int exception_mask) in mac_task_check_set_host_exception_ports()
[all …]
/xnu-11215/tools/lldbmacros/
H A Duserspace.py79 def _PrintARMUserStack(task, cur_pc, cur_fp, framesize, frametype, frameformat, user_lib_info=None): argument
243 def ShowTaskUserStacks(task): argument
368 def GetUserDataAsString(task, addr, size): argument
462 def GetUserspaceString(task, string_address): argument
482 def GetImageInfo(task, mh_image_address, mh_path_address, approx_end_address=None): argument
818 def SaveDataToFile(start_addr, length, outputfile, task=None,): argument
/xnu-11215/osfmk/arm64/
H A Dmachine_task.c68 task_t task, in machine_task_set_state()
149 machine_task_get_state(task_t task, in machine_task_get_state()
212 machine_task_terminate(task_t task) in machine_task_terminate()
308 task_t task, in machine_task_process_signature()
360 ml_task_uses_1ghz_timebase(const task_t task) in ml_task_uses_1ghz_timebase()
/xnu-11215/osfmk/corpses/
H A Dcorpse.c342 task_get_corpseinfo(task_t task) in task_get_corpseinfo()
385 task_t task; in task_purge_all_corpses() local
411 task_t task; in find_corpse_task_by_uniqueid_grp() local
439 task_t task, in task_generate_corpse()
499 task_t task, in task_should_generate_lightweight_corpse()
571 task_t task, in task_enqueue_exception_with_corpse()
659 task_t task, in task_generate_corpse_internal()
839 task_t task, in task_map_kcdata_64()
872 task_t task, in task_map_corpse_info()
903 task_t task, in task_map_corpse_info_64()
[all …]
/xnu-11215/osfmk/i386/
H A Dmachine_task.c70 task_t task, in machine_task_set_state()
151 machine_task_get_state(task_t task, in machine_task_get_state()
231 machine_task_terminate(task_t task) in machine_task_terminate()
319 task_t __unused task, in machine_task_process_signature()
/xnu-11215/osfmk/kperf/
H A Dpet.c158 task_t task = get_threadtask(thread); in kppet_on_cpu() local
300 kppet_sample_thread(int pid, task_t task, thread_t thread, uint32_t idle_rate) in kppet_sample_thread()
336 kppet_threads_prepare(task_t task) in kppet_threads_prepare()
396 kppet_sample_task(task_t task, uint32_t idle_rate) in kppet_sample_task()
498 task_t task = TASK_NULL; in kppet_tasks_prepare() local
531 task_t task = kppet.g_tasks[i]; in kppet_sample_tasks() local
/xnu-11215/tests/
H A Dhw_breakpoint_step_arm64.c32 mach_port_t task, in catch_mach_exception_raise()
69 mach_port_t task, in catch_mach_exception_raise_state_identity()
129 step_thread(mach_port_name_t task, thread_t thread) in step_thread()
173 mach_port_name_t task; variable
H A Dimmovable_send.c48 mach_port_t task, in catch_mach_exception_raise_state_identity()
66 mach_port_t task, in catch_mach_exception_raise()
134 mach_port_t task = mach_task_self(); in create_exception_port() local
169 mach_port_t task = mach_task_self(); variable
/xnu-11215/osfmk/kdp/
H A Dkdp_common.c108 task_t task, in kdp_traverse_mappings()
261task_t task, uint64_t addr, uint64_t *result, kdp_fault_flags_t fault_flags, find_phys_fn_t find_p… in kdp_generic_copyin_word()
280task_t task, uint64_t addr, char *buf, int buf_sz, kdp_fault_flags_t fault_flags, find_phys_fn_t f… in kdp_generic_copyin_string_slowpath()
326task_t task, uint64_t addr, char *buf, int buf_sz, kdp_fault_flags_t fault_flags, find_phys_fn_t f… in kdp_generic_copyin_string()
352 kdp_task_dyld_info(task_t task, kdp_fault_flags_t fault_flags, uint64_t * dyld_load_address, uuid_t… in kdp_task_dyld_info()
/xnu-11215/tests/ipc/
H A Dmach_exc_port_substitute.c59 __unused mach_port_t task, in catch_mach_exception_raise_state_identity()
96 mach_port_t task, in catch_mach_exception_raise()
137 mach_port_t task = mach_task_self(); in alloc_exception_port() local

12345678