| /freebsd-13-stable/contrib/libpcap/ |
| HD | pcap-haiku.c | 87 struct pcap_haiku* handlep = (struct pcap_haiku*)handle->priv; in pcap_read_haiku() local 101 handlep->stat.ps_recv++; in pcap_read_haiku() 133 handlep->stat.ps_drop++; in pcap_read_haiku() 167 struct pcap_haiku *handlep = (struct pcap_haiku *)handle->priv; in get_promisc() local 169 if (ioctl_ifreq(handlep->aux_socket, SIOCGIFFLAGS, "SIOCGIFFLAGS", in get_promisc() 170 &handlep->ifreq, handle->errbuf) < 0) in get_promisc() 172 return (handlep->ifreq.ifr_flags & IFF_PROMISC) != 0; in get_promisc() 179 struct pcap_haiku *handlep = (struct pcap_haiku *)handle->priv; in set_promisc() local 181 handlep->ifreq.ifr_flags |= IFF_PROMISC; in set_promisc() 183 handlep->ifreq.ifr_flags &= ~IFF_PROMISC; in set_promisc() [all …]
|
| HD | pcap-linux.c | 381 struct pcap_linux *handlep = handle->priv; in pcapint_create_interface() local 382 handlep->poll_breakloop_fd = -1; in pcapint_create_interface() 542 struct pcap_linux *handlep = handle->priv; in add_mon_if() local 623 handlep->mondevice = strdup(mondevice); in add_mon_if() 624 if (handlep->mondevice == NULL) { in add_mon_if() 792 struct pcap_linux *handlep = handle->priv; in pcap_cleanup_linux() local 798 if (handlep->must_do_on_close != 0) { in pcap_cleanup_linux() 804 if (handlep->must_do_on_close & MUST_DELETE_MONIF) { in pcap_cleanup_linux() 805 ret = nl80211_init(handle, &nlstate, handlep->device); in pcap_cleanup_linux() 808 handlep->device, handlep->mondevice); in pcap_cleanup_linux() [all …]
|
| HD | pcap-dbus.c | 54 struct pcap_dbus *handlep = handle->priv; in dbus_read() local 64 message = dbus_connection_pop_message(handlep->conn); in dbus_read() 68 if (!dbus_connection_read_write(handlep->conn, 100)) { in dbus_read() 78 message = dbus_connection_pop_message(handlep->conn); in dbus_read() 93 handlep->packets_read++; in dbus_read() 107 struct pcap_dbus *handlep = handle->priv; in dbus_write() local 118 dbus_connection_send(handlep->conn, msg, NULL); in dbus_write() 119 dbus_connection_flush(handlep->conn); in dbus_write() 128 struct pcap_dbus *handlep = handle->priv; in dbus_stats() local 130 stats->ps_recv = handlep->packets_read; in dbus_stats() [all …]
|
| HD | pcap-usb-linux.c | 288 struct pcap_usb_linux *handlep = handle->priv; in usb_mmap() local 302 handlep->mmapbuflen = len; in usb_mmap() 303 handlep->mmapbuf = mmap(0, handlep->mmapbuflen, PROT_READ, in usb_mmap() 305 if (handlep->mmapbuf == MAP_FAILED) { in usb_mmap() 463 struct pcap_usb_linux *handlep = handle->priv; in usb_activate() local 490 if (sscanf(handle->opt.device, USB_IFACE"%d", &handlep->bus_index) != 1) in usb_activate() 502 handlep->bus_index); in usb_activate() 570 probe_devices(handlep->bus_index); in usb_activate() 597 probe_devices(handlep->bus_index); in usb_activate() 640 struct pcap_usb_linux *handlep = handle->priv; in usb_stats_linux_bin() local [all …]
|
| HD | pcap-bt-linux.c | 194 struct pcap_bt *handlep = handle->priv; in bt_activate() local 233 handlep->dev_id = dev_id; in bt_activate() 278 addr.hci_dev = handlep->dev_id; in bt_activate() 284 errno, "Can't attach to device %d", handlep->dev_id); in bt_activate() 418 struct pcap_bt *handlep = handle->priv; in bt_stats_linux() local 422 dev_info.dev_id = handlep->dev_id; in bt_stats_linux()
|
| HD | pcap-netfilter-linux.c | 90 struct pcap_netfilter *handlep = handle->priv; in netfilter_read_linux() local 125 handlep->packets_nobufs++; in netfilter_read_linux() 262 handlep->packets_read++; in netfilter_read_linux() 317 struct pcap_netfilter *handlep = handle->priv; in netfilter_stats_linux() local 319 stats->ps_recv = handlep->packets_read; in netfilter_stats_linux() 320 stats->ps_drop = handlep->packets_nobufs; in netfilter_stats_linux()
|
| HD | pcap-septel.c | 252 struct pcap_septel *handlep = p->priv; in septel_stats() local 256 *ps = handlep->stat; in septel_stats()
|
| /freebsd-13-stable/sys/xen/ |
| HD | xen_intr.h | 64 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); 273 xen_intr_handle_t *handlep);
|
| /freebsd-13-stable/lib/libc/rpc/ |
| HD | getnetpath.c | 144 getnetpath(void *handlep) in getnetpath() argument 146 struct netpath_vars *np_sessionp = (struct netpath_vars *)handlep; in getnetpath() 199 endnetpath(void *handlep) in endnetpath() argument 201 struct netpath_vars *np_sessionp = (struct netpath_vars *)handlep; in endnetpath()
|
| HD | getnetconfig.c | 242 getnetconfig(void *handlep) in getnetconfig() argument 244 struct netconfig_vars *ncp = (struct netconfig_vars *)handlep; in getnetconfig() 379 endnetconfig(void *handlep) in endnetconfig() argument 381 struct netconfig_vars *nc_handlep = (struct netconfig_vars *)handlep; in endnetconfig()
|
| /freebsd-13-stable/sys/contrib/openzfs/module/icp/os/ |
| HD | modhash.c | 651 mod_hash_reserve(mod_hash_t *hash, mod_hash_hndl_t *handlep) in mod_hash_reserve() argument 653 *handlep = kmem_cache_alloc(mh_e_cache, hash->mh_sleep); in mod_hash_reserve() 654 if (*handlep == NULL) { in mod_hash_reserve() 663 mod_hash_reserve_nosleep(mod_hash_t *hash, mod_hash_hndl_t *handlep) in mod_hash_reserve_nosleep() argument 665 *handlep = kmem_cache_alloc(mh_e_cache, KM_NOSLEEP); in mod_hash_reserve_nosleep() 666 if (*handlep == NULL) { in mod_hash_reserve_nosleep() 677 mod_hash_cancel(mod_hash_t *hash, mod_hash_hndl_t *handlep) in mod_hash_cancel() argument 679 kmem_cache_free(mh_e_cache, *handlep); in mod_hash_cancel() 680 *handlep = (mod_hash_hndl_t)0; in mod_hash_cancel()
|
| /freebsd-13-stable/sys/dev/sfxge/common/ |
| HD | ef10_nic.c | 705 __out efx_piobuf_handle_t *handlep) in efx_mcdi_alloc_piobuf() argument 712 if (handlep == NULL) { in efx_mcdi_alloc_piobuf() 735 *handlep = MCDI_OUT_DWORD(req, ALLOC_PIOBUF_OUT_PIOBUF_HANDLE); in efx_mcdi_alloc_piobuf() 855 efx_piobuf_handle_t *handlep; in ef10_nic_alloc_piobufs() local 864 handlep = &enp->en_arch.ef10.ena_piobuf_handle[i]; in ef10_nic_alloc_piobufs() 866 if (efx_mcdi_alloc_piobuf(enp, handlep) != 0) in ef10_nic_alloc_piobufs() 877 handlep = &enp->en_arch.ef10.ena_piobuf_handle[i]; 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 [all …]
|
| HD | efx_mcdi.c | 817 __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()
|
| HD | efx_mcdi.h | 107 __out uint32_t *handlep);
|
| HD | ef10_impl.h | 848 __out efx_piobuf_handle_t *handlep,
|
| /freebsd-13-stable/contrib/tcp_wrappers/ |
| HD | tli.c | 189 void *handlep; local 202 if ((handlep = setnetconfig()) == 0) { 206 while (config = getnetconfig(handlep)) {
|
| /freebsd-13-stable/sys/dev/drm2/ |
| HD | drm_gem.c | 219 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-13-stable/sys/kern/ |
| HD | subr_csan.c | 700 int flags, bus_space_handle_t *handlep) in kcsan_bus_space_map() argument 703 return (bus_space_map(tag, hnd, size, flags, handlep)); in kcsan_bus_space_map() 716 bus_size_t offset, bus_size_t size, bus_space_handle_t *handlep) in kcsan_bus_space_subregion() argument 719 return (bus_space_subregion(tag, hnd, offset, size, handlep)); in kcsan_bus_space_subregion() 727 bus_space_handle_t *handlep) in kcsan_bus_space_alloc() argument 731 boundary, flags, addrp, handlep)); in kcsan_bus_space_alloc()
|
| HD | subr_asan.c | 799 int flags, bus_space_handle_t *handlep) in kasan_bus_space_map() argument 801 return (bus_space_map(tag, hnd, size, flags, handlep)); in kasan_bus_space_map() 813 bus_size_t offset, bus_size_t size, bus_space_handle_t *handlep) in kasan_bus_space_subregion() argument 815 return (bus_space_subregion(tag, hnd, offset, size, handlep)); in kasan_bus_space_subregion()
|
| /freebsd-13-stable/stand/efi/loader/ |
| HD | efiserialio.c | 83 efi_serial_init(EFI_HANDLE **handlep, int *nhandles) in efi_serial_init() argument 110 *handlep = handles; in efi_serial_init()
|
| /freebsd-13-stable/sys/sys/ |
| HD | pmclog.h | 300 int pmclog_proc_create(struct thread *td, void **handlep);
|
| /freebsd-13-stable/sys/x86/xen/ |
| HD | xen_intr.c | 1601 xen_intr_get_evtchn_from_port(evtchn_port_t port, xen_intr_handle_t *handlep) in xen_intr_get_evtchn_from_port() argument 1607 if (handlep == NULL) { in xen_intr_get_evtchn_from_port() 1620 *handlep = &xen_intr_port_to_isrc[port]->xi_vector; in xen_intr_get_evtchn_from_port()
|
| /freebsd-13-stable/sys/dev/xen/gntdev/ |
| HD | gntdev.c | 864 xen_intr_handle_t handlep = NULL; in copy_notify_helper() local 872 &handlep) != 0) in copy_notify_helper() 881 destination->notify_evtchn_handle = handlep; in copy_notify_helper()
|
| /freebsd-13-stable/sys/dev/hwpmc/ |
| HD | hwpmc_logging.c | 297 pmclog_proc_create(struct thread *td, void **handlep) in pmclog_proc_create() argument 306 *handlep = ia; in pmclog_proc_create()
|
| /freebsd-13-stable/crypto/openssh/ |
| HD | sftp-client.c | 1542 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()
|