Searched refs:ADV_SG_BLOCK (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A Dadvansys.c974 * command uses one or more ADV_SG_BLOCK each with 15 scatter-gather
975 * elements. Allow each command to have at least one ADV_SG_BLOCK structure.
976 * This allows about 15 commands to have the maximum 17 ADV_SG_BLOCK
1829 } ADV_SG_BLOCK; typedef in typeref:struct:asc_sg_block
1870 ADV_SG_BLOCK *sg_list_ptr; /* SG list virtual address. */
1884 * Zero or more ADV_SG_BLOCK are used with each ADV_SCSI_REQ_Q. Each
1885 * ADV_SG_BLOCK structure holds 15 scatter-gather elements. Under Linux
1892 ADV_SG_BLOCK sg_block; /* Sgblock structure. */
2169 (sizeof(ADV_SG_BLOCK) * \
2648 * Display an ADV_SG_BLOCK structure.
2650 static void asc_prt_adv_sgblock(int sgblockno, ADV_SG_BLOCK *b) asc_prt_adv_sgblock()
2701 /* Display the request's ADV_SG_BLOCK structures. */ asc_prt_adv_scsi_req_q()
2713 &(((ADV_SG_BLOCK *)(q->sg_list_ptr))[sg_blk_cnt]); asc_prt_adv_scsi_req_q()
7968 * Additional ADV_SG_BLOCK structures will need to be allocated
7970 * NO_OF_SG_PER_BLOCK (15). The ADV_SG_BLOCK structures are
7985 ADV_SG_BLOCK *sg_block, *prev_sg_block; adv_get_sglist()
8026 * for the allocated ADV_SG_BLOCK structure. adv_get_sglist()
8028 sg_block = (ADV_SG_BLOCK *)ADV_8BALIGN(&sgblkp->sg_block); adv_get_sglist()
8040 * Set ADV_SCSI_REQ_T ADV_SG_BLOCK virtual and physical adv_get_sglist()
8051 * Point the previous ADV_SG_BLOCK structure to adv_get_sglist()
8052 * the newly allocated ADV_SG_BLOCK structure. adv_get_sglist()
8065 if (--sg_elem_cnt == 0) { /* Last ADV_SG_BLOCK and scatter-gather entry. */ adv_get_sglist()
8067 sg_block->sg_ptr = 0L; /* Last ADV_SG_BLOCK in list. */ adv_get_sglist()
8112 * Get 32-byte aligned ADV_SCSI_REQ_Q and ADV_SG_BLOCK pointers. adv_build_req()

Completed in 137 milliseconds