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
1711 struct cpt_device_table *dev_tbl; in otx_cpt_crypto_exit() local1717 dev_tbl = (engine_type == OTX_CPT_AE_TYPES) ? &ae_devices : &se_devices; in otx_cpt_crypto_exit()1718 count = atomic_read(&dev_tbl->count); in otx_cpt_crypto_exit()1720 if (pdev == dev_tbl->desc[i].dev) { in otx_cpt_crypto_exit()1722 dev_tbl->desc[j] = dev_tbl->desc[j+1]; in otx_cpt_crypto_exit()
1720 struct cpt_device_table *dev_tbl; in otx2_cpt_crypto_exit() local1726 dev_tbl = &se_devices; in otx2_cpt_crypto_exit()1727 count = atomic_read(&dev_tbl->count); in otx2_cpt_crypto_exit()1729 if (pdev == dev_tbl->desc[i].dev) { in otx2_cpt_crypto_exit()1731 dev_tbl->desc[j] = dev_tbl->desc[j+1]; in otx2_cpt_crypto_exit()