Searched refs:num_pd (Results 1 – 3 of 3) sorted by relevance
228 if (atomic_inc_return(&sdev->num_pd) > SIW_MAX_PD) { in siw_alloc_pd()229 atomic_dec(&sdev->num_pd); in siw_alloc_pd()232 siw_dbg_pd(pd, "now %d PD's(s)\n", atomic_read(&sdev->num_pd)); in siw_alloc_pd()242 atomic_dec(&sdev->num_pd); in siw_dealloc_pd()
407 atomic_set(&sdev->num_pd, 0); in siw_device_create()
92 atomic_t num_pd; member