Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/fs/cramfs/
Dinode.c519 unsigned long root_offset; in cramfs_read_super() local
568 root_offset = super->root.offset << 2; in cramfs_read_super()
580 if (root_offset == 0) in cramfs_read_super()
583 ((root_offset != sizeof(struct cramfs_super)) && in cramfs_read_super()
584 (root_offset != 512 + sizeof(struct cramfs_super)))) in cramfs_read_super()
586 errorfc(fc, "bad root offset %lu", root_offset); in cramfs_read_super()
/linux-5.19.10/drivers/of/
Dfdt.c53 int root_offset; in of_fdt_limit_memory() local
56 root_offset = fdt_path_offset(initial_boot_params, "/"); in of_fdt_limit_memory()
57 if (root_offset < 0) in of_fdt_limit_memory()
60 addr_prop = fdt_getprop(initial_boot_params, root_offset, in of_fdt_limit_memory()
65 size_prop = fdt_getprop(initial_boot_params, root_offset, in of_fdt_limit_memory()
/linux-5.19.10/arch/powerpc/kexec/
Dfile_load_64.c1062 int pci_offset, root_offset, ret = 0; in update_pci_dma_nodes() local
1067 root_offset = fdt_path_offset(fdt, "/"); in update_pci_dma_nodes()
1069 pci_offset = fdt_subnode_offset(fdt, root_offset, of_node_full_name(dn)); in update_pci_dma_nodes()