Home
last modified time | relevance | path

Searched refs:sbytes (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/bc/tests/bc/
H A Dlib2.txt117 sbytes(0)
118 sbytes(1)
119 sbytes(-1)
120 sbytes(2)
121 sbytes(127)
122 sbytes(128)
123 sbytes(-127)
124 sbytes(-128)
126 sbytes(254)
127 sbytes(255)
[all …]
/freebsd/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/lib/libsecureboot/openpgp/
H A Dopgp_sig.c284 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;
465 if ((sdata = read_file(sigfile, &sbytes))) {
472 sbytes, flags)) {
H A Dopgp_key.c393 size_t fbytes, sbytes; in openpgp_self_tests() local
400 sbytes = strlen(sdata); in openpgp_self_tests()
403 (unsigned char *)sdata, sbytes, 0); in openpgp_self_tests()
H A Dpacket.h71 unsigned char *sdata, size_t sbytes, int flags);
/freebsd/sys/kern/
H A Dkern_sendfile.c688 off_t off, sbytes, rem, obj_size, nobj_size; in vn_sendfile() local
702 hdrlen = sbytes = 0; in vn_sendfile()
1203 sbytes += space + hdrlen; in vn_sendfile()
1219 sbytes += td->td_retval[0]; in vn_sendfile()
1234 (*sent) = sbytes; in vn_sendfile()
1273 off_t sbytes; in sendfile() local
1283 sbytes = 0; in sendfile()
1327 uap->nbytes, &sbytes, uap->flags, td); in sendfile()
1330 if (uap->sbytes != NULL) in sendfile()
1331 (void)copyout(&sbytes, uap->sbytes, sizeof(off_t)); in sendfile()
[all …]
H A Dsystrace_args.c1931 uarg[a++] = (intptr_t)p->sbytes; /* off_t * */ in systrace_args()
/freebsd/crypto/openssl/include/internal/
H A Dktls.h196 off_t sbytes = 0; in ktls_sendfile() local
199 ret = sendfile(fd, s, off, size, NULL, &sbytes, flags); in ktls_sendfile()
200 if (ret == -1 && sbytes == 0) in ktls_sendfile()
202 return sbytes; in ktls_sendfile()
/freebsd/crypto/openssl/engines/
H A De_afalg.c470 ssize_t sbytes; in afalg_start_cipher_sk() local
508 sbytes = sendmsg(actx->sfd, &msg, 0); in afalg_start_cipher_sk()
509 if (sbytes < 0) { in afalg_start_cipher_sk()
535 sbytes = sendmsg(actx->sfd, &msg, 0); in afalg_start_cipher_sk()
536 if (sbytes < 0) { in afalg_start_cipher_sk()
542 if (sbytes != (ssize_t) inl) { in afalg_start_cipher_sk()
543 ALG_WARN("Cipher operation send bytes %zd != inlen %zd\n", sbytes, in afalg_start_cipher_sk()
/freebsd/sys/compat/linux/
H A Dlinux_socket.c2438 off_t *offset, l_size_t count, off_t *sbytes) in sendfile_fallback() argument
2510 *sbytes = bytes_sent; in sendfile_fallback()
2526 off_t *offset, l_size_t count, off_t *sbytes) in sendfile_sendfile() argument
2540 sbytes, 0, td); in sendfile_sendfile()
2542 current_offset += *sbytes; in sendfile_sendfile()
2556 off_t sbytes; in linux_sendfile_common() local
2581 sbytes = 0; in linux_sendfile_common()
2584 &sbytes); in linux_sendfile_common()
2587 &sbytes); in linux_sendfile_common()
2591 td->td_retval[0] = sbytes; in linux_sendfile_common()
/freebsd/lib/libc/tests/sys/
H A Dsendfile_test.c907 off_t sbytes; in sbytes_positive_test() local
918 error = sendfile(fd, client_sock, 0, 0, NULL, &sbytes, SF_FLAGS(0, 0)); in sbytes_positive_test()
925 ATF_CHECK_EQ_MSG(pattern_size, sbytes, in sbytes_positive_test()
/freebsd/contrib/bc/gen/
H A Dlib2.bc307 define sbytes(x){
332 define s2u(x){return s2un(x,sbytes(x))}
446 define void int(x){intn(x,sbytes(x))}
/freebsd/tests/sys/fs/fusefs/
H A Dread.cc1251 off_t sbytes; in TEST_F() local
1274 ASSERT_EQ(0, sendfile(fd, sp[1], 0, bufsize, NULL, &sbytes, 0)) in TEST_F()
1296 off_t sbytes; in TEST_F() local
1312 ASSERT_NE(0, sendfile(fd, sp[1], 0, bufsize, NULL, &sbytes, 0)); in TEST_F()
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_misc.c2137 off_t offset, sbytes; in freebsd32_do_sendfile() local
2191 uap->nbytes, &sbytes, uap->flags, td); in freebsd32_do_sendfile()
2194 if (uap->sbytes != NULL) in freebsd32_do_sendfile()
2195 (void)copyout(&sbytes, uap->sbytes, sizeof(off_t)); in freebsd32_do_sendfile()
H A Dfreebsd32_proto.h320 char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; member
931 char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; member
H A Dfreebsd32_systrace_args.c1832 uarg[a++] = (intptr_t)p->sbytes; /* off_t * */ in systrace_args()
/freebsd/lib/libsys/
H A D_libsys.h691 …file(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr * hdtr, off_t * sbytes, int flags);
/freebsd/sys/sys/
H A Dsysproto.h1035 char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; member
2506 char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; member