Home
last modified time | relevance | path

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

/fs/befs/
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/incfs/
Dformat.c600 ssize_t bytes_read = 0; in incfs_read_file_header() local
606 bytes_read = incfs_kread(bfc, &fh, sizeof(fh), 0); in incfs_read_file_header()
607 if (bytes_read < 0) in incfs_read_file_header()
608 return bytes_read; in incfs_read_file_header()
610 if (bytes_read < sizeof(fh)) in incfs_read_file_header()
644 ssize_t bytes_read = 0; in incfs_read_next_metadata_record() local
657 bytes_read = incfs_kread(bfc, &handler->md_buffer, max_md_size, in incfs_read_next_metadata_record()
659 if (bytes_read < 0) in incfs_read_next_metadata_record()
660 return bytes_read; in incfs_read_next_metadata_record()
661 if (bytes_read < sizeof(*md_hdr)) in incfs_read_next_metadata_record()
[all …]
Dvfs.c298 ssize_t bytes_read; in read_size_attr() local
300 bytes_read = vfs_getxattr(&init_user_ns, backing_dentry, INCFS_XATTR_SIZE_NAME, in read_size_attr()
303 if (bytes_read != sizeof(attr_value)) in read_size_attr()
/fs/cifs/
Dlink.c213 unsigned int bytes_read = 0; in query_mf_symlink() local
221 cifs_sb, path, buf, &bytes_read); in query_mf_symlink()
228 if (bytes_read == 0) { /* not a symlink */ in query_mf_symlink()
233 rc = parse_mf_symlink(buf, bytes_read, &link_len, symlinkinfo); in query_mf_symlink()
247 unsigned int bytes_read = 0; in check_mf_symlink() local
259 cifs_sb, path, buf, &bytes_read); in check_mf_symlink()
266 if (bytes_read == 0) /* not a symlink */ in check_mf_symlink()
269 rc = parse_mf_symlink(buf, bytes_read, &link_len, NULL); in check_mf_symlink()
Dsmb1ops.c648 (long long)(tcon->bytes_read)); in cifs_print_stats()
737 struct cifs_io_parms *parms, unsigned int *bytes_read, in cifs_sync_read() argument
741 return CIFSSMBRead(xid, parms, bytes_read, buf, buf_type); in cifs_sync_read()
Dinode.c444 unsigned int bytes_read; local
495 &bytes_read, &pbuf, &buf_type);
496 if ((rc == 0) && (bytes_read >= 8)) {
501 if (bytes_read == 24) {
513 if (bytes_read == 24) {
Dcifsglob.h1070 __u64 bytes_read; member
1499 tcon->bytes_read += bytes; in cifs_stats_bytes_read()
Dfile.c4125 unsigned int bytes_read = 0; in cifs_read() local
4168 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read()
4193 &bytes_read, &cur_offset, in cifs_read()
4197 if (rc || (bytes_read == 0)) { in cifs_read()
4206 *offset += bytes_read; in cifs_read()
Dcifs_debug.c537 tcon->bytes_read = 0; in cifs_stats_proc_write()
Dsmb2ops.c1460 (long long)(tcon->bytes_read), in smb2_print_stats()
2015 struct cifs_io_parms *parms, unsigned int *bytes_read, in smb2_sync_read() argument
2020 return SMB2_read(xid, parms, bytes_read, buf, buf_type); in smb2_sync_read()
/fs/hfs/
Dbnode.c22 int bytes_read; in hfs_bnode_read() local
30 for (bytes_read = 0; bytes_read < len; bytes_read += bytes_to_read) { in hfs_bnode_read()
34 bytes_to_read = min_t(int, len - bytes_read, PAGE_SIZE - off); in hfs_bnode_read()
37 memcpy(buf + bytes_read, vaddr + off, bytes_to_read); in hfs_bnode_read()
/fs/hostfs/
Dhostfs_kern.c440 int bytes_read, ret = 0; in hostfs_readpage() local
443 bytes_read = read_file(FILE_HOSTFS_I(file)->fd, &start, buffer, in hostfs_readpage()
445 if (bytes_read < 0) { in hostfs_readpage()
448 ret = bytes_read; in hostfs_readpage()
452 memset(buffer + bytes_read, 0, PAGE_SIZE - bytes_read); in hostfs_readpage()
/fs/ecryptfs/
Dcrypto.c848 char *page_virt, int *bytes_read) in ecryptfs_process_flags() argument
861 (*bytes_read) = 4; in ecryptfs_process_flags()
1201 char *virt, int *bytes_read, in parse_header_metadata() argument
1213 (*bytes_read) = (sizeof(__be32) + sizeof(__be16)); in parse_header_metadata()
1275 int bytes_read; in ecryptfs_read_headers_virt() local
1287 ecryptfs_process_flags(crypt_stat, (page_virt + offset), &bytes_read); in ecryptfs_read_headers_virt()
1297 offset += bytes_read; in ecryptfs_read_headers_virt()
1300 &bytes_read, validate_header_size); in ecryptfs_read_headers_virt()
1305 offset += bytes_read; in ecryptfs_read_headers_virt()