Lines Matching refs:ofs
24 void *dentry_blk, unsigned int *ofs, in erofs_fill_dentries() argument
27 struct erofs_dirent *de = dentry_blk + *ofs; in erofs_fill_dentries()
61 *ofs += sizeof(struct erofs_dirent); in erofs_fill_dentries()
63 *ofs = maxsize; in erofs_fill_dentries()
73 unsigned int ofs = ctx->pos % EROFS_BLKSIZ; in erofs_readdir() local
108 dirsize - ctx->pos + ofs, PAGE_SIZE); in erofs_readdir()
114 ofs = roundup(ofs, sizeof(struct erofs_dirent)); in erofs_readdir()
115 if (ofs >= nameoff) in erofs_readdir()
119 err = erofs_fill_dentries(dir, ctx, de, &ofs, in erofs_readdir()
126 ctx->pos = blknr_to_addr(i) + ofs; in erofs_readdir()
131 ofs = 0; in erofs_readdir()