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

12

/xnu-2422.115.4/security/
H A Dmac_framework.h292 int which);
380 int which);
510 int which);
H A Dmac_policy.h189 This is the MAC Framework audit postselect, which is called before
214 This is the MAC Framework audit preselect, which is called before a
453 @param element_name Name of the label namespace for which labels should be
475 @param element_name Name of the label namespace for which labels should be
507 @param element_name Name of the label namespace for which the label should
1044 @param element_name Name of the label namespace for which labels should be
1073 @param element_name Name of the label namespace for which the label should
1215 This is the MAC Framework device access control, which is called by the I/O
1400 @param element_name Name of the label namespace for which labels should be
1429 @param element_name Name of the label namespace for which th
[all...]
H A Dmac_vfs.c1110 mac_vnode_check_select(vfs_context_t ctx, struct vnode *vp, int which) argument
1120 MAC_CHECK(vnode_check_select, cred, vp, vp->v_label, which);
1621 * If no backing file, let the policy choose which label to use.
/xnu-2422.115.4/bsd/dev/dtrace/
H A Ddtrace.c165 * that affect system-wide DTrace behavior, and for which the default behavior
263 * which means it would fall into the kalloc.128 bucket. With
291 * calls into the providers -- which then call back into the framework,
668 * any context in which C may be called, arbitrarily locks may be held,
777 * Check to see if the address is within a memory region to which a store may
853 * region in which a load may be issued given the user's privilege level;
878 * You can obviously read that which you can store.
897 * region in which a load may be issued given the user's privilege level;
923 * region in which a load may be issued given the user's privilege level.
1920 * in dtrace_dynvar_clean() -- which flushe
[all...]
/xnu-2422.115.4/bsd/kern/
H A Dposix_sem.c176 static int psem_select (struct fileproc *fp, int which, void *wql, vfs_context_t ctx);
293 * the whiteout flag is stored in the nc_vpid field which is
462 * signal success or failure, which is why we set its default value
1109 psem_select(__unused struct fileproc *fp, __unused int which, argument
H A Dposix_shm.c180 static int pshm_select (struct fileproc *fp, int which, void *wql, vfs_context_t ctx);
308 * the whiteout flag is stored in the nc_vpid field which is
824 * This is called only from shm_open which holds pshm_lock();
1244 pshm_select(__unused struct fileproc *fp, __unused int which, __unused void *wql, argument
H A Dsysv_shm.c683 * The low 9 bits of shmflag are the mode bits being requested, which
883 * Indirect parameters: uap->which msg call to invoke (index in array of shm calls)
901 if (uap->which >= sizeof(shmcalls)/sizeof(shmcalls[0]))
903 return ((*shmcalls[uap->which])(p, &uap->a2, retval));
995 * dictates this filed be a size_t, which is 64 bits when
H A Dsysv_msg.c335 * Indirect parameters: uap->which msg call to invoke (index in array of msg calls)
351 if (uap->which >= sizeof(msgcalls)/sizeof(msgcalls[0]))
353 return ((*msgcalls[uap->which])(p, &uap->a2, retval));
H A Dsysv_sem.c235 * Indirect parameters: uap->which sem call to invoke (index in array of sem calls)
254 if (uap->which >= sizeof(semcalls)/sizeof(semcalls[0]))
256 return ((*semcalls[uap->which])(p, &uap->a2, retval));
1509 * no longer needed, and we dont. We would have to track which processes
1510 * know about which IPC_PRIVATE semaphores, updating the list after
H A Dkern_event.c125 static int kqueue_select(struct fileproc *fp, int which, void *wql,
534 * The knote may be attached to a different process, which may exit,
575 * has reparented a process, in which case notifications
1790 * filter which have already been triggered.
2308 kqueue_select(struct fileproc *fp, int which, void *wql, argument
2316 if (which != FREAD)
2347 * KN_STAYQUEUED knote, which may or may not have
H A Dkern_descrip.c2279 /* Bzero the section beyond that which was needed */
2949 * *result (modified) The fd which was allocated
3077 * Parameters: p Process in which fd lives
3137 * Parameters: p Process in which fd lives
3193 * Parameters: p Process in which fd lives
3254 * Parameters: p Process in which fd lives
3309 * Parameters: p Process in which fd lives
3364 * Parameters: p Process in which fd lives
3422 * Parameters: p Process in which fd lives
3448 * underlying type, which woul
5494 fo_select(struct fileproc *fp, int which, void *wql, vfs_context_t ctx) argument
[all...]
H A Dkern_exec.c175 * Mach things for which prototypes are unavailable from Mach headers
251 * int segment from which string comes
311 * int segment from which path comes
329 * "path", which could be an absolute pathname. This might be
397 * size. If this is the case, then break out the arguments, if any, which
802 * uthread are actually those of our parent, and our proc, which we
842 * execve() following a vfork(), which is an unrecoverable condition.
887 * Close file descriptors which specify close-on-exec.
1022 * install new helpers which no longer belong to this process!
1086 * Apply the apptype state (which prime
[all...]
/xnu-2422.115.4/bsd/net/pktsched/
H A Dpktsched_hfsc.c321 * packets managed by ifcq_disc and altq_disc instances, which
1093 struct service_curve *sc, struct internal_sc *isc, const char *which)
1100 which, sc->m1, (sc->fl & HFSCF_M1_PCT) ? "%" : " bps", isc->sm1,
1101 which, sc->d,
1102 which, sc->m2, (sc->fl & HFSCF_M2_PCT) ? "%" : " bps", isc->sm2,
1092 hfsc_print_sc(struct hfsc_if *hif, u_int32_t qid, u_int64_t eff_rate, struct service_curve *sc, struct internal_sc *isc, const char *which) argument
/xnu-2422.115.4/bsd/vfs/
H A Dkpi_vfs.c234 * The return codes documented above are those which may currently
235 * be returned by HFS from hfs_vfs_root, which is a simple wrapper
237 * additional error codes which may be propagated from underlying
716 * (which is discouraged). If commands are sent to the device driver without
785 * It returns a handle which is to be used to when the FS is to be removed
1091 vfs_context_get_special_port(vfs_context_t ctx, int which, ipc_port_t *portp) argument
1098 return task_get_special_port(task, which, portp);
1114 vfs_context_set_special_port(vfs_context_t ctx, int which, ipc_port_t port) argument
1121 return task_set_special_port(task, which, port);
1298 * Given a context, for all fields of vfs_context_t which
[all...]
H A Dvfs_fsevents.c1145 // otherwise schedule a timer (if one isn't already set) which will
1278 // destination of a rename which we'll process separately
1523 // its type or which device it is for)
1582 // release any references we might have on vnodes which are
1782 fseventsf_select(struct fileproc *fp, int which, __unused void *wql, vfs_context_t ctx) argument
1787 if ((which != FREAD) || (fseh->watcher->flags & WATCHER_CLOSING)) {
1886 kn->kn_fflags |= hint; /* Set which event occurred */
2303 * A struct describing which functions will get invoked for certain
/xnu-2422.115.4/bsd/net/
H A Dbpf.c161 * BSD now stores the bpf_d in the dev_t which is a struct
865 * If the hold buffer is empty, then do a timed sleep, which
937 * which may be nothing. If there is something
1881 bpfselect(dev_t dev, int which, void * wql, struct proc *p) argument
1908 switch (which) {
2100 * "bpf_mlock" prior to calling ifnet_set_promiscuous (which will
H A Drtsock.c435 * field, which might not be properly cleared by the requestor.
608 * On Darwin, we call rt_setif which contains the
709 rt_setmetrics(u_int32_t which, struct rt_metrics *in, struct rtentry *out) argument
715 #define metric(f, e) if (which & (f)) out->rt_rmx.e = in->e;
1321 * This is the analogue to the rt_newaddrmsg which performs the same
/xnu-2422.115.4/iokit/Kernel/
H A DIOPMrootDomain.cpp449 // eventsRecordingLevel is a bitfield defining which PM driver events will get logged
656 A device is always in the highest power state which satisfies its driver,
665 It implements several power states which map to what we see as Sleep and On.
3576 // * target - caller may provide an OSObject *, which PM will pass as an
3578 // * refcon - caller may provide an void *, which PM will pass as an
8786 IOPMDriverAssertionType which,
8798 track.assertionBits = which;
8785 createAssertion( IOPMDriverAssertionType which, IOPMDriverAssertionLevel level, IOService *serviceID, const char *whoItIs, IOPMDriverAssertionID *outID) argument

Completed in 239 milliseconds

12