Home
last modified time | relevance | path

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

/drivers/scsi/bnx2fc/
Dbnx2fc_io.c403 u32 free_sqes; in bnx2fc_elstm_alloc() local
424 free_sqes = atomic_read(&tgt->free_sqes); in bnx2fc_elstm_alloc()
427 (free_sqes + max_sqes <= BNX2FC_SQ_WQES_MAX)) { in bnx2fc_elstm_alloc()
444 atomic_dec(&tgt->free_sqes); in bnx2fc_elstm_alloc()
472 u32 free_sqes; in bnx2fc_cmd_alloc() local
483 free_sqes = atomic_read(&tgt->free_sqes); in bnx2fc_cmd_alloc()
486 (free_sqes + max_sqes <= BNX2FC_SQ_WQES_MAX)) { in bnx2fc_cmd_alloc()
498 atomic_dec(&tgt->free_sqes); in bnx2fc_cmd_alloc()
Dbnx2fc.h314 atomic_t free_sqes; member
Dbnx2fc_tgt.c380 atomic_set(&tgt->free_sqes, BNX2FC_SQ_WQES_MAX); in bnx2fc_init_tgt()
Dbnx2fc_hwi.c1116 atomic_add(num_free_sqes, &tgt->free_sqes); in bnx2fc_process_new_cqes()
/drivers/scsi/qedf/
Dqedf_io.c305 uint32_t free_sqes; in qedf_alloc_cmd() local
309 free_sqes = atomic_read(&fcport->free_sqes); in qedf_alloc_cmd()
311 if (!free_sqes) { in qedf_alloc_cmd()
314 free_sqes); in qedf_alloc_cmd()
363 atomic_dec(&fcport->free_sqes); in qedf_alloc_cmd()
1040 atomic_inc(&fcport->free_sqes); in qedf_queuecommand()
1895 if (!atomic_read(&fcport->free_sqes)) { in qedf_initiate_abts()
2194 if (!atomic_read(&fcport->free_sqes)) { in qedf_initiate_cleanup()
Dqedf_main.c1396 atomic_set(&fcport->free_sqes, total_sqe); in qedf_offload_connection()
2851 atomic_inc(&fcport->free_sqes); in qedf_process_cqe()
2868 atomic_inc(&fcport->free_sqes); in qedf_process_cqe()
2874 atomic_inc(&fcport->free_sqes); in qedf_process_cqe()
2880 atomic_inc(&fcport->free_sqes); in qedf_process_cqe()
2886 atomic_inc(&fcport->free_sqes); in qedf_process_cqe()
2891 atomic_inc(&fcport->free_sqes); in qedf_process_cqe()
2896 atomic_inc(&fcport->free_sqes); in qedf_process_cqe()
2902 atomic_inc(&fcport->free_sqes); in qedf_process_cqe()
Dqedf_debugfs.c367 atomic_read(&fcport->free_sqes), in qedf_driver_stats_show()
Dqedf.h219 atomic_t free_sqes; member
Dqedf_els.c813 atomic_inc(&fcport->free_sqes); in qedf_requeue_io_req()