Searched refs:i_size (Results 1 - 15 of 15) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/ |
H A D | ufs_readwrite.c | 117 if ((int)ip->i_size < vp->v_mount->mnt_maxsymlinklen) 118 panic("ffs_read: short symlink = %d", ip->i_size); 129 error = cluster_read(vp, uio, (off_t)ip->i_size, ioflag); 135 if ((bytesinfile = ip->i_size - uio->uio_offset) <= 0) 148 if (lblktosize(fs, nextlbn) >= ip->i_size) 195 uio->uio_offset == ip->i_size)) 257 uio->uio_offset = ip->i_size; 258 if ((ip->i_flags & APPEND) && uio->uio_offset != ip->i_size) 290 osize = ip->i_size; 309 if (endofwrite > ip->i_size) { [all...] |
H A D | ufs_lookup.c | 230 dp->i_diroff > dp->i_size) { 243 endsearch = roundup(dp->i_size, DIRBLKSIZ); 346 enduseful = dp->i_size; 405 dp->i_offset = roundup(dp->i_size, DIRBLKSIZ); 451 if (entryoffsetinblock + DIRSIZ(FSFMT(vdp), ep) > dp->i_size) { 452 ufs_dirbad(dp, dp->i_offset, "i_size too small"); 453 dp->i_size = entryoffsetinblock + DIRSIZ(FSFMT(vdp), ep); 709 dp->i_size = roundup(dp->i_size, DIRBLKSIZ); 731 if (dp->i_offset + dp->i_count > dp->i_size) [all...] |
H A D | inode.h | 140 #define i_size i_din.di_size macro
|
H A D | ufs_byte_order.c | 259 ip->i_size = OSSwapInt64(di->di_size); 266 if (((ip->i_mode & IFMT) == IFLNK ) && (ip->i_size <= RESYMLNKLEN)) { 290 inosize = ip->i_size; 296 di->di_size = OSSwapInt64(ip->i_size);
|
H A D | ufs_vnops.c | 503 if ((u_int64_t)ra->ra_offset >= ip->i_size) { 508 error = advisory_read(vp, ip->i_size, ra->ra_offset, ra->ra_count); 1190 ip->i_size = DIRBLKSIZ; 1334 ip->i_size = len; 1432 *ap->a_eofflag = (off_t)VTOI(ap->a_vp)->i_size <= uio->uio_offset; 1554 *eofflag = (off_t)VTOI(vp)->i_size <= uio->uio_offset; 1574 isize = ip->i_size; 1867 amount = ip->i_size - kn->kn_fp->f_fglob->fg_offset;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/ |
H A D | cd9660_bmap.c | 152 if (ip->i_size > offset) 153 cbytes = ip->i_size - offset;
|
H A D | cd9660_node.h | 114 /* <ufs/inode.h> defines i_size as a macro */ 115 #undef i_size macro 133 long i_size; member in struct:iso_node
|
H A D | cd9660_vnops.c | 152 VATTR_RETURN(vap, va_data_size, (off_t)ip->i_size); 153 if (ip->i_size == 0 && (vap->va_mode & S_IFMT) == S_IFLNK) { 175 VATTR_RETURN(vap, va_total_size, ip->i_size + ip->i_rsrcsize); 222 header.entries[1].length = ip->i_size - ADH_SIZE; 249 error = cluster_read(vp, uio, (off_t)ip->i_size, ap->a_ioflag); 257 diff = (off_t)ip->i_size - uio->uio_offset; 266 lblktosize(imp, rablock) < ip->i_size) { 282 uio->uio_offset == (off_t)ip->i_size) 445 endsearch = dp->i_size; 500 dp->i_size [all...] |
H A D | cd9660_util.c | 344 while (diroffset < dp->i_size) { 380 if ((diroffset == 0) && (isonum_733(ep->size) > dp->i_size)) { 381 dp->i_size = isonum_733(ep->size);
|
H A D | cd9660_lookup.c | 217 dp->i_diroff > dp->i_size) { 230 endsearch = dp->i_size;
|
H A D | cd9660_vfsops.c | 333 isomp->video_dir_end = ip->iso_start + (ip->i_size >> isomp->im_bshift); 1218 ip->i_size = isonum_733(isodir->size); 1224 ip->i_size += ADH_SIZE; 1355 vfsp.vnfs_filesize = ip->i_size;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/ |
H A D | ffs_balloc.c | 137 nb = lblkno(fs, ip->i_size); 160 ip->i_size = (nb + 1) * fs->fs_bsize; 161 ubc_setsize(vp, (off_t)ip->i_size); 180 if (nb != 0 && ip->i_size >= (lbn + 1) * fs->fs_bsize) { 195 osize = fragroundup(fs, blkoff(fs, ip->i_size)); 222 ip->i_size = (lbn * fs->fs_bsize) + size; 223 ubc_setsize(vp, (off_t)ip->i_size); 237 if (ip->i_size < (lbn + 1) * fs->fs_bsize) 459 * growing the file in pageouts. So ip->i_size cannot increase by this call 497 nb = lblkno(fs, ip->i_size); [all...] |
H A D | ffs_inode.c | 210 oip->i_size < ovp->v_mount->mnt_maxsymlinklen) { 215 bzero((char *)&oip->i_shortlink, (u_int)oip->i_size); 216 oip->i_size = 0; 221 if (oip->i_size == length) { 229 osize = oip->i_size; 244 oip->i_size = length; 277 oip->i_size = length; 285 oip->i_size = length; 338 oip->i_size = osize; 400 oip->i_size [all...] |
H A D | fs.h | 529 (((lbn) >= NDADDR || (ip)->i_size >= ((lbn) + 1) << (fs)->fs_bshift) \ 531 : (fragroundup(fs, blkoff(fs, (ip)->i_size))))
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | db_disasm.c | 257 short i_size; /* operand size */ member in struct:inst 1248 int i_size; local 1348 i_size = ip->i_size; 1370 i_size = ip->i_size; 1373 if (i_size == SDEP) { 1381 if (i_size != NONE) { 1382 if (i_size == BYTE) { 1386 else if (i_size [all...] |
Completed in 157 milliseconds