Searched refs:args_k (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/ia64/kernel/
H A Dperfmon.c4767 void *args_k = NULL; sys_perfmonctl() local
4822 if (likely(count && args_k == NULL)) { sys_perfmonctl()
4823 args_k = kmalloc(PFM_MAX_ARGSIZE, GFP_KERNEL); sys_perfmonctl()
4824 if (args_k == NULL) return -ENOMEM; sys_perfmonctl()
4834 if (sz && copy_from_user(args_k, arg, sz)) { sys_perfmonctl()
4846 ret = (*getsize)(args_k, &xtra_sz); sys_perfmonctl()
4887 ret = (*func)(ctx, args_k, count, task_pt_regs(current)); sys_perfmonctl()
4898 if (call_made && PFM_CMD_RW_ARG(cmd) && copy_to_user(arg, args_k, base_sz*count)) ret = -EFAULT; sys_perfmonctl()
4904 kfree(args_k); sys_perfmonctl()

Completed in 61 milliseconds