Lines Matching refs:buf_bytes
448 u64 buf_bytes; member
473 idata->buf_bytes = (u64) idata->ic.blksz * idata->ic.blocks; in mmc_blk_ioctl_copy_from_user()
474 if (idata->buf_bytes > MMC_IOC_MAX_BYTES) { in mmc_blk_ioctl_copy_from_user()
479 if (!idata->buf_bytes) { in mmc_blk_ioctl_copy_from_user()
485 idata->ic.data_ptr, idata->buf_bytes); in mmc_blk_ioctl_copy_from_user()
510 idata->buf, idata->buf_bytes)) in mmc_blk_ioctl_copy_to_user()
558 if (idata->buf_bytes) { in __mmc_blk_ioctl_cmd()
564 sg_init_one(data.sg, idata->buf, idata->buf_bytes); in __mmc_blk_ioctl_cmd()
2785 int write_flag, u8 *buf, unsigned int buf_bytes) in set_idata() argument
2797 idata->ic.blocks = buf_bytes / idata->ic.blksz; in set_idata()
2799 idata->buf_bytes = buf_bytes; in set_idata()