Lines Matching refs:retval

72 	int retval;  in __oprofile_hwsampler_start()  local
74 retval = hwsampler_allocate(oprofile_sdbt_blocks, oprofile_sdb_blocks); in __oprofile_hwsampler_start()
75 if (retval) in __oprofile_hwsampler_start()
76 return retval; in __oprofile_hwsampler_start()
78 retval = hwsampler_start_all(oprofile_hw_interval); in __oprofile_hwsampler_start()
79 if (retval) in __oprofile_hwsampler_start()
82 return retval; in __oprofile_hwsampler_start()
87 int retval; in oprofile_hwsampler_start() local
94 retval = perf_reserve_sampling(); in oprofile_hwsampler_start()
95 if (retval) in oprofile_hwsampler_start()
96 return retval; in oprofile_hwsampler_start()
98 retval = __oprofile_hwsampler_start(); in oprofile_hwsampler_start()
99 if (retval) in oprofile_hwsampler_start()
102 return retval; in oprofile_hwsampler_start()
134 int retval; in hwsampler_write() local
139 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_write()
140 if (retval <= 0) in hwsampler_write()
141 return retval; in hwsampler_write()
183 int retval; in hw_interval_write() local
187 retval = oprofilefs_ulong_from_user(&val, buf, count); in hw_interval_write()
188 if (retval <= 0) in hw_interval_write()
189 return retval; in hw_interval_write()
225 int retval; in hwsampler_zero_write() local
230 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_zero_write()
231 if (retval <= 0) in hwsampler_zero_write()
232 return retval; in hwsampler_zero_write()
256 int retval; in hwsampler_kernel_write() local
261 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_kernel_write()
262 if (retval <= 0) in hwsampler_kernel_write()
263 return retval; in hwsampler_kernel_write()
291 int retval; in hwsampler_user_write() local
296 retval = oprofilefs_ulong_from_user(&val, buf, count); in hwsampler_user_write()
297 if (retval <= 0) in hwsampler_user_write()
298 return retval; in hwsampler_user_write()
330 int retval; in timer_enabled_write() local
335 retval = oprofilefs_ulong_from_user(&val, buf, count); in timer_enabled_write()
336 if (retval <= 0) in timer_enabled_write()
337 return retval; in timer_enabled_write()