Home
last modified time | relevance | path

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

/xnu-8796.141.3/bsd/nfs/
H A Dnfs_socket.c320 size_t bytes_read; in nfsrv_rcv_locked() local
352 bytes_read = 1000000000; in nfsrv_rcv_locked()
353 error = sock_receivembuf(so, NULL, &mp, MSG_DONTWAIT, &bytes_read); in nfsrv_rcv_locked()
367 slp->ns_cc += bytes_read; in nfsrv_rcv_locked()
370 slp->ns_cc = bytes_read; in nfsrv_rcv_locked()
402 bytes_read = 1000000000; in nfsrv_rcv_locked()
403 error = sock_receivembuf(so, &msg, &mp, MSG_DONTWAIT | MSG_NEEDSA, &bytes_read); in nfsrv_rcv_locked()
H A Dnfs.h567 uint64_t bytes_read; /* Count of bytes read from this export */ member
583 uint64_t bytes_read; member
633 struct nfsstatcount64 bytes_read; /* Count of bytes read from this export */ member
664 uint64_t bytes_read; member
H A Dnfs_syscalls.c1450 statrec.bytes_read = ((uint64_t)nx->nx_stats.bytes_read.hi << 32) | in nfssvc_exportstats()
1451 nx->nx_stats.bytes_read.lo; in nfssvc_exportstats()
1562 ustat_rec.bytes_read = unode->bytes_read; in nfssvc_userstats()
H A Dnfs_subs.c2625 unode->bytes_read = 0; in nfsrv_get_user_stat_node()
2670 unode->bytes_read += rd_bytes; in nfsrv_update_user_stat()
H A Dnfs_serv.c1071 NFSStatAdd64(&nx->nx_stats.bytes_read, len); in nfsrv_read()
/xnu-8796.141.3/bsd/kern/
H A Ddecmpfs.c1170 …_header *hdr, off_t offset, user_ssize_t size, int nvec, decmpfs_vector *vec, uint64_t *bytes_read)
1176 *bytes_read = 0;
1214 err = fetch(vp, decmpfs_ctx, hdr, offset, size, nvec, vec, bytes_read);
1245 (int)*bytes_read, err);
2156 uint64_t bytes_read = 0;
2158 err = decmpfs_fetch_uncompressed_data(vp, cp, hdr, offset, vec.size, 1, &vec, &bytes_read);
2164 if (bytes_read == 0) {
2170 err = uio_addiov(uio_w, CAST_USER_ADDR_T(data), (user_size_t)bytes_read);
2183 offset += bytes_read;
2184 remaining -= bytes_read;
[all …]
/xnu-8796.141.3/tests/
H A Daudit_session.c874 ssize_t bytes_read = read(fd, &expected_aia, sizeof(expected_aia)); variable
875 T_ASSERT_EQ(bytes_read, (ssize_t)sizeof(expected_aia), NULL);
967 ssize_t bytes_read = read(fd, &other_child_aia, sizeof(other_child_aia)); variable
968 T_ASSERT_EQ(bytes_read, (ssize_t)sizeof(other_child_aia), NULL);
970 bytes_read = read(fd, &other_child_pid, sizeof(other_child_pid));
971 T_ASSERT_EQ(bytes_read, (ssize_t)sizeof(other_child_pid), NULL);
/xnu-8796.141.3/bsd/sys/
H A Ddecmpfs.h254 …header *hdr, off_t offset, user_ssize_t size, int nvec, decmpfs_vector *vec, uint64_t *bytes_read);