• Home
  • Raw
  • Download

Lines Matching refs:buf

31 				  struct kobj_attribute *attr, char *buf)  in uevent_seqnum_show()  argument
33 return sprintf(buf, "%llu\n", (unsigned long long)uevent_seqnum); in uevent_seqnum_show()
40 struct kobj_attribute *attr, char *buf) in uevent_helper_show() argument
42 return sprintf(buf, "%s\n", uevent_helper); in uevent_helper_show()
46 const char *buf, size_t count) in uevent_helper_store() argument
50 memcpy(uevent_helper, buf, count); in uevent_helper_store()
61 struct kobj_attribute *attr, char *buf) in profiling_show() argument
63 return sprintf(buf, "%d\n", prof_on); in profiling_show()
67 const char *buf, size_t count) in profiling_store() argument
78 profile_setup((char *)buf); in profiling_store()
92 struct kobj_attribute *attr, char *buf) in kexec_loaded_show() argument
94 return sprintf(buf, "%d\n", !!kexec_image); in kexec_loaded_show()
99 struct kobj_attribute *attr, char *buf) in kexec_crash_loaded_show() argument
101 return sprintf(buf, "%d\n", kexec_crash_loaded()); in kexec_crash_loaded_show()
106 struct kobj_attribute *attr, char *buf) in kexec_crash_size_show() argument
113 return sprintf(buf, "%zd\n", size); in kexec_crash_size_show()
117 const char *buf, size_t count) in kexec_crash_size_store() argument
122 if (kstrtoul(buf, 0, &cnt)) in kexec_crash_size_store()
135 struct kobj_attribute *attr, char *buf) in vmcoreinfo_show() argument
138 return sprintf(buf, "%pa %x\n", &vmcore_base, in vmcoreinfo_show()
147 struct kobj_attribute *attr, char *buf) in fscaps_show() argument
149 return sprintf(buf, "%d\n", file_caps_enabled); in fscaps_show()
156 struct kobj_attribute *attr, char *buf) in rcu_expedited_show() argument
158 return sprintf(buf, "%d\n", READ_ONCE(rcu_expedited)); in rcu_expedited_show()
162 const char *buf, size_t count) in rcu_expedited_store() argument
164 if (kstrtoint(buf, 0, &rcu_expedited)) in rcu_expedited_store()
173 struct kobj_attribute *attr, char *buf) in rcu_normal_show() argument
175 return sprintf(buf, "%d\n", READ_ONCE(rcu_normal)); in rcu_normal_show()
179 const char *buf, size_t count) in rcu_normal_store() argument
181 if (kstrtoint(buf, 0, &rcu_normal)) in rcu_normal_store()
198 char *buf, loff_t off, size_t count) in notes_read() argument
200 memcpy(buf, &__start_notes + off, count); in notes_read()