/linux-4.4.14/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 | 10 int of_call_prom(const char *service, int nargs, int nret, ...);
|
/linux-4.4.14/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() 89 u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs, in rx51_secure_dispatcher() argument 95 param[0] = nargs+1; /* RX-51 needs number of arguments + 1 */ in rx51_secure_dispatcher()
|
D | omap-secure.h | 61 extern u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs, 68 extern u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs,
|
/linux-4.4.14/drivers/input/joystick/ |
D | turbografx.c | 49 unsigned int nargs; member 54 module_param_array_named(map, tgfx_cfg[0].args, int, &tgfx_cfg[0].nargs, 0); 56 module_param_array_named(map2, tgfx_cfg[1].args, int, &tgfx_cfg[1].nargs, 0); 58 module_param_array_named(map3, tgfx_cfg[2].args, int, &tgfx_cfg[2].nargs, 0); 170 if (tgfx_cfg[port_idx].nargs == 0 || in tgfx_attach() 182 n_devs = tgfx_cfg[port_idx].nargs - 1; in tgfx_attach() 307 if (tgfx_cfg[i].nargs == 0 || tgfx_cfg[i].args[0] < 0) in tgfx_init() 310 if (tgfx_cfg[i].nargs < 2) { in tgfx_init()
|
D | db9.c | 47 unsigned int nargs; member 53 module_param_array_named(dev, db9_cfg[0].args, int, &db9_cfg[0].nargs, 0); 55 module_param_array_named(dev2, db9_cfg[1].args, int, &db9_cfg[1].nargs, 0); 57 module_param_array_named(dev3, db9_cfg[2].args, int, &db9_cfg[2].nargs, 0); 568 if (db9_cfg[port_idx].nargs == 0 || in db9_attach() 701 if (db9_cfg[i].nargs == 0 || db9_cfg[i].args[DB9_ARG_PARPORT] < 0) in db9_init() 704 if (db9_cfg[i].nargs < 2) { in db9_init()
|
D | gamecon.c | 53 unsigned int nargs; member 58 module_param_array_named(map, gc_cfg[0].args, int, &gc_cfg[0].nargs, 0); 60 module_param_array_named(map2, gc_cfg[1].args, int, &gc_cfg[1].nargs, 0); 62 module_param_array_named(map3, gc_cfg[2].args, int, &gc_cfg[2].nargs, 0); 940 if (gc_cfg[port_idx].nargs == 0 || gc_cfg[port_idx].args[0] < 0) in gc_attach() 952 n_pads = gc_cfg[port_idx].nargs - 1; in gc_attach() 1039 if (gc_cfg[i].nargs == 0 || gc_cfg[i].args[0] < 0) in gc_init() 1042 if (gc_cfg[i].nargs < 2) { in gc_init()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | rtas.c | 104 args->nargs = cpu_to_be32(1); in call_rtas_display_status() 384 err_args.nargs = cpu_to_be32(2); in __fetch_rtas_last_error() 421 int rtas_call(int token, int nargs, int nret, int *outputs, ...) in rtas_call() argument 437 rtas_args->nargs = cpu_to_be32(nargs); in rtas_call() 439 rtas_args->rets = &(rtas_args->args[nargs]); in rtas_call() 441 for (i = 0; i < nargs; ++i) in rtas_call() 1041 int nargs, nret, token; in ppc_rtas() local 1052 nargs = be32_to_cpu(args.nargs); in ppc_rtas() 1056 if (nargs > ARRAY_SIZE(args.args) in ppc_rtas() 1058 || nargs + nret > ARRAY_SIZE(args.args)) in ppc_rtas() [all …]
|
D | prom_init.c | 110 __be32 nargs; member 217 static int __init call_prom(const char *service, int nargs, int nret, ...) in call_prom() argument 224 args.nargs = cpu_to_be32(nargs); in call_prom() 228 for (i = 0; i < nargs; i++) in call_prom() 233 args.args[nargs+i] = 0; in call_prom() 238 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in call_prom() 241 static int __init call_prom_ret(const char *service, int nargs, int nret, in call_prom_ret() argument 249 args.nargs = cpu_to_be32(nargs); in call_prom_ret() 253 for (i = 0; i < nargs; i++) in call_prom_ret() 258 args.args[nargs+i] = 0; in call_prom_ret() [all …]
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_rtas.c | 26 if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_set_xive() 47 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { in kvm_rtas_get_xive() 72 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_off() 91 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_on() 233 args.rets = &args.args[be32_to_cpu(args.nargs)]; in kvmppc_rtas_hcall()
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_attr_leaf.c | 744 xfs_da_args_t nargs; in xfs_attr_shortform_to_leaf() local 791 memset((char *)&nargs, 0, sizeof(nargs)); in xfs_attr_shortform_to_leaf() 792 nargs.dp = dp; in xfs_attr_shortform_to_leaf() 793 nargs.geo = args->geo; in xfs_attr_shortform_to_leaf() 794 nargs.firstblock = args->firstblock; in xfs_attr_shortform_to_leaf() 795 nargs.flist = args->flist; in xfs_attr_shortform_to_leaf() 796 nargs.total = args->total; in xfs_attr_shortform_to_leaf() 797 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf() 798 nargs.trans = args->trans; in xfs_attr_shortform_to_leaf() 799 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_shortform_to_leaf() [all …]
|
/linux-4.4.14/tools/perf/util/ |
D | probe-event.c | 1463 pev->nargs = argc - 1; in parse_perf_probe_command() 1464 pev->args = zalloc(sizeof(struct perf_probe_arg) * pev->nargs); in parse_perf_probe_command() 1469 for (i = 0; i < pev->nargs && ret >= 0; i++) { in parse_perf_probe_command() 1492 for (i = 0; i < pev->nargs; i++) in perf_probe_event_need_dwarf() 1593 tev->nargs = argc - 2; in parse_probe_trace_command() 1594 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in parse_probe_trace_command() 1599 for (i = 0; i < tev->nargs; i++) { in parse_probe_trace_command() 1724 for (i = 0; i < pev->nargs; i++) { 1868 for (i = 0; i < tev->nargs; i++) { in synthesize_probe_trace_command() 1976 pev->nargs = tev->nargs; in convert_to_perf_probe_event() [all …]
|
D | probe-event.h | 49 int nargs; /* Number of args */ member 86 int nargs; /* Number of arguments */ member
|
D | probe-finder.c | 1114 int nargs; member 1131 vf->args[vf->nargs].var = (char *)dwarf_diename(die_mem); in copy_variables_cb() 1132 if (vf->args[vf->nargs].var == NULL) { in copy_variables_cb() 1136 pr_debug(" %s", vf->args[vf->nargs].var); in copy_variables_cb() 1137 vf->nargs++; in copy_variables_cb() 1156 for (i = 0; i < pf->pev->nargs; i++) { in expand_probe_args() 1167 vf.nargs = n; in expand_probe_args() 1171 pr_debug(" (%d)\n", vf.nargs - n); in expand_probe_args() 1174 n = vf.nargs; in expand_probe_args() 1223 tev->nargs = ret; in add_probe_trace_event() [all …]
|
/linux-4.4.14/include/trace/events/ |
D | xen.h | 34 TP_PROTO(struct multicall_entry *mc, unsigned nargs), 35 TP_ARGS(mc, nargs), 38 __field(unsigned int, nargs) 42 __entry->nargs = nargs; 43 memcpy(__entry->args, mc->args, sizeof(unsigned long) * nargs); 44 memset(__entry->args + nargs, 0, sizeof(unsigned long) * (6 - nargs));
|
/linux-4.4.14/drivers/acpi/ |
D | property.c | 513 args->nargs = 0; in acpi_data_get_property_reference() 533 u32 nargs, i; in acpi_data_get_property_reference() local 543 nargs = 0; in acpi_data_get_property_reference() 550 nargs++; in acpi_data_get_property_reference() 559 args->nargs = nargs; in acpi_data_get_property_reference() 560 for (i = 0; i < nargs; i++) in acpi_data_get_property_reference() 566 element += nargs; in acpi_data_get_property_reference()
|
/linux-4.4.14/include/linux/ |
D | audit.h | 245 extern int __audit_socketcall(int nargs, unsigned long *args); 278 static inline int audit_socketcall(int nargs, unsigned long *args) in audit_socketcall() argument 281 return __audit_socketcall(nargs, args); in audit_socketcall() 406 static inline int audit_socketcall(int nargs, unsigned long *args) in audit_socketcall() argument
|
D | acpi.h | 787 size_t nargs; member
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | syscall.c | 35 #define __SYSCALL(nr,symbol,nargs) [ nr ] = (syscall_t)symbol, argument
|
/linux-4.4.14/kernel/ |
D | auditsc.c | 1182 int nargs = context->socketcall.nargs; in show_special() local 1183 audit_log_format(ab, "nargs=%d", nargs); in show_special() 1184 for (i = 0; i < nargs; i++) in show_special() 2167 int __audit_socketcall(int nargs, unsigned long *args) in __audit_socketcall() argument 2171 if (nargs <= 0 || nargs > AUDITSC_ARGS || !args) in __audit_socketcall() 2174 context->socketcall.nargs = nargs; in __audit_socketcall() 2175 memcpy(context->socketcall.args, args, nargs * sizeof(unsigned long)); in __audit_socketcall()
|
D | audit.h | 157 int nargs; member
|
/linux-4.4.14/drivers/gpio/ |
D | gpiolib-acpi.c | 380 args->nargs = 3; in acpi_get_driver_gpio_data() 478 if (args.nargs >= 2) { in acpi_gpio_property_lookup() 482 if (args.nargs >= 3) in acpi_gpio_property_lookup()
|
/linux-4.4.14/tools/perf/ |
D | builtin-probe.c | 85 pr_debug("%d arguments\n", pev->nargs); in parse_probe_event() 244 if (!ret && pev->nargs != 0) { in opt_show_vars()
|
/linux-4.4.14/Documentation/target/ |
D | tcm_mod_builder.py | 665 action='store', nargs=1, type='string') 667 action='store', nargs=1, type='string')
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | rtas.h | 52 __be32 nargs; member
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | hotplug-cpu.c | 92 .nargs = 0, in rtas_stop_self()
|
/linux-4.4.14/security/selinux/ |
D | selinuxfs.c | 764 int nargs; in sel_write_create() local 786 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); in sel_write_create() 787 if (nargs < 3 || nargs > 4) in sel_write_create() 789 if (nargs == 4) { in sel_write_create()
|
/linux-4.4.14/kernel/trace/ |
D | trace_uprobe.c | 239 alloc_trace_uprobe(const char *group, const char *event, int nargs, bool is_ret) in alloc_trace_uprobe() argument 249 tu = kzalloc(SIZEOF_TRACE_UPROBE(nargs), GFP_KERNEL); in alloc_trace_uprobe()
|
D | trace_kprobe.c | 268 int nargs, bool is_return) in alloc_trace_kprobe() argument 273 tk = kzalloc(SIZEOF_TRACE_KPROBE(nargs), GFP_KERNEL); in alloc_trace_kprobe()
|
/linux-4.4.14/arch/xtensa/include/uapi/asm/ |
D | unistd.h | 5 # define __SYSCALL(nr,func,nargs) argument
|
/linux-4.4.14/net/ |
D | socket.c | 2296 static const unsigned char nargs[21] = { variable 2323 len = nargs[call]; in SYSCALL_DEFINE2() 2331 err = audit_socketcall(nargs[call] / sizeof(unsigned long), a); in SYSCALL_DEFINE2()
|
/linux-4.4.14/arch/powerpc/xmon/ |
D | xmon.c | 335 args.nargs = cpu_to_be32(3); in disable_surveillance()
|