/linux-4.1.27/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.1.27/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.1.27/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); 285 if (tgfx_cfg[i].nargs == 0 || tgfx_cfg[i].args[0] < 0) in tgfx_init() 288 if (tgfx_cfg[i].nargs < 2) { in tgfx_init() 296 tgfx_cfg[i].nargs - 1); 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); 681 if (db9_cfg[i].nargs == 0 || db9_cfg[i].args[DB9_ARG_PARPORT] < 0) in db9_init() 684 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); 1015 if (gc_cfg[i].nargs == 0 || gc_cfg[i].args[0] < 0) in gc_init() 1018 if (gc_cfg[i].nargs < 2) { in gc_init() 1025 gc_cfg[i].args + 1, gc_cfg[i].nargs - 1); in gc_init()
|
/linux-4.1.27/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() 1039 int nargs, nret, token; in ppc_rtas() local 1050 nargs = be32_to_cpu(args.nargs); in ppc_rtas() 1054 if (nargs > ARRAY_SIZE(args.args) in ppc_rtas() 1056 || nargs + nret > ARRAY_SIZE(args.args)) in ppc_rtas() [all …]
|
D | prom_init.c | 111 __be32 nargs; member 218 static int __init call_prom(const char *service, int nargs, int nret, ...) in call_prom() argument 225 args.nargs = cpu_to_be32(nargs); in call_prom() 229 for (i = 0; i < nargs; i++) in call_prom() 234 args.args[nargs+i] = 0; in call_prom() 239 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in call_prom() 242 static int __init call_prom_ret(const char *service, int nargs, int nret, in call_prom_ret() argument 250 args.nargs = cpu_to_be32(nargs); in call_prom_ret() 254 for (i = 0; i < nargs; i++) in call_prom_ret() 259 args.args[nargs+i] = 0; in call_prom_ret() [all …]
|
/linux-4.1.27/drivers/acpi/ |
D | property.c | 315 args->nargs = 0; in acpi_dev_get_property_reference() 335 u32 nargs, i; in acpi_dev_get_property_reference() local 345 nargs = 0; in acpi_dev_get_property_reference() 352 nargs++; in acpi_dev_get_property_reference() 361 args->nargs = nargs; in acpi_dev_get_property_reference() 362 for (i = 0; i < nargs; i++) in acpi_dev_get_property_reference() 368 element += nargs; in acpi_dev_get_property_reference()
|
/linux-4.1.27/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.1.27/fs/xfs/libxfs/ |
D | xfs_attr_leaf.c | 740 xfs_da_args_t nargs; in xfs_attr_shortform_to_leaf() local 787 memset((char *)&nargs, 0, sizeof(nargs)); in xfs_attr_shortform_to_leaf() 788 nargs.dp = dp; in xfs_attr_shortform_to_leaf() 789 nargs.geo = args->geo; in xfs_attr_shortform_to_leaf() 790 nargs.firstblock = args->firstblock; in xfs_attr_shortform_to_leaf() 791 nargs.flist = args->flist; in xfs_attr_shortform_to_leaf() 792 nargs.total = args->total; in xfs_attr_shortform_to_leaf() 793 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf() 794 nargs.trans = args->trans; in xfs_attr_shortform_to_leaf() 795 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_shortform_to_leaf() [all …]
|
/linux-4.1.27/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.1.27/tools/perf/util/ |
D | probe-event.h | 39 int nargs; /* Number of args */ member 75 int nargs; /* Number of arguments */ member
|
D | probe-event.c | 1350 pev->nargs = argc - 1; in parse_perf_probe_command() 1351 pev->args = zalloc(sizeof(struct perf_probe_arg) * pev->nargs); in parse_perf_probe_command() 1356 for (i = 0; i < pev->nargs && ret >= 0; i++) { in parse_perf_probe_command() 1379 for (i = 0; i < pev->nargs; i++) in perf_probe_event_need_dwarf() 1459 tev->nargs = argc - 2; in parse_probe_trace_command() 1460 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in parse_probe_trace_command() 1465 for (i = 0; i < tev->nargs; i++) { in parse_probe_trace_command() 1590 for (i = 0; i < pev->nargs; i++) { 1719 for (i = 0; i < tev->nargs; i++) { in synthesize_probe_trace_command() 1824 pev->nargs = tev->nargs; in convert_to_perf_probe_event() [all …]
|
D | probe-finder.c | 1093 int nargs; member 1110 vf->args[vf->nargs].var = (char *)dwarf_diename(die_mem); in copy_variables_cb() 1111 if (vf->args[vf->nargs].var == NULL) { in copy_variables_cb() 1115 pr_debug(" %s", vf->args[vf->nargs].var); in copy_variables_cb() 1116 vf->nargs++; in copy_variables_cb() 1135 for (i = 0; i < pf->pev->nargs; i++) { in expand_probe_args() 1139 vf.nargs = n; in expand_probe_args() 1143 pr_debug(" (%d)\n", vf.nargs - n); in expand_probe_args() 1146 n = vf.nargs; in expand_probe_args() 1191 tev->nargs = ret; in add_probe_trace_event() [all …]
|
/linux-4.1.27/include/linux/ |
D | audit.h | 241 extern int __audit_socketcall(int nargs, unsigned long *args); 274 static inline int audit_socketcall(int nargs, unsigned long *args) in audit_socketcall() argument 277 return __audit_socketcall(nargs, args); in audit_socketcall() 402 static inline int audit_socketcall(int nargs, unsigned long *args) in audit_socketcall() argument
|
D | acpi.h | 740 size_t nargs; member
|
/linux-4.1.27/arch/xtensa/kernel/ |
D | syscall.c | 35 #define __SYSCALL(nr,symbol,nargs) [ nr ] = (syscall_t)symbol, argument
|
/linux-4.1.27/drivers/gpio/ |
D | gpiolib-acpi.c | 378 args->nargs = 3; in acpi_get_driver_gpio_data() 482 if (args.nargs >= 2) { in acpi_get_gpiod_by_index() 489 if (args.nargs >= 3) in acpi_get_gpiod_by_index() 494 dev_name(&adev->dev), args.nargs, in acpi_get_gpiod_by_index()
|
/linux-4.1.27/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 | 156 int nargs; member
|
/linux-4.1.27/tools/perf/ |
D | builtin-probe.c | 91 pr_debug("%d arguments\n", pev->nargs); in parse_probe_event() 251 if (!ret && pev->nargs != 0) { in opt_show_vars()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | rtas.h | 52 __be32 nargs; member
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | hotplug-cpu.c | 92 .nargs = 0, in rtas_stop_self()
|
/linux-4.1.27/security/selinux/ |
D | selinuxfs.c | 766 int nargs; in sel_write_create() local 788 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf); in sel_write_create() 789 if (nargs < 3 || nargs > 4) in sel_write_create() 791 if (nargs == 4) { in sel_write_create()
|
/linux-4.1.27/Documentation/target/ |
D | tcm_mod_builder.py | 953 action='store', nargs=1, type='string') 955 action='store', nargs=1, type='string')
|
/linux-4.1.27/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 | 280 int nargs, bool is_return) in alloc_trace_kprobe() argument 285 tk = kzalloc(SIZEOF_TRACE_KPROBE(nargs), GFP_KERNEL); in alloc_trace_kprobe()
|
/linux-4.1.27/arch/xtensa/include/uapi/asm/ |
D | unistd.h | 5 # define __SYSCALL(nr,func,nargs) argument
|
/linux-4.1.27/net/ |
D | socket.c | 2305 static const unsigned char nargs[21] = { variable 2332 len = nargs[call]; in SYSCALL_DEFINE2() 2340 err = audit_socketcall(nargs[call] / sizeof(unsigned long), a); in SYSCALL_DEFINE2()
|
/linux-4.1.27/arch/powerpc/xmon/ |
D | xmon.c | 334 args.nargs = cpu_to_be32(3); in disable_surveillance()
|