Searched refs:cnt_to_end (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/scsi/arcmsr/ |
D | arcmsr_attr.c | 83 unsigned int cnt_to_end = CIRC_CNT_TO_END(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_sysfs_iop_message_read() local 89 if (allxfer_len <= cnt_to_end) in arcmsr_sysfs_iop_message_read() 92 memcpy(ptmpQbuffer, acb->rqbuffer + tail, cnt_to_end); in arcmsr_sysfs_iop_message_read() 93 memcpy(ptmpQbuffer + cnt_to_end, acb->rqbuffer, allxfer_len - cnt_to_end); in arcmsr_sysfs_iop_message_read()
|
D | arcmsr_hba.c | 3035 unsigned int cnt_to_end = CIRC_CNT_TO_END(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_iop_message_xfer() local 3041 if (allxfer_len <= cnt_to_end) in arcmsr_iop_message_xfer() 3044 memcpy(ptmpQbuffer, acb->rqbuffer + tail, cnt_to_end); in arcmsr_iop_message_xfer() 3045 memcpy(ptmpQbuffer + cnt_to_end, acb->rqbuffer, allxfer_len - cnt_to_end); in arcmsr_iop_message_xfer()
|