Searched refs:big_buf_size (Results 1 – 1 of 1) sorted by relevance
2225 uint32_t big_buf_size, xfer_size, off; in sbd_write_same_data() local2252 big_buf_size = len > sbd_write_same_optimal_chunk ? in sbd_write_same_data()2259 ASSERT((big_buf_size % xfer_size) == 0); in sbd_write_same_data()2265 big_buf = kmem_alloc(big_buf_size, KM_NOSLEEP | KM_NORMALPRI); in sbd_write_same_data()2272 DTRACE_PROBE1(write__same__low__memory, uint64_t, big_buf_size); in sbd_write_same_data()2274 big_buf_size = scmd->trans_data_len; in sbd_write_same_data()2280 for (off = 0; off < big_buf_size; off += xfer_size) in sbd_write_same_data()2287 xfer_size = ((big_buf_size + sz_done) <= len) ? big_buf_size : in sbd_write_same_data()2297 kmem_free(big_buf, big_buf_size); in sbd_write_same_data()