Searched refs:cmp_res (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | file_merge.c | 70 int cmp_res = 0; in insert_filename() local 79 cmp_res = -1; in insert_filename() 81 cmp_res = 1; in insert_filename() 83 cmp_res = strncmp(data->name, entry->name, in insert_filename() 86 if (!cmp_res) { in insert_filename() 93 if (cmp_res < 0) in insert_filename() 95 else if (cmp_res > 0) in insert_filename() 133 int cmp_res = 0; in delete_filename() local 138 cmp_res = -1; in delete_filename() 140 cmp_res = 1; in delete_filename() [all …]
|
D | inode_merge.c | 305 int cmp_res = 0; in check_filename() local 308 cmp_res = strncmp(name + len - strlen(CONFLICTING_DIR_SUFFIX), in check_filename() 311 if (cmp_res == 0) in check_filename() 335 cmp_res = strncmp(name + start_cmp_pos, in check_filename() 338 if (cmp_res == 0) in check_filename()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_obj_id.c | 302 int link_fd, cmp_res; in test_bpf_obj_id() local 326 cmp_res = memcmp(&link_info, &link_infos[i], in test_bpf_obj_id() 328 CHECK(err || info_len != sizeof(link_info) || cmp_res, in test_bpf_obj_id() 332 cmp_res); in test_bpf_obj_id()
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
D | attach.c | 592 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()
|
D | fastmap.c | 248 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()
|