Home
last modified time | relevance | path

Searched refs:kstrtobool (Results 1 – 25 of 175) sorted by relevance

1234567

/linux-6.3-rc2/drivers/peci/
A Dsysfs.c23 ret = kstrtobool(buf, &res); in rescan_store()
59 ret = kstrtobool(buf, &res); in remove_store()
/linux-6.3-rc2/lib/
A Dkstrtox.c348 int kstrtobool(const char *s, bool *res) in kstrtobool() function
389 EXPORT_SYMBOL(kstrtobool);
404 return kstrtobool(buf, res); in kstrtobool_from_user()
/linux-6.3-rc2/drivers/usb/gadget/function/
A Dstorage_common.c400 rc = kstrtobool(buf, &ro); in fsg_store_ro()
423 ret = kstrtobool(buf, &nofua); in fsg_store_nofua()
474 ret = kstrtobool(buf, &cdrom); in fsg_store_cdrom()
497 ret = kstrtobool(buf, &removable); in fsg_store_removable()
/linux-6.3-rc2/include/linux/
A Dkstrtox.h98 int __must_check kstrtobool(const char *s, bool *res);
152 return kstrtobool(s, res); in strtobool()
/linux-6.3-rc2/drivers/video/fbdev/omap2/omapfb/dss/
A Ddisplay-sysfs.c40 r = kstrtobool(buf, &enable); in display_enabled_store()
77 r = kstrtobool(buf, &te); in display_tear_store()
187 r = kstrtobool(buf, &mirror); in display_mirror_store()
A Dmanager-sysfs.c250 r = kstrtobool(buf, &enable); in manager_trans_key_enabled_store()
294 r = kstrtobool(buf, &enable); in manager_alpha_blending_enabled_store()
333 r = kstrtobool(buf, &enable); in manager_cpr_enable_store()
/linux-6.3-rc2/arch/s390/boot/
A Dipl_parm.c294 rc = kstrtobool(val, &enabled); in parse_boot_command_line()
307 rc = kstrtobool(val, &enabled); in parse_boot_command_line()
A Dstring.c105 int kstrtobool(const char *s, bool *res) in kstrtobool() function
/linux-6.3-rc2/drivers/platform/x86/
A Dlg-laptop.c294 ret = kstrtobool(buffer, &value); in fan_mode_store()
346 ret = kstrtobool(buffer, &value); in usb_charge_store()
388 ret = kstrtobool(buffer, &value); in reader_mode_store()
430 ret = kstrtobool(buffer, &value); in fn_lock_store()
/linux-6.3-rc2/arch/arm64/kvm/vgic/
A Dvgic-v3.c588 return kstrtobool(buf, &group0_trap); in early_group0_trap_cfg()
594 return kstrtobool(buf, &group1_trap); in early_group1_trap_cfg()
600 return kstrtobool(buf, &common_trap); in early_common_trap_cfg()
606 return kstrtobool(buf, &gicv4_enable); in early_gicv4_enable()
/linux-6.3-rc2/drivers/platform/x86/intel/pmt/
A Dcrashlog.c154 result = kstrtobool(buf, &enabled); in enable_store()
188 result = kstrtobool(buf, &trigger); in trigger_store()
/linux-6.3-rc2/drivers/thunderbolt/
A Dusb4_port.c125 ret = kstrtobool(buf, &val); in offline_store()
176 ret = kstrtobool(buf, &val); in rescan_store()
/linux-6.3-rc2/mm/
A Dpage_poison.c19 return kstrtobool(buf, &_page_poisoning_enabled_early); in early_page_poison_param()
A Dusercopy.c262 if (kstrtobool(str, &enable_checks)) in parse_hardened_usercopy()
/linux-6.3-rc2/drivers/target/
A Dtarget_core_configfs.c642 ret = kstrtobool(page, &flag); in emulate_model_alias_store()
664 ret = kstrtobool(page, &flag); in emulate_write_cache_store()
716 ret = kstrtobool(page, &flag); in emulate_tas_store()
741 ret = kstrtobool(page, &flag); in emulate_tpu_store()
771 ret = kstrtobool(page, &flag); in emulate_tpws_store()
870 ret = kstrtobool(page, &flag); in pi_prot_format_store()
907 ret = kstrtobool(page, &flag); in pi_prot_verify_store()
936 ret = kstrtobool(page, &flag); in force_pr_aptpl_store()
958 ret = kstrtobool(page, &flag); in emulate_rest_reord_store()
981 ret = kstrtobool(page, &flag); in unmap_zeroes_data_store()
[all …]
/linux-6.3-rc2/arch/s390/kernel/
A Dnospec-branch.c12 rc = kstrtobool(str, &enabled); in nobp_setup_early()
/linux-6.3-rc2/drivers/s390/net/
A Dqeth_l2_sys.c149 rc = kstrtobool(buf, &enable); in qeth_bridgeport_hostnotification_store()
337 if (kstrtobool(buf, &state)) in qeth_vnicc_char_store()
/linux-6.3-rc2/drivers/misc/
A Ddw-xdata-pcie.c226 ret = kstrtobool(buf, &enabled); in write_store()
263 ret = kstrtobool(buf, &enabled); in read_store()
/linux-6.3-rc2/drivers/nvme/target/
A Dconfigfs.c271 if (kstrtobool(page, &val)) in nvmet_param_pi_enable_store()
536 if (kstrtobool(page, &enable)) in nvmet_ns_enable_store()
560 if (kstrtobool(page, &val)) in nvmet_ns_buffered_io_store()
583 if (kstrtobool(page, &val)) in nvmet_ns_revalidate_size_store()
732 if (kstrtobool(page, &enable)) in nvmet_passthru_enable_store()
999 if (kstrtobool(page, &allow_any_host)) in nvmet_subsys_attr_allow_any_host_store()
1389 if (kstrtobool(page, &pi_enable)) in nvmet_subsys_attr_pi_enable_store()
1518 if (kstrtobool(page, &enable)) in nvmet_referral_enable_store()
/linux-6.3-rc2/arch/x86/kernel/cpu/
A Dumwait.c142 ret = kstrtobool(buf, &c02_enable); in enable_c02_store()
/linux-6.3-rc2/drivers/iio/chemical/
A Dsunrise_co2.c247 ret = kstrtobool(buf, &enable); in sunrise_cal_factory_write()
272 ret = kstrtobool(buf, &enable); in sunrise_cal_background_write()
/linux-6.3-rc2/mm/damon/
A Dreclaim.c210 err = kstrtobool(val, &enable); in damon_reclaim_enabled_store()
/linux-6.3-rc2/drivers/most/
A Dconfigfs.c120 ret = kstrtobool(page, &tmp); in mdev_link_create_link_store()
142 ret = kstrtobool(page, &tmp); in mdev_link_destroy_link_store()
547 ret = kstrtobool(page, &tmp); in most_snd_grp_create_card_store()
/linux-6.3-rc2/drivers/iio/dac/
A Dmcp4725.c84 ret = kstrtobool(buf, &state); in mcp4725_store_eeprom()
182 ret = kstrtobool(buf, &state); in mcp4725_write_powerdown()
/linux-6.3-rc2/arch/s390/mm/
A Dpage-states.c27 if (!kstrtobool(str, &enabled)) in cmma()

Completed in 60 milliseconds

1234567