Lines Matching refs:cpos
63 static int exfat_readdir(struct inode *inode, loff_t *cpos, struct exfat_dir_entry *dir_entry) in exfat_readdir() argument
74 unsigned int dentry = EXFAT_B_TO_DEN(*cpos) & 0xFFFFFFFF; in exfat_readdir()
170 *cpos = EXFAT_DEN_TO_B(dentry + 1 + num_ext); in exfat_readdir()
186 *cpos = EXFAT_DEN_TO_B(dentry); in exfat_readdir()
225 loff_t cpos, i_pos; in exfat_iterate() local
231 cpos = ctx->pos; in exfat_iterate()
236 cpos = 0; in exfat_iterate()
240 if (cpos & (DENTRY_SIZE - 1)) { in exfat_iterate()
250 if (ei->flags == ALLOC_NO_FAT_CHAIN && cpos >= i_size_read(inode)) in exfat_iterate()
253 err = exfat_readdir(inode, &cpos, &de); in exfat_iterate()
260 cpos += 1 << (sb->s_blocksize_bits); in exfat_iterate()
261 cpos &= ~(sb->s_blocksize - 1); in exfat_iterate()
290 ctx->pos = cpos; in exfat_iterate()
294 if (!cpos && fake_offset) in exfat_iterate()
295 cpos = ITER_POS_FILLED_DOTS; in exfat_iterate()
296 ctx->pos = cpos; in exfat_iterate()