Searched refs:max_xid (Results 1 – 6 of 6) sorted by relevance
/drivers/scsi/libfc/ |
D | fc_exch.c | 99 u16 max_xid; member 837 if ((xid >= mp->min_xid) && (xid <= mp->max_xid)) { in fc_exch_find() 1859 if (ema->mp->min_xid <= xid && xid <= ema->mp->max_xid) in fc_exch_lookup() 2281 u16 min_xid, u16 max_xid, in fc_exch_mgr_alloc() argument 2290 if (max_xid <= min_xid || max_xid == FC_XID_UNKNOWN || in fc_exch_mgr_alloc() 2293 min_xid, max_xid); in fc_exch_mgr_alloc() 2311 if ((max_xid - min_xid + 1) / (fc_cpu_mask + 1) > pool_exch_range) { in fc_exch_mgr_alloc() 2312 mp->max_xid = pool_exch_range * (fc_cpu_mask + 1) + in fc_exch_mgr_alloc() 2315 mp->max_xid = max_xid; in fc_exch_mgr_alloc() 2316 pool_exch_range = (mp->max_xid - mp->min_xid + 1) / in fc_exch_mgr_alloc() [all …]
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_io.c | 255 u16 max_xid = hba->max_xid; in bnx2fc_cmd_mgr_alloc() local 257 if (max_xid <= min_xid || max_xid == FC_XID_UNKNOWN) { in bnx2fc_cmd_mgr_alloc() 259 and max_xid 0x%x\n", min_xid, max_xid); in bnx2fc_cmd_mgr_alloc() 262 BNX2FC_MISC_DBG("min xid 0x%x, max xid 0x%x\n", min_xid, max_xid); in bnx2fc_cmd_mgr_alloc() 264 num_ios = max_xid - min_xid + 1; in bnx2fc_cmd_mgr_alloc() 371 u16 max_xid = hba->max_xid; in bnx2fc_cmd_mgr_free() local 375 num_ios = max_xid - min_xid + 1; in bnx2fc_cmd_mgr_free()
|
D | bnx2fc_fcoe.c | 953 fcoe_min_xid = hba->max_xid + 1; in bnx2fc_em_config() 955 fcoe_max_xid = hba->max_xid + FCOE_XIDS_PER_CPU_OFFSET; in bnx2fc_em_config() 957 fcoe_max_xid = hba->max_xid + FCOE_MAX_XID_OFFSET; in bnx2fc_em_config() 1310 hba->max_xid = (hba->max_tasks - 1); in bnx2fc_hba_create()
|
D | bnx2fc.h | 204 u16 max_xid; member
|
D | bnx2fc_hwi.c | 704 if (xid > hba->max_xid) { in bnx2fc_process_unsol_compl() 822 if (xid > hba->max_xid) { in bnx2fc_process_unsol_compl()
|
/drivers/scsi/fcoe/ |
D | fcoe.c | 891 u16 max_xid = FCOE_MAX_XID; in fcoe_em_config() local 898 (lport->lro_xid >= max_xid)) { in fcoe_em_config() 949 if (!fc_exch_mgr_alloc(lport, FC_CLASS_3, min_xid, max_xid, NULL)) { in fcoe_em_config()
|