Home
last modified time | relevance | path

Searched refs:handlep (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/libpcap/
H A Dpcap-linux.c804 handlep->device, handlep->mondevice); in pcap_cleanup_linux()
1071 handlep->sysfs_dropped = linux_if_drops(handlep->device); in pcap_activate_linux()
1369 handlep->sysfs_dropped = linux_if_drops(handlep->device); in pcap_stats_linux()
1370 handlep->stat.ps_ifdrop += (u_int)(handlep->sysfs_dropped - if_dropped); in pcap_stats_linux()
2373 handlep->cooked = 0; in setup_socket()
2525 handlep->cooked = 1; in setup_socket()
2912 if (handlep->cooked) in create_ring()
3255 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, in create_ring()
3314 (void)munmap(handlep->mmapbuf, handlep->mmapbuflen); in destroy_ring()
3380 handlep->timeout = ~handlep->timeout; in pcap_setnonblock_linux()
[all …]
H A Dpcap-dbus.c56 struct pcap_dbus *handlep = handle->priv; in dbus_read() local
95 handlep->packets_read++; in dbus_read()
109 struct pcap_dbus *handlep = handle->priv; in dbus_write() local
120 dbus_connection_send(handlep->conn, msg, NULL); in dbus_write()
121 dbus_connection_flush(handlep->conn); in dbus_write()
130 struct pcap_dbus *handlep = handle->priv; in dbus_stats() local
132 stats->ps_recv = handlep->packets_read; in dbus_stats()
141 struct pcap_dbus *handlep = handle->priv; in dbus_cleanup() local
143 dbus_connection_unref(handlep->conn); in dbus_cleanup()
184 struct pcap_dbus *handlep = handle->priv; in dbus_activate() local
[all …]
H A Dpcap-usb-linux.c304 handlep->mmapbuflen = len; in usb_mmap()
305 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, PROT_READ, in usb_mmap()
504 handlep->bus_index); in usb_activate()
572 probe_devices(handlep->bus_index); in usb_activate()
599 probe_devices(handlep->bus_index); in usb_activate()
740 handlep->packets_read++; in usb_read_linux_bin()
845 bp = &handlep->mmapbuf[vec[i]]; in usb_read_linux_mmap()
909 handlep->packets_read++; in usb_read_linux_mmap()
939 if (handlep->mmapbuf != NULL) { in usb_cleanup_linux_mmap()
940 munmap(handlep->mmapbuf, handlep->mmapbuflen); in usb_cleanup_linux_mmap()
[all …]
H A Dpcap-haiku.cpp124 struct pcap_haiku* handlep = (struct pcap_haiku*)handle->priv; in pcap_stats_haiku() local
130 prepare_request(request, handlep->device); in pcap_stats_haiku()
139 handlep->stat.ps_recv += request.ifr_stats.receive.packets; in pcap_stats_haiku()
140 handlep->stat.ps_drop += request.ifr_stats.receive.dropped; in pcap_stats_haiku()
141 *stats = handlep->stat; in pcap_stats_haiku()
149 struct pcap_haiku* handlep = (struct pcap_haiku*)handle->priv; in pcap_activate_haiku() local
173 handlep->device = strdup(device); in pcap_activate_haiku()
174 if (handlep->device == NULL) { in pcap_activate_haiku()
H A Dpcap-bt-linux.c195 struct pcap_bt *handlep = handle->priv; in bt_activate() local
234 handlep->dev_id = dev_id; in bt_activate()
279 addr.hci_dev = handlep->dev_id; in bt_activate()
285 errno, "Can't attach to device %d", handlep->dev_id); in bt_activate()
416 struct pcap_bt *handlep = handle->priv; in bt_stats_linux() local
420 dev_info.dev_id = handlep->dev_id; in bt_stats_linux()
H A Dpcap-netfilter-linux.c92 struct pcap_netfilter *handlep = handle->priv; in netfilter_read_linux() local
127 handlep->packets_nobufs++; in netfilter_read_linux()
264 handlep->packets_read++; in netfilter_read_linux()
319 struct pcap_netfilter *handlep = handle->priv; in netfilter_stats_linux() local
321 stats->ps_recv = handlep->packets_read; in netfilter_stats_linux()
322 stats->ps_drop = handlep->packets_nobufs; in netfilter_stats_linux()
H A Dpcap-septel.c254 struct pcap_septel *handlep = p->priv; in septel_stats() local
258 *ps = handlep->stat; in septel_stats()
/freebsd/sys/xen/
H A Dxen_intr.h64 enum intr_type irqflags, xen_intr_handle_t *handlep);
88 void *arg, enum intr_type irqflags, xen_intr_handle_t *handlep);
113 xen_intr_handle_t *handlep);
137 void *arg, enum intr_type irqflags, xen_intr_handle_t *handlep);
154 xen_intr_handle_t *handlep);
239 xen_intr_handle_t *handlep);
/freebsd/lib/libc/rpc/
H A Dgetnetpath.c140 getnetpath(void *handlep) in getnetpath() argument
142 struct netpath_vars *np_sessionp = (struct netpath_vars *)handlep; in getnetpath()
195 endnetpath(void *handlep) in endnetpath() argument
197 struct netpath_vars *np_sessionp = (struct netpath_vars *)handlep; in endnetpath()
H A Dgetnetconfig.c238 getnetconfig(void *handlep) in getnetconfig() argument
240 struct netconfig_vars *ncp = (struct netconfig_vars *)handlep; in getnetconfig()
375 endnetconfig(void *handlep) in endnetconfig() argument
377 struct netconfig_vars *nc_handlep = (struct netconfig_vars *)handlep; in endnetconfig()
/freebsd/sys/dev/sfxge/common/
H A Def10_nic.c705 __out efx_piobuf_handle_t *handlep) in efx_mcdi_alloc_piobuf() argument
712 if (handlep == NULL) { in efx_mcdi_alloc_piobuf()
855 efx_piobuf_handle_t *handlep; in ef10_nic_alloc_piobufs() local
866 if (efx_mcdi_alloc_piobuf(enp, handlep) != 0) in ef10_nic_alloc_piobufs()
879 (void) efx_mcdi_free_piobuf(enp, *handlep); in ef10_nic_alloc_piobufs()
880 *handlep = EFX_PIOBUF_HANDLE_INVALID; in ef10_nic_alloc_piobufs()
889 efx_piobuf_handle_t *handlep; in ef10_nic_free_piobufs() local
895 (void) efx_mcdi_free_piobuf(enp, *handlep); in ef10_nic_free_piobufs()
896 *handlep = EFX_PIOBUF_HANDLE_INVALID; in ef10_nic_free_piobufs()
906 __out efx_piobuf_handle_t *handlep, in ef10_nic_pio_alloc() argument
[all …]
H A Defx_mcdi.c817 __out uint32_t *handlep) in efx_mcdi_get_proxy_handle() argument
828 if ((emrp == NULL) || (handlep == NULL)) { in efx_mcdi_get_proxy_handle()
834 *handlep = emrp->emr_proxy_handle; in efx_mcdi_get_proxy_handle()
837 *handlep = 0; in efx_mcdi_get_proxy_handle()
H A Defx_mcdi.h107 __out uint32_t *handlep);
H A Def10_impl.h848 __out efx_piobuf_handle_t *handlep,
/freebsd/contrib/tcp_wrappers/
H A Dtli.c189 void *handlep; local
202 if ((handlep = setnetconfig()) == 0) {
206 while (config = getnetconfig(handlep)) {
/freebsd/sys/dev/drm2/
H A Ddrm_gem.c219 u32 *handlep) in drm_gem_handle_create() argument
224 *handlep = 0; in drm_gem_handle_create()
225 ret = drm_gem_name_create(&file_priv->object_names, obj, handlep); in drm_gem_handle_create()
234 drm_gem_handle_delete(file_priv, *handlep); in drm_gem_handle_create()
/freebsd/sys/kern/
H A Dsubr_csan.c691 int flags, bus_space_handle_t *handlep) in kcsan_bus_space_map() argument
694 return (bus_space_map(tag, hnd, size, flags, handlep)); in kcsan_bus_space_map()
707 bus_size_t offset, bus_size_t size, bus_space_handle_t *handlep) in kcsan_bus_space_subregion() argument
710 return (bus_space_subregion(tag, hnd, offset, size, handlep)); in kcsan_bus_space_subregion()
718 bus_space_handle_t *handlep) in kcsan_bus_space_alloc() argument
722 boundary, flags, addrp, handlep)); in kcsan_bus_space_alloc()
H A Dsubr_asan.c898 int flags, bus_space_handle_t *handlep) in kasan_bus_space_map() argument
900 return (bus_space_map(tag, hnd, size, flags, handlep)); in kasan_bus_space_map()
912 bus_size_t offset, bus_size_t size, bus_space_handle_t *handlep) in kasan_bus_space_subregion() argument
914 return (bus_space_subregion(tag, hnd, offset, size, handlep)); in kasan_bus_space_subregion()
H A Dsubr_msan.c1361 int flags, bus_space_handle_t *handlep) in kmsan_bus_space_map() argument
1363 return (bus_space_map(tag, hnd, size, flags, handlep)); in kmsan_bus_space_map()
1375 bus_size_t offset, bus_size_t size, bus_space_handle_t *handlep) in kmsan_bus_space_subregion() argument
1377 return (bus_space_subregion(tag, hnd, offset, size, handlep)); in kmsan_bus_space_subregion()
/freebsd/sys/dev/xen/bus/
H A Dxen_intr.c1065 xen_intr_get_evtchn_from_port(evtchn_port_t port, xen_intr_handle_t *handlep) in xen_intr_get_evtchn_from_port() argument
1071 if (handlep == NULL) { in xen_intr_get_evtchn_from_port()
1084 *handlep = xen_intr_handle_from_isrc(xen_intr_port_to_isrc[port]); in xen_intr_get_evtchn_from_port()
/freebsd/stand/efi/libefi/
H A Deficom.c93 efi_serial_init(EFI_HANDLE **handlep, int *nhandles) in efi_serial_init() argument
120 *handlep = handles; in efi_serial_init()
/freebsd/sys/sys/
H A Dpmclog.h303 int pmclog_proc_create(struct thread *td, void **handlep);
/freebsd/sys/dev/xen/gntdev/
H A Dgntdev.c863 xen_intr_handle_t handlep = NULL; in copy_notify_helper() local
871 &handlep) != 0) in copy_notify_helper()
880 destination->notify_evtchn_handle = handlep; in copy_notify_helper()
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_logging.c296 pmclog_proc_create(struct thread *td, void **handlep) in pmclog_proc_create() argument
305 *handlep = ia; in pmclog_proc_create()
/freebsd/crypto/openssh/
H A Dsftp-client.c1542 u_int openmode, Attrib *a, u_char **handlep, size_t *handle_lenp) in send_open() argument
1553 *handlep = NULL; in send_open()
1578 *handlep = handle; in send_open()

12