/kernel/linux/linux-6.6/drivers/leds/ |
H A D | led-class.c | 343 if (!strcmp(lookup->dev_id, dev_name(dev)) && in led_get() 344 !strcmp(lookup->con_id, con_id)) { in led_get()
|
H A D | led-core.c | 537 if (!strcmp(state, "keep")) in led_init_default_state_get() 539 if (!strcmp(state, "on")) in led_init_default_state_get()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-buildid-cache.c | 127 if (!p || strcmp(p + 1, "kcore")) in build_id_cache__add_kcore() 356 if (!strcmp(var, "buildid-cache.debuginfod")) { in perf_buildid_cache_config()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | dlfilter-test.c | 252 long_desc && !strcmp(long_desc, "Filter used by the 'dlfilter C API' perf test") && in check_filter_desc() 253 desc && !strcmp(desc, td->desc)) in check_filter_desc()
|
H A D | builtin-test.c | 507 if (!strcmp(twl->name, work)) in run_workload() 544 if (argc >= 1 && !strcmp(argv[0], "list")) in cmd_test()
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | cgroup.c | 52 if (!strcmp(str, attach_type_str)) in parse_attach_type() 433 if (strcmp(mnt->mnt_type, "cgroup2") == 0) { in find_cgroup_root()
|
/kernel/linux/linux-6.6/sound/soc/amd/vangogh/ |
H A D | acp5x-mach.c | 233 if (!(strcmp(comp->name, ACP5X_CS35L41_COMP_LNAME)) || in acp5x_cs35l41_hw_params() 234 !(strcmp(comp->name, ACP5X_CS35L41_COMP_RNAME))) { in acp5x_cs35l41_hw_params()
|
/kernel/linux/linux-6.6/scripts/gcc-plugins/ |
H A D | latent_entropy_plugin.c | 491 if (strcmp(IDENTIFIER_POINTER(name), "latent_entropy")) in create_latent_entropy_decl() 605 if (!(strcmp(argv[i].key, "disable"))) { in plugin_init()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | hashmap.c | 256 return strcmp((char *)a, (char *)b) == 0; in str_equal_fn() 272 CHECK(strcmp(var, (expected)), (fn), \ in test_hashmap_ptr_iface()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | cgroup.c | 102 if (!strcmp(counter->cgrp->name, str)) in evlist__find_cgroup() 232 if (!strcmp(cn->name, fpath)) in check_and_add_cgroup_name()
|
H A D | genelf_debug.c | 369 if ((!cur_filename || strcmp(cur_filename, ent->name)) && in emit_lineno_info() 370 strcmp(repeated_name_marker, ent->name)) { in emit_lineno_info()
|
H A D | data.c | 180 if (!strcmp(data->path, "-")) in check_pipe() 260 if (err == ENOENT && !strcmp(data->file.path, "perf.data")) in open_file_read()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | io_uring_zerocopy_tx.c | 577 if (!strcmp(cfg_test, "tcp")) in main() 579 else if (!strcmp(cfg_test, "udp")) in main()
|
/kernel/linux/linux-6.6/usr/ |
H A D | gen_init_cpio.c | 623 if (!strcmp(filename, "-")) in main() 670 if (! strcmp(line, file_handler_table[type_idx].type)) { in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | xdp_synproxy.c | 329 if (strcmp(map_info.name, "values") == 0) { in syncookie_open_bpf_maps() 333 if (strcmp(map_info.name, "allowed_ports") == 0) { in syncookie_open_bpf_maps()
|
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.c | 119 ret = strcmp(expected, buf); in cg_read_strcmp() 218 if (strcmp(type, "cgroup2") == 0) { in cg_find_unified_root()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/ |
H A D | core-pkey.c | 385 if (!strcmp(core_pattern, "core") || !strcmp(core_pattern, "core.%p")) in setup_core_pattern()
|
/kernel/linux/linux-6.6/tools/testing/vsock/ |
H A D | vsock_diag_test.c | 535 if (strcmp(optarg, "client") == 0) in main() 537 else if (strcmp(optarg, "server") == 0) in main()
|
/kernel/liteos_a/net/lwip-2.1/enhancement/src/ |
H A D | fixme.c | 224 if (strcmp("lo", name) == 0 && (netif->name[0] == 'l' && netif->name[1] == 'o')) { 229 if (strcmp(netif->full_name, name) == 0) {
|
/kernel/liteos_a/kernel/extended/blackbox/ |
H A D | los_blackbox_core.c | 127 if (*ops != NULL && strcmp((*ops)->ops.module, info->module) == 0) { in FindModuleOps() 378 if (strcmp(temp->ops.module, ops->module) == 0) { in BBoxRegisterModuleOps()
|
/kernel/liteos_m/testsuites/unittest/posix/src/fs/full/ |
H A D | posix_fs_full_test.c | 163 ret = strcmp(dirmsg->d_name, fileName); 230 ret = strcmp(dirmsg->d_name, dirName);
|
/kernel/linux/linux-6.6/lib/ |
H A D | string.c | 272 * strcmp - Compare two strings 276 int strcmp(const char *cs, const char *ct) in strcmp() function 290 EXPORT_SYMBOL(strcmp); variable
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_cong.c | 30 if (strcmp(e->name, name) == 0) in tcp_ca_find() 159 if (ca->key == TCP_CA_UNSPEC || !existing || strcmp(existing->name, ca->name)) { in tcp_update_congestion_control()
|
/kernel/linux/linux-6.6/net/netfilter/ipset/ |
H A D | ip_set_hash_netiface.c | 79 strcmp(ip1->iface, ip2->iface) == 0); in hash_netiface4_data_equal() 313 strcmp(ip1->iface, ip2->iface) == 0); in hash_netiface6_data_equal()
|
/kernel/linux/linux-6.6/net/netfilter/ipvs/ |
H A D | ip_vs_app.c | 203 if (!strcmp(app->name, a->name)) { in register_ip_vs_app() 239 if (app && strcmp(app->name, a->name)) in unregister_ip_vs_app()
|