Lines Matching refs:SC
645 static inline void append_SC(struct scsi_cmnd **SC, struct scsi_cmnd *new_SC) in append_SC() argument
650 if (!*SC) in append_SC()
651 *SC = new_SC; in append_SC()
653 for (end = *SC; SCNEXT(end); end = SCNEXT(end)) in append_SC()
659 static inline struct scsi_cmnd *remove_first_SC(struct scsi_cmnd ** SC) in remove_first_SC() argument
663 ptr = *SC; in remove_first_SC()
665 *SC = SCNEXT(*SC); in remove_first_SC()
671 static inline struct scsi_cmnd *remove_lun_SC(struct scsi_cmnd ** SC, in remove_lun_SC() argument
676 for (ptr = *SC, prev = NULL; in remove_lun_SC()
685 *SC = SCNEXT(ptr); in remove_lun_SC()
693 static inline struct scsi_cmnd *remove_SC(struct scsi_cmnd **SC, in remove_SC() argument
698 for (ptr = *SC, prev = NULL; in remove_SC()
707 *SC = SCNEXT(ptr); in remove_SC()