Home
last modified time | relevance | path

Searched refs:mhandle (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/common/io/bpf/
H A Dbpf_mac.c83 mac_bpf_close(uintptr_t mhandle) in mac_bpf_close() argument
85 mac_close((mac_handle_t)mhandle); in mac_bpf_close()
89 mac_bpf_name(uintptr_t mhandle) in mac_bpf_name() argument
91 return (mac_name((mac_handle_t)mhandle)); in mac_bpf_name()
95 mac_bpf_type(uintptr_t mhandle) in mac_bpf_type() argument
97 return (mac_nativetype((mac_handle_t)mhandle)); in mac_bpf_type()
101 mac_bpf_sdu_get(uintptr_t mhandle, uint_t *mtup) in mac_bpf_sdu_get() argument
103 mac_sdu_get((mac_handle_t)mhandle, NULL, mtup); in mac_bpf_sdu_get()
133 mac_bpf_client_open(uintptr_t mhandle, uintptr_t *chandlep) in mac_bpf_client_open() argument
135 return (mac_client_open((mac_handle_t)mhandle, in mac_bpf_client_open()
/titanic_41/usr/src/uts/sun4v/sys/
H A Dldc.h184 int ldc_mem_alloc_handle(ldc_handle_t handle, ldc_mem_handle_t *mhandle);
185 int ldc_mem_free_handle(ldc_mem_handle_t mhandle);
186 int ldc_mem_bind_handle(ldc_mem_handle_t mhandle, caddr_t vaddr, size_t len,
188 int ldc_mem_unbind_handle(ldc_mem_handle_t mhandle);
189 int ldc_mem_info(ldc_mem_handle_t mhandle, ldc_mem_info_t *minfo);
190 int ldc_mem_nextcookie(ldc_mem_handle_t mhandle, ldc_mem_cookie_t *cookie);
195 int ldc_mem_map(ldc_mem_handle_t mhandle, ldc_mem_cookie_t *cookie,
198 int ldc_mem_unmap(ldc_mem_handle_t mhandle);
199 int ldc_mem_acquire(ldc_mem_handle_t mhandle, uint64_t offset, uint64_t size);
200 int ldc_mem_release(ldc_mem_handle_t mhandle, uint64_t offset, uint64_t size);
[all …]
/titanic_41/usr/src/uts/common/inet/ipnet/
H A Dipnet_bpf.c83 ipnet_bpf_close(uintptr_t mhandle) in ipnet_bpf_close() argument
85 ipnet_close_byhandle((ipnetif_t *)mhandle); in ipnet_bpf_close()
89 ipnet_bpf_name(uintptr_t mhandle) in ipnet_bpf_name() argument
91 return (ipnet_name((ipnetif_t *)mhandle)); in ipnet_bpf_name()
96 ipnet_bpf_type(uintptr_t mhandle) in ipnet_bpf_type() argument
103 ipnet_bpf_sdu_get(uintptr_t mhandle, uint_t *mtup) in ipnet_bpf_sdu_get() argument
168 ipnet_bpf_client_open(uintptr_t mhandle, uintptr_t *chandlep) in ipnet_bpf_client_open() argument
171 return (ipnet_client_open((ipnetif_t *)mhandle, in ipnet_bpf_client_open()
H A Dipnet.c2173 ipnet_promisc_add(void *handle, uint_t how, void *data, uintptr_t *mhandle, in ipnet_promisc_add() argument
2231 *mhandle = (uintptr_t)ipnet; in ipnet_promisc_add()
/titanic_41/usr/src/uts/sun4v/io/
H A Dldc_shm.c68 static int i_ldc_mem_acquire_release(ldc_mem_handle_t mhandle,
72 static int i_ldc_mem_map(ldc_mem_handle_t mhandle, ldc_mem_cookie_t *cookie,
75 static int i_ldc_mem_bind_handle(ldc_mem_handle_t mhandle, caddr_t vaddr,
192 ldc_mem_alloc_handle(ldc_handle_t handle, ldc_mem_handle_t *mhandle) in ldc_mem_alloc_handle() argument
237 *mhandle = (ldc_mem_handle_t)mhdl; in ldc_mem_alloc_handle()
251 ldc_mem_free_handle(ldc_mem_handle_t mhandle) in ldc_mem_free_handle() argument
256 if (mhandle == NULL) { in ldc_mem_free_handle()
261 mhdl = (ldc_mhdl_t *)mhandle; in ldc_mem_free_handle()
330 ldc_mem_bind_handle(ldc_mem_handle_t mhandle, caddr_t vaddr, size_t len, in ldc_mem_bind_handle() argument
340 return (i_ldc_mem_bind_handle(mhandle, vaddr, len, mtype, perm, in ldc_mem_bind_handle()
[all …]