/freebsd-current/lib/libc/nameser/ |
H A D | ns_parse.c | 73 int ns_msg_getflag(ns_msg handle, int flag) { argument 74 return(((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift); 102 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { argument 106 handle->_msg = msg; 107 handle->_eom = eom; 110 NS_GET16(handle->_id, msg); 113 NS_GET16(handle->_flags, msg); 117 NS_GET16(handle->_counts[i], msg); 120 if (handle->_counts[i] == 0) 121 handle 138 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) argument 201 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) argument [all...] |
/freebsd-current/contrib/netbsd-tests/libexec/ld.elf_so/ |
H A D | h_df_1_noopen.c | 38 void *handle; local 40 handle = dlopen("libpthread.so", RTLD_NOLOAD); 41 if (handle == NULL)
|
H A D | t_dlerror-cleared.c | 47 void *handle; local 54 handle = dlopen("libnonexistent.so", RTLD_LAZY); 55 ATF_CHECK(handle == NULL); 56 handle = dlopen("libm.so", RTLD_NOW); 57 ATF_CHECK(handle);
|
H A D | t_dlvsym.c | 45 void *handle; local 53 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY); 56 ATF_CHECK(handle != NULL); 58 sym = dlvsym(handle, "testfunc", "V_1"); 65 dlclose(handle); 77 void *handle; local 85 handle = dlopen("libh_helper_symver_dso.so", RTLD_LAZY); 88 ATF_CHECK(handle != NULL); 90 sym = dlvsym(handle, "testfunc", "V_3"); 97 dlclose(handle); 110 void *handle; local 140 void *handle; local 170 void *handle; local [all...] |
/freebsd-current/tools/regression/tls/ttls3/ |
H A D | tls-test.c | 32 void *handle; local 36 handle = dlopen("libtls-test.so.1", RTLD_NOW); 37 if (!handle) { 44 __gl_tls_test = dlsym(handle, "__gl_tls_test"); 48 dlclose(handle); 54 dlclose(handle);
|
/freebsd-current/contrib/openpam/lib/libpam/ |
H A D | openpam_dlfunc.h | 37 dlfunc(void *handle, const char *symbol) argument 40 return ((dlfunc_t)dlsym(handle, symbol));
|
/freebsd-current/contrib/netbsd-tests/lib/csu/ |
H A D | h_initfini3.cxx | 12 void *handle; local 15 handle = dlopen("h_initfini3_dso.so", RTLD_NOW | RTLD_LOCAL); 16 if (handle == NULL) 19 dlclose(handle);
|
/freebsd-current/sys/dev/drm2/ |
H A D | drm_memory.c | 39 #define vunmap(handle) 54 void drm_free_agp(DRM_AGP_MEM * handle, int pages) argument 59 if (!agpdev || !handle) 62 agp_free_memory(agpdev, handle); 67 int drm_bind_agp(DRM_AGP_MEM * handle, unsigned int start) argument 72 if (!agpdev || !handle) 75 return -agp_bind_memory(agpdev, handle, start * PAGE_SIZE); 79 int drm_unbind_agp(DRM_AGP_MEM * handle) argument 84 if (!agpdev || !handle) 87 return -agp_unbind_memory(agpdev, handle); [all...] |
/freebsd-current/crypto/heimdal/lib/gssapi/krb5/ |
H A D | copy_ccache.c | 74 gsskrb5_cred handle; local 81 handle = calloc(1, sizeof(*handle)); 82 if (handle == NULL) { 87 HEIMDAL_MUTEX_init(&handle->cred_id_mutex); 89 handle->usage = 0; 94 handle->usage |= GSS_C_INITIATE; 97 &handle->principal); 99 free(handle); 108 handle [all...] |
H A D | add_cred.c | 51 gsskrb5_cred cred, handle; local 54 handle = NULL; 99 handle = calloc(1, sizeof(*handle)); 100 if (handle == NULL) { 106 handle->usage = cred_usage; 107 handle->lifetime = cred->lifetime; 108 handle->principal = NULL; 109 handle->keytab = NULL; 110 handle [all...] |
/freebsd-current/crypto/openssl/providers/fips/ |
H A D | fips_entry.c | 13 int OSSL_provider_init(const OSSL_CORE_HANDLE *handle, argument 18 return OSSL_provider_init_int(handle, in, out, provctx);
|
/freebsd-current/contrib/libpcap/ |
H A D | pcap-dbus.c | 54 dbus_read(pcap_t *handle, int max_packets _U_, pcap_handler callback, u_char *user) argument 56 struct pcap_dbus *handlep = handle->priv; 69 /* XXX handle->opt.timeout = timeout_ms; */ 71 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Connection closed"); 75 if (handle->break_loop) { 76 handle->break_loop = 0; 84 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Disconnected"); 90 /* pkth.caplen = min (payload_len, handle->snapshot); */ 93 if (handle->fcode.bf_insns == NULL || 94 pcap_filter(handle 106 dbus_write(pcap_t *handle, const void *buf, int size) argument 128 dbus_stats(pcap_t *handle, struct pcap_stat *stats) argument 139 dbus_cleanup(pcap_t *handle) argument 171 dbus_activate(pcap_t *handle) argument [all...] |
H A D | pcap-bt-linux.c | 193 bt_activate(pcap_t* handle) argument 195 struct pcap_bt *handlep = handle->priv; 203 if (sscanf(handle->opt.device, BT_IFACE"%d", &dev_id) != 1) 205 snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, 207 handle->opt.device); 219 if (handle->snapshot <= 0 || handle->snapshot > MAXIMUM_SNAPLEN) 220 handle->snapshot = MAXIMUM_SNAPLEN; 223 handle->bufsize = BT_CTRL_SIZE+sizeof(pcap_bluetooth_h4_header)+handle 319 bt_read_linux(pcap_t *handle, int max_packets _U_, pcap_handler callback, u_char *user) argument 405 bt_inject_linux(pcap_t *handle, const void *buf _U_, int size _U_) argument 414 bt_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument [all...] |
H A D | pcap-linux.c | 247 static void destroy_ring(pcap_t *handle); 248 static int create_ring(pcap_t *handle, int *status); 249 static int prepare_tpacket_socket(pcap_t *handle); 320 static int enter_rfmon_mode(pcap_t *handle, int sock_fd, 322 static int iface_get_ts_types(const char *device, pcap_t *handle, 324 static int iface_get_offload(pcap_t *handle); 326 static int fix_program(pcap_t *handle, struct sock_fprog *fcode); 327 static int fix_offset(pcap_t *handle, struct bpf_insn *p); 328 static int set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode); 329 static int reset_kernel_filter(pcap_t *handle); 341 pcap_t *handle; local 439 get_mac80211_phydev(pcap_t *handle, const char *device, char *phydev_path, size_t phydev_max_pathlen) argument 481 nl80211_init(pcap_t *handle, struct nl80211_state *state, const char *device) argument 535 add_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state, const char *device, const char *mondevice) argument 640 del_mon_if(pcap_t *handle, int sock_fd, struct nl80211_state *state, const char *device, const char *mondevice) argument 694 pcap_protocol(pcap_t *handle) argument 706 pcap_can_set_rfmon_linux(pcap_t *handle) argument 940 pcap_breakloop_linux(pcap_t *handle) argument 956 set_vlan_offset(pcap_t *handle) argument 993 pcap_activate_linux(pcap_t *handle) argument 1150 pcap_set_datalink_linux(pcap_t *handle, int dlt) argument 1169 linux_check_direction(const pcap_t *handle, const struct sockaddr_ll *sll) argument 1225 device_still_exists(pcap_t *handle) argument 1266 pcap_inject_linux(pcap_t *handle, const void *buf, int size) argument 1308 pcap_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument 1776 pcap_setdirection_linux(pcap_t *handle, pcap_direction_t d) argument 1829 map_arphrd_to_dlt(pcap_t *handle, int arptype, const char *device, int cooked_ok) argument 2277 set_dlt_list_cooked(pcap_t *handle) argument 2299 setup_socket(pcap_t *handle, int is_any_device) argument 2661 setup_mmapped(pcap_t *handle, int *status) argument 2724 init_tpacket(pcap_t *handle, int version, const char *version_str) argument 2792 prepare_tpacket_socket(pcap_t *handle) argument 2869 create_ring(pcap_t *handle, int *status) argument 3296 destroy_ring(pcap_t *handle) argument 3341 pcap_t *handle = sp->pd; local 3350 pcap_getnonblock_linux(pcap_t *handle) argument 3359 pcap_setnonblock_linux(pcap_t *handle, int nonblock) argument 3412 pcap_get_ring_frame_status(pcap_t *handle, int offset) argument 3435 pcap_wait_for_frames_mmap(pcap_t *handle) argument 3788 pcap_handle_packet_mmap( pcap_t *handle, pcap_handler callback, u_char *user, unsigned char *frame, unsigned int tp_len, unsigned int tp_mac, unsigned int tp_snaplen, unsigned int tp_sec, unsigned int tp_usec, int tp_vlan_tci_valid, __u16 tp_vlan_tci, __u16 tp_vlan_tpid) argument 4078 pcap_read_linux_mmap_v2(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument 4175 pcap_read_linux_mmap_v3(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument 4316 pcap_setfilter_linux(pcap_t *handle, struct bpf_program *filter) argument 4647 enter_rfmon_mode(pcap_t *handle, int sock_fd, const char *device) argument 4805 iface_set_all_ts_types(pcap_t *handle, char *ebuf) argument 4826 iface_get_ts_types(const char *device, pcap_t *handle, char *ebuf) argument 4946 iface_get_ts_types(const char *device, pcap_t *handle, char *ebuf) argument 5002 iface_ethtool_flag_ioctl(pcap_t *handle, int cmd, const char *cmdname, int eperm_ok) argument 5048 iface_get_offload(pcap_t *handle) argument 5139 iface_dsa_get_proto_info(const char *device, pcap_t *handle) argument 5261 fix_program(pcap_t *handle, struct sock_fprog *fcode) argument 5330 fix_offset(pcap_t *handle, struct bpf_insn *p) argument 5415 set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode) argument 5542 reset_kernel_filter(pcap_t *handle) argument [all...] |
H A D | pcap-netfilter-linux.c | 86 static int nfqueue_send_verdict(const pcap_t *handle, uint16_t group_id, u_int32_t id, u_int32_t verdict); 90 netfilter_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument 92 struct pcap_netfilter *handlep = handle->priv; 100 if (handle->break_loop) { 106 handle->break_loop = 0; 109 len = handle->cc; 117 * to set handle->break_loop (we ignore it on other 121 len = recv(handle->fd, handle->buffer, handle 310 netfilter_set_datalink(pcap_t *handle, int dlt) argument 317 netfilter_stats_linux(pcap_t *handle, struct pcap_stat *stats) argument 328 netfilter_inject_linux(pcap_t *handle, const void *buf _U_, int size _U_) argument 342 netfilter_send_config_msg(const pcap_t *handle, uint16_t msg_type, int ack, u_int8_t family, u_int16_t res_id, const struct my_nfattr *mynfa) argument 430 nflog_send_config_msg(const pcap_t *handle, uint8_t family, u_int16_t group_id, const struct my_nfattr *mynfa) argument 436 nflog_send_config_cmd(const pcap_t *handle, uint16_t group_id, u_int8_t cmd, u_int8_t family) argument 451 nflog_send_config_mode(const pcap_t *handle, uint16_t group_id, u_int8_t copy_mode, u_int32_t copy_range) argument 467 nfqueue_send_verdict(const pcap_t *handle, uint16_t group_id, u_int32_t id, u_int32_t verdict) argument 483 nfqueue_send_config_msg(const pcap_t *handle, uint8_t family, u_int16_t group_id, const struct my_nfattr *mynfa) argument 489 nfqueue_send_config_cmd(const pcap_t *handle, uint16_t group_id, u_int8_t cmd, u_int16_t pf) argument 505 nfqueue_send_config_mode(const pcap_t *handle, uint16_t group_id, u_int8_t copy_mode, u_int32_t copy_range) argument 521 netfilter_activate(pcap_t* handle) argument [all...] |
H A D | pcap-haiku.cpp | 50 pcap_read_haiku(pcap_t* handle, int maxPackets _U_, pcap_handler callback, argument 55 u_char* buffer = (u_char*)handle->buffer + handle->offset; 59 if (handle->break_loop) { 62 handle->break_loop = 0; 67 bytesReceived = recvfrom(handle->fd, buffer, handle->bufsize, MSG_TRUNC, 77 snprintf(handle->errbuf, sizeof(handle->errbuf), 83 if (captureLength > handle 110 pcap_inject_haiku(pcap_t *handle, const void *buffer, int size) argument 122 pcap_stats_haiku(pcap_t *handle, struct pcap_stat *stats) argument 147 pcap_activate_haiku(pcap_t *handle) argument 252 pcap_t* handle = pcap_create_common(errorBuffer, local [all...] |
H A D | pcap-bt-monitor-linux.c | 94 bt_monitor_read(pcap_t *handle, int max_packets _U_, pcap_handler callback, u_char *user) argument 105 pktd = (u_char *)handle->buffer + BT_CONTROL_SIZE; 111 iv[1].iov_len = handle->snapshot; 117 msg.msg_control = handle->buffer; 121 ret = recvmsg(handle->fd, &msg, 0); 122 if (handle->break_loop) 124 handle->break_loop = 0; 134 pcap_fmt_errmsg_for_errno(handle->errbuf, PCAP_ERRBUF_SIZE, 153 if (handle->fcode.bf_insns == NULL || 154 pcap_filter(handle 162 bt_monitor_inject(pcap_t *handle, const void *buf _U_, int size _U_) argument 180 bt_monitor_activate(pcap_t* handle) argument [all...] |
H A D | pcap-rdmasniff.c | 67 rdmasniff_stats(pcap_t *handle, struct pcap_stat *stat) argument 69 struct pcap_rdmasniff *priv = handle->priv; 79 rdmasniff_cleanup(pcap_t *handle) argument 81 struct pcap_rdmasniff *priv = handle->priv; 92 pcap_cleanup_live_common(handle); 96 rdmasniff_post_recv(pcap_t *handle, uint64_t wr_id) argument 98 struct pcap_rdmasniff *priv = handle->priv; 103 sg_entry.addr = (uintptr_t) handle->buffer + RDMASNIFF_RECEIVE_SIZE * wr_id; 115 rdmasniff_read(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument 117 struct pcap_rdmasniff *priv = handle 196 pcap_t *handle = sp->pd; local 205 rdmasniff_activate(pcap_t *handle) argument [all...] |
/freebsd-current/sys/dev/vmware/vmci/ |
H A D | vmci_kernel_api_2.h | 25 int vmci_doorbell_create(struct vmci_handle *handle, uint32_t flags, 28 int vmci_doorbell_destroy(struct vmci_handle handle); 29 int vmci_doorbell_notify(struct vmci_handle handle,
|
/freebsd-current/contrib/netbsd-tests/lib/libpthread/dlopen/ |
H A D | t_dlopen.c | 54 void *handle; local 56 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 57 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror()); 59 testf_dso_null = dlsym(handle, "testf_dso_null"); 64 ATF_REQUIRE(dlclose(handle) == 0); 78 void *handle; local 84 handle = dlopen(DSO, RTLD_NOW | RTLD_LOCAL); 85 ATF_REQUIRE_MSG(handle != NULL, "dlopen fails: %s", dlerror()); 87 testf_dso_null = dlsym(handle, "testf_dso_null"); 94 ATF_REQUIRE(dlclose(handle) 110 void *handle; local 142 void *handle; local [all...] |
/freebsd-current/contrib/less/ |
H A D | lglob.h | 47 #define GLOB_FIRST_FAILED(handle) ((handle) != 0) 48 #define GLOB_NEXT_NAME(handle,fndp) _dos_findnext(fndp) 49 #define GLOB_NAME_DONE(handle) 51 #define DECL_GLOB_NAME(fnd,drive,dir,fname,ext,handle) \ 57 int handle; 62 #define GLOB_FIRST_FAILED(handle) ((handle) == -1) 63 #define GLOB_NEXT_NAME(handle,fndp) _findnext(handle, fnd [all...] |
/freebsd-current/lib/libgpio/ |
H A D | gpio.c | 71 gpio_close(gpio_handle_t handle) argument 73 close(handle); 77 gpio_pin_list(gpio_handle_t handle, gpio_config_t **pcfgs) argument 83 if (ioctl(handle, GPIOMAXPIN, &maxpins) < 0) 95 gpio_pin_config(handle, &cfgs[i]); 103 gpio_pin_config(gpio_handle_t handle, gpio_config_t *cfg) argument 110 if (ioctl(handle, GPIOGETCONFIG, &gppin) < 0) 120 gpio_pin_set_name(gpio_handle_t handle, gpio_pin_t pin, char *name) argument 129 if (ioctl(handle, GPIOSETNAME, &gppin) < 0) 136 gpio_pin_set_flags(gpio_handle_t handle, gpio_config_ argument 151 gpio_pin_get(gpio_handle_t handle, gpio_pin_t pin) argument 164 gpio_pin_set(gpio_handle_t handle, gpio_pin_t pin, gpio_value_t value) argument 180 gpio_pin_toggle(gpio_handle_t handle, gpio_pin_t pin) argument 193 gpio_pin_low(gpio_handle_t handle, gpio_pin_t pin) argument 199 gpio_pin_high(gpio_handle_t handle, gpio_pin_t pin) argument 205 gpio_pin_set_flag(gpio_handle_t handle, gpio_pin_t pin, uint32_t flag) argument 219 gpio_pin_input(gpio_handle_t handle, gpio_pin_t pin) argument 225 gpio_pin_output(gpio_handle_t handle, gpio_pin_t pin) argument 231 gpio_pin_opendrain(gpio_handle_t handle, gpio_pin_t pin) argument 237 gpio_pin_pushpull(gpio_handle_t handle, gpio_pin_t pin) argument 243 gpio_pin_tristate(gpio_handle_t handle, gpio_pin_t pin) argument 249 gpio_pin_pullup(gpio_handle_t handle, gpio_pin_t pin) argument 255 gpio_pin_pulldown(gpio_handle_t handle, gpio_pin_t pin) argument 261 gpio_pin_invin(gpio_handle_t handle, gpio_pin_t pin) argument 267 gpio_pin_invout(gpio_handle_t handle, gpio_pin_t pin) argument 273 gpio_pin_pulsate(gpio_handle_t handle, gpio_pin_t pin) argument [all...] |
/freebsd-current/sys/dev/qat/qat_common/ |
H A D | qat_hal.c | 44 #define AE(handle, ae) ((handle)->hal_handle->aes[ae]) 101 qat_hal_set_live_ctx(struct icp_qat_fw_loader_handle *handle, argument 105 AE(handle, ae).live_ctx_mask = ctx_mask; 110 qat_hal_rd_ae_csr(struct icp_qat_fw_loader_handle *handle, argument 118 *value = GET_AE_CSR(handle, ae, csr); 119 if (!(GET_AE_CSR(handle, ae, LOCAL_CSR_STATUS) & LCS_STATUS)) 128 qat_hal_wr_ae_csr(struct icp_qat_fw_loader_handle *handle, argument 136 SET_AE_CSR(handle, ae, csr, value); 137 if (!(GET_AE_CSR(handle, a 146 qat_hal_get_wakeup_event(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, unsigned int *events) argument 160 qat_hal_wait_cycles(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int cycles, int chk_inactive) argument 204 qat_hal_set_ae_ctx_mode(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char mode) argument 225 qat_hal_set_ae_nn_mode(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char mode) argument 249 qat_hal_set_ae_lm_mode(struct icp_qat_fw_loader_handle *handle, unsigned char ae, enum icp_qat_uof_regtype lm_type, unsigned char mode) argument 286 qat_hal_set_ae_tindex_mode(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char mode) argument 301 qat_hal_set_ae_scs_mode(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char mode) argument 370 qat_hal_get_ae_mask_gen4(struct icp_qat_fw_loader_handle *handle) argument 385 qat_hal_reset(struct icp_qat_fw_loader_handle *handle) argument 435 qat_hal_wr_indr_csr(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int ctx_mask, unsigned int ae_csr, unsigned int csr_val) argument 456 qat_hal_rd_indr_csr(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, unsigned int ae_csr, unsigned int *csr_val) argument 471 qat_hal_put_sig_event(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int ctx_mask, unsigned int events) argument 489 qat_hal_put_wakeup_event(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int ctx_mask, unsigned int events) argument 510 qat_hal_check_ae_alive(struct icp_qat_fw_loader_handle *handle) argument 543 qat_hal_check_ae_active(struct icp_qat_fw_loader_handle *handle, unsigned int ae) argument 558 qat_hal_reset_timestamp(struct icp_qat_fw_loader_handle *handle) argument 590 qat_hal_init_esram(struct icp_qat_fw_loader_handle *handle) argument 622 qat_hal_clr_reset(struct icp_qat_fw_loader_handle *handle) argument 730 qat_hal_disable_ctx(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int ctx_mask) argument 775 qat_hal_wr_uwords(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int uaddr, unsigned int words_num, const uint64_t *uword) argument 818 qat_hal_wr_coalesce_uwords(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int uaddr, unsigned int words_num, u64 *uword) argument 860 qat_hal_enable_ctx(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int ctx_mask) argument 874 qat_hal_clear_xfer(struct icp_qat_fw_loader_handle *handle) argument 892 qat_hal_clear_gpr(struct icp_qat_fw_loader_handle *handle) argument 990 qat_hal_check_imr(struct icp_qat_fw_loader_handle *handle) argument 1021 struct icp_qat_fw_loader_handle *handle; local 1131 qat_hal_deinit(struct icp_qat_fw_loader_handle *handle) argument 1140 qat_hal_start(struct icp_qat_fw_loader_handle *handle) argument 1193 qat_hal_stop(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int ctx_mask) argument 1202 qat_hal_set_pc(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int ctx_mask, unsigned int upc) argument 1215 qat_hal_get_uwords(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int uaddr, unsigned int words_num, uint64_t *uword) argument 1249 qat_hal_wr_umem(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned int uaddr, unsigned int words_num, unsigned int *data) argument 1277 qat_hal_exec_micro_inst(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, uint64_t *micro_inst, unsigned int inst_num, int code_off, unsigned int max_cycle, unsigned int *endpc) argument 1437 qat_hal_rd_rel_reg(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int *data) argument 1515 qat_hal_wr_rel_reg(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int data) argument 1604 qat_hal_exec_micro_init_lm(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, int *pfirst_exec, uint64_t *micro_inst, unsigned int inst_num) argument 1637 qat_hal_batch_wr_lm(struct icp_qat_fw_loader_handle *handle, unsigned char ae, struct icp_qat_uof_batch_init *lm_init_header) argument 1684 qat_hal_put_rel_rd_xfer(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int val) argument 1728 qat_hal_put_rel_wr_xfer(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int data) argument 1786 qat_hal_put_rel_nn(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, unsigned short nn, unsigned int val) argument 1805 qat_hal_convert_abs_to_rel(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned short absreg_num, unsigned short *relreg, unsigned char *ctx) argument 1827 qat_hal_init_gpr(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned long ctx_mask, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int regdata) argument 1864 qat_hal_init_wr_xfer(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned long ctx_mask, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int regdata) argument 1902 qat_hal_init_rd_xfer(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned long ctx_mask, enum icp_qat_uof_regtype reg_type, unsigned short reg_num, unsigned int regdata) argument 1940 qat_hal_init_nn(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned long ctx_mask, unsigned short reg_num, unsigned int regdata) argument [all...] |
/freebsd-current/contrib/wpa/src/ap/ |
H A D | vlan_util.c | 27 struct nl_sock *handle = NULL; local 46 handle = nl_socket_alloc(); 47 if (!handle) { 52 err = nl_connect(handle, NETLINK_ROUTE); 59 err = rtnl_link_get_kernel(handle, 0, if_name, &rlink); 70 err = rtnl_link_get_kernel(handle, 0, vlan_if_name, &rlink); 104 err = rtnl_link_add(handle, rlink, NLM_F_CREATE); 118 if (handle) 119 nl_socket_free(handle); 127 struct nl_sock *handle local [all...] |
/freebsd-current/sys/dev/qat/include/common/ |
H A D | icp_qat_hal.h | 144 #define CAP_CSR_ADDR(csr) (csr + handle->hal_cap_g_ctl_csr_addr_v) 145 #define SET_CAP_CSR(handle, csr, val) \ 146 ADF_CSR_WR(handle->hal_misc_addr_v, CAP_CSR_ADDR(csr), val) 147 #define GET_CAP_CSR(handle, csr) \ 148 ADF_CSR_RD(handle->hal_misc_addr_v, CAP_CSR_ADDR(csr)) 149 #define SET_GLB_CSR(handle, csr, val) \ 151 u32 dev_id = pci_get_device(GET_DEV((handle)->accel_dev)); \ 153 SET_CAP_CSR((handle), (csr), (val)) : \ 154 SET_CAP_CSR((handle), (csr) + GLOBAL_CSR, val); \ 156 #define GET_GLB_CSR(handle, cs [all...] |