Home
last modified time | relevance | path

Searched refs:strtobool (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.1.9/drivers/usb/gadget/function/
Dstorage_common.c399 rc = strtobool(buf, &ro); in fsg_store_ro()
422 ret = strtobool(buf, &nofua); in fsg_store_nofua()
473 ret = strtobool(buf, &cdrom); in fsg_store_cdrom()
496 ret = strtobool(buf, &removable); in fsg_store_removable()
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/dss/
Ddisplay-sysfs.c39 r = strtobool(buf, &enable); in display_enabled_store()
76 r = strtobool(buf, &te); in display_tear_store()
186 r = strtobool(buf, &mirror); in display_mirror_store()
Dmanager-sysfs.c249 r = strtobool(buf, &enable); in manager_trans_key_enabled_store()
293 r = strtobool(buf, &enable); in manager_alpha_blending_enabled_store()
332 r = strtobool(buf, &enable); in manager_cpr_enable_store()
Doverlay-sysfs.c213 r = strtobool(buf, &enable); in overlay_enabled_store()
/linux-6.1.9/tools/include/linux/
Dstring.h13 int strtobool(const char *s, bool *res);
/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic-v3.c587 return strtobool(buf, &group0_trap); in early_group0_trap_cfg()
593 return strtobool(buf, &group1_trap); in early_group1_trap_cfg()
599 return strtobool(buf, &common_trap); in early_common_trap_cfg()
605 return strtobool(buf, &gicv4_enable); in early_gicv4_enable()
/linux-6.1.9/drivers/nvme/target/
Dconfigfs.c270 if (strtobool(page, &val)) in nvmet_param_pi_enable_store()
535 if (strtobool(page, &enable)) in nvmet_ns_enable_store()
559 if (strtobool(page, &val)) in nvmet_ns_buffered_io_store()
582 if (strtobool(page, &val)) in nvmet_ns_revalidate_size_store()
731 if (strtobool(page, &enable)) in nvmet_passthru_enable_store()
998 if (strtobool(page, &allow_any_host)) in nvmet_subsys_attr_allow_any_host_store()
1278 if (strtobool(page, &pi_enable)) in nvmet_subsys_attr_pi_enable_store()
1398 if (strtobool(page, &enable)) in nvmet_referral_enable_store()
/linux-6.1.9/tools/lib/
Dstring.c48 int strtobool(const char *s, bool *res) in strtobool() function
/linux-6.1.9/drivers/target/
Dtarget_core_configfs.c580 ret = strtobool(page, &flag); \
640 ret = strtobool(page, &flag); in emulate_model_alias_store()
662 ret = strtobool(page, &flag); in emulate_write_cache_store()
714 ret = strtobool(page, &flag); in emulate_tas_store()
739 ret = strtobool(page, &flag); in emulate_tpu_store()
769 ret = strtobool(page, &flag); in emulate_tpws_store()
868 ret = strtobool(page, &flag); in pi_prot_format_store()
905 ret = strtobool(page, &flag); in pi_prot_verify_store()
934 ret = strtobool(page, &flag); in force_pr_aptpl_store()
956 ret = strtobool(page, &flag); in emulate_rest_reord_store()
[all …]
/linux-6.1.9/mm/
Dusercopy.c261 if (strtobool(str, &enable_checks)) in parse_hardened_usercopy()
Dpage_table_check.c26 return strtobool(buf, &__page_table_check_enabled); in early_page_table_check_param()
/linux-6.1.9/include/linux/
Dkstrtox.h150 static inline int strtobool(const char *s, bool *res) in strtobool() function
/linux-6.1.9/drivers/usb/gadget/legacy/
Dserial.c112 ret = strtobool(s, &do_enable); in enable_set()
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dtx99.c192 if (strtobool(buf, &start)) in write_file_tx99()
/linux-6.1.9/drivers/usb/core/
Dsysfs.c508 ret = strtobool(buf, &value); in usb2_hardware_lpm_store()
978 if (strtobool(buf, &val) != 0) in interface_authorized_default_store()
1179 if (strtobool(buf, &val) != 0) in interface_authorized_store()
Dport.c66 rc = strtobool(buf, &disabled); in disable_store()
/linux-6.1.9/fs/cifs/
Dcifs_debug.c782 if (strtobool(c, &bv) == 0) in cifsFYI_proc_write()
942 if (strtobool(flags_string, &bv) == 0) { in cifs_security_flags_proc_write()
/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_lightbar.c496 ret = strtobool(buf, &enable); in userspace_control_store()
/linux-6.1.9/drivers/nvdimm/
Dregion_devs.c232 int rc = strtobool(buf, &flush); in deep_flush_store()
487 int rc = strtobool(buf, &ro); in read_only_store()
Dpmem.c411 rc = strtobool(buf, &write_cache); in write_cache_store()
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/
Domapfb-sysfs.c99 r = strtobool(buf, &mirror); in store_mirror()
/linux-6.1.9/drivers/net/usb/
Dqmi_wwan.c346 if (strtobool(buf, &enable)) in raw_ip_store()
495 if (strtobool(buf, &enable)) in pass_through_store()
/linux-6.1.9/arch/s390/kernel/
Dipl.c782 if (strtobool(buf, &reipl_fcp_clear) < 0) in reipl_fcp_clear_store()
902 if (strtobool(buf, &reipl_nvme_clear) < 0) in reipl_nvme_clear_store()
955 if (strtobool(buf, &reipl_ccw_clear) < 0) in reipl_ccw_clear_store()
/linux-6.1.9/init/
Dinitramfs.c574 strtobool(str, &initramfs_async); in initramfs_async_setup()
/linux-6.1.9/drivers/powercap/
Dpowercap_sys.c449 if (strtobool(buf, &mode)) in enabled_store()

12