Lines Matching defs:block
26 efs_block_t block;
34 block = ctx->pos >> EFS_DIRBSIZE_BITS;
36 /* each block contains at most 256 slots */
40 while (block < inode->i_blocks) {
44 /* read the dir block */
45 bh = sb_bread(inode->i_sb, efs_bmap(inode, block));
48 pr_err("%s(): failed to read dir block %d\n",
49 __func__, block);
56 pr_err("%s(): invalid directory block\n", __func__);
75 pr_debug("%s(): block %d slot %d/%d: inode %u, name \"%s\", namelen %u\n",
76 __func__, block, slot, dirblock->slots-1,
81 ctx->pos = (block << EFS_DIRBSIZE_BITS) | slot;
85 pr_warn("directory entry %d exceeds directory block\n",
99 block++;
101 ctx->pos = (block << EFS_DIRBSIZE_BITS) | slot;