bufflen 91 drivers/ide/ide-atapi.c struct ide_atapi_pc *pc, void *buf, unsigned int bufflen) bufflen 100 drivers/ide/ide-atapi.c if (buf && bufflen) { bufflen 101 drivers/ide/ide-atapi.c error = blk_rq_map_kern(drive->queue, rq, buf, bufflen, bufflen 432 drivers/ide/ide-cd.c int write, void *buffer, unsigned *bufflen, bufflen 462 drivers/ide/ide-cd.c *bufflen, GFP_NOIO); bufflen 473 drivers/ide/ide-cd.c *bufflen = scsi_req(rq)->resid_len; bufflen 144 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c static const unsigned int bufflen = IXGBE_FCBUFF_MIN; bufflen 216 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c thisoff = addr & ((dma_addr_t)bufflen - 1); bufflen 217 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c thislen = min((bufflen - thisoff), len); bufflen 230 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c && ((thislen + thisoff) != bufflen)) bufflen 249 drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c if (lastsize == bufflen) { bufflen 819 drivers/nvme/host/core.c union nvme_result *result, void *buffer, unsigned bufflen, bufflen 832 drivers/nvme/host/core.c if (buffer && bufflen) { bufflen 833 drivers/nvme/host/core.c ret = blk_rq_map_kern(q, req, buffer, bufflen, GFP_KERNEL); bufflen 855 drivers/nvme/host/core.c void *buffer, unsigned bufflen) bufflen 857 drivers/nvme/host/core.c return __nvme_submit_sync_cmd(q, cmd, NULL, buffer, bufflen, 0, bufflen 898 drivers/nvme/host/core.c unsigned bufflen, void __user *meta_buffer, unsigned meta_len, bufflen 916 drivers/nvme/host/core.c if (ubuffer && bufflen) { bufflen 917 drivers/nvme/host/core.c ret = blk_rq_map_user(q, req, NULL, ubuffer, bufflen, bufflen 753 drivers/nvme/host/lightnvm.c void __user *ubuf, unsigned int bufflen, bufflen 795 drivers/nvme/host/lightnvm.c if (ubuf && bufflen) { bufflen 796 drivers/nvme/host/lightnvm.c ret = blk_rq_map_user(q, rq, NULL, ubuf, bufflen, GFP_KERNEL); bufflen 489 drivers/nvme/host/nvme.h void *buf, unsigned bufflen); bufflen 491 drivers/nvme/host/nvme.h union nvme_result *result, void *buffer, unsigned bufflen, bufflen 405 drivers/platform/goldfish/goldfish_pipe.c size_t bufflen, bufflen 417 drivers/platform/goldfish/goldfish_pipe.c if (unlikely(bufflen == 0)) bufflen 420 drivers/platform/goldfish/goldfish_pipe.c if (unlikely(!access_ok(buffer, bufflen))) bufflen 424 drivers/platform/goldfish/goldfish_pipe.c address_end = address + bufflen; bufflen 487 drivers/platform/goldfish/goldfish_pipe.c size_t bufflen, loff_t *ppos) bufflen 489 drivers/platform/goldfish/goldfish_pipe.c return goldfish_pipe_read_write(filp, buffer, bufflen, bufflen 494 drivers/platform/goldfish/goldfish_pipe.c const char __user *buffer, size_t bufflen, bufflen 500 drivers/platform/goldfish/goldfish_pipe.c return goldfish_pipe_read_write(filp, no_const_buffer, bufflen, bufflen 400 drivers/scsi/aha1542.c int bufflen = scsi_bufflen(cmd); bufflen 419 drivers/scsi/aha1542.c target, *cmd->cmnd, i, bufflen); bufflen 479 drivers/scsi/aha1542.c if (bufflen) { bufflen 341 drivers/scsi/aha1740.c target, *cmd, i, bufflen); bufflen 909 drivers/scsi/dc395x.c cmd->bufflen, scsi_sglist(cmd), scsi_sg_count(cmd), bufflen 126 drivers/scsi/device_handler/scsi_dh_alua.c int bufflen, struct scsi_sense_hdr *sshdr, int flags) bufflen 139 drivers/scsi/device_handler/scsi_dh_alua.c put_unaligned_be32(bufflen, &cdb[6]); bufflen 141 drivers/scsi/device_handler/scsi_dh_alua.c return scsi_execute(sdev, cdb, DMA_FROM_DEVICE, buff, bufflen, NULL, bufflen 509 drivers/scsi/device_handler/scsi_dh_alua.c int len, k, off, bufflen = ALUA_RTPG_SIZE; bufflen 526 drivers/scsi/device_handler/scsi_dh_alua.c buff = kzalloc(bufflen, GFP_KERNEL); bufflen 532 drivers/scsi/device_handler/scsi_dh_alua.c retval = submit_rtpg(sdev, buff, bufflen, &sense_hdr, pg->flags); bufflen 608 drivers/scsi/device_handler/scsi_dh_alua.c if (len > bufflen) { bufflen 611 drivers/scsi/device_handler/scsi_dh_alua.c bufflen = len; bufflen 612 drivers/scsi/device_handler/scsi_dh_alua.c buff = kmalloc(bufflen, GFP_KERNEL); bufflen 818 drivers/scsi/esas2r/esas2r_main.c unsigned bufflen; bufflen 836 drivers/scsi/esas2r/esas2r_main.c bufflen = scsi_bufflen(cmd); bufflen 838 drivers/scsi/esas2r/esas2r_main.c if (likely(bufflen != 0)) { bufflen 846 drivers/scsi/esas2r/esas2r_main.c rq->vrq->scsi.length = cpu_to_le32(bufflen); bufflen 854 drivers/scsi/esas2r/esas2r_main.c sgc.length = bufflen; bufflen 3985 drivers/scsi/ibmvscsi/ibmvfc.c mad->bufflen = cpu_to_be32(vhost->disc_buf_sz); bufflen 238 drivers/scsi/ibmvscsi/ibmvfc.h __be32 bufflen; bufflen 287 drivers/scsi/qedf/qedf.h unsigned int bufflen; /* SCSI buffer length */ bufflen 263 drivers/scsi/qedf/qedf_debugfs.c seq_printf(s, "%d:", io_log->bufflen); bufflen 829 drivers/scsi/qedf/qedf_io.c io_log->bufflen = scsi_bufflen(sc_cmd); bufflen 229 drivers/scsi/qedi/qedi.h unsigned int bufflen; /* SCSI buffer length */ bufflen 196 drivers/scsi/qedi/qedi_debugfs.c seq_printf(s, "buflen-%d:", io_log->bufflen); bufflen 1994 drivers/scsi/qedi/qedi_fw.c io_log->bufflen = scsi_bufflen(sc_cmd); bufflen 3396 drivers/scsi/qla2xxx/qla_def.h uint32_t bufflen; bufflen 916 drivers/scsi/qla2xxx/qla_iocb.c sgx.tot_bytes = tc->bufflen; bufflen 2411 drivers/scsi/qla2xxx/qla_target.c prm->seg_cnt = DIV_ROUND_UP(cmd->bufflen, cmd->blk_sz); bufflen 2427 drivers/scsi/qla2xxx/qla_target.c prm->prot_seg_cnt = DIV_ROUND_UP(cmd->bufflen, bufflen 2640 drivers/scsi/qla2xxx/qla_target.c pkt24->u.status0.transfer_length = cpu_to_le32(prm->cmd->bufflen); bufflen 2671 drivers/scsi/qla2xxx/qla_target.c return cmd->bufflen > 0; bufflen 2756 drivers/scsi/qla2xxx/qla_target.c cmd->bufflen, prm->rq_result); bufflen 2763 drivers/scsi/qla2xxx/qla_target.c se_cmd->t_task_cdb[0] : 0, cmd->bufflen, prm->rq_result); bufflen 3020 drivers/scsi/qla2xxx/qla_target.c data_bytes = cmd->bufflen; bufflen 3156 drivers/scsi/qla2xxx/qla_target.c tc.bufflen = cmd->bufflen; bufflen 3216 drivers/scsi/qla2xxx/qla_target.c 1 : 0, cmd->bufflen, cmd->sg_cnt, cmd->dma_data_direction, bufflen 887 drivers/scsi/qla2xxx/qla_target.h int bufflen; /* cmd buffer length */ bufflen 383 drivers/scsi/qla2xxx/tcm_qla2xxx.c cmd->bufflen = se_cmd->data_length; bufflen 644 drivers/scsi/qla2xxx/tcm_qla2xxx.c cmd->bufflen = se_cmd->data_length; bufflen 684 drivers/scsi/qla2xxx/tcm_qla2xxx.c cmd->bufflen = se_cmd->data_length; bufflen 703 drivers/scsi/qla2xxx/tcm_qla2xxx.c cmd->bufflen = 0; bufflen 249 drivers/scsi/scsi_lib.c int data_direction, void *buffer, unsigned bufflen, bufflen 265 drivers/scsi/scsi_lib.c if (bufflen && blk_rq_map_kern(sdev->request_queue, req, bufflen 266 drivers/scsi/scsi_lib.c buffer, bufflen, GFP_NOIO)) bufflen 287 drivers/scsi/scsi_lib.c if (unlikely(rq->resid_len > 0 && rq->resid_len <= bufflen)) bufflen 288 drivers/scsi/scsi_lib.c memset(buffer + (bufflen - rq->resid_len), 0, rq->resid_len); bufflen 109 drivers/scsi/scsi_transport_spi.c void *buffer, unsigned bufflen, bufflen 120 drivers/scsi/scsi_transport_spi.c result = scsi_execute(sdev, cmd, dir, buffer, bufflen, sense, bufflen 78 drivers/scsi/ses.c void *buf, int bufflen) bufflen 85 drivers/scsi/ses.c bufflen >> 8, bufflen 86 drivers/scsi/ses.c bufflen & 0xff, bufflen 91 drivers/scsi/ses.c ret = scsi_execute_req(sdev, cmd, DMA_FROM_DEVICE, buf, bufflen, bufflen 112 drivers/scsi/ses.c void *buf, int bufflen) bufflen 120 drivers/scsi/ses.c bufflen >> 8, bufflen 121 drivers/scsi/ses.c bufflen & 0xff, bufflen 125 drivers/scsi/ses.c result = scsi_execute_req(sdev, cmd, DMA_TO_DEVICE, buf, bufflen, bufflen 109 drivers/scsi/sg.c unsigned bufflen; /* Size of (aggregate) data buffer */ bufflen 749 drivers/scsi/sg.c if (hp->dxfer_len > sfp->reserve.bufflen) { bufflen 1033 drivers/scsi/sg.c if (val != sfp->reserve.bufflen) { bufflen 1046 drivers/scsi/sg.c val = min_t(int, sfp->reserve.bufflen, bufflen 1235 drivers/scsi/sg.c if (offset >= rsv_schp->bufflen) bufflen 1282 drivers/scsi/sg.c if (req_sz > rsv_schp->bufflen) { bufflen 1770 drivers/scsi/sg.c if (dxfer_len <= rsv_schp->bufflen && bufflen 1776 drivers/scsi/sg.c if (dxfer_len > rsv_schp->bufflen) bufflen 1939 drivers/scsi/sg.c schp->bufflen = blk_size; bufflen 2046 drivers/scsi/sg.c req_schp->bufflen = size; bufflen 2067 drivers/scsi/sg.c req_schp->bufflen = 0; bufflen 2151 drivers/scsi/sg.c int bufflen; bufflen 2181 drivers/scsi/sg.c bufflen = min_t(int, sg_big_buff, bufflen 2183 drivers/scsi/sg.c sg_build_reserve(sfp, bufflen); bufflen 2186 drivers/scsi/sg.c sfp->reserve.bufflen, bufflen 2212 drivers/scsi/sg.c if (sfp->reserve.bufflen > 0) { bufflen 2215 drivers/scsi/sg.c (int) sfp->reserve.bufflen, bufflen 2533 drivers/scsi/sg.c fp->reserve.bufflen, bufflen 2555 drivers/scsi/sg.c blen = srp->data.bufflen; bufflen 539 drivers/scsi/st.c int data_direction, void *buffer, unsigned bufflen, bufflen 558 drivers/scsi/st.c if (bufflen) { bufflen 559 drivers/scsi/st.c err = blk_rq_map_user(req->q, req, mdata, NULL, bufflen, bufflen 569 drivers/scsi/st.c atomic_set(&STp->stats->last_write_size, bufflen); bufflen 572 drivers/scsi/st.c atomic_set(&STp->stats->last_read_size, bufflen); bufflen 354 drivers/scsi/vmw_pvscsi.c unsigned bufflen = scsi_bufflen(cmd); bufflen 357 drivers/scsi/vmw_pvscsi.c e->dataLen = bufflen; bufflen 359 drivers/scsi/vmw_pvscsi.c if (bufflen == 0) bufflen 392 drivers/scsi/vmw_pvscsi.c ctx->dataPA = dma_map_single(&adapter->dev->dev, sg, bufflen, bufflen 409 drivers/scsi/vmw_pvscsi.c unsigned bufflen; bufflen 412 drivers/scsi/vmw_pvscsi.c bufflen = scsi_bufflen(cmd); bufflen 414 drivers/scsi/vmw_pvscsi.c if (bufflen != 0) { bufflen 426 drivers/scsi/vmw_pvscsi.c bufflen, cmd->sc_data_direction); bufflen 3846 drivers/staging/rts5208/ms.c int bufflen; bufflen 3885 drivers/staging/rts5208/ms.c bufflen = min_t(int, 1052, scsi_bufflen(srb)); bufflen 3886 drivers/staging/rts5208/ms.c rtsx_stor_set_xfer_buf(buf, bufflen, srb); bufflen 3897 drivers/staging/rts5208/ms.c int bufflen; bufflen 3942 drivers/staging/rts5208/ms.c bufflen = min_t(int, 12, scsi_bufflen(srb)); bufflen 3943 drivers/staging/rts5208/ms.c rtsx_stor_get_xfer_buf(buf, bufflen, srb); bufflen 3972 drivers/staging/rts5208/ms.c int bufflen; bufflen 4008 drivers/staging/rts5208/ms.c bufflen = min_t(int, 36, scsi_bufflen(srb)); bufflen 4009 drivers/staging/rts5208/ms.c rtsx_stor_set_xfer_buf(buf2, bufflen, srb); bufflen 4027 drivers/staging/rts5208/ms.c int bufflen; bufflen 4043 drivers/staging/rts5208/ms.c bufflen = min_t(int, 12, scsi_bufflen(srb)); bufflen 4044 drivers/staging/rts5208/ms.c rtsx_stor_get_xfer_buf(buf, bufflen, srb); bufflen 4073 drivers/staging/rts5208/ms.c int bufflen; bufflen 4112 drivers/staging/rts5208/ms.c bufflen = min_t(int, 1028, scsi_bufflen(srb)); bufflen 4113 drivers/staging/rts5208/ms.c rtsx_stor_set_xfer_buf(buf, bufflen, srb); bufflen 4124 drivers/staging/rts5208/ms.c int bufflen; bufflen 4141 drivers/staging/rts5208/ms.c bufflen = min_t(int, 1028, scsi_bufflen(srb)); bufflen 4142 drivers/staging/rts5208/ms.c rtsx_stor_get_xfer_buf(buf, bufflen, srb); bufflen 214 drivers/staging/unisys/include/iochannel.h u32 bufflen; bufflen 543 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.bufflen = scsi_bufflen(scsicmd); bufflen 546 drivers/staging/unisys/visorhba/visorhba_main.c if (cmdrsp->scsi.bufflen > devdata->max_buff_len) bufflen 547 drivers/staging/unisys/visorhba/visorhba_main.c devdata->max_buff_len = cmdrsp->scsi.bufflen; bufflen 851 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.bufflen >= MIN_INQUIRY_RESULT_LEN) { bufflen 864 drivers/staging/unisys/visorhba/visorhba_main.c set_no_disk_inquiry_result(buf, (size_t)cmdrsp->scsi.bufflen, bufflen 869 drivers/staging/unisys/visorhba/visorhba_main.c cmdrsp->scsi.bufflen); bufflen 450 drivers/usb/storage/isd200.c enum dma_data_direction dir, void* buff, unsigned bufflen) bufflen 455 drivers/usb/storage/isd200.c sg_init_one(&info->sg, buff, bufflen); bufflen 459 drivers/usb/storage/isd200.c srb->sdb.length = bufflen; bufflen 463 drivers/usb/storage/isd200.c static void isd200_srb_set_bufflen(struct scsi_cmnd *srb, unsigned bufflen) bufflen 465 drivers/usb/storage/isd200.c srb->sdb.length = bufflen; bufflen 52 drivers/usb/usbip/usbip_common.c static void usbip_dump_buffer(char *buff, int bufflen) bufflen 55 drivers/usb/usbip/usbip_common.c buff, bufflen, false); bufflen 556 drivers/usb/usbip/usbip_common.c usbip_alloc_iso_desc_pdu(struct urb *urb, ssize_t *bufflen) bufflen 572 drivers/usb/usbip/usbip_common.c *bufflen = size; bufflen 310 drivers/usb/usbip/usbip_common.h usbip_alloc_iso_desc_pdu(struct urb *urb, ssize_t *bufflen); bufflen 227 fs/nfsd/blocklayout.c size_t bufflen = 252, maxlen = 65532, len, id_len; bufflen 235 fs/nfsd/blocklayout.c buf = kzalloc(bufflen, GFP_KERNEL); bufflen 246 fs/nfsd/blocklayout.c error = blk_rq_map_kern(q, rq, buf, bufflen, GFP_KERNEL); bufflen 253 fs/nfsd/blocklayout.c req->cmd[3] = bufflen >> 8; bufflen 254 fs/nfsd/blocklayout.c req->cmd[4] = bufflen & 0xff; bufflen 266 fs/nfsd/blocklayout.c if (len > bufflen) { bufflen 270 fs/nfsd/blocklayout.c bufflen = len; bufflen 432 include/scsi/scsi_device.h int data_direction, void *buffer, unsigned bufflen, bufflen 437 include/scsi/scsi_device.h #define scsi_execute(sdev, cmd, data_direction, buffer, bufflen, sense, \ bufflen 442 include/scsi/scsi_device.h __scsi_execute(sdev, cmd, data_direction, buffer, bufflen, \ bufflen 448 include/scsi/scsi_device.h unsigned bufflen, struct scsi_sense_hdr *sshdr, int timeout, bufflen 452 include/scsi/scsi_device.h bufflen, NULL, sshdr, timeout, retries, 0, 0, resid); bufflen 81 tools/bpf/bpftool/common.c mnt_fs(const char *target, const char *type, char *buff, size_t bufflen) bufflen 87 tools/bpf/bpftool/common.c snprintf(buff, bufflen, bufflen 94 tools/bpf/bpftool/common.c snprintf(buff, bufflen, bufflen 104 tools/bpf/bpftool/common.c snprintf(buff, bufflen, "mount -t %s %s %s failed: %s", bufflen 95 tools/usb/usbip/src/usbip_network.c static ssize_t usbip_net_xmit(int sockfd, void *buff, size_t bufflen, bufflen 101 tools/usb/usbip/src/usbip_network.c if (!bufflen) bufflen 106 tools/usb/usbip/src/usbip_network.c nbytes = send(sockfd, buff, bufflen, 0); bufflen 108 tools/usb/usbip/src/usbip_network.c nbytes = recv(sockfd, buff, bufflen, MSG_WAITALL); bufflen 114 tools/usb/usbip/src/usbip_network.c bufflen -= nbytes; bufflen 117 tools/usb/usbip/src/usbip_network.c } while (bufflen > 0); bufflen 122 tools/usb/usbip/src/usbip_network.c ssize_t usbip_net_recv(int sockfd, void *buff, size_t bufflen) bufflen 124 tools/usb/usbip/src/usbip_network.c return usbip_net_xmit(sockfd, buff, bufflen, 0); bufflen 127 tools/usb/usbip/src/usbip_network.c ssize_t usbip_net_send(int sockfd, void *buff, size_t bufflen) bufflen 129 tools/usb/usbip/src/usbip_network.c return usbip_net_xmit(sockfd, buff, bufflen, 1); bufflen 168 tools/usb/usbip/src/usbip_network.h ssize_t usbip_net_recv(int sockfd, void *buff, size_t bufflen); bufflen 169 tools/usb/usbip/src/usbip_network.h ssize_t usbip_net_send(int sockfd, void *buff, size_t bufflen);