/Linux-v4.19/arch/powerpc/boot/ |
D | oflib.c | 25 __be32 nargs; /* Number of input arguments. */ member 45 int of_call_prom(const char *service, int nargs, int nret, ...) in of_call_prom() argument 52 args.nargs = cpu_to_be32(nargs); in of_call_prom() 56 for (i = 0; i < nargs; i++) in of_call_prom() 61 args.args[nargs+i] = 0; in of_call_prom() 66 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in of_call_prom() 69 static int of_call_prom_ret(const char *service, int nargs, int nret, in of_call_prom_ret() argument 77 args.nargs = cpu_to_be32(nargs); in of_call_prom_ret() 81 for (i = 0; i < nargs; i++) in of_call_prom_ret() 86 args.args[nargs+i] = 0; in of_call_prom_ret() [all …]
|
D | of.h | 11 int of_call_prom(const char *service, int nargs, int nret, ...);
|
/Linux-v4.19/tools/perf/util/ |
D | bpf-prologue.c | 183 struct probe_trace_arg *args, int nargs) in gen_prologue_fastpath() argument 187 for (i = 0; i < nargs; i++) { in gen_prologue_fastpath() 242 struct probe_trace_arg *args, int nargs) in gen_prologue_slowpath() argument 246 for (i = 0; i < nargs; i++) { in gen_prologue_slowpath() 302 for (i = 0; i < nargs; i++) { in gen_prologue_slowpath() 358 int bpf__gen_prologue(struct probe_trace_arg *args, int nargs, in bpf__gen_prologue() argument 379 if (!nargs) { in bpf__gen_prologue() 390 if (nargs > BPF_PROLOGUE_MAX_ARGS) { in bpf__gen_prologue() 392 nargs - BPF_PROLOGUE_MAX_ARGS); in bpf__gen_prologue() 393 nargs = BPF_PROLOGUE_MAX_ARGS; in bpf__gen_prologue() [all …]
|
D | bpf-prologue.h | 18 int bpf__gen_prologue(struct probe_trace_arg *args, int nargs, 26 int nargs __maybe_unused, in bpf__gen_prologue()
|
D | probe-event.c | 1677 pev->nargs = argc - 1; in parse_perf_probe_command() 1678 pev->args = zalloc(sizeof(struct perf_probe_arg) * pev->nargs); in parse_perf_probe_command() 1683 for (i = 0; i < pev->nargs && ret >= 0; i++) { in parse_perf_probe_command() 1703 for (i = 0; i < pev->nargs; i++) in perf_probe_with_var() 1822 tev->nargs = argc - 2; in parse_probe_trace_command() 1823 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in parse_probe_trace_command() 1828 for (i = 0; i < tev->nargs; i++) { in parse_probe_trace_command() 1946 for (i = 0; i < pev->nargs; i++) { in synthesize_perf_probe_command() 2056 for (i = 0; i < tev->nargs; i++) in synthesize_probe_trace_command() 2160 pev->nargs = tev->nargs; in convert_to_perf_probe_event() [all …]
|
D | probe-event.h | 53 int nargs; /* Number of args */ member 90 int nargs; /* Number of arguments */ member
|
D | probe-finder.c | 1191 int nargs; member 1208 vf->args[vf->nargs].var = (char *)dwarf_diename(die_mem); in copy_variables_cb() 1209 if (vf->args[vf->nargs].var == NULL) { in copy_variables_cb() 1213 pr_debug(" %s", vf->args[vf->nargs].var); in copy_variables_cb() 1214 vf->nargs++; in copy_variables_cb() 1233 for (i = 0; i < pf->pev->nargs; i++) { in expand_probe_args() 1244 vf.nargs = n; in expand_probe_args() 1248 pr_debug(" (%d)\n", vf.nargs - n); in expand_probe_args() 1251 n = vf.nargs; in expand_probe_args() 1300 tev->nargs = ret; in add_probe_trace_event() [all …]
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | rtas.c | 380 err_args.nargs = cpu_to_be32(2); in __fetch_rtas_last_error() 419 va_rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, in va_rtas_call_unlocked() argument 425 args->nargs = cpu_to_be32(nargs); in va_rtas_call_unlocked() 427 args->rets = &(args->args[nargs]); in va_rtas_call_unlocked() 429 for (i = 0; i < nargs; ++i) in va_rtas_call_unlocked() 438 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, ...) in rtas_call_unlocked() argument 443 va_rtas_call_unlocked(args, token, nargs, nret, list); in rtas_call_unlocked() 447 int rtas_call(int token, int nargs, int nret, int *outputs, ...) in rtas_call() argument 465 va_rtas_call_unlocked(rtas_args, token, nargs, nret, list); in rtas_call() 1059 int nargs, nret, token; in SYSCALL_DEFINE1() local [all …]
|
D | prom_init.c | 113 __be32 nargs; member 229 static int __init call_prom(const char *service, int nargs, int nret, ...) in call_prom() argument 236 args.nargs = cpu_to_be32(nargs); in call_prom() 240 for (i = 0; i < nargs; i++) in call_prom() 245 args.args[nargs+i] = 0; in call_prom() 250 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in call_prom() 253 static int __init call_prom_ret(const char *service, int nargs, int nret, in call_prom_ret() argument 261 args.nargs = cpu_to_be32(nargs); in call_prom_ret() 265 for (i = 0; i < nargs; i++) in call_prom_ret() 270 args.args[nargs+i] = 0; in call_prom_ret() [all …]
|
/Linux-v4.19/drivers/input/joystick/ |
D | turbografx.c | 45 unsigned int nargs; member 50 module_param_array_named(map, tgfx_cfg[0].args, int, &tgfx_cfg[0].nargs, 0); 52 module_param_array_named(map2, tgfx_cfg[1].args, int, &tgfx_cfg[1].nargs, 0); 54 module_param_array_named(map3, tgfx_cfg[2].args, int, &tgfx_cfg[2].nargs, 0); 166 if (tgfx_cfg[port_idx].nargs == 0 || in tgfx_attach() 178 n_devs = tgfx_cfg[port_idx].nargs - 1; in tgfx_attach() 301 if (tgfx_cfg[i].nargs == 0 || tgfx_cfg[i].args[0] < 0) in tgfx_init() 304 if (tgfx_cfg[i].nargs < 2) { in tgfx_init()
|
D | db9.c | 43 unsigned int nargs; member 49 module_param_array_named(dev, db9_cfg[0].args, int, &db9_cfg[0].nargs, 0); 51 module_param_array_named(dev2, db9_cfg[1].args, int, &db9_cfg[1].nargs, 0); 53 module_param_array_named(dev3, db9_cfg[2].args, int, &db9_cfg[2].nargs, 0); 569 if (db9_cfg[port_idx].nargs == 0 || in db9_attach() 700 if (db9_cfg[i].nargs == 0 || db9_cfg[i].args[DB9_ARG_PARPORT] < 0) in db9_init() 703 if (db9_cfg[i].nargs < 2) { in db9_init()
|
D | gamecon.c | 49 unsigned int nargs; member 54 module_param_array_named(map, gc_cfg[0].args, int, &gc_cfg[0].nargs, 0); 56 module_param_array_named(map2, gc_cfg[1].args, int, &gc_cfg[1].nargs, 0); 58 module_param_array_named(map3, gc_cfg[2].args, int, &gc_cfg[2].nargs, 0); 943 if (gc_cfg[port_idx].nargs == 0 || gc_cfg[port_idx].args[0] < 0) in gc_attach() 955 n_pads = gc_cfg[port_idx].nargs - 1; in gc_attach() 1042 if (gc_cfg[i].nargs == 0 || gc_cfg[i].args[0] < 0) in gc_init() 1045 if (gc_cfg[i].nargs < 2) { in gc_init()
|
/Linux-v4.19/arch/arm/mach-omap2/ |
D | omap-secure.c | 37 u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs, u32 arg1, u32 arg2, in omap_secure_dispatcher() argument 43 param[0] = nargs; in omap_secure_dispatcher() 110 u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs, in rx51_secure_dispatcher() argument 116 param[0] = nargs+1; /* RX-51 needs number of arguments + 1 */ in rx51_secure_dispatcher()
|
D | omap-secure.h | 64 extern u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs, 73 extern u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs,
|
/Linux-v4.19/arch/powerpc/kvm/ |
D | book3s_rtas.c | 27 if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_set_xive() 51 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { in kvm_rtas_get_xive() 79 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_off() 101 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_on() 246 args.rets = &args.args[be32_to_cpu(args.nargs)]; in kvmppc_rtas_hcall()
|
/Linux-v4.19/include/linux/ |
D | audit.h | 345 extern int __audit_socketcall(int nargs, unsigned long *args); 380 static inline int audit_socketcall(int nargs, unsigned long *args) in audit_socketcall() argument 383 return __audit_socketcall(nargs, args); in audit_socketcall() 387 static inline int audit_socketcall_compat(int nargs, u32 *args) in audit_socketcall_compat() argument 395 for (i = 0; i < nargs; i++) in audit_socketcall_compat() 397 return __audit_socketcall(nargs, a); in audit_socketcall_compat() 541 static inline int audit_socketcall(int nargs, unsigned long *args) in audit_socketcall() argument 546 static inline int audit_socketcall_compat(int nargs, u32 *args) in audit_socketcall_compat() argument
|
D | fwnode.h | 47 unsigned int nargs; member 97 unsigned int nargs, unsigned int index,
|
/Linux-v4.19/include/trace/events/ |
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-v4.19/fs/xfs/libxfs/ |
D | xfs_attr_leaf.c | 777 struct xfs_da_args nargs; in xfs_attr_shortform_to_leaf() local 823 memset((char *)&nargs, 0, sizeof(nargs)); in xfs_attr_shortform_to_leaf() 824 nargs.dp = dp; in xfs_attr_shortform_to_leaf() 825 nargs.geo = args->geo; in xfs_attr_shortform_to_leaf() 826 nargs.total = args->total; in xfs_attr_shortform_to_leaf() 827 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf() 828 nargs.trans = args->trans; in xfs_attr_shortform_to_leaf() 829 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_shortform_to_leaf() 833 nargs.name = sfe->nameval; in xfs_attr_shortform_to_leaf() 834 nargs.namelen = sfe->namelen; in xfs_attr_shortform_to_leaf() [all …]
|
/Linux-v4.19/drivers/acpi/ |
D | property.c | 628 args->nargs = 0; in __acpi_node_get_property_reference() 650 u32 nargs, i; in __acpi_node_get_property_reference() local 660 nargs = 0; in __acpi_node_get_property_reference() 681 nargs++; in __acpi_node_get_property_reference() 688 if (nargs > NR_FWNODE_REFERENCE_ARGS) in __acpi_node_get_property_reference() 693 args->nargs = nargs; in __acpi_node_get_property_reference() 694 for (i = 0; i < nargs; i++) in __acpi_node_get_property_reference() 700 element += nargs; in __acpi_node_get_property_reference() 1159 return args.nargs ? NULL : args.fwnode; in acpi_graph_get_remote_endpoint() 1165 if (args.nargs != 2) in acpi_graph_get_remote_endpoint()
|
/Linux-v4.19/tools/testing/selftests/tc-testing/ |
D | tdc.py | 385 '-D', '--directory', nargs='+', metavar='DIR', 389 '-f', '--file', nargs='+', metavar='FILE', 392 '-c', '--category', nargs='*', metavar='CATG', default=['+c'], 396 '-e', '--execute', nargs='+', metavar='ID',
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | rtas.h | 52 __be32 nargs; member 343 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs,
|
/Linux-v4.19/arch/xtensa/kernel/ |
D | syscall.c | 36 #define __SYSCALL(nr,symbol,nargs) [ nr ] = (syscall_t)symbol, argument
|
/Linux-v4.19/kernel/ |
D | auditsc.c | 1194 int nargs = context->socketcall.nargs; in show_special() local 1195 audit_log_format(ab, "nargs=%d", nargs); in show_special() 1196 for (i = 0; i < nargs; i++) in show_special() 2218 int __audit_socketcall(int nargs, unsigned long *args) in __audit_socketcall() argument 2222 if (nargs <= 0 || nargs > AUDITSC_ARGS || !args) in __audit_socketcall() 2225 context->socketcall.nargs = nargs; in __audit_socketcall() 2226 memcpy(context->socketcall.args, args, nargs * sizeof(unsigned long)); in __audit_socketcall()
|
/Linux-v4.19/drivers/of/ |
D | property.c | 905 unsigned int nargs, unsigned int index, in of_fwnode_get_reference_args() argument 917 nargs, index, &of_args); in of_fwnode_get_reference_args() 923 args->nargs = of_args.args_count; in of_fwnode_get_reference_args()
|