Lines Matching refs:retval
71 int retval; in __oprofile_hwsampler_start() local
73 retval = hwsampler_allocate(oprofile_sdbt_blocks, oprofile_sdb_blocks); in __oprofile_hwsampler_start()
74 if (retval) in __oprofile_hwsampler_start()
75 return retval; in __oprofile_hwsampler_start()
77 retval = hwsampler_start_all(oprofile_hw_interval); in __oprofile_hwsampler_start()
78 if (retval) in __oprofile_hwsampler_start()
81 return retval; in __oprofile_hwsampler_start()
86 int retval; in oprofile_hwsampler_start() local
93 retval = perf_reserve_sampling(); in oprofile_hwsampler_start()
94 if (retval) in oprofile_hwsampler_start()
95 return retval; in oprofile_hwsampler_start()
97 retval = __oprofile_hwsampler_start(); in oprofile_hwsampler_start()
98 if (retval) in oprofile_hwsampler_start()
101 return retval; in oprofile_hwsampler_start()
133 int retval; in hwsampler_write() local
138 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_write()
139 if (retval <= 0) in hwsampler_write()
140 return retval; in hwsampler_write()
182 int retval; in hw_interval_write() local
186 retval = oprofilefs_ulong_from_user(&val, buf, count); in hw_interval_write()
187 if (retval <= 0) in hw_interval_write()
188 return retval; in hw_interval_write()
224 int retval; in hwsampler_zero_write() local
229 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_zero_write()
230 if (retval <= 0) in hwsampler_zero_write()
231 return retval; in hwsampler_zero_write()
255 int retval; in hwsampler_kernel_write() local
260 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_kernel_write()
261 if (retval <= 0) in hwsampler_kernel_write()
262 return retval; in hwsampler_kernel_write()
290 int retval; in hwsampler_user_write() local
295 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_user_write()
296 if (retval <= 0) in hwsampler_user_write()
297 return retval; in hwsampler_user_write()
329 int retval; in timer_enabled_write() local
334 retval = oprofilefs_ulong_from_user(&val, buf, count); in timer_enabled_write()
335 if (retval <= 0) in timer_enabled_write()
336 return retval; in timer_enabled_write()