/linux-4.1.27/arch/x86/kernel/ |
D | pci-dma.c | 155 if (!strncmp(p, "off", 3)) in iommu_setup() 158 if (!strncmp(p, "force", 5)) in iommu_setup() 160 if (!strncmp(p, "noforce", 7)) { in iommu_setup() 165 if (!strncmp(p, "biomerge", 8)) { in iommu_setup() 169 if (!strncmp(p, "panic", 5)) in iommu_setup() 171 if (!strncmp(p, "nopanic", 7)) in iommu_setup() 173 if (!strncmp(p, "merge", 5)) { in iommu_setup() 177 if (!strncmp(p, "nomerge", 7)) in iommu_setup() 179 if (!strncmp(p, "forcesac", 8)) in iommu_setup() 181 if (!strncmp(p, "allowdac", 8)) in iommu_setup() [all …]
|
D | early_printk.c | 160 if (!strncmp(s, "0x", 2)) { in early_serial_init() 165 if (!strncmp(s, "ttyS", 4)) in early_serial_init() 345 if (!strncmp(buf, "serial", 6)) { in setup_early_printk() 349 if (!strncmp(buf, ",ttyS", 5)) in setup_early_printk() 352 if (!strncmp(buf, "ttyS", 4)) { in setup_early_printk() 357 if (!strncmp(buf, "pciserial", 9)) { in setup_early_printk() 363 if (!strncmp(buf, "vga", 3) && in setup_early_printk() 371 if (!strncmp(buf, "dbgp", 4) && !early_dbgp_init(buf + 4)) in setup_early_printk() 375 if (!strncmp(buf, "xen", 3)) in setup_early_printk() 379 if (!strncmp(buf, "efi", 3)) in setup_early_printk()
|
D | apm_32.c | 1871 if (strncmp(str, "off", 3) == 0) in apm_setup() 1873 if (strncmp(str, "on", 2) == 0) in apm_setup() 1875 if ((strncmp(str, "bounce-interval=", 16) == 0) || in apm_setup() 1876 (strncmp(str, "bounce_interval=", 16) == 0)) in apm_setup() 1878 if ((strncmp(str, "idle-threshold=", 15) == 0) || in apm_setup() 1879 (strncmp(str, "idle_threshold=", 15) == 0)) in apm_setup() 1881 if ((strncmp(str, "idle-period=", 12) == 0) || in apm_setup() 1882 (strncmp(str, "idle_period=", 12) == 0)) in apm_setup() 1884 invert = (strncmp(str, "no-", 3) == 0) || in apm_setup() 1885 (strncmp(str, "no_", 3) == 0); in apm_setup() [all …]
|
D | amd_gart_64.c | 864 if (!strncmp(p, "leak", 4)) { in gart_parse_options() 875 if (!strncmp(p, "fullflush", 9)) in gart_parse_options() 877 if (!strncmp(p, "nofullflush", 11)) in gart_parse_options() 879 if (!strncmp(p, "noagp", 5)) in gart_parse_options() 881 if (!strncmp(p, "noaperture", 10)) in gart_parse_options() 884 if (!strncmp(p, "force", 5)) in gart_parse_options() 886 if (!strncmp(p, "allowed", 7)) in gart_parse_options() 888 if (!strncmp(p, "memaper", 7)) { in gart_parse_options()
|
D | pci-calgary_64.c | 1493 if (!strncmp(p, "64k", 3)) in calgary_parse_options() 1495 else if (!strncmp(p, "128k", 4)) in calgary_parse_options() 1497 else if (!strncmp(p, "256k", 4)) in calgary_parse_options() 1499 else if (!strncmp(p, "512k", 4)) in calgary_parse_options() 1501 else if (!strncmp(p, "1M", 2)) in calgary_parse_options() 1503 else if (!strncmp(p, "2M", 2)) in calgary_parse_options() 1505 else if (!strncmp(p, "4M", 2)) in calgary_parse_options() 1507 else if (!strncmp(p, "8M", 2)) in calgary_parse_options() 1511 if (!strncmp(p, "translate_empty_slots", len)) in calgary_parse_options() 1515 if (!strncmp(p, "disable", len)) { in calgary_parse_options()
|
/linux-4.1.27/arch/x86/kernel/acpi/ |
D | sleep.c | 124 if (strncmp(str, "s3_bios", 7) == 0) in acpi_sleep_setup() 126 if (strncmp(str, "s3_mode", 7) == 0) in acpi_sleep_setup() 128 if (strncmp(str, "s3_beep", 7) == 0) in acpi_sleep_setup() 131 if (strncmp(str, "s4_nohwsig", 10) == 0) in acpi_sleep_setup() 134 if (strncmp(str, "nonvs", 5) == 0) in acpi_sleep_setup() 136 if (strncmp(str, "nonvs_s3", 8) == 0) in acpi_sleep_setup() 138 if (strncmp(str, "old_ordering", 12) == 0) in acpi_sleep_setup()
|
/linux-4.1.27/arch/microblaze/kernel/ |
D | prom.c | 67 if ((strncmp(p, "xlnx,xps-uart16550", 18) == 0) || in early_init_dt_scan_chosen_serial() 68 (strncmp(p, "xlnx,axi-uart16550", 18) == 0)) { in early_init_dt_scan_chosen_serial() 79 if ((strncmp(p, "xlnx,xps-uartlite", 17) == 0) || in early_init_dt_scan_chosen_serial() 80 (strncmp(p, "xlnx,opb-uartlite", 17) == 0) || in early_init_dt_scan_chosen_serial() 81 (strncmp(p, "xlnx,axi-uartlite", 17) == 0) || in early_init_dt_scan_chosen_serial() 82 (strncmp(p, "xlnx,mdm", 8) == 0)) { in early_init_dt_scan_chosen_serial()
|
/linux-4.1.27/tools/perf/arch/ |
D | common.c | 111 if (!strcmp(arch, "sun4u") || !strncmp(arch, "sparc", 5)) in normalize_arch() 115 if (!strncmp(arch, "arm", 3) || !strcmp(arch, "sa110")) in normalize_arch() 117 if (!strncmp(arch, "s390", 4)) in normalize_arch() 119 if (!strncmp(arch, "parisc", 6)) in normalize_arch() 121 if (!strncmp(arch, "powerpc", 7) || !strncmp(arch, "ppc", 3)) in normalize_arch() 123 if (!strncmp(arch, "mips", 4)) in normalize_arch() 125 if (!strncmp(arch, "sh", 2) && isdigit(arch[2])) in normalize_arch()
|
/linux-4.1.27/fs/cifs/ |
D | xattr.c | 74 } else if (strncmp(ea_name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) in cifs_removexattr() 75 && (strncmp(ea_name, XATTR_OS2_PREFIX, XATTR_OS2_PREFIX_LEN))) { in cifs_removexattr() 147 } else if (strncmp(ea_name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) in cifs_setxattr() 151 if (strncmp(ea_name, CIFS_XATTR_DOS_ATTRIB, 14) == 0) in cifs_setxattr() 159 } else if (strncmp(ea_name, XATTR_OS2_PREFIX, XATTR_OS2_PREFIX_LEN) in cifs_setxattr() 169 } else if (strncmp(ea_name, CIFS_XATTR_CIFS_ACL, in cifs_setxattr() 193 temp = strncmp(ea_name, POSIX_ACL_XATTR_ACCESS, in cifs_setxattr() 206 } else if (strncmp(ea_name, POSIX_ACL_XATTR_DEFAULT, in cifs_setxattr() 272 } else if (strncmp(ea_name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) in cifs_getxattr() 277 if (strncmp(ea_name, CIFS_XATTR_DOS_ATTRIB, 14) == 0) { in cifs_getxattr() [all …]
|
/linux-4.1.27/arch/x86/xen/ |
D | platform-pci-unplug.c | 198 if (!strncmp(p, "all", l)) in parse_xen_emul_unplug() 200 else if (!strncmp(p, "ide-disks", l)) in parse_xen_emul_unplug() 202 else if (!strncmp(p, "aux-ide-disks", l)) in parse_xen_emul_unplug() 204 else if (!strncmp(p, "nics", l)) in parse_xen_emul_unplug() 206 else if (!strncmp(p, "unnecessary", l)) in parse_xen_emul_unplug() 208 else if (!strncmp(p, "never", l)) in parse_xen_emul_unplug()
|
/linux-4.1.27/drivers/isdn/i4l/ |
D | isdn_ttyfax.c | 329 if (!strncmp(p[0], cmd[c.parm.aux.cmd], 2)) in isdn_tty_cmd_FCLASS1() 424 if (!strncmp(p[0], "AA", 2)) { /* TODO */ in isdn_tty_cmd_FCLASS2() 444 if (!strncmp(p[0], "BADLIN", 6)) { in isdn_tty_cmd_FCLASS2() 474 if (!strncmp(p[0], "BADMUL", 6)) { in isdn_tty_cmd_FCLASS2() 504 if (!strncmp(p[0], "BOR", 3)) { in isdn_tty_cmd_FCLASS2() 534 if (!strncmp(p[0], "NBC", 3)) { in isdn_tty_cmd_FCLASS2() 564 if (!strncmp(p[0], "BUF?", 4)) { in isdn_tty_cmd_FCLASS2() 575 if (!strncmp(p[0], "CIG", 3)) { in isdn_tty_cmd_FCLASS2() 613 if (!strncmp(p[0], "CQ", 2)) { in isdn_tty_cmd_FCLASS2() 643 if (!strncmp(p[0], "CR", 2)) { in isdn_tty_cmd_FCLASS2() [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | debugfs-vif.c | 138 if (!strncmp("keep_alive=", buf, 11)) { in iwl_dbgfs_pm_params_write() 142 } else if (!strncmp("skip_over_dtim=", buf, 15)) { in iwl_dbgfs_pm_params_write() 146 } else if (!strncmp("skip_dtim_periods=", buf, 18)) { in iwl_dbgfs_pm_params_write() 150 } else if (!strncmp("rx_data_timeout=", buf, 16)) { in iwl_dbgfs_pm_params_write() 154 } else if (!strncmp("tx_data_timeout=", buf, 16)) { in iwl_dbgfs_pm_params_write() 158 } else if (!strncmp("lprx=", buf, 5)) { in iwl_dbgfs_pm_params_write() 162 } else if (!strncmp("lprx_rssi_threshold=", buf, 20)) { in iwl_dbgfs_pm_params_write() 169 } else if (!strncmp("snooze_enable=", buf, 14)) { in iwl_dbgfs_pm_params_write() 173 } else if (!strncmp("uapsd_misbehaving=", buf, 18)) { in iwl_dbgfs_pm_params_write() 177 } else if (!strncmp("use_ps_poll=", buf, 12)) { in iwl_dbgfs_pm_params_write() [all …]
|
/linux-4.1.27/drivers/video/fbdev/core/ |
D | fb_cmdline.c | 41 if (name_len && ofonly && strncmp(name, "offb", 4)) in fb_get_options() 51 if (!strncmp(name, opt, name_len) && in fb_get_options() 59 if (options && !strncmp(options, "off", 3)) in fb_get_options() 89 if (!global && !strncmp(options, "ofonly", 6)) { in video_setup()
|
/linux-4.1.27/drivers/power/ |
D | gpio-charger.c | 105 if (!strncmp("unknown", chargetype, 7)) in gpio_charger_parse_dt() 107 else if (!strncmp("battery", chargetype, 7)) in gpio_charger_parse_dt() 109 else if (!strncmp("ups", chargetype, 3)) in gpio_charger_parse_dt() 111 else if (!strncmp("mains", chargetype, 5)) in gpio_charger_parse_dt() 113 else if (!strncmp("usb-sdp", chargetype, 7)) in gpio_charger_parse_dt() 115 else if (!strncmp("usb-dcp", chargetype, 7)) in gpio_charger_parse_dt() 117 else if (!strncmp("usb-cdp", chargetype, 7)) in gpio_charger_parse_dt() 119 else if (!strncmp("usb-aca", chargetype, 7)) in gpio_charger_parse_dt()
|
D | bq2415x_charger.c | 1121 if (strncmp(buf, "auto", 4) == 0) in bq2415x_sysfs_set_timer() 1123 else if (strncmp(buf, "off", 3) == 0) in bq2415x_sysfs_set_timer() 1167 if (strncmp(buf, "auto", 4) == 0) { in bq2415x_sysfs_set_mode() 1172 } else if (strncmp(buf, "off", 3) == 0) { in bq2415x_sysfs_set_mode() 1176 } else if (strncmp(buf, "none", 4) == 0) { in bq2415x_sysfs_set_mode() 1180 } else if (strncmp(buf, "host", 4) == 0) { in bq2415x_sysfs_set_mode() 1184 } else if (strncmp(buf, "dedicated", 9) == 0) { in bq2415x_sysfs_set_mode() 1188 } else if (strncmp(buf, "boost", 5) == 0) { in bq2415x_sysfs_set_mode() 1192 } else if (strncmp(buf, "reset", 5) == 0) { in bq2415x_sysfs_set_mode()
|
D | ab8500_bmdata.c | 576 if (strncmp(btech, "LION", 4) == 0) { in ab8500_bm_of_probe() 587 if (strncmp(btech, "LION", 4) == 0) in ab8500_bm_of_probe()
|
/linux-4.1.27/arch/x86/boot/ |
D | early_serial_console.c | 51 if (!strncmp(arg, "serial", 6)) { in parse_earlyprintk() 65 if (pos == 7 && !strncmp(arg + pos, "0x", 2)) { in parse_earlyprintk() 71 } else if (!strncmp(arg + pos, "ttyS", 4)) { in parse_earlyprintk() 127 if (!strncmp(options, "uart8250,io,", 12)) in parse_console_uart8250() 129 else if (!strncmp(options, "uart,io,", 8)) in parse_console_uart8250()
|
D | string.c | 42 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() function
|
/linux-4.1.27/tools/power/cpupower/utils/helpers/ |
D | cpuid.c | 70 if (!strncmp(value, "processor\t: ", 12)) in get_cpu_info() 77 if (!strncmp(value, "vendor_id", 9)) { in get_cpu_info() 83 } else if (!strncmp(value, "cpu family\t: ", 13)) { in get_cpu_info() 86 } else if (!strncmp(value, "model\t\t: ", 9)) { in get_cpu_info() 89 } else if (!strncmp(value, "stepping\t: ", 10)) { in get_cpu_info()
|
/linux-4.1.27/drivers/firmware/ |
D | edd.c | 150 if (!strncmp(info->params.host_bus_type, "ISA", 3)) { in edd_show_host_bus() 153 } else if (!strncmp(info->params.host_bus_type, "PCIX", 4) || in edd_show_host_bus() 154 !strncmp(info->params.host_bus_type, "PCI", 3) || in edd_show_host_bus() 155 !strncmp(info->params.host_bus_type, "XPRS", 4)) { in edd_show_host_bus() 162 } else if (!strncmp(info->params.host_bus_type, "IBND", 4) || in edd_show_host_bus() 163 !strncmp(info->params.host_bus_type, "HTPT", 4)) { in edd_show_host_bus() 195 if (!strncmp(info->params.interface_type, "ATAPI", 5)) { in edd_show_interface() 199 } else if (!strncmp(info->params.interface_type, "ATA", 3)) { in edd_show_interface() 202 } else if (!strncmp(info->params.interface_type, "SCSI", 4)) { in edd_show_interface() 206 } else if (!strncmp(info->params.interface_type, "USB", 3)) { in edd_show_interface() [all …]
|
/linux-4.1.27/drivers/scsi/ |
D | sr_vendor.c | 83 } else if (!strncmp(vendor, "NEC", 3)) { in sr_vendor_init() 85 if (!strncmp(model, "CD-ROM DRIVE:25", 15) || in sr_vendor_init() 86 !strncmp(model, "CD-ROM DRIVE:36", 15) || in sr_vendor_init() 87 !strncmp(model, "CD-ROM DRIVE:83", 15) || in sr_vendor_init() 88 !strncmp(model, "CD-ROM DRIVE:84 ", 16) in sr_vendor_init() 92 || !strncmp(model, "CD-ROM DRIVE:500", 16) in sr_vendor_init() 98 } else if (!strncmp(vendor, "TOSHIBA", 7)) { in sr_vendor_init()
|
D | NCR_D700.c | 135 if(!strncmp(pos, "slot:", 5)) in param_setup() 137 else if(!strncmp(pos, "siop:", 5)) in param_setup() 139 else if(!strncmp(pos, "id:", 3)) { in param_setup()
|
D | sim710.c | 72 if(!strncmp(pos, "slot:", 5)) in param_setup() 74 else if(!strncmp(pos, "id:", 3)) { in param_setup()
|
D | gdth_proc.c | 16 if (strncmp(buffer,"gdth",4) == 0) { in gdth_set_info() 45 if (length >= 5 && strncmp(buffer,"flush",5)==0) { in gdth_set_asc_info() 84 if (length >= 7 && strncmp(buffer,"wbp_off",7)==0) { in gdth_set_asc_info() 89 } else if (length >= 6 && strncmp(buffer,"wbp_on",6)==0) { in gdth_set_asc_info() 94 } else if (length >= 6 && strncmp(buffer,"wb_off",6)==0) { in gdth_set_asc_info() 105 } else if (length >= 5 && strncmp(buffer,"wb_on",5)==0) { in gdth_set_asc_info()
|
D | wd33c93.c | 1821 if (!strncmp(setup_args[x], key, strlen(key))) in check_setup_args() 1823 if (!strncmp(setup_args[x], "next", strlen("next"))) in check_setup_args() 2085 if (!strncmp(bp, "debug:", 6)) { in wd33c93_write_info() 2087 } else if (!strncmp(bp, "disconnect:", 11)) { in wd33c93_write_info() 2092 } else if (!strncmp(bp, "period:", 7)) { in wd33c93_write_info() 2097 } else if (!strncmp(bp, "resync:", 7)) { in wd33c93_write_info() 2099 } else if (!strncmp(bp, "proc:", 5)) { in wd33c93_write_info() 2101 } else if (!strncmp(bp, "nodma:", 6)) { in wd33c93_write_info() 2103 } else if (!strncmp(bp, "level2:", 7)) { in wd33c93_write_info() 2105 } else if (!strncmp(bp, "burst:", 6)) { in wd33c93_write_info() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | obd_mount.c | 729 if (strncmp(dash, "MDT", 3) == 0) in server_name2index() 731 else if (strncmp(dash, "OST", 3) == 0) in server_name2index() 738 if (strncmp(dash, "all", 3) == 0) { in server_name2index() 749 if (endptr != NULL && strncmp(LUSTRE_MDC_NAME, *endptr + 1, in server_name2index() 1029 if (strncmp(s1, "abort_recov", 11) == 0) { in lmd_parse() 1032 } else if (strncmp(s1, "recovery_time_soft=", 19) == 0) { in lmd_parse() 1036 } else if (strncmp(s1, "recovery_time_hard=", 19) == 0) { in lmd_parse() 1040 } else if (strncmp(s1, "noir", 4) == 0) { in lmd_parse() 1043 } else if (strncmp(s1, "nosvc", 5) == 0) { in lmd_parse() 1046 } else if (strncmp(s1, "nomgs", 5) == 0) { in lmd_parse() [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_debugfs.c | 1012 if (strncmp(cmd_buf, "add vsi", 7) == 0) { in i40e_dbg_command_write() 1040 } else if (strncmp(cmd_buf, "del vsi", 7) == 0) { in i40e_dbg_command_write() 1052 } else if (strncmp(cmd_buf, "add relay", 9) == 0) { in i40e_dbg_command_write() 1094 } else if (strncmp(cmd_buf, "del relay", 9) == 0) { in i40e_dbg_command_write() 1121 } else if (strncmp(cmd_buf, "add macaddr", 11) == 0) { in i40e_dbg_command_write() 1159 } else if (strncmp(cmd_buf, "del macaddr", 11) == 0) { in i40e_dbg_command_write() 1196 } else if (strncmp(cmd_buf, "add pvid", 8) == 0) { in i40e_dbg_command_write() 1226 } else if (strncmp(cmd_buf, "del pvid", 8) == 0) { in i40e_dbg_command_write() 1247 } else if (strncmp(cmd_buf, "dump", 4) == 0) { in i40e_dbg_command_write() 1248 if (strncmp(&cmd_buf[5], "switch", 6) == 0) { in i40e_dbg_command_write() [all …]
|
/linux-4.1.27/drivers/usb/dwc3/ |
D | debugfs.c | 404 if (!strncmp(buf, "host", 4)) in dwc3_mode_write() 407 if (!strncmp(buf, "device", 6)) in dwc3_mode_write() 410 if (!strncmp(buf, "otg", 3)) in dwc3_mode_write() 484 if (!strncmp(buf, "test_j", 6)) in dwc3_testmode_write() 486 else if (!strncmp(buf, "test_k", 6)) in dwc3_testmode_write() 488 else if (!strncmp(buf, "test_se0_nak", 12)) in dwc3_testmode_write() 490 else if (!strncmp(buf, "test_packet", 11)) in dwc3_testmode_write() 492 else if (!strncmp(buf, "test_force_enable", 17)) in dwc3_testmode_write() 591 if (!strncmp(buf, "SS.Disabled", 11)) in dwc3_link_state_write() 593 else if (!strncmp(buf, "Rx.Detect", 9)) in dwc3_link_state_write() [all …]
|
/linux-4.1.27/sound/oss/ |
D | sb_card.c | 180 if(!strncmp("CTL",scc->card_id,3)) { in sb_dev2cfg() 188 if(!strncmp("tBA",scc->card_id,3)) { in sb_dev2cfg() 195 if(!strncmp("ESS",scc->card_id,3)) { in sb_dev2cfg() 203 if(!strncmp("CMI",scc->card_id,3)) { in sb_dev2cfg() 210 if(!strncmp("RWB",scc->card_id,3)) { in sb_dev2cfg() 216 if(!strncmp("ALS",scc->card_id,3)) { in sb_dev2cfg() 217 if(!strncmp("ALS0007",scc->card_id,7)) { in sb_dev2cfg() 229 if(!strncmp("RTL",scc->card_id,3)) { in sb_dev2cfg()
|
/linux-4.1.27/drivers/edac/ |
D | edac_stub.c | 40 if (!strncmp(str, "on", 2)) in edac_report_setup() 42 else if (!strncmp(str, "off", 3)) in edac_report_setup() 44 else if (!strncmp(str, "force", 5)) in edac_report_setup()
|
/linux-4.1.27/fs/btrfs/ |
D | xattr.c | 377 if (!strncmp(name, XATTR_SECURITY_PREFIX, in btrfs_is_valid_xattr() 380 else if (!strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN)) in btrfs_is_valid_xattr() 382 else if (!strncmp(name, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN)) in btrfs_is_valid_xattr() 384 else if (!strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) in btrfs_is_valid_xattr() 386 else if (!strncmp(name, XATTR_BTRFS_PREFIX, XATTR_BTRFS_PREFIX_LEN)) in btrfs_is_valid_xattr() 410 if (!strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN)) in btrfs_getxattr() 437 if (!strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN)) in btrfs_setxattr() 444 if (!strncmp(name, XATTR_BTRFS_PREFIX, XATTR_BTRFS_PREFIX_LEN)) in btrfs_setxattr() 472 if (!strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN)) in btrfs_removexattr() 479 if (!strncmp(name, XATTR_BTRFS_PREFIX, XATTR_BTRFS_PREFIX_LEN)) in btrfs_removexattr()
|
D | props.c | 381 if (!strncmp("lzo", value, len)) in prop_compression_validate() 383 else if (!strncmp("zlib", value, len)) in prop_compression_validate() 403 if (!strncmp("lzo", value, len)) in prop_compression_apply() 405 else if (!strncmp("zlib", value, len)) in prop_compression_apply()
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
D | debug.c | 255 if (strncmp(buf, "disable", 7) == 0) { in write_file_beacon() 258 } else if (strncmp(buf, "enable", 6) == 0) { in write_file_beacon() 358 if (strncmp(buf, dbg_info[i].name, in write_file_debug() 462 if (strncmp(buf, "diversity", 9) == 0) { in write_file_antenna() 465 } else if (strncmp(buf, "fixed-a", 7) == 0) { in write_file_antenna() 468 } else if (strncmp(buf, "fixed-b", 7) == 0) { in write_file_antenna() 471 } else if (strncmp(buf, "clear", 5) == 0) { in write_file_antenna() 635 if (strncmp(buf, "clear", 5) == 0) { in write_file_frameerrors() 784 if (strncmp(buf, "sens-low", 8) == 0) { in write_file_ani() 786 } else if (strncmp(buf, "sens-high", 9) == 0) { in write_file_ani() [all …]
|
/linux-4.1.27/arch/nios2/kernel/ |
D | prom.c | 76 if (strncmp(uname, "serial", 6) != 0) in early_init_dt_scan_serial() 88 if (strncmp(p, "altr,juart", 10) == 0) in early_init_dt_scan_serial() 96 if (strncmp(p, "altr,uart", 9) == 0) in early_init_dt_scan_serial()
|
/linux-4.1.27/drivers/pcmcia/ |
D | vrc4171_card.c | 640 if (strncmp(options, "irq:", 4) == 0) { in vrc4171_card_setup() 652 if (strncmp(options, "slota:", 6) == 0) { in vrc4171_card_setup() 655 if (strncmp(options, "memnoprobe", 10) == 0) { in vrc4171_card_setup() 658 } else if (strncmp(options, "ionoprobe", 9) == 0) { in vrc4171_card_setup() 661 } else if ( strncmp(options, "noprobe", 7) == 0) { in vrc4171_card_setup() 674 if (strncmp(options, "slotb:", 6) == 0) { in vrc4171_card_setup() 677 if (strncmp(options, "pccard", 6) == 0) { in vrc4171_card_setup() 680 } else if (strncmp(options, "cf", 2) == 0) { in vrc4171_card_setup() 683 } else if (strncmp(options, "flashrom", 8) == 0) { in vrc4171_card_setup() 686 } else if (strncmp(options, "none", 4) == 0) { in vrc4171_card_setup() [all …]
|
D | socket_sysfs.c | 117 if (!strncmp(buf, "off", 3)) in pccard_store_card_pm_state() 120 if (!strncmp(buf, "on", 2)) in pccard_store_card_pm_state()
|
D | vrc4173_cardu.c | 541 if (strncmp(options, "cardu1:", 7) == 0) { in vrc4173_cardu_setup() 544 if (strncmp(options, "noprobe", 7) == 0) { in vrc4173_cardu_setup() 555 if (strncmp(options, "cardu2:", 7) == 0) { in vrc4173_cardu_setup() 557 if ((*options != '\0') && (strncmp(options, "noprobe", 7) == 0)) in vrc4173_cardu_setup()
|
/linux-4.1.27/scripts/ |
D | unifdef.c | 673 if (strncmp(cp, "\\\r\n", 3) == 0 || in parseline() 674 strncmp(cp, "\\\n", 2) == 0) in parseline() 860 } else if (strncmp(cp, "defined", 7) == 0 && endsym(cp[7])) { in eval_unary() 928 if (strncmp(cp, op->str, strlen(op->str)) == 0) in eval_table() 982 if (strncmp(cp, "\\\r\n", 3) == 0) in skipcomment() 984 else if (strncmp(cp, "\\\n", 2) == 0) in skipcomment() 988 if (strncmp(cp, "/\\\r\n", 4) == 0) { in skipcomment() 991 } else if (strncmp(cp, "/\\\n", 3) == 0) { in skipcomment() 994 } else if (strncmp(cp, "/*", 2) == 0) { in skipcomment() 997 } else if (strncmp(cp, "//", 2) == 0) { in skipcomment() [all …]
|
/linux-4.1.27/arch/powerpc/platforms/chrp/ |
D | pci.c | 225 is_longtrail = strncmp(machine, "IBM,LongTrail", 13) == 0; in chrp_find_bridges() 226 is_mot = strncmp(machine, "MOT", 3) == 0; in chrp_find_bridges() 227 if (strncmp(machine, "Pegasos2", 8) == 0) in chrp_find_bridges() 229 else if (strncmp(machine, "Pegasos", 7) == 0) in chrp_find_bridges() 270 if (strncmp(model, "IBM, Python", 11) == 0) { in chrp_find_bridges() 273 || strncmp(model, "Motorola, Grackle", 17) == 0) { in chrp_find_bridges() 284 } else if (!strncmp(model, "IBM,CPC710", 10)) { in chrp_find_bridges()
|
D | setup.c | 109 if (model && !strncmp(model, "IBM,LongTrail", 13)) { in chrp_show_cpuinfo() 204 if (model && !strncmp(model, "IBM,LongTrail", 13)) { in sio_init() 311 if (machine && strncmp(machine, "Pegasos", 7) == 0) { in chrp_setup_arch() 313 } else if (machine && strncmp(machine, "IBM", 3) == 0) { in chrp_setup_arch() 315 } else if (machine && strncmp(machine, "MOT", 3) == 0) { in chrp_setup_arch() 317 } else if (machine && strncmp(machine, "TotalImpact,BRIQ-1", 18) == 0) { in chrp_setup_arch()
|
/linux-4.1.27/security/integrity/evm/ |
D | evm_posix_acl.c | 21 && (strncmp(XATTR_NAME_POSIX_ACL_ACCESS, xattr, xattr_len) == 0)) in posix_xattr_acl() 24 && (strncmp(XATTR_NAME_POSIX_ACL_DEFAULT, xattr, xattr_len) == 0)) in posix_xattr_acl()
|
D | evm_main.c | 60 if (strncmp(str, "fix", 3) == 0) in evm_set_fixmode() 200 && (strncmp(req_xattr_name, *xattrname, namelen) == 0)) { in evm_protected_xattr() 204 if (strncmp(req_xattr_name, in evm_protected_xattr()
|
/linux-4.1.27/fs/jfs/ |
D | xattr.c | 91 if (strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN) && in is_known_namespace() 92 strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) && in is_known_namespace() 93 strncmp(name, XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN) && in is_known_namespace() 94 strncmp(name, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN)) in is_known_namespace() 675 if (!strncmp(name, XATTR_OS2_PREFIX, XATTR_OS2_PREFIX_LEN)) { in can_set_xattr() 689 if (strncmp(name, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN) && in can_set_xattr() 690 strncmp(name, XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN) && in can_set_xattr() 691 strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) in can_set_xattr() 712 if (strncmp(name, XATTR_OS2_PREFIX, XATTR_OS2_PREFIX_LEN) == 0) { in __jfs_setxattr() 862 if (!strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN)) in jfs_setxattr() [all …]
|
/linux-4.1.27/arch/m68k/sun3/prom/ |
D | console.c | 94 if(strncmp(propb, "serial", sizeof("serial"))) 141 strncmp("display", propb, sizeof("display")) == 0) 146 if(strncmp("serial", propb, sizeof("serial")))
|
/linux-4.1.27/arch/x86/mm/ |
D | setup_nx.c | 22 if (!strncmp(str, "on", 2)) { in noexec_setup() 24 } else if (!strncmp(str, "off", 3)) { in noexec_setup()
|
/linux-4.1.27/init/ |
D | do_mounts_md.c | 159 if (strncmp(devname, "/dev/", 5) == 0) in md_setup_drive() 267 if (!strncmp(str, "noautodetect", wlen)) in raid_setup() 269 if (!strncmp(str, "autodetect", wlen)) in raid_setup() 271 if (strncmp(str, "partitionable", wlen)==0) in raid_setup() 273 if (strncmp(str, "part", wlen)==0) in raid_setup()
|
D | do_mounts.c | 218 if (strncmp(name, "PARTUUID=", 9) == 0) { in name_to_dev_t() 227 if (strncmp(name, "/dev/", 5) != 0) { in name_to_dev_t() 567 if (!strncmp(root_device_name, "mtd", 3) || in prepare_namespace() 568 !strncmp(root_device_name, "ubi", 3)) { in prepare_namespace() 573 if (strncmp(root_device_name, "/dev/", 5) == 0) in prepare_namespace()
|
/linux-4.1.27/arch/sparc/lib/ |
D | strncmp_64.S | 11 ENTRY(strncmp) 30 ENDPROC(strncmp)
|
D | strncmp_32.S | 9 ENTRY(strncmp) 118 ENDPROC(strncmp)
|
/linux-4.1.27/tools/perf/util/ |
D | callchain.c | 74 if (!strncmp(name, "fp", sizeof("fp"))) { in parse_callchain_record_opt() 85 } else if (!strncmp(name, "dwarf", sizeof("dwarf"))) { in parse_callchain_record_opt() 100 } else if (!strncmp(name, "lbr", sizeof("lbr"))) { in parse_callchain_record_opt() 122 if (!strncmp(value, "graph", strlen(value))) { in parse_callchain_mode() 126 if (!strncmp(value, "flat", strlen(value))) { in parse_callchain_mode() 130 if (!strncmp(value, "fractal", strlen(value))) { in parse_callchain_mode() 139 if (!strncmp(value, "caller", strlen(value))) { in parse_callchain_order() 143 if (!strncmp(value, "callee", strlen(value))) { in parse_callchain_order() 152 if (!strncmp(value, "function", strlen(value))) { in parse_callchain_sort_key() 156 if (!strncmp(value, "address", strlen(value))) { in parse_callchain_sort_key() [all …]
|
D | map.c | 33 return !strncmp(filename, "[stack", 6) || in is_no_dso_memory() 34 !strncmp(filename, "/SYSV",5) || in is_no_dso_memory() 40 return !strncmp(filename, "/data/app-lib", 13) || in is_android_lib() 41 !strncmp(filename, "/system/lib", 11); in is_android_lib() 61 if (!strncmp(filename, "/data/app-lib", 13)) { in replace_android_lib() 85 if (!strncmp(filename, "/system/lib/", 11)) { in replace_android_lib() 103 arch = !strncmp(app_abi, "arm", 3) ? "arm" : in replace_android_lib() 104 !strncmp(app_abi, "mips", 4) ? "mips" : in replace_android_lib() 105 !strncmp(app_abi, "x86", 3) ? "x86" : NULL; in replace_android_lib()
|
D | find-vdso-map.c | 23 if (!strncmp(&line[m], VDSO__MAP_NAME, in find_vdso_map()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | pm-debug.c | 83 strncmp(clkdm->name, "dpll", 4) == 0) in clkdm_dbg_show_counter() 99 strncmp(pwrdm->name, "dpll", 4) == 0) in pwrdm_dbg_show_counter() 129 strncmp(pwrdm->name, "dpll", 4) == 0) in pwrdm_dbg_show_timer() 216 if (strncmp(pwrdm->name, "dpll", 4) == 0) in pwrdms_setup()
|
D | opp.c | 71 if (!strncmp(opp_def->hwmod_name, "mpu", 3)) { in omap_init_opp_table()
|
/linux-4.1.27/drivers/misc/cxl/ |
D | sysfs.c | 98 if (!strncmp(buf, "none", 4)) in load_image_on_perst_store() 100 else if (!strncmp(buf, "user", 4)) { in load_image_on_perst_store() 103 } else if (!strncmp(buf, "factory", 7)) { in load_image_on_perst_store() 273 if (!strncmp(buf, "work_element_descriptor", 23)) in prefault_mode_store() 275 if (!strncmp(buf, "all", 3)) in prefault_mode_store() 277 if (!strncmp(buf, "none", 4)) in prefault_mode_store() 312 if (!strncmp(buf, "dedicated_process", 17)) in mode_store() 314 if (!strncmp(buf, "afu_directed", 12)) in mode_store() 316 if (!strncmp(buf, "none", 4)) in mode_store()
|
/linux-4.1.27/net/batman-adv/ |
D | sysfs.c | 232 if ((strncmp(buff, "1", 2) == 0) || in batadv_store_bool_attr() 233 (strncmp(buff, "enable", 7) == 0) || in batadv_store_bool_attr() 234 (strncmp(buff, "enabled", 8) == 0)) in batadv_store_bool_attr() 237 if ((strncmp(buff, "0", 2) == 0) || in batadv_store_bool_attr() 238 (strncmp(buff, "disable", 8) == 0) || in batadv_store_bool_attr() 239 (strncmp(buff, "disabled", 9) == 0)) in batadv_store_bool_attr() 381 if (strncmp(buff, BATADV_GW_MODE_OFF_NAME, in batadv_store_gw_mode() 385 if (strncmp(buff, BATADV_GW_MODE_CLIENT_NAME, in batadv_store_gw_mode() 389 if (strncmp(buff, BATADV_GW_MODE_SERVER_NAME, in batadv_store_gw_mode() 774 if (strncmp(buff, "none", 4) == 0) in batadv_store_mesh_iface() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | xattr.c | 69 if (!strncmp(name, XATTR_USER_PREFIX, in get_xattr_type() 73 if (!strncmp(name, XATTR_TRUSTED_PREFIX, in get_xattr_type() 77 if (!strncmp(name, XATTR_SECURITY_PREFIX, in get_xattr_type() 81 if (!strncmp(name, XATTR_LUSTRE_PREFIX, in get_xattr_type() 227 if ((strncmp(name, XATTR_TRUSTED_PREFIX, in ll_setxattr() 230 (strncmp(name, XATTR_LUSTRE_PREFIX, in ll_setxattr() 470 if ((strncmp(name, XATTR_TRUSTED_PREFIX, in ll_getxattr() 473 (strncmp(name, XATTR_LUSTRE_PREFIX, in ll_getxattr()
|
/linux-4.1.27/drivers/sfi/ |
D | sfi_core.c | 203 if (strncmp(th->sig, key->sig, SFI_SIGNATURE_SIZE) in sfi_table_check_key() 204 || (key->oem_id && strncmp(th->oem_id, in sfi_table_check_key() 206 || (key->oem_table_id && strncmp(th->oem_table_id, in sfi_table_check_key() 354 if (strncmp(syst_hdr->sig, SFI_SIG_SYST, in sfi_find_syst() 403 if (strncmp(SFI_SIG_SYST, tbl_attr->name, SFI_SIGNATURE_SIZE)) { in sfi_table_show()
|
/linux-4.1.27/arch/mips/fw/arc/ |
D | cmdline.c | 46 if (!strncmp(prom_argv(actr), used_arc[i][0], len)) { in move_firmware_args() 85 if (!strncmp(prom_argv(actr), ignored[i], len)) in prom_init_cmdline()
|
/linux-4.1.27/drivers/gpu/vga/ |
D | vga_switcheroo.c | 410 if (strncmp(usercmd, "OFF", 3) == 0) { in vga_switcheroo_debugfs_write() 423 if (strncmp(usercmd, "ON", 2) == 0) { in vga_switcheroo_debugfs_write() 437 if (strncmp(usercmd, "DIGD", 4) == 0) { in vga_switcheroo_debugfs_write() 442 if (strncmp(usercmd, "DDIS", 4) == 0) { in vga_switcheroo_debugfs_write() 447 if (strncmp(usercmd, "IGD", 3) == 0) in vga_switcheroo_debugfs_write() 450 if (strncmp(usercmd, "DIS", 3) == 0) in vga_switcheroo_debugfs_write() 453 if (strncmp(usercmd, "MIGD", 4) == 0) { in vga_switcheroo_debugfs_write() 457 if (strncmp(usercmd, "MDIS", 4) == 0) { in vga_switcheroo_debugfs_write()
|
D | vgaarb.c | 98 if (strncmp(buf, "none", 4) == 0) { in vga_str_to_iostate() 104 if (strncmp(buf, "io+mem", 6) == 0) in vga_str_to_iostate() 106 else if (strncmp(buf, "io", 2) == 0) in vga_str_to_iostate() 108 else if (strncmp(buf, "mem", 3) == 0) in vga_str_to_iostate() 929 if (strncmp(curr_pos, "lock ", 5) == 0) { in vga_arb_write() 965 } else if (strncmp(curr_pos, "unlock ", 7) == 0) { in vga_arb_write() 971 if (strncmp(curr_pos, "all", 3) == 0) in vga_arb_write() 1021 } else if (strncmp(curr_pos, "trylock ", 8) == 0) { in vga_arb_write() 1062 } else if (strncmp(curr_pos, "target ", 7) == 0) { in vga_arb_write() 1070 if (!strncmp(curr_pos, "default", 7)) in vga_arb_write() [all …]
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-test.c | 91 if (strncmp(buf, "tick", 4) == 0 && rtc->pie_enabled) in test_irq_store() 93 else if (strncmp(buf, "alarm", 5) == 0) { in test_irq_store() 100 } else if (strncmp(buf, "update", 6) == 0 && rtc->uie_rtctimer.enabled) in test_irq_store()
|
/linux-4.1.27/tools/power/cpupower/utils/idle_monitor/ |
D | cpuidle_sysfs.c | 84 if (!strncmp(tmp, "NHM-", 4)) { in fix_up_intel_idle_driver_name() 96 } else if (!strncmp(tmp, "SNB-", 4)) { in fix_up_intel_idle_driver_name() 111 } else if (!strncmp(tmp, "ATM-", 4)) { in fix_up_intel_idle_driver_name()
|
/linux-4.1.27/drivers/macintosh/ |
D | via-pmu-led.c | 99 if (strncmp(model, "PowerBook", strlen("PowerBook")) != 0 && in via_pmu_led_init() 100 strncmp(model, "iBook", strlen("iBook")) != 0 && in via_pmu_led_init()
|
D | macio_asic.c | 438 if (strncmp(np->name, "battery", 7) == 0) in macio_skip_device() 440 if (strncmp(np->name, "escc-legacy", 11) == 0) in macio_skip_device() 489 else if (strncmp(np->name, "media-bay", 9) == 0) in macio_pci_add_devices() 491 else if (strncmp(np->name, "escc", 4) == 0) in macio_pci_add_devices()
|
D | windfarm_ad7417_sensor.c | 251 if (!strncmp(loc, "CPU A", 5)) in wf_ad7417_probe() 253 else if (!strncmp(loc, "CPU B", 5)) in wf_ad7417_probe()
|
/linux-4.1.27/drivers/video/fbdev/via/ |
D | viafbdev.c | 1077 if (!strncmp(opt_str, "DVP0", 4)) in parse_port() 1079 else if (!strncmp(opt_str, "DVP1", 4)) in parse_port() 1081 else if (!strncmp(opt_str, "DFP_HIGHLOW", 11)) in parse_port() 1083 else if (!strncmp(opt_str, "DFP_HIGH", 8)) in parse_port() 1085 else if (!strncmp(opt_str, "DFP_LOW", 7)) in parse_port() 1979 if (!strncmp(this_opt, "viafb_mode1=", 12)) { in viafb_setup() 1981 } else if (!strncmp(this_opt, "viafb_mode=", 11)) { in viafb_setup() 1983 } else if (!strncmp(this_opt, "viafb_bpp1=", 11)) { in viafb_setup() 1986 } else if (!strncmp(this_opt, "viafb_bpp=", 10)) { in viafb_setup() 1989 } else if (!strncmp(this_opt, "viafb_refresh1=", 15)) { in viafb_setup() [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_debugfs.c | 102 if (strncmp(ixgbe_dbg_reg_ops_buf, "write", 5) == 0) { in ixgbe_dbg_reg_ops_write() 113 } else if (strncmp(ixgbe_dbg_reg_ops_buf, "read", 4) == 0) { in ixgbe_dbg_reg_ops_write() 207 if (strncmp(ixgbe_dbg_netdev_ops_buf, "tx_timeout", 10) == 0) { in ixgbe_dbg_netdev_ops_write()
|
/linux-4.1.27/drivers/remoteproc/ |
D | remoteproc_debugfs.c | 170 if (!strncmp(buf, "enabled", count)) { in rproc_recovery_write() 175 } else if (!strncmp(buf, "disabled", count)) { in rproc_recovery_write() 177 } else if (!strncmp(buf, "recover", count)) { in rproc_recovery_write()
|
/linux-4.1.27/drivers/iommu/ |
D | irq_remapping.c | 178 if (!strncmp(str, "on", 2)) in setup_irqremap() 180 else if (!strncmp(str, "off", 3)) in setup_irqremap() 182 else if (!strncmp(str, "nosid", 5)) in setup_irqremap() 184 else if (!strncmp(str, "no_x2apic_optout", 16)) in setup_irqremap()
|
/linux-4.1.27/drivers/leds/ |
D | leds-max8997.c | 212 if (!strncmp(buf, "FLASH_PIN_CONTROL", 17)) in max8997_led_store_mode() 214 else if (!strncmp(buf, "MOVIE_PIN_CONTROL", 17)) in max8997_led_store_mode() 216 else if (!strncmp(buf, "FLASH", 5)) in max8997_led_store_mode() 218 else if (!strncmp(buf, "MOVIE", 5)) in max8997_led_store_mode()
|
D | leds-lp5521.c | 411 if (!strncmp(buf, "run", 3)) { in store_engine_mode() 414 } else if (!strncmp(buf, "load", 4)) { in store_engine_mode() 418 } else if (!strncmp(buf, "disabled", 8)) { in store_engine_mode()
|
/linux-4.1.27/drivers/tty/serial/ |
D | kgdboc.c | 100 if (strncmp(*cptr, "kbd", 3) == 0 || in kgdboc_register_kbd() 101 strncmp(*cptr, "kdb", 3) == 0) { in kgdboc_register_kbd() 173 if (strncmp(cptr, "kms,", 4) == 0) { in configure_kgdboc()
|
/linux-4.1.27/drivers/s390/block/ |
D | dasd_devmap.c | 137 if (strncmp(DASD_IPLDEV, *str, strlen(DASD_IPLDEV)) == 0) { in dasd_busid() 206 if (len == 2 && !strncmp(str, "ro", 2)) in dasd_feature_list() 208 else if (len == 4 && !strncmp(str, "diag", 4)) in dasd_feature_list() 210 else if (len == 3 && !strncmp(str, "raw", 3)) in dasd_feature_list() 212 else if (len == 6 && !strncmp(str, "erplog", 6)) in dasd_feature_list() 214 else if (len == 8 && !strncmp(str, "failfast", 8)) in dasd_feature_list() 258 if (strncmp("autodetect", parsestring, length) == 0) { in dasd_parse_keyword() 263 if (strncmp("probeonly", parsestring, length) == 0) { in dasd_parse_keyword() 268 if (strncmp("nopav", parsestring, length) == 0) { in dasd_parse_keyword() 277 if (strncmp("nofcx", parsestring, length) == 0) { in dasd_parse_keyword() [all …]
|
/linux-4.1.27/drivers/video/fbdev/ |
D | efifb.c | 103 if (!strncmp(this_opt, "base:", 5)) in efifb_setup() 105 else if (!strncmp(this_opt, "stride:", 7)) in efifb_setup() 107 else if (!strncmp(this_opt, "height:", 7)) in efifb_setup() 109 else if (!strncmp(this_opt, "width:", 6)) in efifb_setup()
|
D | pxafb.c | 1923 if (!strncmp(this_opt, "vmem:", 5)) { in parse_opt() 1925 } else if (!strncmp(this_opt, "mode:", 5)) { in parse_opt() 1927 } else if (!strncmp(this_opt, "pixclock:", 9)) { in parse_opt() 1930 } else if (!strncmp(this_opt, "left:", 5)) { in parse_opt() 1933 } else if (!strncmp(this_opt, "right:", 6)) { in parse_opt() 1936 } else if (!strncmp(this_opt, "upper:", 6)) { in parse_opt() 1939 } else if (!strncmp(this_opt, "lower:", 6)) { in parse_opt() 1942 } else if (!strncmp(this_opt, "hsynclen:", 9)) { in parse_opt() 1945 } else if (!strncmp(this_opt, "vsynclen:", 9)) { in parse_opt() 1948 } else if (!strncmp(this_opt, "hsync:", 6)) { in parse_opt() [all …]
|
D | offb.c | 328 if (dp && !strncmp(name, "ATY,Rage128", 11)) { in offb_init_palette_hacks() 332 } else if (dp && (!strncmp(name, "ATY,RageM3pA", 12) in offb_init_palette_hacks() 333 || !strncmp(name, "ATY,RageM3p12A", 14))) { in offb_init_palette_hacks() 337 } else if (dp && !strncmp(name, "ATY,RageM3pB", 12)) { in offb_init_palette_hacks() 341 } else if (dp && !strncmp(name, "ATY,Rage6", 9)) { in offb_init_palette_hacks() 345 } else if (!strncmp(name, "ATY,", 4)) { in offb_init_palette_hacks() 356 } else if (dp && !strncmp(name, "vga,Display-", 12)) { in offb_init_palette_hacks()
|
D | fm2fb.c | 304 if (!strncmp(this_opt, "pal", 3)) in fm2fb_setup() 306 else if (!strncmp(this_opt, "ntsc", 4)) in fm2fb_setup()
|
D | acornfb.c | 816 if (strncmp(opt, "tv", 2) == 0) { in acornfb_parse_montype() 819 } else if (strncmp(opt, "multi", 5) == 0) { in acornfb_parse_montype() 822 } else if (strncmp(opt, "hires", 5) == 0) { in acornfb_parse_montype() 825 } else if (strncmp(opt, "vga", 3) == 0) { in acornfb_parse_montype() 828 } else if (strncmp(opt, "svga", 4) == 0) { in acornfb_parse_montype() 831 } else if (strncmp(opt, "auto", 4) == 0) { in acornfb_parse_montype() 904 if (strncmp(opt, optp->name, optlen) == 0 && in acornfb_setup()
|
D | vesafb.c | 216 else if (! strncmp(this_opt, "mtrr:", 5)) in vesafb_setup() 220 else if (! strncmp(this_opt, "vtotal:", 7)) in vesafb_setup() 222 else if (! strncmp(this_opt, "vremap:", 7)) in vesafb_setup()
|
D | grvga.c | 369 if (!strncmp(this_opt, "custom", 6)) { in grvga_probe() 375 } else if (!strncmp(this_opt, "addr", 4)) in grvga_probe() 377 else if (!strncmp(this_opt, "size", 4)) in grvga_probe()
|
D | tridentfb.c | 1610 if (!strncmp(opt, "noaccel", 7)) in tridentfb_setup() 1612 else if (!strncmp(opt, "fp", 2)) in tridentfb_setup() 1614 else if (!strncmp(opt, "crt", 3)) in tridentfb_setup() 1616 else if (!strncmp(opt, "bpp=", 4)) in tridentfb_setup() 1618 else if (!strncmp(opt, "center", 6)) in tridentfb_setup() 1620 else if (!strncmp(opt, "stretch", 7)) in tridentfb_setup() 1622 else if (!strncmp(opt, "memsize=", 8)) in tridentfb_setup() 1624 else if (!strncmp(opt, "memdiff=", 8)) in tridentfb_setup() 1626 else if (!strncmp(opt, "nativex=", 8)) in tridentfb_setup()
|
/linux-4.1.27/drivers/misc/ |
D | kgdbts.c | 411 if (!strncmp(put_str+1, arg, 2)) { in got_break() 412 if (!strncmp(arg, "T0", 2)) in got_break() 435 if (strncmp(put_str, "$OK", 3)) in emul_reset() 500 if (strncmp(put_str, "$OK", 3)) { in emul_sstep_put() 506 if (strncmp(put_str, "$T0", 3)) { in emul_sstep_put() 515 if (strncmp(put_str, "$OK", 3)) { in emul_sstep_put() 533 if (strncmp(put_str+1, arg, 2)) in final_ack_set()
|
D | fsa9480.c | 157 if (!strncmp(buf, "VAUDIO", 6)) { in fsa9480_set_switch() 160 } else if (!strncmp(buf, "UART", 4)) { in fsa9480_set_switch() 163 } else if (!strncmp(buf, "AUDIO", 5)) { in fsa9480_set_switch() 166 } else if (!strncmp(buf, "DHOST", 5)) { in fsa9480_set_switch() 169 } else if (!strncmp(buf, "AUTO", 4)) { in fsa9480_set_switch()
|
/linux-4.1.27/drivers/video/fbdev/matrox/ |
D | matroxfb_base.c | 2340 if (!strncmp(this_opt, "dev:", 4)) in matroxfb_setup() 2342 else if (!strncmp(this_opt, "depth:", 6)) { in matroxfb_setup() 2354 } else if (!strncmp(this_opt, "xres:", 5)) in matroxfb_setup() 2356 else if (!strncmp(this_opt, "yres:", 5)) in matroxfb_setup() 2358 else if (!strncmp(this_opt, "vslen:", 6)) in matroxfb_setup() 2360 else if (!strncmp(this_opt, "hslen:", 6)) in matroxfb_setup() 2362 else if (!strncmp(this_opt, "left:", 5)) in matroxfb_setup() 2364 else if (!strncmp(this_opt, "right:", 6)) in matroxfb_setup() 2366 else if (!strncmp(this_opt, "upper:", 6)) in matroxfb_setup() 2368 else if (!strncmp(this_opt, "lower:", 6)) in matroxfb_setup() [all …]
|
/linux-4.1.27/block/ |
D | cmdline-parser.c | 61 if (!strncmp(partdef, "ro", 2)) { in parse_subpart() 66 if (!strncmp(partdef, "lk", 2)) { in parse_subpart() 214 while (parts && strncmp(bdev, parts->name, sizeof(parts->name))) in cmdline_parts_find()
|
/linux-4.1.27/scripts/mod/ |
D | modpost.c | 265 #define strstarts(str, prefix) (strncmp(str, prefix, strlen(prefix)) == 0) 584 if (strncmp(symname, "_restgpr_", sizeof("_restgpr_") - 1) == 0 || in ignore_undef_symbol() 585 strncmp(symname, "_savegpr_", sizeof("_savegpr_") - 1) == 0 || in ignore_undef_symbol() 586 strncmp(symname, "_rest32gpr_", sizeof("_rest32gpr_") - 1) == 0 || in ignore_undef_symbol() 587 strncmp(symname, "_save32gpr_", sizeof("_save32gpr_") - 1) == 0 || in ignore_undef_symbol() 588 strncmp(symname, "_restvr_", sizeof("_restvr_") - 1) == 0 || in ignore_undef_symbol() 589 strncmp(symname, "_savevr_", sizeof("_savevr_") - 1) == 0) in ignore_undef_symbol() 593 if (strncmp(symname, "_restgpr0_", sizeof("_restgpr0_") - 1) == 0 || in ignore_undef_symbol() 594 strncmp(symname, "_savegpr0_", sizeof("_savegpr0_") - 1) == 0 || in ignore_undef_symbol() 595 strncmp(symname, "_restvr_", sizeof("_restvr_") - 1) == 0 || in ignore_undef_symbol() [all …]
|
/linux-4.1.27/arch/x86/lib/ |
D | string_32.c | 117 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() function 138 EXPORT_SYMBOL(strncmp);
|
/linux-4.1.27/arch/s390/kernel/ |
D | setup.c | 146 if (strncmp(str, "hwc", 4) == 0 || strncmp(str, "sclp", 5) == 0) in conmode_setup() 150 if (strncmp(str, "3215", 5) == 0) in conmode_setup() 154 if (strncmp(str, "3270", 5) == 0) in conmode_setup() 189 if (strncmp(ptr + 8, "3270", 4) == 0) { in conmode_default() 197 } else if (strncmp(ptr + 8, "3215", 4) == 0) { in conmode_default()
|
D | vdso.c | 59 if (strncmp(s, "on", 3) == 0) in vdso_setup() 61 else if (strncmp(s, "off", 4) == 0) in vdso_setup()
|
/linux-4.1.27/drivers/hid/ |
D | hid-sensor-custom.c | 306 if (!strncmp(name, "value", strlen("value"))) { in show_value() 362 } else if (!strncmp(name, "units", strlen("units"))) in show_value() 364 else if (!strncmp(name, "unit-expo", strlen("unit-expo"))) in show_value() 366 else if (!strncmp(name, "size", strlen("size"))) in show_value() 368 else if (!strncmp(name, "minimum", strlen("minimum"))) in show_value() 371 else if (!strncmp(name, "maximum", strlen("maximum"))) in show_value() 374 else if (!strncmp(name, "name", strlen("name"))) { in show_value() 407 if (!strncmp(name, "value", strlen("value"))) { in store_value()
|
/linux-4.1.27/drivers/staging/sm750fb/ |
D | sm750.c | 1032 if (!strncmp(opt, "swap", strlen("swap"))) in sm750fb_setup() 1034 else if (!strncmp(opt, "nocrt", strlen("nocrt"))) in sm750fb_setup() 1036 else if (!strncmp(opt, "36bit", strlen("36bit"))) in sm750fb_setup() 1038 else if (!strncmp(opt, "18bit", strlen("18bit"))) in sm750fb_setup() 1040 else if (!strncmp(opt, "24bit", strlen("24bit"))) in sm750fb_setup() 1043 else if (!strncmp(opt, "exp:", strlen("exp:"))) in sm750fb_setup() 1046 else if (!strncmp(opt, "nohwc0", strlen("nohwc0"))) in sm750fb_setup() 1048 else if (!strncmp(opt, "nohwc1", strlen("nohwc1"))) in sm750fb_setup() 1050 else if (!strncmp(opt, "nohwc", strlen("nohwc"))) in sm750fb_setup() 1322 if (!strncmp(opt, "noaccel", strlen("noaccel"))) in lynxfb_setup() [all …]
|
/linux-4.1.27/fs/ceph/ |
D | xattr.c | 33 return !strncmp(name, XATTR_CEPH_PREFIX, XATTR_CEPH_PREFIX_LEN) || in ceph_is_valid_xattr() 34 !strncmp(name, XATTR_SECURITY_PREFIX, in ceph_is_valid_xattr() 36 !strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN) || in ceph_is_valid_xattr() 37 !strncmp(name, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN) || in ceph_is_valid_xattr() 38 !strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in ceph_is_valid_xattr() 354 c = strncmp(name, xattr->name, min(name_len, xattr->name_len)); in __set_xattr() 447 c = strncmp(name, xattr->name, xattr->name_len); in __get_xattr() 776 if (!strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN)) in ceph_getxattr() 932 if (!strncmp(name, XATTR_CEPH_PREFIX, XATTR_CEPH_PREFIX_LEN)) in __ceph_setxattr() 1008 if (!strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN)) in ceph_setxattr() [all …]
|
/linux-4.1.27/include/linux/ |
D | string.h | 41 extern int strncmp(const char *,const char *,__kernel_size_t); 144 return strncmp(str, prefix, strlen(prefix)) == 0; in strstarts()
|
/linux-4.1.27/tools/usb/usbip/src/ |
D | usbip_bind.c | 101 if (!strncmp(bDevClass, "09", strlen(bDevClass))) { in unbind_other() 113 if (!strncmp(USBIP_HOST_DRV_NAME, driver, in unbind_other()
|
/linux-4.1.27/drivers/usb/usbip/ |
D | stub_main.c | 62 if (!strncmp(busid_table[i].name, busid, BUSID_SIZE)) { in get_busid_idx() 166 if (!strncmp(buf, "add ", 4)) { in store_match_busid() 174 if (!strncmp(buf, "del ", 4)) { in store_match_busid()
|
/linux-4.1.27/drivers/pci/pcie/ |
D | portdrv_pci.c | 45 if (!strncmp(str, "compat", 6)) { in pcie_port_setup() 47 } else if (!strncmp(str, "native", 6)) { in pcie_port_setup() 50 } else if (!strncmp(str, "auto", 4)) { in pcie_port_setup()
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | dlpar.c | 585 if (!strncmp(arg, "memory", 6)) { in dlpar_store() 594 if (!strncmp(arg, "add", 3)) { in dlpar_store() 597 } else if (!strncmp(arg, "remove", 6)) { in dlpar_store() 606 if (!strncmp(arg, "index", 5)) { in dlpar_store() 618 } else if (!strncmp(arg, "count", 5)) { in dlpar_store()
|
D | firmware.c | 90 if (strncmp(name, s, size - 1)) in fw_hypertas_feature_init()
|
/linux-4.1.27/arch/blackfin/kernel/ |
D | early_printk.c | 127 if (!strncmp(buf, "serial,uart", 11)) { in setup_early_printk() 135 if (!strncmp(buf, "jtag", 4)) { in setup_early_printk()
|
D | bfin_ksyms.c | 46 EXPORT_SYMBOL(strncmp);
|
/linux-4.1.27/arch/mips/sni/ |
D | setup.c | 68 if (strncmp(cdev, "tty", 3) == 0) { in sni_console_setup() 83 if (strncmp(cdev, "tty552", 6) == 0) in sni_console_setup()
|
/linux-4.1.27/drivers/xen/xenbus/ |
D | xenbus_probe_frontend.c | 62 if (!strncmp(type, "console", 7) && !strncmp(name, "0", 1)) { in xenbus_probe_frontend() 206 if ((strncmp(xendev->nodename, "device/vkbd", 11) == 0)) in is_device_connecting() 209 if ((strncmp(xendev->nodename, "device/vfb", 10) == 0)) in is_device_connecting()
|
/linux-4.1.27/drivers/pnp/pnpbios/ |
D | core.c | 415 if (strncmp(str, "off", 3) == 0) in pnpbios_setup() 417 if (strncmp(str, "on", 2) == 0) in pnpbios_setup() 419 invert = (strncmp(str, "no-", 3) == 0); in pnpbios_setup() 422 if (strncmp(str, "curr", 4) == 0) in pnpbios_setup()
|
/linux-4.1.27/fs/ocfs2/ |
D | stack_user.c | 203 !strncmp(c->oc_conn->cc_name, name, len)) in ocfs2_connection_find() 275 if (strncmp(kbuf, OCFS2_CONTROL_PROTO, OCFS2_CONTROL_PROTO_LEN)) in ocfs2_control_validate_protocol() 379 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_SETNODE_OP, in ocfs2_control_do_setnode_msg() 412 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_SETVERSION_OP, in ocfs2_control_do_setversion_msg() 459 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_DOWN_OP, in ocfs2_control_do_down_msg() 498 !strncmp(msg.tag, OCFS2_CONTROL_MESSAGE_SETNODE_OP, in ocfs2_control_message() 502 !strncmp(msg.tag, OCFS2_CONTROL_MESSAGE_SETVERSION_OP, in ocfs2_control_message() 506 !strncmp(msg.tag, OCFS2_CONTROL_MESSAGE_DOWN_OP, in ocfs2_control_message()
|
/linux-4.1.27/drivers/ide/ |
D | ide-sysfs.c | 98 if (strncmp(buf, "1", n)) in store_delete_devices() 114 if (strncmp(buf, "1", n)) in store_scan()
|
D | ide-pio-blacklist.c | 91 if (strncmp(p->name, model, strlen(p->name)) == 0) in ide_scan_pio_blacklist()
|
/linux-4.1.27/drivers/base/power/ |
D | sysfs.c | 118 if (len == sizeof ctrl_auto - 1 && strncmp(buf, ctrl_auto, len) == 0) in control_store() 120 else if (len == sizeof ctrl_on - 1 && strncmp(buf, ctrl_on, len) == 0) in control_store() 359 && strncmp(buf, _enabled, sizeof _enabled - 1) == 0) in wake_store() 362 && strncmp(buf, _disabled, sizeof _disabled - 1) == 0) in wake_store() 579 if (len == sizeof _enabled - 1 && strncmp(buf, _enabled, len) == 0) in async_store() 582 strncmp(buf, _disabled, len) == 0) in async_store()
|
/linux-4.1.27/drivers/target/iscsi/ |
D | iscsi_target_nego.c | 283 if (!strncmp(param->name, SESSIONTYPE, 11)) { in iscsi_target_check_first_request() 291 if (!strncmp(param->value, DISCOVERY, 9)) in iscsi_target_check_first_request() 295 if (!strncmp(param->name, INITIATORNAME, 13)) { in iscsi_target_check_first_request() 832 !strncmp(param->value, NONE, 4)) { in iscsi_target_handle_csg_zero() 845 if (strncmp(param->value, NONE, 4) && !login->auth_complete) in iscsi_target_handle_csg_zero() 1057 if (!strncmp(key, "InitiatorName", 13)) in iscsi_target_locate_portal() 1059 else if (!strncmp(key, "SessionType", 11)) in iscsi_target_locate_portal() 1061 else if (!strncmp(key, "TargetName", 10)) in iscsi_target_locate_portal() 1099 sessiontype = strncmp(s_buf, DISCOVERY, 9); in iscsi_target_locate_portal()
|
/linux-4.1.27/tools/perf/ |
D | builtin-mem.c | 308 if (!argc || !(strncmp(argv[0], "rec", 3) || mem.operation)) in cmd_mem() 318 if (!strncmp(argv[0], "rec", 3)) in cmd_mem() 320 else if (!strncmp(argv[0], "rep", 3)) in cmd_mem()
|
D | builtin-kvm.c | 1442 if (!strncmp(argv[1], "rec", 3)) in kvm_cmd_stat() 1445 if (!strncmp(argv[1], "rep", 3)) in kvm_cmd_stat() 1449 if (!strncmp(argv[1], "live", 4)) in kvm_cmd_stat() 1563 if (!strncmp(argv[0], "rec", 3)) in cmd_kvm() 1565 else if (!strncmp(argv[0], "rep", 3)) in cmd_kvm() 1567 else if (!strncmp(argv[0], "diff", 4)) in cmd_kvm() 1569 else if (!strncmp(argv[0], "top", 3)) in cmd_kvm() 1571 else if (!strncmp(argv[0], "buildid-list", 12)) in cmd_kvm() 1574 else if (!strncmp(argv[0], "stat", 4)) in cmd_kvm()
|
/linux-4.1.27/samples/bpf/ |
D | bpf_load.c | 35 bool is_socket = strncmp(event, "socket", 6) == 0; in load_and_attach() 36 bool is_kprobe = strncmp(event, "kprobe/", 7) == 0; in load_and_attach() 37 bool is_kretprobe = strncmp(event, "kretprobe/", 10) == 0; in load_and_attach()
|
/linux-4.1.27/arch/x86/kernel/cpu/mtrr/ |
D | if.c | 126 if (!strncmp(line, "disable=", 8)) { in mtrr_write() 134 if (strncmp(line, "base=", 5)) in mtrr_write() 140 if (strncmp(ptr, "size=", 5)) in mtrr_write() 148 if (strncmp(ptr, "type=", 5)) in mtrr_write()
|
/linux-4.1.27/arch/alpha/kernel/ |
D | setup.c | 542 alpha_using_srm = strncmp((const char *)hwrpb->ssn, "MILO", 4) != 0; in setup_arch() 574 if (strncmp(p, "alpha_mv=", 9) == 0) { in setup_arch() 578 if (strncmp(p, "cycle=", 6) == 0) { in setup_arch() 582 if (strncmp(p, "mem=", 4) == 0) { in setup_arch() 586 if (strncmp(p, "srmcons", 7) == 0) { in setup_arch() 590 if (strncmp(p, "console=srm", 11) == 0) { in setup_arch() 594 if (strncmp(p, "gartsize=", 9) == 0) { in setup_arch() 600 if (strncmp(p, "verbose_mcheck=", 15) == 0) { in setup_arch()
|
/linux-4.1.27/drivers/video/fbdev/i810/ |
D | i810_main.c | 1965 if (!strncmp(this_opt, "mtrr", 4)) in i810fb_setup() 1967 else if (!strncmp(this_opt, "accel", 5)) in i810fb_setup() 1969 else if (!strncmp(this_opt, "extvga", 6)) in i810fb_setup() 1971 else if (!strncmp(this_opt, "sync", 4)) in i810fb_setup() 1973 else if (!strncmp(this_opt, "vram:", 5)) in i810fb_setup() 1975 else if (!strncmp(this_opt, "voffset:", 8)) in i810fb_setup() 1977 else if (!strncmp(this_opt, "xres:", 5)) in i810fb_setup() 1979 else if (!strncmp(this_opt, "yres:", 5)) in i810fb_setup() 1981 else if (!strncmp(this_opt, "vyres:", 6)) in i810fb_setup() 1983 else if (!strncmp(this_opt, "bpp:", 4)) in i810fb_setup() [all …]
|
/linux-4.1.27/tools/net/ |
D | bpf_asm.c | 35 if (!strncmp("-c", argv[i], 2)) { in main()
|
/linux-4.1.27/drivers/sn/ |
D | ioc3.c | 298 if(!strncmp(part, "060-0035-", 9)) in read_nic() 300 if(!strncmp(part, "060-0038-", 9)) in read_nic() 585 if(!strncmp(idd->nic_part, "030-0891-", 9)) in ioc3_class() 587 if(!strncmp(idd->nic_part, "030-1155-", 9)) in ioc3_class() 589 if(!strncmp(idd->nic_part, "030-1657-", 9)) in ioc3_class() 591 if(!strncmp(idd->nic_part, "030-1664-", 9)) in ioc3_class()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | string.h | 22 extern int strncmp(const char *, const char *, __kernel_size_t);
|
/linux-4.1.27/drivers/acpi/ |
D | blacklist.c | 89 if (strncmp(acpi_blacklist[i].oem_id, table_header.oem_id, 6)) { in acpi_blacklisted() 94 if (strncmp in acpi_blacklisted()
|
D | tables.c | 297 if (!strncmp(id, ACPI_SIG_MADT, 4)) in acpi_table_parse_entries() 343 if (strncmp(id, ACPI_SIG_MADT, 4) == 0) in acpi_table_parse()
|
D | sysfs.c | 176 if (!strncmp(val, "enable", sizeof("enable") - 1)) { in param_set_trace_state() 184 if (!strncmp(val, "disable", sizeof("disable") - 1)) { in param_set_trace_state() 193 if (!strncmp(val, "1", 1)) { in param_set_trace_state() 271 if (strncmp(table_attr->name, "NULL", 4)) in acpi_table_show()
|
/linux-4.1.27/arch/x86/platform/intel-mid/ |
D | sfi.c | 226 if (!strncmp(name, pentry->pin_name, SFI_NAME_LEN)) in get_gpio_by_name() 424 !strncmp(dev->name, name, SFI_NAME_LEN)) { in get_device_id() 454 if (!strncmp(pentry->name, "r69001-ts-i2c", 13)) in sfi_parse_devs() 457 else if (!strncmp(pentry->name, in sfi_parse_devs()
|
/linux-4.1.27/kernel/ |
D | watchdog.c | 103 if (!strncmp(str, "panic", 5)) in hardlockup_panic_setup() 105 else if (!strncmp(str, "nopanic", 7)) in hardlockup_panic_setup() 107 else if (!strncmp(str, "0", 1)) in hardlockup_panic_setup() 109 else if (!strncmp(str, "1", 1)) in hardlockup_panic_setup()
|
D | profile.c | 60 if (!strncmp(str, sleepstr, strlen(sleepstr))) { in profile_setup() 72 } else if (!strncmp(str, schedstr, strlen(schedstr))) { in profile_setup() 80 } else if (!strncmp(str, kvmstr, strlen(kvmstr))) { in profile_setup()
|
/linux-4.1.27/drivers/video/fbdev/nvidia/ |
D | nvidia.c | 1479 if (!strncmp(this_opt, "forceCRTC", 9)) { in nvidiafb_setup() 1488 } else if (!strncmp(this_opt, "flatpanel", 9)) { in nvidiafb_setup() 1490 } else if (!strncmp(this_opt, "hwcur", 5)) { in nvidiafb_setup() 1492 } else if (!strncmp(this_opt, "noaccel", 6)) { in nvidiafb_setup() 1494 } else if (!strncmp(this_opt, "noscale", 7)) { in nvidiafb_setup() 1496 } else if (!strncmp(this_opt, "reverse_i2c", 11)) { in nvidiafb_setup() 1498 } else if (!strncmp(this_opt, "paneltweak:", 11)) { in nvidiafb_setup() 1500 } else if (!strncmp(this_opt, "vram:", 5)) { in nvidiafb_setup() 1502 } else if (!strncmp(this_opt, "backlight:", 10)) { in nvidiafb_setup() 1505 } else if (!strncmp(this_opt, "nomtrr", 6)) { in nvidiafb_setup() [all …]
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | string.h | 29 extern int strncmp(const char *, const char *, __kernel_size_t);
|
/linux-4.1.27/fs/ |
D | xattr.c | 47 if (!strncmp(name, XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN) || in xattr_permission() 48 !strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN)) in xattr_permission() 54 if (!strncmp(name, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN)) { in xattr_permission() 65 if (!strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) { in xattr_permission() 97 int issec = !strncmp(name, XATTR_SECURITY_PREFIX, in __vfs_setxattr_noperm() 244 if (!strncmp(name, XATTR_SECURITY_PREFIX, in vfs_getxattr() 926 return !strncmp(name, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN); in xattr_is_trusted()
|
/linux-4.1.27/drivers/input/serio/ |
D | serio.c | 410 if (!strncmp(buf, "none", count)) { in drvctl_store() 412 } else if (!strncmp(buf, "reconnect", count)) { in drvctl_store() 414 } else if (!strncmp(buf, "rescan", count)) { in drvctl_store() 443 if (!strncmp(buf, "manual", count)) { in serio_set_bind_mode() 445 } else if (!strncmp(buf, "auto", count)) { in serio_set_bind_mode() 772 if (!strncmp(buf, "manual", count)) { in bind_mode_store() 774 } else if (!strncmp(buf, "auto", count)) { in bind_mode_store()
|
/linux-4.1.27/fs/hfsplus/ |
D | xattr.c | 32 return strncmp(name, HFSPLUS_XATTR_FINDER_INFO_NAME, in strcmp_xattr_finder_info() 41 return strncmp(name, HFSPLUS_XATTR_ACL_NAME, in strcmp_xattr_acl() 49 if (strncmp(name, XATTR_SYSTEM_PREFIX, XATTR_SYSTEM_PREFIX_LEN) && in is_known_namespace() 50 strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) && in is_known_namespace() 51 strncmp(name, XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN) && in is_known_namespace() 52 strncmp(name, XATTR_TRUSTED_PREFIX, XATTR_TRUSTED_PREFIX_LEN)) in is_known_namespace() 614 return strncmp(xattr_name, XATTR_TRUSTED_PREFIX, in can_list()
|
/linux-4.1.27/security/integrity/ima/ |
D | ima_appraise.c | 24 if (strncmp(str, "off", 3) == 0) in default_appraise_setup() 26 else if (strncmp(str, "log", 3) == 0) in default_appraise_setup() 28 else if (strncmp(str, "fix", 3) == 0) in default_appraise_setup()
|
D | ima_main.c | 51 if (strncmp(str, "sha1", 4) == 0) in hash_setup() 53 else if (strncmp(str, "md5", 3) == 0) in hash_setup()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | common-spectral.c | 328 if (strncmp("trigger", buf, 7) == 0) { in write_file_spec_scan_ctl() 330 } else if (strncmp("background", buf, 10) == 0) { in write_file_spec_scan_ctl() 333 } else if (strncmp("chanscan", buf, 8) == 0) { in write_file_spec_scan_ctl() 336 } else if (strncmp("manual", buf, 6) == 0) { in write_file_spec_scan_ctl() 339 } else if (strncmp("disable", buf, 7) == 0) { in write_file_spec_scan_ctl()
|
/linux-4.1.27/arch/arm64/lib/ |
D | Makefile | 4 memcmp.o strcmp.o strncmp.o strlen.o strnlen.o \
|
/linux-4.1.27/arch/blackfin/lib/ |
D | Makefile | 9 strcmp.o strcpy.o strncmp.o strncpy.o \
|
/linux-4.1.27/arch/powerpc/lib/ |
D | ppc_ksyms.c | 17 EXPORT_SYMBOL(strncmp);
|
/linux-4.1.27/arch/mips/pnx833x/common/ |
D | prom.c | 54 if (strncmp(envname, *env, i) == 0 && *(*env+i) == '=') in prom_getenv()
|
/linux-4.1.27/block/partitions/ |
D | ibm.c | 326 if (!strncmp(type, "VOL1", 4)) { in ibm_partition() 329 } else if (!strncmp(type, "LNX1", 4)) { in ibm_partition() 333 } else if (!strncmp(type, "CMS1", 4)) { in ibm_partition()
|
/linux-4.1.27/arch/unicore32/include/mach/ |
D | memory.h | 46 (strncmp(dev->bus->name, "pci", 3) == 0))
|
/linux-4.1.27/net/netfilter/ |
D | nfnetlink_acct.c | 68 if (strncmp(nfacct->name, acct_name, NFACCT_NAME_MAX) != 0) in nfnl_acct_new() 289 if (strncmp(cur->name, acct_name, NFACCT_NAME_MAX)!= 0) in nfnl_acct_get() 352 if (strncmp(cur->name, acct_name, NFACCT_NAME_MAX) != 0) in nfnl_acct_del() 403 if (strncmp(cur->name, acct_name, NFACCT_NAME_MAX)!= 0) in nfnl_acct_find_get()
|
D | nfnetlink_cttimeout.c | 94 if (strncmp(timeout->name, name, CTNL_TIMEOUT_NAME_MAX) != 0) in cttimeout_new_timeout() 266 if (strncmp(cur->name, name, CTNL_TIMEOUT_NAME_MAX) != 0) in cttimeout_get_timeout() 331 if (strncmp(cur->name, name, CTNL_TIMEOUT_NAME_MAX) != 0) in cttimeout_del_timeout() 491 if (strncmp(timeout->name, name, CTNL_TIMEOUT_NAME_MAX) != 0) in ctnl_timeout_find_get()
|
D | xt_helper.c | 52 ret ^= !strncmp(helper->name, info->name, in helper_mt()
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | string.h | 24 extern int strncmp(const char *cs, const char *ct, size_t count);
|
/linux-4.1.27/arch/arm64/kernel/ |
D | arm64ksyms.c | 48 EXPORT_SYMBOL(strncmp);
|
/linux-4.1.27/arch/ia64/kernel/ |
D | acpi.c | 97 if (strncmp(rsdp->signature, ACPI_SIG_RSDP, sizeof(ACPI_SIG_RSDP) - 1)) { in acpi_get_sysname() 105 if (strncmp(hdr->signature, ACPI_SIG_XSDT, sizeof(ACPI_SIG_XSDT) - 1)) { in acpi_get_sysname() 126 if (strncmp(hdr->signature, ACPI_SIG_DMAR, in acpi_get_sysname() 368 if (!strncmp(oem_id, "IBM", 3) && (!strncmp(oem_table_id, "SERMOW", 6))) { in acpi_madt_oem_check()
|
/linux-4.1.27/arch/mips/bcm47xx/ |
D | time.c | 63 if (len >= 0 && !strncmp(buf, "200", 4)) in plat_time_init()
|
/linux-4.1.27/arch/powerpc/boot/ |
D | string.h | 10 extern int strncmp(const char *s1, const char *s2, size_t n);
|
D | planetcore.c | 46 if (!strncmp(table, key, keylen) && table[keylen] == '=') in planetcore_get_key()
|
D | treeboot-akebono.c | 109 if (strncmp(&userdata[i], "local-mac-addr=", 15) == 0) { in platform_init()
|
/linux-4.1.27/mm/ |
D | kmemleak.c | 1676 if (strncmp(buf, "clear", 5) == 0) { in kmemleak_write() 1689 if (strncmp(buf, "off", 3) == 0) in kmemleak_write() 1691 else if (strncmp(buf, "stack=on", 8) == 0) in kmemleak_write() 1693 else if (strncmp(buf, "stack=off", 9) == 0) in kmemleak_write() 1695 else if (strncmp(buf, "scan=on", 7) == 0) in kmemleak_write() 1697 else if (strncmp(buf, "scan=off", 8) == 0) in kmemleak_write() 1699 else if (strncmp(buf, "scan=", 5) == 0) { in kmemleak_write() 1710 } else if (strncmp(buf, "scan", 4) == 0) in kmemleak_write() 1712 else if (strncmp(buf, "dump=", 5) == 0) in kmemleak_write()
|
/linux-4.1.27/arch/x86/kernel/apic/ |
D | apic_flat_64.c | 225 if (!strncmp(oem_id, "IBM", 3) && !strncmp(oem_table_id, "EXA", 3)) { in physflat_acpi_madt_oem_check()
|
/linux-4.1.27/drivers/mtd/ |
D | bcm63xxpart.c | 59 if (strncmp("cfe-v", buf, 5) == 0) in bcm63xx_detect_cfe() 67 return strncmp("CFE1CFE1", buf, 8); in bcm63xx_detect_cfe()
|
D | cmdlinepart.c | 159 if (strncmp(s, "ro", 2) == 0) { in newpart() 165 if (strncmp(s, "lk", 2) == 0) { in newpart()
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | string_64.h | 56 int strncmp(const char *, const char *, __kernel_size_t);
|
D | string_32.h | 64 int strncmp(const char *, const char *, __kernel_size_t);
|
D | prom.h | 30 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l))
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | spectral.c | 313 if (strncmp("trigger", buf, 7) == 0) { in write_file_spec_scan_ctl() 333 } else if (strncmp("background", buf, 9) == 0) { in write_file_spec_scan_ctl() 335 } else if (strncmp("manual", buf, 6) == 0) { in write_file_spec_scan_ctl() 337 } else if (strncmp("disable", buf, 7) == 0) { in write_file_spec_scan_ctl()
|
/linux-4.1.27/drivers/scsi/device_handler/ |
D | scsi_dh_emc.c | 228 if (!strncmp(buffer + 8, "DGC", 3)) { in parse_sp_model() 493 if (!strlen(sp_model) || !strncmp(sp_model, "FC",2)) in clariion_std_inquiry() 643 if (!strncmp(sdev->vendor, clariion_dev_list[i].vendor, in clariion_match() 645 !strncmp(sdev->model, clariion_dev_list[i].model, in clariion_match()
|
D | scsi_dh.c | 38 if (!strncmp(tmp->name, name, strlen(tmp->name))) { in get_device_handler() 197 if (!strncmp(buf, "detach", 6)) { in store_dh_state() 203 } else if (!strncmp(buf, "activate", 8)) { in store_dh_state()
|
/linux-4.1.27/kernel/debug/kdb/ |
D | kdb_io.c | 534 if (!strncmp(searched, searchfor, len2)) in kdb_search_string() 537 if (!strncmp(searched+len1-len2, searchfor, len2)) in kdb_search_string() 543 if (!strncmp(cp, searchfor, len2)) in kdb_search_string() 636 if (!strncmp(cp2, kdb_prompt_str, len)) { in vkdb_printf()
|
/linux-4.1.27/arch/arm/mach-omap1/include/mach/ |
D | memory.h | 26 #define is_lbus_device(dev) (cpu_is_omap15xx() && dev && (strncmp(dev_name(dev), "ohci", 4) == 0))
|
/linux-4.1.27/arch/s390/mm/ |
D | cmm.c | 371 if (strncmp(msg, "SHRINK", 6) == 0) { in cmm_smsg_target() 378 } else if (strncmp(msg, "RELEASE", 7) == 0) { in cmm_smsg_target() 385 } else if (strncmp(msg, "REUSE", 5) == 0) { in cmm_smsg_target()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | setup_32.c | 165 if (!strncmp(commands, "mem=", 4)) { in boot_flags_init() 291 if (!strncmp(&cputypval[0], "leon" , 4)) in sparc32_start_kernel()
|
/linux-4.1.27/drivers/s390/net/ |
D | smsgiucv.c | 63 if (strncmp(ipvmid, "*MSG ", 8) != 0) in smsg_path_pending() 96 if (strncmp(buffer + 8, cb->prefix, cb->len) == 0) { in smsg_message_pending()
|
/linux-4.1.27/drivers/staging/xgifb/ |
D | XGI_main_26.c | 1617 if (!strncmp(this_opt, "mode:", 5)) { in XGIfb_setup() 1619 } else if (!strncmp(this_opt, "vesa:", 5)) { in XGIfb_setup() 1621 } else if (!strncmp(this_opt, "vrate:", 6)) { in XGIfb_setup() 1623 } else if (!strncmp(this_opt, "rate:", 5)) { in XGIfb_setup() 1625 } else if (!strncmp(this_opt, "crt1off", 7)) { in XGIfb_setup() 1627 } else if (!strncmp(this_opt, "filter:", 7)) { in XGIfb_setup() 1629 } else if (!strncmp(this_opt, "forcecrt2type:", 14)) { in XGIfb_setup() 1631 } else if (!strncmp(this_opt, "forcecrt1:", 10)) { in XGIfb_setup() 1633 } else if (!strncmp(this_opt, "tvmode:", 7)) { in XGIfb_setup() 1635 } else if (!strncmp(this_opt, "tvstandard:", 11)) { in XGIfb_setup() [all …]
|
/linux-4.1.27/security/apparmor/ |
D | lib.c | 49 if (strncmp(split, "//", 2) == 0) in aa_split_fqname()
|
/linux-4.1.27/arch/sh/drivers/pci/ |
D | pci-dreamcast.c | 69 if (strncmp(idbuf, "GAPSPCI_BRIDGE_2", 16)) in gapspci_init()
|
/linux-4.1.27/security/apparmor/include/ |
D | apparmor.h | 96 return !strncmp(str, sub, len) && !str[len]; in aa_strneq()
|
/linux-4.1.27/arch/arm/mach-iop13xx/include/mach/ |
D | memory.h | 32 (dev && strncmp(dev->bus->name, "platform", 8) == 0)
|
/linux-4.1.27/arch/mips/loongson1/common/ |
D | prom.c | 30 if (strncmp(envname, *env, i) == 0 && *(*env + i) == '=') in prom_getenv()
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | string.h | 85 static inline int strncmp(const char *__cs, const char *__ct, size_t __n) in strncmp() function
|
/linux-4.1.27/drivers/watchdog/ |
D | gpio_wdt.c | 185 if (!strncmp(algo, "toggle", 6)) { in gpio_wdt_probe() 188 } else if (!strncmp(algo, "level", 5)) { in gpio_wdt_probe()
|
/linux-4.1.27/tools/perf/tests/ |
D | perf-record.c | 245 found_libc_mmap = !strncmp(bname + 1, "libc", 4); in test__PERF_RECORD() 247 found_ld_mmap = !strncmp(bname + 1, "ld", 2); in test__PERF_RECORD()
|
/linux-4.1.27/fs/openpromfs/ |
D | inode.c | 205 !strncmp(child->path_component_name, name, len)) { in openpromfs_lookup() 218 if (len == n && !strncmp(prop->name, name, len)) { in openpromfs_lookup() 249 !strncmp (name, "security-password", 17)) in openpromfs_lookup()
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
D | maintidi.c | 861 if (!strncmp("State\\B Event", path, pVar->path_length)) { in process_idi_event() 877 if (!strncmp("State\\FAX Event", path, pVar->path_length)) { in process_idi_event() 893 if (!strncmp("State\\Modem Event", path, pVar->path_length)) { in process_idi_event() 942 if (!strncmp("Events Down", path, pVar->path_length)) { in process_idi_event() 951 if (!strncmp("State\\Layer1", path, pVar->path_length)) { in process_idi_event() 960 if (!strncmp("State\\Layer2 No1", path, pVar->path_length)) { in process_idi_event() 1020 if (!strncmp("Statistics\\Incoming Calls\\Calls", path, pVar->path_length) || in process_idi_event() 1021 !strncmp("Statistics\\Incoming Calls\\Connected", path, pVar->path_length)) { in process_idi_event() 1025 if (!strncmp("Statistics\\Outgoing Calls\\Calls", path, pVar->path_length) || in process_idi_event() 1026 !strncmp("Statistics\\Outgoing Calls\\Connected", path, pVar->path_length)) { in process_idi_event() [all …]
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_pm.c | 374 if (strncmp("default", buf, strlen("default")) == 0) in radeon_set_pm_profile() 376 else if (strncmp("auto", buf, strlen("auto")) == 0) in radeon_set_pm_profile() 378 else if (strncmp("low", buf, strlen("low")) == 0) in radeon_set_pm_profile() 380 else if (strncmp("mid", buf, strlen("mid")) == 0) in radeon_set_pm_profile() 382 else if (strncmp("high", buf, strlen("high")) == 0) in radeon_set_pm_profile() 433 if (strncmp("dynpm", buf, strlen("dynpm")) == 0) { in radeon_set_pm_method() 439 } else if (strncmp("profile", buf, strlen("profile")) == 0) { in radeon_set_pm_method() 478 if (strncmp("battery", buf, strlen("battery")) == 0) in radeon_set_dpm_state() 480 else if (strncmp("balanced", buf, strlen("balanced")) == 0) in radeon_set_dpm_state() 482 else if (strncmp("performance", buf, strlen("performance")) == 0) in radeon_set_dpm_state() [all …]
|
/linux-4.1.27/arch/mips/fw/lib/ |
D | cmdline.c | 66 if (strncmp(envname, fw_envp(index), i) == 0) { in fw_getenv()
|
/linux-4.1.27/drivers/pci/pcie/aer/ |
D | ecrc.c | 124 if (!strncmp(str, ecrc_policy_str[i], in pcie_ecrc_get_policy()
|
/linux-4.1.27/arch/mips/alchemy/common/ |
D | prom.c | 72 } else if (strncmp(envname, *env, i) == 0 && (*env)[i] == '=') in prom_getenv()
|
/linux-4.1.27/arch/metag/tbx/ |
D | tbistring.c | 74 if (!strncmp(str, (const char *)search->String, in __TBIFindStr()
|
/linux-4.1.27/arch/sh/include/asm/ |
D | string_32.h | 83 static inline int strncmp(const char *__cs, const char *__ct, size_t __n) in strncmp() function
|
/linux-4.1.27/arch/mips/include/asm/ |
D | string.h | 104 strncmp(__const__ char *__cs, __const__ char *__ct, size_t __count) in strncmp() function
|
/linux-4.1.27/kernel/power/ |
D | hibernate.c | 958 && !strncmp(buf, hibernation_modes[i], len)) { in disk_store() 1115 if (!strncmp(str, "noresume", 8)) in hibernate_setup() 1117 else if (!strncmp(str, "nocompress", 10)) in hibernate_setup() 1119 else if (!strncmp(str, "no", 2)) { in hibernate_setup()
|
D | main.c | 123 if (*s && len == strlen(*s) && !strncmp(buf, *s, len)) { in pm_test_store() 323 if (len == 4 && !strncmp(buf, "disk", len)) in decode_state() 330 if (label && len == strlen(label) && !strncmp(buf, label, len)) in decode_state()
|
/linux-4.1.27/net/sctp/ |
D | sysctl.c | 339 if (!strncmp(tmp, "md5", 3)) { in proc_sctp_do_hmac_alg() 345 if (!strncmp(tmp, "sha1", 4)) { in proc_sctp_do_hmac_alg() 350 if (!strncmp(tmp, "none", 4)) { in proc_sctp_do_hmac_alg()
|
/linux-4.1.27/drivers/video/fbdev/geode/ |
D | gx1fb_core.c | 416 if (!strncmp(this_opt, "mode:", 5)) in gx1fb_setup() 418 else if (!strncmp(this_opt, "crt:", 4)) in gx1fb_setup() 420 else if (!strncmp(this_opt, "panel:", 6)) in gx1fb_setup()
|
/linux-4.1.27/arch/x86/pci/ |
D | common.c | 555 } else if (!strncmp(str, "pirqaddr=", 9)) { in pcibios_setup() 591 } else if (!strncmp(str, "irqmask=", 8)) { in pcibios_setup() 594 } else if (!strncmp(str, "lastbus=", 8)) { in pcibios_setup()
|
/linux-4.1.27/lib/ |
D | cmdline.c | 177 if (!strncmp(str, option, strlen(option))) { in parse_option_str()
|
/linux-4.1.27/net/mac80211/ |
D | debugfs_sta.c | 208 if (strncmp(buf, "tx ", 3) == 0) { in sta_agg_status_write() 211 } else if (strncmp(buf, "rx ", 3) == 0) { in sta_agg_status_write() 217 if (strncmp(buf, "start ", 6) == 0) { in sta_agg_status_write() 222 } else if (strncmp(buf, "stop ", 5) == 0) { in sta_agg_status_write()
|
/linux-4.1.27/sound/ppc/ |
D | keywest.c | 54 if (strncmp(adapter->name, "mac-io", 6)) in keywest_attach_adapter()
|
/linux-4.1.27/arch/x86/boot/tools/ |
D | build.c | 162 if (strncmp((char*)section, section_name, 8) == 0) { in update_pecoff_section_header_fields() 298 if (!strncmp(p, "#define ZO_" #sym " ", 11+sizeof(#sym))) \
|
/linux-4.1.27/tools/lib/traceevent/ |
D | plugin_mac80211.c | 43 if (!strncmp(f->type, "__data_loc", 10)) { in print_string()
|
/linux-4.1.27/drivers/mmc/core/ |
D | quirks.c | 87 !strncmp(f->name, card->cid.prod_name, in mmc_fixup_device()
|
/linux-4.1.27/arch/sh/kernel/ |
D | sh_bios.c | 158 if (!strncmp(buf, "bios", 4)) in setup_early_printk()
|
/linux-4.1.27/drivers/thermal/int340x_thermal/ |
D | int3400_thermal.c | 89 !(strncmp(buf, int3400_thermal_uuids[i], in current_uuid_store() 147 if (!strncmp(uuid, objb->buffer.pointer, 16)) { in int3400_thermal_get_uuids()
|
/linux-4.1.27/scripts/kconfig/ |
D | zconf.gperf | 5 %compare-strncmp
|
/linux-4.1.27/arch/mips/rb532/ |
D | prom.c | 59 return strncmp(arg, tag, strlen(tag)) == 0; in match_tag()
|
/linux-4.1.27/arch/mips/cavium-octeon/ |
D | setup.c | 143 if (!strncmp(bootloader, (char *)image->segment[i].buf, in octeon_kexec_prepare() 818 if ((strncmp(arg, "MEM=", 4) == 0) || in prom_init() 819 (strncmp(arg, "mem=", 4) == 0)) { in prom_init() 826 } else if (strncmp(arg, "crashkernel=", 12) == 0) { in prom_init()
|
/linux-4.1.27/drivers/pci/ |
D | pci.c | 4595 } else if (!strncmp(str, "realloc=", 8)) { in pci_setup() 4597 } else if (!strncmp(str, "realloc", 7)) { in pci_setup() 4601 } else if (!strncmp(str, "noari", 5)) { in pci_setup() 4603 } else if (!strncmp(str, "cbiosize=", 9)) { in pci_setup() 4605 } else if (!strncmp(str, "cbmemsize=", 10)) { in pci_setup() 4607 } else if (!strncmp(str, "resource_alignment=", 19)) { in pci_setup() 4610 } else if (!strncmp(str, "ecrc=", 5)) { in pci_setup() 4612 } else if (!strncmp(str, "hpiosize=", 9)) { in pci_setup() 4614 } else if (!strncmp(str, "hpmemsize=", 10)) { in pci_setup() 4616 } else if (!strncmp(str, "pcie_bus_tune_off", 17)) { in pci_setup() [all …]
|
/linux-4.1.27/sound/pci/oxygen/ |
D | se6x.c | 72 if (!strncmp(template->name, "Master Playback ", 16)) in se6x_control_filter()
|
/linux-4.1.27/Documentation/laptops/ |
D | freefall.c | 32 if (strlen(device) <= 5 || strncmp(device, "/dev/", 5) != 0) in set_unload_heads_path()
|