Home
last modified time | relevance | path

Searched refs:cb_lst (Results 1 – 4 of 4) sorted by relevance

/dpdk/lib/eal/common/
H A Deal_common_dev.c547 struct dev_event_callback *cb_lst; in rte_dev_event_callback_process() local
554 TAILQ_FOREACH(cb_lst, &dev_event_cbs, next) { in rte_dev_event_callback_process()
555 if (cb_lst->dev_name) { in rte_dev_event_callback_process()
556 if (strcmp(cb_lst->dev_name, device_name)) in rte_dev_event_callback_process()
559 cb_lst->active = 1; in rte_dev_event_callback_process()
561 cb_lst->cb_fn(device_name, event, in rte_dev_event_callback_process()
562 cb_lst->cb_arg); in rte_dev_event_callback_process()
564 cb_lst->active = 0; in rte_dev_event_callback_process()
/dpdk/lib/ethdev/
H A Dethdev_driver.c172 struct rte_eth_dev_callback *cb_lst; in rte_eth_dev_callback_process() local
177 TAILQ_FOREACH(cb_lst, &(dev->link_intr_cbs), next) { in rte_eth_dev_callback_process()
178 if (cb_lst->cb_fn == NULL || cb_lst->event != event) in rte_eth_dev_callback_process()
180 dev_cb = *cb_lst; in rte_eth_dev_callback_process()
181 cb_lst->active = 1; in rte_eth_dev_callback_process()
189 cb_lst->active = 0; in rte_eth_dev_callback_process()
/dpdk/lib/bbdev/
H A Drte_bbdev.c1020 struct rte_bbdev_callback *cb_lst; in rte_bbdev_pmd_callback_process() local
1041 TAILQ_FOREACH(cb_lst, &(dev->list_cbs), next) { in rte_bbdev_pmd_callback_process()
1042 if (cb_lst->cb_fn == NULL || cb_lst->event != event) in rte_bbdev_pmd_callback_process()
1044 dev_cb = *cb_lst; in rte_bbdev_pmd_callback_process()
1045 cb_lst->active = 1; in rte_bbdev_pmd_callback_process()
1053 cb_lst->active = 0; in rte_bbdev_pmd_callback_process()
/dpdk/lib/cryptodev/
H A Drte_cryptodev.c1688 struct rte_cryptodev_callback *cb_lst; in rte_cryptodev_pmd_callback_process() local
1692 TAILQ_FOREACH(cb_lst, &(dev->link_intr_cbs), next) { in rte_cryptodev_pmd_callback_process()
1693 if (cb_lst->cb_fn == NULL || cb_lst->event != event) in rte_cryptodev_pmd_callback_process()
1695 dev_cb = *cb_lst; in rte_cryptodev_pmd_callback_process()
1696 cb_lst->active = 1; in rte_cryptodev_pmd_callback_process()
1701 cb_lst->active = 0; in rte_cryptodev_pmd_callback_process()