Searched refs:handle (Results 1 - 23 of 23) sorted by relevance

/darwin-on-arm/xnu/bsd/miscfs/devfs/
H A Ddevfs.h89 * A handle to a device node if successful, NULL otherwise.
108 * A handle to a device node if successful, NULL otherwise.
123 int devfs_make_link(void * handle, char *fmt, ...);
133 void devfs_remove(void * handle);
/darwin-on-arm/xnu/security/
H A Dmac_data.c59 mac_find_policy_data(const mac_policy_handle_t handle, const char *key, argument
65 if ((mpc = mac_get_mpc(handle)) != NULL)
H A Dmac_audit.c190 mac_audit_data(int len, u_char *data, mac_policy_handle_t handle)
209 mac_audit_text(char *text, mac_policy_handle_t handle) argument
215 name = mac_get_mpc(handle)->mpc_name;
394 mac_audit_text(__unused char *text, __unused mac_policy_handle_t handle) argument
H A Dmac_base.c261 * handle lower than staticmax are considered "static" and cannot be
264 * Modules with a handle at or above the staticmax high water mark
586 mac_policy_addto_labellist(mac_policy_handle_t handle, int static_entry) argument
595 mpc = mac_get_mpc(handle);
662 new_mlls[mll_free]->mll_handle = handle;
688 mac_policy_removefrom_labellist(mac_policy_handle_t handle) argument
694 mpc = mac_get_mpc(handle);
710 if (mll->mll_handle == handle) {
868 /* Find the first free handle in the list (using our hint). */
880 * we can place its handle adjacen
928 mac_policy_unregister(mac_policy_handle_t handle) argument
[all...]
H A Dmac_policy.h166 allocation calls: one to handle sleepable requests, and one to handle
3465 The policy must handle NULL MBUF labels. This will likely be the case
5658 labeling to be retried at a later access. Failure to handle policy
6396 @brief MAC policy handle type
6398 The MAC handle is used to uniquely identify a loaded policy within
6457 int mac_policy_unregister(mac_policy_handle_t handle);
6462 int mac_audit_text(char *text, mac_policy_handle_t handle);
6508 system objects, and cannot handle objects that have not been
6561 #define MAC_POLICY_SET(handle, mpop
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Dkpi_socketfilter.c336 sflt_handle handle)
338 if (socket == NULL || handle == 0)
347 if (filter->sf_filter.sf_handle == handle) break;
469 sflt_handle handle)
480 ((handle && entry->sfe_filter->sf_filter.sf_handle != handle) ||
481 !handle)) {
521 sflt_handle handle)
523 sflt_notify_internal(so, event, NULL, handle);
1074 sflt_handle handle)
334 sflt_attach_internal( socket_t socket, sflt_handle handle) argument
465 sflt_notify_internal( struct socket *so, sflt_event_t event, void *param, sflt_handle handle) argument
518 sflt_notify_after_register( struct socket *so, sflt_event_t event, sflt_handle handle) argument
1072 sflt_attach( socket_t socket, sflt_handle handle) argument
1083 sflt_detach( socket_t socket, sflt_handle handle) argument
1239 sflt_handle handle = filter->sf_handle; local
1277 sflt_unregister( sflt_handle handle) argument
[all...]
H A Dkern_mman.c158 void *handle; local
277 handle = NULL;
333 * XXX hack to handle use of /dev/zero to map anon memory (ala
399 handle = (void *)vp;
478 if (handle == NULL) {
H A Dtty_ptmx.c145 _devfs_setattr(void * handle, unsigned short mode, uid_t uid, gid_t gid) argument
147 devdirent_t *direntp = (devdirent_t *)handle;
248 void *pt_devhandle; /* cloned slave device handle */
H A Dtty_pty.c94 int _devfs_setattr(void * handle, unsigned short mode, uid_t uid, gid_t gid);
132 void *pt_devhandle; /* slave device handle for grantpt() */
/darwin-on-arm/xnu/bsd/net/
H A Dkext_net.h53 extern errno_t sflt_attach_internal(struct socket *so, sflt_handle handle);
84 * 'handle' is the NKE to be inserted, 'where' is an insertion point,
H A Dkext_net.c119 find_nke(unsigned int handle) argument
124 { if (nfp->nf_handle == handle)
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_gss.h110 uint32_t gss_clnt_handle_len; // Size of server's ctx handle
117 gssd_cred gss_clnt_cred_handle; // Opaque cred handle from gssd
118 gssd_ctx gss_clnt_context; // Opaque context handle from gssd
151 gssd_cred gss_svc_cred_handle; // Opaque cred handle from gssd
152 gssd_ctx gss_svc_context; // Opaque context handle from gssd
161 #define SVC_CTX_HASH(handle) ((handle) % SVC_CTX_HASHSZ)
H A Dnfs_gss.c265 if (req->r_wrongsec) /* Not OK if we're trying to handle a wrongsec error */
971 * should have its session key and a handle that it can use to refer to its
1777 * Find a server context based on a handle value received
1781 nfs_gss_svc_ctx_find(uint32_t handle) argument
1787 if (handle == 0)
1790 head = &nfs_gss_svc_ctx_hashtbl[SVC_CTX_HASH(handle)];
1799 if (cp->gss_svc_handle == handle) {
1841 * Give the client a random handle so that if we reboot
1929 * being set up, or is complete. Then we use the handle to find
1939 uint32_t handle, handle_le local
[all...]
/darwin-on-arm/xnu/bsd/sys/
H A Dkpi_socketfilter.h129 @abstract Inbound and outbound data filters may handle many
153 @param handle The socket filter handle used to identify this filter.
155 typedef void (*sf_unregistered_func)(sflt_handle handle);
562 @param handle The sf_handle of the socket filter to unregister.
565 extern errno_t sflt_unregister(sflt_handle handle);
572 @param handle The handle of the registered filter to be attached.
581 @param handle The handle o
[all...]
/darwin-on-arm/xnu/bsd/net/pktsched/
H A Dpktsched_cbq.c307 /* return handle to user space. */
308 cl->stats_.handle = qid;
348 * free the class handle
379 cl->stats_.handle, cl->pri_);
386 * free the class handle
400 /* convert class handle to class pointer */
411 * the handle. if it fails, do the linear table search.
415 cl->stats_.handle == chandle)
419 cl->stats_.handle == chandle)
628 cbq_style(cbqp), cl->stats_.handle,
[all...]
H A Dpktsched_cbq.h122 u_int32_t handle; member in struct:cbq_classstats
H A Dpktsched_rmclass.h173 u_int32_t handle; member in struct:_rm_class_stats_
H A Dpktsched_rmclass.c863 CBQTRACE(rmc_queue_packet, 'type', cl->stats_.handle);
1412 cl->stats_.handle);
1580 CBQTRACE(rmc_delay_action, 'yled', cl->stats_.handle);
1652 CBQTRACE(rmc_restart, 'trts', cl->stats_.handle);
1705 cl->sfb_ = sfb_alloc(ifp, cl->stats_.handle,
1716 cl->stats_.handle, cl->pri_);
/darwin-on-arm/xnu/osfmk/i386/commpage/
H A Dcommpage.c117 ipc_port_t handle; local
145 &handle, // this is the object handle we get
154 handle, // port is the memory entry we just made
162 ipc_port_release(handle);
165 * cannot handle disjoint permissions at this time.
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOMapper.h101 static void FreeARTTable(OSData *handle, IOByteCount size);
/darwin-on-arm/xnu/iokit/IOKit/pwr_mgt/
H A DRootDomain.h64 * <link>IOPMrootDomain::createPMAssertion</link>, PM returns a handle to
222 @param handle Caller should keep the OSObject * returned here. If non-NULL,
223 handle will have a retain count of 1 on return. To deregister, pass to
232 OSObject **handle); // out param
243 @param handle Caller should keep the OSObject * returned here. If non-NULL,
244 handle will have a retain count of 1 on return. To deregister, pass to
254 OSObject **handle); // out param
/darwin-on-arm/xnu/bsd/vfs/
H A Dkpi_vfs.c910 /* return the private data handle stored in mount_t */
917 /* set the private data handle in mount_t */
1024 * It returns a handle which is to be used to when the FS is to be removed
1029 vfs_fsadd(struct vfs_fsentry *vfe, vfstable_t * handle) argument
1105 * Also handle backwards compatibility.
1187 *handle = vfstable_add(newvfstbl);
1196 bcopy((*handle)->vfc_name, vfsc.vfc_name, sizeof(vfsc.vfc_name));
1197 vfsc.vfc_typenum = (*handle)->vfc_typenum;
1198 vfsc.vfc_refcount = (*handle)->vfc_refcount;
1199 vfsc.vfc_flags = (*handle)
1217 vfs_fsremove(vfstable_t handle) argument
6470 VNOP_MONITOR(vnode_t vp, uint32_t events, uint32_t flags, void *handle, vfs_context_t ctx) argument
[all...]
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOPMrootDomain.cpp311 * Opaque handle passed to clients of registerPMSettingController()
960 // events, and to handle those events on the PM work loop.
1788 // Submit a power event to handle those changes on the PM work loop.
3449 OSObject **handle)
3454 func, target, refcon, handle);
3470 // * handle - This is a return argument. We will populate this pointer upon
3483 OSObject **handle)
3492 NULL == handle)
3502 *handle = NULL;
3522 // Return handle t
3444 registerPMSettingController( const OSSymbol * settings[], IOPMSettingControllerCallback func, OSObject *target, uintptr_t refcon, OSObject **handle) argument
3477 registerPMSettingController( const OSSymbol * settings[], uint32_t supportedPowerSources, IOPMSettingControllerCallback func, OSObject *target, uintptr_t refcon, OSObject **handle) argument
[all...]

Completed in 234 milliseconds