Searched refs:nr_descs (Results 1 – 3 of 3) sorted by relevance
266 unsigned int nr_descs = tx_queue->insert_count - old_write_count; in ef100_tx_make_descriptors() local268 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()
475 static void sq_prepare_ctrl(struct hinic_sq_ctrl *ctrl, int nr_descs) in sq_prepare_ctrl() argument481 bufdesc_size = nr_descs * sizeof(struct hinic_sq_bufdesc); in sq_prepare_ctrl()
2130 u32 nr_descs; member2135 u32 nr_descs; member2180 b = bsearch(&kf_btf, tab->descs, tab->nr_descs, in __find_kfunc_desc_btf()2183 if (tab->nr_descs == MAX_KFUNC_BTFS) { in __find_kfunc_desc_btf()2216 b = &tab->descs[tab->nr_descs++]; in __find_kfunc_desc_btf()2232 while (tab->nr_descs--) { in bpf_free_kfunc_btf_tab()2233 module_put(tab->descs[tab->nr_descs].module); in bpf_free_kfunc_btf_tab()2234 btf_put(tab->descs[tab->nr_descs].btf); in bpf_free_kfunc_btf_tab()2323 if (tab->nr_descs == MAX_KFUNC_DESCS) { in add_kfunc_call()2363 desc = &tab->descs[tab->nr_descs++]; in add_kfunc_call()[all …]
Completed in 30 milliseconds