Lines Matching refs:fopen
38 file = fopen("/proc/sys/vm/laptop_mode", "w"); in set_laptop_mode()
56 file = fopen("/proc/acpi/ac_adapter/AC/state", "r"); in suggest_laptop_mode()
69 file = fopen("/proc/sys/vm/laptop_mode", "r"); in suggest_laptop_mode()
88 file = fopen("/proc/sys/kernel/nmi_watchdog", "w"); in nmi_watchdog_off()
99 file = fopen("/proc/sys/kernel/nmi_watchdog", "r"); in suggest_nmi_watchdog()
120 file = fopen("/sys/devices/system/clocksource/clocksource0/available_clocksource", "r"); in suggest_hpet()
145 file = fopen("/sys/module/snd_ac97_codec/parameters/power_save", "w"); in ac97_power_on()
152 file = fopen("/dev/dsp", "w"); in ac97_power_on()
163 file = fopen("/sys/module/snd_ac97_codec/parameters/power_save", "r"); in suggest_ac97_powersave()
189 file = fopen("/proc/mounts","r"); in suggest_noatime()
211 file = fopen("/sys/devices/system/cpu/sched_mc_power_savings", "w"); in powersched_on()
225 file = fopen("/sys/devices/system/cpu/sched_mc_power_savings","r"); in suggest_powersched()
242 file = fopen("/proc/cpuinfo", "r"); in suggest_powersched()
274 file = fopen("/proc/sys/vm/dirty_writeback_centisecs", "w"); in writeback_long()
286 file = fopen("/proc/sys/vm/dirty_writeback_centisecs", "r"); in suggest_writeback_time()