Searched refs:shared_bufs (Results 1 – 2 of 2) sorted by relevance
19 if (pf->shared_bufs[i].id == sb_id) in nfp_shared_buf_pool_unit()20 return le32_to_cpu(pf->shared_bufs[i].pool_size_unit); in nfp_shared_buf_pool_unit()95 num_entries * sizeof(pf->shared_bufs[0]), in nfp_shared_buf_register()102 pf->shared_bufs = kmalloc_array(num_entries, sizeof(pf->shared_bufs[0]), in nfp_shared_buf_register()104 if (!pf->shared_bufs) { in nfp_shared_buf_register()110 struct nfp_shared_buf *sb = &pf->shared_bufs[i]; in nfp_shared_buf_register()134 le32_to_cpu(pf->shared_bufs[i].id)); in nfp_shared_buf_register()135 kfree(pf->shared_bufs); in nfp_shared_buf_register()148 le32_to_cpu(pf->shared_bufs[i].id)); in nfp_shared_buf_unregister()149 kfree(pf->shared_bufs); in nfp_shared_buf_unregister()
143 struct nfp_shared_buf *shared_bufs; member