Lines Matching refs:wrkBuff
2213 unsigned char *wrkBuff; in do_scsi_device_read_write() local
2456 wrkBuff = malloc(bs * bpt + psz); in do_scsi_device_read_write()
2457 if (0 == wrkBuff) { in do_scsi_device_read_write()
2461 wrkPos = (unsigned char *)(((unsigned long)wrkBuff + psz - 1) & in do_scsi_device_read_write()
2464 wrkBuff = malloc(bs * bpt); in do_scsi_device_read_write()
2465 if (0 == wrkBuff) { in do_scsi_device_read_write()
2469 wrkPos = wrkBuff; in do_scsi_device_read_write()
2640 free(wrkBuff); in do_scsi_device_read_write()
6287 unsigned char *wrkBuff = NULL; in do_scsi_sgm_read_write() local
6564 wrkBuff = malloc(bs * bpt + psz); in do_scsi_sgm_read_write()
6565 if (0 == wrkBuff) { in do_scsi_sgm_read_write()
6571 (unsigned char *)(((unsigned long)wrkBuff + psz - 1) in do_scsi_sgm_read_write()
6574 wrkBuff = malloc(bs * bpt); in do_scsi_sgm_read_write()
6575 if (0 == wrkBuff) { in do_scsi_sgm_read_write()
6579 wrkPos = wrkBuff; in do_scsi_sgm_read_write()
6722 if (wrkBuff) in do_scsi_sgm_read_write()
6723 free(wrkBuff); in do_scsi_sgm_read_write()