Home
last modified time | relevance | path

Searched refs:pid_t (Results 1 – 25 of 274) sorted by relevance

1234567891011

/xnu-8792.41.9/libsyscall/wrappers/libproc/
H A Dlibproc_internal.h39 int proc_setcpu_percentage(pid_t pid, int action, int percentage) __OSX_AVAILABLE_STARTING(__MAC_10…
40 int proc_clear_cpulimits(pid_t pid) __OSX_AVAILABLE_STARTING(__MAC_10_12_2, __IPHONE_5_0);
52 int proc_setcpu_deadline(pid_t pid, int action, uint64_t deadline) __OSX_AVAILABLE_STARTING(__MAC_N…
53 int proc_setcpu_percentage_withdeadline(pid_t pid, int action, int percentage, uint64_t deadline) _…
93 int proc_clear_vmpressure(pid_t pid);
114 int proc_disable_apptype(pid_t pid, int apptype);
115 int proc_enable_apptype(pid_t pid, int apptype);
140 int proc_set_cpumon_defaults(pid_t pid) __OSX_AVAILABLE_STARTING(__MAC_10_8, __IPHONE_6_0);
141 int proc_set_cpumon_params(pid_t pid, int percentage, int interval) __OSX_AVAILABLE_STARTING(__MAC_…
142 int proc_set_cpumon_params_fatal(pid_t pid, int percentage, int interval) __OSX_AVAILABLE_STARTING(…
[all …]
H A Dlibproc.c42 … action, int policy, int policy_subtype, proc_policy_attribute_t * attrp, pid_t target_pid, uint64…
43 int proc_rlimit_control(pid_t pid, int flavor, void *arg);
76 proc_listpgrppids(pid_t pgrpid, void * buffer, int buffersize) in proc_listpgrppids()
88 proc_listchildpids(pid_t ppid, void * buffer, int buffersize) in proc_listchildpids()
327 pid_t pid = getpid(); in proc_current_thread_schedinfo()
382 proc_track_dirty(pid_t pid, uint32_t flags) in proc_track_dirty()
392 proc_set_dirty(pid_t pid, bool dirty) in proc_set_dirty()
402 proc_get_dirty(pid_t pid, uint32_t *flags) in proc_get_dirty()
421 proc_clear_dirty(pid_t pid, uint32_t flags) in proc_clear_dirty()
431 proc_terminate(pid_t pid, int *sig) in proc_terminate()
[all …]
H A Dlibproc.h94 int proc_listpgrppids(pid_t pgrpid, void * buffer, int buffersize) __OSX_AVAILABLE_STARTING(__MAC_1…
95 int proc_listchildpids(pid_t ppid, void * buffer, int buffersize) __OSX_AVAILABLE_STARTING(__MAC_10…
125 int proc_track_dirty(pid_t pid, uint32_t flags);
126 int proc_set_dirty(pid_t pid, bool dirty);
127 int proc_get_dirty(pid_t pid, uint32_t *flags);
128 int proc_clear_dirty(pid_t pid, uint32_t flags);
130 int proc_terminate(pid_t pid, int *sig);
/xnu-8792.41.9/bsd/sys/
H A Dproc_internal.h146 pid_t s_ttypgrpid; /* (SL) tty's pgrp id */
148 pid_t s_sid; /* (C) Session ID */
199 pid_t pg_id; /* group ID (static) */
278 pid_t p_ppid; /* process's parent pid number */
279pid_t p_original_ppid; /* process's original parent pid number, doesn't change if…
280 pid_t p_pgrpid; /* process group id of the process (LL)*/
287 pid_t p_sessionid;
291 pid_t p_pid; /* Process identifier for proc_find. (static)*/
329 pid_t p_oppid; /* Save parent pid during ptrace. XXX */
351 pid_t si_pid; /* (PL) */
[all …]
H A Dmsg.h128 pid_t msg_lspid; /* [XSI] pid of last msgsnd() */
129 pid_t msg_lrpid; /* [XSI] pid of last msgrcv() */
151 pid_t msg_lspid; /* [XSI] pid of last msgsnd() */
152 pid_t msg_lrpid; /* [XSI] pid of last msgrcv() */
187 pid_t msg_lspid; /* [XSI] pid of last msgsnd() */
188 pid_t msg_lrpid; /* [XSI] pid of last msgrcv() */
209 pid_t msg_lspid; /* [XSI] pid of last msgsnd() */
210 pid_t msg_lrpid; /* [XSI] pid of last msgrcv() */
227 pid_t msg_lspid; /* [XSI] pid of last msgsnd() */
228 pid_t msg_lrpid; /* [XSI] pid of last msgrcv() */
H A Dlctx.h10 static __inline pid_t
11 getlcid(pid_t pid) in getlcid()
18 setlcid(pid_t pid, pid_t lcid) in setlcid()
H A Dwait.h249 pid_t wait(int *) __DARWIN_ALIAS_C(wait);
250 pid_t waitpid(pid_t, int *, int) __DARWIN_ALIAS_C(waitpid);
255 pid_t wait3(int *, int, struct rusage *);
256 pid_t wait4(pid_t, int *, int, struct rusage *);
H A Dshm_internal.h84 pid_t shm_lpid; /* PID of last shared memory op */
85 pid_t shm_cpid; /* PID of creator */
96 pid_t shm_lpid; /* PID of last shared memory op */
97 pid_t shm_cpid; /* PID of creator */
H A Dshm.h150 pid_t shm_lpid; /* [XSI] PID of last shared memory op */
151 pid_t shm_cpid; /* [XSI] PID of creator */
166 pid_t shm_lpid; /* [XSI] PID of last shared memory op */
167 pid_t shm_cpid; /* [XSI] PID of creator */
H A Dsfi.h92 int sfi_process_set_flags(pid_t pid, uint32_t flags);
94 int sfi_process_get_flags(pid_t pid, uint32_t *flags);
110 int __sfi_pidctl(uint32_t operation, pid_t pid, uint32_t sfi_flags, uint32_t *out_sfi_flags);
H A Dkern_memorystatus_freeze.h124 int memorystatus_set_process_is_freezable(pid_t pid, boolean_t is_freezable);
125 int memorystatus_get_process_is_freezable(pid_t pid, int *is_freezable);
128 errno_t memorystatus_get_process_is_frozen(pid_t pid, int *is_freezable);
255 pid_t fp_pid;
/xnu-8792.41.9/tests/vm/
H A Dmemorystatus_sort_test.c22 pid_t pids[kNumProcsInCoalition]; // An array of pids in this coalition. Owned by this struct.
23pid_t expected_order[kNumProcsInCoalition]; // An array of pids in this coalition in proper sorted…
32 static pid_t children_pids[kMaxChildrenProcs];
48 static void place_proc_in_band(pid_t pid, int band);
85 static pid_t
135 coalition.expected_order, kNumProcsInCoalition * sizeof(pid_t));
158 __block pid_t pid;
174 pid_t expected_order[kNumChildren] = {0};
198 static pid_t
203 pid_t pid; in launch_proc_in_coalition()
[all …]
H A Dentitlement_increased_memory_limit.c60 static pid_t
68 pid_t pid; in spawn_child_with_memlimit()
96 resume_child_and_verify_exit(pid_t pid) in resume_child_and_verify_exit()
98 pid_t rc; in resume_child_and_verify_exit()
130 pid_t pid;
180 pid_t pid;
228 pid_t pid;
H A Dapp_swap.c27 static pid_t
28 get_coalition_leader(pid_t p) in get_coalition_leader()
63 static pid_t child_pid = 0;
144 static pid_t
150 pid_t new_pid = 0; in spawn_coalition_leader()
181 pid_t leader_pid;
/xnu-8792.41.9/tests/
H A Dmemorystatus_assertion_helpers.h30 set_priority(pid_t pid, int32_t priority, uint64_t user_data, boolean_t is_assertion_driven);
37 check_properties(pid_t pid, int32_t expected_priority, int32_t expected_limit_mb, uint64_t expected…
48 pid_t pid,
57 set_assertion_priority(pid_t pid, int32_t priority, uint64_t user_data);
64 relinquish_assertion_priority(pid_t pid, uint64_t user_data);
77 get_priority_props(pid_t pid, boolean_t verbose, int32_t *priority, int32_t *limit_mb, uint64_t *us…
H A Dmemorystatus_vm_map_fork.c89 set_memorystatus_vm_map_fork_pidwatch(pid_t pid) in set_memorystatus_vm_map_fork_pidwatch()
186 static pid_t
197 pid_t child_pid; in spawn_child_process()
221 test_child_process(pid_t child_pid, int *status, struct rusage *ru) in test_child_process()
224 pid_t got_pid; in test_child_process()
296 pid_t child_pid; in memorystatus_vm_map_fork_parent()
410 (void)set_memorystatus_vm_map_fork_pidwatch((pid_t)0); in memorystatus_vm_map_fork_parent()
424 (void)set_memorystatus_vm_map_fork_pidwatch((pid_t)0); in memorystatus_vm_map_fork_parent()
H A Dprioritize_process_launch.c275 static pid_t
282 pid_t child_pid = 0; in posix_spawn_child_with_watch_ports()
317 pid_t pid; in workloop_cb_test_intransit()
354 pid_t pid; in workloop_cb_test_knote_kill()
388 static pid_t pid = 0; in workloop_cb_test_sync_bootstrap()
477 pid_t pid;
500 pid_t pid;
523 pid_t pid;
546 pid_t pid;
569 pid_t pid1, pid2;
[all …]
H A Dmemorystatus_assertion_helpers.c11 set_priority(pid_t pid, int32_t priority, uint64_t user_data, boolean_t is_assertion_driven) in set_priority()
44 check_properties(pid_t pid, int32_t expected_priority, int32_t expected_limit_mb, uint64_t expected… in check_properties()
100 set_assertion_priority(pid_t pid, int32_t priority, uint64_t user_data) in set_assertion_priority()
106 relinquish_assertion_priority(pid_t pid, uint64_t user_data) in relinquish_assertion_priority()
113 pid_t pid, in set_memlimits()
149 get_priority_props(pid_t pid, boolean_t verbose, int32_t *priority, int32_t *limit_mb, uint64_t *us… in get_priority_props()
H A Dtest_utils.c32 pid_t
38 pid_t pid; in launch_background_helper()
66 set_process_memorystatus_managed(pid_t pid) in set_process_memorystatus_managed()
H A Dtask_policy.c85 pid_t pid = 0;
115 pid_t pid = 0;
145 pid_t pid = 0;
228 pid_t pid = 0;
258 pid_t pid = 0;
288 pid_t pid = 0;
375 pid_t pid = 0;
405 pid_t pid = 0;
435 pid_t pid = 0;
518 pid_t pid = 0;
[all …]
/xnu-8792.41.9/bsd/net/
H A Dpktap.h112 pid_t pth_pid; /* process ID */
119 pid_t pth_epid; /* effective process ID */
173 pid_t pth_pid; /* process ID */
174 pid_t pth_e_pid; /* effective process ID */
254 pid_t, const char *, pid_t, const char *, kern_packet_t, const void *, size_t,
257 pid_t, const char *, pid_t, const char *, kern_packet_t, const void *, size_t,
H A Dcontent_filter.h96 pid_t cfs_pid;
97 pid_t cfs_e_pid;
130 pid_t pid;
131 pid_t effective_pid;
212 pid_t cfs_pid;
213 pid_t cfs_e_pid;
399 pid_t cfs_pid;
400 pid_t cfs_e_pid;
/xnu-8792.41.9/bsd/skywalk/namespace/
H A Dprotons.h48 extern int protons_reserve(struct protons_token **ptp, pid_t pid, pid_t epid,
59 extern bool protons_token_has_matching_pid(struct protons_token *pt, pid_t pid,
60 pid_t epid);
H A Dprotons.c58 pid_t pt_pid;
59 pid_t pt_epid;
122 protons_token_has_matching_pid(struct protons_token *pt, pid_t pid, pid_t epid) in protons_token_has_matching_pid()
171 protons_reserve_locked(struct protons_token **ptp, pid_t pid, pid_t epid, in protons_reserve_locked()
213 protons_reserve(struct protons_token **ptp, pid_t pid, pid_t epid, in protons_reserve()
/xnu-8792.41.9/bsd/bsm/
H A Daudit_record.h285 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid)
288 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid)
291 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid)
294 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid)
297 uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid,
301 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid)
323 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid)
326 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid)
329 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid)
332 gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid)
[all …]

1234567891011