Searched refs:iosize (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-11-stable/lib/libc/stdio/
H A Dsetvbuf.c54 size_t iosize; local
92 flags |= __swhatbuf(fp, &iosize, &ttyflag);
95 size = iosize;
106 if (size != iosize) {
107 size = iosize;
127 * SHOULD WE ALLOW MULTIPLES HERE (i.e., ok iff (size % iosize) == 0)?
129 if (size != iosize)
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dsetvbuf.c55 size_t iosize; local
105 flags |= sm_whatbuf(fp, &iosize, &ttyflag);
109 size = iosize;
123 if (size != iosize)
125 size = iosize;
146 ** SHOULD WE ALLOW MULTIPLES HERE (i.e., ok iff (size % iosize) == 0)?
149 if (size != iosize)
/freebsd-11-stable/sys/dev/eisa/
H A Deisaconf.h85 eisa_add_iospace(device_t dev, u_long iobase, u_long iosize, int flags) argument
87 return (EISA_ADD_IOSPACE(device_get_parent(dev), dev, iobase, iosize,
H A Deisaconf.c538 eisa_add_iospace_m(device_t eisa, device_t dev, u_long iobase, u_long iosize, argument
544 iosize, flags));
/freebsd-11-stable/sys/dev/ncv/
H A Dncr53c500_pccard.c145 rman_res_t ioaddr, iosize, maddr, msize; local
152 error = bus_get_resource(dev, SYS_RES_IOPORT, 0, &ioaddr, &iosize);
153 if (error || (iosize < (offset + NCVIOSZ))) {
160 ioaddr+offset, ioaddr+iosize-offset,
161 iosize-offset, RF_ACTIVE);
/freebsd-11-stable/sys/dev/buslogic/
H A Dbt_eisa.c192 u_long iosize; local
207 iosize = AMI_EISA_IOSIZE;
241 iosize = BT_EISA_IOSIZE;
278 eisa_add_iospace(dev, iobase, iosize, RESVADDR_NONE);
H A Dbt_mca.c163 u_int32_t iosize = 0; local
177 iosize = BT_MCA_IOPORT_SIZE;
187 mca_add_iospace(dev, iobase, iosize);
/freebsd-11-stable/sys/fs/fuse/
H A Dfuse_ipc.h374 size_t iosize; member in struct:fuse_dispatcher
382 fdisp_init(struct fuse_dispatcher *fdisp, size_t iosize) argument
384 DEBUGX(FUSE_DEBUG_IPC, "-> fdisp=%p, iosize=%zx\n", fdisp, iosize);
385 fdisp->iosize = iosize;
H A Dfuse_io.c288 fdi.iosize = sizeof(*fri);
303 FS_DEBUG2G("complete: got iosize=%d, requested fri.size=%zd; "
305 fri->size, fdi.iosize, uio->uio_resid,
308 if ((err = uiomove(fdi.answ, MIN(fri->size, fdi.iosize), uio)))
310 if (fdi.iosize < fri->size)
341 fdi.iosize = sizeof(*fwi) + chunksize;
H A Dfuse_vnops.c1328 err = uiomove(fdi.answ, fdi.iosize, uio);
2072 * answer of some sort. i.e. non-zero iosize and a valid pointer.
2074 if ((fdi.answ == NULL) || (fdi.iosize == 0)) {
2075 debug_printf("getxattr: err = 0, but answ = %p, iosize = %zu\n",
2076 fdi.answ, fdi.iosize);
2084 } else if (fdi.iosize > 0) {
2085 err = uiomove(fdi.answ, fdi.iosize, uio);
2287 if ((fdi.answ == NULL) || (fdi.iosize == 0)) {
2295 } else if (fdi.iosize > 0) {
2301 bsd_list = malloc(fdi.iosize, M_TEM
[all...]
H A Dfuse_internal.c273 fdi.iosize = sizeof(*fri);
286 fdi.iosize, cookediov))) {
457 fdip->iosize = bufsize + cnp->cn_namelen + 1;
H A Dfuse_ipc.c787 fdip->indata, fdip->iosize);
789 fuse_setup_ihead(fdip->finh, fdip->tick, nid, op, fdip->iosize, pid, cred);
877 fdip->iosize = fticket_resp(fdip->tick)->len;
/freebsd-11-stable/sys/dev/ie/
H A Dif_ievar.h46 unsigned iosize; member in struct:ie_softc
H A Dif_ie_isa.c481 (kvtop(sc->iomembot) + sc->iosize > 0xF0000)) {
490 decode = ((1 << (sc->iosize / 16384)) - 1) << pg;
511 bzero(sc->iomembot, sc->iosize);
/freebsd-11-stable/usr.sbin/dumpcis/
H A Dcardinfo.h147 int iosize; /* Length of I/O ports */ member in struct:dev_desc
/freebsd-11-stable/sys/dev/aha/
H A Daha_mca.c90 uint32_t iosize = 0; local
102 iosize = AHA_MCA_IOPORT_SIZE;
110 mca_add_iospace(dev, iobase, iosize);
/freebsd-11-stable/sys/dev/nsp/
H A Dnsp_pccard.c118 rman_res_t ioaddr, iosize, maddr, msize; local
121 error = bus_get_resource(dev, SYS_RES_IOPORT, 0, &ioaddr, &iosize);
122 if (error || iosize < NSP_IOSIZE)
/freebsd-11-stable/sys/kern/
H A Dvfs_default.c952 size_t iosize; local
967 iosize = vap->va_blocksize;
968 if (iosize == 0)
969 iosize = BLKDEV_IOSIZE;
970 if (iosize > MAXPHYS)
971 iosize = MAXPHYS;
972 buf = malloc(iosize, M_TEMP, M_WAITOK);
1016 cur = iosize;
1017 if ((offset % iosize) != 0)
1018 cur -= (offset % iosize);
[all...]
/freebsd-11-stable/sbin/fsck_msdosfs/
H A Ddir.c542 int fd, i, j, k, iosize, entries; local
576 iosize = boot->bpbRootDirEnts * 32;
579 iosize = boot->bpbSecPerClust * boot->bpbBytesPerSec;
580 entries = iosize / 32;
602 read(fd, buffer, iosize) != iosize) {
1004 || write(fd, buffer, iosize) != iosize) {
1024 || write(fd, buffer, iosize) != iosize) {
[all...]
/freebsd-11-stable/sys/sparc64/pci/
H A Dofw_pci.h151 int ofw_pci_attach_common(device_t dev, bus_dma_tag_t dmat, u_long iosize,
H A Dofw_pci.c61 ofw_pci_attach_common(device_t dev, bus_dma_tag_t dmat, u_long iosize, argument
79 rman_manage_region(&sc->sc_pci_io_rman, 0, iosize) != 0) {
/freebsd-11-stable/sys/dev/mca/
H A Dmca_bus.c223 mca_add_iospace (dev, iobase, iosize)
226 u_long iosize;
233 iobase, (iobase + iosize), iosize);
/freebsd-11-stable/sys/dev/le/
H A Dif_le_isa.c142 u_long iosize; member in struct:le_isa_param
213 leip->iosize, RF_ACTIVE);
285 le_isa_params[i].iosize, RF_ACTIVE);
/freebsd-11-stable/sys/dev/digi/
H A Ddigi_isa.c325 u_long msize, iosize; local
338 bus_get_resource(dev, SYS_RES_IOPORT, 0, &scport, &iosize);
346 &sc->res.iorid, iosize, RF_ACTIVE);
/freebsd-11-stable/sys/dev/pccard/
H A Dpccard.c620 bus_size_t iosize, tmp; local
637 for (iosize = 1; iosize < tmp; iosize <<= 1)
639 iosize--;
642 (uintmax_t)pf->pf_mfc_iobase, (uintmax_t)(iosize + 1)));
649 pccard_ccr_write(pf, PCCARD_CCR_IOSIZE, iosize);

Completed in 308 milliseconds

12