Searched refs:slmlp (Results 1 – 1 of 1) sorted by relevance
1011 scsi_low_msg_log_init(slmlp) in scsi_low_msg_log_init() argument1012 struct scsi_low_msg_log *slmlp; in scsi_low_msg_log_init()1015 slmlp->slml_ptr = 0;1019 scsi_low_msg_log_write(slmlp, datap, len) in scsi_low_msg_log_write() argument1020 struct scsi_low_msg_log *slmlp; in scsi_low_msg_log_write()1026 if (slmlp->slml_ptr >= SCSI_LOW_MSG_LOG_DATALEN)1029 ptr = slmlp->slml_ptr ++;1030 for (ind = 0; ind < sizeof(slmlp->slml_msg[0]) && ind < len; ind ++)1031 slmlp->slml_msg[ptr].msg[ind] = datap[ind];1032 for ( ; ind < sizeof(slmlp->slml_msg[0]); ind ++)[all …]