Searched refs:args_k (Results 1 – 1 of 1) sorted by relevance
4767 void *args_k = NULL; in sys_perfmonctl() local4822 if (likely(count && args_k == NULL)) { in sys_perfmonctl()4823 args_k = kmalloc(PFM_MAX_ARGSIZE, GFP_KERNEL); in sys_perfmonctl()4824 if (args_k == NULL) return -ENOMEM; in sys_perfmonctl()4834 if (sz && copy_from_user(args_k, arg, sz)) { in sys_perfmonctl()4846 ret = (*getsize)(args_k, &xtra_sz); in sys_perfmonctl()4887 ret = (*func)(ctx, args_k, count, task_pt_regs(current)); in sys_perfmonctl()4898 if (call_made && PFM_CMD_RW_ARG(cmd) && copy_to_user(arg, args_k, base_sz*count)) ret = -EFAULT; in sys_perfmonctl()4904 kfree(args_k); in sys_perfmonctl()