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

12

/darwin-on-arm/xnu/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...]
/darwin-on-arm/xnu/osfmk/i386/
H A Dcopyio.c388 copyio_phys(addr64_t source, addr64_t sink, vm_size_t csize, int which) argument
399 if (which & cppvPsnk) {
414 assert(!((current_thread()->machine.specFlags & CopyIOActive) && ((which & cppvKmap) == 0)));
433 retval = copyio(ctype, vaddr, window_offset, csize, NULL, which & cppvKmap);
481 retval = copyio(ctype, vaddr, window_offset, csize, NULL, which & cppvKmap);
522 copypv(addr64_t src64, addr64_t snk64, unsigned int size, int which) argument
528 (unsigned)snk64, size, which, 0);
530 if ((which & (cppvPsrc | cppvPsnk)) == 0 ) /* Make sure that only one is virtual */
533 if ((which & (cppvPsrc | cppvPsnk)) == (cppvPsrc | cppvPsnk))
549 if (which
[all...]
/darwin-on-arm/xnu/osfmk/kern/
H A Dmisc_protos.h59 int which,
64 int which,
77 int which,
216 int which,
H A Dipc_tt.c725 int which,
734 switch (which) {
774 int which,
783 switch (which) {
827 int which,
841 switch (which) {
895 int which,
904 switch (which) {
936 if ((TASK_SEATBELT_PORT == which || TASK_ACCESS_PORT == which)
723 thread_get_special_port( thread_t thread, int which, ipc_port_t *portp) argument
772 thread_set_special_port( thread_t thread, int which, ipc_port_t port) argument
825 task_get_special_port( task_t task, int which, ipc_port_t *portp) argument
893 task_set_special_port( task_t task, int which, ipc_port_t port) argument
[all...]
H A Dtask.h498 integer_t which);
502 integer_t which);
506 integer_t which,
H A Dtask.c1539 * removing it completely, I have only disabled that feature (which was
2125 integer_t which)
2134 task->vtimers |= which;
2136 switch (which) {
2180 integer_t which)
2186 task->vtimers &= ~which;
2195 integer_t which,
2205 assert(task->vtimers & which);
2209 switch (which) {
2293 * the given task. Policy must be a policy which i
2123 task_vtimer_set( task_t task, integer_t which) argument
2178 task_vtimer_clear( task_t task, integer_t which) argument
2192 task_vtimer_update( __unused task_t task, integer_t which, uint32_t *microsecs) argument
[all...]
/darwin-on-arm/xnu/osfmk/mach/
H A Dmach_norma.defs159 * Specify a node upon which children tasks will be created.
224 which : int;
233 which : int;
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
/darwin-on-arm/xnu/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
/darwin-on-arm/xnu/osfmk/arm/
H A Dloose_ends.c84 * second edition, which describes a stream cipher allegedly
86 * which is a trade secret). The same algorithm is used as a stream
257 * [2**32 % upper_bound, 2**32) which maps back to [0, upper_bound)
415 kern_return_t copypv(addr64_t src64, addr64_t snk64, unsigned int size, int which) argument
420 if ((which & (cppvPsrc | cppvPsnk)) == 0) /* Make sure that only one is virtual */
423 if ((which & (cppvPsrc | cppvPsnk)) == (cppvPsrc | cppvPsnk))
429 if (which & cppvPsrc)
432 if (which & cppvPsnk)
438 if (!(which & (cppvKmap | cppvPsrc)))
440 else if (!(which
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_resource.c111 int dosetrlimit(struct proc *p, u_int which, struct rlimit *limp);
170 switch (uap->which) {
309 AUDIT_ARG(cmd, uap->which);
317 switch (uap->which) {
658 return (dosetrlimit(p, uap->which, &alim));
672 dosetrlimit(struct proc *p, u_int which, struct rlimit *limp) argument
677 int posix = (which & _RLIMIT_POSIX_FLAG) ? 1 : 0;
680 which &= ~_RLIMIT_POSIX_FLAG;
682 if (which >= RLIM_NLIMITS)
685 alimp = &p->p_rlimit[which];
1069 proc_limitget(proc_t p, int which, struct rlimit * limp) argument
[all...]
H A Dsys_socket.c362 soo_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx) argument
374 if (mac_socket_check_select(vfs_context_ucred(ctx), so, which) != 0);
380 switch (which) {
H A Dkern_time.c236 * Compute the total correction and the rate at which to apply it.
324 if (uap->which > ITIMER_PROF)
330 switch (uap->which) {
399 if (uap->which > ITIMER_PROF)
427 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.c166 static int pipe_select(struct fileproc *fp, int which, void * wql,
323 * returns the size which matches max(current,expected)
1176 pipe_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx) argument
1196 if (mac_pipe_check_select(vfs_context_ucred(ctx), rpipe, which)) {
1201 switch (which) {
1623 * on which the select is set. If the peer pipe is closed and freed
/darwin-on-arm/xnu/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);
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_icmp.c664 * or anonymous), use the address which corresponds
908 * For now we separate the TCP and UDP subsystems w/ different 'which'
920 badport_bandlim(int which) argument
940 if (icmplim <= 0 || which > BANDLIM_MAX || which < 0)
945 secs = time.tv_sec - lticks[which].tv_sec ;
951 if ((secs > 1) || (secs == 1 && (lticks[which].tv_usec > time.tv_usec))) {
952 if (lpackets[which] > icmplim) {
954 bandlimittype[which],
955 lpackets[which],
[all...]
/darwin-on-arm/xnu/bsd/sys/
H A Dspawn_internal.h33 * This file contains internal data structures which are externally represented
70 int which; member in struct:_ps_port_action
H A Dfile_internal.h157 int (*fo_select) (struct fileproc *fp, int which,
187 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.h118 typedef int select_fcn_t(dev_t dev, int which, void * wql, struct proc *p);
/darwin-on-arm/xnu/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c35 #define TEST_STRING "Some text!!! Yes indeed, some of that very structure which has passed on man's knowledge for generations."
1580 char *which = NULL; local
1582 which = argv[1];
1585 if ((!which) || (strcmp(which, "all") == 0))
1587 else if (strcmp(which, "delete") == 0)
1589 else if (strcmp(which, "write") == 0)
1591 else if (strcmp(which, "extend") == 0)
1593 else if (strcmp(which, "attrib") == 0)
1595 else if (strcmp(which, "lin
[all...]
/darwin-on-arm/xnu/bsd/netat/
H A Dsys_glue.c630 int _ATselect(fp, which, wql, ctx)
632 int which;
655 if (which == FREAD) {
663 else if (which == POLLOUT) {
1053 gbuf_alloc() is a wrapper for m_lgbuf_alloc(), which is used to
/darwin-on-arm/xnu/osfmk/console/
H A Dvideo_console.c142 unsigned int bottom, int which);
265 static void gc_clear_line(unsigned int xx, unsigned int yy, int which);
267 unsigned int bottom, int which);
293 gc_clear_line(unsigned int xx, unsigned int yy, int which) argument
304 switch (which) {
328 int which)
336 switch (which) {
360 gc_ops.clear_screen(xx, yy, top, bottom, which);
1378 unsigned int scrreg_bottom, int which)
1394 switch (which) {
327 gc_clear_screen(unsigned int xx, unsigned int yy, int top, unsigned int bottom, int which) argument
1377 vc_clear_screen(unsigned int xx, unsigned int yy, unsigned int scrreg_top, unsigned int scrreg_bottom, int which) argument
[all...]

Completed in 213 milliseconds

12