Lines Matching refs:count

125 		size_t count, loff_t *offset)  in hwsampler_read()  argument
127 return oprofilefs_ulong_to_user(hwsampler_enabled, buf, count, offset); in hwsampler_read()
131 size_t count, loff_t *offset) in hwsampler_write() argument
139 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_write()
156 return count; in hwsampler_write()
173 size_t count, loff_t *offset) in hw_interval_read() argument
176 count, offset); in hw_interval_read()
180 size_t count, loff_t *offset) in hw_interval_write() argument
187 retval = oprofilefs_ulong_from_user(&val, buf, count); in hw_interval_write()
197 return count; in hw_interval_write()
216 size_t count, loff_t *offset) in hwsampler_zero_read() argument
218 return oprofilefs_ulong_to_user(0, buf, count, offset); in hwsampler_zero_read()
222 size_t count, loff_t *offset) in hwsampler_zero_write() argument
230 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_zero_write()
235 return count; in hwsampler_zero_write()
246 size_t count, loff_t *offset) in hwsampler_kernel_read() argument
249 buf, count, offset); in hwsampler_kernel_read()
253 size_t count, loff_t *offset) in hwsampler_kernel_write() argument
261 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_kernel_write()
270 return count; in hwsampler_kernel_write()
281 size_t count, loff_t *offset) in hwsampler_user_read() argument
284 buf, count, offset); in hwsampler_user_read()
288 size_t count, loff_t *offset) in hwsampler_user_write() argument
296 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_user_write()
305 return count; in hwsampler_user_write()
321 size_t count, loff_t *offset) in timer_enabled_read() argument
323 return oprofilefs_ulong_to_user(!hwsampler_enabled, buf, count, offset); in timer_enabled_read()
327 size_t count, loff_t *offset) in timer_enabled_write() argument
335 retval = oprofilefs_ulong_from_user(&val, buf, count); in timer_enabled_write()
356 return count; in timer_enabled_write()