Searched refs:rsize (Results 1 - 25 of 82) sorted by relevance

1234

/freebsd-current/stand/i386/libi386/
H A Dpread.c56 int rsize; local
58 rsize = size;
59 while (rsize > 0) {
62 count = (rsize < BUFSIZE ? rsize : BUFSIZE);
72 rsize -= got;
76 return (size - rsize);
H A Dpxe.c438 size_t size, rsize; local
441 size = rsize = 0;
512 rsize += isr->BufferLength;
520 if (rsize >= size) {
539 if (rsize == 0) {
544 *retsize = rsize;
/freebsd-current/crypto/openssl/crypto/
H A Dgetenv.c28 int rsize, fsize; local
44 rsize = MultiByteToWideChar(curacp, dwFlags, name, -1, NULL, 0);
46 if (rsize > 0)
47 namew = _malloca(rsize * sizeof(WCHAR));
51 fsize = MultiByteToWideChar(curacp, dwFlags, name, -1, namew, rsize);
/freebsd-current/crypto/heimdal/lib/gssapi/krb5/
H A Dtest_cfx.c54 size_t size, rsize; local
82 &rsize, &cksumsize, &padsize);
86 if (size < rsize)
88 "size (%d) < rsize (%d) for max_wrap_size %d",
89 (int)size, (int)rsize, (int)max_wrap_size);
98 size_t rsize; local
124 &rsize, &cksumsize, &padsize);
128 if (testsize < rsize)
130 "testsize (%d) < rsize (%d) for max_wrap_size %d",
131 (int)testsize, (int)rsize, (in
[all...]
/freebsd-current/contrib/less/
H A Dxbuf.c87 static int help_fixup(void *r, uintmax val, int rsize, int rsigned) argument
91 if (rsize == sizeof (int))
98 } else if (rsize == sizeof (long long))
106 } else if (rsize == sizeof (intmax_t)) {
112 } else /* rsize == sizeof (long) */
120 if (rsize == sizeof (unsigned)) {
125 } else if (rsize == sizeof (unsigned long)) {
131 } else if (rsize == sizeof (unsigned long long)) {
137 } else /* rsize == sizeof (uintmax) */
151 public int help_ckd_add(void *r, uintmax a, uintmax b, int rsize, in argument
157 help_ckd_mul(void *r, uintmax a, uintmax b, int rsize, int rsigned) argument
[all...]
/freebsd-current/usr.bin/truncate/
H A Dtruncate.c54 off_t oflow, rsize, sz, tsize, round, off, len; local
68 rsize = tsize = sz = off = 0;
143 rsize = sz;
169 oflow = sb.st_size + rsize;
170 if (oflow < (sb.st_size + rsize)) {
184 sz = rsize;
189 if (round != sz && rsize < 0)
191 else if (rsize > 0)
/freebsd-current/tools/tools/bootparttest/
H A Dbootparttest.c40 size_t size, char *buf, size_t *rsize);
48 size_t size, char *buf, size_t *rsize);
69 size_t *rsize)
76 if (rsize)
77 *rsize = 0;
68 disk_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf, size_t *rsize) argument
/freebsd-current/tests/sys/netlink/
H A Dnetlink_socket.c76 int fd, sendspace, recvspace, sendavail, recvavail, rsize; local
89 ATF_REQUIRE(ioctl(fd, FIONREAD, &rsize) != -1);
113 } while (recvavail <= recvspace - rsize ||
202 int fd, size, rsize; local
221 ATF_REQUIRE(ioctl(fd, FIONREAD, &rsize) != -1);
227 ATF_REQUIRE(size == rsize);
242 size = rsize - hdr.nlmsg_len;
243 ATF_REQUIRE(ioctl(fd, FIONREAD, &rsize) != -1);
244 ATF_REQUIRE(size == rsize);
252 .iov_len = sizeof(buf) < rsize
[all...]
/freebsd-current/stand/userboot/userboot/
H A Duserboot_disk.c54 size_t size, char *buf, size_t *rsize);
56 size_t size, char *buf, size_t *rsize);
191 char *buf, size_t *rsize)
201 size, buf, rsize));
206 char *buf, size_t *rsize)
213 if (rsize)
214 *rsize = 0;
230 if (rsize)
231 *rsize = size - resid;
190 userdisk_strategy(void *devdata, int rw, daddr_t dblk, size_t size, char *buf, size_t *rsize) argument
205 userdisk_realstrategy(void *devdata, int rw, daddr_t dblk, size_t size, char *buf, size_t *rsize) argument
/freebsd-current/tests/sys/kern/
H A Dunix_seqpacket_test.c195 ssize_t ssize, rsize; local
221 rsize = recv(sv[1], recv_buf, pktsize, MSG_WAITALL);
222 if (rsize < 0) {
226 ATF_CHECK_EQ_MSG(pktsize, rsize, "expected %zd=send(...) but got %zd",
227 pktsize, rsize);
242 ssize_t ssize, rsize; local
277 rsize = recv(sv[1], rcvbuf, pktsize, MSG_WAITALL);
278 if (rsize < 0) {
289 ATF_CHECK_EQ_MSG(pktsize, rsize,
291 pktsize, rsize);
338 ssize_t rsize; local
724 ssize_t ssize, rsize; local
764 ssize_t ssize, rsize; local
818 ssize_t ssize, rsize; local
906 ssize_t ssize, rsize; local
974 ssize_t ssize, rsize; local
[all...]
/freebsd-current/contrib/libdivsufsort/lib/
H A Dutils.c263 saidx_t size, lsize, rsize, half; local
287 lsize = half, j = i, rsize = size - half - 1, k = i + half + 1;
305 for(rlmatch = match, rrmatch = rmatch, half = rsize >> 1;
306 0 < rsize;
307 rsize = half, half >>= 1) {
312 half -= (rsize & 1) ^ 1;
332 saidx_t size, lsize, rsize, half; local
349 lsize = half, j = i, rsize = size - half - 1, k = i + half + 1;
364 for(half = rsize >> 1;
365 0 < rsize;
[all...]
/freebsd-current/stand/common/
H A Dbcache.c188 char *buf, size_t *rsize)
202 return (dd->dv_strategy(dd->dv_devdata, rw, blk, size, buf, rsize));
212 char *buf, size_t *rsize)
226 if (rsize != NULL)
227 *rsize = 0;
379 if (rsize != NULL)
380 *rsize = size;
392 char *buf, size_t *rsize)
411 return (dd->dv_strategy(dd->dv_devdata, rw, blk, size, buf, rsize));
448 if (rsize)
187 write_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf, size_t *rsize) argument
211 read_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf, size_t *rsize) argument
391 bcache_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf, size_t *rsize) argument
[all...]
H A Dmd.c86 char *buf, size_t *rsize)
104 if (rsize != NULL)
105 *rsize = size;
85 md_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf, size_t *rsize) argument
/freebsd-current/sys/nfs/
H A Dnfsdiskless.h82 int rsize; /* read size in bytes */ member in struct:onfs_args
H A Dnfs_diskless.c74 * Validate/sanity check a rsize/wsize parameter.
126 else if (strncmp(o, "rsize=", 6) == 0) {
128 if (checkrwsize(v, "rsize")) {
129 nd->rsize = (int) v;
263 nd3->root_args.rsize = 32768; /* XXX tunable? */
302 nd->root_args.rsize = 8192; /* XXX tunable? */
331 args.rsize = nd->root_args.rsize;
336 nd->root_args.rsize = args.rsize;
[all...]
/freebsd-current/crypto/openssl/crypto/dso/
H A Ddso_dl.c222 int len, rsize, transform; local
225 rsize = len + 1;
229 rsize += strlen(DSO_EXTENSION); /* The length of ".s?" */
231 rsize += 3; /* The length of "lib" */
233 translated = OPENSSL_malloc(rsize);
H A Ddso_dlfcn.c256 int len, rsize, transform; local
259 rsize = len + 1;
263 rsize += strlen(DSO_EXTENSION); /* The length of ".so" */
265 rsize += 3; /* The length of "lib" */
267 translated = OPENSSL_malloc(rsize);
/freebsd-current/sys/dev/ofw/
H A Dofw_subr.c85 uint64_t size, rsize; local
161 rsize = 0;
163 rsize = ((uint64_t)rsize << 32) | cell[regno++];
164 if (addr < raddr || addr >= raddr + rsize)
/freebsd-current/stand/uboot/
H A Duboot_disk.c145 char *buf, size_t *rsize)
164 if (rsize)
165 *rsize = 0;
168 if (!err && rsize)
169 *rsize = size;
144 stor_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf, size_t *rsize) argument
/freebsd-current/stand/libofw/
H A Dofw_disk.c44 size_t size, char *buf, size_t *rsize);
92 char *buf, size_t *rsize)
118 *rsize = size;
91 ofwd_strategy(void *devdata, int flag __unused, daddr_t dblk, size_t size, char *buf, size_t *rsize) argument
/freebsd-current/sys/vm/
H A Dvm_swapout.c377 uint64_t rsize, ravailable; local
474 rsize = IDX_TO_OFF(size);
477 racct_set(p, RACCT_RSS, rsize);
480 if (rsize > ravailable) {
490 if (ravailable < rsize -
491 (rsize / 4)) {
492 ravailable = rsize -
493 (rsize / 4);
501 rsize = IDX_TO_OFF(size);
504 racct_set(p, RACCT_RSS, rsize);
[all...]
/freebsd-current/sys/nfsclient/
H A Dnfsargs.h52 int rsize; /* read size in bytes */ member in struct:nfs_args
/freebsd-current/sys/arm64/include/
H A Dvmm_instruction_emul.h34 uint64_t *rval, int rsize, void *arg);
/freebsd-current/crypto/heimdal/lib/ipc/
H A Dclient.c455 arg.rsize = 0;
462 response->data = malloc(arg.rsize);
464 munmap(arg.rbuf, arg.rsize);
467 memcpy(response->data, arg.rbuf, arg.rsize);
468 response->length = arg.rsize;
469 munmap(arg.rbuf, arg.rsize);
/freebsd-current/sys/amd64/include/
H A Dvmm_instruction_emul.h38 uint64_t *rval, int rsize, void *arg);

Completed in 188 milliseconds

1234