/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 | 543 ssize_t bytes_read = 0; in incfs_read_file_header() local 550 bytes_read = incfs_kread(bfc->bc_file, &fh, sizeof(fh), 0); in incfs_read_file_header() 551 if (bytes_read < 0) in incfs_read_file_header() 552 return bytes_read; in incfs_read_file_header() 554 if (bytes_read < sizeof(fh)) in incfs_read_file_header() 586 ssize_t bytes_read = 0; in incfs_read_next_metadata_record() local 602 bytes_read = incfs_kread(bfc->bc_file, &handler->md_buffer, in incfs_read_next_metadata_record() 604 if (bytes_read < 0) in incfs_read_next_metadata_record() 605 return bytes_read; in incfs_read_next_metadata_record() 606 if (bytes_read < sizeof(*md_hdr)) in incfs_read_next_metadata_record() [all …]
|
D | vfs.c | 313 ssize_t bytes_read; in read_size_attr() local 315 bytes_read = vfs_getxattr(backing_dentry, INCFS_XATTR_SIZE_NAME, in read_size_attr() 318 if (bytes_read != sizeof(attr_value)) in read_size_attr()
|
/fs/cifs/ |
D | link.c | 222 unsigned int bytes_read = 0; in query_mf_symlink() local 230 cifs_sb, path, buf, &bytes_read); in query_mf_symlink() 237 if (bytes_read == 0) { /* not a symlink */ in query_mf_symlink() 242 rc = parse_mf_symlink(buf, bytes_read, &link_len, symlinkinfo); in query_mf_symlink() 256 unsigned int bytes_read = 0; in check_mf_symlink() local 268 cifs_sb, path, buf, &bytes_read); in check_mf_symlink() 275 if (bytes_read == 0) /* not a symlink */ in check_mf_symlink() 278 rc = parse_mf_symlink(buf, bytes_read, &link_len, NULL); in check_mf_symlink()
|
D | smb1ops.c | 648 (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()
|
D | inode.c | 449 unsigned int bytes_read; local 502 &bytes_read, &pbuf, &buf_type); 503 if ((rc == 0) && (bytes_read >= 8)) { 508 if (bytes_read == 24) { 520 if (bytes_read == 24) {
|
D | cifsglob.h | 1074 __u64 bytes_read; member 1485 tcon->bytes_read += bytes; in cifs_stats_bytes_read()
|
D | file.c | 3942 unsigned int bytes_read = 0; in cifs_read() local 3985 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read() 4009 &bytes_read, &cur_offset, in cifs_read() 4013 if (rc || (bytes_read == 0)) { in cifs_read() 4022 *offset += bytes_read; in cifs_read()
|
D | cifs_debug.c | 479 tcon->bytes_read = 0; in cifs_stats_proc_write()
|
D | smb2ops.c | 1251 (long long)(tcon->bytes_read), in smb2_print_stats() 1732 struct cifs_io_parms *parms, unsigned int *bytes_read, in smb2_sync_read() argument 1737 return SMB2_read(xid, parms, bytes_read, buf, buf_type); in smb2_sync_read()
|
/fs/hostfs/ |
D | hostfs_kern.c | 440 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/ |
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()
|