• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/fs/ext2fs/

Lines Matching refs:i_offset

334 	doff_t i_offset;		/* cached i_offset value */
337 doff_t prevoff; /* prev entry dp->i_offset */
391 &bp, &entryoffsetinblock, &i_offset, &prevoff,
395 (i_offset & bmask));
398 i_offset = roundup2(dp->i_size, DIRBLKSIZ);
423 i_offset = 0;
426 i_offset = i_diroff;
427 if ((entryoffsetinblock = i_offset & bmask) &&
428 (error = ext2_blkatoff(vdp, (off_t)i_offset, NULL,
434 prevoff = i_offset;
439 while (i_offset < endsearch) {
445 error = ext2_blkatoff(vdp, (off_t)i_offset, NULL, &bp);
457 &entryoffsetinblock, &i_offset, &prevoff,
478 i_offset = 0;
503 * can be put in the range from dp->i_offset to
504 * dp->i_offset + dp->i_count.
507 dp->i_offset = roundup2(dp->i_size, DIRBLKSIZ);
509 enduseful = dp->i_offset;
511 dp->i_offset = ss.slotoffset;
551 ext2_dirbad(dp, i_offset, "i_size too small");
563 dp->i_diroff = rounddown2(i_offset, DIRBLKSIZ);
577 * Return pointer to current entry in dp->i_offset,
587 dp->i_offset = i_offset;
588 if ((dp->i_offset & (DIRBLKSIZ - 1)) == 0)
591 dp->i_count = dp->i_offset - prevoff;
632 dp->i_offset = i_offset;
889 if (dp->i_offset & (dirblksize - 1))
901 auio.uio_offset = dp->i_offset;
907 auio.uio_offset = dp->i_offset;
936 * (dp->i_offset, dp->i_count) indicate how the space for the new
974 dp->i_offset == DIRBLKSIZ) {
985 * space in the directory. Here, dp->i_offset will
1017 * for the new entry in the range dp->i_offset to
1018 * dp->i_offset + dp->i_count in the directory.
1031 if (dp->i_offset + dp->i_count > dp->i_size)
1032 dp->i_size = dp->i_offset + dp->i_count;
1036 if ((error = ext2_blkatoff(dvp, (off_t)dp->i_offset, &dirbuf,
1042 * arranged that compacting the region dp->i_offset to
1043 * dp->i_offset + dp->i_count would yield the
1095 * dp->i_offset contains the offset into the directory of the
1118 ext2_blkatoff(dvp, (off_t)dp->i_offset, (char **)&ep,
1130 if ((error = ext2_blkatoff(dvp, (off_t)(dp->i_offset - dp->i_count),
1163 if ((error = ext2_blkatoff(vdp, (off_t)dp->i_offset, (char **)&ep,