Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/libfc/
Dfc_exch.c2468 u16 pool_exch_range; in fc_exch_mgr_alloc() local
2493 pool_exch_range = (PCPU_MIN_UNIT_SIZE - sizeof(*pool)) / in fc_exch_mgr_alloc()
2495 if ((max_xid - min_xid + 1) / (fc_cpu_mask + 1) > pool_exch_range) { in fc_exch_mgr_alloc()
2496 mp->max_xid = pool_exch_range * (fc_cpu_mask + 1) + in fc_exch_mgr_alloc()
2500 pool_exch_range = (mp->max_xid - mp->min_xid + 1) / in fc_exch_mgr_alloc()
2513 mp->pool_max_index = pool_exch_range - 1; in fc_exch_mgr_alloc()
2518 pool_size = sizeof(*pool) + pool_exch_range * sizeof(struct fc_exch *); in fc_exch_mgr_alloc()