Searched refs:which (Results 1 - 25 of 43) sorted by relevance

12

/xnu-2422.115.4/osfmk/x86_64/
H A Dcopyio.c61 * Copyin/out variants all boil done to just these 2 routines in locore.s which
231 copyio_phys(addr64_t source, addr64_t sink, vm_size_t csize, int which) argument
237 if (which & cppvPsnk) {
246 return copyio(ctype, vaddr, paddr, csize, NULL, which & cppvKmap);
283 copypv(addr64_t src64, addr64_t snk64, unsigned int size, int which) argument
289 (unsigned)snk64, size, which, 0);
291 if ((which & (cppvPsrc | cppvPsnk)) == 0 ) /* Make sure that only one is virtual */
294 if ((which & (cppvPsrc | cppvPsnk)) == (cppvPsrc | cppvPsnk))
310 if (which & cppvPsrc)
326 if (which
[all...]
/xnu-2422.115.4/osfmk/kern/
H A Dmisc_protos.h59 int which,
64 int which,
77 int which,
216 int which,
H A Dipc_tt.c786 int which,
795 switch (which) {
835 int which,
844 switch (which) {
888 int which,
902 switch (which) {
956 int which,
965 switch (which) {
997 if ((TASK_SEATBELT_PORT == which || TASK_ACCESS_PORT == which)
784 thread_get_special_port( thread_t thread, int which, ipc_port_t *portp) argument
833 thread_set_special_port( thread_t thread, int which, ipc_port_t port) argument
886 task_get_special_port( task_t task, int which, ipc_port_t *portp) argument
954 task_set_special_port( task_t task, int which, ipc_port_t port) argument
[all...]
H A Dtask.h453 integer_t which);
457 integer_t which);
461 integer_t which,
H A Dtask.c195 * Level (in terms of percentage of the limit) at which the wakeups monitor triggers telemetry.
202 int task_wakeups_monitor_interval; /* In seconds. Time period over which wakeups rate is observed */
205 int task_wakeups_monitor_ustackshots_trigger_pct; /* Percentage. Level at which we start gathering telemetry. */
523 * Physical compressed: Amount of this task's resident memory which is held by the compressor.
1752 * as a "suspension token," which can be converted into an SO right to
2120 * removing it completely, I have only disabled that feature (which was
2833 integer_t which)
2842 task->vtimers |= which;
2844 switch (which) {
2888 integer_t which)
2831 task_vtimer_set( task_t task, integer_t which) argument
2886 task_vtimer_clear( task_t task, integer_t which) argument
2900 task_vtimer_update( __unused task_t task, integer_t which, uint32_t *microsecs) argument
[all...]
/xnu-2422.115.4/bsd/dev/i386/
H A Dinstr_size.c78 * instruction's memory access (if any), depending on the value of `which'.
86 dtrace_dis_isize(uchar_t *instr, dis_isize_t which, model_t model, int *rmindex) argument
101 if (which == DIS_ISIZE_INSTR)
H A Ddtrace_isa.c55 * APPLE NOTE: The regmap is used to decode which 64bit uregs[] register
87 dtrace_probe_error(dtrace_state_t *state, dtrace_epid_t epid, int which, argument
95 dtrace_probe( dtrace_probeid_error, (uint64_t)(uintptr_t)state, epid, which, fltoffs, fault );
368 * and back the pc up to the caller, which is stored at the
382 * We might have a top of stack override, in which case we just
518 * been fixed up, which is good for calling
/xnu-2422.115.4/bsd/kern/
H A Dkern_resource.c114 int dosetrlimit(struct proc *p, u_int which, struct rlimit *limp);
183 switch (uap->which) {
330 AUDIT_ARG(cmd, uap->which);
338 switch (uap->which) {
671 return (dosetrlimit(p, uap->which, &alim));
685 dosetrlimit(struct proc *p, u_int which, struct rlimit *limp) argument
690 int posix = (which & _RLIMIT_POSIX_FLAG) ? 1 : 0;
693 which &= ~_RLIMIT_POSIX_FLAG;
695 if (which >= RLIM_NLIMITS)
698 alimp = &p->p_rlimit[which];
1107 proc_limitget(proc_t p, int which, struct rlimit * limp) argument
[all...]
H A Dsys_socket.c312 soo_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx) argument
324 if (mac_socket_check_select(vfs_context_ucred(ctx), so, which) != 0)
330 switch (which) {
H A Dkern_time.c235 * Compute the total correction and the rate at which to apply it.
323 if (uap->which > ITIMER_PROF)
329 switch (uap->which) {
398 if (uap->which > ITIMER_PROF)
426 switch (uap->which) {
478 * Else compute next time timer should go off which is > current time.
551 * of microseconds, which must be less than a second,
557 * on which it is operating cannot change in value.
601 * results which are before the beginning,
642 * to which tv
[all...]
H A Dsys_pipe.c165 static int pipe_select(struct fileproc *fp, int which, void * wql,
324 * returns the size which matches max(current,expected)
1175 pipe_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx) argument
1195 if (mac_pipe_check_select(vfs_context_ucred(ctx), rpipe, which)) {
1200 switch (which) {
1623 * on which the select is set. If the peer pipe is closed and freed
/xnu-2422.115.4/security/
H A Dmac_pipe.c198 mac_pipe_check_select(kauth_cred_t cred, struct pipe *cpipe, int which) argument
205 MAC_CHECK(pipe_check_select, cred, cpipe, cpipe->pipe_label, which);
H A Dmac_socket.c301 mac_socket_check_select(kauth_cred_t cred, struct socket *so, int which) argument
309 (socket_t)so, so->so_label, which);
/xnu-2422.115.4/osfmk/mach/
H A Dhost_priv.defs105 * Sets the default memory manager, the port to which
147 * at which the allocation actually took place is returned.
214 which : int;
223 which : int;
339 * This can then be used to communicate with that daemon, which
/xnu-2422.115.4/bsd/netinet/
H A Dip_icmp.c666 * or anonymous), use the address which corresponds
914 * For now we separate the TCP and UDP subsystems w/ different 'which'
926 badport_bandlim(int which) argument
946 if (icmplim <= 0 || which > BANDLIM_MAX || which < 0)
949 secs = time - lticks[which];
956 if (lpackets[which] > icmplim) {
958 bandlimittype[which],
959 lpackets[which],
963 lticks[which]
[all...]
/xnu-2422.115.4/bsd/sys/
H A Dspawn_internal.h33 * This file contains internal data structures which are externally represented
71 int which; member in struct:_ps_port_action
H A Dfile_internal.h176 int (*fo_select) (struct fileproc *fp, int which,
207 int fo_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx);
H A Dsystm.h92 * Without initialization, securelevel loads in the BSS area which only
159 int seltrue(dev_t dev, int which, struct proc *p);
H A Dconf.h112 typedef int select_fcn_t(dev_t dev, int which, void * wql, struct proc *p);
/xnu-2422.115.4/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c36 #define TEST_STRING "Some text!!! Yes indeed, some of that very structure which has passed on man's knowledge for generations."
1581 char *which = NULL; local
1583 which = argv[1];
1586 if ((!which) || (strcmp(which, "all") == 0))
1588 else if (strcmp(which, "delete") == 0)
1590 else if (strcmp(which, "write") == 0)
1592 else if (strcmp(which, "extend") == 0)
1594 else if (strcmp(which, "attrib") == 0)
1596 else if (strcmp(which, "lin
[all...]
/xnu-2422.115.4/libsyscall/wrappers/spawn/
H A Dposix_spawn.c480 * sigdefault A pointer to the sigset_t from which to
508 * Parameters: attr The spawn attributes object for which
540 * sigmask A pointer to the sigset_t from which to
790 * which The particular port to be set
800 int which)
805 .which = which,
817 * mask A bitfield indicating which exceptions
1437 * file_actions spawn file actions object which
1440 * attrp spawn attributes object which
797 posix_spawnattr_setspecialport_np( posix_spawnattr_t *attr, mach_port_t new_port, int which) argument
[all...]
/xnu-2422.115.4/makedefs/
H A DMakeInc.cmd158 # $(CC), which controls the target compiler
213 # $(1) is an un-expanded TARGET_CONFIGS_UC list, which must be consumed
/xnu-2422.115.4/osfmk/console/
H A Dvideo_console.c138 unsigned int bottom, int which);
267 static void gc_clear_line(unsigned int xx, unsigned int yy, int which);
269 unsigned int bottom, int which);
295 gc_clear_line(unsigned int xx, unsigned int yy, int which) argument
306 switch (which) {
330 int which)
338 switch (which) {
362 gc_ops.clear_screen(xx, yy, top, bottom, which);
1356 unsigned int scrreg_bottom, int which)
1372 switch (which) {
329 gc_clear_screen(unsigned int xx, unsigned int yy, int top, unsigned int bottom, int which) argument
1355 vc_clear_screen(unsigned int xx, unsigned int yy, unsigned int scrreg_top, unsigned int scrreg_bottom, int which) argument
[all...]
/xnu-2422.115.4/osfmk/vm/
H A Dpmap.h97 int which);
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_vnops.c127 static int vn_select( struct fileproc *fp, int which, void * wql,
557 * of a filesystem, which can't be "looked up" in the sense of VNOP_LOOKUP(),
558 * and for shadow files, which do not live on the same filesystems as their "parents."
819 /* "resid" should be bounded above by "len," which is an int */
1074 * which to get the credential, at this point, so use that
1388 vn_select(struct fileproc *fp, int which, void *wql, __unused vfs_context_t ctx) argument
1404 error = mac_vnode_check_select(ctx, vp, which);
1407 error = VNOP_SELECT(vp, which, fp->f_fglob->fg_flag, wql, ctx);
1739 kn->kn_fflags |= hint; /* Set which event occurred */

Completed in 188 milliseconds

12