Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 200 of 1499) sorted by relevance

12345678

/linux-4.1.27/tools/perf/tests/
Dhists_output.c166 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1()
167 !strcmp(SYM(he), "main") && he->stat.period == 200); in test1()
172 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "[kernel]") && in test1()
173 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
178 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1()
179 !strcmp(SYM(he), "main") && he->stat.period == 100); in test1()
184 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1()
185 !strcmp(SYM(he), "xmalloc") && he->stat.period == 100); in test1()
190 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "[kernel]") && in test1()
191 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1()
[all …]
Dkmod-path.c23 TEST_ASSERT_VAL("wrong ext", m.ext && !strcmp(ext, m.ext)); in test()
28 TEST_ASSERT_VAL("wrong name", m.name && !strcmp(name, m.name)); in test()
Dhists_cumulate.c208 !strcmp(COMM(he), expected[i].comm) && in do_test()
209 !strcmp(DSO(he), expected[i].dso) && in do_test()
210 !strcmp(SYM(he), expected[i].sym)); in do_test()
229 !strcmp(CDSO(clist), expected_callchain[i].node[c].dso) && in do_test()
230 !strcmp(CSYM(clist), expected_callchain[i].node[c].sym)); in do_test()
Dparse-events.c338 !strcmp(perf_evsel__name(evsel), "mem:0:u")); in test__checkevent_breakpoint_modifier()
352 !strcmp(perf_evsel__name(evsel), "mem:0:x:k")); in test__checkevent_breakpoint_x_modifier()
366 !strcmp(perf_evsel__name(evsel), "mem:0:r:hp")); in test__checkevent_breakpoint_r_modifier()
380 !strcmp(perf_evsel__name(evsel), "mem:0:w:up")); in test__checkevent_breakpoint_w_modifier()
394 !strcmp(perf_evsel__name(evsel), "mem:0:rw:kp")); in test__checkevent_breakpoint_rw_modifier()
461 TEST_ASSERT_VAL("wrong name", !strcmp(perf_evsel__name(evsel), "krava")); in test__checkevent_pmu_name()
469 !strcmp(perf_evsel__name(evsel), "cpu/config=2/u")); in test__checkevent_pmu_name()
559 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "umask")); in test__checkterms_simple()
682 !strcmp(leader->group_name, "group1")); in test__group3()
717 !strcmp(leader->group_name, "group2")); in test__group3()
[all …]
Devsel-roundtrip-name.c50 if (strcmp(perf_evsel__name(evsel), name)) { in perf_evsel__roundtrip_cache_name_test()
84 if (strcmp(perf_evsel__name(evsel), names[evsel->idx])) { in __perf_evsel__name_array_test()
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_parameters.c474 if (!strcmp(param->name, AUTHMETHOD)) { in iscsi_set_keys_to_negotiate()
476 } else if (!strcmp(param->name, HEADERDIGEST)) { in iscsi_set_keys_to_negotiate()
479 } else if (!strcmp(param->name, DATADIGEST)) { in iscsi_set_keys_to_negotiate()
482 } else if (!strcmp(param->name, MAXCONNECTIONS)) { in iscsi_set_keys_to_negotiate()
484 } else if (!strcmp(param->name, TARGETNAME)) { in iscsi_set_keys_to_negotiate()
486 } else if (!strcmp(param->name, INITIATORNAME)) { in iscsi_set_keys_to_negotiate()
488 } else if (!strcmp(param->name, TARGETALIAS)) { in iscsi_set_keys_to_negotiate()
491 } else if (!strcmp(param->name, INITIATORALIAS)) { in iscsi_set_keys_to_negotiate()
493 } else if (!strcmp(param->name, TARGETPORTALGROUPTAG)) { in iscsi_set_keys_to_negotiate()
495 } else if (!strcmp(param->name, INITIALR2T)) { in iscsi_set_keys_to_negotiate()
[all …]
/linux-4.1.27/drivers/macintosh/
Dwindfarm_smu_controls.c188 if (!strcmp(l, "Rear Fan 0") || !strcmp(l, "Rear Fan") || in smu_fan_create()
189 !strcmp(l, "Rear fan 0") || !strcmp(l, "Rear fan") || in smu_fan_create()
190 !strcmp(l, "CPU A EXHAUST")) in smu_fan_create()
192 else if (!strcmp(l, "Rear Fan 1") || !strcmp(l, "Rear fan 1") || in smu_fan_create()
193 !strcmp(l, "CPU B EXHAUST")) in smu_fan_create()
195 else if (!strcmp(l, "Front Fan 0") || !strcmp(l, "Front Fan") || in smu_fan_create()
196 !strcmp(l, "Front fan 0") || !strcmp(l, "Front fan") || in smu_fan_create()
197 !strcmp(l, "CPU A INTAKE")) in smu_fan_create()
199 else if (!strcmp(l, "Front Fan 1") || !strcmp(l, "Front fan 1") || in smu_fan_create()
200 !strcmp(l, "CPU B INTAKE")) in smu_fan_create()
[all …]
Dwindfarm_lm75_sensor.c111 if (!strcmp(loc, "Hard drive") || !strcmp(loc, "DRIVE BAY")) in wf_lm75_probe()
113 else if (!strcmp(loc, "Incoming Air Temp")) in wf_lm75_probe()
115 else if (!strcmp(loc, "ODD Temp")) in wf_lm75_probe()
117 else if (!strcmp(loc, "HD Temp")) in wf_lm75_probe()
119 else if (!strcmp(loc, "PCI SLOTS")) in wf_lm75_probe()
121 else if (!strcmp(loc, "CPU A INLET")) in wf_lm75_probe()
123 else if (!strcmp(loc, "CPU B INLET")) in wf_lm75_probe()
Dwindfarm_rm31.c572 if (!strcmp(ct->name, "cpu-fan-a-0")) in rm31_new_control()
574 else if (!strcmp(ct->name, "cpu-fan-b-0")) in rm31_new_control()
576 else if (!strcmp(ct->name, "cpu-fan-c-0")) in rm31_new_control()
578 else if (!strcmp(ct->name, "cpu-fan-a-1")) in rm31_new_control()
580 else if (!strcmp(ct->name, "cpu-fan-b-1")) in rm31_new_control()
582 else if (!strcmp(ct->name, "cpu-fan-c-1")) in rm31_new_control()
584 else if (!strcmp(ct->name, "backside-fan")) in rm31_new_control()
586 else if (!strcmp(ct->name, "slots-fan")) in rm31_new_control()
588 else if (!strcmp(ct->name, "cpufreq-clamp")) in rm31_new_control()
610 if (!strcmp(sr->name, "cpu-diode-temp-0")) in rm31_new_sensor()
[all …]
Dwindfarm_pm72.c675 if (!strcmp(ct->name, "cpu-front-fan-0")) in pm72_new_control()
677 else if (!strcmp(ct->name, "cpu-front-fan-1")) in pm72_new_control()
679 else if (!strcmp(ct->name, "cpu-rear-fan-0")) in pm72_new_control()
681 else if (!strcmp(ct->name, "cpu-rear-fan-1")) in pm72_new_control()
683 else if (!strcmp(ct->name, "cpu-pump-0")) in pm72_new_control()
685 else if (!strcmp(ct->name, "cpu-pump-1")) in pm72_new_control()
687 else if (!strcmp(ct->name, "backside-fan")) in pm72_new_control()
689 else if (!strcmp(ct->name, "slots-fan")) in pm72_new_control()
691 else if (!strcmp(ct->name, "drive-bay-fan")) in pm72_new_control()
693 else if (!strcmp(ct->name, "cpufreq-clamp")) in pm72_new_control()
[all …]
Dwindfarm_smu_sensors.c218 if (!strcmp(c, "temp-sensor") && in smu_ads_create()
219 !strcmp(l, "CPU T-Diode")) { in smu_ads_create()
227 } else if (!strcmp(c, "current-sensor") && in smu_ads_create()
228 !strcmp(l, "CPU Current")) { in smu_ads_create()
236 } else if (!strcmp(c, "voltage-sensor") && in smu_ads_create()
237 !strcmp(l, "CPU Voltage")) { in smu_ads_create()
245 } else if (!strcmp(c, "power-sensor") && in smu_ads_create()
246 !strcmp(l, "Slots Power")) { in smu_ads_create()
428 if (!strcmp(sensors->name, "sensors")) in smu_sensors_init()
443 if (!strcmp(ads->sens.name, "cpu-voltage")) in smu_sensors_init()
[all …]
Dwindfarm_max6690_sensor.c81 if (!strcmp(loc, "BACKSIDE") || !strcmp(loc, "SYS CTRLR AMBIENT")) in wf_max6690_probe()
83 else if (!strcmp(loc, "NB Ambient")) in wf_max6690_probe()
85 else if (!strcmp(loc, "GPU Ambient")) in wf_max6690_probe()
Dmacio_asic.c194 if (index == 0 && !strcmp(np->name, "gc")) in macio_resource_quirks()
198 if (index >= 2 && !strcmp(np->name, "radio")) in macio_resource_quirks()
211 if (!strcmp(np->name, "escc")) in macio_resource_quirks()
215 if (index >= 3 && !(strcmp(np->name, "ch-a") && in macio_resource_quirks()
216 strcmp(np->name, "ch-b"))) in macio_resource_quirks()
220 if (index > 0 && !strcmp(np->name, "media-bay")) in macio_resource_quirks()
224 if (!(strcmp(np->name, "IDE") && strcmp(np->name, "ATA") && in macio_resource_quirks()
225 strcmp(np->type, "ide") && strcmp(np->type, "ata"))) { in macio_resource_quirks()
264 if (strcmp(np->name, "ch-a") == 0) { in macio_add_missing_resources()
272 if (strcmp(np->name, "media-bay") == 0) { in macio_add_missing_resources()
[all …]
Dwindfarm_pm91.c542 if (fan_cpu_main == NULL && !strcmp(ct->name, "cpu-rear-fan-0")) { in wf_smu_new_control()
547 if (fan_cpu_second == NULL && !strcmp(ct->name, "cpu-rear-fan-1")) { in wf_smu_new_control()
552 if (fan_cpu_third == NULL && !strcmp(ct->name, "cpu-front-fan-0")) { in wf_smu_new_control()
557 if (cpufreq_clamp == NULL && !strcmp(ct->name, "cpufreq-clamp")) { in wf_smu_new_control()
562 if (fan_hd == NULL && !strcmp(ct->name, "drive-bay-fan")) { in wf_smu_new_control()
567 if (fan_slots == NULL && !strcmp(ct->name, "slots-fan")) { in wf_smu_new_control()
582 if (sensor_cpu_power == NULL && !strcmp(sr->name, "cpu-power")) { in wf_smu_new_sensor()
587 if (sensor_cpu_temp == NULL && !strcmp(sr->name, "cpu-temp")) { in wf_smu_new_sensor()
592 if (sensor_hd_temp == NULL && !strcmp(sr->name, "hd-temp")) { in wf_smu_new_sensor()
597 if (sensor_slots_power == NULL && !strcmp(sr->name, "slots-power")) { in wf_smu_new_sensor()
Dwindfarm_fcu_controls.c331 if (mpu0 && !strcmp(fan->ctrl.name, "cpu-front-fan-0")) { in wf_fcu_get_rpmfan_minmax()
336 if (mpu1 && !strcmp(fan->ctrl.name, "cpu-front-fan-1")) { in wf_fcu_get_rpmfan_minmax()
341 if (mpu0 && !strcmp(fan->ctrl.name, "cpu-rear-fan-0")) { in wf_fcu_get_rpmfan_minmax()
346 if (mpu1 && !strcmp(fan->ctrl.name, "cpu-rear-fan-1")) { in wf_fcu_get_rpmfan_minmax()
442 if (!strcmp(np->type, "fan-rpm-control") || in wf_fcu_lookup_fans()
443 !strcmp(np->type, "fan-rpm")) in wf_fcu_lookup_fans()
445 if (!strcmp(np->type, "fan-pwm-control") || in wf_fcu_lookup_fans()
446 !strcmp(np->type, "fan-pwm")) in wf_fcu_lookup_fans()
Dwindfarm_pm112.c556 if (cpufreq_clamp == NULL && !strcmp(ct->name, "cpufreq-clamp")) { in pm112_new_control()
562 if (!strcmp(ct->name, cpu_fan_names[i])) { in pm112_new_control()
570 if (!strcmp(ct->name, "backside-fan")) { in pm112_new_control()
573 } else if (!strcmp(ct->name, "slots-fan")) { in pm112_new_control()
576 } else if (!strcmp(ct->name, "drive-bay-fan")) { in pm112_new_control()
612 } else if (!strcmp(sr->name, "hd-temp")) { in pm112_new_sensor()
615 } else if (!strcmp(sr->name, "slots-power")) { in pm112_new_sensor()
618 } else if (!strcmp(sr->name, "backside-temp")) { in pm112_new_sensor()
Dwindfarm_pm81.c617 if (fan_cpu_main == NULL && !strcmp(ct->name, "cpu-fan")) { in wf_smu_new_control()
622 if (fan_system == NULL && !strcmp(ct->name, "system-fan")) { in wf_smu_new_control()
627 if (cpufreq_clamp == NULL && !strcmp(ct->name, "cpufreq-clamp")) { in wf_smu_new_control()
642 if (fan_hd == NULL && !strcmp(ct->name, "drive-bay-fan")) { in wf_smu_new_control()
656 if (sensor_cpu_power == NULL && !strcmp(sr->name, "cpu-power")) { in wf_smu_new_sensor()
661 if (sensor_cpu_temp == NULL && !strcmp(sr->name, "cpu-temp")) { in wf_smu_new_sensor()
666 if (sensor_hd_temp == NULL && !strcmp(sr->name, "hd-temp")) { in wf_smu_new_sensor()
Dvia-pmu-led.c101 strcmp(model, "PowerMac7,2") != 0 && in via_pmu_led_init()
102 strcmp(model, "PowerMac7,3") != 0) { in via_pmu_led_init()
/linux-4.1.27/tools/perf/arch/
Dcommon.c107 if (!strcmp(arch, "x86_64")) in normalize_arch()
111 if (!strcmp(arch, "sun4u") || !strncmp(arch, "sparc", 5)) in normalize_arch()
113 if (!strcmp(arch, "aarch64") || !strcmp(arch, "arm64")) in normalize_arch()
115 if (!strncmp(arch, "arm", 3) || !strcmp(arch, "sa110")) in normalize_arch()
150 if (!strcmp(normalize_arch(uts.machine), arch)) in perf_session_env__lookup_binutils_path()
167 if (!strcmp(arch, "arm")) in perf_session_env__lookup_binutils_path()
169 else if (!strcmp(arch, "arm64")) in perf_session_env__lookup_binutils_path()
171 else if (!strcmp(arch, "powerpc")) in perf_session_env__lookup_binutils_path()
173 else if (!strcmp(arch, "sh")) in perf_session_env__lookup_binutils_path()
175 else if (!strcmp(arch, "s390")) in perf_session_env__lookup_binutils_path()
[all …]
/linux-4.1.27/arch/arm/mach-w90x900/
Dmfp.c64 if (strcmp(dev_id, "nuc900-emc") == 0) in mfp_set_groupf()
88 if (strcmp(dev_id, "nuc900-lcd") == 0) in mfp_set_groupc()
90 else if (strcmp(dev_id, "nuc900-kpi") == 0) { in mfp_set_groupc()
93 } else if (strcmp(dev_id, "nuc900-nand") == 0) { in mfp_set_groupc()
120 if (strcmp(dev_id, "nuc900-wdog") == 0) in mfp_set_groupi()
122 else if (strcmp(dev_id, "nuc900-atapi") == 0) in mfp_set_groupi()
124 else if (strcmp(dev_id, "nuc900-keypad") == 0) in mfp_set_groupi()
149 if (strcmp(dev_id, "nuc900-spi") == 0) { in mfp_set_groupg()
152 } else if (strcmp(dev_id, "nuc900-i2c0") == 0) { in mfp_set_groupg()
155 } else if (strcmp(dev_id, "nuc900-i2c1") == 0) { in mfp_set_groupg()
[all …]
Dclksel.c45 if (strcmp(dev_id, "nuc900-ms") == 0) in clock_source_select()
47 else if (strcmp(dev_id, "nuc900-atapi") == 0) in clock_source_select()
49 else if (strcmp(dev_id, "nuc900-lcd") == 0) in clock_source_select()
51 else if (strcmp(dev_id, "nuc900-ac97") == 0) in clock_source_select()
77 if (strcmp(src, "pll0") == 0) in nuc900_clock_source()
79 else if (strcmp(src, "pll1") == 0) in nuc900_clock_source()
81 else if (strcmp(src, "ext") == 0) in nuc900_clock_source()
83 else if (strcmp(src, "oth") == 0) in nuc900_clock_source()
/linux-4.1.27/tools/power/cpupower/utils/
Dcpupower.c91 if ((subpage != NULL) && strcmp(subpage, "help")) { in print_man_page()
128 if (!strcmp(param, "-h") || !strcmp(param, "--help")) { in handle_options()
131 } else if (!strcmp(param, "-c") || !strcmp(param, "--cpu")) { in handle_options()
136 if (!strcmp((*argv)[x+1], "all")) in handle_options()
151 } else if (!strcmp(param, "-v") || in handle_options()
152 !strcmp(param, "--version")) { in handle_options()
156 } else if (!strcmp(param, "-d") || !strcmp(param, "--debug")) { in handle_options()
196 if (argc > 1 && !strcmp(argv[1], "--help")) { in main()
205 if (!ret && !strcmp(uts.machine, "x86_64") && in main()
215 if (strcmp(p->cmd, cmd)) in main()
/linux-4.1.27/include/linux/
Dlicense.h6 return (strcmp(license, "GPL") == 0 in license_is_gpl_compatible()
7 || strcmp(license, "GPL v2") == 0 in license_is_gpl_compatible()
8 || strcmp(license, "GPL and additional rights") == 0 in license_is_gpl_compatible()
9 || strcmp(license, "Dual BSD/GPL") == 0 in license_is_gpl_compatible()
10 || strcmp(license, "Dual MIT/GPL") == 0 in license_is_gpl_compatible()
11 || strcmp(license, "Dual MPL/GPL") == 0); in license_is_gpl_compatible()
/linux-4.1.27/arch/x86/pci/
Dcommon.c535 if (!strcmp(str, "off")) { in pcibios_setup()
538 } else if (!strcmp(str, "bfsort")) { in pcibios_setup()
541 } else if (!strcmp(str, "nobfsort")) { in pcibios_setup()
546 else if (!strcmp(str, "bios")) { in pcibios_setup()
549 } else if (!strcmp(str, "nobios")) { in pcibios_setup()
552 } else if (!strcmp(str, "biosirq")) { in pcibios_setup()
561 else if (!strcmp(str, "conf1")) { in pcibios_setup()
565 else if (!strcmp(str, "conf2")) { in pcibios_setup()
571 else if (!strcmp(str, "nommconf")) { in pcibios_setup()
575 else if (!strcmp(str, "check_enable_amd_mmconf")) { in pcibios_setup()
[all …]
/linux-4.1.27/arch/blackfin/kernel/
Dmodule.c40 if (!strcmp(".l1.text", shname) || in module_frob_arch_sections()
41 (!strcmp(".text", shname) && in module_frob_arch_sections()
52 } else if (!strcmp(".l1.data", shname) || in module_frob_arch_sections()
53 (!strcmp(".data", shname) && in module_frob_arch_sections()
64 } else if (!strcmp(".l1.bss", shname) || in module_frob_arch_sections()
65 (!strcmp(".bss", shname) && in module_frob_arch_sections()
75 } else if (!strcmp(".l1.data.B", shname)) { in module_frob_arch_sections()
85 } else if (!strcmp(".l1.bss.B", shname)) { in module_frob_arch_sections()
95 } else if (!strcmp(".l2.text", shname) || in module_frob_arch_sections()
96 (!strcmp(".text", shname) && in module_frob_arch_sections()
[all …]
/linux-4.1.27/tools/perf/
Dbuiltin-list.c48 if (strcmp(argv[i], "tracepoint") == 0) in cmd_list()
50 else if (strcmp(argv[i], "hw") == 0 || in cmd_list()
51 strcmp(argv[i], "hardware") == 0) in cmd_list()
54 else if (strcmp(argv[i], "sw") == 0 || in cmd_list()
55 strcmp(argv[i], "software") == 0) in cmd_list()
58 else if (strcmp(argv[i], "cache") == 0 || in cmd_list()
59 strcmp(argv[i], "hwcache") == 0) in cmd_list()
61 else if (strcmp(argv[i], "pmu") == 0) in cmd_list()
Dperf.c77 if (!prefixcmp(var, "pager.") && !strcmp(var + 6, c->cmd)) in pager_command_config()
95 if (!prefixcmp(var, "tui.") && !strcmp(var + 4, c->cmd)) in browser_command_config()
97 if (!prefixcmp(var, "gtk.") && !strcmp(var + 4, c->cmd)) in browser_command_config()
160 if (!strcmp(cmd, "--help") || !strcmp(cmd, "--version")) in handle_options()
174 } else if (!strcmp(cmd, "--html-path")) { in handle_options()
177 } else if (!strcmp(cmd, "-p") || !strcmp(cmd, "--paginate")) { in handle_options()
179 } else if (!strcmp(cmd, "--no-pager")) { in handle_options()
183 } else if (!strcmp(cmd, "--perf-dir")) { in handle_options()
198 } else if (!strcmp(cmd, "--work-tree")) { in handle_options()
212 } else if (!strcmp(cmd, "--debugfs-dir")) { in handle_options()
[all …]
Dbuiltin-bench.c142 if (!strcmp(str, BENCH_FORMAT_DEFAULT_STR)) in bench_str2int()
144 else if (!strcmp(str, BENCH_FORMAT_SIMPLE_STR)) in bench_str2int()
241 if (!strcmp(argv[0], "all")) { in cmd_bench()
249 if (strcmp(coll->name, argv[0])) in cmd_bench()
258 if (!strcmp(argv[1], "all")) { in cmd_bench()
264 if (strcmp(bench->name, argv[1])) in cmd_bench()
274 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { in cmd_bench()
Dbuiltin-help.c36 if (!strcmp(format, "man")) in parse_help_format()
38 if (!strcmp(format, "info")) in parse_help_format()
40 if (!strcmp(format, "web") || !strcmp(format, "html")) in parse_help_format()
133 if (file && !strcmp(file + 1, "konqueror")) { in exec_man_konqueror()
240 if (!strcmp(subkey, ".path")) { in add_man_viewer_info()
245 if (!strcmp(subkey, ".cmd")) { in add_man_viewer_info()
259 if (!strcmp(var, "help.format")) { in perf_help_config()
267 if (!strcmp(var, "man.viewer")) { in perf_help_config()
/linux-4.1.27/drivers/usb/gadget/udc/
Dgadget_chips.h30 #define gadget_is_at91(g) (!strcmp("at91_udc", (g)->name))
31 #define gadget_is_goku(g) (!strcmp("goku_udc", (g)->name))
32 #define gadget_is_musbhdrc(g) (!strcmp("musb-hdrc", (g)->name))
33 #define gadget_is_net2280(g) (!strcmp("net2280", (g)->name))
34 #define gadget_is_pxa(g) (!strcmp("pxa25x_udc", (g)->name))
35 #define gadget_is_pxa27x(g) (!strcmp("pxa27x_udc", (g)->name))
/linux-4.1.27/net/irda/irlan/
Dirlan_filter.c154 if (strcmp(param, "MODE") == 0) { in irlan_check_command_param()
162 if (strcmp(param, "FILTER_TYPE") == 0) { in irlan_check_command_param()
163 if (strcmp(value, "DIRECTED") == 0) { in irlan_check_command_param()
167 if (strcmp(value, "MULTICAST") == 0) { in irlan_check_command_param()
171 if (strcmp(value, "BROADCAST") == 0) { in irlan_check_command_param()
179 if (strcmp(param, "FILTER_MODE") == 0) { in irlan_check_command_param()
180 if (strcmp(value, "ALL") == 0) { in irlan_check_command_param()
184 if (strcmp(value, "FILTER") == 0) { in irlan_check_command_param()
188 if (strcmp(value, "NONE") == 0) { in irlan_check_command_param()
196 if (strcmp(param, "FILTER_OPERATION") == 0) { in irlan_check_command_param()
[all …]
Dirlan_client.c432 if (strcmp(param, "MEDIA") == 0) { in irlan_check_response_param()
433 if (strcmp(value, "802.3") == 0) in irlan_check_response_param()
439 if (strcmp(param, "FILTER_TYPE") == 0) { in irlan_check_response_param()
440 if (strcmp(value, "DIRECTED") == 0) in irlan_check_response_param()
442 else if (strcmp(value, "FUNCTIONAL") == 0) in irlan_check_response_param()
444 else if (strcmp(value, "GROUP") == 0) in irlan_check_response_param()
446 else if (strcmp(value, "MAC_FRAME") == 0) in irlan_check_response_param()
448 else if (strcmp(value, "MULTICAST") == 0) in irlan_check_response_param()
450 else if (strcmp(value, "BROADCAST") == 0) in irlan_check_response_param()
452 else if (strcmp(value, "IPX_SOCKET") == 0) in irlan_check_response_param()
[all …]
/linux-4.1.27/tools/power/cpupower/bench/
Dparse.c186 if (strcmp("sleep", opt) == 0) in prepare_config()
189 else if (strcmp("load", opt) == 0) in prepare_config()
192 else if (strcmp("load_step", opt) == 0) in prepare_config()
195 else if (strcmp("sleep_step", opt) == 0) in prepare_config()
198 else if (strcmp("cycles", opt) == 0) in prepare_config()
201 else if (strcmp("rounds", opt) == 0) in prepare_config()
204 else if (strcmp("verbose", opt) == 0) in prepare_config()
207 else if (strcmp("output", opt) == 0) in prepare_config()
210 else if (strcmp("cpu", opt) == 0) in prepare_config()
213 else if (strcmp("governor", opt) == 0) { in prepare_config()
[all …]
/linux-4.1.27/arch/powerpc/platforms/83xx/
Dusb.c51 if (prop && (!strcmp(prop, "utmi") || in mpc834x_usb_cfg()
52 !strcmp(prop, "utmi_wide"))) { in mpc834x_usb_cfg()
56 } else if (prop && !strcmp(prop, "serial")) { in mpc834x_usb_cfg()
58 if (dr_mode && !strcmp(dr_mode, "otg")) { in mpc834x_usb_cfg()
64 } else if (prop && !strcmp(prop, "ulpi")) { in mpc834x_usb_cfg()
141 if (prop && !strcmp(prop, "ulpi")) { in mpc831x_usb_cfg()
176 if (prop && (!strcmp(prop, "utmi_wide") || in mpc831x_usb_cfg()
177 !strcmp(prop, "utmi"))) { in mpc831x_usb_cfg()
191 } else if (prop && !strcmp(prop, "ulpi")) { in mpc831x_usb_cfg()
198 if (dr_mode && !strcmp(dr_mode, "otg")) in mpc831x_usb_cfg()
[all …]
Dmpc837x_mds.c56 if (phy_type && !strcmp(phy_type, "ulpi")) { in mpc837xmds_usb_cfg()
58 } else if (phy_type && !strcmp(phy_type, "serial")) { in mpc837xmds_usb_cfg()
62 if (mode && !strcmp(mode, "peripheral")) in mpc837xmds_usb_cfg()
/linux-4.1.27/arch/cris/arch-v32/lib/
Dstrcmp.S1 ; strcmp.S -- CRISv32 version.
8 .global strcmp
9 .type strcmp,@function
10 strcmp: label
21 .size strcmp, . - strcmp
/linux-4.1.27/arch/mips/bcm47xx/
Dboard.c225 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
241 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
248 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
255 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
264 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
272 if (!strcmp(buf1, e2->value1) && in bcm47xx_board_get_nvram()
273 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
280 if (!strcmp(buf1, e1->value1)) in bcm47xx_board_get_nvram()
289 if (!strcmp(buf1, e3->value1) && in bcm47xx_board_get_nvram()
290 !strcmp(buf2, e3->value2) && in bcm47xx_board_get_nvram()
[all …]
/linux-4.1.27/arch/mips/bcm63xx/
Dclk.c357 if (!strcmp(id, "enet0")) in clk_get()
359 if (!strcmp(id, "enet1")) in clk_get()
361 if (!strcmp(id, "enetsw")) in clk_get()
363 if (!strcmp(id, "ephy")) in clk_get()
365 if (!strcmp(id, "usbh")) in clk_get()
367 if (!strcmp(id, "usbd")) in clk_get()
369 if (!strcmp(id, "spi")) in clk_get()
371 if (!strcmp(id, "hsspi")) in clk_get()
373 if (!strcmp(id, "xtm")) in clk_get()
375 if (!strcmp(id, "periph")) in clk_get()
[all …]
/linux-4.1.27/drivers/clk/shmobile/
Dclk-r8a7779.c102 if (!strcmp(name, "plla")) { in r8a7779_cpg_register_clock()
105 } else if (!strcmp(name, "z")) { in r8a7779_cpg_register_clock()
108 } else if (!strcmp(name, "zs") || !strcmp(name, "s")) { in r8a7779_cpg_register_clock()
110 } else if (!strcmp(name, "s1")) { in r8a7779_cpg_register_clock()
112 } else if (!strcmp(name, "p")) { in r8a7779_cpg_register_clock()
114 } else if (!strcmp(name, "b") || !strcmp(name, "out")) { in r8a7779_cpg_register_clock()
Dclk-rcar-gen2.c311 if (!strcmp(name, "main")) { in rcar_gen2_cpg_register_clock()
314 } else if (!strcmp(name, "pll0")) { in rcar_gen2_cpg_register_clock()
323 } else if (!strcmp(name, "pll1")) { in rcar_gen2_cpg_register_clock()
326 } else if (!strcmp(name, "pll3")) { in rcar_gen2_cpg_register_clock()
329 } else if (!strcmp(name, "lb")) { in rcar_gen2_cpg_register_clock()
332 } else if (!strcmp(name, "qspi")) { in rcar_gen2_cpg_register_clock()
336 } else if (!strcmp(name, "sdh")) { in rcar_gen2_cpg_register_clock()
340 } else if (!strcmp(name, "sd0")) { in rcar_gen2_cpg_register_clock()
344 } else if (!strcmp(name, "sd1")) { in rcar_gen2_cpg_register_clock()
348 } else if (!strcmp(name, "z")) { in rcar_gen2_cpg_register_clock()
[all …]
Dclk-r8a7740.c74 if (!strcmp(name, "r")) { in r8a7740_cpg_register_clock()
91 } else if (!strcmp(name, "system")) { in r8a7740_cpg_register_clock()
95 } else if (!strcmp(name, "pllc0")) { in r8a7740_cpg_register_clock()
104 } else if (!strcmp(name, "pllc1")) { in r8a7740_cpg_register_clock()
109 } else if (!strcmp(name, "pllc2")) { in r8a7740_cpg_register_clock()
113 } else if (!strcmp(name, "usb24s")) { in r8a7740_cpg_register_clock()
125 if (!strcmp(name, c->name)) { in r8a7740_cpg_register_clock()
Dclk-r8a73a4.c73 if (!strcmp(name, "main")) { in r8a73a4_cpg_register_clock()
92 } else if (!strcmp(name, "pll0")) { in r8a73a4_cpg_register_clock()
104 } else if (!strcmp(name, "pll1")) { in r8a73a4_cpg_register_clock()
155 } else if (!strcmp(name, "z") || !strcmp(name, "z2")) { in r8a73a4_cpg_register_clock()
170 if (!strcmp(name, c->name)) in r8a73a4_cpg_register_clock()
Dclk-sh73a0.c86 if (!strcmp(name, "main")) { in sh73a0_cpg_register_clock()
120 } else if (!strcmp(name, "dsi0phy") || !strcmp(name, "dsi1phy")) { in sh73a0_cpg_register_clock()
131 } else if (!strcmp(name, "z")) { in sh73a0_cpg_register_clock()
141 if (!strcmp(name, c->name)) { in sh73a0_cpg_register_clock()
Dclk-rz.c38 if (strcmp(name, "pll") == 0) { in rz_cpg_register_clock()
56 if (strcmp(name, "i") == 0) in rz_cpg_register_clock()
58 else if (strcmp(name, "g") == 0) in rz_cpg_register_clock()
Dclk-r8a7778.c55 if (!strcmp(name, "plla")) { in r8a7778_cpg_register_clock()
59 } else if (!strcmp(name, "pllb")) { in r8a7778_cpg_register_clock()
67 if (!strcmp(name, r8a7778_divs[i].name)) { in r8a7778_cpg_register_clock()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dsec_lproc.c83 LASSERT(strcmp(dev->obd_type->typ_name, LUSTRE_OSC_NAME) == 0 || in sptlrpc_info_lprocfs_seq_show()
84 strcmp(dev->obd_type->typ_name, LUSTRE_MDC_NAME) == 0 || in sptlrpc_info_lprocfs_seq_show()
85 strcmp(dev->obd_type->typ_name, LUSTRE_MGC_NAME) == 0); in sptlrpc_info_lprocfs_seq_show()
121 LASSERT(strcmp(dev->obd_type->typ_name, LUSTRE_OSC_NAME) == 0 || in sptlrpc_ctxs_lprocfs_seq_show()
122 strcmp(dev->obd_type->typ_name, LUSTRE_MDC_NAME) == 0 || in sptlrpc_ctxs_lprocfs_seq_show()
123 strcmp(dev->obd_type->typ_name, LUSTRE_MGC_NAME) == 0); in sptlrpc_ctxs_lprocfs_seq_show()
143 if (strcmp(dev->obd_type->typ_name, LUSTRE_OSC_NAME) != 0 && in sptlrpc_lprocfs_cliobd_attach()
144 strcmp(dev->obd_type->typ_name, LUSTRE_MDC_NAME) != 0 && in sptlrpc_lprocfs_cliobd_attach()
145 strcmp(dev->obd_type->typ_name, LUSTRE_MGC_NAME) != 0) { in sptlrpc_lprocfs_cliobd_attach()
Dsec_config.c76 if (!strcmp(type, LUSTRE_MDT_NAME)) in sptlrpc_target_sec_part()
78 if (!strcmp(type, LUSTRE_OST_NAME)) in sptlrpc_target_sec_part()
80 if (!strcmp(type, LUSTRE_MGS_NAME)) in sptlrpc_target_sec_part()
132 if (strcmp(bulk, "hash")) in sptlrpc_parse_flavor()
202 if (strcmp(param, "default")) { in sptlrpc_parse_rule()
212 if (!strcmp(dir, "mdt2ost")) { in sptlrpc_parse_rule()
215 } else if (!strcmp(dir, "mdt2mdt")) { in sptlrpc_parse_rule()
218 } else if (!strcmp(dir, "cli2ost")) { in sptlrpc_parse_rule()
221 } else if (!strcmp(dir, "cli2mdt")) { in sptlrpc_parse_rule()
537 if (strcmp(conf_tgt->sct_name, name) == 0) in sptlrpc_conf_get_tgt()
[all …]
/linux-4.1.27/drivers/parport/
Dprobe.c81 if (!strcmp(p, "MFG") || !strcmp(p, "MANUFACTURER")) { in parse_data()
84 } else if (!strcmp(p, "MDL") || !strcmp(p, "MODEL")) { in parse_data()
87 } else if (!strcmp(p, "CLS") || !strcmp(p, "CLASS")) { in parse_data()
95 if (!strcmp(classes[i].token, sep)) { in parse_data()
102 } else if (!strcmp(p, "CMD") || in parse_data()
103 !strcmp(p, "COMMAND SET")) { in parse_data()
110 } else if (!strcmp(p, "DES") || !strcmp(p, "DESCRIPTION")) { in parse_data()
/linux-4.1.27/fs/xfs/
Dxfs_super.c224 if (!strcmp(this_char, MNTOPT_LOGBUFS)) { in xfs_parseargs()
232 } else if (!strcmp(this_char, MNTOPT_LOGBSIZE)) { in xfs_parseargs()
240 } else if (!strcmp(this_char, MNTOPT_LOGDEV)) { in xfs_parseargs()
249 } else if (!strcmp(this_char, MNTOPT_MTPT)) { in xfs_parseargs()
253 } else if (!strcmp(this_char, MNTOPT_RTDEV)) { in xfs_parseargs()
262 } else if (!strcmp(this_char, MNTOPT_BIOSIZE)) { in xfs_parseargs()
271 } else if (!strcmp(this_char, MNTOPT_ALLOCSIZE)) { in xfs_parseargs()
280 } else if (!strcmp(this_char, MNTOPT_GRPID) || in xfs_parseargs()
281 !strcmp(this_char, MNTOPT_BSDGROUPS)) { in xfs_parseargs()
283 } else if (!strcmp(this_char, MNTOPT_NOGRPID) || in xfs_parseargs()
[all …]
/linux-4.1.27/arch/x86/tools/
Drelocs_common.c36 if (strcmp(arg, "--abs-syms") == 0) { in main()
40 if (strcmp(arg, "--abs-relocs") == 0) { in main()
44 if (strcmp(arg, "--reloc-info") == 0) { in main()
48 if (strcmp(arg, "--text") == 0) { in main()
52 if (strcmp(arg, "--realmode") == 0) { in main()
/linux-4.1.27/drivers/input/serio/
Di8042-sparcio.h59 if (!strcmp(dp->name, OBP_PS2KBD_NAME1) || in sparc_i8042_probe()
60 !strcmp(dp->name, OBP_PS2KBD_NAME2)) { in sparc_i8042_probe()
69 } else if (!strcmp(dp->name, OBP_PS2MS_NAME1) || in sparc_i8042_probe()
70 !strcmp(dp->name, OBP_PS2MS_NAME2)) { in sparc_i8042_probe()
112 if (!strcmp(root->name, "SUNW,JavaStation-1")) { in i8042_platform_init()
142 if (strcmp(root->name, "SUNW,JavaStation-1")) in i8042_platform_exit()
/linux-4.1.27/tools/testing/selftests/memfd/
Dfuse_mnt.c30 if (!strcmp(path, "/")) { in memfd_getattr()
33 } else if (!strcmp(path, memfd_path)) { in memfd_getattr()
50 if (strcmp(path, "/")) in memfd_readdir()
62 if (strcmp(path, memfd_path)) in memfd_open()
82 if (strcmp(path, memfd_path) != 0) in memfd_read()
/linux-4.1.27/net/core/
Dpktgen.c500 if (!strcmp(data, "stop")) in pgctrl_write()
503 else if (!strcmp(data, "start")) in pgctrl_write()
506 else if (!strcmp(data, "reset")) in pgctrl_write()
908 if (!strcmp(name, "min_pkt_size")) { in pktgen_if_write()
925 if (!strcmp(name, "max_pkt_size")) { in pktgen_if_write()
944 if (!strcmp(name, "pkt_size")) { in pktgen_if_write()
961 if (!strcmp(name, "debug")) { in pktgen_if_write()
972 if (!strcmp(name, "frags")) { in pktgen_if_write()
982 if (!strcmp(name, "delay")) { in pktgen_if_write()
997 if (!strcmp(name, "rate")) { in pktgen_if_write()
[all …]
/linux-4.1.27/arch/arm/kernel/
Dmodule.c284 if (strcmp(name, secstrs + s->sh_name) == 0) in find_mod_section()
311 if (strcmp(".ARM.exidx.init.text", secname) == 0) in module_finalize()
313 else if (strcmp(".ARM.exidx", secname) == 0) in module_finalize()
315 else if (strcmp(".ARM.exidx.exit.text", secname) == 0) in module_finalize()
317 else if (strcmp(".ARM.exidx.text.unlikely", secname) == 0) in module_finalize()
319 else if (strcmp(".ARM.exidx.text.hot", secname) == 0) in module_finalize()
321 else if (strcmp(".init.text", secname) == 0) in module_finalize()
323 else if (strcmp(".text", secname) == 0) in module_finalize()
325 else if (strcmp(".exit.text", secname) == 0) in module_finalize()
327 else if (strcmp(".text.unlikely", secname) == 0) in module_finalize()
[all …]
/linux-4.1.27/arch/sh/kernel/
Dnmi_debug.c60 if (strcmp(p, "state") == 0) in nmi_debug_setup()
62 else if (strcmp(p, "regs") == 0) in nmi_debug_setup()
64 else if (strcmp(p, "debounce") == 0) in nmi_debug_setup()
66 else if (strcmp(p, "die") == 0) in nmi_debug_setup()
/linux-4.1.27/arch/sh/boards/mach-sdk7786/
Dnmi.c33 if (strcmp(str, "manual") == 0) in nmi_mode_setup()
35 else if (strcmp(str, "aux") == 0) in nmi_mode_setup()
37 else if (strcmp(str, "masked") == 0) in nmi_mode_setup()
39 else if (strcmp(str, "any") == 0) in nmi_mode_setup()
/linux-4.1.27/arch/avr32/kernel/
Dnmi_debug.c65 if (strcmp(p, "state") == 0) in nmi_debug_setup()
67 else if (strcmp(p, "regs") == 0) in nmi_debug_setup()
69 else if (strcmp(p, "debounce") == 0) in nmi_debug_setup()
71 else if (strcmp(p, "die") == 0) in nmi_debug_setup()
/linux-4.1.27/tools/lib/traceevent/
Devent-plugin.c90 if (strcmp(val, "1") == 0 || strcmp(val, "true") == 0) in update_option_value()
92 else if (strcmp(val, "0") == 0 || strcmp(val, "false") == 0) in update_option_value()
190 if (strcmp(op->plugin, plugin) != 0) in update_option()
192 if (strcmp(op->option, option->name) != 0) in update_option()
205 if (strcmp(op->option, option->name) != 0) in update_option()
369 if (strcmp(name, ".") == 0 || in load_plugins_dir()
370 strcmp(name, "..") == 0) in load_plugins_dir()
374 if (strcmp(name + (strlen(name) - strlen(suffix)), suffix) != 0) in load_plugins_dir()
Devent-parse.c652 if (strcmp(p, "\\n") == 0) in pevent_register_print_string()
1024 if (strcmp(*tok, "LOCAL_PR_FMT") == 0) { in __read_token()
1028 } else if (strcmp(*tok, "STA_PR_FMT") == 0) { in __read_token()
1032 } else if (strcmp(*tok, "VIF_PR_FMT") == 0) { in __read_token()
1149 if (strcmp(token, expect_tok) != 0) { in test_type_token()
1293 if (!strcmp(table[i].type, name)) in type_size()
1329 type == EVENT_ITEM && strcmp(token, "special") == 0) { in event_read_fields()
1353 (type == EVENT_OP && strcmp(token, "*") == 0) || in event_read_fields()
1359 type == EVENT_OP && strcmp(token, ".") == 0)) { in event_read_fields()
1361 if (strcmp(token, "*") == 0) in event_read_fields()
[all …]
Dparse-filter.c85 (strcmp(token, "=") == 0 || strcmp(token, "!") == 0) && in read_token()
385 if (strcmp(token, COMM) != 0) { in create_arg_item()
672 if (strcmp(token, "&&") == 0) in process_op()
674 else if (strcmp(token, "||") == 0) in process_op()
676 else if (strcmp(token, "!") == 0) in process_op()
683 if (strcmp(token, "+") == 0) { in process_op()
685 } else if (strcmp(token, "-") == 0) { in process_op()
687 } else if (strcmp(token, "*") == 0) { in process_op()
689 } else if (strcmp(token, "/") == 0) { in process_op()
691 } else if (strcmp(token, "%") == 0) { in process_op()
[all …]
/linux-4.1.27/arch/x86/kernel/
Dio_delay.c116 if (!strcmp(s, "0x80")) in io_delay_param()
118 else if (!strcmp(s, "0xed")) in io_delay_param()
120 else if (!strcmp(s, "udelay")) in io_delay_param()
122 else if (!strcmp(s, "none")) in io_delay_param()
Dsys_x86_64.c71 if (!strcmp(str, "32")) in control_va_addr_alignment()
73 else if (!strcmp(str, "64")) in control_va_addr_alignment()
75 else if (!strcmp(str, "off")) in control_va_addr_alignment()
77 else if (!strcmp(str, "on")) in control_va_addr_alignment()
Dmodule.c219 if (!strcmp(".text", secstrings + s->sh_name)) in module_finalize()
221 if (!strcmp(".altinstructions", secstrings + s->sh_name)) in module_finalize()
223 if (!strcmp(".smp_locks", secstrings + s->sh_name)) in module_finalize()
225 if (!strcmp(".parainstructions", secstrings + s->sh_name)) in module_finalize()
Dvsyscall_64.c46 if (!strcmp("emulate", str)) in vsyscall_setup()
48 else if (!strcmp("native", str)) in vsyscall_setup()
50 else if (!strcmp("none", str)) in vsyscall_setup()
/linux-4.1.27/drivers/net/fddi/skfp/
Dqueue.c153 if (!strcmp(flag,"smt")) in do_smt_flag()
155 else if (!strcmp(flag,"smtf")) in do_smt_flag()
157 else if (!strcmp(flag,"pcm")) in do_smt_flag()
159 else if (!strcmp(flag,"rmt")) in do_smt_flag()
161 else if (!strcmp(flag,"cfm")) in do_smt_flag()
163 else if (!strcmp(flag,"ecm")) in do_smt_flag()
/linux-4.1.27/arch/sparc/kernel/
Dprom_32.c180 if (!strcmp(parent->type, "pci") || in __build_path_component()
181 !strcmp(parent->type, "pciex")) in __build_path_component()
183 if (!strcmp(parent->type, "sbus")) in __build_path_component()
185 if (!strcmp(parent->type, "ebus")) in __build_path_component()
187 if (!strcmp(parent->type, "ambapp")) in __build_path_component()
259 if (!strcmp(type, "serial")) { in of_console_init()
289 if (strcmp(type, "display") && strcmp(type, "serial")) { in of_console_init()
Dprom_64.c311 if (!strcmp(parent->type, "pci") || in __build_path_component()
312 !strcmp(parent->type, "pciex")) { in __build_path_component()
316 if (!strcmp(parent->type, "sbus")) { in __build_path_component()
320 if (!strcmp(parent->type, "upa")) { in __build_path_component()
324 if (!strcmp(parent->type, "ebus")) { in __build_path_component()
328 if (!strcmp(parent->name, "usb") || in __build_path_component()
329 !strcmp(parent->name, "hub")) { in __build_path_component()
333 if (!strcmp(parent->type, "i2c")) { in __build_path_component()
337 if (!strcmp(parent->type, "firewire")) { in __build_path_component()
341 if (!strcmp(parent->type, "virtual-devices")) { in __build_path_component()
[all …]
Dprom_irqtrans.c195 if (!strcmp(parent->type, "pci")) in sabre_device_needs_wsync()
206 (!strcmp(parent_model, "SUNW,sabre") || in sabre_device_needs_wsync()
207 !strcmp(parent_model, "SUNW,simba"))) in sabre_device_needs_wsync()
213 (!strcmp(parent_compat, "pci108e,a000") || in sabre_device_needs_wsync()
214 !strcmp(parent_compat, "pci108e,a001"))) in sabre_device_needs_wsync()
727 if (!strcmp(dp->name, "eeprom")) { in central_build_irq()
729 } else if (!strcmp(dp->name, "zs")) { in central_build_irq()
731 } else if (!strcmp(dp->name, "clock-board")) { in central_build_irq()
818 if (!strcmp(model, t->name)) { in irq_trans_init()
826 if (!strcmp(dp->name, "sbus") || in irq_trans_init()
[all …]
Dof_device_64.c47 if (!strcmp(np->name, "pci")) { in of_bus_pci_match()
50 if (model && !strcmp(model, "SUNW,simba")) in of_bus_pci_match()
72 if (model && !strcmp(model, "SUNW,simba")) in of_bus_simba_match()
78 if (!strcmp(np->name, "pci")) { in of_bus_simba_match()
171 return !strcmp(np->name, "fhc") || in of_bus_fhc_match()
172 !strcmp(np->name, "central"); in of_bus_fhc_match()
274 if (!strcmp(bus->name, "pci") && in build_one_resource()
296 if (!strcmp(pp->name, "dma") || in use_1to1_mapping()
297 !strcmp(pp->name, "espdma") || in use_1to1_mapping()
298 !strcmp(pp->name, "ledma") || in use_1to1_mapping()
[all …]
Dsetup_32.c281 if (!strcmp(&cputypval[0], "sun4m")) in sparc32_start_kernel()
283 if (!strcmp(&cputypval[0], "sun4s")) in sparc32_start_kernel()
285 if (!strcmp(&cputypval[0], "sun4d")) in sparc32_start_kernel()
287 if (!strcmp(&cputypval[0], "sun4e")) in sparc32_start_kernel()
289 if (!strcmp(&cputypval[0], "sun4u")) in sparc32_start_kernel()
Dof_device_32.c23 if (!strcmp(np->type, "pci") || !strcmp(np->type, "pciex")) { in of_bus_pci_match()
108 return !strcmp(np->type, "ambapp"); in of_bus_ambapp_match()
233 if (!strcmp(pp->name, "dma") || in use_1to1_mapping()
234 !strcmp(pp->name, "espdma") || in use_1to1_mapping()
235 !strcmp(pp->name, "ledma") || in use_1to1_mapping()
236 !strcmp(pp->name, "lebuffer")) in use_1to1_mapping()
Dled.c92 if (!strcmp(buf, "on")) { in led_proc_write()
94 } else if (!strcmp(buf, "toggle")) { in led_proc_write()
98 } else if (!strcmp(buf, "load")) { in led_proc_write()
Dvio.c35 match &= !strcmp(matches->type, type); in vio_match_device()
93 if (!strcmp(vdev->type, "vnet-port")) in devspec_show()
95 else if (!strcmp(vdev->type, "vdc-port")) in devspec_show()
241 if (!strcmp(type, "domain-services-port")) in vio_create_one()
305 if (!strcmp(dp->type, type)) in vio_create_one()
381 if (!strcmp(name, "domain-services")) { in vio_add_ds()
Dmdesc.c267 if (name_prop && !strcmp(name_prop, "vdc-port")) { in invoke_on_missing()
286 strcmp(name_prop, "vdc-port")) in invoke_on_missing()
404 if (!strcmp(names + ep[ret].name_offset, name)) in mdesc_node_by_name()
449 if (!strcmp(names + ep->name_offset, name)) { in mdesc_get_property()
476 if (strcmp(names + ep->name_offset, arc_type)) in mdesc_next_arc()
611 if (!strcmp(name, "cache")) in fill_in_one_cache()
632 if (!strcmp(srch_val, name)) in find_back_node_value()
733 if (strcmp(name, "cpu")) in set_sock_ids_by_socket()
769 if (strcmp(name, "cpu")) in mark_proc_ids()
955 if (!strcmp(t_name, "cache")) { in fill_in_one_cpu()
[all …]
Dauxio_64.c110 if (!strcmp(dp->parent->name, "ebus")) { in auxio_probe()
113 } else if (!strcmp(dp->parent->name, "sbus")) { in auxio_probe()
/linux-4.1.27/tools/perf/util/
Dtrace-event-info.c165 if (!strcmp(sys, tps->name)) in name_in_tp_list()
191 strcmp(dent->d_name, ".") == 0 || in copy_event_system()
192 strcmp(dent->d_name, "..") == 0 || in copy_event_system()
215 strcmp(dent->d_name, ".") == 0 || in copy_event_system()
216 strcmp(dent->d_name, "..") == 0 || in copy_event_system()
261 if (!strcmp(sys, tps->system)) in system_in_tp_list()
295 strcmp(dent->d_name, ".") == 0 || in record_event_files()
296 strcmp(dent->d_name, "..") == 0 || in record_event_files()
297 strcmp(dent->d_name, "ftrace") == 0 || in record_event_files()
312 strcmp(dent->d_name, ".") == 0 || in record_event_files()
[all …]
Dpmu.c48 if (!strcmp(name, ".") || !strcmp(name, "..")) in perf_pmu__format_parse()
246 if (len > 5 && !strcmp(name + len - 5, ".unit")) in pmu_alias_info_file()
248 if (len > 6 && !strcmp(name + len - 6, ".scale")) in pmu_alias_info_file()
250 if (len > 8 && !strcmp(name + len - 8, ".per-pkg")) in pmu_alias_info_file()
252 if (len > 9 && !strcmp(name + len - 9, ".snapshot")) in pmu_alias_info_file()
276 if (!strcmp(name, ".") || !strcmp(name, "..")) in pmu_aliases_parse()
398 if (!strcmp(dent->d_name, ".") || !strcmp(dent->d_name, "..")) in pmu_read_sysfs()
484 if (!strcmp(pmu->name, name)) in pmu_find()
527 if (!strcmp(format->name, name)) in pmu_find_format()
569 if (!strcmp(t->config, term->config)) { in pmu_resolve_param_term()
[all …]
Dhelp.c35 return strcmp(a->name, b->name); in cmdname_compare()
46 if (strcmp(cmds->names[i]->name, cmds->names[i-1]->name)) in uniq()
59 cmp = strcmp(cmds->names[ci]->name, excludes->names[ei]->name); in exclude_cmds()
177 if (!exec_path || strcmp(path, exec_path)) in load_command_list()
230 if (!strcmp(s, c->names[i]->name)) in is_in_cmdlist()
240 if (!strcmp(var, "help.autocorrect")) in perf_unknown_cmd_config()
255 return l1 != l2 ? l1 - l2 : strcmp(s1, s2); in levenshtein_compare()
Dcgroup.c31 if (!strcmp(type, "cgroup")) { in cgroupfs_find_mountpoint()
36 if (!strcmp(token, "perf_event")) { in cgroupfs_find_mountpoint()
88 if (!strcmp(cgrp->name, str)) in add_cgroup()
Dparse-events.c134 (strcmp(sys_dirent.d_name, ".")) && \
135 (strcmp(sys_dirent.d_name, "..")))
155 (strcmp(evt_dirent.d_name, ".")) && \
156 (strcmp(evt_dirent.d_name, "..")) && \
409 if (!strcmp(evt_ent->d_name, ".") in add_tracepoint_multi_event()
410 || !strcmp(evt_ent->d_name, "..") in add_tracepoint_multi_event()
411 || !strcmp(evt_ent->d_name, "enable") in add_tracepoint_multi_event()
412 || !strcmp(evt_ent->d_name, "filter")) in add_tracepoint_multi_event()
447 if (!strcmp(events_ent->d_name, ".") in add_tracepoint_multi_sys()
448 || !strcmp(events_ent->d_name, "..") in add_tracepoint_multi_sys()
[all …]
/linux-4.1.27/drivers/staging/fsl-mc/include/
Dmc-private.h21 (strcmp((_mc_dev)->obj_desc.type, (_obj_desc)->type) == 0 && \
25 (strcmp(_obj_type, "dpbp") == 0 || \
26 strcmp(_obj_type, "dpmcp") == 0 || \
27 strcmp(_obj_type, "dpcon") == 0)
/linux-4.1.27/scripts/
Dkallsyms.c100 if (strcmp(sym, ar->start_sym) == 0) { in check_symbol_range()
103 } else if (strcmp(sym, ar->end_sym) == 0) { in check_symbol_range()
137 if (strcmp(sym, "_text") == 0) in read_symbol()
145 if (strcmp(sym, "__kernel_syscall_via_break") && in read_symbol()
146 strcmp(sym, "__kernel_syscall_via_epc") && in read_symbol()
147 strcmp(sym, "__kernel_sigtramp") && in read_symbol()
148 strcmp(sym, "__gp")) in read_symbol()
245 strcmp(sym_name, in symbol_valid()
248 strcmp(sym_name, in symbol_valid()
255 if (strcmp(sym_name, special_symbols[i]) == 0) in symbol_valid()
[all …]
Drecordmcount.c268 return strcmp(".text", txtname) == 0 || in is_mcounted_section_name()
269 strcmp(".ref.text", txtname) == 0 || in is_mcounted_section_name()
270 strcmp(".sched.text", txtname) == 0 || in is_mcounted_section_name()
271 strcmp(".spinlock.text", txtname) == 0 || in is_mcounted_section_name()
272 strcmp(".irqentry.text", txtname) == 0 || in is_mcounted_section_name()
273 strcmp(".kprobes.text", txtname) == 0 || in is_mcounted_section_name()
274 strcmp(".text.unlikely", txtname) == 0; in is_mcounted_section_name()
483 strcmp(file + (len - ftrace_size), ftrace) == 0) in main()
Dsortextable.h131 if (strcmp(secstrtab + idx, "__ex_table") == 0) { in do_func()
141 if (strcmp(secstrtab + idx, ".symtab") == 0) in do_func()
143 if (strcmp(secstrtab + idx, ".strtab") == 0) in do_func()
186 if (strcmp(strtab + idx, "main_extable_sort_needed") == 0) { in do_func()
Ddocproc.c89 if (strcmp(sym, all_list[i])) in consume_symbol()
173 if (strcmp(symfilelist[i].filename, filename) == 0) in filename_exist()
314 if (strcmp(vec[i], FUNCTION)) in singfunc()
524 if (strcmp("doc", argv[1]) == 0) { in main()
560 } else if (strcmp("depend", argv[1]) == 0) { in main()
/linux-4.1.27/drivers/staging/speakup/
Dvarhandlers.c65 if (!strcmp(keyword, "ALPHA")) in spk_chartab_get_value()
67 else if (!strcmp(keyword, "B_CTL")) in spk_chartab_get_value()
69 else if (!strcmp(keyword, "WDLM")) in spk_chartab_get_value()
71 else if (!strcmp(keyword, "A_PUNC")) in spk_chartab_get_value()
73 else if (!strcmp(keyword, "PUNC")) in spk_chartab_get_value()
75 else if (!strcmp(keyword, "NUM")) in spk_chartab_get_value()
77 else if (!strcmp(keyword, "A_CAP")) in spk_chartab_get_value()
79 else if (!strcmp(keyword, "B_CAPSYM")) in spk_chartab_get_value()
81 else if (!strcmp(keyword, "B_SYM")) in spk_chartab_get_value()
146 if (strcmp(name, var_ptrs[i]->name) == 0) in spk_var_header_by_name()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dxattr.c63 if (!strcmp(name, POSIX_ACL_XATTR_ACCESS)) in get_xattr_type()
66 if (!strcmp(name, POSIX_ACL_XATTR_DEFAULT)) in get_xattr_type()
133 if ((xattr_type == XATTR_TRUSTED_T && strcmp(name, "trusted.lov") == 0) || in ll_setxattr_common()
134 (xattr_type == XATTR_LUSTRE_T && strcmp(name, "lustre.lov") == 0)) in ll_setxattr_common()
139 strcmp(name, "security.capability") == 0)) in ll_setxattr_common()
144 strcmp(name, "security.selinux") == 0) in ll_setxattr_common()
229 strcmp(name + sizeof(XATTR_TRUSTED_PREFIX) - 1, "lov") == 0) || in ll_setxattr()
232 strcmp(name + sizeof(XATTR_LUSTRE_PREFIX) - 1, "lov") == 0)) { in ll_setxattr()
260 } else if (strcmp(name, XATTR_NAME_LMA) == 0 || in ll_setxattr()
261 strcmp(name, XATTR_NAME_LINK) == 0) in ll_setxattr()
[all …]
/linux-4.1.27/arch/s390/mm/
Dpage-states.c26 if (strcmp(parm, "yes") == 0 || strcmp(parm, "on") == 0) { in cmma()
31 if (strcmp(parm, "no") == 0 || strcmp(parm, "off") == 0) in cmma()
/linux-4.1.27/sound/pci/hda/
Dhda_eld.c545 if (!strcmp(name, "monitor_present")) in snd_hdmi_write_eld_info()
547 else if (!strcmp(name, "eld_valid")) in snd_hdmi_write_eld_info()
549 else if (!strcmp(name, "connection_type")) in snd_hdmi_write_eld_info()
551 else if (!strcmp(name, "port_id")) in snd_hdmi_write_eld_info()
553 else if (!strcmp(name, "support_hdcp")) in snd_hdmi_write_eld_info()
555 else if (!strcmp(name, "support_ai")) in snd_hdmi_write_eld_info()
557 else if (!strcmp(name, "audio_sync_delay")) in snd_hdmi_write_eld_info()
559 else if (!strcmp(name, "speakers")) in snd_hdmi_write_eld_info()
561 else if (!strcmp(name, "sad_count")) in snd_hdmi_write_eld_info()
572 if (!strcmp(sname, "_coding_type")) in snd_hdmi_write_eld_info()
[all …]
/linux-4.1.27/arch/arm/mach-omap2/
Dpm-debug.c81 if (strcmp(clkdm->name, "emu_clkdm") == 0 || in clkdm_dbg_show_counter()
82 strcmp(clkdm->name, "wkup_clkdm") == 0 || in clkdm_dbg_show_counter()
97 if (strcmp(pwrdm->name, "emu_pwrdm") == 0 || in pwrdm_dbg_show_counter()
98 strcmp(pwrdm->name, "wkup_pwrdm") == 0 || in pwrdm_dbg_show_counter()
127 if (strcmp(pwrdm->name, "emu_pwrdm") == 0 || in pwrdm_dbg_show_timer()
128 strcmp(pwrdm->name, "wkup_pwrdm") == 0 || in pwrdm_dbg_show_timer()
/linux-4.1.27/include/linux/platform_data/
Ddma-imx.h62 return !strcmp(dev_name(chan->device->dev), "ipu-core"); in imx_dma_is_ipu()
67 return !strcmp(chan->device->dev->driver->name, "imx-sdma") || in imx_dma_is_general_purpose()
68 !strcmp(chan->device->dev->driver->name, "imx-dma"); in imx_dma_is_general_purpose()
/linux-4.1.27/arch/powerpc/platforms/pseries/
Dreconfig.c40 if (!strcmp(path, "/")) in derive_parent()
52 if (strcmp(parent_path, "/")) in derive_parent()
378 if (!strcmp(name, "slb-size") || !strcmp(name, "ibm,slb-size")) in do_update_property()
422 if (!strcmp(kbuf, "add_node")) in ofdt_write()
424 else if (!strcmp(kbuf, "remove_node")) in ofdt_write()
426 else if (!strcmp(kbuf, "add_property")) in ofdt_write()
428 else if (!strcmp(kbuf, "remove_property")) in ofdt_write()
430 else if (!strcmp(kbuf, "update_property")) in ofdt_write()
Dsetup.c157 if (strcmp(np->name, "pci") != 0) in pseries_setup_i8259_cascade()
476 if (node->type == NULL || (strcmp(node->type, "pci") != 0 && in find_and_init_phbs()
477 strcmp(node->type, "pciex") != 0)) in find_and_init_phbs()
658 if (0 == strcmp(key, "CMOPageSize")) in pSeries_cmo_feature_init()
660 else if (0 == strcmp(key, "PrPSP")) in pSeries_cmo_feature_init()
662 else if (0 == strcmp(key, "SecPSP")) in pSeries_cmo_feature_init()
757 if (!strcmp(uname, "rtas") || !strcmp(uname, "rtas@0")) { in pseries_probe_fw_features()
768 if (!strcmp(uname, "chosen")) { in pseries_probe_fw_features()
787 if (strcmp(dtype, "chrp")) in pSeries_probe()
Dlparcfg.c348 if (0 == strcmp(workbuffer, "MaxEntCap")) { in parse_system_parameter_string()
353 if (0 == strcmp(workbuffer, "MaxPlatProcs")) { in parse_system_parameter_string()
607 if (!strcmp(kbuf, "partition_entitled_capacity")) { in lparcfg_write()
614 } else if (!strcmp(kbuf, "capacity_weight")) { in lparcfg_write()
621 } else if (!strcmp(kbuf, "entitled_memory")) { in lparcfg_write()
628 } else if (!strcmp(kbuf, "entitled_memory_weight")) { in lparcfg_write()
/linux-4.1.27/arch/um/drivers/
Dpcap_kern.c79 if (!strcmp(options[i], "promisc")) in pcap_setup()
81 else if (!strcmp(options[i], "nopromisc")) in pcap_setup()
83 else if (!strcmp(options[i], "optimize")) in pcap_setup()
85 else if (!strcmp(options[i], "nooptimize")) in pcap_setup()
/linux-4.1.27/drivers/sbus/char/
Denvctrl.c742 if (!(strcmp(chnl_desc,"temp,cpu")) || in envctrl_set_mon()
743 !(strcmp(chnl_desc,"temp,cpu0")) || in envctrl_set_mon()
744 !(strcmp(chnl_desc,"temp,cpu1")) || in envctrl_set_mon()
745 !(strcmp(chnl_desc,"temp,cpu2")) || in envctrl_set_mon()
746 !(strcmp(chnl_desc,"temp,cpu3"))) in envctrl_set_mon()
749 if (!(strcmp(chnl_desc,"vddcore,cpu0")) || in envctrl_set_mon()
750 !(strcmp(chnl_desc,"vddcore,cpu1")) || in envctrl_set_mon()
751 !(strcmp(chnl_desc,"vddcore,cpu2")) || in envctrl_set_mon()
752 !(strcmp(chnl_desc,"vddcore,cpu3"))) in envctrl_set_mon()
755 if (!(strcmp(chnl_desc,"temp,motherboard"))) in envctrl_set_mon()
[all …]
Dflash.c168 if (strcmp(parent->name, "sbus") && in flash_probe()
169 strcmp(parent->name, "sbi") && in flash_probe()
170 strcmp(parent->name, "ebus")) in flash_probe()
/linux-4.1.27/arch/sparc/boot/
Dpiggyback.c84 if (strcmp(line + 10, " _start\n") == 0) in start_line()
86 else if (strcmp(line + 18, " _start\n") == 0) in start_line()
93 if (strcmp(line + 10, " _end\n") == 0) in end_line()
95 else if (strcmp (line + 18, " _end\n") == 0) in end_line()
195 if (strcmp(argv[1], "64") == 0) in main()
/linux-4.1.27/arch/powerpc/platforms/cell/
Dsetup.c108 if (!s || strcmp(s, "Axon") != 0) in cell_fixup_pcie_rootcomplex()
134 if (model == NULL || strcmp(np->name, "pci")) in cell_setup_phb()
138 if (strcmp(model, "Spider")) in cell_setup_phb()
171 if (np->type == NULL || (strcmp(np->type, "pci") != 0 && in cell_publish_devices()
172 strcmp(np->type, "pciex") != 0)) in cell_publish_devices()
/linux-4.1.27/arch/mips/sibyte/common/
Dcfe_console.c50 if (!strcmp(consdev, "uart0")) { in cfe_console_setup()
52 } else if (!strcmp(consdev, "uart1")) { in cfe_console_setup()
57 if (!strcmp(consdev, "pcconsole0")) { in cfe_console_setup()
/linux-4.1.27/arch/x86/platform/olpc/
Dolpc-xo1-pm.c142 if (strcmp(pdev->name, "cs5535-pms") == 0) in xo1_pm_probe()
144 else if (strcmp(pdev->name, "olpc-xo1-pm-acpi") == 0) in xo1_pm_probe()
161 if (strcmp(pdev->name, "cs5535-pms") == 0) in xo1_pm_remove()
163 else if (strcmp(pdev->name, "olpc-xo1-pm-acpi") == 0) in xo1_pm_remove()
/linux-4.1.27/fs/hfs/
Dattr.c39 if (!strcmp(name, "hfs.type")) { in hfs_setxattr()
44 } else if (!strcmp(name, "hfs.creator")) { in hfs_setxattr()
84 if (!strcmp(name, "hfs.type")) { in hfs_getxattr()
90 } else if (!strcmp(name, "hfs.creator")) { in hfs_getxattr()
/linux-4.1.27/kernel/debug/kdb/
Dkdb_bt.c117 if (strcmp(argv[0], "bta") == 0) { in kdb_bt()
139 } else if (strcmp(argv[0], "btp") == 0) { in kdb_bt()
154 } else if (strcmp(argv[0], "btt") == 0) { in kdb_bt()
162 } else if (strcmp(argv[0], "btc") == 0) { in kdb_bt()
Dkdb_bp.c322 if (strcmp(argv[0], "bph") == 0) { in kdb_bp()
394 if (strcmp(argv[0], "be") == 0) in kdb_bc()
396 else if (strcmp(argv[0], "bd") == 0) in kdb_bc()
404 if (strcmp(argv[1], "*") == 0) { in kdb_bc()
/linux-4.1.27/arch/x86/boot/
Dedd.c137 if (!strcmp(eddarg, "skipmbr") || !strcmp(eddarg, "skip")) { in query_edd()
141 else if (!strcmp(eddarg, "off")) in query_edd()
143 else if (!strcmp(eddarg, "on")) in query_edd()
/linux-4.1.27/drivers/staging/fbtft/
Dflexfb.c267 if (!strcmp(chip, "st7735r")) { in flexfb_probe_common()
278 } else if (!strcmp(chip, "hx8340bn")) { in flexfb_probe_common()
290 } else if (!strcmp(chip, "ili9225")) { in flexfb_probe_common()
304 } else if (!strcmp(chip, "ili9320")) { in flexfb_probe_common()
317 } else if (!strcmp(chip, "ili9325")) { in flexfb_probe_common()
329 } else if (!strcmp(chip, "ili9341")) { in flexfb_probe_common()
342 } else if (!strcmp(chip, "ssd1289")) { in flexfb_probe_common()
356 } else if (!strcmp(chip, "ssd1351")) { in flexfb_probe_common()
/linux-4.1.27/arch/powerpc/boot/
Dhack-coff.c63 if (strcmp(shdr.s_name, ".text") == 0) { in main()
66 } else if (strcmp(shdr.s_name, ".data") == 0) { in main()
68 } else if (strcmp(shdr.s_name, ".bss") == 0) { in main()
/linux-4.1.27/samples/bpf/
Dtracex3_user.c117 if (strcmp(argv[i], "-a") == 0) { in main()
119 } else if (strcmp(argv[i], "-t") == 0) { in main()
121 } else if (strcmp(argv[i], "-h") == 0) { in main()
/linux-4.1.27/drivers/cpuidle/
Dcpuidle-mvebu-v7.c104 if (!strcmp(pdev->dev.driver->name, "cpuidle-armada-xp")) in mvebu_v7_cpuidle_probe()
106 else if (!strcmp(pdev->dev.driver->name, "cpuidle-armada-370")) in mvebu_v7_cpuidle_probe()
108 else if (!strcmp(pdev->dev.driver->name, "cpuidle-armada-38x")) in mvebu_v7_cpuidle_probe()
/linux-4.1.27/tools/iio/
Diio_utils.c122 if ((strcmp(builtname, ent->d_name) == 0) || in iioutils_get_type()
123 (strcmp(builtname_generic, ent->d_name) == 0)) { in iioutils_get_type()
212 if ((strcmp(builtname, ent->d_name) == 0) || in iioutils_get_param_float()
213 (strcmp(builtname_generic, ent->d_name) == 0)) { in iioutils_get_param_float()
292 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
320 if (strcmp(ent->d_name + strlen(ent->d_name) - strlen("_en"), in build_channel_array()
447 if (strcmp(ent->d_name, ".") != 0 && in find_type_by_name()
448 strcmp(ent->d_name, "..") != 0 && in find_type_by_name()
478 if (strcmp(name, thisname) == 0) { in find_type_by_name()
567 if (strcmp(temp, val) != 0) { in _write_sysfs_string()
/linux-4.1.27/drivers/pci/hotplug/
Dpciehp_acpi.c66 if (!strcmp(pciehp_detect_mode, "pcie")) in parse_detect_mode()
68 if (!strcmp(pciehp_detect_mode, "acpi")) in parse_detect_mode()
70 if (!strcmp(pciehp_detect_mode, "auto")) in parse_detect_mode()
/linux-4.1.27/arch/m68k/atari/
Ddebug.c295 if (!strcmp(arg, "ser")) in atari_debug_setup()
300 if (!strcmp(arg, "ser1")) { in atari_debug_setup()
304 } else if (!strcmp(arg, "ser2")) { in atari_debug_setup()
308 } else if (!strcmp(arg, "midi")) { in atari_debug_setup()
312 } else if (!strcmp(arg, "par")) { in atari_debug_setup()
/linux-4.1.27/drivers/power/
Dbq2415x_charger.c1089 if (strcmp(attr->attr.name, "otg_status") == 0) in bq2415x_sysfs_show_status()
1091 else if (strcmp(attr->attr.name, "charge_status") == 0) in bq2415x_sysfs_show_status()
1093 else if (strcmp(attr->attr.name, "boost_status") == 0) in bq2415x_sysfs_show_status()
1095 else if (strcmp(attr->attr.name, "fault_status") == 0) in bq2415x_sysfs_show_status()
1340 if (strcmp(attr->attr.name, "current_limit") == 0) in bq2415x_sysfs_set_limit()
1342 else if (strcmp(attr->attr.name, "weak_battery_voltage") == 0) in bq2415x_sysfs_set_limit()
1344 else if (strcmp(attr->attr.name, "battery_regulation_voltage") == 0) in bq2415x_sysfs_set_limit()
1346 else if (strcmp(attr->attr.name, "charge_current") == 0) in bq2415x_sysfs_set_limit()
1348 else if (strcmp(attr->attr.name, "termination_current") == 0) in bq2415x_sysfs_set_limit()
1367 if (strcmp(attr->attr.name, "current_limit") == 0) in bq2415x_sysfs_show_limit()
[all …]
/linux-4.1.27/drivers/tty/serial/
Dsuncore.c92 if (!strcmp(uart_dp->name, "rsc") || in sunserial_console_termios()
93 !strcmp(uart_dp->name, "rsc-console") || in sunserial_console_termios()
94 !strcmp(uart_dp->name, "rsc-control")) { in sunserial_console_termios()
99 } else if (!strcmp(uart_dp->name, "lom-console")) { in sunserial_console_termios()
/linux-4.1.27/security/integrity/ima/
Dima_policy.c158 if (strcmp(str, "tcb") == 0) in policy_setup()
568 if (strcmp(args[0].from, "FILE_CHECK") == 0) in ima_parse_rule()
571 else if (strcmp(args[0].from, "PATH_CHECK") == 0) in ima_parse_rule()
573 else if (strcmp(args[0].from, "MODULE_CHECK") == 0) in ima_parse_rule()
575 else if (strcmp(args[0].from, "FIRMWARE_CHECK") == 0) in ima_parse_rule()
577 else if ((strcmp(args[0].from, "FILE_MMAP") == 0) in ima_parse_rule()
578 || (strcmp(args[0].from, "MMAP_CHECK") == 0)) in ima_parse_rule()
580 else if (strcmp(args[0].from, "BPRM_CHECK") == 0) in ima_parse_rule()
597 if ((strcmp(from, "MAY_EXEC")) == 0) in ima_parse_rule()
599 else if (strcmp(from, "MAY_WRITE") == 0) in ima_parse_rule()
[all …]
/linux-4.1.27/drivers/leds/
Dled-triggers.c56 if (!strcmp(trigger_name, "none")) { in led_trigger_store()
63 if (!strcmp(trigger_name, trig->name)) { in led_trigger_store()
96 if (led_cdev->trigger && !strcmp(led_cdev->trigger->name, in led_trigger_show()
170 if (!strcmp(led_cdev->default_trigger, trig->name)) in led_trigger_set_default()
204 if (!strcmp(_trig->name, trig->name)) { in led_trigger_register()
218 !strcmp(led_cdev->default_trigger, trig->name)) in led_trigger_register()
/linux-4.1.27/drivers/s390/cio/
Dblacklist.c169 if (strcmp(parm, "all") == 0) { in blacklist_parse_parameters()
176 } else if (strcmp(parm, "ipldev") == 0) { in blacklist_parse_parameters()
192 } else if (strcmp(parm, "condev") == 0) { in blacklist_parse_parameters()
263 if (strcmp("free", parm) == 0) { in blacklist_parse_proc_parameters()
266 } else if (strcmp("add", parm) == 0) in blacklist_parse_proc_parameters()
268 else if (strcmp("purge", parm) == 0) in blacklist_parse_proc_parameters()
/linux-4.1.27/arch/x86/platform/geode/
Dalix.c167 if (!vendor || strcmp(vendor, "PC Engines")) in alix_present_dmi()
171 if (!product || (strcmp(product, "ALIX.2D") && strcmp(product, "ALIX.6"))) in alix_present_dmi()
Dgeos.c109 if (!vendor || strcmp(vendor, "Traverse Technologies")) in geos_init()
113 if (!product || strcmp(product, "Geos")) in geos_init()
/linux-4.1.27/drivers/media/platform/davinci/
Dvpbe.c87 if (!strcmp(encoder_name, cfg->venc.module_name)) in vpbe_find_encoder_sd_index()
91 if (!strcmp(encoder_name, in vpbe_find_encoder_sd_index()
157 if (!strcmp(mode, var.name)) { in vpbe_get_mode_info()
208 if (!strcmp(var.name, std_name)) { in vpbe_get_std_info_by_name()
251 if (strcmp(curr_enc_info->module_name, in vpbe_set_output()
304 if (!strcmp(def_output, in vpbe_set_default_output()
519 if (!strcmp(mode_info->name, in vpbe_set_mode()
619 if (strcmp(vpbe_dev->cfg->module_name, "dm644x-vpbe-display") != 0) { in vpbe_initialize()
719 if ((strcmp(vpbe_dev->cfg->module_name, "dm365-vpbe-display") == 0) && in vpbe_initialize()
775 if (strcmp(vpbe_dev->cfg->module_name, "dm644x-vpbe-display") != 0) { in vpbe_initialize()
[all …]
/linux-4.1.27/security/apparmor/
Dlsm.c513 if (strcmp(name, "current") == 0) in apparmor_getprocattr()
515 else if (strcmp(name, "prev") == 0 && cxt->previous) in apparmor_getprocattr()
517 else if (strcmp(name, "exec") == 0 && cxt->onexec) in apparmor_getprocattr()
566 if (strcmp(name, "current") == 0) { in apparmor_setprocattr()
567 if (strcmp(command, "changehat") == 0) { in apparmor_setprocattr()
570 } else if (strcmp(command, "permhat") == 0) { in apparmor_setprocattr()
573 } else if (strcmp(command, "changeprofile") == 0) { in apparmor_setprocattr()
576 } else if (strcmp(command, "permprofile") == 0) { in apparmor_setprocattr()
581 } else if (strcmp(name, "exec") == 0) { in apparmor_setprocattr()
582 if (strcmp(command, "exec") == 0) in apparmor_setprocattr()
[all …]
/linux-4.1.27/arch/ia64/pci/
Dfixup.c36 if ((strcmp(ia64_platform_name, "dig") != 0) in pci_fixup_video()
37 && (strcmp(ia64_platform_name, "hpzx1") != 0)) in pci_fixup_video()
/linux-4.1.27/arch/hexagon/kernel/
Dmodule.c51 if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0) in module_frob_arch_sections()
53 if (strcmp(secstrings + sechdrs[i].sh_name, ".got.plt") == 0) in module_frob_arch_sections()
55 if (strcmp(secstrings + sechdrs[i].sh_name, ".rela.plt") == 0) in module_frob_arch_sections()
/linux-4.1.27/tools/lib/api/fs/
Dfindfs.c54 if (strcmp(type, fstype) == 0) in find_mountpoint()
59 if (strcmp(type, fstype) != 0) in find_mountpoint()
/linux-4.1.27/arch/cris/kernel/
Dcrisksyms.c57 #undef strcmp
58 EXPORT_SYMBOL(strcmp);
/linux-4.1.27/arch/powerpc/platforms/powermac/
Dbootx_init.c103 if (strcmp((char *)((unsigned long)pp->name + base), in bootx_early_getprop()
126 if (strcmp(s, str) == 0) in bootx_dt_find_string()
236 if (!strcmp(namep, "/chosen")) { in bootx_scan_dt_build_strings()
258 if (namep == NULL || strcmp(namep, "name") == 0) in bootx_scan_dt_build_strings()
318 if (namep == NULL || !strcmp(namep, "name")) in bootx_scan_dt_build_struct()
321 if (node == bootx_node_chosen && !strcmp(namep, "bootargs")) in bootx_scan_dt_build_struct()
541 && (strcmp(model, "iMac,1") == 0 in bootx_init()
542 || strcmp(model, "PowerMac1,1") == 0)) { in bootx_init()
Dpci.c506 || strcmp(p2pbridge->parent->name, "pci") != 0) in init_p2pbridge()
831 } else if (strcmp(dev->name, "pci") == 0) { in pmac_add_bridge()
835 } else if (strcmp(dev->name, "bandit") == 0) { in pmac_add_bridge()
838 } else if (strcmp(dev->name, "chaos") == 0) { in pmac_add_bridge()
897 if (strcmp(np->name, "bandit") == 0 in pmac_pci_init()
898 || strcmp(np->name, "chaos") == 0 in pmac_pci_init()
899 || strcmp(np->name, "pci") == 0) { in pmac_pci_init()
903 if (strcmp(np->name, "ht") == 0) { in pmac_pci_init()
976 if (uninorth_child && !strcmp(node->name, "firewire") && in pmac_pci_enable_device_hook()
984 if (uninorth_child && !strcmp(node->name, "ethernet") && in pmac_pci_enable_device_hook()
/linux-4.1.27/drivers/video/fbdev/
Dvesafb.c204 if (! strcmp(this_opt, "inverse")) in vesafb_setup()
206 else if (! strcmp(this_opt, "redraw")) in vesafb_setup()
208 else if (! strcmp(this_opt, "ypan")) in vesafb_setup()
210 else if (! strcmp(this_opt, "ywrap")) in vesafb_setup()
212 else if (! strcmp(this_opt, "vgapal")) in vesafb_setup()
214 else if (! strcmp(this_opt, "pmipal")) in vesafb_setup()
218 else if (! strcmp(this_opt, "nomtrr")) in vesafb_setup()
/linux-4.1.27/fs/9p/
Dv9fs.c89 if (!strcmp(s, "loose")) { in get_cache_mode()
92 } else if (!strcmp(s, "fscache")) { in get_cache_mode()
95 } else if (!strcmp(s, "mmap")) { in get_cache_mode()
98 } else if (!strcmp(s, "none")) { in get_cache_mode()
263 if (strcmp(s, "user") == 0) in v9fs_parse_options()
265 else if (strcmp(s, "any") == 0) in v9fs_parse_options()
267 else if (strcmp(s, "client") == 0) { in v9fs_parse_options()
Dxattr_user.c33 if (strcmp(name, "") == 0) in v9fs_xattr_user_get()
60 if (strcmp(name, "") == 0) in v9fs_xattr_user_set()
Dxattr_security.c33 if (strcmp(name, "") == 0) in v9fs_xattr_security_get()
60 if (strcmp(name, "") == 0) in v9fs_xattr_security_set()
Dxattr_trusted.c33 if (strcmp(name, "") == 0) in v9fs_xattr_trusted_get()
60 if (strcmp(name, "") == 0) in v9fs_xattr_trusted_set()
/linux-4.1.27/tools/perf/arch/x86/util/
Dkvm-stat.c38 if (!strcmp(evsel->name, "kvm:kvm_mmio") && in mmio_event_begin()
55 if (!strcmp(evsel->name, "kvm:kvm_mmio") && in mmio_event_end()
93 if (!strcmp(evsel->name, "kvm:kvm_pio")) { in ioport_event_begin()
/linux-4.1.27/arch/mips/txx9/generic/
Dpci.c406 if (!strcmp(str, "picmg")) { in txx9_pcibios_setup()
411 } else if (!strcmp(str, "nopicmg")) { in txx9_pcibios_setup()
419 if (strcmp(val, "33") == 0) in txx9_pcibios_setup()
421 else if (strcmp(val, "66") == 0) in txx9_pcibios_setup()
427 if (!strcmp(str + 4, "panic")) in txx9_pcibios_setup()
429 else if (!strcmp(str + 4, "ignore")) in txx9_pcibios_setup()
/linux-4.1.27/arch/powerpc/platforms/chrp/
Dsetup.c272 if (strcmp(property, "Pegasos2")) in chrp_init_early()
285 if (strcmp(property, "serial")) in chrp_init_early()
295 if (!strcmp(property, "failsafe") || !strcmp(property, "serial")) in chrp_init_early()
549 && strcmp(kbd->parent->type, "adb") == 0) in chrp_init_IRQ()
581 if (strcmp(dtype, "chrp")) in chrp_probe()
/linux-4.1.27/drivers/scsi/bfa/
Dbfad_attr.c753 if (!strcmp(model, "Brocade-425")) in bfad_im_model_desc_show()
756 else if (!strcmp(model, "Brocade-825")) in bfad_im_model_desc_show()
759 else if (!strcmp(model, "Brocade-42B")) in bfad_im_model_desc_show()
762 else if (!strcmp(model, "Brocade-82B")) in bfad_im_model_desc_show()
765 else if (!strcmp(model, "Brocade-1010")) in bfad_im_model_desc_show()
768 else if (!strcmp(model, "Brocade-1020")) in bfad_im_model_desc_show()
771 else if (!strcmp(model, "Brocade-1007")) in bfad_im_model_desc_show()
774 else if (!strcmp(model, "Brocade-415")) in bfad_im_model_desc_show()
777 else if (!strcmp(model, "Brocade-815")) in bfad_im_model_desc_show()
780 else if (!strcmp(model, "Brocade-41B")) in bfad_im_model_desc_show()
[all …]
/linux-4.1.27/fs/jffs2/
Dxattr_trusted.c22 if (!strcmp(name, "")) in jffs2_trusted_getxattr()
31 if (!strcmp(name, "")) in jffs2_trusted_setxattr()
Dxattr_user.c22 if (!strcmp(name, "")) in jffs2_user_getxattr()
31 if (!strcmp(name, "")) in jffs2_user_setxattr()
Dsecurity.c54 if (!strcmp(name, "")) in jffs2_security_getxattr()
64 if (!strcmp(name, "")) in jffs2_security_setxattr()
/linux-4.1.27/drivers/of/
Dfdt.c268 if (strcmp(pname, "name") == 0) in unflatten_dt_node()
278 if ((strcmp(pname, "phandle") == 0) || in unflatten_dt_node()
279 (strcmp(pname, "linux,phandle") == 0)) { in unflatten_dt_node()
286 if (strcmp(pname, "ibm,phandle") == 0) in unflatten_dt_node()
539 if (!found && depth == 1 && strcmp(uname, "reserved-memory") == 0) { in __fdt_scan_reserved_mem()
557 if (status && strcmp(status, "okay") != 0 && strcmp(status, "ok") != 0) in __fdt_scan_reserved_mem()
888 if (!IS_ENABLED(CONFIG_PPC32) || depth != 1 || strcmp(uname, "memory@0") != 0) in early_init_dt_scan_memory()
890 } else if (strcmp(type, "memory") != 0) in early_init_dt_scan_memory()
929 (strcmp(uname, "chosen") != 0 && strcmp(uname, "chosen@0") != 0)) in early_init_dt_scan_chosen()
Dunittest.c53 unittest(np && !strcmp("/testcase-data", np->full_name), in of_unittest_find_node_by_name()
62 unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", np->full_name), in of_unittest_find_node_by_name()
67 unittest(np && !strcmp("/testcase-data", np->full_name), in of_unittest_find_node_by_name()
76 unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", np->full_name), in of_unittest_find_node_by_name()
93 unittest(np && !strcmp("testoption", options), in of_unittest_find_node_by_name()
98 unittest(np && !strcmp("test/option", options), in of_unittest_find_node_by_name()
103 unittest(np && !strcmp("test/option", options), in of_unittest_find_node_by_name()
113 unittest(np && !strcmp("testaliasoption", options), in of_unittest_find_node_by_name()
119 unittest(np && !strcmp("test/alias/option", options), in of_unittest_find_node_by_name()
425 …unittest(rc == 0 && !strcmp(strings[0], "foobar"), "of_property_read_string_index() failure; rc=%i… in of_unittest_property_string()
[all …]
/linux-4.1.27/drivers/char/ipmi/
Dipmi_watchdog.c1231 if (strcmp(inval, "reset") == 0) in action_op()
1233 else if (strcmp(inval, "none") == 0) in action_op()
1235 else if (strcmp(inval, "power_cycle") == 0) in action_op()
1237 else if (strcmp(inval, "power_off") == 0) in action_op()
1253 if (strcmp(inval, "pre_none") == 0) in preaction_op()
1255 else if (strcmp(inval, "pre_smi") == 0) in preaction_op()
1258 else if (strcmp(inval, "pre_nmi") == 0) in preaction_op()
1261 else if (strcmp(inval, "pre_int") == 0) in preaction_op()
1277 if (strcmp(inval, "preop_none") == 0) in preop_op()
1279 else if (strcmp(inval, "preop_panic") == 0) in preop_op()
[all …]
/linux-4.1.27/drivers/tc/
Dtc-driver.c66 if (strcmp(tdev->name, id->name) == 0 && in tc_match_device()
67 strcmp(tdev->vendor, id->vendor) == 0) in tc_match_device()
/linux-4.1.27/fs/ext2/
Dxattr_trusted.c33 if (strcmp(name, "") == 0) in ext2_xattr_trusted_get()
43 if (strcmp(name, "") == 0) in ext2_xattr_trusted_set()
Dxattr_user.c35 if (strcmp(name, "") == 0) in ext2_xattr_user_get()
47 if (strcmp(name, "") == 0) in ext2_xattr_user_set()
Dxattr_security.c29 if (strcmp(name, "") == 0) in ext2_xattr_security_get()
39 if (strcmp(name, "") == 0) in ext2_xattr_security_set()
/linux-4.1.27/drivers/pinctrl/
Dpinconf.c426 if (strcmp(map->dev_name, dbg->dev_name)) in pinconf_dbg_config_print()
428 if (strcmp(map->name, dbg->state_name)) in pinconf_dbg_config_print()
432 if (!strcmp(map->data.configs.group_or_pin, in pinconf_dbg_config_print()
511 if (strcmp(token, "modify")) in pinconf_dbg_config_write()
518 if (strcmp(token, "config_pin")) in pinconf_dbg_config_write()
558 if (strcmp(map->dev_name, dbg->dev_name)) in pinconf_dbg_config_write()
562 if (strcmp(map->name, dbg->state_name)) in pinconf_dbg_config_write()
566 if (!strcmp(map->data.configs.group_or_pin, dbg->pin_name)) { in pinconf_dbg_config_write()
/linux-4.1.27/fs/ext4/
Dxattr_trusted.c37 if (strcmp(name, "") == 0) in ext4_xattr_trusted_get()
47 if (strcmp(name, "") == 0) in ext4_xattr_trusted_set()
Dxattr_user.c36 if (strcmp(name, "") == 0) in ext4_xattr_user_get()
48 if (strcmp(name, "") == 0) in ext4_xattr_user_set()
Dxattr_security.c34 if (strcmp(name, "") == 0) in ext4_xattr_security_get()
44 if (strcmp(name, "") == 0) in ext4_xattr_security_set()
/linux-4.1.27/fs/ext3/
Dxattr_trusted.c33 if (strcmp(name, "") == 0) in ext3_xattr_trusted_get()
43 if (strcmp(name, "") == 0) in ext3_xattr_trusted_set()
Dxattr_user.c33 if (strcmp(name, "") == 0) in ext3_xattr_user_get()
45 if (strcmp(name, "") == 0) in ext3_xattr_user_set()
Dxattr_security.c30 if (strcmp(name, "") == 0) in ext3_xattr_security_get()
40 if (strcmp(name, "") == 0) in ext3_xattr_security_set()
/linux-4.1.27/net/bridge/netfilter/
Debt_dnat.c38 if ((strcmp(par->table, "nat") != 0 || in ebt_dnat_tg_check()
41 (strcmp(par->table, "broute") != 0 || in ebt_dnat_tg_check()
Debt_redirect.c45 if ((strcmp(par->table, "nat") != 0 || in ebt_redirect_tg_check()
47 (strcmp(par->table, "broute") != 0 || in ebt_redirect_tg_check()
/linux-4.1.27/arch/mn10300/boot/tools/
Dbuild.c76 if (argc > 2 && !strcmp(argv[1], "-b")) { in main()
83 if (!strcmp(argv[4], "CURRENT")) { in main()
90 } else if (strcmp(argv[4], "FLOPPY")) { in main()
/linux-4.1.27/arch/x86/kernel/acpi/
Dboot.c1605 if (strcmp(arg, "off") == 0) { in parse_acpi()
1609 else if (strcmp(arg, "force") == 0) { in parse_acpi()
1614 else if (strcmp(arg, "strict") == 0) { in parse_acpi()
1618 else if (strcmp(arg, "rsdt") == 0) { in parse_acpi()
1622 else if (strcmp(arg, "noirq") == 0) { in parse_acpi()
1626 else if (strcmp(arg, "copy_dsdt") == 0) { in parse_acpi()
1630 else if (strcmp(arg, "nocmcff") == 0) { in parse_acpi()
1643 if (arg && strcmp(arg, "noacpi") == 0) in parse_pci()
1683 if (!strcmp(s, "edge")) in setup_acpi_sci()
1686 else if (!strcmp(s, "level")) in setup_acpi_sci()
[all …]
/linux-4.1.27/block/partitions/
Dibm.c109 if (!strcmp(temp, "VOL1") || in find_label()
110 !strcmp(temp, "LNX1") || in find_label()
111 !strcmp(temp, "CMS1")) { in find_label()
112 if (!strcmp(temp, "VOL1")) { in find_label()
228 if (!strcmp(info->type, "ECKD")) in find_lnx1_partitions()
/linux-4.1.27/drivers/acpi/
Dbutton.c370 if (!strcmp(hid, ACPI_BUTTON_HID_POWER) || in acpi_button_add()
371 !strcmp(hid, ACPI_BUTTON_HID_POWERF)) { in acpi_button_add()
376 } else if (!strcmp(hid, ACPI_BUTTON_HID_SLEEP) || in acpi_button_add()
377 !strcmp(hid, ACPI_BUTTON_HID_SLEEPF)) { in acpi_button_add()
382 } else if (!strcmp(hid, ACPI_BUTTON_HID_LID)) { in acpi_button_add()
/linux-4.1.27/arch/microblaze/kernel/
Dprom.c56 if (depth == 1 && (strcmp(uname, "chosen") == 0 || in early_init_dt_scan_chosen_serial()
57 strcmp(uname, "chosen@0") == 0)) { in early_init_dt_scan_chosen_serial()
/linux-4.1.27/fs/ocfs2/
Docfs2.h681 (!strcmp((ptr)->i_signature, OCFS2_INODE_SIGNATURE))
684 (!strcmp((ptr)->h_signature, OCFS2_EXTENT_BLOCK_SIGNATURE))
687 (!strcmp((ptr)->bg_signature, OCFS2_GROUP_DESC_SIGNATURE))
691 (!strcmp((ptr)->xb_signature, OCFS2_XATTR_BLOCK_SIGNATURE))
694 (!strcmp((ptr)->db_signature, OCFS2_DIR_TRAILER_SIGNATURE))
697 (!strcmp((ptr)->dr_signature, OCFS2_DX_ROOT_SIGNATURE))
700 (!strcmp((ptr)->dl_signature, OCFS2_DX_LEAF_SIGNATURE))
703 (!strcmp((ptr)->rf_signature, OCFS2_REFCOUNT_BLOCK_SIGNATURE))
/linux-4.1.27/arch/arm64/kernel/
Dacpi.c54 if (strcmp(arg, "off") == 0) in parse_acpi()
56 else if (strcmp(arg, "force") == 0) /* force ACPI to be enabled */ in parse_acpi()
73 if (depth == 1 && (strcmp(uname, "chosen") != 0)) in dt_scan_depth1_nodes()
/linux-4.1.27/Documentation/usb/
Dgadget_printer.txt453 if (!strcmp(argv[i], "-get_status")) {
458 } else if (!strcmp(argv[i], "-paper_loaded")) {
463 } else if (!strcmp(argv[i], "-paper_out")) {
468 } else if (!strcmp(argv[i], "-selected")) {
473 } else if (!strcmp(argv[i], "-not_selected")) {
478 } else if (!strcmp(argv[i], "-error")) {
483 } else if (!strcmp(argv[i], "-no_error")) {
488 } else if (!strcmp(argv[i], "-read_data")) {
493 } else if (!strcmp(argv[i], "-write_data")) {
498 } else if (!strcmp(argv[i], "-NB_read_data")) {
Dgadget_hid.txt196 if (strcmp(tok, "--quit") == 0)
199 if (strcmp(tok, "--hold") == 0) {
206 if (strcmp(tok, kval[i].opt) == 0) {
221 if (strcmp(tok, kmod[i].opt) == 0) {
248 if (strcmp(tok, "--quit") == 0)
251 if (strcmp(tok, "--hold") == 0) {
257 if (strcmp(tok, mmod[i].opt) == 0) {
305 if (strcmp(tok, "--quit") == 0)
309 if (strcmp(tok, jmod[i].opt) == 0) {
/linux-4.1.27/arch/powerpc/kernel/
Dlegacy_serial.c194 if (tsi && !strcmp(tsi->type, "tsi-bridge")) in add_legacy_soc_port()
399 if (isa && (!strcmp(isa->name, "isa") || in find_legacy_serial_ports()
400 !strcmp(isa->name, "lpc"))) { in find_legacy_serial_ports()
414 if (parent && !strcmp(parent->name, "isa")) { in find_legacy_serial_ports()
418 if (strcmp(np->name, "serial") && strcmp(np->type, "serial")) { in find_legacy_serial_ports()
616 if (strcmp(name, "serial") != 0) in check_legacy_serial_console()
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_pe.c35 if (strcmp(pe_name, pe->name)==0) { in __ip_vs_pe_getbyname()
77 if (strcmp(tmp->name, pe->name) == 0) { in register_ip_vs_pe()
/linux-4.1.27/drivers/xen/
Dcpu_hotplug.c40 if (strcmp(state, "online") == 0) in vcpu_online()
42 else if (strcmp(state, "offline") == 0) in vcpu_online()
/linux-4.1.27/fs/reiserfs/
Dbitmap.c577 if (!strcmp(this_char, "concentrating_formatted_nodes")) { in reiserfs_parse_alloc_options()
591 if (!strcmp(this_char, "displacing_large_files")) { in reiserfs_parse_alloc_options()
598 if (!strcmp(this_char, "displacing_new_packing_localities")) { in reiserfs_parse_alloc_options()
603 if (!strcmp(this_char, "old_hashed_relocation")) { in reiserfs_parse_alloc_options()
608 if (!strcmp(this_char, "new_hashed_relocation")) { in reiserfs_parse_alloc_options()
613 if (!strcmp(this_char, "dirid_groups")) { in reiserfs_parse_alloc_options()
617 if (!strcmp(this_char, "oid_groups")) { in reiserfs_parse_alloc_options()
621 if (!strcmp(this_char, "packing_groups")) { in reiserfs_parse_alloc_options()
625 if (!strcmp(this_char, "hashed_formatted_nodes")) { in reiserfs_parse_alloc_options()
630 if (!strcmp(this_char, "skip_busy")) { in reiserfs_parse_alloc_options()
[all …]
/linux-4.1.27/drivers/gpu/drm/i2c/
Dadv7511.c784 if (!strcmp(str, "rgb")) in adv7511_parse_dt()
786 else if (!strcmp(str, "yuv422")) in adv7511_parse_dt()
788 else if (!strcmp(str, "yuv444")) in adv7511_parse_dt()
797 if (!strcmp(str, "1x")) in adv7511_parse_dt()
799 else if (!strcmp(str, "2x")) in adv7511_parse_dt()
801 else if (!strcmp(str, "ddr")) in adv7511_parse_dt()
821 if (!strcmp(str, "left")) in adv7511_parse_dt()
824 else if (!strcmp(str, "evenly")) in adv7511_parse_dt()
827 else if (!strcmp(str, "right")) in adv7511_parse_dt()
/linux-4.1.27/drivers/char/xilinx_hwicap/
Dxilinx_hwicap.c767 if (!strcmp(family, "virtex2p")) { in hwicap_of_probe()
769 } else if (!strcmp(family, "virtex4")) { in hwicap_of_probe()
771 } else if (!strcmp(family, "virtex5")) { in hwicap_of_probe()
773 } else if (!strcmp(family, "virtex6")) { in hwicap_of_probe()
810 if (!strcmp(family, "virtex2p")) { in hwicap_drv_probe()
812 } else if (!strcmp(family, "virtex4")) { in hwicap_drv_probe()
814 } else if (!strcmp(family, "virtex5")) { in hwicap_drv_probe()
816 } else if (!strcmp(family, "virtex6")) { in hwicap_drv_probe()
/linux-4.1.27/drivers/hsi/
Dhsi.c58 if (strcmp(dev_name(dev), driver->name) == 0) in hsi_bus_match()
149 if (strcmp(mode, "stream") == 0) in hsi_of_property_parse_mode()
151 else if (strcmp(mode, "frame") == 0) in hsi_of_property_parse_mode()
169 if (strcmp(flow, "synchronized") == 0) in hsi_of_property_parse_flow()
171 else if (strcmp(flow, "pipeline") == 0) in hsi_of_property_parse_flow()
189 if (strcmp(arb_mode, "round-robin") == 0) in hsi_of_property_parse_arb_mode()
191 else if (strcmp(arb_mode, "priority") == 0) in hsi_of_property_parse_arb_mode()
751 if (!strcmp(cl->rx_cfg.channels[i].name, name)) in hsi_get_channel_id_by_name()
/linux-4.1.27/arch/powerpc/perf/
De500-pmu.c128 if (!strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc/e500mc")) in init_e500_pmu()
130 else if (strcmp(cur_cpu_spec->oprofile_cpu_type, "ppc/e500")) in init_e500_pmu()
/linux-4.1.27/arch/mips/ar7/
Dprom.c46 if (!strcmp(name, adam2_env[i].name)) in prom_getenv()
149 } else if (!strcmp(adam2_env[i].name, name)) { in add_adam2_var()
189 if (strcmp(psp_env, psp_env_version) == 0) { in ar7_init_env()
Dclock.c439 if (!strcmp(id, "bus")) in clk_get()
442 if (!strcmp(id, "cpmac")) in clk_get()
444 if (!strcmp(id, "cpu")) in clk_get()
446 if (!strcmp(id, "dsp")) in clk_get()
448 if (!strcmp(id, "vbus")) in clk_get()
/linux-4.1.27/drivers/video/fbdev/mmp/
Dcore.c95 if (!strcmp(panel->plat_path_name, path->name)) { in mmp_register_panel()
147 if (!strcmp(name, path->name)) { in mmp_get_path()
191 if (!strcmp(info->name, panel->plat_path_name)) { in mmp_register_path()
/linux-4.1.27/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c113 if (!strcmp("performance", argv[optind])) { in cmdline()
115 } else if (!strcmp("normal", argv[optind])) { in cmdline()
117 } else if (!strcmp("powersave", argv[optind])) { in cmdline()
/linux-4.1.27/drivers/gpu/drm/imx/
Dparallel-display.c227 if (!strcmp(fmt, "rgb24")) in imx_pd_bind()
229 else if (!strcmp(fmt, "rgb565")) in imx_pd_bind()
231 else if (!strcmp(fmt, "bgr666")) in imx_pd_bind()
233 else if (!strcmp(fmt, "lvds666")) in imx_pd_bind()
/linux-4.1.27/samples/kobject/
Dkobject-example.c61 if (strcmp(attr->attr.name, "baz") == 0) in b_show()
77 if (strcmp(attr->attr.name, "baz") == 0) in b_store()
/linux-4.1.27/arch/um/os-Linux/
Dutil.c54 if (!strcmp(host.machine, "x86_64")) { in setup_machinename()
59 if (!strcmp(host.machine, "i686")) { in setup_machinename()
/linux-4.1.27/drivers/usb/common/
Dcommon.c109 if (!strcmp(dr_mode, usb_dr_modes[i])) in of_usb_get_dr_mode()
135 if (strcmp(maximum_speed, speed_names[i]) == 0) in of_usb_get_maximum_speed()
/linux-4.1.27/security/tomoyo/
Dcondition.c320 if (!strcmp(right, "NULL")) { in tomoyo_parse_envp()
367 if (!strcmp(word, tomoyo_condition_keyword[i])) in tomoyo_condition_type()
452 flag = tomoyo_correct_path(pos) || !strcmp(pos, "keep") || in tomoyo_get_transit_preference()
453 !strcmp(pos, "initialize") || !strcmp(pos, "reset") || in tomoyo_get_transit_preference()
454 !strcmp(pos, "child") || !strcmp(pos, "parent"); in tomoyo_get_transit_preference()
531 if (!strcmp(left_word, "grant_log")) { in tomoyo_get_condition()
536 else if (!strcmp(right_word, "yes")) in tomoyo_get_condition()
538 else if (!strcmp(right_word, "no")) in tomoyo_get_condition()
Ddomain.c248 if (program && strcmp(program, "any")) { in tomoyo_write_transition_control()
255 if (domainname && strcmp(domainname, "any")) { in tomoyo_write_transition_control()
305 if (strcmp(ptr->domainname->name, last_name)) in tomoyo_scan_transition()
748 if (!strcmp(domainname, "keep")) in tomoyo_find_next_domain()
750 if (!strcmp(domainname, "child")) in tomoyo_find_next_domain()
752 if (!strcmp(domainname, "reset")) in tomoyo_find_next_domain()
754 if (!strcmp(domainname, "initialize")) in tomoyo_find_next_domain()
756 if (!strcmp(domainname, "parent")) { in tomoyo_find_next_domain()
/linux-4.1.27/net/netfilter/
Dxt_CONNSECMARK.c92 if (strcmp(par->table, "mangle") != 0 && in connsecmark_tg_check()
93 strcmp(par->table, "security") != 0) { in connsecmark_tg_check()
Dxt_SECMARK.c87 if (strcmp(par->table, "mangle") != 0 && in secmark_tg_check()
88 strcmp(par->table, "security") != 0) { in secmark_tg_check()
/linux-4.1.27/arch/arm/mach-shmobile/
Dregulator-quirk-rcar-gen2.c96 if ((client->addr == 0x58 && !strcmp(client->name, "da9063"))) in regulator_quirk_notify()
99 else if (client->addr == 0x68 && !strcmp(client->name, "da9210")) in regulator_quirk_notify()
/linux-4.1.27/scripts/genksyms/
Dgenksyms.c173 strcmp(name, sym->name) == 0 && in find_symbol()
190 strcmp(defn->string, "}") == 0 && in is_unknown_symbol()
192 strcmp(defn->string, "UNKNOWN") == 0 && in is_unknown_symbol()
194 strcmp(defn->string, "{") == 0); in is_unknown_symbol()
244 strcmp(name, sym->name) == 0) { in __add_symbol()
409 if (a->tag != b->tag || strcmp(a->string, b->string)) in equal_list()
476 !strcmp(sym->string, "override")) { in read_reference()
485 !strcmp(def->string, "extern")) { in read_reference()
/linux-4.1.27/drivers/isdn/hardware/avm/
Davm_cs.c109 if (strcmp("M1", s) == 0) { in avmcs_config()
111 } else if (strcmp("M2", s) == 0) { in avmcs_config()
/linux-4.1.27/arch/arm/mach-imx/
Dmach-cpuimx35.c148 if (!strcmp(options, "host")) in eukrea_cpuimx35_otg_mode()
150 else if (!strcmp(options, "device")) in eukrea_cpuimx35_otg_mode()
/linux-4.1.27/drivers/usb/gadget/
Dfunctions.c20 if (strcmp(name, fd->name)) in try_get_usb_function_instance()
99 if (!strcmp(fd->name, newf->name)) in usb_function_register()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_debugfs.c293 if (!strcmp(buf, "on")) in connector_write()
295 else if (!strcmp(buf, "digital")) in connector_write()
297 else if (!strcmp(buf, "off")) in connector_write()
299 else if (!strcmp(buf, "unspecified")) in connector_write()
/linux-4.1.27/fs/hpfs/
Dea.c83 if (!strcmp(ea->name, key)) { in hpfs_read_ea()
106 if (!strcmp(ea->name, key)) { in hpfs_read_ea()
138 if (!strcmp(ea->name, key)) { in hpfs_get_ea()
164 if (!strcmp(ea->name, key)) { in hpfs_get_ea()
201 if (!strcmp(ea->name, key)) { in hpfs_set_ea()
225 if (!strcmp(ea->name, key)) { in hpfs_set_ea()
/linux-4.1.27/drivers/misc/
Dkgdbts.c218 if (!strcmp(arg, "kgdbts_break_test")) in lookup_addr()
220 else if (!strcmp(arg, "sys_open")) in lookup_addr()
222 else if (!strcmp(arg, "do_fork")) in lookup_addr()
224 else if (!strcmp(arg, "hw_break_val")) in lookup_addr()
323 ((!strcmp(arg, "sys_open") || !strcmp(arg, "do_fork")))) { in check_and_rewind_pc()
327 } else if (strcmp(arg, "silent") && ip + offset != addr) { in check_and_rewind_pc()
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/
Dmain.c1845 if (!strcmp(fref_param, "19.2")) in wl12xx_setup()
1847 else if (!strcmp(fref_param, "26")) in wl12xx_setup()
1849 else if (!strcmp(fref_param, "26x")) in wl12xx_setup()
1851 else if (!strcmp(fref_param, "38.4")) in wl12xx_setup()
1853 else if (!strcmp(fref_param, "38.4x")) in wl12xx_setup()
1855 else if (!strcmp(fref_param, "52")) in wl12xx_setup()
1872 if (!strcmp(tcxo_param, "19.2")) in wl12xx_setup()
1874 else if (!strcmp(tcxo_param, "26")) in wl12xx_setup()
1876 else if (!strcmp(tcxo_param, "38.4")) in wl12xx_setup()
1878 else if (!strcmp(tcxo_param, "52")) in wl12xx_setup()
[all …]
/linux-4.1.27/crypto/
Dalgapi.c200 if (!strcmp(alg->cra_driver_name, q->cra_driver_name)) in __crypto_register_alg()
205 if (!strcmp(q->cra_driver_name, alg->cra_name) || in __crypto_register_alg()
206 !strcmp(q->cra_name, alg->cra_driver_name)) in __crypto_register_alg()
252 if (!strcmp(q->cra_driver_name, name)) in crypto_alg_tested()
282 if (strcmp(alg->cra_name, q->cra_name) && in crypto_alg_tested()
283 strcmp(alg->cra_driver_name, q->cra_name)) in crypto_alg_tested()
297 if (strcmp(alg->cra_name, q->cra_name)) in crypto_alg_tested()
300 if (strcmp(alg->cra_driver_name, q->cra_driver_name) && in crypto_alg_tested()
498 if (strcmp(q->name, name)) in __crypto_lookup_template()
/linux-4.1.27/scripts/mod/
Dmodpost.c91 return strcmp(str + strlen(str) - strlen(postfix), postfix) == 0; in strends()
104 return (strcmp(myname, "vmlinux") == 0) || in is_vmlinux()
105 (strcmp(myname, "vmlinux.o") == 0); in is_vmlinux()
124 if (strcmp(mod->name, modname) == 0) in find_module()
226 if (strcmp(s->name, name) == 0) in find_symbol()
257 if (strcmp(export_list[i].str, s) == 0) in export_no()
506 if (strcmp(secname, ".modinfo") == 0) { in parse_elf()
511 } else if (strcmp(secname, "__ksymtab") == 0) in parse_elf()
513 else if (strcmp(secname, "__ksymtab_unused") == 0) in parse_elf()
515 else if (strcmp(secname, "__ksymtab_gpl") == 0) in parse_elf()
[all …]
/linux-4.1.27/arch/x86/platform/intel-mid/
Dintel-mid.c204 if (strcmp("apbt_only", arg) == 0) in setup_x86_intel_mid_timer()
206 else if (strcmp("lapic_and_apbt", arg) == 0) in setup_x86_intel_mid_timer()
/linux-4.1.27/arch/arm/mach-nspire/
Dclcd.c81 if (!strcmp(type, "cx")) { in nspire_clcd_setup()
83 } else if (!strcmp(type, "classic")) { in nspire_clcd_setup()
/linux-4.1.27/arch/x86/lib/
Dstring_32.c94 int strcmp(const char *cs, const char *ct) in strcmp() function
113 EXPORT_SYMBOL(strcmp);
/linux-4.1.27/drivers/fmc/
Dfmc-match.c39 strcmp(fid->manufacturer, fdev->id.manufacturer)) in fmc_match()
42 strcmp(fid->product_name, fdev->id.product_name)) in fmc_match()
/linux-4.1.27/drivers/i2c/busses/
Di2c-powermac.c234 if (!strcmp(node->name, "cereal")) in i2c_powermac_get_addr()
236 else if (!strcmp(node->name, "deq")) in i2c_powermac_get_addr()
309 if (!strcmp(node->name, "deq")) { in i2c_powermac_get_type()
337 if (!strcmp(adap->dev.of_node->name, "via-pmu")) in i2c_powermac_register_devices()

12345678