Lines Matching refs:SC
634 static inline void append_SC(struct scsi_cmnd **SC, struct scsi_cmnd *new_SC) in append_SC() argument
639 if (!*SC) in append_SC()
640 *SC = new_SC; in append_SC()
642 for (end = *SC; SCNEXT(end); end = SCNEXT(end)) in append_SC()
648 static inline struct scsi_cmnd *remove_first_SC(struct scsi_cmnd ** SC) in remove_first_SC() argument
652 ptr = *SC; in remove_first_SC()
654 *SC = SCNEXT(*SC); in remove_first_SC()
660 static inline struct scsi_cmnd *remove_lun_SC(struct scsi_cmnd ** SC, in remove_lun_SC() argument
665 for (ptr = *SC, prev = NULL; in remove_lun_SC()
674 *SC = SCNEXT(ptr); in remove_lun_SC()
682 static inline struct scsi_cmnd *remove_SC(struct scsi_cmnd **SC, in remove_SC() argument
687 for (ptr = *SC, prev = NULL; in remove_SC()
696 *SC = SCNEXT(ptr); in remove_SC()