Home
last modified time | relevance | path

Searched refs:max_ofs (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/fs/jffs2/
Dscan.c449 uint32_t ofs, prevofs, max_ofs; in jffs2_scan_eraseblock() local
572 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()
/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_hem.c1168 int max_ofs; in hem_list_alloc_mid_bt() local
1188 max_ofs = r->offset + r->count - 1; in hem_list_alloc_mid_bt()
1207 end = min_t(int, start_aligned + step - 1, max_ofs); in hem_list_alloc_mid_bt()