Searched refs:em (Results 1 - 25 of 76) sorted by relevance

1234

/vpp/src/plugins/hs_apps/sapi/
H A Dvpp_echo.c27 echo_session_prealloc (echo_main_t * em) argument
32 for (i = 0; i < em->n_sessions; i++)
34 pool_get (em->sessions, session);
36 session->session_index = session - em->sessions;
43 echo_assert_test_suceeded (echo_main_t * em) argument
45 if (em->rx_results_diff)
46 CHECK_DIFF (ECHO_FAIL_TEST_ASSERT_RX_TOTAL, em->stats.rx_expected,
47 em->stats.rx_total, "Invalid amount of data received");
49 CHECK_SAME (ECHO_FAIL_TEST_ASSERT_RX_TOTAL, em->stats.rx_expected,
50 em
83 echo_main_t *em = &echo_main; local
90 echo_main_t *em = &echo_main; local
122 print_global_json_stats(echo_main_t * em) argument
183 print_global_stats(echo_main_t * em) argument
244 echo_update_count_on_session_close(echo_main_t * em, echo_session_t * s) argument
259 echo_free_sessions(echo_main_t * em) argument
284 test_recv_bytes(echo_main_t * em, echo_session_t * s, u8 * rx_buf, u32 n_read) argument
306 recv_data_chunk(echo_main_t * em, echo_session_t * s, u8 * rx_buf) argument
329 echo_main_t *em = &echo_main; local
344 mirror_data_chunk(echo_main_t * em, echo_session_t * s, u8 * tx_buf, u64 len) argument
353 echo_check_closed_listener(echo_main_t * em, echo_session_t * s) argument
383 echo_handle_data(echo_main_t * em, echo_session_t * s, u8 * rx_buf) argument
442 echo_main_t *em = &echo_main; local
502 echo_main_t *em = &echo_main; local
516 echo_main_t *em = &echo_main; local
543 echo_main_t *em = &echo_main; local
561 echo_main_t *em = &echo_main; local
622 echo_main_t *em = &echo_main; local
683 echo_main_t *em = &echo_main; local
713 echo_main_t *em = &echo_main; local
737 echo_main_t *em = &echo_main; local
787 echo_main_t *em = &echo_main; local
834 echo_process_rpcs(echo_main_t * em) argument
857 echo_print_periodic_stats(echo_main_t * em) argument
889 echo_main_t *em = &echo_main; local
937 echo_cycle_ip(echo_main_t * em, ip46_address_t * ip, ip46_address_t * src_ip, u32 i) argument
956 clients_run(echo_main_t * em) argument
979 server_run(echo_main_t * em) argument
1012 echo_main_t *em = &echo_main; local
1070 echo_main_t *em = &echo_main; local
1083 echo_set_each_proto_defaults_before_opts(echo_main_t * em) argument
1097 echo_main_t *em = &echo_main; local
1244 echo_process_uri(echo_main_t * em) argument
1270 echo_main_t *em = &echo_main; local
1278 echo_main_t *em = &echo_main; local
[all...]
H A Dvpp_echo_proto_tcp.c24 echo_main_t *em = &echo_main; local
28 clib_atomic_fetch_add (&em->stats.clean_count.s, 1);
31 ls = pool_elt_at_index (em->sessions, s->listener_index);
36 clib_atomic_sub_fetch (&em->n_clients_connected, 1);
38 if (!em->n_clients_connected)
39 em->state = STATE_DATA_DONE;
47 echo_main_t *em = &echo_main; local
48 echo_session_t *session = pool_elt_at_index (em->sessions, session_index);
60 clib_atomic_fetch_add (&em->n_clients_connected, 1);
61 session->bytes_to_send = em
77 echo_main_t *em = &echo_main; local
108 echo_main_t *em = &echo_main; local
120 echo_main_t *em = &echo_main; local
[all...]
H A Dvpp_echo_proto_udp.c24 echo_main_t *em = &echo_main; local
28 clib_atomic_fetch_add (&em->stats.clean_count.s, 1);
31 ls = pool_elt_at_index (em->sessions, s->listener_index);
35 clib_atomic_sub_fetch (&em->n_clients_connected, 1);
37 if (!em->n_clients_connected)
38 em->state = STATE_DATA_DONE;
46 echo_main_t *em = &echo_main; local
47 echo_session_t *session = pool_elt_at_index (em->sessions, session_index);
58 session->bytes_to_send = em->bytes_to_send;
59 session->bytes_to_receive = em
77 echo_main_t *em = &echo_main; local
109 echo_main_t *em = &echo_main; local
121 echo_main_t *em = &echo_main; local
130 echo_main_t *em = &echo_main; local
[all...]
H A Dvpp_echo_proto_quic.c55 echo_main_t *em = &echo_main; local
62 clib_memcpy_fast (&a->lcl_ip, &em->lcl_ip, sizeof (ip46_address_t));
63 clib_memcpy_fast (&a->ip, &em->uri_elts.ip, sizeof (ip46_address_t));
65 echo_notify_event (em, ECHO_EVT_FIRST_SCONNECT);
67 echo_send_rpc (em, echo_send_connect, (echo_rpc_args_t *) a);
78 echo_main_t *em = &echo_main; local
81 session = pool_elt_at_index (em->sessions, session_index);
82 session->bytes_to_send = em->bytes_to_send;
83 session->bytes_to_receive = em->bytes_to_receive;
85 em
100 echo_main_t *em = &echo_main; local
113 echo_main_t *em = &echo_main; local
174 quic_echo_cleanup_listener(u32 listener_index, echo_main_t * em, quic_echo_proto_main_t * eqm) argument
204 echo_main_t *em = &echo_main; local
235 quic_echo_initiate_qsession_close_no_stream(echo_main_t * em) argument
270 echo_main_t *em = &echo_main; local
340 echo_main_t *em = &echo_main; local
408 echo_main_t *em = &echo_main; local
428 echo_main_t *em = &echo_main; local
457 echo_main_t *em = &echo_main; local
485 echo_main_t *em = &echo_main; local
[all...]
H A Dvpp_echo_bapi.c28 echo_send_attach (echo_main_t * em) argument
35 bmp->client_index = em->my_client_index;
39 bmp->options[APP_OPTIONS_PREALLOC_FIFO_PAIRS] = em->prealloc_fifo_pairs;
40 bmp->options[APP_OPTIONS_RX_FIFO_SIZE] = em->fifo_size;
41 bmp->options[APP_OPTIONS_TX_FIFO_SIZE] = em->fifo_size;
44 bmp->options[APP_OPTIONS_EVT_QUEUE_SIZE] = em->evt_q_size;
45 if (em->appns_id)
47 vl_api_vec_to_api_string (em->appns_id, &bmp->namespace_id);
48 bmp->options[APP_OPTIONS_FLAGS] |= em->appns_flags;
49 bmp->options[APP_OPTIONS_NAMESPACE_SECRET] = em
55 echo_send_detach(echo_main_t * em) argument
69 echo_send_add_cert_key(echo_main_t * em) argument
90 echo_send_del_cert_key(echo_main_t * em) argument
104 echo_send_listen(echo_main_t * em, ip46_address_t * ip) argument
126 echo_send_unbind(echo_main_t * em, echo_session_t * s) argument
143 echo_send_connect(echo_main_t * em, void *args) argument
173 echo_send_disconnect_session(echo_main_t * em, void *args) argument
220 echo_segment_handle_add_del(echo_main_t * em, u64 segment_handle, u8 add) argument
240 echo_main_t *em = &echo_main; local
262 echo_main_t *em = &echo_main; local
276 echo_main_t *em = &echo_main; local
384 echo_api_hookup(echo_main_t * em) argument
[all...]
H A Dvpp_echo_common.h129 echo_main_t *em = &echo_main; \
130 em->has_failed = (fail); \
131 if (vec_len(em->fail_descr)) \
132 em->fail_descr = format(em->fail_descr, " | %s (%u): "_fmt, \
135 em->fail_descr = format(0, "%s (%u): "_fmt, \
137 em->time_to_stop = 1; \
138 if (em->log_lvl > 0) \
139 clib_warning ("%v", em->fail_descr); \
144 echo_main_t *em
[all...]
/vpp/src/vppinfra/
H A Delog.h186 @param em elog_main_t *
191 elog_n_events_in_buffer (elog_main_t * em) argument
193 return clib_min (em->n_total_events, em->event_ring_size);
197 @param em elog_main_t *
201 elog_buffer_capacity (elog_main_t * em) argument
203 return em->event_ring_size;
207 @param em elog_main_t *
210 elog_reset_buffer (elog_main_t * em) argument
212 em
220 elog_enable_disable(elog_main_t * em, int is_enabled) argument
236 elog_disable_after_events(elog_main_t * em, uword n) argument
248 elog_disable_trigger(elog_main_t * em) argument
276 elog_is_enabled(elog_main_t * em) argument
293 elog_event_data_inline(elog_main_t * em, elog_event_type_t * type, elog_track_t * track, u64 cpu_time) argument
351 elog_event_data_not_inline(elog_main_t * em, elog_event_type_t * type, elog_track_t * track, u64 cpu_time) argument
367 elog(elog_main_t * em, elog_event_type_t * type, u32 data) argument
382 elog_inline(elog_main_t * em, elog_event_type_t * type, u32 data) argument
398 elog_track(elog_main_t * em, elog_event_type_t * type, elog_track_t * track, u32 data) argument
415 elog_track_inline(elog_main_t * em, elog_event_type_t * type, elog_track_t * track, u32 data) argument
426 elog_data(elog_main_t * em, elog_event_type_t * type, elog_track_t * track) argument
432 elog_data_inline(elog_main_t * em, elog_event_type_t * type, elog_track_t * track) argument
532 elog_write_file(elog_main_t * em, char *clib_file, int flush_ring) argument
547 elog_read_file(elog_main_t * em, char *clib_file) argument
[all...]
H A Delf.c23 elf_swap_first_header (elf_main_t * em, elf_first_header_t * h) argument
25 h->architecture = elf_swap_u16 (em, h->architecture);
26 h->file_type = elf_swap_u16 (em, h->file_type);
27 h->file_version = elf_swap_u32 (em, h->file_version);
47 elf_get_section_by_name (elf_main_t * em, char *section_name, argument
52 p = hash_get_mem (em->section_by_name, section_name);
56 *result = vec_elt_at_index (em->sections, p[0]);
61 elf_get_section_by_start_address_no_check (elf_main_t * em, argument
64 uword *p = hash_get (em->section_by_start_address, start_address);
65 return p ? vec_elt_at_index (em
69 elf_get_section_by_start_address(elf_main_t * em, uword start_address, elf_section_t ** result) argument
104 elf_main_t *em = va_arg (*args, elf_main_t *); local
239 elf_main_t *em = va_arg (*args, elf_main_t *); local
271 elf_main_t *em = va_arg (*args, elf_main_t *); local
293 elf_main_t *em = va_arg (*args, elf_main_t *); local
328 elf_main_t *em = va_arg (*args, elf_main_t *); local
385 elf_main_t *em = va_arg (*args, elf_main_t *); local
547 elf_main_t *em = va_arg (*args, elf_main_t *); local
667 elf_parse_segments(elf_main_t * em, void *data) argument
699 elf_parse_sections(elf_main_t * em, void *data) argument
753 add_symbol_table(elf_main_t * em, elf_section_t * s) argument
811 add_relocation_table(elf_main_t * em, elf_section_t * s) argument
869 elf_parse_symbols(elf_main_t * em) argument
899 elf_set_dynamic_entries(elf_main_t * em) argument
978 elf_parse(elf_main_t * em, void *data, uword data_bytes) argument
1056 add_dynamic_entries(elf_main_t * em, elf_section_t * s) argument
1096 byte_swap_verneed(elf_main_t * em, elf_dynamic_version_need_union_t * vus) argument
1137 set_dynamic_verneed(elf_main_t * em) argument
1156 set_symbol_table(elf_main_t * em, u32 table_index) argument
1193 elf_find_interpreter(elf_main_t * em, void *data) argument
1217 elf_get_section_contents_with_starting_address(elf_main_t * em, uword start_address, uword elt_size, u32 * section_index_result) argument
1239 elf_parse_dynamic(elf_main_t * em) argument
1329 elf_read_file(elf_main_t * em, char *file_name) argument
1455 layout_sections(elf_main_t * em) argument
1754 elf_write_file(elf_main_t * em, char *file_name) argument
1950 elf_delete_named_section(elf_main_t * em, char *section_name) argument
1965 elf_create_section_with_contents(elf_main_t * em, char *section_name, elf64_section_header_t * header, void *contents, uword n_content_bytes) argument
2016 elf_delete_segment_with_type(elf_main_t * em, elf_segment_type_t segment_type) argument
[all...]
H A Delog.c47 elog_lock (elog_main_t * em) argument
49 if (PREDICT_FALSE (em->lock != 0))
50 while (clib_atomic_test_and_set (em->lock))
55 elog_unlock (elog_main_t * em) argument
57 if (PREDICT_FALSE (em->lock != 0))
59 clib_atomic_release (em->lock);
65 elog_event_data (elog_main_t * em, argument
68 return elog_event_data_inline (em, type, track, cpu_time);
72 new_event_type (elog_main_t * em, uword i) argument
74 elog_event_type_t *t = vec_elt_at_index (em
85 find_or_create_type(elog_main_t * em, elog_event_type_t * t) argument
104 elog_event_type_register(elog_main_t * em, elog_event_type_t * t) argument
198 elog_track_register(elog_main_t * em, elog_track_t * t) argument
298 elog_main_t *em = va_arg (*va, elog_main_t *); local
401 elog_main_t *em = va_arg (*va, elog_main_t *); local
410 elog_main_t *em = va_arg (*args, elog_main_t *); local
470 elog_nsec_per_clock(elog_main_t * em) argument
479 elog_alloc(elog_main_t * em, u32 n_events) argument
493 elog_init(elog_main_t * em, u32 n_events) argument
516 elog_event_range(elog_main_t * em, uword * lo) argument
537 elog_peek_events(elog_main_t * em) argument
562 elog_string(elog_main_t * em, char *fmt, ...) argument
606 elog_get_events(elog_main_t * em) argument
848 elog_main_t *em = va_arg (*va, elog_main_t *); local
909 elog_main_t *em = va_arg (*va, elog_main_t *); local
1094 elog_main_t *em = va_arg (*va, elog_main_t *); local
1128 elog_main_t *em = va_arg (*va, elog_main_t *); local
[all...]
H A Dtest_elf.c49 elf_set_interpreter (elf_main_t * em, char *interp) argument
55 vec_foreach (g, em->segments)
61 if (g >= vec_end (em->segments))
70 elf_get_section_by_start_address (em, g->header.virtual_address, &s);
82 delete_dynamic_rpath_entries_from_section (elf_main_t * em, elf_section_t * s) argument
87 vec_foreach (e, em->dynamic_entries)
106 while (vec_len (new_es) < vec_len (em->dynamic_entries))
110 elf_set_dynamic_entries (em);
114 elf_delete_dynamic_rpath_entries (elf_main_t * em) argument
118 vec_foreach (s, em
145 elf_main_t *em = &tm->elf_main; local
[all...]
H A Delf_clib.c108 elf_main_t *em; local
116 vec_add2 (cem->elf_mains, em, 1);
139 error = elf_parse (em, data, mmap_length);
148 vec_foreach (s, em->sections)
150 u8 *name = elf_section_name (em, s);
184 elf_parse_symbols (em);
185 vec_foreach (t, em->symbol_tables)
197 vec_foreach (s, em->sections)
206 elf_main_free (em);
269 clib_elf_main_t *em local
279 elf_main_t *em; local
333 elf_main_t *em; local
354 elf_main_t *em; local
[all...]
H A Dtest_elog.c50 elog_main_t _em, *em = &_em; local
102 if ((error = elog_read_file (em, load_file)))
119 elog_init (em, max_events);
123 elog_read_file (i == 0 ? em : &ems[i], merge_files[i])))
130 elog_merge (em, tags[0], &ems[i], tags[i], align_tweak);
141 elog_init (em, max_events);
142 elog_enable_disable (em, 1);
156 ELOG (em, e, sum);
161 ELOG (em, e, sum + 1);
177 d = ELOG_DATA (em,
[all...]
/vpp/src/plugins/nsh/nsh-md2-ioam/export-nsh-md2-ioam/
H A Dnsh_md2_ioam_export.c39 nsh_md2_ioam_export_enable_disable (ioam_export_main_t * em, argument
44 vlib_main_t *vm = em->vlib_main;
50 if (em->my_hbh_slot == ~0)
59 em->my_hbh_slot =
62 if (1 == ioam_export_header_create (em, collector_address, src_address))
64 ioam_export_thread_buffer_init (em, vm);
65 nsh_md2_set_next_ioam_export_override (em->my_hbh_slot);
67 vlib_process_signal_event (vm, em->export_process_node_index, 1, 0);
78 ioam_export_header_cleanup (em, collector_address, src_address);
79 ioam_export_thread_buffer_free (em);
95 ioam_export_main_t *em = &nsh_md2_ioam_export_main; local
153 ioam_export_main_t *em = &nsh_md2_ioam_export_main; local
[all...]
/vpp/src/vnet/ethernet/
H A Dinit.c48 add_type (ethernet_main_t * em, ethernet_type_t type, char *type_name) argument
53 vec_add2 (em->type_infos, ti, 1);
54 i = ti - em->type_infos;
60 hash_set (em->type_info_by_type, type, i);
61 hash_set_mem (em->type_info_by_name, ti->name, i);
85 ethernet_main_t *em = &ethernet_main; local
87 em->vlib_main = vm;
89 em->type_info_by_name = hash_create_string (0, sizeof (uword));
90 em->type_info_by_type = hash_create (0, sizeof (uword));
95 em
[all...]
/vpp/src/plugins/ioam/export-vxlan-gpe/
H A Dvxlan_gpe_ioam_export.c44 vxlan_gpe_ioam_export_enable_disable (ioam_export_main_t * em, argument
49 vlib_main_t *vm = em->vlib_main;
55 if (em->my_hbh_slot == ~0)
65 em->my_hbh_slot =
69 if (1 == ioam_export_header_create (em, collector_address, src_address))
71 ioam_export_thread_buffer_init (em, vm);
72 vxlan_gpe_set_next_override (em->my_hbh_slot);
74 vlib_process_signal_event (vm, em->export_process_node_index, 1, 0);
85 ioam_export_header_cleanup (em, collector_address, src_address);
86 ioam_export_thread_buffer_free (em);
117 ioam_export_main_t *em = &vxlan_gpe_ioam_export_main; local
174 ioam_export_main_t *em = &vxlan_gpe_ioam_export_main; local
[all...]
/vpp/src/plugins/ioam/export/
H A Dioam_export.c44 ioam_export_ip6_enable_disable (ioam_export_main_t * em, argument
49 vlib_main_t *vm = em->vlib_main;
53 if (1 == ioam_export_header_create (em, collector_address, src_address))
55 ioam_export_thread_buffer_init (em, vm);
56 ip6_hbh_set_next_override (em->my_hbh_slot);
58 vlib_process_signal_event (vm, em->export_process_node_index, 1, 0);
69 ioam_export_header_cleanup (em, collector_address, src_address);
70 ioam_export_thread_buffer_free (em);
72 vlib_process_signal_event (vm, em->export_process_node_index, 2, 0);
100 ioam_export_main_t *em local
152 ioam_export_main_t *em = &ioam_export_main; local
[all...]
/vpp/src/plugins/l2e/
H A Dl2e.c33 l2_emulation_main_t *em = &l2_emulation_main; local
34 vec_validate_init_empty (em->l2_emulations, sw_if_index, ezero);
36 l2_emulation_t *l23e = &em->l2_emulations[sw_if_index];
55 l2_emulation_main_t *em = &l2_emulation_main; local
56 if (vec_len (em->l2_emulations) >= sw_if_index)
58 l2_emulation_t *l23e = &em->l2_emulations[sw_if_index];
71 l2_emulation_main_t *em = &l2_emulation_main; local
74 vec_validate_init_empty (em->l2_emulations, sw_if_index, ezero);
136 l2_emulation_main_t *em = &l2_emulation_main; local
141 vec_foreach_index (sw_if_index, em
173 l2_emulation_main_t *em = &l2_emulation_main; local
[all...]
/vpp/src/plugins/gbp/
H A Dgbp_classify.c27 gbp_src_classify_main_t *em = &gbp_src_classify_main; local
36 em->l2_input_feat_next[GBP_SRC_CLASSIFY_NULL]);
43 em->l2_input_feat_next[GBP_SRC_CLASSIFY_PORT]);
50 em->l2_input_feat_next[GBP_SRC_CLASSIFY_LPM]);
57 em->l2_input_feat_next
/vpp/src/vlib/
H A Derror.c120 vlib_error_main_t *em = &vm->error_main; local
131 heap_dealloc (em->error_strings_heap, n->error_heap_handle);
140 heap_alloc (em->error_strings_heap, n_errors, n->error_heap_handle);
142 l = vec_len (em->error_strings_heap);
144 clib_memcpy (vec_elt_at_index (em->error_strings_heap, n->error_heap_index),
153 vec_validate (em->counters, l - 1);
156 if (n->error_heap_index + n_errors <= vec_len (em->counters_last_clear))
157 clib_memcpy (em->counters + n->error_heap_index,
158 em->counters_last_clear + n->error_heap_index,
159 n_errors * sizeof (em
205 vlib_error_main_t *em = &vm->error_main; local
304 vlib_error_main_t *em; local
[all...]
H A Derror_funcs.h50 elog_main_t *em = &vm->elog_main; local
51 elog (em, vec_elt_at_index (vm->error_elog_event_types, counter),
61 vlib_error_main_t *em = &vm->error_main; local
66 ASSERT (counter < vec_len (em->counters));
67 em->counters[counter] += increment;
/vpp/src/plugins/ioam/export-common/
H A Dioam_export.h91 ioam_export_set_next_node (ioam_export_main_t * em, u8 * next_node_name) argument
95 next_node = vlib_get_node_by_name (em->vlib_main, next_node_name);
96 em->next_node_index = next_node->index;
100 ioam_export_reset_next_node (ioam_export_main_t * em) argument
104 next_node = vlib_get_node_by_name (em->vlib_main, (u8 *) "ip4-lookup");
105 em->next_node_index = next_node->index;
109 ioam_export_get_my_buffer (ioam_export_main_t * em, u32 thread_id) argument
112 if (vec_len (em->buffer_per_thread) > thread_id)
114 (em->buffer_pool, em
119 ioam_export_buffer_add_header(ioam_export_main_t * em, vlib_buffer_t * b0) argument
129 ioam_export_init_buffer(ioam_export_main_t * em, vlib_main_t * vm, ioam_export_buffer_t * eb) argument
149 ioam_export_thread_buffer_free(ioam_export_main_t * em) argument
171 ioam_export_thread_buffer_init(ioam_export_main_t * em, vlib_main_t * vm) argument
223 ioam_export_header_cleanup(ioam_export_main_t * em, ip4_address_t * collector_address, ip4_address_t * src_address) argument
232 ioam_export_header_create(ioam_export_main_t * em, ip4_address_t * collector_address, ip4_address_t * src_address) argument
295 ioam_export_send_buffer(ioam_export_main_t * em, vlib_main_t * vm, ioam_export_buffer_t * eb) argument
359 ioam_export_process_common(ioam_export_main_t * em, vlib_main_t * vm, vlib_node_runtime_t * rt, vlib_frame_t * f, u32 index) argument
[all...]
/vpp/src/plugins/ioam/ip6/
H A Dioam_cache.c74 ioam_cache_ip6_enable_disable (ioam_cache_main_t * em, argument
77 vlib_main_t *vm = em->vlib_main;
82 em->sr_localsid_cache.as_u64[0] = sr_localsid->as_u64[0];
83 em->sr_localsid_cache.as_u64[1] = sr_localsid->as_u64[1];
84 ip6_hbh_set_next_override (em->cache_hbh_slot);
95 em->sr_localsid_cache.as_u64[0] = 0;
96 em->sr_localsid_cache.as_u64[1] = 0;
106 ioam_tunnel_select_ip6_enable_disable (ioam_cache_main_t * em, argument
112 vlib_main_t *vm = em->vlib_main;
117 em
166 ioam_cache_main_t *em = &ioam_cache_main; local
205 ioam_cache_main_t *em = &ioam_cache_main; local
320 ioam_cache_main_t *em = &ioam_cache_main; local
[all...]
/vpp/src/vlib/unix/
H A Dinput.c71 linux_epoll_main_t *em = vec_elt_at_index (linux_epoll_mains, local
107 if (update_type == UNIX_FILE_UPDATE_ADD && em->epoll_fd == -1)
109 em->epoll_fd = epoll_create (1);
110 if (em->epoll_fd < 0)
115 em->n_epoll_fds = 0;
118 if (epoll_ctl (em->epoll_fd, op, f->file_descriptor, &e) < 0)
124 em->n_epoll_fds += add_del;
126 if (em->n_epoll_fds == 0)
128 close (em->epoll_fd);
129 em
139 linux_epoll_main_t *em = vec_elt_at_index (linux_epoll_mains, thread_index); local
381 linux_epoll_main_t *em; local
[all...]
/vpp/extras/deprecated/elftool/
H A Delftool.c64 static clib_error_t * elf_set_interpreter (elf_main_t * em, argument
72 switch (em->first_header.file_type)
85 vec_foreach (g, em->segments)
91 if (g >= vec_end (em->segments))
98 error = elf_get_section_by_start_address (em, g->header.virtual_address, &s);
110 delete_rpath_for_section (elf_main_t * em, elf_section_t * s) argument
115 vec_foreach (e, em->dynamic_entries)
134 while (vec_len (new_es) < vec_len (em->dynamic_entries))
138 vec_free (em->dynamic_entries);
139 em
144 delete_rpath(elf_main_t * em) argument
163 set_rpath_for_section(elf_main_t * em, elf_section_t * s, char * new_rpath) argument
197 set_rpath(elf_main_t * em, char * rpath) argument
374 elf_main_t * em = &tm->elf_main; local
[all...]
/vpp/src/tools/g2/
H A Dclib.c66 elog_main_t *em = &elog_main; local
69 vec_free(em->events);
70 vec_free(em->event_types);
91 em = &elog_main;
93 for (i = 0; i < vec_len (em->tracks); i++) {
100 t = &em->tracks[i];
120 for (i = 0; i < vec_len (em->event_types); i++) {
124 ep = vec_elt_at_index(em->event_types, i);
133 cpel_event_init(vec_len(em->events));
135 starttime = em
[all...]

Completed in 15 milliseconds

1234