Home | History | Annotate | Download | only in ext2fs

Lines Matching defs:results

307 	struct ufs_lookup_results *results;
342 * Produce the auxiliary lookup results into i_crap. Increment
344 * stale results. This should not be done this way. XXX.
346 results = &dp->i_crap;
375 if (nameiop != LOOKUP || results->ulr_diroff == 0 ||
376 results->ulr_diroff >= ext2fs_size(dp)) {
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 +
514 results->ulr_reclen = fs2h16(ep->e2d_reclen);
518 prevoff = results->ulr_offset;
519 results
522 enduseful = results->ulr_offset;
531 results->ulr_offset = 0;
532 endsearch = results->ulr_diroff;
554 * then set results->ulr_count to 0 indicating
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);
562 results->ulr_count = 0;
563 enduseful = results->ulr_offset;
565 results->ulr_offset = slotoffset;
566 results->ulr_count = slotsize;
570 results->ulr_endoff = roundup(enduseful, dirblksiz);
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,
633 * is a previous entry in this block) in results->ulr_count.
636 if ((results->ulr_offset & (dirblksiz - 1)) == 0)
637 results->ulr_count = 0;
639 results->ulr_count = results->ulr_offset - prevoff;
1041 * the auxiliary results it provided. The entry