Home
last modified time | relevance | path

Searched refs:dirblock (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/efs/
H A Ddir.c41 struct efs_dir *dirblock; in efs_readdir() local
53 dirblock = (struct efs_dir *) bh->b_data; in efs_readdir()
55 if (be16_to_cpu(dirblock->magic) != EFS_DIRBLK_MAGIC) { in efs_readdir()
61 for (; slot < dirblock->slots; slot++) { in efs_readdir()
67 if (dirblock->space[slot] == 0) in efs_readdir()
70 dirslot = (struct efs_dentry *) (((char *) bh->b_data) + EFS_SLOTAT(dirblock, slot)); in efs_readdir()
76 __func__, block, slot, dirblock->slots-1, in efs_readdir()
84 if (nameptr - (char *) dirblock + namelen > EFS_DIRBSIZE) { in efs_readdir()
H A Dnamei.c22 struct efs_dir *dirblock; in efs_find_entry() local
40 dirblock = (struct efs_dir *) bh->b_data; in efs_find_entry()
42 if (be16_to_cpu(dirblock->magic) != EFS_DIRBLK_MAGIC) { in efs_find_entry()
48 for (slot = 0; slot < dirblock->slots; slot++) { in efs_find_entry()
49 dirslot = (struct efs_dentry *) (((char *) bh->b_data) + EFS_SLOTAT(dirblock, slot)); in efs_find_entry()
/openbmc/linux/drivers/mtd/parsers/
H A Dredboot.c49 u32 dirblock; in parse_redboot_of() local
60 ret = of_property_read_u32(npart, "fis-index-block", &dirblock); in parse_redboot_of()
69 directory = dirblock; in parse_redboot_of()