Searched refs:max_ofs (Results 1 – 2 of 2) sorted by relevance
449 uint32_t ofs, prevofs, max_ofs; in jffs2_scan_eraseblock() local572 max_ofs = EMPTY_SCAN_SIZE(c->sector_size); in jffs2_scan_eraseblock()574 while(ofs < max_ofs && *(uint32_t *)(&buf[ofs]) == 0xFFFFFFFF) in jffs2_scan_eraseblock()577 if (ofs == max_ofs) { in jffs2_scan_eraseblock()
1151 int max_ofs; in hem_list_alloc_mid_bt() local1171 max_ofs = r->offset + r->count - 1; in hem_list_alloc_mid_bt()1190 end = min_t(int, start_aligned + step - 1, max_ofs); in hem_list_alloc_mid_bt()