Home
last modified time | relevance | path

Searched refs:nargs (Results 1 – 25 of 26) sorted by relevance

12

/linux-2.4.37.9/arch/ppc64/kernel/
Drtas.c69 phys_call_rtas(int token, int nargs, int nret, ...) in phys_call_rtas() argument
77 rtas->nargs = nargs; in phys_call_rtas()
79 rtas->rets = (rtas_arg_t *)PTRRELOC(&(rtas->args[nargs])); in phys_call_rtas()
82 for (i = 0; i < nargs; i++) in phys_call_rtas()
96 rtas->nargs = 1; in phys_call_rtas_display_status()
110 rtas->nargs = 1; in call_rtas_display_status()
133 rtas_call(int token, int nargs, int nret, in rtas_call() argument
143 PPCDBG(PPCDBG_RTAS, "\tnargs = %d\n", nargs); in rtas_call()
150 rtas_args->nargs = nargs; in rtas_call()
152 rtas_args->rets = (rtas_arg_t *)&(rtas_args->args[nargs]); in rtas_call()
[all …]
Dprom.c186 static unsigned long call_prom(const char *service, int nargs, int nret, ...);
238 call_prom(const char *service, int nargs, int nret, ...) in call_prom() argument
246 _prom->args.nargs = nargs; in call_prom()
248 _prom->args.rets = (prom_arg_t *)&(_prom->args.args[nargs]); in call_prom()
251 for (i=0; i < nargs ;i++) in call_prom()
/linux-2.4.37.9/arch/ppc/kernel/
Dprom_init.c50 int nargs; member
88 static void *call_prom(const char *service, int nargs, int nret, ...);
89 static void *call_prom_ret(const char *service, int nargs, int nret,
135 args.nargs = 0; in prom_exit()
143 call_prom(const char *service, int nargs, int nret, ...) in call_prom() argument
150 prom_args.nargs = nargs; in call_prom()
153 for (i = 0; i < nargs; ++i) in call_prom()
157 prom_args.args[i + nargs] = 0; in call_prom()
159 return prom_args.args[nargs]; in call_prom()
163 call_prom_ret(const char *service, int nargs, int nret, void **rets, ...) in call_prom_ret() argument
[all …]
Dprom.c82 phys_call_rtas(int service, int nargs, int nret, ...) in phys_call_rtas() argument
93 u.words[1] = nargs; in phys_call_rtas()
96 for (i = 0; i < nargs; ++i) in phys_call_rtas()
1202 call_rtas(const char *service, int nargs, int nret, in call_rtas() argument
1224 u.words[1] = nargs; in call_rtas()
1227 for (i = 0; i < nargs; ++i) in call_rtas()
1243 outputs[i] = u.words[i+nargs+4]; in call_rtas()
1244 return u.words[nargs+3]; in call_rtas()
/linux-2.4.37.9/arch/sparc64/prom/
Dp1275.c260 int nargs, nrets, i; in p1275_cmd() local
277 p1275buf.prom_args[1] = nargs = (fmt & 0x0f); /* nargs */ in p1275_cmd()
281 for (i = 0; i < nargs; i++, attrs >>= 3) { in p1275_cmd()
333 for (i = 0; i < nargs; i++, attrs >>= 3) { in p1275_cmd()
362 x = p1275buf.prom_args [nargs + 3]; in p1275_cmd()
/linux-2.4.37.9/arch/ppc64/boot/
Dprom.c35 int nargs; in write() member
44 args.nargs = 3; in write()
59 int nargs; in read() member
68 args.nargs = 3; in read()
107 int nargs; in finddevice() member
114 args.nargs = 1; in finddevice()
127 int nargs; in claim() member
136 args.nargs = 3; in claim()
150 int nargs; in getprop() member
160 args.nargs = 4; in getprop()
/linux-2.4.37.9/arch/ppc/boot/of1275/
Dclose.c17 int nargs; in close() member
23 args.nargs = 1; in close()
Drelease.c18 int nargs; in release() member
25 args.nargs = 2; in release()
Dinstancetopackage.c17 int nargs; in instancetopackage() member
24 args.nargs = 1; in instancetopackage()
Dfinddevice.c18 int nargs; in finddevice() member
25 args.nargs = 1; in finddevice()
Dopen.c17 int nargs; in open() member
24 args.nargs = 1; in open()
Dclaim.c18 int nargs; in claim() member
27 args.nargs = 3; in claim()
Dread.c18 int nargs; in read() member
27 args.nargs = 3; in read()
Dwrite.c18 int nargs; in write() member
27 args.nargs = 3; in write()
Dgetprop.c18 int nargs; in getprop() member
28 args.nargs = 4; in getprop()
Dsetcolor.c19 int nargs; in setcolor() member
31 args.nargs = 6; in setcolor()
/linux-2.4.37.9/fs/xfs/
Dxfs_attr_leaf.c325 xfs_da_args_t nargs; in xfs_attr_shortform_to_leaf() local
368 memset((char *)&nargs, 0, sizeof(nargs)); in xfs_attr_shortform_to_leaf()
369 nargs.dp = dp; in xfs_attr_shortform_to_leaf()
370 nargs.firstblock = args->firstblock; in xfs_attr_shortform_to_leaf()
371 nargs.flist = args->flist; in xfs_attr_shortform_to_leaf()
372 nargs.total = args->total; in xfs_attr_shortform_to_leaf()
373 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf()
374 nargs.trans = args->trans; in xfs_attr_shortform_to_leaf()
375 nargs.oknoent = 1; in xfs_attr_shortform_to_leaf()
379 nargs.name = (char *)sfe->nameval; in xfs_attr_shortform_to_leaf()
[all …]
/linux-2.4.37.9/include/asm-ppc/
Dprom.h92 extern int call_rtas(const char *service, int nargs, int nret,
/linux-2.4.37.9/include/asm-ppc64/
Drtas.h46 u32 nargs; member
Dprom.h152 u32 nargs; member
/linux-2.4.37.9/arch/mips64/kernel/
Dscall_o32.S571 .macro sys function, nargs argument
579 .macro sys function, nargs argument
580 .byte \nargs
Dlinux32.c473 static int nargs(unsigned int arg, char **ap) in nargs() function
507 na = nargs(argv, NULL); in sys32_execve()
510 ne = nargs(envp, NULL); in sys32_execve()
535 r = nargs(argv, av); in sys32_execve()
538 r = nargs(envp, ae); in sys32_execve()
/linux-2.4.37.9/arch/x86_64/ia32/
Dsys_ia32.c2203 static int nargs(u32 src, char **dst, int max) in nargs() function
2235 na = nargs(argv, NULL, (MAX_ARG_PAGES * PAGE_SIZE)/sizeof(char*) - 1); in sys32_execve()
2240 ne = nargs(envp, NULL, (MAX_ARG_PAGES * PAGE_SIZE)/sizeof(char*) - 1); in sys32_execve()
2256 ret = nargs(argv, buf, na); in sys32_execve()
2262 ret = nargs(envp, buf + na, ne); in sys32_execve()
/linux-2.4.37.9/net/
Dsocket.c1528 static unsigned char nargs[18]={AL(0),AL(3),AL(3),AL(3),AL(2),AL(3), variable
1551 if (copy_from_user(a, args, nargs[call])) in sys_socketcall()
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c97 nargs (unsigned int arg, char **ap, int max) in nargs() function
134 na = nargs(argv, NULL, (MAX_ARG_PAGES*PAGE_SIZE) / sizeof(char *) - 1); in sys32_execve()
137 ne = nargs(envp, NULL, (MAX_ARG_PAGES*PAGE_SIZE) / sizeof(char *) - 1 ); in sys32_execve()
149 r = nargs(argv, av, na); in sys32_execve()
152 r = nargs(envp, ae, ne); in sys32_execve()

12