Lines Matching refs:blkoff
349 unsigned blkoff)
356 _enter("%u,%x,%p,,",(unsigned)ctx->pos,blkoff,block);
358 curr = (ctx->pos - blkoff) / sizeof(union afs_xdr_dirent);
361 for (offset = (blkoff == 0 ? AFS_DIR_RESV_BLOCKS0 : AFS_DIR_RESV_BLOCKS);
371 blkoff / sizeof(union afs_xdr_dir_block), offset);
373 ctx->pos = blkoff +
385 blkoff / sizeof(union afs_xdr_dir_block), offset,
395 blkoff / sizeof(union afs_xdr_dir_block),
403 blkoff / sizeof(union afs_xdr_dir_block),
409 blkoff / sizeof(union afs_xdr_dir_block),
417 ctx->pos = blkoff + next * sizeof(union afs_xdr_dirent);
439 ctx->pos = blkoff + next * sizeof(union afs_xdr_dirent);
457 unsigned blkoff, limit;
479 blkoff = ctx->pos & ~(sizeof(union afs_xdr_dir_block) - 1);
484 page = req->pages[blkoff / PAGE_SIZE];
491 limit = blkoff & ~(PAGE_SIZE - 1);
497 dblock = &dbuf->blocks[(blkoff % PAGE_SIZE) /
499 ret = afs_dir_iterate_block(dvnode, ctx, dblock, blkoff);
505 blkoff += sizeof(union afs_xdr_dir_block);
507 } while (ctx->pos < dir->i_size && blkoff < limit);