/freebsd-10.2-release/usr.bin/patch/ |
H A D | inp.c | 54 static size_t i_size; /* size of the input file */ variable 82 munmap(i_womp, i_size); 85 i_size = 0; 120 munmap(i_womp, i_size); 274 i_size = (size_t)filestat.st_size; 283 if (i_size) { 284 i_womp = mmap(NULL, i_size, PROT_READ, MAP_PRIVATE, ifd, 0); 296 if (i_size) 297 madvise(i_womp, i_size, MADV_SEQUENTIAL); 300 lines_allocated = i_size / 2 [all...] |
/freebsd-10.2-release/sys/fs/ext2fs/ |
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 | 57 in->i_uid, in->i_gid, (uintmax_t)in->i_size); 96 ip->i_size = ei->e2di_size; 98 ip->i_size |= ((u_int64_t)ei->e2di_size_high) << 32; 146 ei->e2di_size = ip->i_size; 148 ei->e2di_size_high = ip->i_size >> 32;
|
H A D | ext2_lookup.c | 144 if (uio->uio_offset >= ip->i_size) 146 else if (ip->i_size - uio->uio_offset < ncookies) 147 ncookies = ip->i_size - uio->uio_offset; 161 uio->uio_offset < ip->i_size) { 165 if (bp->b_offset + bp->b_bcount > ip->i_size) 166 readcnt = ip->i_size - bp->b_offset; 250 *ap->a_eofflag = ip->i_size <= uio->uio_offset; 365 i_diroff > dp->i_size) { 379 endsearch = roundup2(dp->i_size, DIRBLKSIZ); 512 dp->i_offset = roundup2(dp->i_size, DIRBLKSI [all...] |
H A D | ext2_inode.c | 139 oip->i_size < ovp->v_mount->mnt_maxsymlinklen) { 144 bzero((char *)&oip->i_shortlink, (u_int)oip->i_size); 145 oip->i_size = 0; 149 if (oip->i_size == length) { 154 osize = oip->i_size; 172 oip->i_size = length; 194 oip->i_size = length; 201 oip->i_size = length; 260 oip->i_size = osize; 320 oip->i_size [all...] |
H A D | inode.h | 97 uint64_t i_size; /* File byte count. */ member in struct:inode
|
H A D | ext2_vnops.c | 264 vnode_create_vobject(ap->a_vp, VTOI(ap->a_vp)->i_size, ap->a_td); 342 vap->va_size = ip->i_size; 1178 ip->i_size = DIRBLKSIZ; 1291 ip->i_size = len; 1312 isize = ip->i_size; 1655 if ((int)ip->i_size < vp->v_mount->mnt_maxsymlinklen) 1666 if (uio->uio_offset < ip->i_size && 1671 if ((bytesinfile = ip->i_size - uio->uio_offset) <= 0) 1684 if (lblktosize(fs, nextlbn) >= ip->i_size) 1687 error = cluster_read(vp, ip->i_size, lb [all...] |
/freebsd-10.2-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(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 | 241 lbn = lblkno(ip->i_fs, (ip->i_size + ip->i_fs->fs_bsize - 1)); 469 if ((int)ip->i_size < vp->v_mount->mnt_maxsymlinklen) 480 if (uio->uio_offset < ip->i_size && 485 if ((bytesinfile = ip->i_size - uio->uio_offset) <= 0) 516 if (lblktosize(fs, nextlbn) >= ip->i_size) { 530 error = cluster_read(vp, ip->i_size, lbn, 684 uio->uio_offset = ip->i_size; 685 if ((ip->i_flags & APPEND) && uio->uio_offset != ip->i_size) 713 osize = ip->i_size; 728 if (uio->uio_offset + xfersize > ip->i_size) [all...] |
H A D | ffs_rawread.c | 468 if (ip->i_size > uio->uio_offset) { 469 filebytes = ip->i_size - uio->uio_offset; 477 partialbytes = ((unsigned int) ip->i_size) %
|
/freebsd-10.2-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 | 105 u_int64_t i_size; /* File byte count. */ member in struct:inode
|
/freebsd-10.2-release/lib/libprocstat/ |
H A D | cd9660.c | 88 vn->vn_size = isonode.i_size;
|
/freebsd-10.2-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 | 176 vnode_create_vobject(vp, ip->i_size, ap->a_td); 206 vap->va_size = (u_quad_t) ip->i_size; 207 if (ip->i_size == 0 && (vap->va_mode & S_IFMT) == S_IFLNK) { 233 vap->va_bytes = (u_quad_t) ip->i_size; 321 diff = (off_t)ip->i_size - uio->uio_offset; 329 if (lblktosize(imp, rablock) < ip->i_size) 330 error = cluster_read(vp, (off_t)ip->i_size, 337 lblktosize(imp, rablock) < ip->i_size) { 519 endsearch = dp->i_size;
|
/freebsd-10.2-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) 249 ip->i_size - uio->uio_offset); 343 blk = malloc(ip->i_size, M_REISERFSNODE, M_WAITOK | M_ZERO); 358 * in the file. This can happen in odd cases where i_size 362 if ((le_ih_k_offset(ih) + path.pos_in_item) > ip->i_size) 365 if ((le_ih_k_offset(ih) - 1 + ih_item_len(ih)) > ip->i_size) { 366 chars = ip->i_size - (le_ih_k_offset(ih) - 1) - 387 * the right neighbor or rely on i_size 411 ret = uiomove(blk, ip->i_size, uio); 436 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-10.2-release/sys/fs/nandfs/ |
H A D | nandfs_dir.c | 61 uint64_t filesize = dir_node->nn_inode.i_size; 143 dir_node->nn_inode.i_size = filesize; 164 filesize = dir_node->nn_inode.i_size; 230 dir_node->nn_inode.i_size = filesize; 272 file_size = dir_node->nn_inode.i_size;
|
/freebsd-10.2-release/sys/amd64/amd64/ |
H A D | db_disasm.c | 110 short i_size; /* operand size */ member in struct:inst 1224 int i_size; local 1303 while (ip->i_size == ESC) { 1320 i_size = ip->i_size; 1340 i_size = ip->i_size; 1348 i_size = NONE; 1353 i_size = NONE; 1358 i_size [all...] |
/freebsd-10.2-release/usr.sbin/makefs/ffs/ |
H A D | ufs_inode.h | 51 uint64_t i_size; member in struct:inode
|
/freebsd-10.2-release/sys/i386/i386/ |
H A D | db_disasm.c | 95 short i_size; /* operand size */ member in struct:inst 1161 int i_size; local 1260 i_size = ip->i_size; 1280 i_size = ip->i_size; 1288 i_size = NONE; 1293 i_size = NONE; 1300 i_size = NONE; 1304 if (i_size [all...] |
/freebsd-10.2-release/lib/libstand/ |
H A D | nandfs.c | 461 if (fs->nf_offset >= fs->nf_opened_node->inode->i_size) 494 size = fs->nf_opened_node->inode->i_size; 529 sb->st_size = fs->nf_opened_node->inode->i_size; 546 if (fs->nf_offset >= fs->nf_opened_node->inode->i_size) { 593 if (*size_p > fs->nf_opened_node->inode->i_size - fs->nf_offset) 594 *size_p = fs->nf_opened_node->inode->i_size - fs->nf_offset; 716 link_len = node->inode->i_size;
|