Searched refs:kernel_n_regs (Results 1 – 1 of 1) sorted by relevance
144 u32 kernel_n_regs) in can_copy_perf_config_registers_or_number() argument153 if (user_n_regs < kernel_n_regs) in can_copy_perf_config_registers_or_number()160 u32 kernel_n_regs, in copy_perf_config_registers_or_number() argument168 *user_n_regs = kernel_n_regs; in copy_perf_config_registers_or_number()172 *user_n_regs = kernel_n_regs; in copy_perf_config_registers_or_number()174 if (!user_write_access_begin(p, 2 * sizeof(u32) * kernel_n_regs)) in copy_perf_config_registers_or_number()177 for (r = 0; r < kernel_n_regs; r++, p += 2) { in copy_perf_config_registers_or_number()