Lines Matching refs:nargs
986 err_args.nargs = cpu_to_be32(2); in __fetch_rtas_last_error()
1026 va_rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, in va_rtas_call_unlocked() argument
1032 args->nargs = cpu_to_be32(nargs); in va_rtas_call_unlocked()
1034 args->rets = &(args->args[nargs]); in va_rtas_call_unlocked()
1036 for (i = 0; i < nargs; ++i) in va_rtas_call_unlocked()
1062 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, ...) in rtas_call_unlocked() argument
1067 va_rtas_call_unlocked(args, token, nargs, nret, list); in rtas_call_unlocked()
1135 int rtas_call(int token, int nargs, int nret, int *outputs, ...) in rtas_call() argument
1170 va_rtas_call_unlocked(args, token, nargs, nret, list); in rtas_call()
1736 static bool block_rtas_call(int token, int nargs, in block_rtas_call() argument
1811 token, nargs, current->comm); in block_rtas_call()
1822 int nargs, nret, token; in SYSCALL_DEFINE1() local
1833 nargs = be32_to_cpu(args.nargs); in SYSCALL_DEFINE1()
1837 if (nargs >= ARRAY_SIZE(args.args) in SYSCALL_DEFINE1()
1839 || nargs + nret > ARRAY_SIZE(args.args)) in SYSCALL_DEFINE1()
1844 nargs * sizeof(rtas_arg_t)) != 0) in SYSCALL_DEFINE1()
1850 args.rets = &args.args[nargs]; in SYSCALL_DEFINE1()
1853 if (block_rtas_call(token, nargs, &args)) in SYSCALL_DEFINE1()
1909 if (copy_to_user(uargs->args + nargs, in SYSCALL_DEFINE1()
1910 args.args + nargs, in SYSCALL_DEFINE1()