Lines Matching refs:base
373 unsigned int blknum, base, hdr, pos, next, nr_slots; in afs_dir_iterate_block() local
378 base = blknum * AFS_DIR_SLOTS_PER_BLOCK; in afs_dir_iterate_block()
380 pos = DIV_ROUND_UP(ctx->pos, AFS_DIR_DIRENT_SIZE) - base; in afs_dir_iterate_block()
389 _debug("ENT[%x]: Unused", base + slot); in afs_dir_iterate_block()
392 ctx->pos = (base + next) * sizeof(union afs_xdr_dirent); in afs_dir_iterate_block()
402 base + slot, nlen); in afs_dir_iterate_block()
407 base + slot, (slot < pos ? "skip" : "fill"), in afs_dir_iterate_block()
414 base + slot, nlen); in afs_dir_iterate_block()
424 base + slot, tmp, nr_slots); in afs_dir_iterate_block()
432 ctx->pos = (base + next) * sizeof(union afs_xdr_dirent); in afs_dir_iterate_block()
446 ctx->pos = (base + next) * sizeof(union afs_xdr_dirent); in afs_dir_iterate_block()