| /xnu-11215/bsd/kern/ |
| H A D | kern_memorystatus_policy.c | 444 if (leader_proc == PROC_NULL || leader_proc == p) { in memorystatus_is_process_eligible_for_freeze() 566 proc_t p = PROC_NULL, next_p = PROC_NULL; in memorystatus_freeze_pick_refreeze_process() 568 if (last_p == PROC_NULL) { in memorystatus_freeze_pick_refreeze_process() 612 return PROC_NULL; in memorystatus_freeze_pick_refreeze_process() 618 proc_t p = PROC_NULL, next_p = PROC_NULL; in memorystatus_freeze_pick_process() 631 iterator->last_p = PROC_NULL; in memorystatus_freeze_pick_process() 648 if (p != PROC_NULL && memorystatus_is_process_eligible_for_freeze(p)) { in memorystatus_freeze_pick_process() 666 if (iterator->last_p == PROC_NULL) { in memorystatus_freeze_pick_process() 689 iterator->last_p = memorystatus_freeze_pick_refreeze_process(PROC_NULL); in memorystatus_freeze_pick_process() 692 return PROC_NULL; in memorystatus_freeze_pick_process()
|
| H A D | kern_proc.c | 436 return PROC_NULL; in proc_find_ident() 442 return PROC_NULL; in proc_find_ident() 768 return PROC_NULL; in proc_ref() 808 return PROC_NULL; in proc_find_zombref() 1306 return PROC_NULL; in proc_parent() 2126 p = PROC_NULL; in proc_find() 2147 return PROC_NULL; in proc_find() 5442 p = PROC_NULL; in task_for_pid() 5590 p = PROC_NULL; in task_name_for_pid() 5691 proc = PROC_NULL; in task_inspect_for_pid() [all …]
|
| H A D | kern_memorystatus_freeze.c | 1031 p = PROC_NULL; in memorystatus_freezer_get_status() 1271 proc_t p = PROC_NULL, next_p = PROC_NULL; in kill_all_frozen_processes() 1279 p = PROC_NULL; in kill_all_frozen_processes() 1280 next_p = PROC_NULL; in kill_all_frozen_processes() 1624 return PROC_NULL; in memorystatus_get_coalition_leader_and_role() 1632 return PROC_NULL; in memorystatus_get_coalition_leader_and_role() 2343 proc_t p = PROC_NULL, next_p = PROC_NULL; in memorystatus_demote_frozen_processes_using_thaw_count() 2683 p = PROC_NULL; in memorystatus_freeze_start_normal_throttle_interval() 2684 next_p = PROC_NULL; in memorystatus_freeze_start_normal_throttle_interval() 2965 proc_t p = PROC_NULL; in memorystatus_get_process_is_freezable() [all …]
|
| H A D | proc_info.c | 1495 struct proc * p = PROC_NULL; in proc_piduuidinfo() 1506 if (p == PROC_NULL) { in proc_piduuidinfo() 1755 proc_t p = PROC_NULL; in proc_can_use_foreground_hw() 1773 if (p == PROC_NULL) { in proc_can_use_foreground_hw() 1913 if (p != PROC_NULL) { in proc_can_use_foreground_hw() 1969 struct proc * p = PROC_NULL; in proc_pidinfo() 2151 if (p == PROC_NULL) { in proc_pidinfo() 2598 if (proc != PROC_NULL) { in fill_fileinfo() 3142 if (targetp == PROC_NULL) { in proc_security_policy() 3970 if (p == PROC_NULL) { in proc_piddynkqueueinfo() [all …]
|
| H A D | process_policy.c | 118 proc_t target_proc = PROC_NULL; in process_policy() 137 if (target_proc == PROC_NULL) { in process_policy() 632 proc_t target_proc = PROC_NULL; in proc_pidbackgrounded() 640 if (target_proc == PROC_NULL) { in proc_pidbackgrounded()
|
| H A D | mach_process.c | 195 if (proc_find_ident(&pproc_ident) == PROC_NULL) { in ptrace() 368 if (pp != PROC_NULL) { in ptrace() 584 if (proc_find_ident(&traced_ident) == PROC_NULL) { in cantrace()
|
| H A D | kern_memorystatus_notify.c | 960 proc_t p = PROC_NULL; in memorystatus_pressure_proc_telemetry_send() 1125 proc_t p = PROC_NULL; in vm_pressure_select_optimal_candidate_to_notify() 1133 if (p == PROC_NULL) { in vm_pressure_select_optimal_candidate_to_notify() 1369 proc_t p = PROC_NULL; in update_footprints_for_telemetry() 1374 if (p == PROC_NULL) { in update_footprints_for_telemetry() 1379 p = PROC_NULL; in update_footprints_for_telemetry() 1399 proc_t target_proc = PROC_NULL; in memorystatus_update_vm_pressure() 1574 if (target_proc == PROC_NULL) { in memorystatus_update_vm_pressure()
|
| H A D | kern_sig.c | 1559 proc_t target_proc = PROC_NULL; in terminate_with_payload_internal() 1570 if (target_proc == PROC_NULL) { in terminate_with_payload_internal() 2065 if (rdebug_proc && (p != PROC_NULL) && (p == rdebug_proc)) { in psignal_internal() 2375 if ((pp != PROC_NULL) && ((pp->p_flag & P_NOCLDSTOP) == 0)) { in psignal_internal() 2398 if (pp != PROC_NULL) { in psignal_internal() 2751 if (pp != PROC_NULL) { in issignal_locked() 2868 if (pp != PROC_NULL) { in issignal_locked() 3037 if ((parent != PROC_NULL) && (parent->p_stat != SSTOP)) { in stop() 3387 if (resumeproc != PROC_NULL) { in bsd_ast() 3500 proc_t p = PROC_NULL; in pgsigio() [all …]
|
| H A D | kern_resource.c | 279 if (p == PROC_NULL) { in getpriority() 300 if (p == PROC_NULL) { in getpriority() 321 if (p == PROC_NULL) { in getpriority() 343 if (p == PROC_NULL) { in getpriority() 532 if (p == PROC_NULL) { in setpriority() 548 if (p == PROC_NULL) { in setpriority() 568 if (p == PROC_NULL) { in setpriority() 589 if (p == PROC_NULL) { in setpriority() 2891 if (p != PROC_NULL) { in proc_apply_task_networkbg() 3069 if (targetp == PROC_NULL) { in proc_rlimit_control()
|
| H A D | uipc_socket.c | 526 if (self == PROC_NULL) { in so_update_last_owner_locked() 854 PROC_NULL); in socreate() 875 if (ep != PROC_NULL) { in socreate_delegate() 4807 proc_t ep = PROC_NULL; in soopt_cred_check() 4827 if (ep != PROC_NULL) { in soopt_cred_check() 7441 if (p != PROC_NULL) { in sosetdefunct() 7454 if (p != PROC_NULL) { in sosetdefunct() 7517 if (p != PROC_NULL) { in sosetdefunct() 7551 if (p != PROC_NULL) { in sodefunct() 7996 if (rp != PROC_NULL) { in so_set_effective_pid() [all …]
|
| H A D | kern_prot.c | 266 if ((pt = proc_find(uap->pid)) != PROC_NULL) { in getsid() 573 proc_t targp = PROC_NULL; /* target process */ in setpgid() 584 if (targp != PROC_NULL) { in setpgid()
|
| H A D | bsd_stubs.c | 80 if (__improbable(p == PROC_NULL)) { in current_proc()
|
| H A D | kern_memorystatus.c | 2353 proc_t oldest_proc = PROC_NULL; in _memstat_find_earliest_idle_deadline() 3601 proc_t p, victim_p = PROC_NULL; in kill_idle_exit_proc() 5897 proc_t p = PROC_NULL, next_p = PROC_NULL; in memorystatus_kill_top_process() 6115 proc_t p = PROC_NULL, next_p = PROC_NULL; in memorystatus_kill_processes_aggressive() 6355 proc_t p = PROC_NULL, next_p = PROC_NULL; in memorystatus_kill_hiwat_proc() 6500 proc_t p = PROC_NULL, next_p = PROC_NULL; in memorystatus_kill_elevated_process() 7932 proc_t p = PROC_NULL; 7959 proc_t p = PROC_NULL;
|
| /xnu-11215/security/ |
| H A D | mac_mach.c | 123 current_cached_proc_cred(PROC_NULL), pidentp, flavor); in mac_task_check_task_id_token_get_task() 134 current_cached_proc_cred(PROC_NULL)); in mac_task_check_get_movable_control_port() 147 current_cached_proc_cred(PROC_NULL), id, port); in mac_task_check_set_host_special_port() 160 current_cached_proc_cred(PROC_NULL), exception); in mac_task_check_set_host_exception_port() 189 current_cached_proc_cred(PROC_NULL), pidentp, which); in mac_task_check_get_task_special_port() 216 current_cached_proc_cred(PROC_NULL), &pident, which, port); in mac_task_check_set_task_special_port() 227 kauth_cred_t cred = current_cached_proc_cred(PROC_NULL); in mac_task_check_set_task_exception_ports() 263 kauth_cred_t cred = current_cached_proc_cred(PROC_NULL); in mac_task_check_set_thread_exception_ports() 299 current_cached_proc_cred(PROC_NULL)); in mac_task_check_dyld_process_info_notify_register() 310 kauth_cred_t cred = current_cached_proc_cred(PROC_NULL); in mac_task_check_set_host_exception_ports()
|
| H A D | mac_process.c | 339 if ((tracingp = proc_find_ident(tracing_ident)) == PROC_NULL) { in mac_proc_check_debug() 391 if (proc == PROC_NULL) { in mac_proc_check_remote_thread_create() 406 current_cached_proc_cred(PROC_NULL), sp_info); in mac_proc_notify_service_port_derive()
|
| /xnu-11215/bsd/vfs/ |
| H A D | vfs_fslog.c | 64 if ((caller != PROC_NULL) && (target != PROC_NULL)) { in fslog_extmod_msgtracer()
|
| /xnu-11215/bsd/dev/dtrace/ |
| H A D | fasttrap.c | 417 proc_t *p = PROC_NULL; in fasttrap_tracepoint_cleanup() 425 if (p != PROC_NULL) { in fasttrap_tracepoint_cleanup() 428 if ((p = sprlock(pid)) == PROC_NULL) { in fasttrap_tracepoint_cleanup() 451 if (p != PROC_NULL) { in fasttrap_tracepoint_cleanup() 597 p = PROC_NULL; in fasttrap_setdebug() 602 if (p == PROC_NULL) { in fasttrap_setdebug() 1194 if ((p = sprlock(probe->ftp_pid)) == PROC_NULL) { in fasttrap_pid_enable() 1903 if (p == PROC_NULL) in fasttrap_add_probe() 2438 if (proc_find_ident(&p_ident) == PROC_NULL) { in fasttrap_check_cred_priv() 2517 if (p != PROC_NULL) in fasttrap_ioctl() [all …]
|
| H A D | dtrace_glue.c | 79 if ((p = proc_find(pid)) == PROC_NULL) { in sprlock() 80 return PROC_NULL; in sprlock() 94 if (p != PROC_NULL) { in sprunlock() 114 ASSERT(p != PROC_NULL); in uread()
|
| /xnu-11215/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_flow.c | 88 if (p == PROC_NULL) { in fsw_flow_add() 332 p = PROC_NULL; in fsw_flow_add()
|
| /xnu-11215/bsd/security/audit/ |
| H A D | audit.c | 236 if (PROC_NULL != p) { in audit_record_ctor() 420 if (PROC_NULL != p) { in audit_new()
|
| H A D | audit_syscalls.c | 372 proc_t tp = PROC_NULL; in auditon() 794 tp = PROC_NULL; in auditon()
|
| /xnu-11215/bsd/netinet/ |
| H A D | flow_divert.c | 1016 info.found_proc = PROC_NULL; in flow_divert_find_proc_by_uuid() 1119 proc_t effective_proc = PROC_NULL; in flow_divert_add_all_proc_info() 1120 proc_t responsible_proc = PROC_NULL; in flow_divert_add_all_proc_info() 1124 proc_t src_proc = PROC_NULL; in flow_divert_add_all_proc_info() 1125 proc_t real_src_proc = PROC_NULL; in flow_divert_add_all_proc_info() 1127 if (real_proc == PROC_NULL) { in flow_divert_add_all_proc_info() 1131 if (real_proc == PROC_NULL) { in flow_divert_add_all_proc_info() 1159 if (responsible_proc != PROC_NULL) { in flow_divert_add_all_proc_info() 1164 } else if (effective_proc != PROC_NULL) { in flow_divert_add_all_proc_info() 1183 if (responsible_proc != PROC_NULL) { in flow_divert_add_all_proc_info() [all …]
|
| H A D | mptcp_subr.c | 1463 if (p == PROC_NULL) { in mptcp_subflow_socreate() 1486 SOCF_MPTCP, PROC_NULL); in mptcp_subflow_socreate() 1863 if (p == PROC_NULL) { in mptcp_subflow_soconnectx() 2401 if (p == PROC_NULL) { in mptcp_subflow_sosend() 6439 info.found_proc = PROC_NULL; in mptcp_find_proc() 6453 struct proc *p = PROC_NULL; in mptcp_ask_symptoms() 6467 if (p != PROC_NULL) { in mptcp_ask_symptoms() 6472 p = PROC_NULL; in mptcp_ask_symptoms() 6477 if (p == PROC_NULL) { in mptcp_ask_symptoms() 6479 if (p == PROC_NULL) { in mptcp_ask_symptoms() [all …]
|
| /xnu-11215/bsd/net/ |
| H A D | necp_client.c | 3623 if (proc == PROC_NULL) { in necp_client_add_multipath_interface_flows() 3631 proc = PROC_NULL; in necp_client_add_multipath_interface_flows() 3696 if (proc == PROC_NULL) { in necp_client_lookup_bb_radio_manager() 3704 proc = PROC_NULL; in necp_client_lookup_bb_radio_manager() 3999 proc = PROC_NULL; in necp_client_assign_from_socket() 4119 proc = PROC_NULL; in necp_update_flow_protoctl_event() 4231 proc = PROC_NULL; in necp_assign_client_result() 4291 proc = PROC_NULL; in necp_assign_client_group_members() 5241 proc = PROC_NULL; in necp_update_all_clients_callout() 5342 if (proc == PROC_NULL) { in necp_set_client_as_background() [all …]
|
| H A D | rtsock.c | 643 cred = current_cached_proc_cred(PROC_NULL); in route_output() 1783 cred = current_cached_proc_cred(PROC_NULL); in sysctl_dumpentry() 1868 cred = current_cached_proc_cred(PROC_NULL); in sysctl_dumpentry_ext() 1956 cred = current_cached_proc_cred(PROC_NULL); in sysctl_iflist() 2137 cred = current_cached_proc_cred(PROC_NULL); in sysctl_iflist2()
|