Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c302 int link_fd, cmp_res; in serial_test_bpf_obj_id() local
326 cmp_res = memcmp(&link_info, &link_infos[i], in serial_test_bpf_obj_id()
328 CHECK(err || info_len != sizeof(link_info) || cmp_res, in serial_test_bpf_obj_id()
332 cmp_res); in serial_test_bpf_obj_id()
/linux-6.6.21/drivers/mtd/ubi/
Dattach.c592 int cmp_res; in ubi_add_to_av() local
637 cmp_res = ubi_compare_lebs(ubi, aeb, pnum, vid_hdr); in ubi_add_to_av()
638 if (cmp_res < 0) in ubi_add_to_av()
639 return cmp_res; in ubi_add_to_av()
641 if (cmp_res & 1) { in ubi_add_to_av()
651 aeb->lnum, aeb->ec, cmp_res & 4, in ubi_add_to_av()
660 aeb->scrub = ((cmp_res & 2) || bitflips); in ubi_add_to_av()
675 cmp_res & 4, &ai->erase); in ubi_add_to_av()
Dfastmap.c247 int cmp_res; in update_vol() local
273 cmp_res = ubi_compare_lebs(ubi, aeb, new_aeb->pnum, new_vh); in update_vol()
274 if (cmp_res < 0) in update_vol()
275 return cmp_res; in update_vol()
278 if (cmp_res & 1) { in update_vol()