Lines Matching refs:ssize_t
21 static ssize_t show_available_governors(struct device *dev, in show_available_governors()
25 ssize_t i = 0; in show_available_governors()
30 if (i >= (ssize_t) (PAGE_SIZE - (CPUIDLE_NAME_LEN + 2))) in show_available_governors()
42 static ssize_t show_current_driver(struct device *dev, in show_current_driver()
46 ssize_t ret; in show_current_driver()
60 static ssize_t show_current_governor(struct device *dev, in show_current_governor()
64 ssize_t ret; in show_current_governor()
76 static ssize_t store_current_governor(struct device *dev, in store_current_governor()
140 ssize_t (*show)(struct cpuidle_device *, char *);
141 ssize_t (*store)(struct cpuidle_device *, const char *, size_t count);
160 static ssize_t cpuidle_show(struct kobject *kobj, struct attribute *attr, in cpuidle_show()
175 static ssize_t cpuidle_store(struct kobject *kobj, struct attribute *attr, in cpuidle_store()
210 ssize_t (*show)(struct cpuidle_state *, \
212 ssize_t (*store)(struct cpuidle_state *, \
223 static ssize_t show_state_##_name(struct cpuidle_state *state, \
230 static ssize_t show_state_##_name(struct cpuidle_state *state, \
238 static ssize_t show_state_##_name(struct cpuidle_state *state, \
248 static ssize_t show_state_##_name(struct cpuidle_state *state, \
265 static ssize_t show_state_time(struct cpuidle_state *state, in define_show_state_time_function()
272 static ssize_t show_state_disable(struct cpuidle_state *state, in show_state_disable()
280 static ssize_t store_state_disable(struct cpuidle_state *state, in store_state_disable()
302 static ssize_t show_state_default_status(struct cpuidle_state *state, in show_state_default_status()
349 static ssize_t show_state_s2idle_##_name(struct cpuidle_state *state, \
405 static ssize_t cpuidle_state_show(struct kobject *kobj, struct attribute *attr, in cpuidle_state_show()
419 static ssize_t cpuidle_state_store(struct kobject *kobj, struct attribute *attr, in cpuidle_state_store()
536 ssize_t (*show)(struct cpuidle_driver *, char *);
537 ssize_t (*store)(struct cpuidle_driver *, const char *, size_t);
540 static ssize_t show_driver_name(struct cpuidle_driver *drv, char *buf) in show_driver_name()
542 ssize_t ret; in show_driver_name()
557 static ssize_t cpuidle_driver_show(struct kobject *kobj, struct attribute *attr, in cpuidle_driver_show()
570 static ssize_t cpuidle_driver_store(struct kobject *kobj, struct attribute *attr, in cpuidle_driver_store()