Lines Matching refs:offs
53 uint32_t offs;
71 for (offs = MAP_OFFS_IN_BLK;
72 offs < master->erasesize - sizeof(*tmpdesc);
73 offs += sizeof(*tmpdesc)) {
74 tmpdesc = (struct sc_part_desc *)&buf[offs];
107 loff_t offs = 0;
112 (offs < master->size) &&
113 !mtd_block_isbad(master, offs)) {
114 res2 = mtd_read(master, offs, PART_MAGIC_LEN, &retlen, rdbuf);
120 pr_debug("Signature found at 0x%llx\n", offs);
122 res = scpart_scan_partmap(master, offs, ppdesc);
126 offs += master->erasesize;
131 pr_info("Valid 'SC PART MAP' (%d partitions) found at 0x%llx\n", res, offs);