Lines Matching refs:ofs
25 void *dentry_blk, unsigned int *ofs, in erofs_fill_dentries() argument
28 struct erofs_dirent *de = dentry_blk + *ofs; in erofs_fill_dentries()
62 *ofs += sizeof(struct erofs_dirent); in erofs_fill_dentries()
64 *ofs = maxsize; in erofs_fill_dentries()
74 unsigned int ofs = ctx->pos % EROFS_BLKSIZ; in erofs_readdir() local
109 dirsize - ctx->pos + ofs, PAGE_SIZE); in erofs_readdir()
115 ofs = roundup(ofs, sizeof(struct erofs_dirent)); in erofs_readdir()
116 if (ofs >= nameoff) in erofs_readdir()
120 err = erofs_fill_dentries(dir, ctx, de, &ofs, in erofs_readdir()
127 ctx->pos = blknr_to_addr(i) + ofs; in erofs_readdir()
132 ofs = 0; in erofs_readdir()