Searched refs:wrkBuff (Results 1 – 2 of 2) sorted by relevance
2213 unsigned char *wrkBuff; in do_scsi_device_read_write() local2456 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() local6564 wrkBuff = malloc(bs * bpt + psz); in do_scsi_sgm_read_write()[all …]
3428 void * wrkBuff; in sg_memalign() local3431 wrkBuff = (uint8_t *)calloc(num_bytes + psz, 1); in sg_memalign()3432 if (NULL == wrkBuff) { in sg_memalign()3437 *buff_to_free = (uint8_t *)wrkBuff; in sg_memalign()3439 (((sg_uintptr_t)wrkBuff + align_1) & (~align_1)); in sg_memalign()3443 pr2ws("buff_to_free=%p, ", wrkBuff); in sg_memalign()