Home
last modified time | relevance | path

Searched refs:root_offset (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/mtd/parsers/
Dar7part.c39 unsigned int root_offset = ROOT_OFFSET; in create_mtd_partitions() local
84 root_offset = offset + sizeof(header) + 4; in create_mtd_partitions()
92 root_offset = offset + sizeof(header) + 4 + 0xff; in create_mtd_partitions()
93 root_offset &= ~(uint32_t)0xff; in create_mtd_partitions()
100 mtd_read(master, root_offset, sizeof(header), &len, (u8 *)&header); in create_mtd_partitions()
102 root_offset += master->erasesize - 1; in create_mtd_partitions()
103 root_offset &= ~(master->erasesize - 1); in create_mtd_partitions()
112 ar7_parts[3].offset = root_offset; in create_mtd_partitions()
113 ar7_parts[3].size = master->size - root_offset - post_size; in create_mtd_partitions()
/linux-6.6.21/fs/cramfs/
Dinode.c514 unsigned long root_offset; in cramfs_read_super() local
563 root_offset = super->root.offset << 2; in cramfs_read_super()
575 if (root_offset == 0) in cramfs_read_super()
578 ((root_offset != sizeof(struct cramfs_super)) && in cramfs_read_super()
579 (root_offset != 512 + sizeof(struct cramfs_super)))) in cramfs_read_super()
581 errorfc(fc, "bad root offset %lu", root_offset); in cramfs_read_super()
/linux-6.6.21/drivers/of/
Dfdt.c52 int root_offset; in of_fdt_limit_memory() local
55 root_offset = fdt_path_offset(initial_boot_params, "/"); in of_fdt_limit_memory()
56 if (root_offset < 0) in of_fdt_limit_memory()
59 addr_prop = fdt_getprop(initial_boot_params, root_offset, in of_fdt_limit_memory()
64 size_prop = fdt_getprop(initial_boot_params, root_offset, in of_fdt_limit_memory()
/linux-6.6.21/arch/powerpc/kexec/
Dfile_load_64.c1129 int pci_offset, root_offset, ret = 0; in update_pci_dma_nodes() local
1134 root_offset = fdt_path_offset(fdt, "/"); in update_pci_dma_nodes()
1136 pci_offset = fdt_subnode_offset(fdt, root_offset, of_node_full_name(dn)); in update_pci_dma_nodes()