Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/scsi/libfc/
H A Dfc_exch.c91 u16 max_xid; member
944 if ((xid >= mp->min_xid) && (xid <= mp->max_xid)) { in fc_exch_find()
2007 if (ema->mp->min_xid <= xid && xid <= ema->mp->max_xid) in fc_exch_lookup()
2466 u16 min_xid, u16 max_xid, in fc_exch_mgr_alloc() argument
2475 if (max_xid <= min_xid || max_xid == FC_XID_UNKNOWN || in fc_exch_mgr_alloc()
2478 min_xid, max_xid); 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()
2501 mp->max_xid = max_xid; in fc_exch_mgr_alloc()
2502 pool_exch_range = (mp->max_xid - mp->min_xid + 1) / in fc_exch_mgr_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c224 u16 max_xid = hba->max_xid; in bnx2fc_cmd_mgr_alloc() local
226 if (max_xid <= min_xid || max_xid == FC_XID_UNKNOWN) { in bnx2fc_cmd_mgr_alloc()
228 and max_xid 0x%x\n", min_xid, max_xid); in bnx2fc_cmd_mgr_alloc()
231 BNX2FC_MISC_DBG("min xid 0x%x, max xid 0x%x\n", min_xid, max_xid); in bnx2fc_cmd_mgr_alloc()
233 num_ios = max_xid - min_xid + 1; in bnx2fc_cmd_mgr_alloc()
342 u16 max_xid = hba->max_xid; in bnx2fc_cmd_mgr_free() local
346 num_ios = max_xid - min_xid + 1; in bnx2fc_cmd_mgr_free()
H A Dbnx2fc_fcoe.c1010 fcoe_min_xid = hba->max_xid + 1; in bnx2fc_em_config()
1012 fcoe_max_xid = hba->max_xid + FCOE_XIDS_PER_CPU_OFFSET; in bnx2fc_em_config()
1014 fcoe_max_xid = hba->max_xid + FCOE_MAX_XID_OFFSET; in bnx2fc_em_config()
1384 hba->max_xid = (hba->max_tasks - 1); in bnx2fc_hba_create()
H A Dbnx2fc.h208 u16 max_xid; member
H A Dbnx2fc_hwi.c703 if (xid > hba->max_xid) { in bnx2fc_process_unsol_compl()
816 if (xid > hba->max_xid) { in bnx2fc_process_unsol_compl()
/OK3568_Linux_fs/kernel/drivers/scsi/qedf/
H A Dqedf_io.c117 u16 max_xid = (FCOE_PARAMS_NUM_TASKS - 1); in qedf_cmd_mgr_free() local
122 num_ios = max_xid - min_xid + 1; in qedf_cmd_mgr_free()
186 u16 max_xid = (FCOE_PARAMS_NUM_TASKS - 1); in qedf_cmd_mgr_alloc() local
194 if (max_xid <= min_xid || max_xid == FC_XID_UNKNOWN) { in qedf_cmd_mgr_alloc()
196 "max_xid 0x%x.\n", min_xid, max_xid); in qedf_cmd_mgr_alloc()
201 "0x%x.\n", min_xid, max_xid); in qedf_cmd_mgr_alloc()
203 num_ios = max_xid - min_xid + 1; in qedf_cmd_mgr_alloc()
/OK3568_Linux_fs/kernel/include/scsi/
H A Dlibfc.h992 u16 min_xid, u16 max_xid,
/OK3568_Linux_fs/kernel/drivers/scsi/fcoe/
H A Dfcoe.c928 u16 max_xid = FCOE_MAX_XID; in fcoe_em_config() local
935 (lport->lro_xid >= max_xid)) { in fcoe_em_config()
986 if (!fc_exch_mgr_alloc(lport, FC_CLASS_3, min_xid, max_xid, NULL)) { in fcoe_em_config()