Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 1124) sorted by relevance

12345678910>>...45

/f-stack/dpdk/drivers/net/ark/
H A Dark_pktgen.c98 rte_free(handle); in ark_pktgen_uninit()
102 ark_pktgen_run(ark_pkt_gen_t handle) in ark_pktgen_run() argument
143 !ark_pktgen_paused(handle)) { in ark_pktgen_reset()
151 !ark_pktgen_paused(handle)) { in ark_pktgen_reset()
155 ark_pktgen_pause(handle); in ark_pktgen_reset()
418 ark_pktgen_set_eth_type(handle, in ark_pktgen_setup()
439 ark_pktgen_set_num_pkts(handle, in ark_pktgen_setup()
451 ark_pktgen_set_pkt_ctrl(handle, in ark_pktgen_setup()
463 ark_pktgen_pause(handle); in ark_pktgen_setup()
466 ark_pktgen_reset(handle); in ark_pktgen_setup()
[all …]
H A Dark_pktgen.h55 void ark_pktgen_uninit(ark_pkt_gen_t handle);
56 void ark_pktgen_run(ark_pkt_gen_t handle);
57 void ark_pktgen_pause(ark_pkt_gen_t handle);
58 uint32_t ark_pktgen_paused(ark_pkt_gen_t handle);
59 uint32_t ark_pktgen_is_gen_forever(ark_pkt_gen_t handle);
60 uint32_t ark_pktgen_is_running(ark_pkt_gen_t handle);
61 uint32_t ark_pktgen_tx_done(ark_pkt_gen_t handle);
62 void ark_pktgen_reset(ark_pkt_gen_t handle);
63 void ark_pktgen_wait_done(ark_pkt_gen_t handle);
64 uint32_t ark_pktgen_get_pkts_sent(ark_pkt_gen_t handle);
[all …]
H A Dark_pktchkr.c102 rte_free(handle); in ark_pktchkr_uninit()
106 ark_pktchkr_run(ark_pkt_chkr_t handle) in ark_pktchkr_run() argument
124 ark_pktchkr_stop(ark_pkt_chkr_t handle) in ark_pktchkr_stop() argument
395 ark_pktchkr_set_payload_byte(handle, in ark_pktchkr_setup()
397 ark_pktchkr_set_src_mac_addr(handle, in ark_pktchkr_setup()
399 ark_pktchkr_set_dst_mac_addr(handle, in ark_pktchkr_setup()
402 ark_pktchkr_set_eth_type(handle, in ark_pktchkr_setup()
422 ark_pktchkr_set_num_pkts(handle, in ark_pktchkr_setup()
430 ark_pktchkr_set_pkt_ctrl(handle, in ark_pktchkr_setup()
443 ark_pktchkr_stop(handle); in ark_pktchkr_setup()
[all …]
H A Dark_pktchkr.h68 void ark_pktchkr_uninit(ark_pkt_chkr_t handle);
69 void ark_pktchkr_run(ark_pkt_chkr_t handle);
70 int ark_pktchkr_stopped(ark_pkt_chkr_t handle);
71 void ark_pktchkr_stop(ark_pkt_chkr_t handle);
72 int ark_pktchkr_is_running(ark_pkt_chkr_t handle);
73 int ark_pktchkr_get_pkts_sent(ark_pkt_chkr_t handle);
78 void ark_pktchkr_set_num_pkts(ark_pkt_chkr_t handle, uint32_t x);
81 void ark_pktchkr_set_eth_type(ark_pkt_chkr_t handle, uint32_t x);
84 void ark_pktchkr_setup(ark_pkt_chkr_t handle);
85 void ark_pktchkr_dump_stats(ark_pkt_chkr_t handle);
[all …]
H A Dark_pktdir.c30 ark_pktdir_uninit(ark_pkt_dir_t handle) in ark_pktdir_uninit() argument
32 struct ark_pkt_dir_inst *inst = (struct ark_pkt_dir_inst *)handle; in ark_pktdir_uninit()
38 ark_pktdir_setup(ark_pkt_dir_t handle, uint32_t v) in ark_pktdir_setup() argument
40 struct ark_pkt_dir_inst *inst = (struct ark_pkt_dir_inst *)handle; in ark_pktdir_setup()
45 ark_pktdir_status(ark_pkt_dir_t handle) in ark_pktdir_status() argument
47 struct ark_pkt_dir_inst *inst = (struct ark_pkt_dir_inst *)handle; in ark_pktdir_status()
52 ark_pktdir_stall_cnt(ark_pkt_dir_t handle) in ark_pktdir_stall_cnt() argument
54 struct ark_pkt_dir_inst *inst = (struct ark_pkt_dir_inst *)handle; in ark_pktdir_stall_cnt()
/f-stack/dpdk/app/test/
H A Dtest_hash.c50 if (handle) rte_hash_free(handle); \
58 if (handle) rte_fbk_hash_free(handle); \
1642 if (handle != NULL) in test_hash_add_delete_jhash2()
1663 if (handle == NULL) in test_hash_add_delete_2_jhash2()
1677 if (handle != NULL) in test_hash_add_delete_2_jhash2()
1728 if (handle == NULL) in test_hash_add_delete_jhash_1word()
1742 if (handle != NULL) in test_hash_add_delete_jhash_1word()
1763 if (handle == NULL) in test_hash_add_delete_jhash_2word()
1777 if (handle != NULL) in test_hash_add_delete_jhash_2word()
1798 if (handle == NULL) in test_hash_add_delete_jhash_3word()
[all …]
H A Dtest_efd.c145 rte_efd_free(handle); in test_add_delete()
196 rte_efd_free(handle); in test_add_update_delete()
229 rte_efd_free(handle); in test_efd_find_existing()
314 rte_efd_free(handle); in test_five_keys()
338 if (handle == NULL) { in test_average_table_utilization()
367 rte_efd_free(handle); in test_average_table_utilization()
394 if (handle != NULL) { in test_efd_creation_with_bad_parameters()
403 if (handle != NULL) { in test_efd_creation_with_bad_parameters()
413 if (handle != NULL) { in test_efd_creation_with_bad_parameters()
424 if (handle == NULL) { in test_efd_creation_with_bad_parameters()
[all …]
H A Dtest_lcores.c150 void *handle; in test_lcores_callback() local
157 if (handle != NULL) { in test_lcores_callback()
181 if (handle == NULL) { in test_lcores_callback()
190 rte_lcore_callback_unregister(handle); in test_lcores_callback()
191 handle = NULL; in test_lcores_callback()
206 if (handle != NULL) in test_lcores_callback()
220 void *handle[2] = {}; in test_non_eal_lcores_callback() local
238 if (handle[0] == NULL) { in test_non_eal_lcores_callback()
245 if (handle[1] == NULL) { in test_non_eal_lcores_callback()
336 if (handle[1] != NULL) in test_non_eal_lcores_callback()
[all …]
/f-stack/dpdk/drivers/event/dlb/
H A Ddlb_iface.h20 extern int (*dlb_iface_get_device_version)(struct dlb_hw_dev *handle,
23 extern int (*dlb_iface_get_num_resources)(struct dlb_hw_dev *handle,
26 extern int (*dlb_iface_sched_domain_create)(struct dlb_hw_dev *handle,
35 extern int (*dlb_iface_ldb_queue_create)(struct dlb_hw_dev *handle,
38 extern int (*dlb_iface_dir_queue_create)(struct dlb_hw_dev *handle,
41 extern int (*dlb_iface_ldb_port_create)(struct dlb_hw_dev *handle,
45 extern int (*dlb_iface_dir_port_create)(struct dlb_hw_dev *handle,
49 extern int (*dlb_iface_ldb_queue_create)(struct dlb_hw_dev *handle,
52 extern int (*dlb_iface_map_qid)(struct dlb_hw_dev *handle,
55 extern int (*dlb_iface_unmap_qid)(struct dlb_hw_dev *handle,
[all …]
H A Ddlb_iface.c21 int (*dlb_iface_get_device_version)(struct dlb_hw_dev *handle,
24 int (*dlb_iface_get_num_resources)(struct dlb_hw_dev *handle,
27 int (*dlb_iface_sched_domain_create)(struct dlb_hw_dev *handle,
36 int (*dlb_iface_dir_queue_create)(struct dlb_hw_dev *handle,
39 int (*dlb_iface_ldb_queue_create)(struct dlb_hw_dev *handle,
42 int (*dlb_iface_ldb_port_create)(struct dlb_hw_dev *handle,
46 int (*dlb_iface_dir_port_create)(struct dlb_hw_dev *handle,
50 int (*dlb_iface_map_qid)(struct dlb_hw_dev *handle,
53 int (*dlb_iface_unmap_qid)(struct dlb_hw_dev *handle,
62 int (*dlb_iface_get_cq_poll_mode)(struct dlb_hw_dev *handle,
[all …]
/f-stack/dpdk/drivers/event/dlb2/
H A Ddlb2_iface.c19 int (*dlb2_iface_get_device_version)(struct dlb2_hw_dev *handle,
22 void (*dlb2_iface_hardware_init)(struct dlb2_hw_dev *handle);
24 int (*dlb2_iface_get_cq_poll_mode)(struct dlb2_hw_dev *handle,
27 int (*dlb2_iface_get_num_resources)(struct dlb2_hw_dev *handle,
35 int (*dlb2_iface_ldb_queue_create)(struct dlb2_hw_dev *handle,
38 int (*dlb2_iface_get_sn_allocation)(struct dlb2_hw_dev *handle,
44 int (*dlb2_iface_get_sn_occupancy)(struct dlb2_hw_dev *handle,
47 int (*dlb2_iface_ldb_port_create)(struct dlb2_hw_dev *handle,
51 int (*dlb2_iface_dir_port_create)(struct dlb2_hw_dev *handle,
58 int (*dlb2_iface_map_qid)(struct dlb2_hw_dev *handle,
[all …]
H A Ddlb2_iface.h18 extern int (*dlb2_iface_get_device_version)(struct dlb2_hw_dev *handle,
21 extern void (*dlb2_iface_hardware_init)(struct dlb2_hw_dev *handle);
23 extern int (*dlb2_iface_get_cq_poll_mode)(struct dlb2_hw_dev *handle,
26 extern int (*dlb2_iface_get_num_resources)(struct dlb2_hw_dev *handle,
34 extern int (*dlb2_iface_ldb_queue_create)(struct dlb2_hw_dev *handle,
37 extern int (*dlb2_iface_get_sn_allocation)(struct dlb2_hw_dev *handle,
43 extern int (*dlb2_iface_get_sn_occupancy)(struct dlb2_hw_dev *handle,
46 extern int (*dlb2_iface_ldb_port_create)(struct dlb2_hw_dev *handle,
50 extern int (*dlb2_iface_dir_port_create)(struct dlb2_hw_dev *handle,
57 extern int (*dlb2_iface_map_qid)(struct dlb2_hw_dev *handle,
[all …]
/f-stack/freebsd/mips/nlm/
H A Dbus_space_rmi_pci.c68 bus_space_handle_t handle,
73 bus_space_handle_t handle,
78 bus_space_handle_t handle,
83 bus_space_handle_t handle,
89 bus_space_handle_t handle,
95 bus_space_handle_t handle,
119 bus_space_handle_t handle,
124 bus_space_handle_t handle,
129 bus_space_handle_t handle,
134 bus_space_handle_t handle,
[all …]
H A Dbus_space_rmi.c68 bus_space_handle_t handle,
73 bus_space_handle_t handle,
78 bus_space_handle_t handle,
83 bus_space_handle_t handle,
89 bus_space_handle_t handle,
95 bus_space_handle_t handle,
119 bus_space_handle_t handle,
124 bus_space_handle_t handle,
129 bus_space_handle_t handle,
134 bus_space_handle_t handle,
[all …]
/f-stack/freebsd/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_shim.c45 VCHIQ_SERVICE_HANDLE_T handle; member
139 vchiq_release_message(service->handle, header); in vchi_msg_remove()
631 VCHI_SERVICE_HANDLE_T *handle) in vchi_service_open() argument
636 *handle = (VCHI_SERVICE_HANDLE_T)service; in vchi_service_open()
650 &service->handle); in vchi_service_open()
654 *handle = NULL; in vchi_service_open()
664 VCHI_SERVICE_HANDLE_T *handle) in vchi_service_create() argument
669 *handle = (VCHI_SERVICE_HANDLE_T)service; in vchi_service_create()
686 *handle = NULL; in vchi_service_create()
748 vchiq_set_service_option(service->handle, in vchi_service_set_option()
[all …]
/f-stack/dpdk/lib/librte_cmdline/
H A Dcmdline_os_windows.c23 HANDLE handle; in terminal_adjust() local
29 handle = GetStdHandle(STD_INPUT_HANDLE); in terminal_adjust()
30 if (GetConsoleMode(handle, &mode)) { in terminal_adjust()
41 SetConsoleMode(handle, mode); in terminal_adjust()
46 if (GetConsoleMode(handle, &mode)) { in terminal_adjust()
52 SetConsoleMode(handle, mode); in terminal_adjust()
78 cmdline_poll_char_console(HANDLE handle) in cmdline_poll_char_console() argument
97 DWORD type = GetFileType(handle); in cmdline_poll_char_file()
141 cmdline_poll_char_console(handle) : in cmdline_poll_char()
142 cmdline_poll_char_file(cl, handle); in cmdline_poll_char()
[all …]
/f-stack/freebsd/contrib/vchiq/interface/vchi/message_drivers/
H A Dmessage.h109 void *handle; member
171 int32_t (*suspending)( VCHI_MDRIVER_HANDLE_T *handle );
172 int32_t (*resumed)( VCHI_MDRIVER_HANDLE_T *handle );
178 int32_t (*enable)( VCHI_MDRIVER_HANDLE_T *handle );
182 int32_t (*update_message)( VCHI_MDRIVER_HANDLE_T *handle, void *dest, int16_t *slot_count );
184 void * (*allocate_buffer)( VCHI_MDRIVER_HANDLE_T *handle, uint32_t *length );
185 void (*free_buffer)( VCHI_MDRIVER_HANDLE_T *handle, void *address );
186 int (*rx_slot_size)( VCHI_MDRIVER_HANDLE_T *handle, int msg_size );
187 int (*tx_slot_size)( VCHI_MDRIVER_HANDLE_T *handle, int msg_size );
191 int (*tx_alignment)( const VCHI_MDRIVER_HANDLE_T *handle, MESSAGE_TX_CHANNEL_T channel );
[all …]
/f-stack/dpdk/drivers/event/dlb2/pf/
H A Ddlb2_pf.c65 RTE_SET_USED(handle); in dlb2_pf_open()
104 RTE_SET_USED(handle); in dlb2_pf_get_cq_poll_mode()
164 handle->domain_id, in dlb2_pf_ldb_queue_create()
301 handle->domain_id, in dlb2_pf_ldb_port_create()
376 handle->domain_id, in dlb2_pf_dir_port_create()
443 handle->domain_id, in dlb2_pf_map_qid()
468 handle->domain_id, in dlb2_pf_unmap_qid()
493 handle->domain_id, in dlb2_pf_pending_port_unmaps()
518 handle->domain_id, in dlb2_pf_sched_domain_start()
541 handle->domain_id, in dlb2_pf_get_ldb_queue_depth()
[all …]
/f-stack/dpdk/lib/librte_eal/include/
H A Drte_eal_trace.h153 rte_trace_point_emit_int(handle->fd);
154 rte_trace_point_emit_int(handle->type);
156 rte_trace_point_emit_u32(handle->nb_efd);
166 rte_trace_point_emit_int(handle->fd);
167 rte_trace_point_emit_int(handle->type);
169 rte_trace_point_emit_u32(handle->nb_efd);
178 rte_trace_point_emit_int(handle->fd);
179 rte_trace_point_emit_int(handle->type);
181 rte_trace_point_emit_u32(handle->nb_efd);
188 rte_trace_point_emit_int(handle->fd);
[all …]
/f-stack/freebsd/contrib/vchiq/interface/vchi/
H A Dvchi.h79 VCHI_MEM_HANDLE_T handle; member
82 } handle; member
209 VCHI_SERVICE_HANDLE_T *handle);
229 extern int32_t vchi_msg_queue( VCHI_SERVICE_HANDLE_T handle,
236 int32_t vchi_msg_queuev_ex( VCHI_SERVICE_HANDLE_T handle,
243 int32_t vchi_msg_queuev( VCHI_SERVICE_HANDLE_T handle,
251 extern int32_t vchi_msg_dequeue( VCHI_SERVICE_HANDLE_T handle,
260 extern int32_t vchi_msg_peek( VCHI_SERVICE_HANDLE_T handle,
267 extern int32_t vchi_msg_remove( VCHI_SERVICE_HANDLE_T handle );
272 extern int32_t vchi_msg_hold( VCHI_SERVICE_HANDLE_T handle,
[all …]
/f-stack/dpdk/drivers/event/dlb/pf/
H A Ddlb_pf.c75 RTE_SET_USED(handle); in dlb_pf_open()
154 handle->domain_id, in dlb_pf_ldb_credit_pool_create()
176 handle->domain_id, in dlb_pf_dir_credit_pool_create()
212 handle->domain_id, in dlb_pf_ldb_queue_create()
234 handle->domain_id, in dlb_pf_dir_queue_create()
321 handle->domain_id, in dlb_pf_ldb_port_create()
498 handle->domain_id, in dlb_pf_sched_domain_start()
520 handle->domain_id, in dlb_pf_pending_port_unmaps()
542 handle->domain_id, in dlb_pf_map_qid()
586 handle->domain_id, in dlb_pf_get_ldb_queue_depth()
[all …]
/f-stack/app/redis-5.0.5/deps/hiredis/adapters/
H A Dlibuv.h11 uv_poll_t handle; member
17 redisLibuvEvents* p = (redisLibuvEvents*)handle->data; in redisLibuvPoll()
37 uv_poll_start(&p->handle, p->events, redisLibuvPoll); in redisLibuvAddRead()
47 uv_poll_start(&p->handle, p->events, redisLibuvPoll); in redisLibuvDelRead()
49 uv_poll_stop(&p->handle); in redisLibuvDelRead()
59 uv_poll_start(&p->handle, p->events, redisLibuvPoll); in redisLibuvAddWrite()
71 uv_poll_stop(&p->handle); in redisLibuvDelWrite()
76 static void on_close(uv_handle_t* handle) { in on_close() argument
87 uv_close((uv_handle_t*)&p->handle, on_close); in redisLibuvCleanup()
112 if (uv_poll_init(loop, &p->handle, c->fd) != 0) { in redisLibuvAttach()
[all …]
/f-stack/dpdk/lib/librte_eal/windows/
H A Deal_file.c47 HANDLE handle; in eal_file_truncate() local
52 handle = (HANDLE)_get_osfhandle(fd); in eal_file_truncate()
53 if (handle == INVALID_HANDLE_VALUE) { in eal_file_truncate()
58 ret = SetFilePointer(handle, low, &high, FILE_BEGIN); in eal_file_truncate()
80 if (!LockFileEx(handle, sys_flags, 0, 0, 0, &overlapped)) { in lock_file()
95 unlock_file(HANDLE handle) in unlock_file() argument
97 if (!UnlockFileEx(handle, 0, 0, 0, NULL)) { in unlock_file()
108 HANDLE handle = (HANDLE)_get_osfhandle(fd); in eal_file_lock() local
110 if (handle == INVALID_HANDLE_VALUE) { in eal_file_lock()
118 return lock_file(handle, op, mode); in eal_file_lock()
[all …]
/f-stack/freebsd/sys/
H A Diconv.h158 int iconv_close(void *handle);
159 int iconv_conv(void *handle, const char **inbuf,
161 int iconv_conv_case(void *handle, const char **inbuf,
163 int iconv_convchr(void *handle, const char **inbuf,
165 int iconv_convchr_case(void *handle, const char **inbuf,
168 char* iconv_convstr(void *handle, char *dst, const char *src);
172 int towlower(int c, void *handle);
173 int towupper(int c, void *handle);
179 int (*open)(const char *to, const char *from, void **handle);
180 int (*close)(void *handle);
[all …]
H A Dtimepps.h180 time_pps_create(int filedes, pps_handle_t *handle) in time_pps_create() argument
184 *handle = -1; in time_pps_create()
188 *handle = filedes; in time_pps_create()
193 time_pps_destroy(pps_handle_t handle) in time_pps_destroy() argument
195 return (ioctl(handle, PPS_IOC_DESTROY, 0)); in time_pps_destroy()
201 return (ioctl(handle, PPS_IOC_SETPARAMS, ppsparams)); in time_pps_setparams()
207 return (ioctl(handle, PPS_IOC_GETPARAMS, ppsparams)); in time_pps_getparams()
211 time_pps_getcap(pps_handle_t handle, int *mode) in time_pps_getcap() argument
213 return (ioctl(handle, PPS_IOC_GETCAP, mode)); in time_pps_getcap()
229 error = ioctl(handle, PPS_IOC_FETCH, &arg); in time_pps_fetch()
[all …]

12345678910>>...45