Searched refs:psize (Results 1 - 25 of 83) sorted by relevance

1234

/openbsd-current/lib/libc/db/btree/
H A Dbt_open.c117 if (b.psize &&
118 (b.psize < MINPSIZE || b.psize > MAX_PAGE_OFFSET + 1 ||
119 b.psize & (sizeof(indx_t) - 1)))
145 b.psize = 0;
226 M_32_SWAP(m.psize);
233 if (m.psize < MINPSIZE || m.psize > MAX_PAGE_OFFSET + 1 ||
234 m.psize & (sizeof(indx_t) - 1))
238 b.psize
[all...]
H A Dbt_close.c162 m.psize = t->bt_psize;
/openbsd-current/lib/libc/stdio/
H A Dopen_wmemstream.c33 size_t *psize; /* point to min(pos, len) */ member in struct:state
73 *st->psize = st->pos;
107 *st->psize = MINIMUM(st->pos, st->len);
123 open_wmemstream(wchar_t **pbuf, size_t *psize) argument
128 if (pbuf == NULL || psize == NULL) {
151 st->psize = psize;
155 *psize = st->len;
H A Dopen_memstream.c32 size_t *psize; /* point to min(pos, len) */ member in struct:state
69 *st->psize = st->pos;
97 *st->psize = MINIMUM(st->pos, st->len);
113 open_memstream(char **pbuf, size_t *psize) argument
118 if (pbuf == NULL || psize == NULL) {
141 st->psize = psize;
144 *psize = st->len;
/openbsd-current/lib/libc/gen/
H A Dpw_dup.c51 size_t nsize, psize, csize, gsize, dsize, ssize, total; local
57 PW_SIZE(pw_passwd, psize);
75 PW_COPY(pw_passwd, psize);
H A Ddisklabel.c56 char p, max, psize[3], pbsize[3], local
91 strlcpy(psize, "px", sizeof psize);
102 psize[1] = pbsize[1] = pfsize[1] = poffset[1] = ptype[1] = p;
104 if (cgetnum(buf, psize, &f) == -1)
/openbsd-current/sys/lib/libsa/
H A Dcd9660.c128 size_t buf_size, nread, psize, dsize; local
162 psize = isonum_733(vd->path_table_size);
164 if (psize > ISO_DEFAULT_BLOCK_SIZE) {
166 buf = alloc(buf_size = roundup(psize, ISO_DEFAULT_BLOCK_SIZE));
192 if ((char *)pp >= buf + psize)
204 while ((char *)pp < buf + psize) {
215 for (psize = 0; psize < dsize;) {
216 if (!(psize % ISO_DEFAULT_BLOCK_SIZE)) {
233 psize
[all...]
/openbsd-current/sys/dev/pcmcia/
H A Dif_malo.c909 uint16_t psize; local
915 psize = MALO_READ_2(sc, MALO_REG_DATA_READ_LEN);
916 if (psize & 0x0001) {
918 psize - 1);
920 data[psize - 1] = MALO_READ_1(sc, MALO_REG_DATA_READ);
922 MALO_READ_MULTI_2(sc, MALO_REG_DATA_READ, sc->sc_data, psize);
1005 uint16_t psize; local
1010 psize = sizeof(*txdesc) + m->m_pkthdr.len;
1025 MALO_WRITE_2(sc, MALO_REG_DATA_WRITE_LEN, psize);
1026 if (psize
1221 uint16_t psize; local
1266 uint16_t psize; local
1296 uint16_t psize; local
1359 uint16_t psize; local
1445 uint16_t psize; local
1475 uint16_t psize; local
1533 uint16_t psize; local
1586 uint16_t psize; local
1619 uint16_t psize; local
1649 uint16_t psize; local
1678 uint16_t psize; local
1715 uint16_t psize; local
1746 uint16_t psize; local
1780 uint16_t psize; local
1868 uint16_t psize; local
1911 uint16_t psize; local
1944 uint16_t psize; local
1972 uint16_t psize; local
2003 cmalo_cmd_request(struct malo_softc *sc, uint16_t psize, int no_response) argument
2039 uint16_t psize; local
[all...]
/openbsd-current/include/
H A Ddb.h120 unsigned int psize; /* page size */ member in struct:__anon7458
149 unsigned int psize; /* page size */ member in struct:__anon7460
/openbsd-current/regress/lib/libc/db/
H A Drun.test159 for psize in 512 16384 65536; do
160 echo " page size $psize"
170 $PROG -i psize=$psize -o $TMP3 $type $TMP2
173 echo "test3: $type: page size $psize: failed"
185 for psize in 512 16384 65536; do
186 echo " page size $psize"
187 $PROG -i psize=$psize -o $TMP3 recno $TMP2
190 echo "test3: recno: page size $psize
[all...]
/openbsd-current/sys/arch/arm/arm/
H A Dstubs.c125 int psize; local
162 psize = (*bdev->d_psize)(dumpdev);
164 if (psize == -1) {
/openbsd-current/gnu/lib/libexecinfo/
H A Dbacktrace.c155 size_t psize = len * slen;
162 x = format_address(&ptr, &psize, offs, fmt, trace[i]);
170 assert(offs < psize);
/openbsd-current/sys/dev/i2c/
H A Dietp.c591 int psize, i; local
612 psize = sc->sc_ibuf[0] | sc->sc_ibuf[1] << 8;
613 if (psize <= 2 || psize > sc->sc_isize) {
615 sc->sc_dev.dv_xname, __func__, psize,
622 psize -= 2;
624 psize--;
628 for (i = 0; i < psize; i++) {
634 parse_input(sc, p, psize);
H A Dihidev.c628 int psize, res, i, fast = 0; local
656 psize = sc->sc_ibuf[0] | sc->sc_ibuf[1] << 8;
657 if (psize <= 2 || psize > sc->sc_isize) {
667 sc->sc_dev.dv_xname, __func__, psize,
674 psize -= 2;
676 rep = *p++, psize--;
690 for (i = 0; i < psize; i++) {
711 scd->sc_intr(scd, p, psize);
/openbsd-current/usr.sbin/ypserv/common/
H A Dypdb.c64 info.psize = 0;
89 info.psize = 0;
/openbsd-current/lib/libc/db/recno/
H A Drec_open.c73 btopeninfo.psize = openinfo->psize;
/openbsd-current/lib/libc/arch/i386/sys/
H A Dtfork_thread.S38 * __tfork_thread(param, psize, start_fnc, start_arg);
41 * psize: Other argument to pass to the actual kernel call.
61 pushl 12(%ebp) # push psize
/openbsd-current/usr.sbin/ldapd/
H A Dbtree.c92 #define PAGEFILL(bt, mp) (1000 * ((bt)->head.psize - PAGEHDRSZ - SIZELEFT(mp)) / \
93 ((bt)->head.psize - PAGEHDRSZ))
102 uint32_t psize; /* page size */ member in struct:bt_head
527 if ((copy->page = malloc(bt->head.psize)) == NULL) {
531 bcopy(mp->page, copy->page, bt->head.psize);
611 if ((rc = pread(bt->fd, page, bt->head.psize, (off_t)pgno*bt->head.psize)) == 0) {
615 } else if (rc != (ssize_t)bt->head.psize) {
769 size += bt->head.psize - (size % bt->head.psize);
843 unsigned int psize; local
[all...]
H A Dbtree.h72 unsigned int psize; member in struct:btree_stat
/openbsd-current/sys/arch/amd64/amd64/
H A Defifb.c83 psize_t psize; member in struct:efifb
187 if (bus_space_map(iot, fb->paddr, fb->psize,
336 if (off < 0 || off >= sc->sc_fb->psize)
372 fb->psize = bios_efiinfo->fb_height *
409 if (_bus_space_map(iot, fb->paddr, fb->psize,
513 efifb_console.psize = cb_fb->y_resolution * cb_fb->bytes_per_line;
585 return fb->psize;
/openbsd-current/usr.bin/vi/common/
H A Dexf.c124 size_t psize; local
216 psize = 1024;
226 psize = ((sb.st_size / 15) + 1023) / 1024;
227 if (psize > 10)
228 psize = 10;
229 if (psize == 0)
230 psize = 1;
231 psize *= 1024;
248 oinfo.psize = psize;
[all...]
/openbsd-current/sys/dev/fdt/
H A Dpciecam.c479 uint64_t physbase, pcibase, psize; local
485 psize = sc->sc_pciranges[i].size;
487 if (bpa >= pcibase && bpa + size <= pcibase + psize)
500 uint64_t physbase, pcibase, psize; local
506 psize = sc->sc_pciranges[i].size;
508 if (bpa >= pcibase && bpa < pcibase + psize)
/openbsd-current/sys/dev/sbus/
H A Dqec.c296 u_int32_t v, burst = 0, psize; local
319 psize = sc->sc_nchannels == 1 ? QEC_PSIZE_2048 : 0;
320 bus_space_write_4(t, qr, QEC_QRI_PSIZE, psize);
/openbsd-current/sys/dev/usb/
H A Dutvfu.h115 uint32_t psize; member in struct:utvfu_vs_iface
/openbsd-current/usr.sbin/installboot/
H A Defi_installboot.c402 u_int32_t psize; local
413 psize = letoh32(dp2->dp_size);
414 if (psize <= (dsize - GPTSECTOR) || psize == UINT32_MAX)

Completed in 478 milliseconds

1234