Searched refs:FNIC_OXID_POOL_SZ (Results 1 – 2 of 2) sorted by relevance
69 #define FNIC_OXID_POOL_SZ (512) /* always power of 2 */ macro73 #define FNIC_OXID_IDX(oxid) ((oxid) & (FNIC_OXID_POOL_SZ - 1))237 DECLARE_BITMAP(bitmap, FNIC_OXID_POOL_SZ);242 DECLARE_BITMAP(pending_schedule_free, FNIC_OXID_POOL_SZ);
137 idx = find_next_zero_bit(oxid_pool->bitmap, FNIC_OXID_POOL_SZ, oxid_pool->next_idx); in fdls_alloc_oxid()138 if (idx == FNIC_OXID_POOL_SZ) { in fdls_alloc_oxid()146 oxid_pool->next_idx = (idx + 1) % FNIC_OXID_POOL_SZ; /* cycle through the bitmap */ in fdls_alloc_oxid()314 for_each_set_bit(idx, oxid_pool->pending_schedule_free, FNIC_OXID_POOL_SZ) { in fdls_schedule_oxid_free_retry_work()
Completed in 14 milliseconds