Lines Matching refs:count
124 size_t count, loff_t *offset) in hwsampler_read() argument
126 return oprofilefs_ulong_to_user(hwsampler_enabled, buf, count, offset); in hwsampler_read()
130 size_t count, loff_t *offset) in hwsampler_write() argument
138 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_write()
155 return count; in hwsampler_write()
172 size_t count, loff_t *offset) in hw_interval_read() argument
175 count, offset); in hw_interval_read()
179 size_t count, loff_t *offset) in hw_interval_write() argument
186 retval = oprofilefs_ulong_from_user(&val, buf, count); in hw_interval_write()
196 return count; in hw_interval_write()
215 size_t count, loff_t *offset) in hwsampler_zero_read() argument
217 return oprofilefs_ulong_to_user(0, buf, count, offset); in hwsampler_zero_read()
221 size_t count, loff_t *offset) in hwsampler_zero_write() argument
229 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_zero_write()
234 return count; in hwsampler_zero_write()
245 size_t count, loff_t *offset) in hwsampler_kernel_read() argument
248 buf, count, offset); in hwsampler_kernel_read()
252 size_t count, loff_t *offset) in hwsampler_kernel_write() argument
260 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_kernel_write()
269 return count; in hwsampler_kernel_write()
280 size_t count, loff_t *offset) in hwsampler_user_read() argument
283 buf, count, offset); in hwsampler_user_read()
287 size_t count, loff_t *offset) in hwsampler_user_write() argument
295 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_user_write()
304 return count; in hwsampler_user_write()
320 size_t count, loff_t *offset) in timer_enabled_read() argument
322 return oprofilefs_ulong_to_user(!hwsampler_enabled, buf, count, offset); in timer_enabled_read()
326 size_t count, loff_t *offset) in timer_enabled_write() argument
334 retval = oprofilefs_ulong_from_user(&val, buf, count); in timer_enabled_write()
355 return count; in timer_enabled_write()