Searched refs:rsize (Results 26 - 50 of 74) sorted by relevance

123

/freebsd-13-stable/lib/libdpv/
H A Ddprompt.c400 int rsize; local
593 rsize = lsize;
594 if ((lsize+hlen+rsize) != pbar_size)
595 rsize++;
599 lsize, "", human, rsize, "");
602 lsize, "", human, rsize, "");
/freebsd-13-stable/contrib/libarchive/libarchive/test/
H A Dtest_read_format_cab.c218 ssize_t rsize = archive_read_data(a, buff, sizeof(buff)); local
219 if (comp == MSZIP && rsize == ARCHIVE_FATAL && archive_zlib_version() == NULL) {
224 assertEqualInt(sizeof(buff), rsize); local
/freebsd-13-stable/stand/common/
H A Dvdisk.c249 char *buf, size_t *rsize)
287 if (errno == 0 && rsize != NULL) {
288 *rsize = rv;
248 vdisk_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf, size_t *rsize) argument
H A Dbootstrap.h84 char *buf, size_t *rsize);
H A Ddev_net.c231 size_t *rsize)
230 net_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf, size_t *rsize) argument
/freebsd-13-stable/stand/libsa/
H A Drpc.c114 ssize_t cc, rsize; local
208 rsize = cc - sizeof(*reply);
211 return (rsize);
H A Dufs.c160 size_t rsize; local
173 buf, &rsize);
176 if (rsize != fs->fs_bsize) {
H A Ddosfs.c858 size_t rsize; local
862 rsize = 0;
864 size, buf, &rsize);
865 if ((rv == 0) && (size != rsize))
/freebsd-13-stable/contrib/ntp/sntp/
H A Dnetworking.h39 int recvpkt(SOCKET rsock, struct pkt *rpkt, unsigned int rsize,
/freebsd-13-stable/stand/userboot/userboot/
H A Dhost.c157 char *buf, size_t *rsize)
156 host_dev_strategy(void *devdata, int rw, daddr_t dblk, size_t size, char *buf, size_t *rsize) argument
/freebsd-13-stable/stand/i386/libi386/
H A Dbiosdisk.c147 char *buf, size_t *rsize);
149 char *buf, size_t *rsize);
934 char *buf, size_t *rsize)
957 buf, rsize));
962 char *buf, size_t *rsize)
1011 if (rsize)
1012 *rsize = 0;
1124 if (rsize != NULL)
1125 *rsize = size;
933 bd_strategy(void *devdata, int rw, daddr_t dblk, size_t size, char *buf, size_t *rsize) argument
961 bd_realstrategy(void *devdata, int rw, daddr_t dblk, size_t size, char *buf, size_t *rsize) argument
/freebsd-13-stable/sys/dev/xen/netback/
H A Dnetback_unit_tests.c601 unsigned int rsize; local
607 rsize = RING_SIZE(&xnb_unit_pvt.txf);
608 xnb_unit_pvt.txf.req_prod_pvt = rsize - 2;
609 xnb_unit_pvt.txf.rsp_cons = rsize - 2;
610 xnb_unit_pvt.txs->req_prod = rsize - 2;
611 xnb_unit_pvt.txs->req_event = rsize - 1;
612 xnb_unit_pvt.txs->rsp_prod = rsize - 2;
613 xnb_unit_pvt.txs->rsp_event = rsize - 1;
614 xnb_unit_pvt.txb.rsp_prod_pvt = rsize - 2;
615 xnb_unit_pvt.txb.req_cons = rsize
907 unsigned int rsize; local
[all...]
/freebsd-13-stable/sys/dev/mpr/
H A Dmpr.c1407 int rsize, num_replies; local
1419 rsize = sc->replyframesz * num_replies;
1421 BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(4), BD_MAXSIZE(rsize),
1422 BD_MAXSEGSIZE(rsize), BD_NSEGMENTS(1),
1433 bzero(sc->reply_frames, rsize);
1434 bus_dmamap_load(sc->reply_dmat, sc->reply_map, sc->reply_frames, rsize,
1437 (uintmax_t)sc->reply_busaddr, rsize);
1473 int i, rsize, nsegs; local
1475 rsize = sc->reqframesz * sc->num_reqs;
1477 BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(16), BD_MAXSIZE(rsize),
1613 int rsize, i; local
[all...]
/freebsd-13-stable/contrib/ntp/ntpq/
H A Dntpq-subs.c2266 size_t rsize; local
2283 &rstatus, &rsize, &rdata);
2288 if (rsize > 0 && '\n' == rdata[rsize - 1])
2289 rsize--;
2291 resp = emalloc(rsize + 1);
2292 memcpy(resp, rdata, rsize);
2293 resp[rsize] = '\0';
2335 size_t rsize; local
2386 &rstatus, &rsize,
2418 size_t rsize; local
2552 size_t rsize; local
3739 size_t rsize; local
[all...]
/freebsd-13-stable/sys/dev/mps/
H A Dmps.c1336 int rsize, num_replies; local
1348 rsize = sc->replyframesz * num_replies;
1350 BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(4), BD_MAXSIZE(rsize),
1351 BD_MAXSEGSIZE(rsize), BD_NSEGMENTS(1),
1362 bzero(sc->reply_frames, rsize);
1363 bus_dmamap_load(sc->reply_dmat, sc->reply_map, sc->reply_frames, rsize,
1367 (uintmax_t)sc->reply_busaddr, rsize);
1403 int i, rsize, nsegs; local
1405 rsize = sc->reqframesz * sc->num_reqs;
1407 BUS_DMA_TEMPLATE_FILL(&t, BD_ALIGNMENT(16), BD_MAXSIZE(rsize),
[all...]
/freebsd-13-stable/sys/fs/nfs/
H A Dnfsclstate.h385 uint32_t rsize; member in struct:nfscldevinfo::__anon14638::__anon14640
397 #define nfsdi_rsize nfsdi_un.ff.rsize
/freebsd-13-stable/contrib/ntp/ntpdc/
H A Dntpdc.c596 size_t *rsize,
630 *rsize = 0;
779 if (!firstpkt && size != *rsize) {
782 size, *rsize);
833 *rsize = size + pad;
978 size_t *rsize,
1025 res = getresponse(implcode, reqcode, ritems, rsize, rdata, esize);
592 getresponse( int implcode, int reqcode, size_t *ritems, size_t *rsize, const char **rdata, size_t esize ) argument
970 doquery( int implcode, int reqcode, int auth, size_t qitems, size_t qsize, const char *qdata, size_t *ritems, size_t *rsize, const char **rdata, int quiet_mask, int esize ) argument
/freebsd-13-stable/sys/vm/
H A Duma_core.c2049 slab_ipers_hdr(u_int size, u_int rsize, u_int slabsize, bool hdr) argument
2055 padpi = rsize - size;
2063 (slabsize + padpi - slab_sizeof(1)) / rsize);
2065 ipers * rsize - padpi + slab_sizeof(ipers) > slabsize;
2069 ipers = MIN((slabsize + padpi) / rsize, SLAB_MAX_SETSIZE);
2083 keg_layout_one(uma_keg_t keg, u_int rsize, u_int slabsize, u_int fmt, argument
2097 kl->ipers = slab_ipers_hdr(keg->uk_size, rsize, kl->slabsize,
2105 kl->eff = UMA_FRAC_FIXPT(kl->ipers * rsize, total);
2110 * will be placed (inline or offpage) and calculates ipers, rsize, and ppera.
2126 u_int rsize; local
[all...]
/freebsd-13-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format_xar.c685 size_t rsize; local
697 size = rsize = s;
735 rsize = s - xar->stream.avail_in;
736 checksum_update(&(xar->e_sumwrk), buff, rsize);
747 if (rsize > 2 && b[0] == '#' && b[1] == '!') {
754 if ((rsize - off) > PATH_MAX)
758 end = rsize;
775 xar->bytes_remaining -= rsize;
777 return (rsize);
1811 size_t rsize; local
[all...]
/freebsd-13-stable/sys/cam/scsi/
H A Dscsi_enc_ses.c2873 size_t size, rsize; local
2920 rsize = snprintf(str, sizeof(str), "%s %s %s",
2922 if (rsize > sizeof(str))
2923 rsize = sizeof(str);
2924 size = rsize;
2928 sstr->bufsiz = rsize;
2929 return (size == rsize ? 0 : ENOMEM);
2934 rsize = snprintf(str, sizeof(str), "%16jx",
2936 if (rsize > sizeof(str))
2937 rsize
[all...]
/freebsd-13-stable/stand/i386/libfirewire/
H A Dfirewire.c70 size_t size, char *buf, size_t *rsize);
215 char *buf, size_t *rsize)
214 fw_strategy(void *devdata, int rw, daddr_t dblk, size_t size, char *buf, size_t *rsize) argument
/freebsd-13-stable/lib/libc/db/hash/
H A Dhash_page.c523 int fd, page, size, rsize; local
537 if ((rsize = pread(fd, p, size, (off_t)page << hashp->BSHIFT)) == -1)
540 if (!rsize)
543 if (rsize != size) {
/freebsd-13-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_alloc.cpp642 bufsize rsize; local
645 rsize = -(b->bb.bsize);
646 if (rsize == 0) {
650 rsize = bd->tsize - (bufsize)sizeof(bdhead_t);
652 rsize -= sizeof(bhead_t);
655 KMP_DEBUG_ASSERT(rsize >= size);
657 (void)memset(buf, 0, (bufsize)rsize);
/freebsd-13-stable/stand/fdt/
H A Dfdt_loader_cmd.c752 uint64_t rstart, rsize; local
810 if (fdt_get_mem_rsv(fdtp, i, &rstart, &rsize))
812 if (rsize) {
824 cpu_to_fdt64(rsize);
827 cpu_to_fdt32(rsize);
/freebsd-13-stable/contrib/ofed/librdmacm/
H A Drsocket.c2381 uint32_t end_size, rsize; local
2387 for (; left && (rmsg_head != rs->rmsg_tail); left -= rsize) {
2389 rsize = left;
2391 rsize = rs->rmsg[rmsg_head].data;
2397 if (rsize > end_size) {
2401 rsize -= end_size;
2404 memcpy(buf, &rs->rbuf[rbuf_offset], rsize);
2405 rbuf_offset += rsize;
2406 buf += rsize;
2419 uint32_t end_size, rsize; local
[all...]

Completed in 578 milliseconds

123