Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/scsi/qla4xxx/
Dql4_os.c420 srb = mempool_alloc(ha->srb_mempool, GFP_ATOMIC); in qla4xxx_get_new_srb()
454 mempool_free(srb, ha->srb_mempool); in qla4xxx_srb_compl()
533 mempool_free(srb, ha->srb_mempool); in qla4xxx_queuecommand_lck()
572 if (ha->srb_mempool) in DEF_SCSI_QCMD()
573 mempool_destroy(ha->srb_mempool); in DEF_SCSI_QCMD()
575 ha->srb_mempool = NULL; in DEF_SCSI_QCMD()
641 ha->srb_mempool = mempool_create(SRB_MIN_REQ, mempool_alloc_slab, in qla4xxx_mem_alloc()
643 if (ha->srb_mempool == NULL) { in qla4xxx_mem_alloc()
Dql4_def.h409 mempool_t *srb_mempool; member
/linux-2.6.39/drivers/scsi/qla2xxx/
Dqla_bsg.c21 sp = mempool_alloc(ha->srb_mempool, GFP_KERNEL); in qla2x00_get_ctx_bsg_sp()
26 mempool_free(sp, ha->srb_mempool); in qla2x00_get_ctx_bsg_sp()
376 mempool_free(sp, ha->srb_mempool); in qla2x00_process_els()
501 mempool_free(sp, ha->srb_mempool); in qla2x00_process_ct()
1548 mempool_free(sp, ha->srb_mempool); in qla24xx_bsg_timeout()
Dqla_os.c514 sp = mempool_alloc(ha->srb_mempool, GFP_ATOMIC); in qla2x00_get_new_sp()
582 mempool_free(sp, ha->srb_mempool); in qla2xxx_queuecommand()
1243 ha->srb_mempool); in qla2x00_abort_all_cmds()
2643 ha->srb_mempool = mempool_create_slab_pool(SRB_MIN_REQ, srb_cachep); in qla2x00_mem_alloc()
2644 if (!ha->srb_mempool) in qla2x00_mem_alloc()
2825 mempool_destroy(ha->srb_mempool); in qla2x00_mem_alloc()
2826 ha->srb_mempool = NULL; in qla2x00_mem_alloc()
2883 if (ha->srb_mempool) in qla2x00_mem_free()
2884 mempool_destroy(ha->srb_mempool); in qla2x00_mem_free()
2956 ha->srb_mempool = NULL; in qla2x00_mem_free()
[all …]
Dqla_init.c77 mempool_free(sp, sp->fcport->vha->hw->srb_mempool); in qla2x00_ctx_sp_free()
96 sp = mempool_alloc(ha->srb_mempool, GFP_KERNEL); in qla2x00_get_ctx_sp()
101 mempool_free(sp, ha->srb_mempool); in qla2x00_get_ctx_sp()
107 mempool_free(sp, ha->srb_mempool); in qla2x00_get_ctx_sp()
Dqla_isr.c1070 mempool_free(sp, ha->srb_mempool); in qla2x00_ct_entry()
1164 mempool_free(sp, ha->srb_mempool); in qla24xx_els_ct_entry()
Dqla_def.h2400 mempool_t *srb_mempool; member