Home
last modified time | relevance | path

Searched refs:free_cnt (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/hw/usnic/
Dusnic_vnic.c229 return vnic->chunks[type].free_cnt; in usnic_vnic_res_free_cnt()
264 src->free_cnt--; in usnic_vnic_get_resources()
292 vnic->chunks[res->type].free_cnt++; in usnic_vnic_put_resources()
317 chunk->cnt = chunk->free_cnt = cnt; in usnic_vnic_alloc_res_chunk()
Dusnic_vnic.h71 int free_cnt; member
/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c351 atomic_set(&sq->free_cnt, q_len - 1); in nicvf_init_snd_queue()
860 atomic_sub(desc_cnt, &sq->free_cnt); in nicvf_get_sq_desc()
870 atomic_add(desc_cnt, &sq->free_cnt); in nicvf_put_sq_desc()
1214 if (subdesc_cnt > atomic_read(&sq->free_cnt)) in nicvf_sq_append_skb()
Dnicvf_queues.h234 atomic_t free_cnt; member
/drivers/iommu/
Ddmar.c1142 qi->free_cnt++; in reclaim_free_desc()
1227 while (qi->free_cnt < 3) { in qi_submit_sync()
1247 qi->free_cnt -= 2; in qi_submit_sync()
1397 qi->free_cnt = QI_LENGTH; in __dmar_enable_qi()