Lines Matching refs:CommandList_struct

194 static int sendcmd_withirq_core(ctlr_info_t *h, CommandList_struct *c,
196 static int process_sendcmd_error(ctlr_info_t *h, CommandList_struct *c);
200 static int check_for_unit_attention(ctlr_info_t *h, CommandList_struct *c);
248 static void set_performant_mode(ctlr_info_t *h, CommandList_struct *c) in set_performant_mode()
257 static inline void addQ(struct list_head *list, CommandList_struct *c) in addQ()
262 static inline void removeQ(CommandList_struct *c) in removeQ()
281 CommandList_struct *c) in enqueue_cmd_and_start_io()
338 static void cciss_unmap_sg_chain_block(ctlr_info_t *h, CommandList_struct *c) in cciss_unmap_sg_chain_block()
352 static void cciss_map_sg_chain_block(ctlr_info_t *h, CommandList_struct *c, in cciss_map_sg_chain_block()
974 static CommandList_struct *cmd_alloc(ctlr_info_t *h) in cmd_alloc()
976 CommandList_struct *c; in cmd_alloc()
987 memset(c, 0, sizeof(CommandList_struct)); in cmd_alloc()
988 cmd_dma_handle = h->cmd_pool_dhandle + i * sizeof(CommandList_struct); in cmd_alloc()
1011 static CommandList_struct *cmd_special_alloc(ctlr_info_t *h) in cmd_special_alloc()
1013 CommandList_struct *c; in cmd_special_alloc()
1017 c = pci_zalloc_consistent(h->pdev, sizeof(CommandList_struct), in cmd_special_alloc()
1029 sizeof(CommandList_struct), c, cmd_dma_handle); in cmd_special_alloc()
1044 static void cmd_free(ctlr_info_t *h, CommandList_struct *c) in cmd_free()
1053 static void cmd_special_free(ctlr_info_t *h, CommandList_struct *c) in cmd_special_free()
1061 pci_free_consistent(h->pdev, sizeof(CommandList_struct), c, in cmd_special_free()
1275 static void check_ioctl_unit_attention(ctlr_info_t *h, CommandList_struct *c) in check_ioctl_unit_attention()
1464 CommandList_struct *c; in cciss_passthru()
1564 CommandList_struct *c; in cciss_bigpassthru()
1814 CommandList_struct *c = rq->completion_data; in cciss_softirq_done()
2526 static int fill_cmd(ctlr_info_t *h, CommandList_struct *c, __u8 cmd, void *buff, in fill_cmd()
2671 CommandList_struct *c; in cciss_send_reset()
2693 static int check_target_status(ctlr_info_t *h, CommandList_struct *c) in check_target_status()
2719 static int process_sendcmd_error(ctlr_info_t *h, CommandList_struct *c) in process_sendcmd_error()
2782 static int sendcmd_withirq_core(ctlr_info_t *h, CommandList_struct *c, in sendcmd_withirq_core()
2825 CommandList_struct *c; in sendcmd_withirq()
3006 CommandList_struct *c; in start_io()
3009 c = list_entry(h->reqQ.next, CommandList_struct, list); in start_io()
3031 static inline void resend_cciss_cmd(ctlr_info_t *h, CommandList_struct *c) in resend_cciss_cmd()
3057 CommandList_struct *cmd, int *retry_cmd) in evaluate_target_status()
3121 static inline void complete_command(ctlr_info_t *h, CommandList_struct *cmd, in complete_command()
3288 CommandList_struct *c; in do_cciss_request()
3471 static inline void finish_cmd(ctlr_info_t *h, CommandList_struct *c, in finish_cmd()
3511 CommandList_struct *c; in process_indexed_cmd()
3524 CommandList_struct *c = NULL; in process_nonindexed_cmd()
3760 static int check_for_unit_attention(ctlr_info_t *h, CommandList_struct *c) in check_for_unit_attention()
4023 if ((sizeof(CommandList_struct) % 32) != 0) { in cciss_put_controller_into_performant_mode()
4026 (int)sizeof(CommandList_struct), in cciss_put_controller_into_performant_mode()
4819 h->nr_cmds * sizeof(CommandList_struct), in cciss_allocate_cmd_pool()
4871 h->nr_cmds * sizeof(CommandList_struct), in cciss_free_cmd_pool()
5343 BUILD_BUG_ON(sizeof(CommandList_struct) % COMMANDLIST_ALIGNMENT); in cciss_init()