Searched refs:dev_tbl (Results 1 – 4 of 4) sorted by relevance
365 xa_init(&rx->dev_tbl); in hfi1_alloc_rx()437 return xa_insert(&rx->dev_tbl, id, data, GFP_NOWAIT); in hfi1_netdev_add_data()451 return xa_erase(&rx->dev_tbl, id); in hfi1_netdev_remove_data()464 return xa_load(&rx->dev_tbl, id); in hfi1_netdev_get_data()479 ret = xa_find(&rx->dev_tbl, &index, UINT_MAX, XA_PRESENT); in hfi1_netdev_get_first_data()
57 struct xarray dev_tbl; member
1710 struct cpt_device_table *dev_tbl; in otx_cpt_crypto_exit() local1716 dev_tbl = (engine_type == OTX_CPT_AE_TYPES) ? &ae_devices : &se_devices; in otx_cpt_crypto_exit()1717 count = atomic_read(&dev_tbl->count); in otx_cpt_crypto_exit()1719 if (pdev == dev_tbl->desc[i].dev) { in otx_cpt_crypto_exit()1721 dev_tbl->desc[j] = dev_tbl->desc[j+1]; in otx_cpt_crypto_exit()
1719 struct cpt_device_table *dev_tbl; in otx2_cpt_crypto_exit() local1725 dev_tbl = &se_devices; in otx2_cpt_crypto_exit()1726 count = atomic_read(&dev_tbl->count); in otx2_cpt_crypto_exit()1728 if (pdev == dev_tbl->desc[i].dev) { in otx2_cpt_crypto_exit()1730 dev_tbl->desc[j] = dev_tbl->desc[j+1]; in otx2_cpt_crypto_exit()