Lines Matching refs:sector_size
1333 ofs = part->sector_size - sumsize; in jffs2_sum_scan_sumnode()
1454 static inline uint32_t EMPTY_SCAN_SIZE(uint32_t sector_size) in EMPTY_SCAN_SIZE() argument
1456 if (sector_size < DEFAULT_EMPTY_SCAN_SIZE) in EMPTY_SCAN_SIZE()
1457 return sector_size; in EMPTY_SCAN_SIZE()
1476 nr_sectors = lldiv(part->size, part->sector_size); in jffs2_1pass_build_lists()
1490 uint32_t sector_ofs = i * part->sector_size; in jffs2_1pass_build_lists()
1515 get_fl_mem(part->offset + sector_ofs + part->sector_size - in jffs2_1pass_build_lists()
1520 sumlen = part->sector_size - sm->offset; in jffs2_1pass_build_lists()
1542 part->sector_size - sumlen, in jffs2_1pass_build_lists()
1564 buf_len = EMPTY_SCAN_SIZE(part->sector_size); in jffs2_1pass_build_lists()
1572 while (ofs < EMPTY_SCAN_SIZE(part->sector_size) && in jffs2_1pass_build_lists()
1576 if (ofs == EMPTY_SCAN_SIZE(part->sector_size)) in jffs2_1pass_build_lists()
1588 while (ofs < sector_ofs + part->sector_size) { in jffs2_1pass_build_lists()
1596 if (sector_ofs + part->sector_size < in jffs2_1pass_build_lists()
1602 + part->sector_size - ofs); in jffs2_1pass_build_lists()
1616 part->sector_size)/8, in jffs2_1pass_build_lists()
1643 part->sector_size - ofs); in jffs2_1pass_build_lists()
1679 if (ofs + node->u.totlen > sector_ofs + part->sector_size) { in jffs2_1pass_build_lists()
1701 part->sector_size - in jffs2_1pass_build_lists()
1732 part->sector_size - in jffs2_1pass_build_lists()