Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/block/
Dcciss_scsi.c97 #define CMD_STACK_SIZE (SCSI_CCISS_CAN_QUEUE * \ macro
104 struct cciss_scsi_cmd_stack_elem_t *elem[CMD_STACK_SIZE];
173 if (stk->top >= CMD_STACK_SIZE) { in scsi_cmd_free()
191 size = sizeof(struct cciss_scsi_cmd_stack_elem_t) * CMD_STACK_SIZE; in scsi_cmd_stack_setup()
201 for (i=0; i<CMD_STACK_SIZE; i++) { in scsi_cmd_stack_setup()
206 stk->top = CMD_STACK_SIZE-1; in scsi_cmd_stack_setup()
219 if (stk->top != CMD_STACK_SIZE-1) { in scsi_cmd_stack_free()
221 CMD_STACK_SIZE - stk->top); in scsi_cmd_stack_free()
226 size = sizeof(struct cciss_scsi_cmd_stack_elem_t) * CMD_STACK_SIZE; in scsi_cmd_stack_free()