Home
last modified time | relevance | path

Searched refs:num_pd (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/infiniband/sw/siw/
H A Dsiw_verbs.c244 if (atomic_inc_return(&sdev->num_pd) > SIW_MAX_PD) { in siw_alloc_pd()
245 atomic_dec(&sdev->num_pd); in siw_alloc_pd()
248 siw_dbg_pd(pd, "now %d PD's(s)\n", atomic_read(&sdev->num_pd)); in siw_alloc_pd()
258 atomic_dec(&sdev->num_pd); in siw_dealloc_pd()
H A Dsiw_main.c354 atomic_set(&sdev->num_pd, 0); in siw_device_create()
H A Dsiw.h92 atomic_t num_pd; member