Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 – 25 of 69) sorted by relevance

123

/f-stack/dpdk/lib/librte_telemetry/
H A Dtelemetry_legacy.c61 if (num_legacy_callbacks >= (int) RTE_DIM(callbacks)) in rte_telemetry_legacy_register()
66 snprintf(callbacks[num_legacy_callbacks].cmd, MAX_LEN, in rte_telemetry_legacy_register()
68 snprintf(callbacks[num_legacy_callbacks].data, MAX_LEN, in rte_telemetry_legacy_register()
71 callbacks[num_legacy_callbacks].fn = fn; in rte_telemetry_legacy_register()
186 char *action_ptr = strstr(buffer, callbacks[i].action); in parse_client_request()
187 char *cmd_ptr = strstr(buffer, callbacks[i].cmd); in parse_client_request()
188 char *data_ptr = strstr(buffer, callbacks[i].data); in parse_client_request()
192 char action_sep = action_ptr[strlen(callbacks[i].action)]; in parse_client_request()
193 char cmd_sep = cmd_ptr[strlen(callbacks[i].cmd)]; in parse_client_request()
200 data_sep = data_ptr[strlen(callbacks[i].data)]; in parse_client_request()
[all …]
H A Dtelemetry.c53 static struct cmd_callback callbacks[TELEMETRY_MAX_CALLBACKS]; variable
73 while (i < num_callbacks && strcmp(cmd, callbacks[i].cmd) > 0) in rte_telemetry_register_cmd()
77 memmove(callbacks + i + 1, callbacks + i, in rte_telemetry_register_cmd()
80 strlcpy(callbacks[i].cmd, cmd, MAX_CMD_LEN); in rte_telemetry_register_cmd()
81 callbacks[i].fn = fn; in rte_telemetry_register_cmd()
82 strlcpy(callbacks[i].help, help, MAX_HELP_LEN); in rte_telemetry_register_cmd()
99 rte_tel_data_add_array_string(d, callbacks[i].cmd); in list_commands()
125 if (strcmp(params, callbacks[i].cmd) == 0) { in command_help()
127 callbacks[i].help); in command_help()
324 if (strcmp(cmd, callbacks[i].cmd) == 0) { in client_handler()
[all …]
/f-stack/dpdk/lib/librte_eal/freebsd/
H A Deal_interrupts.c116 !TAILQ_EMPTY(&src->callbacks)) { in rte_intr_callback_register()
139 TAILQ_INIT(&src->callbacks); in rte_intr_callback_register()
145 if (TAILQ_EMPTY(&src->callbacks)) in rte_intr_callback_register()
148 TAILQ_INSERT_TAIL(&(src->callbacks), callback, next); in rte_intr_callback_register()
194 TAILQ_REMOVE(&(src->callbacks), callback, next); in rte_intr_callback_register()
195 if (TAILQ_EMPTY(&(src->callbacks))) { in rte_intr_callback_register()
328 TAILQ_REMOVE(&src->callbacks, cb, next); in rte_intr_callback_unregister()
335 if (TAILQ_EMPTY(&src->callbacks)) { in rte_intr_callback_unregister()
511 TAILQ_FOREACH(cb, &src->callbacks, next) { in eal_intr_process_interrupts()
556 TAILQ_REMOVE(&src->callbacks, cb, next); in eal_intr_process_interrupts()
[all …]
/f-stack/dpdk/lib/librte_eal/linux/
H A Deal_interrupts.c86 struct rte_intr_cb_list callbacks; /**< user callbacks */ member
508 if (TAILQ_EMPTY(&src->callbacks)) in rte_intr_callback_register()
526 TAILQ_INIT(&src->callbacks); in rte_intr_callback_register()
640 TAILQ_REMOVE(&src->callbacks, cb, next); in rte_intr_callback_unregister()
647 if (TAILQ_EMPTY(&src->callbacks)) { in rte_intr_callback_unregister()
958 for (cb = TAILQ_FIRST(&src->callbacks); cb; in eal_intr_process_interrupts()
961 TAILQ_REMOVE(&src->callbacks, cb, next); in eal_intr_process_interrupts()
979 TAILQ_FOREACH(cb, &src->callbacks, next) { in eal_intr_process_interrupts()
1001 TAILQ_REMOVE(&src->callbacks, cb, next); in eal_intr_process_interrupts()
1010 if (TAILQ_EMPTY(&src->callbacks)) { in eal_intr_process_interrupts()
[all …]
/f-stack/dpdk/doc/guides/nics/
H A Dvirtio.rst207 Virtio driver has 6 Rx callbacks and 3 Tx callbacks.
209 Rx callbacks:
234 Tx callbacks:
245 By default, the non-vector callbacks are used:
255 Vector callbacks will be used when:
259 The corresponding callbacks are:
263 There is no vector callbacks for packed virtqueue for now.
271 In-order callbacks only work on simulated virtio user vdev.
493 Rx/Tx callbacks of each Virtio path
497 be selected automatically. Rx callbacks and Tx callbacks for each virtio path
[all …]
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Drxtx_callbacks.rst8 demonstrates the use of user defined callbacks on received and transmitted
9 packets. The application performs a simple latency check, using callbacks, to
66 callbacks are added. This is explained in the next section:
117 /* Add the callbacks for RX and TX.*/
125 The RX and TX callbacks are added to the ports/queues as function pointers:
H A Dintro.rst73 * :doc:`RX/TX callbacks Application<rxtx_callbacks>`: The RX/TX
74 callbacks sample application is a packet forwarding application that
75 demonstrates the use of user defined callbacks on received and transmitted
77 (packet arrival) and TX (packet transmission) by adding callbacks to the RX
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/
H A DMakefile.am1 SUBDIRS = cmd include tests callbacks subdir
/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_ev.c578 efx_ev_qpoll(evq->common, &evq->read_ptr, evq->callbacks, evq); in sfc_ev_qpoll()
684 evq->callbacks = &sfc_ev_callbacks_efx_rx; in sfc_ev_qstart()
686 evq->callbacks = &sfc_ev_callbacks_dp_rx; in sfc_ev_qstart()
690 evq->callbacks = &sfc_ev_callbacks_efx_tx; in sfc_ev_qstart()
692 evq->callbacks = &sfc_ev_callbacks_dp_tx; in sfc_ev_qstart()
694 evq->callbacks = &sfc_ev_callbacks; in sfc_ev_qstart()
703 efx_ev_qcreate_check_init_done(evq->common, evq->callbacks, evq); in sfc_ev_qstart()
756 evq->callbacks = NULL; in sfc_ev_qstop()
H A Dsfc_ev.h47 const efx_ev_callbacks_t *callbacks; member
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/callbacks/
H A DMakefile.am1 pkgdatadir = $(datadir)/@PACKAGE@/zfs-tests/callbacks
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dasync.c366 dict *callbacks; in __redisGetSubscribeCallback() local
381 callbacks = ac->sub.patterns; in __redisGetSubscribeCallback()
383 callbacks = ac->sub.channels; in __redisGetSubscribeCallback()
388 de = dictFind(callbacks,sname); in __redisGetSubscribeCallback()
394 dictDelete(callbacks,sname); in __redisGetSubscribeCallback()
/f-stack/dpdk/examples/fips_validation/
H A Dfips_validation.c409 for (j = 0; info.callbacks[j].key != NULL; j++) in fips_test_parse_one_case()
410 if (strstr(info.vec[i], info.callbacks[j].key)) { in fips_test_parse_one_case()
411 ret = info.callbacks[j].cb( in fips_test_parse_one_case()
412 info.callbacks[j].key, in fips_test_parse_one_case()
413 info.vec[i], info.callbacks[j].val); in fips_test_parse_one_case()
H A Dfips_validation_gcm.c205 info.callbacks = gcm_enc_vectors; in parse_test_gcm_init()
210 info.callbacks = gcm_dec_vectors; in parse_test_gcm_init()
H A Dfips_validation_hmac.c99 info.callbacks = hmac_tests_vectors; in parse_test_hmac_init()
H A Dfips_validation_cmac.c113 info.callbacks = cmac_tests_vectors; in parse_test_cmac_init()
/f-stack/freebsd/contrib/openzfs/config/
H A Dkernel-evict-inode.m43 dnl # The sops->delete_inode() and sops->clear_inode() callbacks have
H A Dkernel-dirty-inode.m43 dnl # The sops->dirty_inode() callbacks were updated to take a flags
H A Dkernel-mkdir-umode-t.m43 dnl # The VFS .create, .mkdir and .mknod callbacks were updated to take a
/f-stack/dpdk/doc/guides/cryptodevs/
H A Dvirtio.rst40 Rx callbacks:
44 Tx callbacks:
/f-stack/freebsd/contrib/openzfs/tests/runfiles/
H A Dfreebsd.run21 failsafe = callbacks/zfs_failsafe
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-spi.h175 extern void cvmx_spi_get_callbacks(cvmx_spi_callbacks_t * callbacks);
H A Dcvmx-ilk.h151 extern void cvmx_ilk_get_callbacks(cvmx_ilk_callbacks_t * callbacks);
/f-stack/freebsd/contrib/device-tree/Bindings/security/tpm/
H A Dtpm-i2c.txt15 callbacks do nothing).
/f-stack/dpdk/doc/guides/rel_notes/
H A Drelease_1_8.rst14 * Support for registration of link status change callbacks with link bonding devices.

123