/fs/befs/ |
D | datastream.c | 133 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/ |
D | format.c | 546 ssize_t bytes_read = 0; in incfs_read_file_header() local 552 bytes_read = incfs_kread(bfc, &fh, sizeof(fh), 0); in incfs_read_file_header() 553 if (bytes_read < 0) in incfs_read_file_header() 554 return bytes_read; in incfs_read_file_header() 556 if (bytes_read < sizeof(fh)) in incfs_read_file_header() 590 ssize_t bytes_read = 0; in incfs_read_next_metadata_record() local 606 bytes_read = incfs_kread(bfc, &handler->md_buffer, max_md_size, in incfs_read_next_metadata_record() 608 if (bytes_read < 0) in incfs_read_next_metadata_record() 609 return bytes_read; in incfs_read_next_metadata_record() 610 if (bytes_read < sizeof(*md_hdr)) in incfs_read_next_metadata_record() [all …]
|
D | vfs.c | 330 ssize_t bytes_read; in read_size_attr() local 332 bytes_read = vfs_getxattr(backing_dentry, INCFS_XATTR_SIZE_NAME, in read_size_attr() 335 if (bytes_read != sizeof(attr_value)) in read_size_attr()
|
/fs/cifs/ |
D | link.c | 225 unsigned int bytes_read = 0; in query_mf_symlink() local 233 cifs_sb, path, buf, &bytes_read); in query_mf_symlink() 240 if (bytes_read == 0) { /* not a symlink */ in query_mf_symlink() 245 rc = parse_mf_symlink(buf, bytes_read, &link_len, symlinkinfo); in query_mf_symlink() 259 unsigned int bytes_read = 0; in check_mf_symlink() local 271 cifs_sb, path, buf, &bytes_read); in check_mf_symlink() 278 if (bytes_read == 0) /* not a symlink */ in check_mf_symlink() 281 rc = parse_mf_symlink(buf, bytes_read, &link_len, NULL); in check_mf_symlink()
|
D | smb1ops.c | 647 (long long)(tcon->bytes_read)); in cifs_print_stats() 736 struct cifs_io_parms *parms, unsigned int *bytes_read, in cifs_sync_read() argument 740 return CIFSSMBRead(xid, parms, bytes_read, buf, buf_type); in cifs_sync_read()
|
D | inode.c | 449 unsigned int bytes_read; local 500 &bytes_read, &pbuf, &buf_type); 501 if ((rc == 0) && (bytes_read >= 8)) { 506 if (bytes_read == 24) { 518 if (bytes_read == 24) {
|
D | cifsglob.h | 1080 __u64 bytes_read; member 1494 tcon->bytes_read += bytes; in cifs_stats_bytes_read()
|
D | file.c | 3978 unsigned int bytes_read = 0; in cifs_read() local 4021 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read() 4045 &bytes_read, &cur_offset, in cifs_read() 4049 if (rc || (bytes_read == 0)) { in cifs_read() 4058 *offset += bytes_read; in cifs_read()
|
D | cifs_debug.c | 479 tcon->bytes_read = 0; in cifs_stats_proc_write()
|
D | smb2ops.c | 1309 (long long)(tcon->bytes_read), in smb2_print_stats() 1801 struct cifs_io_parms *parms, unsigned int *bytes_read, in smb2_sync_read() argument 1806 return SMB2_read(xid, parms, bytes_read, buf, buf_type); in smb2_sync_read()
|
/fs/hfs/ |
D | bnode.c | 22 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/ |
D | hostfs_kern.c | 437 int bytes_read, ret = 0; in hostfs_readpage() local 440 bytes_read = read_file(FILE_HOSTFS_I(file)->fd, &start, buffer, in hostfs_readpage() 442 if (bytes_read < 0) { in hostfs_readpage() 445 ret = bytes_read; in hostfs_readpage() 449 memset(buffer + bytes_read, 0, PAGE_SIZE - bytes_read); in hostfs_readpage()
|
/fs/ecryptfs/ |
D | crypto.c | 866 char *page_virt, int *bytes_read) in ecryptfs_process_flags() argument 879 (*bytes_read) = 4; in ecryptfs_process_flags() 1219 char *virt, int *bytes_read, in parse_header_metadata() argument 1231 (*bytes_read) = (sizeof(__be32) + sizeof(__be16)); in parse_header_metadata() 1293 int bytes_read; in ecryptfs_read_headers_virt() local 1305 ecryptfs_process_flags(crypt_stat, (page_virt + offset), &bytes_read); in ecryptfs_read_headers_virt() 1315 offset += bytes_read; in ecryptfs_read_headers_virt() 1318 &bytes_read, validate_header_size); in ecryptfs_read_headers_virt() 1323 offset += bytes_read; in ecryptfs_read_headers_virt()
|