Home
last modified time | relevance | path

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

/xnu-11417.121.6/bsd/nfs/
H A Dnfs_socket.c357 size_t bytes_read; in nfsrv_rcv_locked() local
389 bytes_read = 1000000000; in nfsrv_rcv_locked()
390 error = sock_receivembuf(so, NULL, &mp, MSG_DONTWAIT, &bytes_read); in nfsrv_rcv_locked()
404 slp->ns_cc += bytes_read; in nfsrv_rcv_locked()
407 slp->ns_cc = bytes_read; in nfsrv_rcv_locked()
439 bytes_read = 1000000000; in nfsrv_rcv_locked()
440 error = sock_receivembuf(so, &msg, &mp, MSG_DONTWAIT | MSG_NEEDSA, &bytes_read); in nfsrv_rcv_locked()
H A Dnfs.h571 uint64_t bytes_read; /* Count of bytes read from this export */ member
587 uint64_t bytes_read; member
637 struct nfsstatcount64 bytes_read; /* Count of bytes read from this export */ member
668 uint64_t bytes_read; member
H A Dnfs_syscalls.c1449 statrec.bytes_read = ((uint64_t)nx->nx_stats.bytes_read.hi << 32) | in nfssvc_exportstats()
1450 nx->nx_stats.bytes_read.lo; in nfssvc_exportstats()
1561 ustat_rec.bytes_read = unode->bytes_read; in nfssvc_userstats()
H A Dnfs_subs.c2590 unode->bytes_read = 0; in nfsrv_get_user_stat_node()
2635 unode->bytes_read += rd_bytes; in nfsrv_update_user_stat()
H A Dnfs_serv.c1081 NFSStatAdd64(&nx->nx_stats.bytes_read, len); in nfsrv_read()
/xnu-11417.121.6/bsd/kern/
H A Ddecmpfs.c1172 …_header *hdr, off_t offset, user_ssize_t size, int nvec, decmpfs_vector *vec, uint64_t *bytes_read)
1178 *bytes_read = 0;
1216 err = fetch(vp, decmpfs_ctx, hdr, offset, size, nvec, vec, bytes_read);
1247 (int)*bytes_read, err);
2160 uint64_t bytes_read = 0;
2162 err = decmpfs_fetch_uncompressed_data(vp, cp, hdr, offset, vec.size, 1, &vec, &bytes_read);
2168 if (bytes_read == 0) {
2174 err = uio_addiov(uio_w, CAST_USER_ADDR_T(data), (user_size_t)bytes_read);
2187 offset += bytes_read;
2188 remaining -= bytes_read;
[all …]
/xnu-11417.121.6/tests/
H A Daudit_session.c819 ssize_t bytes_read = read(fd, &expected_aia, sizeof(expected_aia)); variable
820 T_ASSERT_EQ(bytes_read, (ssize_t)sizeof(expected_aia), NULL);
916 ssize_t bytes_read = read(fd, &other_child_aia, sizeof(other_child_aia)); variable
917 T_ASSERT_EQ(bytes_read, (ssize_t)sizeof(other_child_aia), NULL);
919 bytes_read = read(fd, &other_child_pid, sizeof(other_child_pid));
920 T_ASSERT_EQ(bytes_read, (ssize_t)sizeof(other_child_pid), NULL);
/xnu-11417.121.6/bsd/sys/
H A Ddecmpfs.h254 …header *hdr, off_t offset, user_ssize_t size, int nvec, decmpfs_vector *vec, uint64_t *bytes_read);