// autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include static long syz_proconfig_set__sys_power_wakeup_count(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/power/wakeup_count", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_power_wakeup_count() { char command[256]; sprintf(command, "echo 0 > /sys/power/wakeup_count"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_power_sync_on_suspend(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/power/sync_on_suspend", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_power_sync_on_suspend() { char command[256]; sprintf(command, "echo 1 > /sys/power/sync_on_suspend"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_power_pm_print_times(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/power/pm_print_times", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_power_pm_print_times() { char command[256]; sprintf(command, "echo 0 > /sys/power/pm_print_times"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_power_image_size(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/power/image_size", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_power_image_size() { char command[256]; sprintf(command, "echo 679403520 > /sys/power/image_size"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_power_reserved_size(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/power/reserved_size", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_power_reserved_size() { char command[256]; sprintf(command, "echo 1048576 > /sys/power/reserved_size"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_power_pm_trace(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/power/pm_trace", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_power_pm_trace() { char command[256]; sprintf(command, "echo 0 > /sys/power/pm_trace"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_power_pm_debug_messages(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/power/pm_debug_messages", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_power_pm_debug_messages() { char command[256]; sprintf(command, "echo 0 > /sys/power/pm_debug_messages"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_power_pm_async(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/power/pm_async", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_power_pm_async() { char command[256]; sprintf(command, "echo 1 > /sys/power/pm_async"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_power_pm_freeze_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/power/pm_freeze_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_power_pm_freeze_timeout() { char command[256]; sprintf(command, "echo 20000 > /sys/power/pm_freeze_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_software_perf_event_mux_interval_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/software/perf_event_mux_interval_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_software_perf_event_mux_interval_ms() { char command[256]; sprintf(command, "echo 1 > /sys/devices/software/perf_event_mux_interval_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pnp0_00_05_cmos_nvram0_force_ro(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pnp0/00:05/cmos_nvram0/force_ro", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pnp0_00_05_cmos_nvram0_force_ro() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pnp0/00:05/cmos_nvram0/force_ro"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pnp0_00_05_rtc_rtc0_max_user_freq(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pnp0/00:05/rtc/rtc0/max_user_freq", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pnp0_00_05_rtc_rtc0_max_user_freq() { char command[256]; sprintf(command, "echo 64 > /sys/devices/pnp0/00:05/rtc/rtc0/max_user_freq"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pnp0_00_04_00_04_0_00_04_0_0_power_autosuspend_delay_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pnp0/00:04/00:04:0/00:04:0.0/power/autosuspend_delay_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pnp0_00_04_00_04_0_00_04_0_0_power_autosuspend_delay_ms() { char command[256]; sprintf(command, "echo 500 > /sys/devices/pnp0/00:04/00:04:0/00:04:0.0/power/autosuspend_delay_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pnp0_00_04_00_04_0_00_04_0_0_tty_ttyS0_rx_trig_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pnp0/00:04/00:04:0/00:04:0.0/tty/ttyS0/rx_trig_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pnp0_00_04_00_04_0_00_04_0_0_tty_ttyS0_rx_trig_bytes() { char command[256]; sprintf(command, "echo 8 > /sys/devices/pnp0/00:04/00:04:0/00:04:0.0/tty/ttyS0/rx_trig_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_serial8250_serial8250_0_serial8250_0_3_power_autosuspend_delay_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/serial8250/serial8250:0/serial8250:0.3/power/autosuspend_delay_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_serial8250_serial8250_0_serial8250_0_3_power_autosuspend_delay_ms() { char command[256]; sprintf(command, "echo 500 > /sys/devices/platform/serial8250/serial8250:0/serial8250:0.3/power/autosuspend_delay_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_serial8250_serial8250_0_serial8250_0_1_power_autosuspend_delay_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/serial8250/serial8250:0/serial8250:0.1/power/autosuspend_delay_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_serial8250_serial8250_0_serial8250_0_1_power_autosuspend_delay_ms() { char command[256]; sprintf(command, "echo 500 > /sys/devices/platform/serial8250/serial8250:0/serial8250:0.1/power/autosuspend_delay_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_serial8250_serial8250_0_serial8250_0_2_power_autosuspend_delay_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/serial8250/serial8250:0/serial8250:0.2/power/autosuspend_delay_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_serial8250_serial8250_0_serial8250_0_2_power_autosuspend_delay_ms() { char command[256]; sprintf(command, "echo 500 > /sys/devices/platform/serial8250/serial8250:0/serial8250:0.2/power/autosuspend_delay_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_i8042_serio0_scroll(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/i8042/serio0/scroll", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_i8042_serio0_scroll() { char command[256]; sprintf(command, "echo 0 > /sys/devices/platform/i8042/serio0/scroll"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_i8042_serio0_softrepeat(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/i8042/serio0/softrepeat", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_i8042_serio0_softrepeat() { char command[256]; sprintf(command, "echo 0 > /sys/devices/platform/i8042/serio0/softrepeat"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_i8042_serio0_set(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/i8042/serio0/set", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_i8042_serio0_set() { char command[256]; sprintf(command, "echo 2 > /sys/devices/platform/i8042/serio0/set"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_i8042_serio0_softraw(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/i8042/serio0/softraw", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_i8042_serio0_softraw() { char command[256]; sprintf(command, "echo 1 > /sys/devices/platform/i8042/serio0/softraw"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_i8042_serio0_extra(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/i8042/serio0/extra", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_i8042_serio0_extra() { char command[256]; sprintf(command, "echo 0 > /sys/devices/platform/i8042/serio0/extra"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_i8042_serio0_input_input1_inhibited(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/i8042/serio0/input/input1/inhibited", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_i8042_serio0_input_input1_inhibited() { char command[256]; sprintf(command, "echo 0 > /sys/devices/platform/i8042/serio0/input/input1/inhibited"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_i8042_serio0_input_input1_input1__numlock_brightness(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/i8042/serio0/input/input1/input1::numlock/brightness", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_i8042_serio0_input_input1_input1__numlock_brightness() { char command[256]; sprintf(command, "echo 0 > /sys/devices/platform/i8042/serio0/input/input1/input1::numlock/brightness"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_i8042_serio0_input_input1_input1__scrolllock_brightness(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/i8042/serio0/input/input1/input1::scrolllock/brightness", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_i8042_serio0_input_input1_input1__scrolllock_brightness() { char command[256]; sprintf(command, "echo 0 > /sys/devices/platform/i8042/serio0/input/input1/input1::scrolllock/brightness"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_i8042_serio0_input_input1_input1__capslock_brightness(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/i8042/serio0/input/input1/input1::capslock/brightness", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_i8042_serio0_input_input1_input1__capslock_brightness() { char command[256]; sprintf(command, "echo 0 > /sys/devices/platform/i8042/serio0/input/input1/input1::capslock/brightness"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_i8042_serio1_resetafter(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/i8042/serio1/resetafter", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_i8042_serio1_resetafter() { char command[256]; sprintf(command, "echo 5 > /sys/devices/platform/i8042/serio1/resetafter"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_i8042_serio1_resolution(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/i8042/serio1/resolution", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_i8042_serio1_resolution() { char command[256]; sprintf(command, "echo 200 > /sys/devices/platform/i8042/serio1/resolution"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_i8042_serio1_rate(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/i8042/serio1/rate", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_i8042_serio1_rate() { char command[256]; sprintf(command, "echo 100 > /sys/devices/platform/i8042/serio1/rate"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_i8042_serio1_resync_time(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/i8042/serio1/resync_time", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_i8042_serio1_resync_time() { char command[256]; sprintf(command, "echo 0 > /sys/devices/platform/i8042/serio1/resync_time"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_platform_i8042_serio1_input_input3_inhibited(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/platform/i8042/serio1/input/input3/inhibited", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_platform_i8042_serio1_input_input3_inhibited() { char command[256]; sprintf(command, "echo 0 > /sys/devices/platform/i8042/serio1/input/input3/inhibited"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_uprobe_perf_event_mux_interval_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/uprobe/perf_event_mux_interval_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_uprobe_perf_event_mux_interval_ms() { char command[256]; sprintf(command, "echo 1 > /sys/devices/uprobe/perf_event_mux_interval_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_cpu_rdpmc(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/cpu/rdpmc", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_cpu_rdpmc() { char command[256]; sprintf(command, "echo 1 > /sys/devices/cpu/rdpmc"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_cpu_perf_event_mux_interval_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/cpu/perf_event_mux_interval_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_cpu_perf_event_mux_interval_ms() { char command[256]; sprintf(command, "echo 1 > /sys/devices/cpu/perf_event_mux_interval_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_0_broken_parity_status(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.0/broken_parity_status", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_0_broken_parity_status() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.0/broken_parity_status"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_0_msi_bus(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.0/msi_bus", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_0_msi_bus() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.0/msi_bus"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_0_d3cold_allowed(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.0/d3cold_allowed", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_0_d3cold_allowed() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.0/d3cold_allowed"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_0_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.0/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_0_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.0/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_00_0_broken_parity_status(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:00.0/broken_parity_status", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_00_0_broken_parity_status() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:00.0/broken_parity_status"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_00_0_msi_bus(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:00.0/msi_bus", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_00_0_msi_bus() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:00.0/msi_bus"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_00_0_d3cold_allowed(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:00.0/d3cold_allowed", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_00_0_d3cold_allowed() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:00.0/d3cold_allowed"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_00_0_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:00.0/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_00_0_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:00.0/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_3_broken_parity_status(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.3/broken_parity_status", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_3_broken_parity_status() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.3/broken_parity_status"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_3_msi_bus(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.3/msi_bus", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_3_msi_bus() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.3/msi_bus"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_3_d3cold_allowed(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.3/d3cold_allowed", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_3_d3cold_allowed() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.3/d3cold_allowed"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_3_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.3/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_3_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.3/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_broken_parity_status(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/broken_parity_status", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_broken_parity_status() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:03.0/broken_parity_status"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_msi_bus(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/msi_bus", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_msi_bus() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:03.0/msi_bus"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_d3cold_allowed(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/d3cold_allowed", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_d3cold_allowed() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:03.0/d3cold_allowed"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_enable() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:03.0/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_carrier(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/carrier", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_carrier() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/carrier"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_proto_down(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/proto_down", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_proto_down() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/proto_down"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_mtu(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/mtu", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_mtu() { char command[256]; sprintf(command, "echo 1500 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/mtu"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_gro_flush_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/gro_flush_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_gro_flush_timeout() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/gro_flush_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_netdev_group(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/netdev_group", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_netdev_group() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/netdev_group"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_napi_defer_hard_irqs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/napi_defer_hard_irqs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_napi_defer_hard_irqs() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/napi_defer_hard_irqs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_threaded(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/threaded", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_threaded() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/threaded"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_tx_queue_len(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/tx_queue_len", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_tx_queue_len() { char command[256]; sprintf(command, "echo 1000 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/tx_queue_len"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_tx_maxrate(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/tx_maxrate", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_tx_maxrate() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/tx_maxrate"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_xps_rxqs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/xps_rxqs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_xps_rxqs() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/xps_rxqs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_byte_queue_limits_stall_max(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/byte_queue_limits/stall_max", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_byte_queue_limits_stall_max() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/byte_queue_limits/stall_max"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_byte_queue_limits_limit_min(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/byte_queue_limits/limit_min", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_byte_queue_limits_limit_min() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/byte_queue_limits/limit_min"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_byte_queue_limits_limit(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/byte_queue_limits/limit", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_byte_queue_limits_limit() { char command[256]; sprintf(command, "echo 15020 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/byte_queue_limits/limit"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_byte_queue_limits_limit_max(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/byte_queue_limits/limit_max", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_byte_queue_limits_limit_max() { char command[256]; sprintf(command, "echo 1879048192 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/byte_queue_limits/limit_max"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_byte_queue_limits_stall_thrs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/byte_queue_limits/stall_thrs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_byte_queue_limits_stall_thrs() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/byte_queue_limits/stall_thrs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_byte_queue_limits_hold_time(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/byte_queue_limits/hold_time", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_tx_0_byte_queue_limits_hold_time() { char command[256]; sprintf(command, "echo 1000 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/tx-0/byte_queue_limits/hold_time"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_rx_0_rps_flow_cnt(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/rx-0/rps_flow_cnt", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_rx_0_rps_flow_cnt() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/rx-0/rps_flow_cnt"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_rx_0_rps_cpus(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/rx-0/rps_cpus", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_03_0_net_eth0_queues_rx_0_rps_cpus() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:03.0/net/eth0/queues/rx-0/rps_cpus"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_broken_parity_status(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/broken_parity_status", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_broken_parity_status() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/broken_parity_status"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_msi_bus(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/msi_bus", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_msi_bus() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.1/msi_bus"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_d3cold_allowed(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/d3cold_allowed", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_d3cold_allowed() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/d3cold_allowed"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_enable() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.1/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_cdl_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/cdl_enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_cdl_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/cdl_enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_eh_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/eh_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_eh_timeout() { char command[256]; sprintf(command, "echo 10 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/eh_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_timeout() { char command[256]; sprintf(command, "echo 30 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_max_write_same_blocks(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/max_write_same_blocks", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_max_write_same_blocks() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/max_write_same_blocks"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_allow_restart(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/allow_restart", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_allow_restart() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/allow_restart"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_manage_system_start_stop(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/manage_system_start_stop", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_manage_system_start_stop() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/manage_system_start_stop"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_manage_runtime_start_stop(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/manage_runtime_start_stop", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_manage_runtime_start_stop() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/manage_runtime_start_stop"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_max_retries(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/max_retries", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_max_retries() { char command[256]; sprintf(command, "echo 5 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/max_retries"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_manage_shutdown(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/manage_shutdown", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_manage_shutdown() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/manage_shutdown"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_max_medium_access_timeouts(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/max_medium_access_timeouts", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_max_medium_access_timeouts() { char command[256]; sprintf(command, "echo 2 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/max_medium_access_timeouts"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_protection_type(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/protection_type", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_scsi_disk_0_0_0_0_protection_type() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/scsi_disk/0:0:0:0/protection_type"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_io_poll(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/io_poll", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_io_poll() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/io_poll"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_io_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/io_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_io_timeout() { char command[256]; sprintf(command, "echo 30000 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/io_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_nr_requests(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/nr_requests", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_nr_requests() { char command[256]; sprintf(command, "echo 2 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/nr_requests"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iostats_passthrough(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iostats_passthrough", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iostats_passthrough() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iostats_passthrough"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_stable_writes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/stable_writes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_stable_writes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/stable_writes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_rotational(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/rotational", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_rotational() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/rotational"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_discard_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/discard_max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_discard_max_bytes() { char command[256]; sprintf(command, "echo 2147450880 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/discard_max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_add_random(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/add_random", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_add_random() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/add_random"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_nomerges(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/nomerges", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_nomerges() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/nomerges"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_rq_affinity(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/rq_affinity", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_rq_affinity() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/rq_affinity"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_max_sectors_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/max_sectors_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_max_sectors_kb() { char command[256]; sprintf(command, "echo 1280 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/max_sectors_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iostats(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iostats", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iostats() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iostats"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iosched_front_merges(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iosched/front_merges", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iosched_front_merges() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iosched/front_merges"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iosched_read_expire(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iosched/read_expire", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iosched_read_expire() { char command[256]; sprintf(command, "echo 500 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iosched/read_expire"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iosched_prio_aging_expire(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iosched/prio_aging_expire", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iosched_prio_aging_expire() { char command[256]; sprintf(command, "echo 10000 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iosched/prio_aging_expire"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iosched_fifo_batch(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iosched/fifo_batch", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iosched_fifo_batch() { char command[256]; sprintf(command, "echo 16 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iosched/fifo_batch"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iosched_write_expire(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iosched/write_expire", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iosched_write_expire() { char command[256]; sprintf(command, "echo 5000 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iosched/write_expire"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iosched_writes_starved(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iosched/writes_starved", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iosched_writes_starved() { char command[256]; sprintf(command, "echo 2 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iosched/writes_starved"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iosched_async_depth(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iosched/async_depth", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_queue_iosched_async_depth() { char command[256]; sprintf(command, "echo 2 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/queue/iosched/async_depth"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_trace_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/trace/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata1_host0_target0_0_0_0_0_0_0_block_sda_trace_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda/trace/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_cdl_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/cdl_enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_cdl_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/cdl_enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_eh_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/eh_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_eh_timeout() { char command[256]; sprintf(command, "echo 10 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/eh_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_timeout() { char command[256]; sprintf(command, "echo 30 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_io_poll(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/io_poll", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_io_poll() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/io_poll"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_io_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/io_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_io_timeout() { char command[256]; sprintf(command, "echo 30000 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/io_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_nr_requests(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/nr_requests", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_nr_requests() { char command[256]; sprintf(command, "echo 2 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/nr_requests"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iostats_passthrough(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iostats_passthrough", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iostats_passthrough() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iostats_passthrough"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_stable_writes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/stable_writes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_stable_writes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/stable_writes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_rotational(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/rotational", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_rotational() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/rotational"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_discard_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/discard_max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_discard_max_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/discard_max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_add_random(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/add_random", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_add_random() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/add_random"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_nomerges(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/nomerges", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_nomerges() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/nomerges"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_rq_affinity(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/rq_affinity", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_rq_affinity() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/rq_affinity"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_max_sectors_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/max_sectors_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_max_sectors_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/max_sectors_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iostats(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iostats", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iostats() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iostats"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iosched_front_merges(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iosched/front_merges", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iosched_front_merges() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iosched/front_merges"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iosched_read_expire(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iosched/read_expire", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iosched_read_expire() { char command[256]; sprintf(command, "echo 500 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iosched/read_expire"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iosched_prio_aging_expire(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iosched/prio_aging_expire", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iosched_prio_aging_expire() { char command[256]; sprintf(command, "echo 10000 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iosched/prio_aging_expire"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iosched_fifo_batch(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iosched/fifo_batch", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iosched_fifo_batch() { char command[256]; sprintf(command, "echo 16 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iosched/fifo_batch"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iosched_write_expire(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iosched/write_expire", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iosched_write_expire() { char command[256]; sprintf(command, "echo 5000 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iosched/write_expire"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iosched_writes_starved(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iosched/writes_starved", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iosched_writes_starved() { char command[256]; sprintf(command, "echo 2 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iosched/writes_starved"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iosched_async_depth(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iosched/async_depth", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_queue_iosched_async_depth() { char command[256]; sprintf(command, "echo 2 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/queue/iosched/async_depth"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_trace_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/trace/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_01_1_ata2_host1_target1_0_0_1_0_0_0_block_sr0_trace_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0/trace/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_02_0_broken_parity_status(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:02.0/broken_parity_status", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_02_0_broken_parity_status() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:02.0/broken_parity_status"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_02_0_msi_bus(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:02.0/msi_bus", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_02_0_msi_bus() { char command[256]; sprintf(command, "echo 1 > /sys/devices/pci0000:00/0000:00:02.0/msi_bus"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_02_0_d3cold_allowed(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:02.0/d3cold_allowed", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_02_0_d3cold_allowed() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:02.0/d3cold_allowed"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_pci0000_00_0000_00_02_0_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/pci0000:00/0000:00:02.0/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_pci0000_00_0000_00_02_0_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/pci0000:00/0000:00:02.0/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_cpu_cpu1_online(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/cpu/cpu1/online", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_cpu_cpu1_online() { char command[256]; sprintf(command, "echo 1 > /sys/devices/system/cpu/cpu1/online"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_cpu_cpu1_hotplug_target(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/cpu/cpu1/hotplug/target", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_cpu_cpu1_hotplug_target() { char command[256]; sprintf(command, "echo 238 > /sys/devices/system/cpu/cpu1/hotplug/target"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_cpu_cpu1_power_pm_qos_resume_latency_us(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/cpu/cpu1/power/pm_qos_resume_latency_us", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_cpu_cpu1_power_pm_qos_resume_latency_us() { char command[256]; sprintf(command, "echo 0 > /sys/devices/system/cpu/cpu1/power/pm_qos_resume_latency_us"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_cpu_cpu0_hotplug_target(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/cpu/cpu0/hotplug/target", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_cpu_cpu0_hotplug_target() { char command[256]; sprintf(command, "echo 238 > /sys/devices/system/cpu/cpu0/hotplug/target"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_cpu_cpu0_power_pm_qos_resume_latency_us(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/cpu/cpu0/power/pm_qos_resume_latency_us", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_cpu_cpu0_power_pm_qos_resume_latency_us() { char command[256]; sprintf(command, "echo 0 > /sys/devices/system/cpu/cpu0/power/pm_qos_resume_latency_us"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_machinecheck_machinecheck0_monarch_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/machinecheck/machinecheck0/monarch_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_machinecheck_machinecheck0_monarch_timeout() { char command[256]; sprintf(command, "echo 0 > /sys/devices/system/machinecheck/machinecheck0/monarch_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_machinecheck_machinecheck0_check_interval(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/machinecheck/machinecheck0/check_interval", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_machinecheck_machinecheck0_check_interval() { char command[256]; sprintf(command, "echo 300 > /sys/devices/system/machinecheck/machinecheck0/check_interval"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_machinecheck_machinecheck0_ignore_ce(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/machinecheck/machinecheck0/ignore_ce", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_machinecheck_machinecheck0_ignore_ce() { char command[256]; sprintf(command, "echo 0 > /sys/devices/system/machinecheck/machinecheck0/ignore_ce"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_machinecheck_machinecheck0_dont_log_ce(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/machinecheck/machinecheck0/dont_log_ce", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_machinecheck_machinecheck0_dont_log_ce() { char command[256]; sprintf(command, "echo 0 > /sys/devices/system/machinecheck/machinecheck0/dont_log_ce"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_machinecheck_machinecheck0_print_all(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/machinecheck/machinecheck0/print_all", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_machinecheck_machinecheck0_print_all() { char command[256]; sprintf(command, "echo 0 > /sys/devices/system/machinecheck/machinecheck0/print_all"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_machinecheck_machinecheck0_cmci_disabled(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/machinecheck/machinecheck0/cmci_disabled", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_machinecheck_machinecheck0_cmci_disabled() { char command[256]; sprintf(command, "echo 0 > /sys/devices/system/machinecheck/machinecheck0/cmci_disabled"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_machinecheck_machinecheck1_monarch_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/machinecheck/machinecheck1/monarch_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_machinecheck_machinecheck1_monarch_timeout() { char command[256]; sprintf(command, "echo 0 > /sys/devices/system/machinecheck/machinecheck1/monarch_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_machinecheck_machinecheck1_check_interval(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/machinecheck/machinecheck1/check_interval", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_machinecheck_machinecheck1_check_interval() { char command[256]; sprintf(command, "echo 300 > /sys/devices/system/machinecheck/machinecheck1/check_interval"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_machinecheck_machinecheck1_ignore_ce(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/machinecheck/machinecheck1/ignore_ce", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_machinecheck_machinecheck1_ignore_ce() { char command[256]; sprintf(command, "echo 0 > /sys/devices/system/machinecheck/machinecheck1/ignore_ce"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_machinecheck_machinecheck1_dont_log_ce(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/machinecheck/machinecheck1/dont_log_ce", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_machinecheck_machinecheck1_dont_log_ce() { char command[256]; sprintf(command, "echo 0 > /sys/devices/system/machinecheck/machinecheck1/dont_log_ce"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_machinecheck_machinecheck1_print_all(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/machinecheck/machinecheck1/print_all", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_machinecheck_machinecheck1_print_all() { char command[256]; sprintf(command, "echo 0 > /sys/devices/system/machinecheck/machinecheck1/print_all"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_machinecheck_machinecheck1_cmci_disabled(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/machinecheck/machinecheck1/cmci_disabled", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_machinecheck_machinecheck1_cmci_disabled() { char command[256]; sprintf(command, "echo 0 > /sys/devices/system/machinecheck/machinecheck1/cmci_disabled"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_container_PNP0A06_02_online(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/container/PNP0A06:02/online", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_container_PNP0A06_02_online() { char command[256]; sprintf(command, "echo 1 > /sys/devices/system/container/PNP0A06:02/online"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_container_PNP0A06_00_online(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/container/PNP0A06:00/online", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_container_PNP0A06_00_online() { char command[256]; sprintf(command, "echo 1 > /sys/devices/system/container/PNP0A06:00/online"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_container_PNP0A06_01_online(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/container/PNP0A06:01/online", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_container_PNP0A06_01_online() { char command[256]; sprintf(command, "echo 1 > /sys/devices/system/container/PNP0A06:01/online"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_system_node_node0_hugepages_hugepages_2048kB_nr_hugepages(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_system_node_node0_hugepages_hugepages_2048kB_nr_hugepages() { char command[256]; sprintf(command, "echo 0 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_breakpoint_perf_event_mux_interval_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/breakpoint/perf_event_mux_interval_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_breakpoint_perf_event_mux_interval_ms() { char command[256]; sprintf(command, "echo 1 > /sys/devices/breakpoint/perf_event_mux_interval_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_thermal_cooling_device1_cur_state(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/thermal/cooling_device1/cur_state", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_thermal_cooling_device1_cur_state() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/thermal/cooling_device1/cur_state"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_thermal_cooling_device0_cur_state(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/thermal/cooling_device0/cur_state", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_thermal_cooling_device0_cur_state() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/thermal/cooling_device0/cur_state"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_vtconsole_vtcon0_bind(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/vtconsole/vtcon0/bind", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_vtconsole_vtcon0_bind() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/vtconsole/vtcon0/bind"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_sit0_proto_down(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/sit0/proto_down", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_sit0_proto_down() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/sit0/proto_down"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_sit0_mtu(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/sit0/mtu", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_sit0_mtu() { char command[256]; sprintf(command, "echo 1480 > /sys/devices/virtual/net/sit0/mtu"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_sit0_gro_flush_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/sit0/gro_flush_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_sit0_gro_flush_timeout() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/sit0/gro_flush_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_sit0_netdev_group(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/sit0/netdev_group", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_sit0_netdev_group() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/sit0/netdev_group"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_sit0_napi_defer_hard_irqs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/sit0/napi_defer_hard_irqs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_sit0_napi_defer_hard_irqs() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/sit0/napi_defer_hard_irqs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_sit0_threaded(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/sit0/threaded", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_sit0_threaded() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/sit0/threaded"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_sit0_tx_queue_len(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/sit0/tx_queue_len", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_sit0_tx_queue_len() { char command[256]; sprintf(command, "echo 1000 > /sys/devices/virtual/net/sit0/tx_queue_len"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_sit0_queues_tx_0_tx_maxrate(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/sit0/queues/tx-0/tx_maxrate", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_sit0_queues_tx_0_tx_maxrate() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/sit0/queues/tx-0/tx_maxrate"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_sit0_queues_tx_0_xps_rxqs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/sit0/queues/tx-0/xps_rxqs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_sit0_queues_tx_0_xps_rxqs() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/sit0/queues/tx-0/xps_rxqs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_sit0_queues_rx_0_rps_flow_cnt(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/sit0/queues/rx-0/rps_flow_cnt", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_sit0_queues_rx_0_rps_flow_cnt() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/sit0/queues/rx-0/rps_flow_cnt"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_sit0_queues_rx_0_rps_cpus(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/sit0/queues/rx-0/rps_cpus", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_sit0_queues_rx_0_rps_cpus() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/sit0/queues/rx-0/rps_cpus"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_lo_carrier(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/lo/carrier", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_lo_carrier() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/net/lo/carrier"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_lo_proto_down(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/lo/proto_down", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_lo_proto_down() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/lo/proto_down"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_lo_mtu(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/lo/mtu", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_lo_mtu() { char command[256]; sprintf(command, "echo 65536 > /sys/devices/virtual/net/lo/mtu"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_lo_gro_flush_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/lo/gro_flush_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_lo_gro_flush_timeout() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/lo/gro_flush_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_lo_netdev_group(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/lo/netdev_group", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_lo_netdev_group() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/lo/netdev_group"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_lo_napi_defer_hard_irqs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/lo/napi_defer_hard_irqs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_lo_napi_defer_hard_irqs() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/lo/napi_defer_hard_irqs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_lo_threaded(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/lo/threaded", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_lo_threaded() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/lo/threaded"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_lo_tx_queue_len(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/lo/tx_queue_len", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_lo_tx_queue_len() { char command[256]; sprintf(command, "echo 1000 > /sys/devices/virtual/net/lo/tx_queue_len"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_lo_queues_tx_0_tx_maxrate(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/lo/queues/tx-0/tx_maxrate", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_lo_queues_tx_0_tx_maxrate() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/lo/queues/tx-0/tx_maxrate"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_lo_queues_tx_0_xps_rxqs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/lo/queues/tx-0/xps_rxqs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_lo_queues_tx_0_xps_rxqs() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/lo/queues/tx-0/xps_rxqs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_lo_queues_rx_0_rps_flow_cnt(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/lo/queues/rx-0/rps_flow_cnt", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_lo_queues_rx_0_rps_flow_cnt() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/lo/queues/rx-0/rps_flow_cnt"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_net_lo_queues_rx_0_rps_cpus(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/net/lo/queues/rx-0/rps_cpus", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_net_lo_queues_rx_0_rps_cpus() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/net/lo/queues/rx-0/rps_cpus"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_6_min_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:6/min_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_6_min_ratio() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:6/min_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_6_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:6/max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_6_max_bytes() { char command[256]; sprintf(command, "echo 297144320 > /sys/devices/virtual/bdi/7:6/max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_6_strict_limit(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:6/strict_limit", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_6_strict_limit() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:6/strict_limit"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_6_max_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:6/max_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_6_max_ratio() { char command[256]; sprintf(command, "echo 100 > /sys/devices/virtual/bdi/7:6/max_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_6_max_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:6/max_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_6_max_ratio_fine() { char command[256]; sprintf(command, "echo 1000000 > /sys/devices/virtual/bdi/7:6/max_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_6_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:6/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_6_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/bdi/7:6/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_6_min_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:6/min_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_6_min_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:6/min_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_6_min_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:6/min_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_6_min_ratio_fine() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:6/min_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_4_min_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:4/min_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_4_min_ratio() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:4/min_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_4_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:4/max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_4_max_bytes() { char command[256]; sprintf(command, "echo 297082880 > /sys/devices/virtual/bdi/7:4/max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_4_strict_limit(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:4/strict_limit", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_4_strict_limit() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:4/strict_limit"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_4_max_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:4/max_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_4_max_ratio() { char command[256]; sprintf(command, "echo 100 > /sys/devices/virtual/bdi/7:4/max_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_4_max_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:4/max_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_4_max_ratio_fine() { char command[256]; sprintf(command, "echo 1000000 > /sys/devices/virtual/bdi/7:4/max_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_4_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:4/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_4_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/bdi/7:4/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_4_min_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:4/min_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_4_min_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:4/min_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_4_min_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:4/min_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_4_min_ratio_fine() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:4/min_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_2_min_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:2/min_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_2_min_ratio() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:2/min_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_2_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:2/max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_2_max_bytes() { char command[256]; sprintf(command, "echo 297029632 > /sys/devices/virtual/bdi/7:2/max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_2_strict_limit(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:2/strict_limit", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_2_strict_limit() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:2/strict_limit"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_2_max_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:2/max_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_2_max_ratio() { char command[256]; sprintf(command, "echo 100 > /sys/devices/virtual/bdi/7:2/max_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_2_max_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:2/max_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_2_max_ratio_fine() { char command[256]; sprintf(command, "echo 1000000 > /sys/devices/virtual/bdi/7:2/max_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_2_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:2/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_2_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/bdi/7:2/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_2_min_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:2/min_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_2_min_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:2/min_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_2_min_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:2/min_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_2_min_ratio_fine() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:2/min_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_0_min_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:0/min_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_0_min_ratio() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:0/min_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_0_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:0/max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_0_max_bytes() { char command[256]; sprintf(command, "echo 297029632 > /sys/devices/virtual/bdi/7:0/max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_0_strict_limit(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:0/strict_limit", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_0_strict_limit() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:0/strict_limit"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_0_max_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:0/max_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_0_max_ratio() { char command[256]; sprintf(command, "echo 100 > /sys/devices/virtual/bdi/7:0/max_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_0_max_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:0/max_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_0_max_ratio_fine() { char command[256]; sprintf(command, "echo 1000000 > /sys/devices/virtual/bdi/7:0/max_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_0_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:0/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_0_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/bdi/7:0/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_0_min_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:0/min_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_0_min_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:0/min_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_0_min_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:0/min_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_0_min_ratio_fine() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:0/min_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_7_min_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:7/min_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_7_min_ratio() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:7/min_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_7_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:7/max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_7_max_bytes() { char command[256]; sprintf(command, "echo 297029632 > /sys/devices/virtual/bdi/7:7/max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_7_strict_limit(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:7/strict_limit", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_7_strict_limit() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:7/strict_limit"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_7_max_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:7/max_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_7_max_ratio() { char command[256]; sprintf(command, "echo 100 > /sys/devices/virtual/bdi/7:7/max_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_7_max_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:7/max_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_7_max_ratio_fine() { char command[256]; sprintf(command, "echo 1000000 > /sys/devices/virtual/bdi/7:7/max_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_7_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:7/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_7_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/bdi/7:7/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_7_min_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:7/min_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_7_min_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:7/min_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_7_min_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:7/min_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_7_min_ratio_fine() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:7/min_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_5_min_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:5/min_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_5_min_ratio() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:5/min_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_5_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:5/max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_5_max_bytes() { char command[256]; sprintf(command, "echo 296992768 > /sys/devices/virtual/bdi/7:5/max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_5_strict_limit(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:5/strict_limit", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_5_strict_limit() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:5/strict_limit"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_5_max_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:5/max_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_5_max_ratio() { char command[256]; sprintf(command, "echo 100 > /sys/devices/virtual/bdi/7:5/max_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_5_max_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:5/max_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_5_max_ratio_fine() { char command[256]; sprintf(command, "echo 1000000 > /sys/devices/virtual/bdi/7:5/max_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_5_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:5/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_5_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/bdi/7:5/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_5_min_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:5/min_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_5_min_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:5/min_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_5_min_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:5/min_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_5_min_ratio_fine() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:5/min_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_11_0_min_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/11:0/min_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_11_0_min_ratio() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/11:0/min_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_11_0_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/11:0/max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_11_0_max_bytes() { char command[256]; sprintf(command, "echo 296992768 > /sys/devices/virtual/bdi/11:0/max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_11_0_strict_limit(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/11:0/strict_limit", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_11_0_strict_limit() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/11:0/strict_limit"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_11_0_max_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/11:0/max_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_11_0_max_ratio() { char command[256]; sprintf(command, "echo 100 > /sys/devices/virtual/bdi/11:0/max_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_11_0_max_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/11:0/max_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_11_0_max_ratio_fine() { char command[256]; sprintf(command, "echo 1000000 > /sys/devices/virtual/bdi/11:0/max_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_11_0_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/11:0/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_11_0_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/bdi/11:0/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_11_0_min_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/11:0/min_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_11_0_min_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/11:0/min_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_11_0_min_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/11:0/min_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_11_0_min_ratio_fine() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/11:0/min_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_3_min_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:3/min_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_3_min_ratio() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:3/min_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_3_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:3/max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_3_max_bytes() { char command[256]; sprintf(command, "echo 296992768 > /sys/devices/virtual/bdi/7:3/max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_3_strict_limit(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:3/strict_limit", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_3_strict_limit() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:3/strict_limit"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_3_max_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:3/max_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_3_max_ratio() { char command[256]; sprintf(command, "echo 100 > /sys/devices/virtual/bdi/7:3/max_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_3_max_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:3/max_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_3_max_ratio_fine() { char command[256]; sprintf(command, "echo 1000000 > /sys/devices/virtual/bdi/7:3/max_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_3_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:3/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_3_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/bdi/7:3/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_3_min_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:3/min_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_3_min_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:3/min_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_3_min_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:3/min_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_3_min_ratio_fine() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:3/min_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_1_min_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:1/min_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_1_min_ratio() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:1/min_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_1_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:1/max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_1_max_bytes() { char command[256]; sprintf(command, "echo 296992768 > /sys/devices/virtual/bdi/7:1/max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_1_strict_limit(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:1/strict_limit", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_1_strict_limit() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:1/strict_limit"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_1_max_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:1/max_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_1_max_ratio() { char command[256]; sprintf(command, "echo 100 > /sys/devices/virtual/bdi/7:1/max_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_1_max_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:1/max_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_1_max_ratio_fine() { char command[256]; sprintf(command, "echo 1000000 > /sys/devices/virtual/bdi/7:1/max_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_1_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:1/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_1_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/bdi/7:1/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_1_min_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:1/min_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_1_min_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:1/min_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_7_1_min_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/7:1/min_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_7_1_min_ratio_fine() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/7:1/min_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_8_0_min_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/8:0/min_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_8_0_min_ratio() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/8:0/min_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_8_0_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/8:0/max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_8_0_max_bytes() { char command[256]; sprintf(command, "echo 296951808 > /sys/devices/virtual/bdi/8:0/max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_8_0_strict_limit(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/8:0/strict_limit", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_8_0_strict_limit() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/8:0/strict_limit"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_8_0_max_ratio(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/8:0/max_ratio", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_8_0_max_ratio() { char command[256]; sprintf(command, "echo 100 > /sys/devices/virtual/bdi/8:0/max_ratio"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_8_0_max_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/8:0/max_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_8_0_max_ratio_fine() { char command[256]; sprintf(command, "echo 1000000 > /sys/devices/virtual/bdi/8:0/max_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_8_0_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/8:0/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_8_0_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/bdi/8:0/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_8_0_min_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/8:0/min_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_8_0_min_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/8:0/min_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_bdi_8_0_min_ratio_fine(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/bdi/8:0/min_ratio_fine", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_bdi_8_0_min_ratio_fine() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/bdi/8:0/min_ratio_fine"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop1_queue_io_poll(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop1/queue/io_poll", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop1_queue_io_poll() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop1/queue/io_poll"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop1_queue_nr_requests(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop1/queue/nr_requests", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop1_queue_nr_requests() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop1/queue/nr_requests"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop1_queue_iostats_passthrough(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop1/queue/iostats_passthrough", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop1_queue_iostats_passthrough() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop1/queue/iostats_passthrough"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop1_queue_stable_writes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop1/queue/stable_writes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop1_queue_stable_writes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop1/queue/stable_writes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop1_queue_rotational(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop1/queue/rotational", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop1_queue_rotational() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop1/queue/rotational"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop1_queue_discard_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop1/queue/discard_max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop1_queue_discard_max_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop1/queue/discard_max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop1_queue_add_random(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop1/queue/add_random", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop1_queue_add_random() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop1/queue/add_random"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop1_queue_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop1/queue/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop1_queue_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop1/queue/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop1_queue_nomerges(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop1/queue/nomerges", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop1_queue_nomerges() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop1/queue/nomerges"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop1_queue_rq_affinity(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop1/queue/rq_affinity", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop1_queue_rq_affinity() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop1/queue/rq_affinity"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop1_queue_max_sectors_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop1/queue/max_sectors_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop1_queue_max_sectors_kb() { char command[256]; sprintf(command, "echo 1280 > /sys/devices/virtual/block/loop1/queue/max_sectors_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop1_queue_iostats(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop1/queue/iostats", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop1_queue_iostats() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop1/queue/iostats"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop1_trace_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop1/trace/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop1_trace_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop1/trace/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop6_queue_io_poll(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop6/queue/io_poll", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop6_queue_io_poll() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop6/queue/io_poll"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop6_queue_nr_requests(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop6/queue/nr_requests", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop6_queue_nr_requests() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop6/queue/nr_requests"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop6_queue_iostats_passthrough(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop6/queue/iostats_passthrough", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop6_queue_iostats_passthrough() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop6/queue/iostats_passthrough"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop6_queue_stable_writes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop6/queue/stable_writes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop6_queue_stable_writes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop6/queue/stable_writes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop6_queue_rotational(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop6/queue/rotational", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop6_queue_rotational() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop6/queue/rotational"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop6_queue_discard_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop6/queue/discard_max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop6_queue_discard_max_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop6/queue/discard_max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop6_queue_add_random(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop6/queue/add_random", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop6_queue_add_random() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop6/queue/add_random"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop6_queue_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop6/queue/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop6_queue_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop6/queue/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop6_queue_nomerges(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop6/queue/nomerges", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop6_queue_nomerges() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop6/queue/nomerges"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop6_queue_rq_affinity(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop6/queue/rq_affinity", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop6_queue_rq_affinity() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop6/queue/rq_affinity"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop6_queue_max_sectors_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop6/queue/max_sectors_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop6_queue_max_sectors_kb() { char command[256]; sprintf(command, "echo 1280 > /sys/devices/virtual/block/loop6/queue/max_sectors_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop6_queue_iostats(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop6/queue/iostats", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop6_queue_iostats() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop6/queue/iostats"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop6_trace_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop6/trace/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop6_trace_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop6/trace/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop4_queue_io_poll(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop4/queue/io_poll", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop4_queue_io_poll() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop4/queue/io_poll"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop4_queue_nr_requests(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop4/queue/nr_requests", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop4_queue_nr_requests() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop4/queue/nr_requests"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop4_queue_iostats_passthrough(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop4/queue/iostats_passthrough", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop4_queue_iostats_passthrough() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop4/queue/iostats_passthrough"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop4_queue_stable_writes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop4/queue/stable_writes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop4_queue_stable_writes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop4/queue/stable_writes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop4_queue_rotational(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop4/queue/rotational", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop4_queue_rotational() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop4/queue/rotational"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop4_queue_discard_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop4/queue/discard_max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop4_queue_discard_max_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop4/queue/discard_max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop4_queue_add_random(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop4/queue/add_random", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop4_queue_add_random() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop4/queue/add_random"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop4_queue_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop4/queue/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop4_queue_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop4/queue/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop4_queue_nomerges(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop4/queue/nomerges", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop4_queue_nomerges() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop4/queue/nomerges"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop4_queue_rq_affinity(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop4/queue/rq_affinity", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop4_queue_rq_affinity() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop4/queue/rq_affinity"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop4_queue_max_sectors_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop4/queue/max_sectors_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop4_queue_max_sectors_kb() { char command[256]; sprintf(command, "echo 1280 > /sys/devices/virtual/block/loop4/queue/max_sectors_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop4_queue_iostats(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop4/queue/iostats", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop4_queue_iostats() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop4/queue/iostats"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop4_trace_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop4/trace/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop4_trace_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop4/trace/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop2_queue_io_poll(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop2/queue/io_poll", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop2_queue_io_poll() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop2/queue/io_poll"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop2_queue_nr_requests(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop2/queue/nr_requests", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop2_queue_nr_requests() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop2/queue/nr_requests"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop2_queue_iostats_passthrough(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop2/queue/iostats_passthrough", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop2_queue_iostats_passthrough() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop2/queue/iostats_passthrough"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop2_queue_stable_writes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop2/queue/stable_writes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop2_queue_stable_writes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop2/queue/stable_writes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop2_queue_rotational(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop2/queue/rotational", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop2_queue_rotational() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop2/queue/rotational"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop2_queue_discard_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop2/queue/discard_max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop2_queue_discard_max_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop2/queue/discard_max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop2_queue_add_random(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop2/queue/add_random", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop2_queue_add_random() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop2/queue/add_random"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop2_queue_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop2/queue/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop2_queue_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop2/queue/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop2_queue_nomerges(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop2/queue/nomerges", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop2_queue_nomerges() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop2/queue/nomerges"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop2_queue_rq_affinity(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop2/queue/rq_affinity", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop2_queue_rq_affinity() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop2/queue/rq_affinity"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop2_queue_max_sectors_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop2/queue/max_sectors_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop2_queue_max_sectors_kb() { char command[256]; sprintf(command, "echo 1280 > /sys/devices/virtual/block/loop2/queue/max_sectors_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop2_queue_iostats(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop2/queue/iostats", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop2_queue_iostats() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop2/queue/iostats"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop2_trace_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop2/trace/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop2_trace_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop2/trace/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop0_queue_io_poll(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop0/queue/io_poll", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop0_queue_io_poll() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop0/queue/io_poll"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop0_queue_nr_requests(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop0/queue/nr_requests", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop0_queue_nr_requests() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop0/queue/nr_requests"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop0_queue_iostats_passthrough(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop0/queue/iostats_passthrough", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop0_queue_iostats_passthrough() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop0/queue/iostats_passthrough"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop0_queue_stable_writes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop0/queue/stable_writes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop0_queue_stable_writes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop0/queue/stable_writes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop0_queue_rotational(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop0/queue/rotational", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop0_queue_rotational() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop0/queue/rotational"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop0_queue_discard_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop0/queue/discard_max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop0_queue_discard_max_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop0/queue/discard_max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop0_queue_add_random(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop0/queue/add_random", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop0_queue_add_random() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop0/queue/add_random"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop0_queue_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop0/queue/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop0_queue_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop0/queue/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop0_queue_nomerges(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop0/queue/nomerges", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop0_queue_nomerges() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop0/queue/nomerges"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop0_queue_rq_affinity(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop0/queue/rq_affinity", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop0_queue_rq_affinity() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop0/queue/rq_affinity"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop0_queue_max_sectors_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop0/queue/max_sectors_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop0_queue_max_sectors_kb() { char command[256]; sprintf(command, "echo 1280 > /sys/devices/virtual/block/loop0/queue/max_sectors_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop0_queue_iostats(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop0/queue/iostats", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop0_queue_iostats() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop0/queue/iostats"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop0_trace_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop0/trace/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop0_trace_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop0/trace/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop7_queue_io_poll(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop7/queue/io_poll", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop7_queue_io_poll() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop7/queue/io_poll"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop7_queue_nr_requests(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop7/queue/nr_requests", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop7_queue_nr_requests() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop7/queue/nr_requests"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop7_queue_iostats_passthrough(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop7/queue/iostats_passthrough", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop7_queue_iostats_passthrough() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop7/queue/iostats_passthrough"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop7_queue_stable_writes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop7/queue/stable_writes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop7_queue_stable_writes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop7/queue/stable_writes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop7_queue_rotational(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop7/queue/rotational", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop7_queue_rotational() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop7/queue/rotational"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop7_queue_discard_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop7/queue/discard_max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop7_queue_discard_max_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop7/queue/discard_max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop7_queue_add_random(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop7/queue/add_random", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop7_queue_add_random() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop7/queue/add_random"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop7_queue_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop7/queue/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop7_queue_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop7/queue/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop7_queue_nomerges(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop7/queue/nomerges", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop7_queue_nomerges() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop7/queue/nomerges"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop7_queue_rq_affinity(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop7/queue/rq_affinity", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop7_queue_rq_affinity() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop7/queue/rq_affinity"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop7_queue_max_sectors_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop7/queue/max_sectors_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop7_queue_max_sectors_kb() { char command[256]; sprintf(command, "echo 1280 > /sys/devices/virtual/block/loop7/queue/max_sectors_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop7_queue_iostats(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop7/queue/iostats", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop7_queue_iostats() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop7/queue/iostats"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop7_trace_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop7/trace/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop7_trace_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop7/trace/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop5_queue_io_poll(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop5/queue/io_poll", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop5_queue_io_poll() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop5/queue/io_poll"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop5_queue_nr_requests(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop5/queue/nr_requests", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop5_queue_nr_requests() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop5/queue/nr_requests"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop5_queue_iostats_passthrough(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop5/queue/iostats_passthrough", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop5_queue_iostats_passthrough() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop5/queue/iostats_passthrough"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop5_queue_stable_writes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop5/queue/stable_writes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop5_queue_stable_writes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop5/queue/stable_writes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop5_queue_rotational(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop5/queue/rotational", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop5_queue_rotational() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop5/queue/rotational"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop5_queue_discard_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop5/queue/discard_max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop5_queue_discard_max_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop5/queue/discard_max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop5_queue_add_random(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop5/queue/add_random", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop5_queue_add_random() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop5/queue/add_random"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop5_queue_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop5/queue/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop5_queue_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop5/queue/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop5_queue_nomerges(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop5/queue/nomerges", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop5_queue_nomerges() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop5/queue/nomerges"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop5_queue_rq_affinity(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop5/queue/rq_affinity", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop5_queue_rq_affinity() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop5/queue/rq_affinity"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop5_queue_max_sectors_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop5/queue/max_sectors_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop5_queue_max_sectors_kb() { char command[256]; sprintf(command, "echo 1280 > /sys/devices/virtual/block/loop5/queue/max_sectors_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop5_queue_iostats(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop5/queue/iostats", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop5_queue_iostats() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop5/queue/iostats"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop5_trace_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop5/trace/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop5_trace_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop5/trace/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop3_queue_io_poll(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop3/queue/io_poll", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop3_queue_io_poll() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop3/queue/io_poll"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop3_queue_nr_requests(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop3/queue/nr_requests", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop3_queue_nr_requests() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop3/queue/nr_requests"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop3_queue_iostats_passthrough(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop3/queue/iostats_passthrough", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop3_queue_iostats_passthrough() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop3/queue/iostats_passthrough"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop3_queue_stable_writes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop3/queue/stable_writes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop3_queue_stable_writes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop3/queue/stable_writes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop3_queue_rotational(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop3/queue/rotational", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop3_queue_rotational() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop3/queue/rotational"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop3_queue_discard_max_bytes(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop3/queue/discard_max_bytes", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop3_queue_discard_max_bytes() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop3/queue/discard_max_bytes"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop3_queue_add_random(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop3/queue/add_random", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop3_queue_add_random() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop3/queue/add_random"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop3_queue_read_ahead_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop3/queue/read_ahead_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop3_queue_read_ahead_kb() { char command[256]; sprintf(command, "echo 128 > /sys/devices/virtual/block/loop3/queue/read_ahead_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop3_queue_nomerges(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop3/queue/nomerges", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop3_queue_nomerges() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop3/queue/nomerges"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop3_queue_rq_affinity(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop3/queue/rq_affinity", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop3_queue_rq_affinity() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop3/queue/rq_affinity"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop3_queue_max_sectors_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop3/queue/max_sectors_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop3_queue_max_sectors_kb() { char command[256]; sprintf(command, "echo 1280 > /sys/devices/virtual/block/loop3/queue/max_sectors_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop3_queue_iostats(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop3/queue/iostats", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop3_queue_iostats() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/block/loop3/queue/iostats"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_block_loop3_trace_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/block/loop3/trace/enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_block_loop3_trace_enable() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/block/loop3/trace/enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_ptp_ptp0_n_vclocks(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/ptp/ptp0/n_vclocks", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_ptp_ptp0_n_vclocks() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/ptp/ptp0/n_vclocks"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_ptp_ptp0_max_vclocks(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/ptp/ptp0/max_vclocks", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_ptp_ptp0_max_vclocks() { char command[256]; sprintf(command, "echo 20 > /sys/devices/virtual/ptp/ptp0/max_vclocks"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_workqueue_cpumask(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/workqueue/cpumask", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_workqueue_cpumask() { char command[256]; sprintf(command, "echo 3 > /sys/devices/virtual/workqueue/cpumask"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_workqueue_scsi_tmf_0_cpumask(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/workqueue/scsi_tmf_0/cpumask", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_workqueue_scsi_tmf_0_cpumask() { char command[256]; sprintf(command, "echo 3 > /sys/devices/virtual/workqueue/scsi_tmf_0/cpumask"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_workqueue_scsi_tmf_0_nice(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/workqueue/scsi_tmf_0/nice", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_workqueue_scsi_tmf_0_nice() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/workqueue/scsi_tmf_0/nice"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_workqueue_scsi_tmf_0_affinity_strict(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/workqueue/scsi_tmf_0/affinity_strict", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_workqueue_scsi_tmf_0_affinity_strict() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/workqueue/scsi_tmf_0/affinity_strict"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_workqueue_scsi_tmf_0_max_active(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/workqueue/scsi_tmf_0/max_active", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_workqueue_scsi_tmf_0_max_active() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/workqueue/scsi_tmf_0/max_active"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_workqueue_writeback_cpumask(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/workqueue/writeback/cpumask", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_workqueue_writeback_cpumask() { char command[256]; sprintf(command, "echo 3 > /sys/devices/virtual/workqueue/writeback/cpumask"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_workqueue_writeback_nice(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/workqueue/writeback/nice", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_workqueue_writeback_nice() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/workqueue/writeback/nice"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_workqueue_writeback_affinity_strict(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/workqueue/writeback/affinity_strict", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_workqueue_writeback_affinity_strict() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/workqueue/writeback/affinity_strict"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_workqueue_writeback_max_active(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/workqueue/writeback/max_active", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_workqueue_writeback_max_active() { char command[256]; sprintf(command, "echo 1024 > /sys/devices/virtual/workqueue/writeback/max_active"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_workqueue_scsi_tmf_1_cpumask(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/workqueue/scsi_tmf_1/cpumask", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_workqueue_scsi_tmf_1_cpumask() { char command[256]; sprintf(command, "echo 3 > /sys/devices/virtual/workqueue/scsi_tmf_1/cpumask"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_workqueue_scsi_tmf_1_nice(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/workqueue/scsi_tmf_1/nice", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_workqueue_scsi_tmf_1_nice() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/workqueue/scsi_tmf_1/nice"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_workqueue_scsi_tmf_1_affinity_strict(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/workqueue/scsi_tmf_1/affinity_strict", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_workqueue_scsi_tmf_1_affinity_strict() { char command[256]; sprintf(command, "echo 0 > /sys/devices/virtual/workqueue/scsi_tmf_1/affinity_strict"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_virtual_workqueue_scsi_tmf_1_max_active(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/virtual/workqueue/scsi_tmf_1/max_active", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_virtual_workqueue_scsi_tmf_1_max_active() { char command[256]; sprintf(command, "echo 1 > /sys/devices/virtual/workqueue/scsi_tmf_1/max_active"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_tracepoint_perf_event_mux_interval_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/tracepoint/perf_event_mux_interval_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_tracepoint_perf_event_mux_interval_ms() { char command[256]; sprintf(command, "echo 1 > /sys/devices/tracepoint/perf_event_mux_interval_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_kprobe_perf_event_mux_interval_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/kprobe/perf_event_mux_interval_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_kprobe_perf_event_mux_interval_ms() { char command[256]; sprintf(command, "echo 1 > /sys/devices/kprobe/perf_event_mux_interval_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_LNXSYSTM_00_LNXPWRBN_00_input_input0_inhibited(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0/inhibited", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_LNXSYSTM_00_LNXPWRBN_00_input_input0_inhibited() { char command[256]; sprintf(command, "echo 0 > /sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0/inhibited"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_devices_msr_perf_event_mux_interval_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/devices/msr/perf_event_mux_interval_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_devices_msr_perf_event_mux_interval_ms() { char command[256]; sprintf(command, "echo 1 > /sys/devices/msr/perf_event_mux_interval_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_reserved_clusters(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/reserved_clusters", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_reserved_clusters() { char command[256]; sprintf(command, "echo 4096 > /sys/fs/ext4/sda/reserved_clusters"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_mb_max_linear_groups(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/mb_max_linear_groups", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_mb_max_linear_groups() { char command[256]; sprintf(command, "echo 4 > /sys/fs/ext4/sda/mb_max_linear_groups"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_extent_max_zeroout_kb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/extent_max_zeroout_kb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_extent_max_zeroout_kb() { char command[256]; sprintf(command, "echo 32 > /sys/fs/ext4/sda/extent_max_zeroout_kb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_last_trim_minblks(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/last_trim_minblks", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_last_trim_minblks() { char command[256]; sprintf(command, "echo 0 > /sys/fs/ext4/sda/last_trim_minblks"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_mb_prefetch_limit(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/mb_prefetch_limit", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_mb_prefetch_limit() { char command[256]; sprintf(command, "echo 16 > /sys/fs/ext4/sda/mb_prefetch_limit"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_mb_min_to_scan(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/mb_min_to_scan", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_mb_min_to_scan() { char command[256]; sprintf(command, "echo 10 > /sys/fs/ext4/sda/mb_min_to_scan"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_mb_stream_req(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/mb_stream_req", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_mb_stream_req() { char command[256]; sprintf(command, "echo 16 > /sys/fs/ext4/sda/mb_stream_req"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_inode_goal(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/inode_goal", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_inode_goal() { char command[256]; sprintf(command, "echo 0 > /sys/fs/ext4/sda/inode_goal"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_err_ratelimit_burst(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/err_ratelimit_burst", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_err_ratelimit_burst() { char command[256]; sprintf(command, "echo 10 > /sys/fs/ext4/sda/err_ratelimit_burst"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_msg_ratelimit_interval_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/msg_ratelimit_interval_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_msg_ratelimit_interval_ms() { char command[256]; sprintf(command, "echo 5000 > /sys/fs/ext4/sda/msg_ratelimit_interval_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_mb_group_prealloc(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/mb_group_prealloc", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_mb_group_prealloc() { char command[256]; sprintf(command, "echo 512 > /sys/fs/ext4/sda/mb_group_prealloc"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_mb_order2_req(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/mb_order2_req", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_mb_order2_req() { char command[256]; sprintf(command, "echo 2 > /sys/fs/ext4/sda/mb_order2_req"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_msg_ratelimit_burst(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/msg_ratelimit_burst", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_msg_ratelimit_burst() { char command[256]; sprintf(command, "echo 10 > /sys/fs/ext4/sda/msg_ratelimit_burst"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_mb_prefetch(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/mb_prefetch", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_mb_prefetch() { char command[256]; sprintf(command, "echo 16 > /sys/fs/ext4/sda/mb_prefetch"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_inode_readahead_blks(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/inode_readahead_blks", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_inode_readahead_blks() { char command[256]; sprintf(command, "echo 32 > /sys/fs/ext4/sda/inode_readahead_blks"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_err_ratelimit_interval_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/err_ratelimit_interval_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_err_ratelimit_interval_ms() { char command[256]; sprintf(command, "echo 5000 > /sys/fs/ext4/sda/err_ratelimit_interval_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_mb_max_to_scan(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/mb_max_to_scan", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_mb_max_to_scan() { char command[256]; sprintf(command, "echo 200 > /sys/fs/ext4/sda/mb_max_to_scan"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_warning_ratelimit_interval_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/warning_ratelimit_interval_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_warning_ratelimit_interval_ms() { char command[256]; sprintf(command, "echo 5000 > /sys/fs/ext4/sda/warning_ratelimit_interval_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_mb_best_avail_max_trim_order(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/mb_best_avail_max_trim_order", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_mb_best_avail_max_trim_order() { char command[256]; sprintf(command, "echo 3 > /sys/fs/ext4/sda/mb_best_avail_max_trim_order"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_warning_ratelimit_burst(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/warning_ratelimit_burst", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_warning_ratelimit_burst() { char command[256]; sprintf(command, "echo 10 > /sys/fs/ext4/sda/warning_ratelimit_burst"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_ext4_sda_mb_stats(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/ext4/sda/mb_stats", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_ext4_sda_mb_stats() { char command[256]; sprintf(command, "echo 0 > /sys/fs/ext4/sda/mb_stats"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_selinux_checkreqprot(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/selinux/checkreqprot", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_selinux_checkreqprot() { char command[256]; sprintf(command, "echo 0 > /sys/fs/selinux/checkreqprot"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_selinux_enforce(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/selinux/enforce", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_selinux_enforce() { char command[256]; sprintf(command, "echo 0 > /sys/fs/selinux/enforce"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_selinux_avc_cache_threshold(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/selinux/avc/cache_threshold", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_selinux_avc_cache_threshold() { char command[256]; sprintf(command, "echo 512 > /sys/fs/selinux/avc/cache_threshold"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_cgroup_procs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/cgroup.procs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_cgroup_procs() { char command[256]; sprintf(command, "echo 2 > /sys/fs/cgroup/cgroup.procs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_cgroup_threads(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/cgroup.threads", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_cgroup_threads() { char command[256]; sprintf(command, "echo 2 > /sys/fs/cgroup/cgroup.threads"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_sys_kernel_config_mount_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/sys-kernel-config.mount/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_sys_kernel_config_mount_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/sys-kernel-config.mount/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_sys_kernel_config_mount_pids_max(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/sys-kernel-config.mount/pids.max", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_sys_kernel_config_mount_pids_max() { char command[256]; sprintf(command, "echo 971 > /sys/fs/cgroup/sys-kernel-config.mount/pids.max"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_sys_kernel_debug_mount_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/sys-kernel-debug.mount/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_sys_kernel_debug_mount_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/sys-kernel-debug.mount/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_sys_kernel_debug_mount_pids_max(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/sys-kernel-debug.mount/pids.max", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_sys_kernel_debug_mount_pids_max() { char command[256]; sprintf(command, "echo 971 > /sys/fs/cgroup/sys-kernel-debug.mount/pids.max"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_dev_mqueue_mount_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/dev-mqueue.mount/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_dev_mqueue_mount_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/dev-mqueue.mount/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_dev_mqueue_mount_pids_max(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/dev-mqueue.mount/pids.max", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_dev_mqueue_mount_pids_max() { char command[256]; sprintf(command, "echo 971 > /sys/fs/cgroup/dev-mqueue.mount/pids.max"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_sys_kernel_tracing_mount_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/sys-kernel-tracing.mount/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_sys_kernel_tracing_mount_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/sys-kernel-tracing.mount/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_sys_kernel_tracing_mount_pids_max(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/sys-kernel-tracing.mount/pids.max", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_sys_kernel_tracing_mount_pids_max() { char command[256]; sprintf(command, "echo 971 > /sys/fs/cgroup/sys-kernel-tracing.mount/pids.max"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_init_scope_cgroup_procs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/init.scope/cgroup.procs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_init_scope_cgroup_procs() { char command[256]; sprintf(command, "echo 1 > /sys/fs/cgroup/init.scope/cgroup.procs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_init_scope_cgroup_threads(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/init.scope/cgroup.threads", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_init_scope_cgroup_threads() { char command[256]; sprintf(command, "echo 1 > /sys/fs/cgroup/init.scope/cgroup.threads"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_init_scope_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/init.scope/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_init_scope_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/init.scope/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/system.slice/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_systemd_udevd_service_cgroup_procs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/systemd-udevd.service/cgroup.procs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_systemd_udevd_service_cgroup_procs() { char command[256]; sprintf(command, "echo 104 > /sys/fs/cgroup/system.slice/systemd-udevd.service/cgroup.procs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_systemd_udevd_service_cgroup_threads(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/systemd-udevd.service/cgroup.threads", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_systemd_udevd_service_cgroup_threads() { char command[256]; sprintf(command, "echo 104 > /sys/fs/cgroup/system.slice/systemd-udevd.service/cgroup.threads"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_systemd_udevd_service_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/systemd-udevd.service/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_systemd_udevd_service_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/system.slice/systemd-udevd.service/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_cron_service_cgroup_procs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/cron.service/cgroup.procs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_cron_service_cgroup_procs() { char command[256]; sprintf(command, "echo 118 > /sys/fs/cgroup/system.slice/cron.service/cgroup.procs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_cron_service_cgroup_threads(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/cron.service/cgroup.threads", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_cron_service_cgroup_threads() { char command[256]; sprintf(command, "echo 118 > /sys/fs/cgroup/system.slice/cron.service/cgroup.threads"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_cron_service_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/cron.service/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_cron_service_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/system.slice/cron.service/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_cron_service_pids_max(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/cron.service/pids.max", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_cron_service_pids_max() { char command[256]; sprintf(command, "echo 971 > /sys/fs/cgroup/system.slice/cron.service/pids.max"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_networking_service_cgroup_procs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/networking.service/cgroup.procs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_networking_service_cgroup_procs() { char command[256]; sprintf(command, "echo 166 > /sys/fs/cgroup/system.slice/networking.service/cgroup.procs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_networking_service_cgroup_threads(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/networking.service/cgroup.threads", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_networking_service_cgroup_threads() { char command[256]; sprintf(command, "echo 166 > /sys/fs/cgroup/system.slice/networking.service/cgroup.threads"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_networking_service_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/networking.service/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_networking_service_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/system.slice/networking.service/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_networking_service_pids_max(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/networking.service/pids.max", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_networking_service_pids_max() { char command[256]; sprintf(command, "echo 971 > /sys/fs/cgroup/system.slice/networking.service/pids.max"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_system_modprobe_slice_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/system-modprobe.slice/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_system_modprobe_slice_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/system.slice/system-modprobe.slice/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_systemd_journald_service_cgroup_procs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/systemd-journald.service/cgroup.procs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_systemd_journald_service_cgroup_procs() { char command[256]; sprintf(command, "echo 87 > /sys/fs/cgroup/system.slice/systemd-journald.service/cgroup.procs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_systemd_journald_service_cgroup_threads(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/systemd-journald.service/cgroup.threads", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_systemd_journald_service_cgroup_threads() { char command[256]; sprintf(command, "echo 87 > /sys/fs/cgroup/system.slice/systemd-journald.service/cgroup.threads"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_systemd_journald_service_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/systemd-journald.service/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_systemd_journald_service_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/system.slice/systemd-journald.service/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_systemd_journald_service_pids_max(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/systemd-journald.service/pids.max", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_systemd_journald_service_pids_max() { char command[256]; sprintf(command, "echo 971 > /sys/fs/cgroup/system.slice/systemd-journald.service/pids.max"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_ssh_service_cgroup_procs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/ssh.service/cgroup.procs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_ssh_service_cgroup_procs() { char command[256]; sprintf(command, "echo 192 > /sys/fs/cgroup/system.slice/ssh.service/cgroup.procs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_ssh_service_cgroup_threads(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/ssh.service/cgroup.threads", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_ssh_service_cgroup_threads() { char command[256]; sprintf(command, "echo 192 > /sys/fs/cgroup/system.slice/ssh.service/cgroup.threads"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_ssh_service_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/ssh.service/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_ssh_service_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/system.slice/ssh.service/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_ssh_service_pids_max(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/ssh.service/pids.max", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_ssh_service_pids_max() { char command[256]; sprintf(command, "echo 971 > /sys/fs/cgroup/system.slice/ssh.service/pids.max"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_rsyslog_service_cgroup_procs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/rsyslog.service/cgroup.procs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_rsyslog_service_cgroup_procs() { char command[256]; sprintf(command, "echo 123 > /sys/fs/cgroup/system.slice/rsyslog.service/cgroup.procs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_rsyslog_service_cgroup_threads(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/rsyslog.service/cgroup.threads", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_rsyslog_service_cgroup_threads() { char command[256]; sprintf(command, "echo 123 > /sys/fs/cgroup/system.slice/rsyslog.service/cgroup.threads"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_rsyslog_service_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/rsyslog.service/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_rsyslog_service_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/system.slice/rsyslog.service/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_rsyslog_service_pids_max(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/rsyslog.service/pids.max", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_rsyslog_service_pids_max() { char command[256]; sprintf(command, "echo 971 > /sys/fs/cgroup/system.slice/rsyslog.service/pids.max"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_system_slice_system_getty_slice_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/system.slice/system-getty.slice/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_system_slice_system_getty_slice_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/system.slice/system-getty.slice/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_proc_sys_fs_binfmt_misc_mount_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/proc-sys-fs-binfmt_misc.mount/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_proc_sys_fs_binfmt_misc_mount_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/proc-sys-fs-binfmt_misc.mount/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_proc_sys_fs_binfmt_misc_mount_pids_max(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/proc-sys-fs-binfmt_misc.mount/pids.max", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_proc_sys_fs_binfmt_misc_mount_pids_max() { char command[256]; sprintf(command, "echo 971 > /sys/fs/cgroup/proc-sys-fs-binfmt_misc.mount/pids.max"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_dev_hugepages_mount_cgroup_freeze(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/dev-hugepages.mount/cgroup.freeze", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_dev_hugepages_mount_cgroup_freeze() { char command[256]; sprintf(command, "echo 0 > /sys/fs/cgroup/dev-hugepages.mount/cgroup.freeze"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_fs_cgroup_dev_hugepages_mount_pids_max(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/fs/cgroup/dev-hugepages.mount/pids.max", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_fs_cgroup_dev_hugepages_mount_pids_max() { char command[256]; sprintf(command, "echo 971 > /sys/fs/cgroup/dev-hugepages.mount/pids.max"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_snd_seq_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/snd_seq/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_snd_seq_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/snd_seq/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_serio_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/serio/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_serio_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/serio/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_hdaudio_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/hdaudio/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_hdaudio_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/hdaudio/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_serial_base_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/serial-base/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_serial_base_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/serial-base/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_platform_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/platform/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_platform_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/platform/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_pci_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/pci/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_pci_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/pci/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_cpu_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/cpu/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_cpu_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/cpu/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_pcmcia_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/pcmcia/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_pcmcia_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/pcmcia/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_mei_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/mei/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_mei_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/mei/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_machinecheck_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/machinecheck/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_machinecheck_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/machinecheck/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_scsi_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/scsi/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_scsi_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/scsi/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_mdio_bus_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/mdio_bus/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_mdio_bus_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/mdio_bus/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_hid_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/hid/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_hid_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/hid/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_pci_express_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/pci_express/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_pci_express_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/pci_express/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_pnp_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/pnp/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_pnp_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/pnp/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_auxiliary_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/auxiliary/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_auxiliary_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/auxiliary/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_container_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/container/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_container_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/container/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_clockevents_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/clockevents/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_clockevents_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/clockevents/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_usb_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/usb/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_usb_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/usb/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_event_source_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/event_source/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_event_source_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/event_source/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_nvmem_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/nvmem/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_nvmem_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/nvmem/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_mipi_dsi_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/mipi-dsi/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_mipi_dsi_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/mipi-dsi/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_memory_tiering_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/memory_tiering/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_memory_tiering_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/memory_tiering/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_wmi_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/wmi/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_wmi_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/wmi/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_acpi_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/acpi/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_acpi_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/acpi/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_clocksource_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/clocksource/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_clocksource_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/clocksource/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_node_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/node/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_node_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/node/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_virtio_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/virtio/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_virtio_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/virtio/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_workqueue_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/workqueue/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_workqueue_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/workqueue/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_bus_i2c_drivers_autoprobe(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/bus/i2c/drivers_autoprobe", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_bus_i2c_drivers_autoprobe() { char command[256]; sprintf(command, "echo 1 > /sys/bus/i2c/drivers_autoprobe"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_firmware_acpi_hotplug_force_remove(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/firmware/acpi/hotplug/force_remove", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_firmware_acpi_hotplug_force_remove() { char command[256]; sprintf(command, "echo 0 > /sys/firmware/acpi/hotplug/force_remove"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_firmware_acpi_hotplug_processor_enabled(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/firmware/acpi/hotplug/processor/enabled", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_firmware_acpi_hotplug_processor_enabled() { char command[256]; sprintf(command, "echo 1 > /sys/firmware/acpi/hotplug/processor/enabled"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_firmware_acpi_hotplug_pci_root_enabled(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/firmware/acpi/hotplug/pci_root/enabled", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_firmware_acpi_hotplug_pci_root_enabled() { char command[256]; sprintf(command, "echo 1 > /sys/firmware/acpi/hotplug/pci_root/enabled"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_firmware_acpi_interrupts_error(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/firmware/acpi/interrupts/error", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_firmware_acpi_interrupts_error() { char command[256]; sprintf(command, "echo 0 > /sys/firmware/acpi/interrupts/error"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_firmware_acpi_interrupts_sci(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/firmware/acpi/interrupts/sci", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_firmware_acpi_interrupts_sci() { char command[256]; sprintf(command, "echo 0 > /sys/firmware/acpi/interrupts/sci"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_firmware_acpi_interrupts_gpe_all(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/firmware/acpi/interrupts/gpe_all", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_firmware_acpi_interrupts_gpe_all() { char command[256]; sprintf(command, "echo 0 > /sys/firmware/acpi/interrupts/gpe_all"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_firmware_acpi_interrupts_sci_not(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/firmware/acpi/interrupts/sci_not", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_firmware_acpi_interrupts_sci_not() { char command[256]; sprintf(command, "echo 0 > /sys/firmware/acpi/interrupts/sci_not"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_thermal_parameters_act(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/thermal/parameters/act", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_thermal_parameters_act() { char command[256]; sprintf(command, "echo 0 > /sys/module/thermal/parameters/act"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_thermal_parameters_psv(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/thermal/parameters/psv", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_thermal_parameters_psv() { char command[256]; sprintf(command, "echo 0 > /sys/module/thermal/parameters/psv"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_thermal_parameters_crt(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/thermal/parameters/crt", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_thermal_parameters_crt() { char command[256]; sprintf(command, "echo 0 > /sys/module/thermal/parameters/crt"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_dns_resolver_parameters_debug(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/dns_resolver/parameters/debug", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_dns_resolver_parameters_debug() { char command[256]; sprintf(command, "echo 0 > /sys/module/dns_resolver/parameters/debug"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_spurious_parameters_irqfixup(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/spurious/parameters/irqfixup", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_spurious_parameters_irqfixup() { char command[256]; sprintf(command, "echo 0 > /sys/module/spurious/parameters/irqfixup"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_battery_parameters_cache_time(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/battery/parameters/cache_time", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_battery_parameters_cache_time() { char command[256]; sprintf(command, "echo 1000 > /sys/module/battery/parameters/cache_time"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_vt_parameters_underline(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/vt/parameters/underline", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_vt_parameters_underline() { char command[256]; sprintf(command, "echo 3 > /sys/module/vt/parameters/underline"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_vt_parameters_cur_default(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/vt/parameters/cur_default", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_vt_parameters_cur_default() { char command[256]; sprintf(command, "echo 2 > /sys/module/vt/parameters/cur_default"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_vt_parameters_color(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/vt/parameters/color", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_vt_parameters_color() { char command[256]; sprintf(command, "echo 7 > /sys/module/vt/parameters/color"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_vt_parameters_default_utf8(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/vt/parameters/default_utf8", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_vt_parameters_default_utf8() { char command[256]; sprintf(command, "echo 1 > /sys/module/vt/parameters/default_utf8"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_vt_parameters_global_cursor_default(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/vt/parameters/global_cursor_default", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_vt_parameters_global_cursor_default() { char command[256]; sprintf(command, "echo 1 > /sys/module/vt/parameters/global_cursor_default"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_vt_parameters_italic(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/vt/parameters/italic", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_vt_parameters_italic() { char command[256]; sprintf(command, "echo 2 > /sys/module/vt/parameters/italic"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_nf_conntrack_parameters_hashsize(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/nf_conntrack/parameters/hashsize", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_nf_conntrack_parameters_hashsize() { char command[256]; sprintf(command, "echo 65536 > /sys/module/nf_conntrack/parameters/hashsize"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_snd_seq_parameters_seq_default_timer_class(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/snd_seq/parameters/seq_default_timer_class", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_snd_seq_parameters_seq_default_timer_class() { char command[256]; sprintf(command, "echo 1 > /sys/module/snd_seq/parameters/seq_default_timer_class"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_snd_seq_parameters_seq_default_timer_subdevice(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/snd_seq/parameters/seq_default_timer_subdevice", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_snd_seq_parameters_seq_default_timer_subdevice() { char command[256]; sprintf(command, "echo 0 > /sys/module/snd_seq/parameters/seq_default_timer_subdevice"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_snd_seq_parameters_seq_default_timer_device(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/snd_seq/parameters/seq_default_timer_device", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_snd_seq_parameters_seq_default_timer_device() { char command[256]; sprintf(command, "echo 3 > /sys/module/snd_seq/parameters/seq_default_timer_device"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_snd_seq_parameters_seq_default_timer_resolution(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/snd_seq/parameters/seq_default_timer_resolution", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_snd_seq_parameters_seq_default_timer_resolution() { char command[256]; sprintf(command, "echo 0 > /sys/module/snd_seq/parameters/seq_default_timer_resolution"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_snd_seq_parameters_seq_default_timer_sclass(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/snd_seq/parameters/seq_default_timer_sclass", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_snd_seq_parameters_seq_default_timer_sclass() { char command[256]; sprintf(command, "echo 0 > /sys/module/snd_seq/parameters/seq_default_timer_sclass"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_libahci_parameters_devslp_idle_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/libahci/parameters/devslp_idle_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_libahci_parameters_devslp_idle_timeout() { char command[256]; sprintf(command, "echo 1000 > /sys/module/libahci/parameters/devslp_idle_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_tcp_cubic_parameters_hystart_detect(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/tcp_cubic/parameters/hystart_detect", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_tcp_cubic_parameters_hystart_detect() { char command[256]; sprintf(command, "echo 3 > /sys/module/tcp_cubic/parameters/hystart_detect"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_tcp_cubic_parameters_beta(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/tcp_cubic/parameters/beta", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_tcp_cubic_parameters_beta() { char command[256]; sprintf(command, "echo 717 > /sys/module/tcp_cubic/parameters/beta"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_tcp_cubic_parameters_fast_convergence(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/tcp_cubic/parameters/fast_convergence", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_tcp_cubic_parameters_fast_convergence() { char command[256]; sprintf(command, "echo 1 > /sys/module/tcp_cubic/parameters/fast_convergence"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_tcp_cubic_parameters_hystart_ack_delta_us(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/tcp_cubic/parameters/hystart_ack_delta_us", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_tcp_cubic_parameters_hystart_ack_delta_us() { char command[256]; sprintf(command, "echo 2000 > /sys/module/tcp_cubic/parameters/hystart_ack_delta_us"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_tcp_cubic_parameters_tcp_friendliness(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/tcp_cubic/parameters/tcp_friendliness", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_tcp_cubic_parameters_tcp_friendliness() { char command[256]; sprintf(command, "echo 1 > /sys/module/tcp_cubic/parameters/tcp_friendliness"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_tcp_cubic_parameters_hystart_low_window(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/tcp_cubic/parameters/hystart_low_window", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_tcp_cubic_parameters_hystart_low_window() { char command[256]; sprintf(command, "echo 16 > /sys/module/tcp_cubic/parameters/hystart_low_window"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_tcp_cubic_parameters_hystart(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/tcp_cubic/parameters/hystart", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_tcp_cubic_parameters_hystart() { char command[256]; sprintf(command, "echo 1 > /sys/module/tcp_cubic/parameters/hystart"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_tcp_cubic_parameters_initial_ssthresh(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/tcp_cubic/parameters/initial_ssthresh", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_tcp_cubic_parameters_initial_ssthresh() { char command[256]; sprintf(command, "echo 0 > /sys/module/tcp_cubic/parameters/initial_ssthresh"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_xhci_hcd_parameters_link_quirk(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/xhci_hcd/parameters/link_quirk", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_xhci_hcd_parameters_link_quirk() { char command[256]; sprintf(command, "echo 0 > /sys/module/xhci_hcd/parameters/link_quirk"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_8250_parameters_nr_uarts(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/8250/parameters/nr_uarts", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_8250_parameters_nr_uarts() { char command[256]; sprintf(command, "echo 4 > /sys/module/8250/parameters/nr_uarts"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_8250_parameters_share_irqs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/8250/parameters/share_irqs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_8250_parameters_share_irqs() { char command[256]; sprintf(command, "echo 1 > /sys/module/8250/parameters/share_irqs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_8250_parameters_skip_txen_test(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/8250/parameters/skip_txen_test", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_8250_parameters_skip_txen_test() { char command[256]; sprintf(command, "echo 0 > /sys/module/8250/parameters/skip_txen_test"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_md_mod_parameters_start_ro(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/md_mod/parameters/start_ro", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_md_mod_parameters_start_ro() { char command[256]; sprintf(command, "echo 0 > /sys/module/md_mod/parameters/start_ro"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_md_mod_parameters_start_dirty_degraded(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/md_mod/parameters/start_dirty_degraded", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_md_mod_parameters_start_dirty_degraded() { char command[256]; sprintf(command, "echo 0 > /sys/module/md_mod/parameters/start_dirty_degraded"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_rcupdate_parameters_rcu_task_ipi_delay(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/rcupdate/parameters/rcu_task_ipi_delay", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_rcupdate_parameters_rcu_task_ipi_delay() { char command[256]; sprintf(command, "echo 0 > /sys/module/rcupdate/parameters/rcu_task_ipi_delay"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_rcupdate_parameters_rcu_task_stall_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/rcupdate/parameters/rcu_task_stall_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_rcupdate_parameters_rcu_task_stall_timeout() { char command[256]; sprintf(command, "echo 600000 > /sys/module/rcupdate/parameters/rcu_task_stall_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_rcupdate_parameters_rcu_cpu_stall_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/rcupdate/parameters/rcu_cpu_stall_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_rcupdate_parameters_rcu_cpu_stall_timeout() { char command[256]; sprintf(command, "echo 100 > /sys/module/rcupdate/parameters/rcu_cpu_stall_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_rcupdate_parameters_rcu_cpu_stall_suppress(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/rcupdate/parameters/rcu_cpu_stall_suppress", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_rcupdate_parameters_rcu_cpu_stall_suppress() { char command[256]; sprintf(command, "echo 0 > /sys/module/rcupdate/parameters/rcu_cpu_stall_suppress"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_rcupdate_parameters_rcu_exp_cpu_stall_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/rcupdate/parameters/rcu_exp_cpu_stall_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_rcupdate_parameters_rcu_exp_cpu_stall_timeout() { char command[256]; sprintf(command, "echo 0 > /sys/module/rcupdate/parameters/rcu_exp_cpu_stall_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_rcupdate_parameters_rcu_cpu_stall_cputime(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/rcupdate/parameters/rcu_cpu_stall_cputime", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_rcupdate_parameters_rcu_cpu_stall_cputime() { char command[256]; sprintf(command, "echo 0 > /sys/module/rcupdate/parameters/rcu_cpu_stall_cputime"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_rcupdate_parameters_rcu_cpu_stall_ftrace_dump(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/rcupdate/parameters/rcu_cpu_stall_ftrace_dump", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_rcupdate_parameters_rcu_cpu_stall_ftrace_dump() { char command[256]; sprintf(command, "echo 0 > /sys/module/rcupdate/parameters/rcu_cpu_stall_ftrace_dump"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_rcupdate_parameters_rcu_task_stall_info(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/rcupdate/parameters/rcu_task_stall_info", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_rcupdate_parameters_rcu_task_stall_info() { char command[256]; sprintf(command, "echo 10000 > /sys/module/rcupdate/parameters/rcu_task_stall_info"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_devres_parameters_log(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/devres/parameters/log", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_devres_parameters_log() { char command[256]; sprintf(command, "echo 0 > /sys/module/devres/parameters/log"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_random_parameters_ratelimit_disable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/random/parameters/ratelimit_disable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_random_parameters_ratelimit_disable() { char command[256]; sprintf(command, "echo 0 > /sys/module/random/parameters/ratelimit_disable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_haltpoll_parameters_guest_halt_poll_grow_start(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/haltpoll/parameters/guest_halt_poll_grow_start", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_haltpoll_parameters_guest_halt_poll_grow_start() { char command[256]; sprintf(command, "echo 50000 > /sys/module/haltpoll/parameters/guest_halt_poll_grow_start"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_haltpoll_parameters_guest_halt_poll_shrink(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/haltpoll/parameters/guest_halt_poll_shrink", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_haltpoll_parameters_guest_halt_poll_shrink() { char command[256]; sprintf(command, "echo 2 > /sys/module/haltpoll/parameters/guest_halt_poll_shrink"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_haltpoll_parameters_guest_halt_poll_grow(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/haltpoll/parameters/guest_halt_poll_grow", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_haltpoll_parameters_guest_halt_poll_grow() { char command[256]; sprintf(command, "echo 2 > /sys/module/haltpoll/parameters/guest_halt_poll_grow"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_haltpoll_parameters_guest_halt_poll_ns(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/haltpoll/parameters/guest_halt_poll_ns", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_haltpoll_parameters_guest_halt_poll_ns() { char command[256]; sprintf(command, "echo 200000 > /sys/module/haltpoll/parameters/guest_halt_poll_ns"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_sysrq_parameters_sysrq_downtime_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/sysrq/parameters/sysrq_downtime_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_sysrq_parameters_sysrq_downtime_ms() { char command[256]; sprintf(command, "echo 0 > /sys/module/sysrq/parameters/sysrq_downtime_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_acpi_cpufreq_parameters_acpi_pstate_strict(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/acpi_cpufreq/parameters/acpi_pstate_strict", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_acpi_cpufreq_parameters_acpi_pstate_strict() { char command[256]; sprintf(command, "echo 0 > /sys/module/acpi_cpufreq/parameters/acpi_pstate_strict"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_virtio_scsi_parameters_virtscsi_poll_queues(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/virtio_scsi/parameters/virtscsi_poll_queues", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_virtio_scsi_parameters_virtscsi_poll_queues() { char command[256]; sprintf(command, "echo 0 > /sys/module/virtio_scsi/parameters/virtscsi_poll_queues"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_processor_parameters_ignore_tpc(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/processor/parameters/ignore_tpc", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_processor_parameters_ignore_tpc() { char command[256]; sprintf(command, "echo 0 > /sys/module/processor/parameters/ignore_tpc"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_processor_parameters_latency_factor(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/processor/parameters/latency_factor", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_processor_parameters_latency_factor() { char command[256]; sprintf(command, "echo 2 > /sys/module/processor/parameters/latency_factor"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_processor_parameters_ignore_ppc(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/processor/parameters/ignore_ppc", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_processor_parameters_ignore_ppc() { char command[256]; sprintf(command, "echo 0 > /sys/module/processor/parameters/ignore_ppc"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_scsi_mod_parameters_max_luns(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/scsi_mod/parameters/max_luns", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_scsi_mod_parameters_max_luns() { char command[256]; sprintf(command, "echo 512 > /sys/module/scsi_mod/parameters/max_luns"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_scsi_mod_parameters_scsi_logging_level(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/scsi_mod/parameters/scsi_logging_level", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_scsi_mod_parameters_scsi_logging_level() { char command[256]; sprintf(command, "echo 0 > /sys/module/scsi_mod/parameters/scsi_logging_level"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_scsi_mod_parameters_default_dev_flags(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/scsi_mod/parameters/default_dev_flags", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_scsi_mod_parameters_default_dev_flags() { char command[256]; sprintf(command, "echo 0 > /sys/module/scsi_mod/parameters/default_dev_flags"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_scsi_mod_parameters_inq_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/scsi_mod/parameters/inq_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_scsi_mod_parameters_inq_timeout() { char command[256]; sprintf(command, "echo 20 > /sys/module/scsi_mod/parameters/inq_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_kernel_parameters_pause_on_oops(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/kernel/parameters/pause_on_oops", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_kernel_parameters_pause_on_oops() { char command[256]; sprintf(command, "echo 0 > /sys/module/kernel/parameters/pause_on_oops"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_kernel_parameters_panic(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/kernel/parameters/panic", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_kernel_parameters_panic() { char command[256]; sprintf(command, "echo 0 > /sys/module/kernel/parameters/panic"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_kernel_parameters_panic_on_warn(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/kernel/parameters/panic_on_warn", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_kernel_parameters_panic_on_warn() { char command[256]; sprintf(command, "echo 0 > /sys/module/kernel/parameters/panic_on_warn"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_kernel_parameters_panic_print(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/kernel/parameters/panic_print", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_kernel_parameters_panic_print() { char command[256]; sprintf(command, "echo 0 > /sys/module/kernel/parameters/panic_print"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_snd_hda_intel_parameters_power_save(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/snd_hda_intel/parameters/power_save", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_snd_hda_intel_parameters_power_save() { char command[256]; sprintf(command, "echo 0 > /sys/module/snd_hda_intel/parameters/power_save"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_8250_core_parameters_nr_uarts(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/8250_core/parameters/nr_uarts", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_8250_core_parameters_nr_uarts() { char command[256]; sprintf(command, "echo 4 > /sys/module/8250_core/parameters/nr_uarts"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_8250_core_parameters_share_irqs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/8250_core/parameters/share_irqs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_8250_core_parameters_share_irqs() { char command[256]; sprintf(command, "echo 1 > /sys/module/8250_core/parameters/share_irqs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_8250_core_parameters_skip_txen_test(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/8250_core/parameters/skip_txen_test", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_8250_core_parameters_skip_txen_test() { char command[256]; sprintf(command, "echo 0 > /sys/module/8250_core/parameters/skip_txen_test"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_usbhid_parameters_mousepoll(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/usbhid/parameters/mousepoll", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_usbhid_parameters_mousepoll() { char command[256]; sprintf(command, "echo 0 > /sys/module/usbhid/parameters/mousepoll"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_usbhid_parameters_jspoll(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/usbhid/parameters/jspoll", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_usbhid_parameters_jspoll() { char command[256]; sprintf(command, "echo 0 > /sys/module/usbhid/parameters/jspoll"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_usbhid_parameters_kbpoll(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/usbhid/parameters/kbpoll", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_usbhid_parameters_kbpoll() { char command[256]; sprintf(command, "echo 0 > /sys/module/usbhid/parameters/kbpoll"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_usbhid_parameters_ignoreled(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/usbhid/parameters/ignoreled", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_usbhid_parameters_ignoreled() { char command[256]; sprintf(command, "echo 0 > /sys/module/usbhid/parameters/ignoreled"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_ahci_parameters_marvell_enable(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/ahci/parameters/marvell_enable", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_ahci_parameters_marvell_enable() { char command[256]; sprintf(command, "echo 1 > /sys/module/ahci/parameters/marvell_enable"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_hid_apple_parameters_swap_fn_leftctrl(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/hid_apple/parameters/swap_fn_leftctrl", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_hid_apple_parameters_swap_fn_leftctrl() { char command[256]; sprintf(command, "echo 0 > /sys/module/hid_apple/parameters/swap_fn_leftctrl"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_hid_apple_parameters_swap_opt_cmd(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/hid_apple/parameters/swap_opt_cmd", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_hid_apple_parameters_swap_opt_cmd() { char command[256]; sprintf(command, "echo 0 > /sys/module/hid_apple/parameters/swap_opt_cmd"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_hid_apple_parameters_swap_ctrl_cmd(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/hid_apple/parameters/swap_ctrl_cmd", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_hid_apple_parameters_swap_ctrl_cmd() { char command[256]; sprintf(command, "echo 0 > /sys/module/hid_apple/parameters/swap_ctrl_cmd"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_hid_apple_parameters_fnmode(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/hid_apple/parameters/fnmode", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_hid_apple_parameters_fnmode() { char command[256]; sprintf(command, "echo 3 > /sys/module/hid_apple/parameters/fnmode"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_nfsv4_parameters_delegation_watermark(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/nfsv4/parameters/delegation_watermark", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_nfsv4_parameters_delegation_watermark() { char command[256]; sprintf(command, "echo 5000 > /sys/module/nfsv4/parameters/delegation_watermark"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_auth_rpcgss_parameters_expired_cred_retry_delay(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/auth_rpcgss/parameters/expired_cred_retry_delay", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_auth_rpcgss_parameters_expired_cred_retry_delay() { char command[256]; sprintf(command, "echo 5 > /sys/module/auth_rpcgss/parameters/expired_cred_retry_delay"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_auth_rpcgss_parameters_key_expire_timeo(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/auth_rpcgss/parameters/key_expire_timeo", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_auth_rpcgss_parameters_key_expire_timeo() { char command[256]; sprintf(command, "echo 240 > /sys/module/auth_rpcgss/parameters/key_expire_timeo"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_e1000_parameters_copybreak(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/e1000/parameters/copybreak", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_e1000_parameters_copybreak() { char command[256]; sprintf(command, "echo 256 > /sys/module/e1000/parameters/copybreak"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_keyboard_parameters_brl_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/keyboard/parameters/brl_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_keyboard_parameters_brl_timeout() { char command[256]; sprintf(command, "echo 300 > /sys/module/keyboard/parameters/brl_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_keyboard_parameters_brl_nbchords(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/keyboard/parameters/brl_nbchords", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_keyboard_parameters_brl_nbchords() { char command[256]; sprintf(command, "echo 1 > /sys/module/keyboard/parameters/brl_nbchords"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_drm_display_helper_parameters_dp_aux_i2c_transfer_size(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/drm_display_helper/parameters/dp_aux_i2c_transfer_size", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_drm_display_helper_parameters_dp_aux_i2c_transfer_size() { char command[256]; sprintf(command, "echo 16 > /sys/module/drm_display_helper/parameters/dp_aux_i2c_transfer_size"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_drm_display_helper_parameters_dp_aux_i2c_speed_khz(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/drm_display_helper/parameters/dp_aux_i2c_speed_khz", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_drm_display_helper_parameters_dp_aux_i2c_speed_khz() { char command[256]; sprintf(command, "echo 10 > /sys/module/drm_display_helper/parameters/dp_aux_i2c_speed_khz"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_nf_conntrack_sip_parameters_sip_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/nf_conntrack_sip/parameters/sip_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_nf_conntrack_sip_parameters_sip_timeout() { char command[256]; sprintf(command, "echo 3600 > /sys/module/nf_conntrack_sip/parameters/sip_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_nf_conntrack_sip_parameters_sip_direct_media(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/nf_conntrack_sip/parameters/sip_direct_media", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_nf_conntrack_sip_parameters_sip_direct_media() { char command[256]; sprintf(command, "echo 1 > /sys/module/nf_conntrack_sip/parameters/sip_direct_media"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_nf_conntrack_sip_parameters_sip_direct_signalling(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/nf_conntrack_sip/parameters/sip_direct_signalling", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_nf_conntrack_sip_parameters_sip_direct_signalling() { char command[256]; sprintf(command, "echo 1 > /sys/module/nf_conntrack_sip/parameters/sip_direct_signalling"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_nf_conntrack_sip_parameters_sip_external_media(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/nf_conntrack_sip/parameters/sip_external_media", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_nf_conntrack_sip_parameters_sip_external_media() { char command[256]; sprintf(command, "echo 0 > /sys/module/nf_conntrack_sip/parameters/sip_external_media"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_netfs_parameters_debug(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/netfs/parameters/debug", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_netfs_parameters_debug() { char command[256]; sprintf(command, "echo 0 > /sys/module/netfs/parameters/debug"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_hid_parameters_ignore_special_drivers(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/hid/parameters/ignore_special_drivers", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_hid_parameters_ignore_special_drivers() { char command[256]; sprintf(command, "echo 0 > /sys/module/hid/parameters/ignore_special_drivers"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_netpoll_parameters_carrier_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/netpoll/parameters/carrier_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_netpoll_parameters_carrier_timeout() { char command[256]; sprintf(command, "echo 4 > /sys/module/netpoll/parameters/carrier_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_usbcore_parameters_usbfs_memory_mb(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/usbcore/parameters/usbfs_memory_mb", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_usbcore_parameters_usbfs_memory_mb() { char command[256]; sprintf(command, "echo 16 > /sys/module/usbcore/parameters/usbfs_memory_mb"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_usbcore_parameters_usbfs_snoop_max(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/usbcore/parameters/usbfs_snoop_max", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_usbcore_parameters_usbfs_snoop_max() { char command[256]; sprintf(command, "echo 65536 > /sys/module/usbcore/parameters/usbfs_snoop_max"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_usbcore_parameters_initial_descriptor_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/usbcore/parameters/initial_descriptor_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_usbcore_parameters_initial_descriptor_timeout() { char command[256]; sprintf(command, "echo 5000 > /sys/module/usbcore/parameters/initial_descriptor_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_usbcore_parameters_authorized_default(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/usbcore/parameters/authorized_default", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_usbcore_parameters_authorized_default() { char command[256]; sprintf(command, "echo 1 > /sys/module/usbcore/parameters/authorized_default"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_usbcore_parameters_autosuspend(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/usbcore/parameters/autosuspend", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_usbcore_parameters_autosuspend() { char command[256]; sprintf(command, "echo 2 > /sys/module/usbcore/parameters/autosuspend"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_usb_storage_parameters_delay_use(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/usb_storage/parameters/delay_use", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_usb_storage_parameters_delay_use() { char command[256]; sprintf(command, "echo 1 > /sys/module/usb_storage/parameters/delay_use"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_usb_storage_parameters_option_zero_cd(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/usb_storage/parameters/option_zero_cd", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_usb_storage_parameters_option_zero_cd() { char command[256]; sprintf(command, "echo 1 > /sys/module/usb_storage/parameters/option_zero_cd"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_usb_storage_parameters_swi_tru_install(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/usb_storage/parameters/swi_tru_install", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_usb_storage_parameters_swi_tru_install() { char command[256]; sprintf(command, "echo 1 > /sys/module/usb_storage/parameters/swi_tru_install"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_pnp_parameters_debug(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/pnp/parameters/debug", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_pnp_parameters_debug() { char command[256]; sprintf(command, "echo 0 > /sys/module/pnp/parameters/debug"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_lockd_parameters_nlm_tcpport(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/lockd/parameters/nlm_tcpport", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_lockd_parameters_nlm_tcpport() { char command[256]; sprintf(command, "echo 0 > /sys/module/lockd/parameters/nlm_tcpport"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_lockd_parameters_nlm_grace_period(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/lockd/parameters/nlm_grace_period", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_lockd_parameters_nlm_grace_period() { char command[256]; sprintf(command, "echo 0 > /sys/module/lockd/parameters/nlm_grace_period"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_lockd_parameters_nlm_udpport(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/lockd/parameters/nlm_udpport", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_lockd_parameters_nlm_udpport() { char command[256]; sprintf(command, "echo 0 > /sys/module/lockd/parameters/nlm_udpport"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_lockd_parameters_nlm_max_connections(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/lockd/parameters/nlm_max_connections", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_lockd_parameters_nlm_max_connections() { char command[256]; sprintf(command, "echo 1024 > /sys/module/lockd/parameters/nlm_max_connections"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_lockd_parameters_nlm_timeout(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/lockd/parameters/nlm_timeout", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_lockd_parameters_nlm_timeout() { char command[256]; sprintf(command, "echo 10 > /sys/module/lockd/parameters/nlm_timeout"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_sunrpc_parameters_udp_slot_table_entries(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/sunrpc/parameters/udp_slot_table_entries", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_sunrpc_parameters_udp_slot_table_entries() { char command[256]; sprintf(command, "echo 16 > /sys/module/sunrpc/parameters/udp_slot_table_entries"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_sunrpc_parameters_max_resvport(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/sunrpc/parameters/max_resvport", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_sunrpc_parameters_max_resvport() { char command[256]; sprintf(command, "echo 1023 > /sys/module/sunrpc/parameters/max_resvport"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_sunrpc_parameters_auth_hashtable_size(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/sunrpc/parameters/auth_hashtable_size", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_sunrpc_parameters_auth_hashtable_size() { char command[256]; sprintf(command, "echo 16 > /sys/module/sunrpc/parameters/auth_hashtable_size"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_sunrpc_parameters_min_resvport(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/sunrpc/parameters/min_resvport", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_sunrpc_parameters_min_resvport() { char command[256]; sprintf(command, "echo 665 > /sys/module/sunrpc/parameters/min_resvport"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_sunrpc_parameters_svc_rpc_per_connection_limit(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/sunrpc/parameters/svc_rpc_per_connection_limit", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_sunrpc_parameters_svc_rpc_per_connection_limit() { char command[256]; sprintf(command, "echo 0 > /sys/module/sunrpc/parameters/svc_rpc_per_connection_limit"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_sunrpc_parameters_tcp_max_slot_table_entries(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/sunrpc/parameters/tcp_max_slot_table_entries", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_sunrpc_parameters_tcp_max_slot_table_entries() { char command[256]; sprintf(command, "echo 65536 > /sys/module/sunrpc/parameters/tcp_max_slot_table_entries"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_sunrpc_parameters_tcp_slot_table_entries(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/sunrpc/parameters/tcp_slot_table_entries", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_sunrpc_parameters_tcp_slot_table_entries() { char command[256]; sprintf(command, "echo 2 > /sys/module/sunrpc/parameters/tcp_slot_table_entries"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_sunrpc_parameters_auth_max_cred_cachesize(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/sunrpc/parameters/auth_max_cred_cachesize", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_sunrpc_parameters_auth_max_cred_cachesize() { char command[256]; sprintf(command, "echo 18446744073709551615 > /sys/module/sunrpc/parameters/auth_max_cred_cachesize"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_suspend_parameters_pm_test_delay(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/suspend/parameters/pm_test_delay", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_suspend_parameters_pm_test_delay() { char command[256]; sprintf(command, "echo 5 > /sys/module/suspend/parameters/pm_test_delay"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_e1000e_parameters_copybreak(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/e1000e/parameters/copybreak", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_e1000e_parameters_copybreak() { char command[256]; sprintf(command, "echo 256 > /sys/module/e1000e/parameters/copybreak"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_hid_ntrig_parameters_activation_height(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/hid_ntrig/parameters/activation_height", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_hid_ntrig_parameters_activation_height() { char command[256]; sprintf(command, "echo 32 > /sys/module/hid_ntrig/parameters/activation_height"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_hid_ntrig_parameters_deactivate_slack(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/hid_ntrig/parameters/deactivate_slack", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_hid_ntrig_parameters_deactivate_slack() { char command[256]; sprintf(command, "echo 4 > /sys/module/hid_ntrig/parameters/deactivate_slack"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_hid_ntrig_parameters_min_height(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/hid_ntrig/parameters/min_height", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_hid_ntrig_parameters_min_height() { char command[256]; sprintf(command, "echo 0 > /sys/module/hid_ntrig/parameters/min_height"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_hid_ntrig_parameters_activation_width(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/hid_ntrig/parameters/activation_width", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_hid_ntrig_parameters_activation_width() { char command[256]; sprintf(command, "echo 64 > /sys/module/hid_ntrig/parameters/activation_width"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_hid_ntrig_parameters_activate_slack(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/hid_ntrig/parameters/activate_slack", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_hid_ntrig_parameters_activate_slack() { char command[256]; sprintf(command, "echo 1 > /sys/module/hid_ntrig/parameters/activate_slack"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_hid_ntrig_parameters_min_width(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/hid_ntrig/parameters/min_width", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_hid_ntrig_parameters_min_width() { char command[256]; sprintf(command, "echo 0 > /sys/module/hid_ntrig/parameters/min_width"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_lockdep_parameters_prove_locking(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/lockdep/parameters/prove_locking", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_lockdep_parameters_prove_locking() { char command[256]; sprintf(command, "echo 1 > /sys/module/lockdep/parameters/prove_locking"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_rcutree_parameters_jiffies_till_first_fqs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/rcutree/parameters/jiffies_till_first_fqs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_rcutree_parameters_jiffies_till_first_fqs() { char command[256]; sprintf(command, "echo 3 > /sys/module/rcutree/parameters/jiffies_till_first_fqs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_rcutree_parameters_rcu_divisor(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/rcutree/parameters/rcu_divisor", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_rcutree_parameters_rcu_divisor() { char command[256]; sprintf(command, "echo 7 > /sys/module/rcutree/parameters/rcu_divisor"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_rcutree_parameters_jiffies_till_next_fqs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/rcutree/parameters/jiffies_till_next_fqs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_rcutree_parameters_jiffies_till_next_fqs() { char command[256]; sprintf(command, "echo 3 > /sys/module/rcutree/parameters/jiffies_till_next_fqs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_rcutree_parameters_rcu_resched_ns(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/rcutree/parameters/rcu_resched_ns", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_rcutree_parameters_rcu_resched_ns() { char command[256]; sprintf(command, "echo 3000000 > /sys/module/rcutree/parameters/rcu_resched_ns"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_rcutree_parameters_do_rcu_barrier(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/rcutree/parameters/do_rcu_barrier", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_rcutree_parameters_do_rcu_barrier() { char command[256]; sprintf(command, "echo 0 > /sys/module/rcutree/parameters/do_rcu_barrier"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_rcutree_parameters_rcu_normal_wake_from_gp(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/rcutree/parameters/rcu_normal_wake_from_gp", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_rcutree_parameters_rcu_normal_wake_from_gp() { char command[256]; sprintf(command, "echo 0 > /sys/module/rcutree/parameters/rcu_normal_wake_from_gp"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_mac80211_parameters_probe_wait_ms(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/mac80211/parameters/probe_wait_ms", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_mac80211_parameters_probe_wait_ms() { char command[256]; sprintf(command, "echo 500 > /sys/module/mac80211/parameters/probe_wait_ms"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_mac80211_parameters_max_probe_tries(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/mac80211/parameters/max_probe_tries", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_mac80211_parameters_max_probe_tries() { char command[256]; sprintf(command, "echo 5 > /sys/module/mac80211/parameters/max_probe_tries"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_mac80211_parameters_max_nullfunc_tries(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/mac80211/parameters/max_nullfunc_tries", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_mac80211_parameters_max_nullfunc_tries() { char command[256]; sprintf(command, "echo 2 > /sys/module/mac80211/parameters/max_nullfunc_tries"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_mac80211_parameters_beacon_loss_count(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/mac80211/parameters/beacon_loss_count", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_mac80211_parameters_beacon_loss_count() { char command[256]; sprintf(command, "echo 7 > /sys/module/mac80211/parameters/beacon_loss_count"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_i2c_i801_parameters_disable_features(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/i2c_i801/parameters/disable_features", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_i2c_i801_parameters_disable_features() { char command[256]; sprintf(command, "echo 0 > /sys/module/i2c_i801/parameters/disable_features"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_button_parameters_lid_report_interval(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/button/parameters/lid_report_interval", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_button_parameters_lid_report_interval() { char command[256]; sprintf(command, "echo 500 > /sys/module/button/parameters/lid_report_interval"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_block_parameters_events_dfl_poll_msecs(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/block/parameters/events_dfl_poll_msecs", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_block_parameters_events_dfl_poll_msecs() { char command[256]; sprintf(command, "echo 2000 > /sys/module/block/parameters/events_dfl_poll_msecs"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_snd_pcm_parameters_max_alloc_per_card(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/snd_pcm/parameters/max_alloc_per_card", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_snd_pcm_parameters_max_alloc_per_card() { char command[256]; sprintf(command, "echo 33554432 > /sys/module/snd_pcm/parameters/max_alloc_per_card"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_dm_mod_parameters_reserved_bio_based_ios(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/dm_mod/parameters/reserved_bio_based_ios", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_dm_mod_parameters_reserved_bio_based_ios() { char command[256]; sprintf(command, "echo 16 > /sys/module/dm_mod/parameters/reserved_bio_based_ios"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_dm_mod_parameters_reserved_rq_based_ios(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/dm_mod/parameters/reserved_rq_based_ios", val); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_reset__sys_module_dm_mod_parameters_reserved_rq_based_ios() { char command[256]; sprintf(command, "echo 256 > /sys/module/dm_mod/parameters/reserved_rq_based_ios"); int ret = system(command); if (ret != 0) { return 0; } return 0; } static long syz_proconfig_set__sys_module_dm_mod_parameters_swap_bios(volatile long val) { char command[256]; sprintf(command, "echo %ld > /sys/module/dm_mod/parameters/swap_bios", val); int ret = system(command); if (ret != 0) { return 0; } return 0; }