Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/libfc/
Dfc_exch.c2464 u16 pool_exch_range; in fc_exch_mgr_alloc() local
2489 pool_exch_range = (PCPU_MIN_UNIT_SIZE - sizeof(*pool)) / in fc_exch_mgr_alloc()
2491 if ((max_xid - min_xid + 1) / (fc_cpu_mask + 1) > pool_exch_range) { in fc_exch_mgr_alloc()
2492 mp->max_xid = pool_exch_range * (fc_cpu_mask + 1) + in fc_exch_mgr_alloc()
2496 pool_exch_range = (mp->max_xid - mp->min_xid + 1) / in fc_exch_mgr_alloc()
2509 mp->pool_max_index = pool_exch_range - 1; in fc_exch_mgr_alloc()
2514 pool_size = sizeof(*pool) + pool_exch_range * sizeof(struct fc_exch *); in fc_exch_mgr_alloc()