| /openbsd-src/sys/arch/powerpc64/powerpc64/ |
| H A D | cpu.c | 148 uint32_t isize, iways; in cpu_attach() 152 isize = OF_getpropint(node, "i-cache-size", 0) / 1024; in cpu_attach() 158 if (isize > 4096 && dsize > 4096) { in cpu_attach() 160 isize /= 1024; in cpu_attach() 168 isize, unit, iline, iways, level); in cpu_attach() 171 isize, unit, iline, iways, level); in cpu_attach() 150 uint32_t isize, iways; cpu_attach() local
|
| /openbsd-src/sbin/fsirand/ |
| H A D | fsirand.c | 99 size_t ibufsize, isize; in fsirand() local 217 isize = sizeof(struct ufs1_dinode); in fsirand() 219 isize = sizeof(struct ufs2_dinode); in fsirand() 221 if ((ib = reallocarray(inodebuf, sblock->fs_ipg, isize)) == NULL) in fsirand() 224 ibufsize = sblock->fs_ipg * isize; in fsirand()
|
| /openbsd-src/sys/dev/usb/ |
| H A D | ugen.c | 264 int dir, isize; in ugenopen() local 321 isize = UGETW(edesc->wMaxPacketSize); in ugenopen() 322 if (isize == 0) /* shouldn't happen */ in ugenopen() 324 sce->ibuflen = isize; in ugenopen() 326 DPRINTFN(5, ("ugenopen: intr endpt=%d,isize=%d\n", in ugenopen() 327 endpt, isize)); in ugenopen() 332 sce->ibuf, isize, ugenintr, in ugenopen() 354 isize = UGETW(edesc->wMaxPacketSize); in ugenopen() 355 if (isize == 0) /* shouldn't happen */ in ugenopen() 357 sce->ibuflen = isize * UGEN_NISOFRAME in ugenopen() 849 int i, isize; ugen_isoc_rintr() local [all...] |
| H A D | uchcom.c | 347 int i, bin=-1, bout=-1, intr=-1, binsize=0, isize=0; 376 isize = UGETW(ed->wMaxPacketSize); in uchcom_find_endpoints() 426 if (isize < UCHCOM_INTR_LEAST) { in uchcom_find_endpoints() 431 DPRINTF(("%s: bulkin=%d, bulkout=%d, intr=%d, isize=%d\n", in uchcom_find_endpoints() 432 sc->sc_dev.dv_xname, bin, bout, intr, isize)); in uchcom_find_endpoints() 437 endpoints->ep_intr_size = isize; in uchcom_find_endpoints() 351 int i, bin=-1, bout=-1, intr=-1, binsize=0, isize=0; uchcom_find_endpoints() local
|
| H A D | ucc.c | 97 .isize = sc->sc_hdev.sc_isize, in ucc_attach()
|
| H A D | if_otus.c | 455 int i, isize, error; in otus_open_pipes() local 471 isize = UGETW(ed->wMaxPacketSize); in otus_open_pipes() 472 if (isize == 0) { in otus_open_pipes() 477 sc->ibuf = malloc(isize, M_USBDEV, M_NOWAIT); in otus_open_pipes() 483 sc->ibuflen = isize; in otus_open_pipes() 485 USBD_SHORT_XFER_OK, &sc->cmd_rx_pipe, sc, sc->ibuf, isize, in otus_open_pipes()
|
| H A D | if_athn_usb.c | 378 int isize, error; in athn_usb_open_pipes() local 402 isize = UGETW(ed->wMaxPacketSize); in athn_usb_open_pipes() 403 if (isize == 0) { in athn_usb_open_pipes() 408 usc->ibuf = malloc(isize, M_USBDEV, M_NOWAIT); in athn_usb_open_pipes() 414 usc->ibuflen = isize; in athn_usb_open_pipes() 416 USBD_SHORT_XFER_OK, &usc->rx_intr_pipe, usc, usc->ibuf, isize, in athn_usb_open_pipes()
|
| H A D | if_zyd.c | 453 int isize; in zyd_open_pipes() local 461 isize = UGETW(edesc->wMaxPacketSize); in zyd_open_pipes() 462 if (isize == 0) /* should not happen */ in zyd_open_pipes() 465 sc->ibuf = malloc(isize, M_USBDEV, M_NOWAIT); in zyd_open_pipes() 468 sc->ibuflen = isize; in zyd_open_pipes() 470 &sc->zyd_ep[ZYD_ENDPT_IIN], sc, sc->ibuf, isize, zyd_intr, in zyd_open_pipes()
|
| /openbsd-src/sbin/fsck_ffs/ |
| H A D | inode.c | 151 iblock(struct inodesc *idesc, long ilevel, off_t isize) in iblock() argument 166 if (isize < 0 || chkrange(idesc->id_blkno, idesc->id_numfrags)) in iblock() 172 if (howmany(isize, sizepb) > NINDIR(&sblock)) in iblock() 175 nif = howmany(isize, sizepb); in iblock() 198 n = iblock(idesc, ilevel, isize); in iblock() 204 if (idesc->id_type == DATA && isize > 0) { in iblock() 213 DIP(dp, di_size) - isize); in iblock() 214 isize = 0; in iblock() 224 isize -= sizepb; in iblock()
|
| /openbsd-src/sbin/fsck_ext2fs/ |
| H A D | inode.c | 200 iblock(struct inodesc *idesc, long ilevel, u_int64_t isize) in iblock() argument 223 if (isize > sizepb * NINDIR(&sblock)) in iblock() 226 nif = howmany(isize, sizepb); in iblock() 250 n = iblock(idesc, ilevel, isize); in iblock() 256 if (idesc->id_type == DATA && isize > 0) { in iblock() 264 inossize(dp, inosize(dp) - isize); in iblock() 265 isize = 0; in iblock() 275 isize -= sizepb; in iblock()
|
| /openbsd-src/sys/arch/riscv64/riscv64/ |
| H A D | cpu.c | 273 uint32_t size, isize, dsize; in cpu_attach() local 281 isize = OF_getpropint(node, "i-cache-size", size) / 1024; in cpu_attach() 287 if (isize == 0 && dsize == 0) in cpu_attach() 291 if (isize > 4096 && dsize > 4096) { in cpu_attach() 293 isize /= 1024; in cpu_attach() 301 isize, unit, iline, iways, level); in cpu_attach() 304 isize, unit, iline, iways, level); in cpu_attach()
|
| /openbsd-src/usr.sbin/mopd/common/ |
| H A D | file.c | 228 u_int32_t load_addr, xfr_addr, isd, iha, hbcnt, isize; in GetMopFileInfo() local 243 isize = (header[isd+ISD_W_PAGCNT+1]*256 + in GetMopFileInfo() 255 printf("Image Size: %08x\n",isize); in GetMopFileInfo() 262 isize = (header[L_BLDZ+1]*256 + header[L_BLDZ]) * 64; in GetMopFileInfo() 268 printf("Image Size: %08x\n",isize); in GetMopFileInfo() 297 isize = (header[isd+ISD_W_PAGCNT+1]*256 + in GetMopFileInfo() 308 printf("Image Size: %08x\n",isize); in GetMopFileInfo() 322 isize = (header[isd+EISD_L_SECSIZE+3]*0x1000000 + in GetMopFileInfo() 331 printf("Image Size: %08x\n",isize); in GetMopFileInfo()
|
| /openbsd-src/sys/dev/hid/ |
| H A D | hidccvar.h | 28 int isize; member
|
| H A D | hidcc.c | 656 hca->isize); in hidcc_attach() 827 hidcc_parse(struct hidcc *sc, void *desc, int descsiz, int repid, int isize) in hidcc_parse() argument 842 nbits = isize * 8; in hidcc_parse() 847 sc->sc_input.i_bufsiz = isize; in hidcc_parse()
|
| /openbsd-src/gnu/usr.bin/binutils/bfd/ |
| H A D | elf32-m68hc11.c | 575 unsigned isize; in m68hc11_relax_group() local 595 isize = 3; in m68hc11_relax_group() 601 isize = 4; in m68hc11_relax_group() 607 isize = 4; in m68hc11_relax_group() 613 isize = 3; in m68hc11_relax_group() 639 offset = start_offset + isize; in m68hc11_relax_group()
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/bfd/ |
| H A D | elf32-m68hc11.c | 576 unsigned isize; in m68hc11_relax_group() local 596 isize = 3; in m68hc11_relax_group() 602 isize = 4; in m68hc11_relax_group() 608 isize = 4; in m68hc11_relax_group() 614 isize = 3; in m68hc11_relax_group() 640 offset = start_offset + isize; in m68hc11_relax_group()
|
| /openbsd-src/gnu/gcc/gcc/ |
| H A D | cfgexpand.c | 463 HOST_WIDE_INT isize = stack_vars[i].size; in partition_stack_vars() local 477 if (isize < jsize) in partition_stack_vars() 490 if (isize - (toff - offset) < jsize) in partition_stack_vars() 493 isize -= toff - offset; in partition_stack_vars() 500 isize -= jsize; in partition_stack_vars() 501 if (isize == 0) in partition_stack_vars()
|
| H A D | df-scan.c | 1166 unsigned int isize, osize; in df_read_modify_subreg_p() local 1169 isize = GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))); in df_read_modify_subreg_p() 1171 return (isize > osize && isize > UNITS_PER_WORD); in df_read_modify_subreg_p()
|
| /openbsd-src/sys/dev/pci/ |
| H A D | if_oce.c | 169 int isize; member 213 int isize; member 425 int isize, int eventable, int nodelay, int ncoalesce); 436 oce_create_ring(struct oce_softc *, int nitems, int isize, int maxseg); 2195 eq->isize = EQE_SIZE_4; /* size of a queue item */ in oce_create_eq() 2348 oce_create_cq(struct oce_softc *sc, struct oce_eq *eq, int nitems, int isize, in oce_create_cq() argument 2357 cq->ring = oce_create_ring(sc, nitems, isize, 4); in oce_create_cq() 2507 oce_create_ring(struct oce_softc *sc, int nitems, int isize, int maxsegs) in oce_create_ring() argument 2511 bus_size_t size = nitems * isize; in oce_create_ring() 2521 ring->isize = isize; in oce_create_ring() [all …]
|
| /openbsd-src/sys/dev/i2c/ |
| H A D | icc.c | 97 .isize = sc->sc_hdev.sc_isize, in icc_attach()
|
| /openbsd-src/sbin/newfs_ext2fs/ |
| H A D | mke2fs.c | 1032 uint64_t isize; in init_resizeino() local 1102 isize = (uint64_t)sblock.e2fs_bsize * NDADDR + in init_resizeino() 1105 if (isize > UINT32_MAX && in init_resizeino() 1114 node.e2di_size = isize & UINT32_MAX; in init_resizeino() 1115 node.e2di_size_hi = isize >> 32; in init_resizeino()
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/ |
| H A D | tc-mcore.c | 863 unsigned isize; in md_assemble() local 896 isize = 2; in md_assemble() 1465 isize = C32_LEN; in md_assemble() 1476 isize = U32_LEN; in md_assemble() 1605 check_literals (opcode->transfer, isize); in md_assemble()
|
| /openbsd-src/gnu/usr.bin/binutils/gas/config/ |
| H A D | tc-mcore.c | 917 unsigned isize; local 950 isize = 2; 1516 isize = C32_LEN; 1527 isize = U32_LEN; 1655 check_literals (opcode->transfer, isize);
|
| /openbsd-src/sys/ufs/ext2fs/ |
| H A D | ext2fs_vnops.c | 1091 u_int64_t isize; in ext2fs_readlink() local 1093 isize = ext2fs_size(ip); in ext2fs_readlink() 1094 if (isize < EXT2_MAXSYMLINKLEN) { in ext2fs_readlink() 1095 return (uiomove((char *)ip->i_e2din->e2di_shortlink, isize, in ext2fs_readlink()
|
| /openbsd-src/sys/ufs/ufs/ |
| H A D | ufs_vnops.c | 1431 u_int64_t isize; in ufs_readlink() 1433 isize = DIP(ip, size); 1434 if (isize < ip->i_ump->um_maxsymlinklen) 1435 return (uiomove((char *)SHORTLINK(ip), isize, ap->a_uio)); 1426 u_int64_t isize; ufs_readlink() local
|