/linux-master/arch/powerpc/boot/ |
H A D | oflib.c | 21 __be32 nargs; /* Number of input arguments. */ member in struct:prom_args 41 int of_call_prom(const char *service, int nargs, int nret, ...) argument 48 args.nargs = cpu_to_be32(nargs); 52 for (i = 0; i < nargs; i++) 57 args.args[nargs+i] = 0; 62 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; 65 static int of_call_prom_ret(const char *service, int nargs, int nret, argument 73 args.nargs = cpu_to_be32(nargs); [all...] |
H A D | of.h | 11 int of_call_prom(const char *service, int nargs, int nret, ...);
|
/linux-master/tools/perf/util/ |
H A D | bpf-prologue.h | 17 int bpf__gen_prologue(struct probe_trace_arg *args, int nargs, 26 int nargs __maybe_unused,
|
H A D | probe-event.h | 60 int nargs; /* Number of args */ member in struct:probe_trace_event 98 int nargs; /* Number of arguments */ member in struct:perf_probe_event
|
H A D | probe-event.c | 1811 pev->nargs = argc - 1; 1812 pev->args = zalloc(sizeof(struct perf_probe_arg) * pev->nargs); 1817 for (i = 0; i < pev->nargs && ret >= 0; i++) { 1837 for (i = 0; i < pev->nargs; i++) 1961 tev->nargs = argc - 2; 1962 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); 1967 for (i = 0; i < tev->nargs; i++) { 2087 for (i = 0; i < pev->nargs; i++) { 2166 for (i = 0; i < tev->nargs && ret >= 0; i++) 2334 pev->nargs [all...] |
H A D | probe-finder.c | 1164 int nargs; member in struct:local_vars_finder 1181 vf->args[vf->nargs].var = (char *)dwarf_diename(die_mem); 1182 if (vf->args[vf->nargs].var == NULL) { 1186 pr_debug(" %s", vf->args[vf->nargs].var); 1187 vf->nargs++; 1206 for (i = 0; i < pf->pev->nargs; i++) { 1217 vf.nargs = n; 1221 pr_debug(" (%d)\n", vf.nargs - n); 1224 n = vf.nargs; 1292 tev->nargs [all...] |
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | ucall_common.c | 118 void ucall(uint64_t cmd, int nargs, ...) argument 128 nargs = min(nargs, UCALL_MAX_ARGS); 130 va_start(va, nargs); 131 for (i = 0; i < nargs; ++i)
|
/linux-master/arch/powerpc/include/asm/ |
H A D | trace.h | 133 __field(__u32, nargs) 135 __dynamic_array(__u32, inputs, be32_to_cpu(rtas_args->nargs)) 139 __entry->nargs = be32_to_cpu(rtas_args->nargs); 141 be32_to_cpu_array(__get_dynamic_array(inputs), rtas_args->args, __entry->nargs); 145 __print_array(__get_dynamic_array(inputs), __entry->nargs, 4) 184 __field(u32, nargs) 191 __entry->nargs = be32_to_cpu(rtas_args->nargs); 196 TP_printk("token=%u nargs [all...] |
H A D | rtas-types.h | 11 __be32 nargs; member in struct:rtas_args
|
/linux-master/tools/testing/selftests/powerpc/syscalls/ |
H A D | rtas_filter.c | 42 __be32 nargs; member in struct:rtas_args 108 static int rtas_call(const char *name, int nargs, argument 127 args.nargs = cpu_to_be32(nargs); 130 for (i = 0; i < nargs; i++) 143 *(rets[0]) = be32_to_cpu(args.args[nargs]); 146 *(rets[i]) = args.args[nargs + i];
|
/linux-master/arch/arm/mach-omap2/ |
H A D | omap-secure.c | 54 * @nargs: Number of valid arguments out of four. 59 u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs, u32 arg1, u32 arg2, argument 70 param[0] = nargs; 147 * @nargs: Number of valid arguments out of four. 153 * it calling omap_smc3() instead omap_smc2() and param[0] is nargs+1 155 static u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs, argument 161 param[0] = nargs+1; /* RX-51 needs number of arguments + 1 */
|
H A D | omap-secure.h | 67 extern u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs,
|
/linux-master/drivers/input/joystick/ |
H A D | turbografx.c | 30 unsigned int nargs; member in struct:tgfx_config 35 module_param_array_named(map, tgfx_cfg[0].args, int, &tgfx_cfg[0].nargs, 0); 37 module_param_array_named(map2, tgfx_cfg[1].args, int, &tgfx_cfg[1].nargs, 0); 39 module_param_array_named(map3, tgfx_cfg[2].args, int, &tgfx_cfg[2].nargs, 0); 151 if (tgfx_cfg[port_idx].nargs == 0 || 163 n_devs = tgfx_cfg[port_idx].nargs - 1; 286 if (tgfx_cfg[i].nargs == 0 || tgfx_cfg[i].args[0] < 0) 289 if (tgfx_cfg[i].nargs < 2) {
|
H A D | gamecon.c | 34 unsigned int nargs; member in struct:gc_config 39 module_param_array_named(map, gc_cfg[0].args, int, &gc_cfg[0].nargs, 0); 41 module_param_array_named(map2, gc_cfg[1].args, int, &gc_cfg[1].nargs, 0); 43 module_param_array_named(map3, gc_cfg[2].args, int, &gc_cfg[2].nargs, 0); 929 if (gc_cfg[port_idx].nargs == 0 || gc_cfg[port_idx].args[0] < 0) 941 n_pads = gc_cfg[port_idx].nargs - 1; 1028 if (gc_cfg[i].nargs == 0 || gc_cfg[i].args[0] < 0) 1031 if (gc_cfg[i].nargs < 2) {
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_rtas.c | 24 if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { 48 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { 76 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { 98 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { 245 if (be32_to_cpu(args.nargs) >= ARRAY_SIZE(args.args)) { 250 * Each handler must then check for the correct nargs and nret 256 args.rets = &args.args[be32_to_cpu(args.nargs)]; 283 * args pointer or nargs/nret values that would overflow the
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_btf.h | 63 #define BTF_FUNC_PROTO_ENC(ret_type, nargs) \ 64 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_FUNC_PROTO, 0, nargs), ret_type)
|
/linux-master/arch/powerpc/kernel/ |
H A D | rtas.c | 1064 err_args.nargs = cpu_to_be32(2); 1104 va_rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, argument 1110 args->nargs = cpu_to_be32(nargs); 1112 args->rets = &(args->args[nargs]); 1114 for (i = 0; i < nargs; ++i) 1128 * @nargs: Number of input parameters. Does not include token. 1130 * @....: List of @nargs input parameters. 1140 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, ...) argument 1145 va_rtas_call_unlocked(args, token, nargs, nre 1213 rtas_call(int token, int nargs, int nret, int *outputs, ...) argument 1818 block_rtas_call(const struct rtas_function *func, int nargs, struct rtas_args *args) argument 1899 int nargs, nret, token; local [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_attr_leaf.c | 875 struct xfs_da_args nargs; local 900 memset((char *)&nargs, 0, sizeof(nargs)); 901 nargs.dp = dp; 902 nargs.geo = args->geo; 903 nargs.total = args->total; 904 nargs.whichfork = XFS_ATTR_FORK; 905 nargs.trans = args->trans; 906 nargs.op_flags = XFS_DA_OP_OKNOENT; 910 nargs 1054 struct xfs_da_args nargs; local [all...] |
/linux-master/include/trace/events/ |
H A D | xen.h | 37 TP_PROTO(struct multicall_entry *mc, unsigned nargs), 38 TP_ARGS(mc, nargs), 41 __field(unsigned int, nargs) 45 __entry->nargs = nargs; 46 memcpy(__entry->args, mc->args, sizeof(ulong) * nargs); 47 memset(__entry->args + nargs, 0, sizeof(ulong) * (6 - nargs));
|
/linux-master/include/linux/ |
H A D | audit.h | 407 extern int __audit_socketcall(int nargs, unsigned long *args); 447 static inline int audit_socketcall(int nargs, unsigned long *args) argument 450 return __audit_socketcall(nargs, args); 454 static inline int audit_socketcall_compat(int nargs, u32 *args) argument 462 for (i = 0; i < nargs; i++) 464 return __audit_socketcall(nargs, a); 638 static inline int audit_socketcall(int nargs, unsigned long *args) argument 643 static inline int audit_socketcall_compat(int nargs, u32 *args) argument
|
H A D | fwnode.h | 99 * @nargs: Number of elements in @args array 104 unsigned int nargs; member in struct:fwnode_reference_args 163 unsigned int nargs, unsigned int index,
|
/linux-master/tools/net/ynl/ |
H A D | cli.py | 42 action='store', nargs='?', type=int)
|
/linux-master/drivers/acpi/ |
H A D | property.c | 807 u32 nargs = 0, i; local 822 nargs++; 827 if (nargs > NR_FWNODE_REFERENCE_ARGS) 832 args->nargs = nargs; 833 for (i = 0; i < nargs; i++) 837 (*element) += nargs; 949 args->nargs = 0; 961 args->nargs = 0; 1469 return args.nargs [all...] |
/linux-master/scripts/dtc/ |
H A D | dt-extract-compatibles | 106 ap.add_argument("cfile", type=str, nargs='*', help="C source files or directories to parse")
|
/linux-master/drivers/base/test/ |
H A D | property-entry-test.c | 438 KUNIT_EXPECT_EQ(test, ref.nargs, 0U); 449 KUNIT_EXPECT_EQ(test, ref.nargs, 1U); 457 KUNIT_EXPECT_EQ(test, ref.nargs, 3U); 472 KUNIT_EXPECT_EQ(test, ref.nargs, 0U); 479 KUNIT_EXPECT_EQ(test, ref.nargs, 2U);
|