Searched refs:sbytes (Results 1 - 18 of 18) sorted by relevance

/freebsd-current/tools/test/stress2/misc/
H A Dsendfile2.sh87 off_t sbytes;
123 sbytes = 0;
124 n = sendfile(f, s, sent, chunk, NULL, &sbytes, 0);
127 chunk -= sbytes;
128 size -= sbytes;
129 sent += sbytes;
H A Dsendfile26.sh97 off_t sbytes = 0;
102 NULL, &sbytes, 0);
104 cursor += sbytes;
105 to_send -= sbytes;
108 sbytes = to_send;
109 ret = sendfile(fd, sock, cursor, &sbytes, NULL, 0);
115 cursor += sbytes;
116 to_send -= sbytes;
H A Dsendfile_shm.sh106 off_t sbytes;
109 error = sendfile(shmfd, s, 0, size, NULL, &sbytes, 0);
112 printf("sent %jd bytes, requested %jd\n", (uintmax_t)sbytes,
/freebsd-current/lib/libsecureboot/openpgp/
H A Dpacket.h71 unsigned char *sdata, size_t sbytes, int flags);
H A Dopgp_sig.c274 * @param[in] sbytes
284 unsigned char *sdata, size_t sbytes,
312 sdata = ddata = dearmor((char *)sdata, sbytes, &sbytes);
314 rc = decode_packet(2, &ptr, sbytes, (decoder_t)decode_sig, sig);
462 size_t fbytes, sbytes; local
465 if ((sdata = read_file(sigfile, &sbytes))) {
472 sbytes, flags)) {
282 openpgp_verify(const char *filename, unsigned char *fdata, size_t fbytes, unsigned char *sdata, size_t sbytes, int flags) argument
H A Dopgp_key.c393 size_t fbytes, sbytes; local
400 sbytes = strlen(sdata);
403 (unsigned char *)sdata, sbytes, 0);
/freebsd-current/crypto/openssl/include/internal/
H A Dktls.h196 off_t sbytes = 0; local
199 ret = sendfile(fd, s, off, size, NULL, &sbytes, flags);
200 if (ret == -1 && sbytes == 0)
202 return sbytes;
/freebsd-current/crypto/openssl/engines/
H A De_afalg.c470 ssize_t sbytes; local
508 sbytes = sendmsg(actx->sfd, &msg, 0);
509 if (sbytes < 0) {
535 sbytes = sendmsg(actx->sfd, &msg, 0);
536 if (sbytes < 0) {
542 if (sbytes != (ssize_t) inl) {
543 ALG_WARN("Cipher operation send bytes %zd != inlen %zd\n", sbytes,
/freebsd-current/sys/kern/
H A Dkern_sendfile.c688 off_t off, sbytes, rem, obj_size, nobj_size; local
702 hdrlen = sbytes = 0;
1203 sbytes += space + hdrlen;
1219 sbytes += td->td_retval[0];
1234 (*sent) = sbytes;
1273 off_t sbytes; local
1283 sbytes = 0;
1327 uap->nbytes, &sbytes, uap->flags, td);
1330 if (uap->sbytes != NULL)
1331 (void)copyout(&sbytes, ua
[all...]
H A Dsystrace_args.c1931 uarg[a++] = (intptr_t)p->sbytes; /* off_t * */
/freebsd-current/sys/compat/linux/
H A Dlinux_socket.c2438 off_t *offset, l_size_t count, off_t *sbytes)
2510 *sbytes = bytes_sent;
2526 off_t *offset, l_size_t count, off_t *sbytes)
2540 sbytes, 0, td);
2542 current_offset += *sbytes;
2556 off_t sbytes; local
2581 sbytes = 0;
2584 &sbytes);
2587 &sbytes);
2591 td->td_retval[0] = sbytes;
2437 sendfile_fallback(struct thread *td, struct file *fp, l_int out, off_t *offset, l_size_t count, off_t *sbytes) argument
2525 sendfile_sendfile(struct thread *td, struct file *fp, l_int out, off_t *offset, l_size_t count, off_t *sbytes) argument
[all...]
/freebsd-current/lib/libc/tests/sys/
H A Dsendfile_test.c907 off_t sbytes; local
918 error = sendfile(fd, client_sock, 0, 0, NULL, &sbytes, SF_FLAGS(0, 0));
925 ATF_CHECK_EQ_MSG(pattern_size, sbytes,
926 "the value returned by sbytes does not match the expected pattern "
935 "Verify positive `sbytes` functionality (IPv4)");
950 "Verify positive `sbytes` functionality (IPv6)");
990 "Verify negative `sbytes` functionality (IPv4)");
1005 "Verify negative `sbytes` functionality (IPv6)");
/freebsd-current/tests/sys/fs/fusefs/
H A Dread.cc1251 off_t sbytes; local
1274 ASSERT_EQ(0, sendfile(fd, sp[1], 0, bufsize, NULL, &sbytes, 0))
1296 off_t sbytes; local
1312 ASSERT_NE(0, sendfile(fd, sp[1], 0, bufsize, NULL, &sbytes, 0));
/freebsd-current/sys/compat/freebsd32/
H A Dfreebsd32_misc.c2137 off_t offset, sbytes; local
2191 uap->nbytes, &sbytes, uap->flags, td);
2194 if (uap->sbytes != NULL)
2195 (void)copyout(&sbytes, uap->sbytes, sizeof(off_t));
H A Dfreebsd32_proto.h320 char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; member in struct:freebsd32_sendfile_args
931 char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; member in struct:freebsd4_freebsd32_sendfile_args
H A Dfreebsd32_systrace_args.c1832 uarg[a++] = (intptr_t)p->sbytes; /* off_t * */
/freebsd-current/lib/libsys/
H A D_libsys.h691 int __sys_sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr * hdtr, off_t * sbytes, int flags);
/freebsd-current/sys/sys/
H A Dsysproto.h1035 char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; member in struct:sendfile_args
2506 char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; member in struct:freebsd4_sendfile_args

Completed in 308 milliseconds