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

12

/macosx-10.5.8/xnu-1228.15.4/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);
/macosx-10.5.8/xnu-1228.15.4/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;
400 mac_audit_text(__unused char *text, __unused mac_policy_handle_t handle) argument
H A Dmac_base.c262 * handle lower than staticmax are considered "static" and cannot be
265 * Modules with a handle at or above the staticmax high water mark
578 mac_policy_addto_labellist(mac_policy_handle_t handle, int static_entry) argument
587 mpc = mac_get_mpc(handle);
654 new_mlls[mll_free]->mll_handle = handle;
680 mac_policy_removefrom_labellist(mac_policy_handle_t handle) argument
686 mpc = mac_get_mpc(handle);
702 if (mll->mll_handle == handle) {
880 /* Find the first free handle in the list (using our hint). */
892 * we can place its handle adjacen
940 mac_policy_unregister(mac_policy_handle_t handle) argument
[all...]
H A Dmac_policy.h156 allocation calls: one to handle sleepable requests, and one to handle
3297 The policy must handle NULL MBUF labels. This will likely be the case
5371 labeling to be retried at a later access. Failure to handle policy
6050 @brief MAC policy handle type
6052 The MAC handle is used to uniquely identify a loaded policy within
6111 int mac_policy_unregister(mac_policy_handle_t handle);
6116 int mac_audit_text(char *text, mac_policy_handle_t handle);
6162 system objects, and cannot handle objects that have not been
6215 #define MAC_POLICY_SET(handle, mpop
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkpi_socketfilter.c198 sflt_handle handle,
206 /* Find the filter by the handle */
211 if (filter->sf_filter.sf_handle == handle)
398 sflt_handle handle)
400 if (socket == NULL || handle == 0)
403 return sflt_attach_private(socket, NULL, handle, 0);
409 sflt_handle handle)
414 if (socket == NULL || handle == 0)
421 if (filter->sfe_filter->sf_filter.sf_handle == handle)
515 sflt_handle handle)
195 sflt_attach_private( struct socket *so, struct socket_filter *filter, sflt_handle handle, int sock_locked) argument
396 sflt_attach( socket_t socket, sflt_handle handle) argument
407 sflt_detach( socket_t socket, sflt_handle handle) argument
514 sflt_unregister( sflt_handle handle) argument
[all...]
H A Dkern_mman.c205 void *handle; local
308 handle = NULL;
362 * XXX hack to handle use of /dev/zero to map anon memory (ala
423 handle = (void *)vp;
487 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 */
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_gss.h82 uint32_t gss_clnt_handle_len; // Size of server's ctx handle
90 uint32_t gss_clnt_cred_handle; // Opaque cred handle from gssd
91 uint32_t gss_clnt_context; // Opaque context handle from gssd
124 uint32_t gss_svc_cred_handle; // Opaque cred handle from gssd
125 uint32_t gss_svc_context; // Opaque context handle from gssd
135 #define SVC_CTX_HASH(handle) ((handle) % SVC_CTX_HASHSZ)
H A Dnfs_gss.c917 * should have its session key and a handle that it can use to refer to its
1597 * Find a server context based on a handle value received
1601 nfs_gss_svc_ctx_find(uint32_t handle) argument
1606 head = &nfs_gss_svc_ctx_hashtbl[SVC_CTX_HASH(handle)];
1610 if (cp->gss_svc_handle == handle)
1702 * being set up, or is complete. Then we use the handle to find
1712 uint32_t handle, handle_len; local
1780 * Use the handle to find the context
1782 if (handle_len != sizeof(handle)) {
1786 nfsm_chain_get_32(error, nmc, handle);
2194 uint32_t handle = 0; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dkext_net.h90 int sflt_attach_private(struct socket *so, struct socket_filter *filter, sflt_handle handle, int locked);
103 * '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)
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dkpi_socketfilter.h125 @abstract Inbound and outbound data filters may handle many
149 @param handle The socket filter handle used to identify this filter.
151 typedef void (*sf_unregistered_func)(sflt_handle handle);
545 @param handle The sf_handle of the socket filter to unregister.
548 errno_t sflt_unregister(sflt_handle handle);
555 @param handle The handle of the registered filter to be attached.
564 @param handle The handle o
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/commpage/
H A Dcommpage.c107 ipc_port_t handle; local
134 &handle, // this is the object handle we get
143 handle, // port is the memory entry we just made
151 ipc_port_release(handle);
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOMapper.h98 static void FreeARTTable(OSData *handle, IOByteCount size);
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/commpage/
H A Dcommpage.c202 ipc_port_t handle; local
229 &handle, // this is the object handle we get
238 handle, // port is the memory entry we just made
246 ipc_port_release(handle);
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/pwr_mgt/
H A DRootDomain.h183 @param handle Caller should keep the OSObject * returned here. If non-NULL,
184 handle will have a retain count of 1 on return. To deregister, pass to
192 OSObject **handle); // out param
203 @param handle Caller should keep the OSObject * returned here. If non-NULL,
204 handle will have a retain count of 1 on return. To deregister, pass to
213 OSObject **handle); // out param
/macosx-10.5.8/xnu-1228.15.4/libkern/ppc/
H A Dmemcmp.s49 bgt cr1,Llong ; handle long strings
77 ; handle long strings
H A Dbcmp.s62 ; handle long strings
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOPMrootDomain.cpp1472 OSObject **handle)
1477 func, target, refcon, handle);
1493 // * handle - This is a return argument. We will populate this pointer upon
1505 OSObject **handle)
1514 NULL == handle)
1548 *handle = pmso;
1555 if(handle) *handle = NULL;
1665 // event that we must handle.
1741 // event that we must handle
1467 registerPMSettingController( const OSSymbol * settings[], IOPMSettingControllerCallback func, OSObject *target, uintptr_t refcon, OSObject **handle) argument
1499 registerPMSettingController( const OSSymbol * settings[], uint32_t supportedPowerSources, IOPMSettingControllerCallback func, OSObject *target, uintptr_t refcon, OSObject **handle) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dhw_lock.s1016 bne-- mlckspin02 ; No, go handle contention
1321 bne-- mltSlow02 ; No, go handle contention
1527 bne-- L_mutex_unlock_slow ; No, go handle contention
1969 bne-- rwlespin1 ; No, go handle contention
2008 bne-- rwlsspin1 ; No, go handle contention
2044 bne-- rwlsespin1 ; No, go handle contention
2091 bne-- rwlesspin1 ; No, go handle contention
2131 bne-- rwtlespin1 ; No, go handle contention
2173 bne-- rwtlsspin1 ; No, go handle contention
2249 bne-- rwldspin1 ; No, go handle contentio
[all...]
H A Dcswtch.s525 * Entered to handle the floating-point unavailable exception and
598 ; and handle specially if so.
1266 * Entered to handle the vector unavailable exception and
1342 ; and handle specially if so.
2256 vr_ld128b: ; here to handle next cache line
2278 vr_ld128d: ; here to handle next cache line
2300 vr_ld128f: ; here to handle next cache line
2338 vr_ld32test2: ; here to handle next cache line
2348 vr_ld32test4: ; here to handle next cache line
2358 vr_ld32test6: ; here to handle nex
[all...]
H A Dsavearea_asm.s371 svgt1: ; handle 32-bit processor
798 bf-- pf64Bitb,saveRet32 ; handle 32-bit machine
799 b saveRet64 ; handle 64-bit machine
989 bf-- pf64Bitb,saveTrim32 ; handle 32-bit processors
990 b saveTrim64 ; handle 64-bit processors
1277 bf-- pf64Bitb,saveRecover32 ; handle 32-bit processor
1278 b saveRecover64 ; handle 64-bit processor
1612 bt++ pf64Bitb,saveRestore64 ; handle a 64-bit processor
H A DEmulate.s134 bne cr1,eExit ; Not one we handle...
196 b EXT(EmulExit) ; Bail out to handle ISI...
264 ; Here we handle floating point loads
291 ; Here we handle floating point stores
359 blt- aaPassAlong ; We do not handle any of these (lwarx, stwcx., eciwx, ecowx)...
393 ; Here we handle the set up for the lmw and stmw. After that, we split off to the
1045 b EXT(EmulExit) ; Bail out to handle ISI...
H A Dskiplists.s50 * and kSkipListMaxLists.) Thus, we can optimally handle pmaps with as many as 4**12
395 bne-- cr0,mapSrchFull64e ; handle mapping larger than one page
478 bne- cr0,mapSrchFull32e ; handle mapping larger than one page
561 bf-- pf64Bitb,mapIns32 ; handle 32-bit processor
1019 bf-- pf64Bitb,mapVer32 ; go handle a 32-bit processor
1116 bne++ mapVer64a ; yes, handle
1239 bne+ mapVer32a ; yes, handle

Completed in 191 milliseconds

12