Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/ulp/rtrs/
Drtrs-clt.c83 bit = find_first_zero_bit(clt->permits_map, max_depth); in __rtrs_get_permit()
86 } while (test_and_set_bit_lock(bit, clt->permits_map)); in __rtrs_get_permit()
99 clear_bit_unlock(permit->mem_id, clt->permits_map); in __rtrs_put_permit()
154 if (WARN_ON(!test_bit(permit->mem_id, clt->permits_map))) in rtrs_clt_put_permit()
1411 clt->permits_map = bitmap_zalloc(clt->queue_depth, GFP_KERNEL); in alloc_permits()
1412 if (!clt->permits_map) { in alloc_permits()
1433 bitmap_free(clt->permits_map); in alloc_permits()
1434 clt->permits_map = NULL; in alloc_permits()
1441 if (clt->permits_map) in free_permits()
1443 bitmap_empty(clt->permits_map, clt->queue_depth)); in free_permits()
[all …]
Drtrs-clt.h171 unsigned long *permits_map; member