Lines Matching refs:di_size
105 * dp->di_size is the size of the file in bytes.
121 sizeest = howmany(DIP(dp, di_size), TP_BSIZE);
124 if (DIP(dp, di_size) > sblock->fs_bsize * UFS_NDADDR) {
288 filesize = DIP(&di, di_size);
292 (long)sblksize(sblock, DIP(&di, di_size),
476 DIP_SET(dp, di_size, 0);
481 spcl.c_size = dp->dp1.di_size;
495 spcl.c_size = dp->dp2.di_size;
522 if (DIP(dp, di_size) > 0 &&
523 DIP(dp, di_size) < sblock->fs_maxsymlinklen) {
530 (u_long)DIP(dp, di_size));
533 (u_long)DIP(dp, di_size));
534 buf[DIP(dp, di_size)] = '\0';
543 if (DIP(dp, di_size) > 0)
561 if (DIP(dp, di_size) > UFS_NDADDR * sblock->fs_bsize) {
565 cnt = howmany(DIP(dp, di_size), sblock->fs_fsize);
572 if ((size = DIP(dp, di_size) - UFS_NDADDR * sblock->fs_bsize) <= 0)
683 resid = howmany(fragoff(sblock, dp->dp2.di_size),