Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c157 int prog_fd, cmp_res; in serial_test_bpf_obj_id() local
195 cmp_res = memcmp(&prog_info, &prog_infos[i], info_len); in serial_test_bpf_obj_id()
199 ASSERT_OK(cmp_res, "memcmp"); in serial_test_bpf_obj_id()
210 int map_fd, cmp_res; in serial_test_bpf_obj_id() local
235 cmp_res = memcmp(&map_info, &map_infos[i], info_len); in serial_test_bpf_obj_id()
238 ASSERT_OK(cmp_res, "memcmp"); in serial_test_bpf_obj_id()
250 int link_fd, cmp_res; in serial_test_bpf_obj_id() local
272 cmp_res = memcmp(&link_info, &link_infos[i], in serial_test_bpf_obj_id()
276 ASSERT_OK(cmp_res, "memcmp"); in serial_test_bpf_obj_id()
/linux-6.12.1/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.c248 int cmp_res; in update_vol() local
274 cmp_res = ubi_compare_lebs(ubi, aeb, new_aeb->pnum, new_vh); in update_vol()
275 if (cmp_res < 0) in update_vol()
276 return cmp_res; in update_vol()
279 if (cmp_res & 1) { in update_vol()