Searched refs:args_k (Results 1 – 1 of 1) sorted by relevance
4795 void *args_k = NULL; in sys_perfmonctl() local4850 if (likely(count && args_k == NULL)) { in sys_perfmonctl()4851 args_k = kmalloc(PFM_MAX_ARGSIZE, GFP_KERNEL); in sys_perfmonctl()4852 if (args_k == NULL) return -ENOMEM; in sys_perfmonctl()4862 if (sz && copy_from_user(args_k, arg, sz)) { in sys_perfmonctl()4874 ret = (*getsize)(args_k, &xtra_sz); in sys_perfmonctl()4915 ret = (*func)(ctx, args_k, count, task_pt_regs(current)); in sys_perfmonctl()4926 if (call_made && PFM_CMD_RW_ARG(cmd) && copy_to_user(arg, args_k, base_sz*count)) ret = -EFAULT; in sys_perfmonctl()4932 kfree(args_k); in sys_perfmonctl()