Searched refs:nr_descs (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/sfc/ |
D | ef100_tx.c | 266 unsigned int nr_descs = tx_queue->insert_count - old_write_count; in ef100_tx_make_descriptors() local 268 if (unlikely(nr_descs == 0)) in ef100_tx_make_descriptors() 287 nr_descs--; in ef100_tx_make_descriptors() 292 nr_descs = 1; in ef100_tx_make_descriptors() 306 buffer, txd, nr_descs); in ef100_tx_make_descriptors() 312 buffer, txd, nr_descs); in ef100_tx_make_descriptors()
|
/Linux-v6.6/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_qp.c | 475 static void sq_prepare_ctrl(struct hinic_sq_ctrl *ctrl, int nr_descs) in sq_prepare_ctrl() argument 481 bufdesc_size = nr_descs * sizeof(struct hinic_sq_bufdesc); in sq_prepare_ctrl()
|
/Linux-v6.6/kernel/bpf/ |
D | verifier.c | 2481 u32 nr_descs; member 2486 u32 nr_descs; member 2516 return bsearch(&desc, tab->descs, tab->nr_descs, in find_kfunc_desc() 2544 b = bsearch(&kf_btf, tab->descs, tab->nr_descs, in __find_kfunc_desc_btf() 2547 if (tab->nr_descs == MAX_KFUNC_BTFS) { in __find_kfunc_desc_btf() 2580 b = &tab->descs[tab->nr_descs++]; in __find_kfunc_desc_btf() 2585 sort(tab->descs, tab->nr_descs, sizeof(tab->descs[0]), in __find_kfunc_desc_btf() 2596 while (tab->nr_descs--) { in bpf_free_kfunc_btf_tab() 2597 module_put(tab->descs[tab->nr_descs].module); in bpf_free_kfunc_btf_tab() 2598 btf_put(tab->descs[tab->nr_descs].btf); in bpf_free_kfunc_btf_tab() [all …]
|