Lines Matching defs:pos
170 while (ctx->pos < inode->i_size) {
178 offset = ctx->pos & (sb->s_blocksize - 1);
179 map.m_lblk = ctx->pos >> EXT4_BLOCK_SIZE_BITS(sb);
187 ctx->pos += map.m_len * sb->s_blocksize;
209 if (ctx->pos > inode->i_blocks << 9)
211 ctx->pos += sb->s_blocksize - offset;
220 (unsigned long long)ctx->pos);
221 ctx->pos += sb->s_blocksize - offset;
250 ctx->pos = (ctx->pos & ~(sb->s_blocksize - 1))
255 while (ctx->pos < inode->i_size
264 ctx->pos = (ctx->pos |
299 ctx->pos += ext4_rec_len_from_disk(de->rec_len,
302 if ((ctx->pos < inode->i_size) && !dir_relax_shared(inode))
342 static inline __u32 pos2maj_hash(struct file *filp, loff_t pos)
346 return (pos << 1) & 0xffffffff;
348 return ((pos >> 32) << 1) & 0xffffffff;
351 static inline __u32 pos2min_hash(struct file *filp, loff_t pos)
357 return pos & 0xffffffff;
434 loff_t pos)
441 p->curr_hash = pos2maj_hash(filp, pos);
442 p->curr_minor_hash = pos2min_hash(filp, pos);
534 ctx->pos = hash2pos(file, fname->hash, fname->minor_hash);
556 info = ext4_htree_create_dir_info(file, ctx->pos);
562 if (ctx->pos == ext4_get_htree_eof(file))
566 if (info->last_pos != ctx->pos) {
570 info->curr_hash = pos2maj_hash(file, ctx->pos);
571 info->curr_minor_hash = pos2min_hash(file, ctx->pos);
603 ctx->pos = ext4_get_htree_eof(file);
623 ctx->pos = ext4_get_htree_eof(file);
631 info->last_pos = ctx->pos;