Lines Matching refs:CommandList_struct
192 static int sendcmd_withirq_core(ctlr_info_t *h, CommandList_struct *c,
194 static int process_sendcmd_error(ctlr_info_t *h, CommandList_struct *c);
198 static int check_for_unit_attention(ctlr_info_t *h, CommandList_struct *c);
246 static void set_performant_mode(ctlr_info_t *h, CommandList_struct *c) in set_performant_mode()
255 static inline void addQ(struct list_head *list, CommandList_struct *c) in addQ()
260 static inline void removeQ(CommandList_struct *c) in removeQ()
279 CommandList_struct *c) in enqueue_cmd_and_start_io()
336 static void cciss_unmap_sg_chain_block(ctlr_info_t *h, CommandList_struct *c) in cciss_unmap_sg_chain_block()
350 static void cciss_map_sg_chain_block(ctlr_info_t *h, CommandList_struct *c, in cciss_map_sg_chain_block()
990 static CommandList_struct *cmd_alloc(ctlr_info_t *h) in cmd_alloc()
992 CommandList_struct *c; in cmd_alloc()
1003 memset(c, 0, sizeof(CommandList_struct)); in cmd_alloc()
1004 cmd_dma_handle = h->cmd_pool_dhandle + i * sizeof(CommandList_struct); in cmd_alloc()
1027 static CommandList_struct *cmd_special_alloc(ctlr_info_t *h) in cmd_special_alloc()
1029 CommandList_struct *c; in cmd_special_alloc()
1033 c = pci_zalloc_consistent(h->pdev, sizeof(CommandList_struct), in cmd_special_alloc()
1045 sizeof(CommandList_struct), c, cmd_dma_handle); in cmd_special_alloc()
1060 static void cmd_free(ctlr_info_t *h, CommandList_struct *c) in cmd_free()
1069 static void cmd_special_free(ctlr_info_t *h, CommandList_struct *c) in cmd_special_free()
1077 pci_free_consistent(h->pdev, sizeof(CommandList_struct), c, in cmd_special_free()
1291 static void check_ioctl_unit_attention(ctlr_info_t *h, CommandList_struct *c) in check_ioctl_unit_attention()
1480 CommandList_struct *c; in cciss_passthru()
1580 CommandList_struct *c; in cciss_bigpassthru()
1830 CommandList_struct *c = rq->completion_data; in cciss_softirq_done()
2542 static int fill_cmd(ctlr_info_t *h, CommandList_struct *c, __u8 cmd, void *buff, in fill_cmd()
2687 CommandList_struct *c; in cciss_send_reset()
2709 static int check_target_status(ctlr_info_t *h, CommandList_struct *c) in check_target_status()
2735 static int process_sendcmd_error(ctlr_info_t *h, CommandList_struct *c) in process_sendcmd_error()
2798 static int sendcmd_withirq_core(ctlr_info_t *h, CommandList_struct *c, in sendcmd_withirq_core()
2841 CommandList_struct *c; in sendcmd_withirq()
3022 CommandList_struct *c; in start_io()
3025 c = list_entry(h->reqQ.next, CommandList_struct, list); in start_io()
3047 static inline void resend_cciss_cmd(ctlr_info_t *h, CommandList_struct *c) in resend_cciss_cmd()
3073 CommandList_struct *cmd, int *retry_cmd) in evaluate_target_status()
3137 static inline void complete_command(ctlr_info_t *h, CommandList_struct *cmd, in complete_command()
3304 CommandList_struct *c; in do_cciss_request()
3487 static inline void finish_cmd(ctlr_info_t *h, CommandList_struct *c, in finish_cmd()
3527 CommandList_struct *c; in process_indexed_cmd()
3540 CommandList_struct *c = NULL; in process_nonindexed_cmd()
3776 static int check_for_unit_attention(ctlr_info_t *h, CommandList_struct *c) in check_for_unit_attention()
4039 if ((sizeof(CommandList_struct) % 32) != 0) { in cciss_put_controller_into_performant_mode()
4042 (int)sizeof(CommandList_struct), in cciss_put_controller_into_performant_mode()
4834 h->nr_cmds * sizeof(CommandList_struct), in cciss_allocate_cmd_pool()
4886 h->nr_cmds * sizeof(CommandList_struct), in cciss_free_cmd_pool()
5358 BUILD_BUG_ON(sizeof(CommandList_struct) % COMMANDLIST_ALIGNMENT); in cciss_init()