Home
last modified time | relevance | path

Searched refs:bytes_read (Results 1 – 11 of 11) sorted by relevance

/fs/befs/
A Ddatastream.c133 befs_off_t bytes_read = 0; /* bytes readed */ in befs_read_lsymlink() local
139 while (bytes_read < len) { in befs_read_lsymlink()
140 bh = befs_read_datastream(sb, ds, bytes_read, NULL); in befs_read_lsymlink()
143 "starting from %llu", bytes_read); in befs_read_lsymlink()
145 return bytes_read; in befs_read_lsymlink()
148 plen = ((bytes_read + BEFS_SB(sb)->block_size) < len) ? in befs_read_lsymlink()
149 BEFS_SB(sb)->block_size : len - bytes_read; in befs_read_lsymlink()
150 memcpy(buff + bytes_read, bh->b_data, plen); in befs_read_lsymlink()
152 bytes_read += plen; in befs_read_lsymlink()
156 bytes_read); in befs_read_lsymlink()
[all …]
/fs/verity/
A Denable.c109 ssize_t bytes_read; in build_merkle_tree() local
114 bytes_read = __kernel_read(filp, buffers[-1].data, in build_merkle_tree()
116 if (bytes_read < 0) { in build_merkle_tree()
117 err = bytes_read; in build_merkle_tree()
121 if (bytes_read != buffers[-1].filled) { in build_merkle_tree()
/fs/hfs/
A Dbnode.c64 int bytes_read; in hfs_bnode_read() local
85 for (bytes_read = 0; bytes_read < len; bytes_read += bytes_to_read) { in hfs_bnode_read()
89 bytes_to_read = min_t(int, len - bytes_read, PAGE_SIZE - off); in hfs_bnode_read()
91 memcpy_from_page(buf + bytes_read, page, off, bytes_to_read); in hfs_bnode_read()
/fs/ecryptfs/
A Dcrypto.c827 char *page_virt, int *bytes_read) in ecryptfs_process_flags() argument
840 (*bytes_read) = 4; in ecryptfs_process_flags()
1180 char *virt, int *bytes_read, in parse_header_metadata() argument
1192 (*bytes_read) = (sizeof(__be32) + sizeof(__be16)); in parse_header_metadata()
1254 int bytes_read; in ecryptfs_read_headers_virt() local
1266 ecryptfs_process_flags(crypt_stat, (page_virt + offset), &bytes_read); in ecryptfs_read_headers_virt()
1276 offset += bytes_read; in ecryptfs_read_headers_virt()
1279 &bytes_read, validate_header_size); in ecryptfs_read_headers_virt()
1284 offset += bytes_read; in ecryptfs_read_headers_virt()
/fs/smb/client/
A Dlink.c202 unsigned int bytes_read = 0; in check_mf_symlink() local
215 cifs_sb, path, buf, &bytes_read); in check_mf_symlink()
222 if (bytes_read == 0) /* not a symlink */ in check_mf_symlink()
225 rc = parse_mf_symlink(buf, bytes_read, &link_len, &symlink); in check_mf_symlink()
A Dinode.c535 unsigned int bytes_read; in cifs_sfu_type() local
588 &bytes_read, &pbuf, &buf_type); in cifs_sfu_type()
589 if ((rc == 0) && (bytes_read >= 8)) { in cifs_sfu_type()
594 if (bytes_read == 24) { in cifs_sfu_type()
601 } else if (bytes_read == 16) { in cifs_sfu_type()
617 if (bytes_read == 24) { in cifs_sfu_type()
624 } else if (bytes_read == 16) { in cifs_sfu_type()
686 } else if ((rc == 0) && (bytes_read == 1) && (pbuf[0] == '\0')) { in cifs_sfu_type()
A Dsmb1ops.c776 (long long)(tcon->bytes_read)); in cifs_print_stats()
874 struct cifs_io_parms *parms, unsigned int *bytes_read, in cifs_sync_read() argument
878 return CIFSSMBRead(xid, parms, bytes_read, buf, buf_type); in cifs_sync_read()
A Dcifsglob.h1283 __u64 bytes_read; member
1672 tcon->bytes_read += bytes; in cifs_stats_bytes_read()
A Dcifs_debug.c743 tcon->bytes_read = 0; in cifs_stats_proc_write()
A Dsmb2ops.c1410 (long long)(tcon->bytes_read), in smb2_print_stats()
1974 struct cifs_io_parms *parms, unsigned int *bytes_read, in smb2_sync_read() argument
1979 return SMB2_read(xid, parms, bytes_read, buf, buf_type); in smb2_sync_read()
/fs/hostfs/
A Dhostfs_kern.c433 int bytes_read, ret = 0; in hostfs_read_folio() local
436 bytes_read = read_file(FILE_HOSTFS_I(file)->fd, &start, buffer, in hostfs_read_folio()
438 if (bytes_read < 0) in hostfs_read_folio()
439 ret = bytes_read; in hostfs_read_folio()
441 buffer = folio_zero_tail(folio, bytes_read, buffer + bytes_read); in hostfs_read_folio()

Completed in 40 milliseconds