Home
last modified time | relevance | path

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

/fs/befs/
Ddatastream.c128 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 %Lu", 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()
149 befs_debug(sb, "<--- befs_read_lsymlink() read %u bytes", bytes_read); in befs_read_lsymlink()
[all …]
/fs/cifs/
Dlink.c250 unsigned int bytes_read = 0; in CIFSQueryMFSymLink() local
278 rc = CIFSSMBRead(xid, &io_parms, &bytes_read, &pbuf, &buf_type); in CIFSQueryMFSymLink()
285 rc = CIFSParseMFSymlink(buf, bytes_read, &link_len, symlinkinfo); in CIFSQueryMFSymLink()
320 unsigned int bytes_read = 0; in CIFSCheckMFSymlink() local
360 rc = CIFSSMBRead(xid, &io_parms, &bytes_read, &pbuf, &buf_type); in CIFSCheckMFSymlink()
367 rc = CIFSParseMFSymlink(buf, bytes_read, &link_len, NULL); in CIFSCheckMFSymlink()
Dfile.c2358 unsigned int bytes_read = 0; in cifs_iovec_read() local
2394 for (total_read = 0; total_read < len; total_read += bytes_read) { in cifs_iovec_read()
2411 rc = CIFSSMBRead(xid, &io_parms, &bytes_read, in cifs_iovec_read()
2418 iov_offset, bytes_read)) in cifs_iovec_read()
2425 iov_offset += bytes_read; in cifs_iovec_read()
2429 if (rc || (bytes_read == 0)) { in cifs_iovec_read()
2437 cifs_stats_bytes_read(pTcon, bytes_read); in cifs_iovec_read()
2438 *poffset += bytes_read; in cifs_iovec_read()
2484 unsigned int bytes_read = 0; in cifs_read() local
2521 total_read += bytes_read, current_offset += bytes_read) { in cifs_read()
[all …]
Dcifsglob.h479 __u64 bytes_read; member
697 tcon->bytes_read += bytes; in cifs_stats_bytes_read()
Dinode.c380 unsigned int bytes_read; local
415 rc = CIFSSMBRead(xid, &io_parms, &bytes_read, &pbuf,
417 if ((rc == 0) && (bytes_read >= 8)) {
422 if (bytes_read == 24) {
434 if (bytes_read == 24) {
Dcifs_debug.c364 (long long)(tcon->bytes_read)); in cifs_stats_proc_show()
/fs/ecryptfs/
Dcrypto.c1030 char *page_virt, int *bytes_read) in ecryptfs_process_flags() argument
1045 (*bytes_read) = 4; in ecryptfs_process_flags()
1372 char *virt, int *bytes_read, in parse_header_metadata() argument
1384 (*bytes_read) = (sizeof(__be32) + sizeof(__be16)); in parse_header_metadata()
1446 int bytes_read; in ecryptfs_read_headers_virt() local
1459 &bytes_read); in ecryptfs_read_headers_virt()
1473 offset += bytes_read; in ecryptfs_read_headers_virt()
1476 &bytes_read, validate_header_size); in ecryptfs_read_headers_virt()
1481 offset += bytes_read; in ecryptfs_read_headers_virt()
/fs/ncpfs/
Dncplib_kernel.c970 __u32 offset, __u16 to_read, char *target, int *bytes_read) in ncp_read_kernel() argument
984 *bytes_read = ncp_reply_be16(server, 0); in ncp_read_kernel()
987 memcpy(target, source, *bytes_read); in ncp_read_kernel()
1006 __u32 offset, __u16 to_read, char __user *target, int *bytes_read, in ncp_read_bounce() argument
1028 *bytes_read = len; in ncp_read_bounce()