sysfs_streq 412 arch/powerpc/platforms/pseries/dlpar.c if (sysfs_streq(arg, "memory")) { sysfs_streq 414 arch/powerpc/platforms/pseries/dlpar.c } else if (sysfs_streq(arg, "cpu")) { sysfs_streq 432 arch/powerpc/platforms/pseries/dlpar.c if (sysfs_streq(arg, "add")) { sysfs_streq 434 arch/powerpc/platforms/pseries/dlpar.c } else if (sysfs_streq(arg, "remove")) { sysfs_streq 453 arch/powerpc/platforms/pseries/dlpar.c if (sysfs_streq(arg, "indexed-count")) { sysfs_streq 479 arch/powerpc/platforms/pseries/dlpar.c } else if (sysfs_streq(arg, "index")) { sysfs_streq 493 arch/powerpc/platforms/pseries/dlpar.c } else if (sysfs_streq(arg, "count")) { sysfs_streq 1390 arch/s390/kernel/ipl.c if (sysfs_streq(buf, shutdown_actions_list[i]->name)) { sysfs_streq 6282 arch/x86/kvm/mmu.c if (sysfs_streq(val, "off")) sysfs_streq 6284 arch/x86/kvm/mmu.c else if (sysfs_streq(val, "force")) sysfs_streq 6286 arch/x86/kvm/mmu.c else if (sysfs_streq(val, "auto")) sysfs_streq 295 arch/x86/kvm/vmx/vmx.c sysfs_streq(s, vmentry_l1d_param[i].option)) sysfs_streq 285 drivers/acpi/acpi_tad.c if (sysfs_streq(buf, specval)) { sysfs_streq 3459 drivers/base/core.c return sysfs_streq(dev_name(dev), name); sysfs_streq 309 drivers/base/memory.c if (sysfs_streq(buf, "online_kernel")) sysfs_streq 311 drivers/base/memory.c else if (sysfs_streq(buf, "online_movable")) sysfs_streq 313 drivers/base/memory.c else if (sysfs_streq(buf, "online")) sysfs_streq 315 drivers/base/memory.c else if (sysfs_streq(buf, "offline")) sysfs_streq 454 drivers/base/memory.c if (sysfs_streq(buf, "online")) sysfs_streq 456 drivers/base/memory.c else if (sysfs_streq(buf, "offline")) sysfs_streq 111 drivers/base/power/sysfs.c if (sysfs_streq(buf, ctrl_auto)) sysfs_streq 113 drivers/base/power/sysfs.c else if (sysfs_streq(buf, ctrl_on)) sysfs_streq 237 drivers/base/power/sysfs.c } else if (sysfs_streq(buf, "n/a")) { sysfs_streq 276 drivers/base/power/sysfs.c if (sysfs_streq(buf, "auto")) sysfs_streq 278 drivers/base/power/sysfs.c else if (sysfs_streq(buf, "any")) sysfs_streq 333 drivers/base/power/sysfs.c if (sysfs_streq(buf, _enabled)) sysfs_streq 335 drivers/base/power/sysfs.c else if (sysfs_streq(buf, _disabled)) sysfs_streq 548 drivers/base/power/sysfs.c if (sysfs_streq(buf, _enabled)) sysfs_streq 550 drivers/base/power/sysfs.c else if (sysfs_streq(buf, _disabled)) sysfs_streq 294 drivers/block/zram/zram_drv.c if (!sysfs_streq(buf, "all")) sysfs_streq 633 drivers/block/zram/zram_drv.c if (sysfs_streq(buf, "idle")) sysfs_streq 635 drivers/block/zram/zram_drv.c else if (sysfs_streq(buf, "huge")) sysfs_streq 329 drivers/char/hw_random/core.c if (sysfs_streq(buf, "")) { sysfs_streq 333 drivers/char/hw_random/core.c if (sysfs_streq(rng->name, buf)) { sysfs_streq 658 drivers/counter/counter.c if (sysfs_streq(buf, counter_synapse_action_str[action])) sysfs_streq 866 drivers/counter/counter.c if (sysfs_streq(buf, counter_count_function_str[function])) sysfs_streq 44 drivers/dax/bus.c if (sysfs_streq(dax_id->dev_name, dev_name)) sysfs_streq 79 drivers/dax/bus.c if (!sysfs_streq(buf, devname)) sysfs_streq 86 drivers/gpio/gpiolib-sysfs.c if (sysfs_streq(buf, "high")) sysfs_streq 88 drivers/gpio/gpiolib-sysfs.c else if (sysfs_streq(buf, "out") || sysfs_streq(buf, "low")) sysfs_streq 90 drivers/gpio/gpiolib-sysfs.c else if (sysfs_streq(buf, "in")) sysfs_streq 271 drivers/gpio/gpiolib-sysfs.c if (sysfs_streq(trigger_types[i].name, buf)) sysfs_streq 125 drivers/gpu/drm/drm_sysfs.c if (sysfs_streq(buf, "detect")) sysfs_streq 127 drivers/gpu/drm/drm_sysfs.c else if (sysfs_streq(buf, "on")) sysfs_streq 129 drivers/gpu/drm/drm_sysfs.c else if (sysfs_streq(buf, "on-digital")) sysfs_streq 131 drivers/gpu/drm/drm_sysfs.c else if (sysfs_streq(buf, "off")) sysfs_streq 119 drivers/greybus/svc.c if (sysfs_streq(buf, "panic")) sysfs_streq 121 drivers/greybus/svc.c else if (sysfs_streq(buf, "reset")) sysfs_streq 272 drivers/hid/hid-picolcd_core.c if (sysfs_streq(buf, "lcd")) { sysfs_streq 275 drivers/hid/hid-picolcd_core.c } else if (sysfs_streq(buf, "bootloader")) { sysfs_streq 140 drivers/hwmon/pmbus/inspur-ipsps.c if (sysfs_streq(MODE_STANDBY_STRING, buf)) { sysfs_streq 146 drivers/hwmon/pmbus/inspur-ipsps.c } else if (sysfs_streq(MODE_ACTIVE_STRING, buf)) { sysfs_streq 195 drivers/i2c/i2c-core-of.c if (sysfs_streq(client->name, matches->compatible)) sysfs_streq 204 drivers/i2c/i2c-core-of.c if (sysfs_streq(client->name, name)) sysfs_streq 1294 drivers/iio/industrialio-core.c if (sysfs_streq(buf, "realtime")) sysfs_streq 1296 drivers/iio/industrialio-core.c else if (sysfs_streq(buf, "monotonic")) sysfs_streq 1298 drivers/iio/industrialio-core.c else if (sysfs_streq(buf, "monotonic_raw")) sysfs_streq 1300 drivers/iio/industrialio-core.c else if (sysfs_streq(buf, "realtime_coarse")) sysfs_streq 1302 drivers/iio/industrialio-core.c else if (sysfs_streq(buf, "monotonic_coarse")) sysfs_streq 1304 drivers/iio/industrialio-core.c else if (sysfs_streq(buf, "boottime")) sysfs_streq 1306 drivers/iio/industrialio-core.c else if (sysfs_streq(buf, "tai")) sysfs_streq 152 drivers/iio/industrialio-trigger.c if (sysfs_streq(iter->name, name)) { sysfs_streq 789 drivers/input/mouse/cyapa.c if (sysfs_streq(buf, BTN_ONLY_MODE_NAME)) { sysfs_streq 791 drivers/input/mouse/cyapa.c } else if (sysfs_streq(buf, OFF_MODE_NAME)) { sysfs_streq 43 drivers/leds/led-triggers.c if (sysfs_streq(buf, "none")) { sysfs_streq 50 drivers/leds/led-triggers.c if (sysfs_streq(buf, trig->name)) { sysfs_streq 149 drivers/leds/leds-lm3530.c if (sysfs_streq(str, mode_map[i].mode)) sysfs_streq 449 drivers/leds/leds-lp5562.c if (sysfs_streq(buf, "RGB")) { sysfs_streq 452 drivers/leds/leds-lp5562.c } else if (sysfs_streq(buf, "W")) { sysfs_streq 1514 drivers/media/rc/rc-main.c if (!sysfs_streq(buf, "none")) { sysfs_streq 1517 drivers/media/rc/rc-main.c sysfs_streq(buf, protocols[i].name)) { sysfs_streq 452 drivers/misc/ad525x_dpot.c if (sysfs_streq(buf, "enabled")) sysfs_streq 100 drivers/misc/mic/cosm/cosm_sysfs.c if (sysfs_streq(buf, "boot")) { sysfs_streq 104 drivers/misc/mic/cosm/cosm_sysfs.c if (sysfs_streq(buf, "reset")) { sysfs_streq 109 drivers/misc/mic/cosm/cosm_sysfs.c if (sysfs_streq(buf, "shutdown")) { sysfs_streq 336 drivers/misc/mic/cosm/cosm_sysfs.c if (!sysfs_streq(buf, "linux") && !sysfs_streq(buf, "flash")) sysfs_streq 5062 drivers/net/ethernet/ibm/ibmvnic.c if (!sysfs_streq(buf, "1")) sysfs_streq 1520 drivers/nvdimm/namespace_devs.c if (sysfs_streq(buf, "btt")) sysfs_streq 1522 drivers/nvdimm/namespace_devs.c else if (sysfs_streq(buf, "pfn")) sysfs_streq 1524 drivers/nvdimm/namespace_devs.c else if (sysfs_streq(buf, "dax")) sysfs_streq 1526 drivers/nvdimm/namespace_devs.c else if (sysfs_streq(buf, "")) sysfs_streq 511 drivers/nvdimm/security.c if (sysfs_streq(cmd, ops[i].name)) sysfs_streq 616 drivers/nvme/host/multipath.c if (sysfs_streq(buf, nvme_iopolicy_names[i])) { sysfs_streq 65 drivers/nvme/target/configfs.c if (sysfs_streq(page, "ipv4")) { sysfs_streq 67 drivers/nvme/target/configfs.c } else if (sysfs_streq(page, "ipv6")) { sysfs_streq 69 drivers/nvme/target/configfs.c } else if (sysfs_streq(page, "ib")) { sysfs_streq 71 drivers/nvme/target/configfs.c } else if (sysfs_streq(page, "fc")) { sysfs_streq 174 drivers/nvme/target/configfs.c if (sysfs_streq(page, "not specified")) { sysfs_streq 176 drivers/nvme/target/configfs.c } else if (sysfs_streq(page, "required")) { sysfs_streq 178 drivers/nvme/target/configfs.c } else if (sysfs_streq(page, "not required")) { sysfs_streq 286 drivers/nvme/target/configfs.c if (sysfs_streq(page, nvmet_transport_names[i].name)) sysfs_streq 898 drivers/nvme/target/configfs.c if (sysfs_streq(name, NVME_DISC_SUBSYS_NAME)) { sysfs_streq 1050 drivers/nvme/target/configfs.c if (sysfs_streq(page, nvmet_ana_state_names[i].name)) sysfs_streq 156 drivers/phy/broadcom/phy-brcm-usb.c if (sysfs_streq(name, table[x].name)) { sysfs_streq 324 drivers/phy/renesas/phy-rcar-gen3-usb2.c if (sysfs_streq(buf, "host")) sysfs_streq 326 drivers/phy/renesas/phy-rcar-gen3-usb2.c else if (sysfs_streq(buf, "peripheral")) sysfs_streq 187 drivers/pwm/sysfs.c if (sysfs_streq(buf, "normal")) sysfs_streq 189 drivers/pwm/sysfs.c else if (sysfs_streq(buf, "inversed")) sysfs_streq 62 drivers/regulator/userspace-consumer.c if (sysfs_streq(buf, "enabled\n") || sysfs_streq(buf, "1")) sysfs_streq 64 drivers/regulator/userspace-consumer.c else if (sysfs_streq(buf, "disabled\n") || sysfs_streq(buf, "0")) sysfs_streq 241 drivers/regulator/virtual.c if (sysfs_streq(buf, "fast\n")) sysfs_streq 243 drivers/regulator/virtual.c else if (sysfs_streq(buf, "normal\n")) sysfs_streq 245 drivers/regulator/virtual.c else if (sysfs_streq(buf, "idle\n")) sysfs_streq 247 drivers/regulator/virtual.c else if (sysfs_streq(buf, "standby\n")) sysfs_streq 96 drivers/remoteproc/remoteproc_sysfs.c if (sysfs_streq(buf, "start")) { sysfs_streq 103 drivers/remoteproc/remoteproc_sysfs.c } else if (sysfs_streq(buf, "stop")) { sysfs_streq 1430 drivers/s390/block/dasd_devmap.c if (sysfs_streq("ignore", buf)) sysfs_streq 1432 drivers/s390/block/dasd_devmap.c else if (sysfs_streq("fail", buf)) sysfs_streq 1474 drivers/s390/block/dasd_devmap.c if (sysfs_streq("reset", buf)) sysfs_streq 219 drivers/s390/net/qeth_core_sys.c if (sysfs_streq(buf, "prio_queueing_prec")) { sysfs_streq 222 drivers/s390/net/qeth_core_sys.c } else if (sysfs_streq(buf, "prio_queueing_skb")) { sysfs_streq 225 drivers/s390/net/qeth_core_sys.c } else if (sysfs_streq(buf, "prio_queueing_tos")) { sysfs_streq 228 drivers/s390/net/qeth_core_sys.c } else if (sysfs_streq(buf, "prio_queueing_vlan")) { sysfs_streq 235 drivers/s390/net/qeth_core_sys.c } else if (sysfs_streq(buf, "no_prio_queueing:0")) { sysfs_streq 238 drivers/s390/net/qeth_core_sys.c } else if (sysfs_streq(buf, "no_prio_queueing:1")) { sysfs_streq 241 drivers/s390/net/qeth_core_sys.c } else if (sysfs_streq(buf, "no_prio_queueing:2")) { sysfs_streq 244 drivers/s390/net/qeth_core_sys.c } else if (sysfs_streq(buf, "no_prio_queueing:3")) { sysfs_streq 247 drivers/s390/net/qeth_core_sys.c } else if (sysfs_streq(buf, "no_prio_queueing")) { sysfs_streq 490 drivers/s390/net/qeth_core_sys.c if (sysfs_streq(buf, ATTR_QETH_ISOLATION_NONE)) { sysfs_streq 492 drivers/s390/net/qeth_core_sys.c } else if (sysfs_streq(buf, ATTR_QETH_ISOLATION_FWD)) { sysfs_streq 494 drivers/s390/net/qeth_core_sys.c } else if (sysfs_streq(buf, ATTR_QETH_ISOLATION_DROP)) { sysfs_streq 580 drivers/s390/net/qeth_core_sys.c if (sysfs_streq(buf, "arm") && !card->info.hwtrap) { sysfs_streq 591 drivers/s390/net/qeth_core_sys.c } else if (sysfs_streq(buf, "disarm") && card->info.hwtrap) { sysfs_streq 598 drivers/s390/net/qeth_core_sys.c } else if (sysfs_streq(buf, "trap") && state && card->info.hwtrap) sysfs_streq 86 drivers/s390/net/qeth_l2_sys.c if (sysfs_streq(buf, "primary")) sysfs_streq 88 drivers/s390/net/qeth_l2_sys.c else if (sysfs_streq(buf, "secondary")) sysfs_streq 90 drivers/s390/net/qeth_l2_sys.c else if (sysfs_streq(buf, "none")) sysfs_streq 219 drivers/s390/net/qeth_l2_sys.c if (sysfs_streq(buf, "none")) { sysfs_streq 222 drivers/s390/net/qeth_l2_sys.c } else if (sysfs_streq(buf, "primary")) { sysfs_streq 225 drivers/s390/net/qeth_l2_sys.c } else if (sysfs_streq(buf, "secondary")) { sysfs_streq 305 drivers/s390/net/qeth_l2_sys.c if (sysfs_streq(attr_name, "flooding")) sysfs_streq 307 drivers/s390/net/qeth_l2_sys.c else if (sysfs_streq(attr_name, "mcast_flooding")) sysfs_streq 309 drivers/s390/net/qeth_l2_sys.c else if (sysfs_streq(attr_name, "learning")) sysfs_streq 311 drivers/s390/net/qeth_l2_sys.c else if (sysfs_streq(attr_name, "takeover_setvmac")) sysfs_streq 313 drivers/s390/net/qeth_l2_sys.c else if (sysfs_streq(attr_name, "takeover_learning")) sysfs_streq 315 drivers/s390/net/qeth_l2_sys.c else if (sysfs_streq(attr_name, "bridge_invisible")) sysfs_streq 317 drivers/s390/net/qeth_l2_sys.c else if (sysfs_streq(attr_name, "rx_bcast")) sysfs_streq 77 drivers/s390/net/qeth_l3_sys.c if (sysfs_streq(buf, "no_router")) { sysfs_streq 79 drivers/s390/net/qeth_l3_sys.c } else if (sysfs_streq(buf, "primary_connector")) { sysfs_streq 81 drivers/s390/net/qeth_l3_sys.c } else if (sysfs_streq(buf, "secondary_connector")) { sysfs_streq 83 drivers/s390/net/qeth_l3_sys.c } else if (sysfs_streq(buf, "primary_router")) { sysfs_streq 85 drivers/s390/net/qeth_l3_sys.c } else if (sysfs_streq(buf, "secondary_router")) { sysfs_streq 87 drivers/s390/net/qeth_l3_sys.c } else if (sysfs_streq(buf, "multicast_router")) { sysfs_streq 377 drivers/s390/net/qeth_l3_sys.c if (sysfs_streq(buf, "toggle")) { sysfs_streq 422 drivers/s390/net/qeth_l3_sys.c if (sysfs_streq(buf, "toggle")) { sysfs_streq 608 drivers/s390/net/qeth_l3_sys.c if (sysfs_streq(buf, "toggle")) { sysfs_streq 285 drivers/scsi/scsi_sysfs.c if (sysfs_streq(str, "adapter")) sysfs_streq 287 drivers/scsi/scsi_sysfs.c else if (sysfs_streq(str, "firmware")) sysfs_streq 102 drivers/soc/xilinx/zynqmp_power.c sysfs_streq(suspend_modes[md], buf)) { sysfs_streq 257 drivers/staging/greybus/arche-apb-ctrl.c if (sysfs_streq(buf, "off")) { sysfs_streq 262 drivers/staging/greybus/arche-apb-ctrl.c } else if (sysfs_streq(buf, "active")) { sysfs_streq 272 drivers/staging/greybus/arche-apb-ctrl.c } else if (sysfs_streq(buf, "standby")) { sysfs_streq 277 drivers/staging/greybus/arche-apb-ctrl.c } else if (sysfs_streq(buf, "fw_flashing")) { sysfs_streq 316 drivers/staging/greybus/arche-platform.c if (sysfs_streq(buf, "off")) { sysfs_streq 325 drivers/staging/greybus/arche-platform.c } else if (sysfs_streq(buf, "active")) { sysfs_streq 340 drivers/staging/greybus/arche-platform.c } else if (sysfs_streq(buf, "standby")) { sysfs_streq 345 drivers/staging/greybus/arche-platform.c } else if (sysfs_streq(buf, "fw_flashing")) { sysfs_streq 235 drivers/staging/iio/frequency/ad9834.c if (sysfs_streq(buf, "sine")) { sysfs_streq 239 drivers/staging/iio/frequency/ad9834.c } else if (sysfs_streq(buf, "triangle")) { sysfs_streq 248 drivers/staging/iio/frequency/ad9834.c } else if (is_ad9833_7 && sysfs_streq(buf, "square")) { sysfs_streq 257 drivers/staging/iio/frequency/ad9834.c if (sysfs_streq(buf, "square") && sysfs_streq 404 drivers/staging/iio/impedance-analyzer/ad5933.c if (sysfs_streq(buf, "1")) { sysfs_streq 406 drivers/staging/iio/impedance-analyzer/ad5933.c } else if (sysfs_streq(buf, "0.2")) { sysfs_streq 163 drivers/staging/most/configfs.c if (!sysfs_streq(page, "dir_rx") && !sysfs_streq(page, "rx") && sysfs_streq 164 drivers/staging/most/configfs.c !sysfs_streq(page, "dir_tx") && !sysfs_streq(page, "tx")) sysfs_streq 180 drivers/staging/most/configfs.c if (!sysfs_streq(page, "control") && !sysfs_streq(page, "async") && sysfs_streq 181 drivers/staging/most/configfs.c !sysfs_streq(page, "sync") && !sysfs_streq(page, "isoc") && sysfs_streq 182 drivers/staging/most/configfs.c !sysfs_streq(page, "isoc_avp")) sysfs_streq 1467 drivers/usb/gadget/udc/core.c if (sysfs_streq(buf, "1")) sysfs_streq 1484 drivers/usb/gadget/udc/core.c if (sysfs_streq(buf, "connect")) { sysfs_streq 1487 drivers/usb/gadget/udc/core.c } else if (sysfs_streq(buf, "disconnect")) { sysfs_streq 2455 drivers/usb/gadget/udc/renesas_usb3.c if (sysfs_streq(buf, "host")) sysfs_streq 2457 drivers/usb/gadget/udc/renesas_usb3.c else if (sysfs_streq(buf, "peripheral")) sysfs_streq 1742 drivers/usb/musb/musb_core.c if (sysfs_streq(buf, "host")) sysfs_streq 1744 drivers/usb/musb/musb_core.c else if (sysfs_streq(buf, "peripheral")) sysfs_streq 1746 drivers/usb/musb/musb_core.c else if (sysfs_streq(buf, "otg")) sysfs_streq 965 drivers/usb/typec/class.c if (sysfs_streq(buf, "none")) sysfs_streq 40 drivers/video/fbdev/omap2/omapfb/dss/manager-sysfs.c return sysfs_streq(dssdev->name, str); sysfs_streq 49 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c if (sysfs_streq(buf, mgr->name)) sysfs_streq 44 drivers/watchdog/watchdog_pretimeout.c if (sysfs_streq(gov_name, priv->gov->name)) sysfs_streq 191 include/linux/string.h extern bool sysfs_streq(const char *s1, const char *s2); sysfs_streq 2149 kernel/cpu.c if (sysfs_streq(buf, "on")) sysfs_streq 2151 kernel/cpu.c else if (sysfs_streq(buf, "off")) sysfs_streq 2153 kernel/cpu.c else if (sysfs_streq(buf, "forceoff")) sysfs_streq 677 lib/string.c EXPORT_SYMBOL(sysfs_streq); sysfs_streq 723 lib/string.c if (sysfs_streq(item, str)) sysfs_streq 180 mm/huge_memory.c if (sysfs_streq(buf, "always")) { sysfs_streq 183 mm/huge_memory.c } else if (sysfs_streq(buf, "madvise")) { sysfs_streq 186 mm/huge_memory.c } else if (sysfs_streq(buf, "never")) { sysfs_streq 250 mm/huge_memory.c if (sysfs_streq(buf, "always")) { sysfs_streq 255 mm/huge_memory.c } else if (sysfs_streq(buf, "defer+madvise")) { sysfs_streq 260 mm/huge_memory.c } else if (sysfs_streq(buf, "defer")) { sysfs_streq 265 mm/huge_memory.c } else if (sysfs_streq(buf, "madvise")) { sysfs_streq 270 mm/huge_memory.c } else if (sysfs_streq(buf, "never")) {