Searched refs:ncmd (Results 1 – 3 of 3) sorted by relevance
847 int ncmd, int maxsz) in uath_alloc_cmd_list() argument851 for (i = 0; i < ncmd; i++) { in uath_alloc_cmd_list()867 uath_free_cmd_list(cmds, ncmd); in uath_alloc_cmd_list()888 uath_free_cmd_list(struct uath_cmd cmds[], int ncmd) in uath_free_cmd_list() argument892 for (i = 0; i < ncmd; i++) in uath_free_cmd_list()
8640 struct fcp_pkt *ncmd = NULL; /* next pkt ptr */ in fcp_scan_commands() local8649 for (cmd = pptr->port_pkt_head; cmd != NULL; cmd = ncmd) { in fcp_scan_commands()8653 ncmd = cmd->cmd_next; /* set next command */ in fcp_scan_commands()8707 struct fcp_pkt *ncmd = NULL; /* next pkt ptr */ in fcp_abort_commands() local8712 for (cmd = head; cmd != NULL; cmd = ncmd) { in fcp_abort_commands()8715 ncmd = cmd->cmd_next; in fcp_abort_commands()13501 struct fcp_pkt *ncmd; in fcp_watch() local13559 cmd != NULL; cmd = ncmd) { in fcp_watch()13560 ncmd = cmd->cmd_next; in fcp_watch()13889 struct fcp_pkt *pcmd = NULL, *ncmd = NULL, in fcp_abort_all() local[all …]
4588 struct sf_pkt *cmd, *ncmd, *pcmd; in sf_abort() local4606 ncmd = sf->sf_pkt_head; in sf_abort()4607 while (ncmd != NULL) { in sf_abort()4608 if (ncmd == cmd) { in sf_abort()4621 pcmd = ncmd; in sf_abort()4622 ncmd = ncmd->cmd_next; in sf_abort()4626 if (ncmd == NULL) { in sf_abort()