/** * pdcs_autosearch_read - Stable Storage autoboot flag output. * @buf: The output buffer to write to. */ static ssize_t pdcs_autosearch_read(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { return pdcs_auto_read(kobj, attr, buf, PF_AUTOSEARCH); }
/** * pdcs_autosearch_read - Stable Storage autoboot flag output. * @entry: An allocated and populated subsytem struct. We don't use it tho. * @buf: The output buffer to write to. */ static inline ssize_t pdcs_autosearch_read(struct subsystem *entry, char *buf) { return pdcs_auto_read(entry, buf, PF_AUTOSEARCH); }
/** * pdcs_autoboot_read - Stable Storage autoboot flag output. * @buf: The output buffer to write to. */ static ssize_t pdcs_autoboot_read(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { return pdcs_auto_read(kobj, attr, buf, PF_AUTOBOOT); }
/** * pdcs_autoboot_read - Stable Storage autoboot flag output. * @entry: An allocated and populated subsytem struct. We don't use it tho. * @buf: The output buffer to write to. */ static inline ssize_t pdcs_autoboot_read(struct subsystem *entry, char *buf) { return pdcs_auto_read(entry, buf, PF_AUTOBOOT); }