/fs/befs/ |
D | datastream.c | 128 befs_off_t bytes_read = 0; /* bytes readed */ in befs_read_lsymlink() local 133 while (bytes_read < len) { in befs_read_lsymlink() 134 bh = befs_read_datastream(sb, ds, bytes_read, NULL); in befs_read_lsymlink() 137 "starting from %llu", bytes_read); in befs_read_lsymlink() 139 return bytes_read; in befs_read_lsymlink() 142 plen = ((bytes_read + BEFS_SB(sb)->block_size) < len) ? in befs_read_lsymlink() 143 BEFS_SB(sb)->block_size : len - bytes_read; in befs_read_lsymlink() 144 memcpy(buff + bytes_read, bh->b_data, plen); in befs_read_lsymlink() 146 bytes_read += plen; in befs_read_lsymlink() 150 bytes_read); in befs_read_lsymlink() [all …]
|
/fs/squashfs/ |
D | block.c | 66 int *bytes_read; member 152 if (req->bytes_read) in squashfs_process_blocks() 153 *(req->bytes_read) = req->length; in squashfs_process_blocks() 351 int ret, error, bytes_read = 0, bytes_uncompressed = 0; in read_metadata_block() local 372 req->bytes_read = &bytes_read; in read_metadata_block() 376 req->index, req->compressed ? "" : "un", bytes_read, in read_metadata_block() 385 *next_index += 2 + bytes_read; in read_metadata_block() 392 int ret, error = 0, bytes_uncompressed = 0, bytes_read = 0; in read_data_block() local 402 req->bytes_read = &bytes_read; in read_data_block()
|
/fs/cifs/ |
D | link.c | 244 unsigned int bytes_read = 0; in query_mf_symlink() local 252 cifs_sb, path, buf, &bytes_read); in query_mf_symlink() 259 if (bytes_read == 0) { /* not a symlink */ in query_mf_symlink() 264 rc = parse_mf_symlink(buf, bytes_read, &link_len, symlinkinfo); in query_mf_symlink() 278 unsigned int bytes_read = 0; in check_mf_symlink() local 290 cifs_sb, path, buf, &bytes_read); in check_mf_symlink() 297 if (bytes_read == 0) /* not a symlink */ in check_mf_symlink() 300 rc = parse_mf_symlink(buf, bytes_read, &link_len, NULL); in check_mf_symlink()
|
D | smb1ops.c | 660 (long long)(tcon->bytes_read)); in cifs_print_stats() 750 struct cifs_io_parms *parms, unsigned int *bytes_read, in cifs_sync_read() argument 754 return CIFSSMBRead(xid, parms, bytes_read, buf, buf_type); in cifs_sync_read()
|
D | inode.c | 440 unsigned int bytes_read; local 491 &bytes_read, &pbuf, &buf_type); 492 if ((rc == 0) && (bytes_read >= 8)) { 497 if (bytes_read == 24) { 509 if (bytes_read == 24) {
|
D | cifsglob.h | 891 __u64 bytes_read; member 1246 tcon->bytes_read += bytes; in cifs_stats_bytes_read()
|
D | file.c | 3182 unsigned int bytes_read = 0; in cifs_read() local 3225 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read() 3249 &bytes_read, &cur_offset, in cifs_read() 3253 if (rc || (bytes_read == 0)) { in cifs_read() 3262 *offset += bytes_read; in cifs_read()
|
D | cifs_debug.c | 308 tcon->bytes_read = 0; in cifs_stats_proc_write()
|
D | smb2ops.c | 728 struct cifs_io_parms *parms, unsigned int *bytes_read, in smb2_sync_read() argument 733 return SMB2_read(xid, parms, bytes_read, buf, buf_type); in smb2_sync_read()
|
/fs/hfs/ |
D | bnode.c | 21 int bytes_read; in hfs_bnode_read() local 29 for (bytes_read = 0; bytes_read < len; bytes_read += bytes_to_read) { in hfs_bnode_read() 33 bytes_to_read = min_t(int, len - bytes_read, PAGE_SIZE - off); in hfs_bnode_read() 36 memcpy(buf + bytes_read, vaddr + off, bytes_to_read); in hfs_bnode_read()
|
/fs/hostfs/ |
D | hostfs_kern.c | 446 int bytes_read, ret = 0; in hostfs_readpage() local 449 bytes_read = read_file(FILE_HOSTFS_I(file)->fd, &start, buffer, in hostfs_readpage() 451 if (bytes_read < 0) { in hostfs_readpage() 454 ret = bytes_read; in hostfs_readpage() 458 memset(buffer + bytes_read, 0, PAGE_CACHE_SIZE - bytes_read); in hostfs_readpage()
|
/fs/ecryptfs/ |
D | crypto.c | 902 char *page_virt, int *bytes_read) in ecryptfs_process_flags() argument 917 (*bytes_read) = 4; in ecryptfs_process_flags() 1246 char *virt, int *bytes_read, in parse_header_metadata() argument 1258 (*bytes_read) = (sizeof(__be32) + sizeof(__be16)); in parse_header_metadata() 1320 int bytes_read; in ecryptfs_read_headers_virt() local 1333 &bytes_read); in ecryptfs_read_headers_virt() 1347 offset += bytes_read; in ecryptfs_read_headers_virt() 1350 &bytes_read, validate_header_size); in ecryptfs_read_headers_virt() 1355 offset += bytes_read; in ecryptfs_read_headers_virt()
|
/fs/ncpfs/ |
D | ncplib_kernel.c | 968 __u32 offset, __u16 to_read, char *target, int *bytes_read) in ncp_read_kernel() argument 982 *bytes_read = ncp_reply_be16(server, 0); in ncp_read_kernel() 983 if (*bytes_read > to_read) { in ncp_read_kernel() 989 memcpy(target, source, *bytes_read); in ncp_read_kernel() 1009 int *bytes_read, void *bounce, __u32 bufsize) in ncp_read_bounce() argument 1030 *bytes_read = len; in ncp_read_bounce()
|