Lines Matching refs:SC
653 static inline void append_SC(struct scsi_cmnd **SC, struct scsi_cmnd *new_SC) in append_SC() argument
658 if (!*SC) in append_SC()
659 *SC = new_SC; in append_SC()
661 for (end = *SC; SCNEXT(end); end = SCNEXT(end)) in append_SC()
667 static inline struct scsi_cmnd *remove_first_SC(struct scsi_cmnd ** SC) in remove_first_SC() argument
671 ptr = *SC; in remove_first_SC()
673 *SC = SCNEXT(*SC); in remove_first_SC()
679 static inline struct scsi_cmnd *remove_lun_SC(struct scsi_cmnd ** SC, in remove_lun_SC() argument
684 for (ptr = *SC, prev = NULL; in remove_lun_SC()
693 *SC = SCNEXT(ptr); in remove_lun_SC()
701 static inline struct scsi_cmnd *remove_SC(struct scsi_cmnd **SC, in remove_SC() argument
706 for (ptr = *SC, prev = NULL; in remove_SC()
715 *SC = SCNEXT(ptr); in remove_SC()