Home
last modified time | relevance | path

Searched refs:which (Results 1 – 25 of 115) sorted by relevance

12345

/xnu-11215/libsyscall/wrappers/
H A Dsetpriority.c28 extern int __setpriority(int which, id_t who, int prio);
36 setpriority(int which, id_t who, int prio) in setpriority() argument
38 int rv = __setpriority(which, who, prio); in setpriority()
39 if (which == PRIO_DARWIN_THREAD && rv == -2) { in setpriority()
/xnu-11215/osfmk/x86_64/
H A Dcopyio.c400 if (which & cppvPsnk) { in copyio_phys()
410 return copyio(ctype, vaddr, paddr, csize, NULL, which & cppvKmap); in copyio_phys()
526 (unsigned)snk64, size, which, 0); in copypv()
531 if ((which & (cppvPsrc | cppvPsnk)) == (cppvPsrc | cppvPsnk)) { in copypv()
547 if (which & cppvPsrc) { in copypv()
565 if (which & cppvFsrc) { in copypv()
568 if (which & cppvFsnk) { in copypv()
575 if (copyio_phys(src64, snk64, csize, which)) { in copypv()
580 if (which & cppvFsrc) { in copypv()
583 if (which & cppvFsnk) { in copypv()
[all …]
/xnu-11215/osfmk/kern/
H A Dmisc_protos.h60 int which,
65 int which,
86 int which,
260 int which,
265 int which,
H A Dipc_tt.c1720 switch (which) { in thread_get_special_port_internal()
1791 int which, in thread_get_special_port_from_user() argument
1856 switch (which) { in special_port_allowed_with_thread_flavor()
1866 switch (which) { in special_port_allowed_with_thread_flavor()
1913 switch (which) { in thread_set_special_port()
1969 int which, in task_get_special_port_internal() argument
1990 switch (which) { in task_get_special_port_internal()
2161 switch (which) { in special_port_allowed_with_task_flavor()
2172 switch (which) { in special_port_allowed_with_task_flavor()
2240 switch (which) { in task_set_special_port()
[all …]
H A Dexclaves_upcalls_stashtask.txt1 Please avoid updating any legacy upcalls (exclaves_upcalls.tightbeam) and their handlers, which are…
/xnu-11215/doc/primitives/
H A Datomics.md22 (Documentation/memory-barriers.txt), some of which is Linux specific,
45 - a regular variant which is equivalent to the former with the *seq_cst*
53 and hardware reorderings and optimizations, which is great, but comes with
78 Into this, which obviously defeats the entire purpose of `progress`:
97 (or `_Atomic volatile`), which allow for use of atomic
153 and defaults to the `acq_rel` compiler barrier (which prevents the
189 which returns the value stored at the specified location
191 - `os_atomic_${op}` (for example `os_atomic_add`) which
198 in place addition `(*p += value)` which returns the result of the
227 1. `os_atomic_cmpxchg(address, expected, new_value, mem_order)` which
[all …]
/xnu-11215/doc/scheduler/
H A Dsched_clutch_edge.md24which decides which class of threads should be picked for execution. The kernel maintains a notion…
28which root bucket should be selected next for execution. Each root bucket with runnable threads is…
68 The second level is the “thread group” level which decides which thread group within a QoS bucket s…
88 …eduler is able to maintain up-to-date information about all thread groups which leads to more opti…
89 …e system to make interesting choices such as preferring Apps over daemons which is typically bette…
95which thread within a clutch bucket should be selected next for execution. Each runnable thread in…
112 …duler to bound the worst case execution latency for a low priority thread which has been starved b…
136 The root bucket priority is simply the deadline of the root bucket which is calculated by adding th…
235 * Otherwise, for each cluster which is not the preferred cluster,
248which should be executed here. If the steal callout does not return a thread, the `thread_select()…
[all …]
/xnu-11215/bsd/dev/i386/
H A Dinstr_size.c81 dtrace_dis_isize(uchar_t *instr, dis_isize_t which, model_t model, int *rmindex) in dtrace_dis_isize() argument
96 if (which == DIS_ISIZE_INSTR) in dtrace_dis_isize()
/xnu-11215/bsd/sys/
H A Dresourcevar.h129 struct rlimit proc_limitget(struct proc *p, int which);
132 rlim_t proc_limitgetcur(struct proc *p, int which);
H A Dproc.h537 extern int proc_set_syscall_filter_index(int which, int num, int index);
538 extern size_t proc_get_syscall_filter_mask_size(int which);
539 extern unsigned char *proc_get_syscall_filter_mask(proc_t p, int which);
540 extern int proc_set_syscall_filter_mask(proc_t p, int which, unsigned char *maskptr, size_t masklen…
H A Dfile_internal.h171 int (*fo_select) (struct fileproc *fp, int which,
520 int fo_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx);
530 int fo_no_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx);
/xnu-11215/san/memory/
H A Dkasan-blacklist-arm6412 # These use a local variable to work out which stack we're on, but can end up with
19 # These are required to fixup the kernelcache, which needs to happen before KASAN
/xnu-11215/osfmk/arm64/
H A Dloose_ends.c836 copypv(addr64_t source, addr64_t sink, unsigned int size, int which) in copypv() argument
838 if ((which & (cppvPsrc | cppvPsnk)) == 0) { /* Make sure that only one is virtual */ in copypv()
842 kern_return_t res = bcopy_phys_internal(source, sink, size, which); in copypv()
845 if (which & cppvFsrc) { in copypv()
846 flush_dcache64(source, size, ((which & cppvPsrc) == cppvPsrc)); in copypv()
849 if (which & cppvFsnk) { in copypv()
850 flush_dcache64(sink, size, ((which & cppvPsnk) == cppvPsnk)); in copypv()
/xnu-11215/osfmk/ipc/
H A Dipc_space.c237 int which; in ipc_space_rand_freelist() local
245 which = 0; in ipc_space_rand_freelist()
248 which = random_bool_gen_bits( in ipc_space_rand_freelist()
255 if (which) { in ipc_space_rand_freelist()
/xnu-11215/security/
H A Dmac_pipe.c177 mac_pipe_check_select(kauth_cred_t cred, struct pipe *cpipe, int which) in mac_pipe_check_select() argument
188 MAC_CHECK(pipe_check_select, cred, cpipe, mac_pipe_label(cpipe), which); in mac_pipe_check_select()
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
189 current_cached_proc_cred(PROC_NULL), pidentp, 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() argument
216 current_cached_proc_cred(PROC_NULL), &pident, which, port); in mac_task_check_set_task_special_port()
H A Dmac_mach_internal.h92 struct task *target, int which);
94 struct task *target, int which, struct ipc_port *port);
/xnu-11215/doc/observability/
H A Dmt_stackshot.md8 - **Initiating / Calling CPU**: The CPU which stackshot was called from.
9 - **Main CPU**: The CPU which populates workqueues and collects global state.
10 - **Auxiliary CPU**: A CPU which is not the main CPU.
16 When a stackshot is taken, the initiating CPU (the CPU from which stackshot was
122 which consist of a timestamp, line number, and an arbitrary uintpr_t-sized piece
124 CPU which can be seen from a debugger.
130 An lldb macro is in the works which will allow this data to be examined more
143 auxilliary CPU (i.e. a CPU other than the one which initiated the stackshot)
H A Dcpu_counters.md10 …st Level Cache (LLC) hosts the Uncore Performance Monitoring Unit (UPMU), which measures effects t…
16 …ed to generate a Performance Monitor Interrupt (PMI) periodically, during which the currently runn…
/xnu-11215/bsd/kern/
H A Dkern_resource.c208 switch (uap->which) { in getpriority()
429 AUDIT_ARG(cmd, uap->which); in setpriority()
438 switch (uap->which) { in setpriority()
1199 which &= ~_RLIMIT_POSIX_FLAG; in dosetrlimit()
1202 if (which >= RLIM_NLIMITS) { in dosetrlimit()
1242 switch (which) { in dosetrlimit()
1498 uap->which &= ~_RLIMIT_POSIX_FLAG; in getrlimit()
1500 if (uap->which >= RLIM_NLIMITS) { in getrlimit()
1694 assert(which < RLIM_NLIMITS); in proc_limitgetcur()
1728 proc_limitget(proc_t p, int which) in proc_limitget() argument
[all …]
/xnu-11215/tests/
H A Drestartable_ranges.c130 wait_for_step(int which) in wait_for_step() argument
132 for (int i = 0; step != which && i < 10; i++) { in wait_for_step()
/xnu-11215/doc/mach_ipc/
H A Dkmsg.md16 IPC kmsg is meant to wrap a Mach message, which is made of 4 different parts,
75 - its header + descriptors (which contain kernel pointers in kernel);
364 count, content, and disposition at will, which lets them reach a fairly large
428 These kext buffers tend to be short lived, which means that the vast majority
433 Unlike descriptors which actually do not really tend to be manipulated by code
446 descriptors, which should dramatically reduce tampering risks.
/xnu-11215/doc/arm/
H A Dsme.md13 builds on top of ARM's previous Scalable Vector Extension (SVE), which extends
95 - Reads or writes to the `SVCR` system register, which packs both bits into
98 immediate values `0` or `1`, which directly modify the specified bit(s)
99 - `sm{start,stop} (sm|za)` pseudo-instructions, which are assembler aliases for
102 Regardless of which method is used to access these bits, software generally does
149 xnu has in-kernel SIMD instructions<sup>[4](#xnu_simd_footnote)</sup> which
172 and `ldr` instructions, which can be executed outside of streaming SVE mode.
217 which never has `ZA` state.
263 However xnu does not currently support any CPUs which implement FEAT_SME_FA64.
/xnu-11215/doc/vm/
H A Dfreezer.md15 …erally 1 process except for app swap enabled devices (M1 and later iPads) which freeze more aggres…
19which calls `vm_map_freeze` (`osfmk/vm/vm_map.c`). `vm_map_freeze` walks through the map twice. Th…
43 …et frozen first). This is very naive. In the past, we've tried predicting which apps will be used …
48 …es which are grouped together in a coalition. Therefore, freezing an app may mean freezing more th…
58 …jects%3DWebKit&resultType=results#line-978) is responsible for telling us which tabs to freeze, an…
87 …ites and ensures we stay under the budget. It also tracks daily telemetry which is reported back v…
96 …ivitySchedulerDaemon/DASDock/_DASDock.m). This dock contains applications which the user is likely…
/xnu-11215/san/coverage/
H A Dkcov-blacklist-arm646 # These use a local variable to work out which stack we're on, but can end up with

12345