Searched refs:buf_capacity (Results 1 – 1 of 1) sorted by relevance
3841 int buf_capacity = 0; in do_scsi_read_buffer() local3920 buf_capacity = ((rbBuff[1] << 16) | (rbBuff[2] << 8) | rbBuff[3]); in do_scsi_read_buffer()3922 buf_capacity, (int)rbBuff[0]); in do_scsi_read_buffer()3925 buf_size = buf_capacity; in do_scsi_read_buffer()3926 else if (buf_size > buf_capacity) { in do_scsi_read_buffer()3929 buf_size, buf_capacity); in do_scsi_read_buffer()4634 int find_out_about_buffer(int sg_fd, int *buf_capacity, char *file_name) in find_out_about_buffer() argument4709 *(buf_capacity) = ((buffp[1] << 16) | (buffp[2] << 8) | buffp[3]); in find_out_about_buffer()4717 *(buf_capacity), buf_granul); in find_out_about_buffer()4719 res = ioctl(sg_fd, SG_SET_RESERVED_SIZE, buf_capacity); in find_out_about_buffer()[all …]