/freebsd-9.3-release/gnu/usr.bin/patch/ |
H A D | inp.c | 21 static long i_size; /* Size of the input file */ variable 38 i_size = 0; 180 i_size = filestat.st_size; 190 * Lint says this may alloc less than i_size, 193 i_womp = malloc((MEM)(i_size + 2)); 200 if (read(ifd, i_womp, (int)i_size) != i_size) { 202 * This probably means i_size > 15 or 16 bits worth. At 211 if (i_size && i_womp[i_size [all...] |
/freebsd-9.3-release/sys/fs/ext2fs/ |
H A D | ext2_inode.c | 134 oip->i_size < ovp->v_mount->mnt_maxsymlinklen) { 139 bzero((char *)&oip->i_shortlink, (u_int)oip->i_size); 140 oip->i_size = 0; 144 if (oip->i_size == length) { 149 osize = oip->i_size; 167 oip->i_size = length; 189 oip->i_size = length; 196 oip->i_size = length; 245 oip->i_size = osize; 305 oip->i_size [all...] |
H A D | ext2_balloc.c | 95 if (nb != 0 && ip->i_size >= (lbn + 1) * fs->e2fs_bsize) { 109 osize = fragroundup(fs, blkoff(fs, ip->i_size)); 122 (int)ip->i_size, (int)nb); 131 if (ip->i_size < (lbn + 1) * fs->e2fs_bsize) 279 error = cluster_read(vp, ip->i_size, lbn,
|
H A D | ext2_inode_cnv.c | 56 in->i_uid, in->i_gid, (uintmax_t)in->i_size); 94 ip->i_size = ei->e2di_size; 96 ip->i_size |= ((u_int64_t)ei->e2di_size_high) << 32; 144 ei->e2di_size = ip->i_size; 146 ei->e2di_size_high = ip->i_size >> 32;
|
H A D | ext2_lookup.c | 154 if (uio->uio_offset >= ip->i_size) 156 else if (ip->i_size - uio->uio_offset < ncookies) 157 ncookies = ip->i_size - uio->uio_offset; 171 uio->uio_offset < ip->i_size) { 175 if (bp->b_offset + bp->b_bcount > ip->i_size) 176 readcnt = ip->i_size - bp->b_offset; 260 *ap->a_eofflag = ip->i_size <= uio->uio_offset; 376 i_offset = roundup2(dp->i_size, DIRBLKSIZ); 399 i_diroff > dp->i_size) { 413 endsearch = roundup2(dp->i_size, DIRBLKSI [all...] |
H A D | inode.h | 97 uint64_t i_size; /* File byte count. */ member in struct:inode
|
H A D | ext2_vnops.c | 259 vnode_create_vobject(ap->a_vp, VTOI(ap->a_vp)->i_size, ap->a_td); 337 vap->va_size = ip->i_size; 1181 ip->i_size = DIRBLKSIZ; 1295 ip->i_size = len; 1316 isize = ip->i_size; 1661 if ((int)ip->i_size < vp->v_mount->mnt_maxsymlinklen) 1672 if (uio->uio_offset < ip->i_size && 1677 if ((bytesinfile = ip->i_size - uio->uio_offset) <= 0) 1690 if (lblktosize(fs, nextlbn) >= ip->i_size) 1693 error = cluster_read(vp, ip->i_size, lb [all...] |
H A D | ext2_htree.c | 397 cursize = roundup(dp->i_size, blksize); 398 newsize = roundup(dp->i_size, blksize) + blksize; 410 dp->i_size = newsize; 773 cursize = roundup(ip->i_size, blksize); 774 dirsize = roundup(ip->i_size, blksize) + blksize; 863 cursize = roundup(ip->i_size, blksize); 864 dirsize = roundup(ip->i_size, blksize) + blksize;
|
/freebsd-9.3-release/sys/ufs/ffs/ |
H A D | ffs_inode.c | 276 (ip->i_size < vp->v_mount->mnt_maxsymlinklen || 282 bzero(SHORTLINK(ip), (u_int)ip->i_size); 283 ip->i_size = 0; 284 DIP_SET(ip, i_size, 0); 290 if (ip->i_size == length) { 301 osize = ip->i_size; 315 ip->i_size = length; 316 DIP_SET(ip, i_size, length); 366 ip->i_size = length; 367 DIP_SET(ip, i_size, lengt [all...] |
H A D | ffs_balloc.c | 135 lastlbn = lblkno(fs, ip->i_size); 151 ip->i_size = smalllblktosize(fs, nb + 1); 152 dp->di_size = ip->i_size; 168 if (nb != 0 && ip->i_size >= smalllblktosize(fs, lbn + 1)) { 182 osize = fragroundup(fs, blkoff(fs, ip->i_size)); 205 if (ip->i_size < smalllblktosize(fs, lbn + 1)) 433 error = cluster_read_gb(vp, ip->i_size, lbn, 693 lastlbn = lblkno(fs, ip->i_size); 710 ip->i_size = smalllblktosize(fs, nb + 1); 711 dp->di_size = ip->i_size; [all...] |
H A D | ffs_vnops.c | 240 lbn = lblkno(ip->i_fs, (ip->i_size + ip->i_fs->fs_bsize - 1)); 460 if ((int)ip->i_size < vp->v_mount->mnt_maxsymlinklen) 471 if (uio->uio_offset < ip->i_size && 476 if ((bytesinfile = ip->i_size - uio->uio_offset) <= 0) 507 if (lblktosize(fs, nextlbn) >= ip->i_size) { 521 error = cluster_read_gb(vp, ip->i_size, lbn, 675 uio->uio_offset = ip->i_size; 676 if ((ip->i_flags & APPEND) && uio->uio_offset != ip->i_size) 704 osize = ip->i_size; 719 if (uio->uio_offset + xfersize > ip->i_size) [all...] |
H A D | ffs_rawread.c | 469 if (ip->i_size > uio->uio_offset) { 470 filebytes = ip->i_size - uio->uio_offset; 478 partialbytes = ((unsigned int) ip->i_size) %
|
/freebsd-9.3-release/sys/ufs/ufs/ |
H A D | ufs_lookup.c | 259 vnode_create_vobject(vdp, DIP(dp, i_size), cnp->cn_thread); 301 enduseful = dp->i_size; 309 enduseful = dp->i_size; 322 i_offset = roundup2(dp->i_size, DIRBLKSIZ); 341 if (nameiop != LOOKUP || i_diroff == 0 || i_diroff >= dp->i_size) { 354 endsearch = roundup2(dp->i_size, DIRBLKSIZ); 458 enduseful = dp->i_size; 518 dp->i_offset = roundup2(dp->i_size, DIRBLKSIZ); 566 if (i_offset + DIRSIZ(OFSFMT(vdp), ep) > dp->i_size) { 567 ufs_dirbad(dp, i_offset, "i_size to [all...] |
H A D | inode.h | 103 u_int64_t i_size; /* File byte count. */ member in struct:inode
|
/freebsd-9.3-release/lib/libprocstat/ |
H A D | cd9660.c | 88 vn->vn_size = (u_long)isonode.i_size;
|
H A D | common_kvm.c | 104 vn->vn_size = (u_long)inode.i_size;
|
/freebsd-9.3-release/sys/fs/cd9660/ |
H A D | cd9660_bmap.c | 91 nblk = (ip->i_size >> bshift) - (lblkno + 1);
|
H A D | cd9660_node.h | 69 unsigned long i_size; member in struct:iso_node
|
H A D | cd9660_vnops.c | 177 vnode_create_vobject(vp, ip->i_size, ap->a_td); 207 vap->va_size = (u_quad_t) ip->i_size; 208 if (ip->i_size == 0 && (vap->va_mode & S_IFMT) == S_IFLNK) { 234 vap->va_bytes = (u_quad_t) ip->i_size; 322 diff = (off_t)ip->i_size - uio->uio_offset; 330 if (lblktosize(imp, rablock) < ip->i_size) 331 error = cluster_read(vp, (off_t)ip->i_size, 338 lblktosize(imp, rablock) < ip->i_size) { 520 endsearch = dp->i_size;
|
/freebsd-9.3-release/sys/gnu/fs/reiserfs/ |
H A D | reiserfs_fs_i.h | 63 uint64_t i_size; /* File byte count. */ member in struct:reiserfs_node
|
H A D | reiserfs_inode.c | 63 if ((bytesinfile = ip->i_size - uio->uio_offset) <= 0) 251 ip->i_size - uio->uio_offset); 345 blk = malloc(ip->i_size, M_REISERFSNODE, M_WAITOK | M_ZERO); 360 * in the file. This can happen in odd cases where i_size 364 if ((le_ih_k_offset(ih) + path.pos_in_item) > ip->i_size) 367 if ((le_ih_k_offset(ih) - 1 + ih_item_len(ih)) > ip->i_size) { 368 chars = ip->i_size - (le_ih_k_offset(ih) - 1) - 389 * the right neighbor or rely on i_size 413 ret = uiomove(blk, ip->i_size, uio); 438 bytes = ((ip->i_size [all...] |
H A D | reiserfs_vnops.c | 108 vap->va_size = ip->i_size; 159 vnode_create_vobject(ap->a_vp, VTOI(ap->a_vp)->i_size, ap->a_td); 329 aiov.iov_len = MIN(bp->b_bcount, ip->i_size);
|
/freebsd-9.3-release/sys/amd64/amd64/ |
H A D | db_disasm.c | 110 short i_size; /* operand size */ member in struct:inst 1204 int i_size; local 1283 while (ip->i_size == ESC) { 1300 i_size = ip->i_size; 1320 i_size = ip->i_size; 1328 i_size = NONE; 1333 i_size = NONE; 1338 i_size [all...] |
/freebsd-9.3-release/usr.sbin/makefs/ffs/ |
H A D | ufs_inode.h | 51 uint64_t i_size; member in struct:inode
|
/freebsd-9.3-release/sys/i386/i386/ |
H A D | db_disasm.c | 95 short i_size; /* operand size */ member in struct:inst 1141 int i_size; local 1240 i_size = ip->i_size; 1260 i_size = ip->i_size; 1268 i_size = NONE; 1273 i_size = NONE; 1280 i_size = NONE; 1284 if (i_size [all...] |