Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:ulr_offset

378 		results->ulr_offset = 0;
381 results->ulr_offset = results->ulr_diroff;
382 if ((entryoffsetinblock = results->ulr_offset & bmask) &&
383 (error = ext2fs_blkatoff(vdp, (off_t)results->ulr_offset, NULL, &bp)))
388 prevoff = results->ulr_offset;
424 while (results->ulr_offset < endsearch) {
430 if ((results->ulr_offset & bmask) == 0) {
433 error = ext2fs_blkatoff(vdp, (off_t)results->ulr_offset,
463 ufs_dirbad(dp, results->ulr_offset, "mangled entry");
465 results->ulr_offset += i;
484 slotoffset = results->ulr_offset;
489 slotoffset = results->ulr_offset;
492 slotsize = results->ulr_offset +
518 prevoff = results->ulr_offset;
519 ulr_offset += fs2h16(ep->e2d_reclen);
522 enduseful = results->ulr_offset;
531 results->ulr_offset = 0;
557 * can be put in the range from results->ulr_offset to
558 * results->ulr_offset + results->ulr_count.
561 results->ulr_offset = roundup(ext2fs_size(dp), dirblksiz);
563 enduseful = results->ulr_offset;
565 results->ulr_offset = slotoffset;
603 if (results->ulr_offset + EXT2FS_DIRSIZ(ep->e2d_namlen) > ext2fs_size(dp)) {
604 ufs_dirbad(dp, results->ulr_offset, "i_size too small");
606 results->ulr_offset + EXT2FS_DIRSIZ(ep->e2d_namlen));
622 results->ulr_diroff = results->ulr_offset &~ (dirblksiz - 1);
631 * Return pointer to current entry in results->ulr_offset,
636 if ((results->ulr_offset & (dirblksiz - 1)) == 0)
639 results->ulr_count = results->ulr_offset - prevoff;
872 * (ulr_offset, ulr_count) indicate how the space for the new
916 * space in the directory. Here, ulr_offset will
920 if (ulr->ulr_offset & (dirblksiz - 1))
922 auio.uio_offset = ulr->ulr_offset;
974 * for the new entry in the range ulr_offset to
975 * ulr_offset + ulr_count in the directory.
984 if ((error = ext2fs_blkatoff(dvp, (off_t)ulr->ulr_offset, &dirbuf, &bp)) != 0)
989 * arranged that compacting the region ulr_offset to
990 * ulr_offset + ulr_count would yield the
1042 * ulr_offset contains the offset into the directory of the
1066 error = ext2fs_blkatoff(dvp, (off_t)ulr->ulr_offset,
1078 error = ext2fs_blkatoff(dvp, (off_t)(ulr->ulr_offset - ulr->ulr_count),
1102 error = ext2fs_blkatoff(vdp, (off_t)ulr->ulr_offset, (void *)&ep, &bp);