Lines Matching refs:buf_size
6411 if ((iocommand->buf_size < 1) &&
6415 if (iocommand->buf_size > 0) {
6416 buff = kmalloc(iocommand->buf_size, GFP_KERNEL);
6422 iocommand->buf_size)) {
6427 memset(buff, 0, iocommand->buf_size);
6437 if (iocommand->buf_size > 0) { /* buffer to fill */
6451 if (iocommand->buf_size > 0) {
6453 iocommand->buf_size, DMA_BIDIRECTIONAL);
6461 c->SG[0].Len = cpu_to_le32(iocommand->buf_size);
6466 if (iocommand->buf_size > 0)
6478 iocommand->buf_size > 0) {
6480 if (copy_to_user(iocommand->buf, buff, iocommand->buf_size)) {
6508 if ((ioc->buf_size < 1) &&
6514 if (ioc->buf_size > ioc->malloc_size * SG_ENTRIES_IN_CMD)
6526 left = ioc->buf_size;
6556 if (ioc->buf_size > 0) {
6588 if ((ioc->Request.Type.Direction & XFER_READ) && ioc->buf_size > 0) {