Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mtd/
Dar7part.c53 unsigned int root_offset = ROOT_OFFSET; in create_mtd_partitions() local
98 root_offset = offset + sizeof(header) + 4; in create_mtd_partitions()
106 root_offset = offset + sizeof(header) + 4 + 0xff; in create_mtd_partitions()
107 root_offset &= ~(uint32_t)0xff; in create_mtd_partitions()
114 mtd_read(master, root_offset, sizeof(header), &len, (u8 *)&header); in create_mtd_partitions()
116 root_offset += master->erasesize - 1; in create_mtd_partitions()
117 root_offset &= ~(master->erasesize - 1); in create_mtd_partitions()
126 ar7_parts[3].offset = root_offset; in create_mtd_partitions()
127 ar7_parts[3].size = master->size - root_offset - post_size; in create_mtd_partitions()
/linux-4.4.14/fs/cramfs/
Dinode.c260 unsigned long root_offset; in cramfs_fill_super() local
316 root_offset = super.root.offset << 2; in cramfs_fill_super()
328 if (root_offset == 0) in cramfs_fill_super()
331 ((root_offset != sizeof(struct cramfs_super)) && in cramfs_fill_super()
332 (root_offset != 512 + sizeof(struct cramfs_super)))) in cramfs_fill_super()
334 pr_err("bad root offset %lu\n", root_offset); in cramfs_fill_super()
/linux-4.4.14/drivers/of/
Dfdt.c49 int root_offset; in of_fdt_limit_memory() local
52 root_offset = fdt_path_offset(initial_boot_params, "/"); in of_fdt_limit_memory()
53 if (root_offset < 0) in of_fdt_limit_memory()
56 addr_prop = fdt_getprop(initial_boot_params, root_offset, in of_fdt_limit_memory()
61 size_prop = fdt_getprop(initial_boot_params, root_offset, in of_fdt_limit_memory()