Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/libfc/
Dfc_exch.c2470 u16 pool_exch_range; in fc_exch_mgr_alloc() local
2495 pool_exch_range = (PCPU_MIN_UNIT_SIZE - sizeof(*pool)) / in fc_exch_mgr_alloc()
2497 if ((max_xid - min_xid + 1) / (fc_cpu_mask + 1) > pool_exch_range) { in fc_exch_mgr_alloc()
2498 mp->max_xid = pool_exch_range * (fc_cpu_mask + 1) + in fc_exch_mgr_alloc()
2502 pool_exch_range = (mp->max_xid - mp->min_xid + 1) / in fc_exch_mgr_alloc()
2515 mp->pool_max_index = pool_exch_range - 1; in fc_exch_mgr_alloc()
2520 pool_size = sizeof(*pool) + pool_exch_range * sizeof(struct fc_exch *); in fc_exch_mgr_alloc()