Lines Matching refs:slot
30 int slot, namelen;
40 slot = filp->f_pos & 0xff;
60 while (slot < dirblock->slots) {
61 if (dirblock->space[slot] == 0) {
62 slot++;
66 dirslot = (struct efs_dentry *) (((char *) bh->b_data) + EFS_SLOTAT(dirblock, slot));
73 printk(KERN_DEBUG "EFS: readdir(): block %d slot %d/%d: inode %u, name \"%s\", namelen %u\n", block, slot, dirblock->slots-1, inodenum, nameptr, namelen);
77 filp->f_pos = (block << EFS_DIRBSIZE_BITS) | slot;
84 printk(KERN_WARNING "EFS: directory entry %d exceeds directory block\n", slot);
85 slot++;
89 /* store position of next slot */
90 if (++slot == dirblock->slots) {
91 slot = 0;
95 filp->f_pos = (block << EFS_DIRBSIZE_BITS) | slot;
98 slot++;
102 slot = 0;
106 filp->f_pos = (block << EFS_DIRBSIZE_BITS) | slot;