| /src/sys/ufs/ext2fs/ |
| ext2fs_dinode.h | 212 #define EXT2_DINODE_FITS(dinode, field, isize) (\ 213 (isize > EXT2_REV0_DINODE_SIZE) \ 240 #define EXT2_DINODE_TIME_GET(ts, dinode, field, isize) \ 242 EXT2_DINODE_FITS(dinode, field ## _extra, isize) \ 257 #define EXT2_DINODE_TIME_SET(ts, dinode, field, isize) \ 259 EXT2_DINODE_FITS(dinode, field ## _extra, isize) \ 276 # define e2fs_iload(old, new, isize) \ 277 memcpy((new),(old),(isize)) 278 # define e2fs_isave(old, new, isize) \ 279 memcpy((new),(old),(isize)) [all...] |
| ext2fs_bswap.c | 86 e2fs_i_bswap(struct ext2fs_dinode *old, struct ext2fs_dinode *new, size_t isize) 89 memcpy(new, old, isize); 117 if (isize == EXT2_REV0_DINODE_SIZE) 124 if (EXT2_DINODE_FITS(new, e2di_ctime_extra, isize)) 126 if (EXT2_DINODE_FITS(new, e2di_mtime_extra, isize)) 128 if (EXT2_DINODE_FITS(new, e2di_atime_extra, isize)) 130 if (EXT2_DINODE_FITS(new, e2di_crtime, isize)) 132 if (EXT2_DINODE_FITS(new, e2di_crtime_extra, isize)) 134 if (EXT2_DINODE_FITS(new, e2di_version_high, isize)) 136 if (EXT2_DINODE_FITS(new, e2di_projid, isize)) [all...] |
| ext2fs_vnops.c | 876 int isize; local in function:ext2fs_readlink 878 isize = ext2fs_size(ip); 879 if (isize < ump->um_maxsymlinklen || 881 uiomove(ip->i_din.e2fs_din->e2di_shortlink, isize, ap->a_uio);
|
| /src/sys/compat/common/ |
| kern_info_43.c | 175 int isize; local in function:compat_43_sys_getkerninfo 181 if ((error = copyin(SCARG(uap, size), &isize, sizeof(isize))) != 0) 184 if (isize < 0 || isize > 4096) 187 size = isize;
|
| /src/sys/opencrypto/ |
| deflate.c | 223 /* Followed by uint32_t CRC32 and uint32_t ISIZE */ 237 u_int32_t isize = 0, icrc = 0; local in function:gzip_global 281 memcpy(&isize, &data[size-sizeof(uint32_t)], sizeof(uint32_t)); 282 LE32TOH(isize); 286 DPRINTF("isize = %u (%02x %02x %02x %02x)\n", 287 isize, 293 buf[0].size = isize; 356 /* need room for header, CRC, and ISIZE */ 396 /* fill in CRC and ISIZE */ 409 if (crc != icrc || result != isize) { [all...] |
| /src/sys/arch/cats/cats/ |
| cats_machdep.c | 390 paddr_t istart, isize; local in function:initarm 400 &istart, &isize)) { 406 istart + isize - 1); 410 bp->bp_pages = atop(isize); 431 if ((istart + isize) < end) { 433 (istart + isize), end - 1); 436 bp->bp_start = atop(istart + isize); 437 bp->bp_pages = atop(end - (istart + isize));
|
| /src/sys/arch/netwinder/netwinder/ |
| netwinder_machdep.c | 743 paddr_t istart, isize; local in function:initarm 761 &istart, &isize)) { 768 istart + isize - 1); 771 atop(istart + isize), atop(istart), 772 atop(istart + isize), VM_FREELIST_ISADMA); 792 if ((istart + isize) < end) { 795 (istart + isize), end - 1); 797 uvm_page_physload(atop(istart + isize), 798 atop(end), atop(istart + isize),
|
| /src/sbin/fsck_ext2fs/ |
| inode.c | 252 iblock(struct inodesc *idesc, long ilevel, u_int64_t isize) 277 if (isize > sizepb * EXT2_NINDIR(&sblock)) 280 nif = howmany(isize, sizepb); 304 n = iblock(idesc, ilevel, isize); 310 if (idesc->id_type == DATA && isize > 0) { 318 inossize(dp, inosize(dp) - isize); 319 isize = 0; 329 isize -= sizepb;
|
| /src/sbin/fsck_lfs/ |
| inode.c | 231 iblock(struct inodesc *idesc, long ilevel, u_int64_t isize) 258 if (isize > sizepb * LFS_NINDIR(fs)) 261 nif = howmany(isize, sizepb); 289 n = iblock(idesc, ilevel, isize); 299 if (idesc->id_type == DATA && isize > 0) { 310 - isize); 311 isize = 0; 324 isize -= sizepb;
|
| /src/sys/ufs/ufs/ |
| ufs_inode.c | 328 off_t isize = ip->i_size; local in function:ufs_truncate_all 331 isize += ip->i_ffs2_extsize; 333 if (isize == 0)
|
| ufs_vnops.c | 1837 int isize; local in function:ufs_readlink 1845 isize = ip->i_size; 1846 if (isize < ump->um_maxsymlinklen || 1848 uiomove((char *)SHORTLINK(ip), isize, ap->a_uio);
|
| /src/sys/lib/libsa/ |
| ext2fs.c | 930 size_t isize) 933 memcpy(new, old, isize); 961 if (isize == EXT2_REV0_DINODE_SIZE) 968 if (EXT2_DINODE_FITS(new, e2di_ctime_extra, isize)) 970 if (EXT2_DINODE_FITS(new, e2di_mtime_extra, isize)) 972 if (EXT2_DINODE_FITS(new, e2di_atime_extra, isize)) 974 if (EXT2_DINODE_FITS(new, e2di_crtime, isize)) 976 if (EXT2_DINODE_FITS(new, e2di_crtime_extra, isize)) 978 if (EXT2_DINODE_FITS(new, e2di_version_high, isize)) 980 if (EXT2_DINODE_FITS(new, e2di_projid, isize)) [all...] |
| /src/usr.sbin/sysinst/ |
| label.c | 2076 char defstart[24], isize[24], maxpart, minspace, maxspace, local in function:getpartoff 2181 (defpartstart > 0) ? defstart : NULL, isize, sizeof isize); 2184 if (strcmp(defstart, isize) == 0) { 2189 if (isize[1] == '\0' && isize[0] >= 'a' && 2190 isize[0] <= maxpart) { 2191 partn = isize[0] - 'a'; 2200 } else if (isize[1] == '\0' && isize[0] >= minspace & 2241 char dsize[24], isize[24], max_size[24], maxpartc, valid_parts[4], local in function:getpartsize [all...] |
| /src/sys/dev/usb/ |
| ugen.c | 578 int dir, isize; local in function:ugenopen 640 isize = UGETW(edesc->wMaxPacketSize); 641 if (isize == 0) { /* shouldn't happen */ 645 sce->ibuf = kmem_alloc(isize, KM_SLEEP); 646 DPRINTFN(5, "intr endpt=%jd, isize=%jd", 647 endpt, isize, 0, 0); 649 kmem_free(sce->ibuf, isize); 657 sce->ibuf, isize, ugenintr, 661 kmem_free(sce->ibuf, isize); 687 isize = UGETW(edesc->wMaxPacketSize) 779 int isize = UGETW(sce->edesc->wMaxPacketSize); local in function:ugen_do_close 1379 int i, isize; local in function:ugen_isoc_rintr [all...] |
| uchcom.c | 349 int i, bin=-1, bout=-1, intr=-1, isize=0; local in function:find_endpoints 366 isize = UGETW(ed->wMaxPacketSize); 391 if (isize < UCHCOM_INTR_LEAST) { 396 DPRINTF(("%s: bulkin=%d, bulkout=%d, intr=%d, isize=%d\n", 397 device_xname(sc->sc_dev), bin, bout, intr, isize)); 400 endpoints->ep_intr_size = isize;
|
| /src/usr.sbin/mopd/common/ |
| file.c | 192 u_int32_t load_addr, xfr_addr, isd, iha, hbcnt, isize; local in function:GetMopFileInfo 207 isize = (header[isd+ISD_W_PAGCNT+1]*256 + 218 printf("Image Size: %08x\n",isize); 224 isize = (header[L_BLDZ+1]*256 + header[L_BLDZ]) * 64; 229 printf("Image Size: %08x\n",isize); 251 isize = (header[isd+ISD_W_PAGCNT+1]*256 + 261 printf("Image Size: %08x\n",isize); 274 isize = (header[isd+EISD_L_SECSIZE+3]*0x1000000 + 282 printf("Image Size: %08x\n",isize);
|
| /src/sys/arch/shark/ofw/ |
| ofw.c | 881 paddr_t istart, isize; local in function:ofw_configmem 897 &istart, &isize)) { 904 istart + isize - 1); 907 atop(istart + isize), atop(istart), 908 atop(istart + isize), VM_FREELIST_ISADMA); 928 if ((istart + isize) < end) { 931 (istart + isize), end - 1); 933 uvm_page_physload(atop(istart + isize), 934 atop(end), atop(istart + isize),
|
| /src/sbin/fsck_ffs/ |
| inode.c | 177 iblock(struct inodesc *idesc, long ilevel, u_int64_t isize) 198 if (howmany(isize, sizepb) > (size_t)FFS_NINDIR(sblock)) 201 nif = howmany(isize, sizepb); 239 n = iblock(idesc, ilevel, isize); 245 if (idesc->id_type == DATA && isize > 0) { 256 - isize)); 257 isize = 0; 267 isize -= sizepb;
|
| /src/sys/arch/arm/arm/ |
| cpufunc.c | 1395 u_int ctype, isize, dsize; local in function:get_cachetype_cp15 1459 isize = CPU_CT_ISIZE(ctype); 1460 multiplier = (isize & CPU_CT_xSIZE_M) ? 3 : 2; 1461 arm_pcache.icache_line_size = 1U << (CPU_CT_xSIZE_LEN(isize) + 3); 1462 if (CPU_CT_xSIZE_ASSOC(isize) == 0) { 1463 if (isize & CPU_CT_xSIZE_M) 1469 (CPU_CT_xSIZE_ASSOC(isize) - 1); 1472 if (CPU_CT_xSIZE_P & isize) 1474 __BIT(9 + CPU_CT_xSIZE_SIZE(isize) 1475 - CPU_CT_xSIZE_ASSOC(isize)) [all...] |
| /src/sys/dev/i2c/ |
| ihidev.c | 164 int isize; local in function:ihidev_attach 208 isize = repsz + 2; /* two bytes for the length */ 209 isize += (sc->sc_nrepid != 1); /* one byte for the report ID */ 210 if (isize > sc->sc_isize) 211 sc->sc_isize = isize;
|
| /src/sbin/newfs_ext2fs/ |
| mke2fs.c | 1058 uint64_t isize; local in function:init_resizeino 1128 isize = (uint64_t)sblock.e2fs_bsize * EXT2FS_NDADDR + 1132 if (isize > UINT32_MAX && 1141 node.e2di_size = isize & UINT32_MAX; 1142 node.e2di_size_high = isize >> 32;
|
| /src/sys/ufs/lfs/ |
| ulfs_vnops.c | 962 int isize; local in function:ulfs_readlink 972 isize = ip->i_size; 973 if (isize < fs->um_maxsymlinklen || 975 uiomove((char *)SHORTLINK(ip), isize, ap->a_uio);
|