Searched refs:bytes_read (Results 51 - 75 of 81) sorted by relevance

1234

/linux-master/fs/smb/client/
H A Dlink.c200 unsigned int bytes_read = 0; local
213 cifs_sb, path, buf, &bytes_read);
220 if (bytes_read == 0) /* not a symlink */
223 rc = parse_mf_symlink(buf, bytes_read, &link_len, &symlink);
H A Dsmb1ops.c674 (long long)(tcon->bytes_read));
772 struct cifs_io_parms *parms, unsigned int *bytes_read,
776 return CIFSSMBRead(xid, parms, bytes_read, buf, buf_type);
771 cifs_sync_read(const unsigned int xid, struct cifs_fid *pfid, struct cifs_io_parms *parms, unsigned int *bytes_read, char **buf, int *buf_type) argument
H A Dinode.c531 unsigned int bytes_read; local
583 &bytes_read, &pbuf, &buf_type);
584 if ((rc == 0) && (bytes_read >= 8)) {
589 if (bytes_read == 24) {
601 if (bytes_read == 24) {
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dnvm.c89 int ret, bytes_read, offset_read; local
103 bytes_read = le16_to_cpu(nvm_resp->length);
138 memcpy(data + offset, resp_data, bytes_read);
139 ret = bytes_read;
/linux-master/fs/hostfs/
H A Dhostfs_kern.c438 int bytes_read, ret = 0; local
441 bytes_read = read_file(FILE_HOSTFS_I(file)->fd, &start, buffer,
443 if (bytes_read < 0) {
446 ret = bytes_read;
450 memset(buffer + bytes_read, 0, PAGE_SIZE - bytes_read);
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_nvm.c69 u32 bytes_read = 0; local
91 inlen - bytes_read);
93 last_cmd = !(bytes_read + read_size < inlen);
97 data + bytes_read, last_cmd,
102 bytes_read += read_size;
106 *length = bytes_read;
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_env.c465 u32 bytes_read = 0; local
484 while (bytes_read < page->length) {
489 size = min_t(u8, page->length - bytes_read,
493 device_addr + bytes_read, size,
508 memcpy(page->data + bytes_read, eeprom_tmp, size);
509 bytes_read += size;
512 return bytes_read;
/linux-master/fs/ecryptfs/
H A Dcrypto.c821 * @bytes_read: Updated with the number of bytes read
824 char *page_virt, int *bytes_read)
837 (*bytes_read) = 4;
1177 char *virt, int *bytes_read,
1189 (*bytes_read) = (sizeof(__be32) + sizeof(__be16));
1251 int bytes_read; local
1263 ecryptfs_process_flags(crypt_stat, (page_virt + offset), &bytes_read);
1273 offset += bytes_read;
1276 &bytes_read, validate_header_size);
1281 offset += bytes_read;
823 ecryptfs_process_flags(struct ecryptfs_crypt_stat *crypt_stat, char *page_virt, int *bytes_read) argument
1176 parse_header_metadata(struct ecryptfs_crypt_stat *crypt_stat, char *virt, int *bytes_read, int validate_header_size) argument
[all...]
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_imem_ops.c630 u32 bytes_to_read, u32 *bytes_read)
652 *bytes_read = skb->len;
629 ipc_imem_sys_devlink_read(struct iosm_devlink *devlink, u8 *data, u32 bytes_to_read, u32 *bytes_read) argument
/linux-master/net/tipc/
H A Dtrace.c147 i += scnprintf(buf + i, sz - i, "cb[]: %u", skbcb->bytes_read);
H A Dsocket.c568 if (skb && TIPC_SKB_CB(skb)->bytes_read) {
1934 int offset = skb_cb->bytes_read;
1943 skb_cb->bytes_read = offset + copy;
1946 skb_cb->bytes_read = 0;
1951 skb_cb->bytes_read = 0;
1983 if (skb_cb->bytes_read)
2067 offset = skb_cb->bytes_read;
2076 skb_cb->bytes_read = offset;
2347 TIPC_SKB_CB(skb)->bytes_read = 0;
/linux-master/include/acpi/
H A Dacpiosxf.h349 acpi_status acpi_os_get_line(char *buffer, u32 buffer_length, u32 *bytes_read);
/linux-master/tools/perf/util/
H A Devlist.c1997 size_t bytes_read = 0; local
2008 cmd_data[bytes_read++] = c;
2009 if (bytes_read == data_size)
2024 bytes_read == data_size ? "" : c == '\n' ? "\\n" : "\\0");
2026 if (bytes_read > 0) {
2049 return bytes_read ? (int)bytes_read : err;
/linux-master/drivers/tty/serial/
H A Dsc16is7xx.c615 unsigned int lsr = 0, bytes_read, i; local
639 bytes_read = 1;
642 bytes_read = rxlen;
673 for (i = 0; i < bytes_read; ++i) {
684 rxlen -= bytes_read;
/linux-master/drivers/acpi/
H A Dosl.c1304 acpi_status acpi_os_get_line(char *buffer, u32 buffer_length, u32 *bytes_read) argument
1322 if (bytes_read)
1323 *bytes_read = ret;
/linux-master/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_ddc.c495 uint32_t bytes_read = 0; local
502 bytes_read = HDCP_MAX_AUX_TRANSACTION_SIZE;
508 hdcp->auth.msg.hdcp2.rx_id_list + 1 + bytes_read,
/linux-master/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c62 ssize_t bytes_read; local
72 bytes_read = read(fd, buffer, buffer_size);
73 TEST_ASSERT(bytes_read > 0, "read(%s) returned %ld, wanted %ld bytes",
74 path, bytes_read, buffer_size);
78 return bytes_read;
/linux-master/drivers/comedi/
H A Dcomedi_fops.c1135 if (bi.bytes_read) {
1136 comedi_buf_read_alloc(s, bi.bytes_read);
1137 bi.bytes_read = comedi_buf_read_free(s, bi.bytes_read);
1146 (bi.bytes_read == 0 ||
1165 bi.bytes_read = 0;
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcudbg_lib.c430 int bytes_left, bytes_read, bytes; local
439 bytes_read = 0;
444 temp_in_buff.data = (char *)pin_buff->data + bytes_read;
450 bytes_read += bytes;
1373 unsigned long bytes, bytes_left, bytes_read = 0; local
1417 bytes_read >= payload[i].start &&
1418 bytes_read + bytes <= payload[i].end)
1424 bytes_read, bytes, temp_buff.data);
1434 bytes_read += bytes;
/linux-master/scripts/mod/
H A Dmodpost.c125 ssize_t bytes_read; local
127 bytes_read = read(fd, buf, nbytes);
128 if (bytes_read < 0) {
133 nbytes -= bytes_read;
/linux-master/include/uapi/linux/
H A Dcomedi.h873 * @bytes_read: Specify amount to advance read position for an
889 unsigned int bytes_read; member in struct:comedi_bufinfo
/linux-master/drivers/usb/atm/
H A Dueagle-atm.c825 int bytes_read; local
835 xfer_buff, size, &bytes_read, BULK_TIMEOUT);
840 if (size != bytes_read) {
841 uea_err(INS_TO_USBDEV(sc), "size != bytes_read %d %d\n", size,
842 bytes_read); local
/linux-master/arch/sparc/include/asm/
H A Dhypervisor.h1205 unsigned long *bytes_read);
/linux-master/drivers/scsi/cxgbi/
H A Dlibcxgbi.c1472 int bytes_read; local
1474 bytes_read = iscsi_tcp_recv_skb(conn, skb, offset, offloaded, &status);
1483 skb, offset, offloaded, bytes_read);
1485 return bytes_read;
1498 skb, offset, offloaded, bytes_read);
1499 return bytes_read;
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_device.c178 ssize_t bytes_read; local
182 bytes_read = amdgpu_asic_get_reg_state(
186 bytes_read = amdgpu_asic_get_reg_state(
190 bytes_read = amdgpu_asic_get_reg_state(
194 bytes_read = amdgpu_asic_get_reg_state(
198 bytes_read = amdgpu_asic_get_reg_state(
205 return bytes_read;

Completed in 702 milliseconds

1234