Home
last modified time | relevance | path

Searched refs:pprm (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/hw/irdma/
A Dpble.h119 enum irdma_status_code irdma_prm_add_pble_mem(struct irdma_pble_prm *pprm,
122 irdma_prm_get_pbles(struct irdma_pble_prm *pprm,
125 void irdma_prm_return_pbles(struct irdma_pble_prm *pprm,
A Dutils.c2248 pprm->total_pble_alloc += pchunk->size >> 3; in irdma_prm_add_pble_mem()
2249 pprm->free_pble_cnt += pchunk->size >> 3; in irdma_prm_add_pble_mem()
2263 irdma_prm_get_pbles(struct irdma_pble_prm *pprm, in irdma_prm_get_pbles() argument
2278 spin_lock_irqsave(&pprm->prm_lock, flags); in irdma_prm_get_pbles()
2279 while (chunk_entry != &pprm->clist) { in irdma_prm_get_pbles()
2297 offset = bit_idx << pprm->pble_shift; in irdma_prm_get_pbles()
2305 pprm->free_pble_cnt -= chunkinfo->bits_used << (pprm->pble_shift - 3); in irdma_prm_get_pbles()
2306 spin_unlock_irqrestore(&pprm->prm_lock, flags); in irdma_prm_get_pbles()
2321 spin_lock_irqsave(&pprm->prm_lock, flags); in irdma_prm_return_pbles()
2322 pprm->free_pble_cnt += chunkinfo->bits_used << (pprm->pble_shift - 3); in irdma_prm_return_pbles()
[all …]

Completed in 8 milliseconds