Searched refs:args_k (Results 1 – 1 of 1) sorted by relevance
4806 void *args_k = NULL; in sys_perfmonctl() local4861 if (likely(count && args_k == NULL)) { in sys_perfmonctl()4862 args_k = kmalloc(PFM_MAX_ARGSIZE, GFP_KERNEL); in sys_perfmonctl()4863 if (args_k == NULL) return -ENOMEM; in sys_perfmonctl()4873 if (sz && copy_from_user(args_k, arg, sz)) { in sys_perfmonctl()4885 ret = (*getsize)(args_k, &xtra_sz); in sys_perfmonctl()4926 ret = (*func)(ctx, args_k, count, task_pt_regs(current)); in sys_perfmonctl()4937 if (call_made && PFM_CMD_RW_ARG(cmd) && copy_to_user(arg, args_k, base_sz*count)) ret = -EFAULT; in sys_perfmonctl()4943 kfree(args_k); in sys_perfmonctl()