/linux-4.4.14/arch/ia64/kernel/ |
D | unwind_decoder.c | 85 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x1() argument 95 UNW_DEC_SPILL_SPREL(X1, t, abreg, off, arg); in unw_decode_x1() 97 UNW_DEC_SPILL_PSPREL(X1, t, abreg, off, arg); in unw_decode_x1() 102 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x2() argument 113 UNW_DEC_RESTORE(X2, t, abreg, arg); in unw_decode_x2() 115 UNW_DEC_SPILL_REG(X2, t, abreg, x, ytreg, arg); in unw_decode_x2() 120 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x3() argument 133 UNW_DEC_SPILL_SPREL_P(X3, qp, t, abreg, off, arg); in unw_decode_x3() 135 UNW_DEC_SPILL_PSPREL_P(X3, qp, t, abreg, off, arg); in unw_decode_x3() 140 unw_decode_x4 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x4() argument [all …]
|
D | perfmon_default_smpl.c | 43 pfm_default_smpl_arg_t *arg = (pfm_default_smpl_arg_t*)data; in default_validate() local 56 if (arg->buf_size < PFM_DEFAULT_SMPL_MIN_BUF_SIZE) return -EINVAL; in default_validate() 58 DPRINT(("buf_size=%lu\n", arg->buf_size)); in default_validate() 66 pfm_default_smpl_arg_t *arg = (pfm_default_smpl_arg_t *)data; in default_get_size() local 71 *size = arg->buf_size; in default_get_size() 80 pfm_default_smpl_arg_t *arg = (pfm_default_smpl_arg_t *)data; in default_init() local 85 hdr->hdr_buf_size = arg->buf_size; in default_init() 102 default_handler(struct task_struct *task, void *buf, pfm_ovfl_arg_t *arg, struct pt_regs *regs, uns… in default_handler() argument 112 if (unlikely(buf == NULL || arg == NULL|| regs == NULL || task == NULL)) { in default_handler() 113 DPRINT(("[%d] invalid arguments buf=%p arg=%p\n", task->pid, buf, arg)); in default_handler() [all …]
|
/linux-4.4.14/tools/lib/traceevent/ |
D | parse-filter.c | 197 static void free_arg(struct filter_arg *arg) in free_arg() argument 199 if (!arg) in free_arg() 202 switch (arg->type) { in free_arg() 208 free_arg(arg->num.left); in free_arg() 209 free_arg(arg->num.right); in free_arg() 213 free_arg(arg->exp.left); in free_arg() 214 free_arg(arg->exp.right); in free_arg() 218 free(arg->str.val); in free_arg() 219 regfree(&arg->str.reg); in free_arg() 220 free(arg->str.buffer); in free_arg() [all …]
|
D | event-parse.c | 108 struct event_format *event, struct print_arg *arg); 807 static void free_arg(struct print_arg *arg) in free_arg() argument 811 if (!arg) in free_arg() 814 switch (arg->type) { in free_arg() 816 free(arg->atom.atom); in free_arg() 819 free(arg->field.name); in free_arg() 822 free_arg(arg->flags.field); in free_arg() 823 free(arg->flags.delim); in free_arg() 824 free_flag_sym(arg->flags.flags); in free_arg() 827 free_arg(arg->symbol.field); in free_arg() [all …]
|
/linux-4.4.14/drivers/acpi/acpica/ |
D | dsfield.c | 69 union acpi_parse_object *arg); 152 union acpi_parse_object *arg; in acpi_ds_create_buffer_field() local 168 arg = acpi_ps_get_arg(op, 3); in acpi_ds_create_buffer_field() 172 arg = acpi_ps_get_arg(op, 2); in acpi_ds_create_buffer_field() 175 if (!arg) { in acpi_ds_create_buffer_field() 207 arg->common.value.string, ACPI_TYPE_ANY, in acpi_ds_create_buffer_field() 211 ACPI_ERROR_NAMESPACE(arg->common.value.string, status); in acpi_ds_create_buffer_field() 288 union acpi_parse_object *arg) in acpi_ds_get_field_names() argument 302 while (arg) { in acpi_ds_get_field_names() 310 switch (arg->common.aml_opcode) { in acpi_ds_get_field_names() [all …]
|
D | pstree.c | 72 union acpi_parse_object *arg = NULL; in acpi_ps_get_arg() local 104 arg = op->common.value.arg; in acpi_ps_get_arg() 105 while (arg && argn) { in acpi_ps_get_arg() 107 arg = arg->common.next; in acpi_ps_get_arg() 110 return (arg); in acpi_ps_get_arg() 127 acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg) in acpi_ps_append_arg() argument 161 if (op->common.value.arg) { in acpi_ps_append_arg() 165 prev_arg = op->common.value.arg; in acpi_ps_append_arg() 169 prev_arg->common.next = arg; in acpi_ps_append_arg() 173 op->common.value.arg = arg; in acpi_ps_append_arg() [all …]
|
D | psargs.c | 232 union acpi_parse_object *arg, u8 possible_method_call) in acpi_ps_get_next_namepath() argument 244 acpi_ps_init_op(arg, AML_INT_NAMEPATH_OP); in acpi_ps_get_next_namepath() 249 arg->common.value.name = path; in acpi_ps_get_next_namepath() 279 acpi_ps_init_op(arg, AML_INT_METHODCALL_OP); in acpi_ps_get_next_namepath() 297 acpi_ps_init_op(arg, AML_INT_METHODCALL_OP); in acpi_ps_get_next_namepath() 303 acpi_ps_append_arg(arg, name_op); in acpi_ps_get_next_namepath() 347 else if ((arg->common.parent) && in acpi_ps_get_next_namepath() 348 ((arg->common.parent->common.aml_opcode == in acpi_ps_get_next_namepath() 350 || (arg->common.parent->common.aml_opcode == in acpi_ps_get_next_namepath() 372 arg->common.value.name = path; in acpi_ps_get_next_namepath() [all …]
|
D | dsobject.c | 270 union acpi_parse_object *arg; in acpi_ds_build_internal_buffer_obj() local 299 arg = op->common.value.arg; /* skip first arg */ in acpi_ds_build_internal_buffer_obj() 301 byte_list = arg->named.next; in acpi_ds_build_internal_buffer_obj() 387 union acpi_parse_object *arg; in acpi_ds_build_internal_package_obj() local 442 arg = op->common.value.arg; in acpi_ds_build_internal_package_obj() 443 arg = arg->common.next; in acpi_ds_build_internal_package_obj() 444 for (i = 0; arg && (i < element_count); i++) { in acpi_ds_build_internal_package_obj() 445 if (arg->common.aml_opcode == AML_INT_RETURN_VALUE_OP) { in acpi_ds_build_internal_package_obj() 446 if (arg->common.node->type == ACPI_TYPE_METHOD) { in acpi_ds_build_internal_package_obj() 451 arg->common.aml_opcode = AML_INT_NAMEPATH_OP; in acpi_ds_build_internal_package_obj() [all …]
|
D | dsutils.c | 461 union acpi_parse_object *arg, u32 arg_index) in acpi_ds_create_operand() argument 472 ACPI_FUNCTION_TRACE_PTR(ds_create_operand, arg); in acpi_ds_create_operand() 476 if ((arg->common.aml_opcode == AML_INT_NAMEPATH_OP) && in acpi_ds_create_operand() 477 (arg->common.value.string) && in acpi_ds_create_operand() 478 !(arg->common.flags & ACPI_PARSEOP_IN_STACK)) { in acpi_ds_create_operand() 480 arg)); in acpi_ds_create_operand() 486 arg->common.value.buffer, in acpi_ds_create_operand() 521 parent_op = arg->common.parent; in acpi_ds_create_operand() 613 if ((arg->common.aml_opcode == AML_INT_NAMEPATH_OP) && in acpi_ds_create_operand() 614 !(arg->common.flags & ACPI_PARSEOP_IN_STACK)) { in acpi_ds_create_operand() [all …]
|
/linux-4.4.14/drivers/ide/ |
D | ide-devsets.c | 10 static int set_io_32bit(ide_drive_t *drive, int arg) in set_io_32bit() argument 15 if (arg < 0 || arg > 1 + (SUPPORT_VLB_SYNC << 1)) in set_io_32bit() 18 drive->io_32bit = arg; in set_io_32bit() 25 static int set_ksettings(ide_drive_t *drive, int arg) in set_ksettings() argument 27 if (arg < 0 || arg > 1) in set_ksettings() 30 if (arg) in set_ksettings() 40 static int set_using_dma(ide_drive_t *drive, int arg) in set_using_dma() argument 45 if (arg < 0 || arg > 1) in set_using_dma() 56 if (arg) { in set_using_dma() 65 if (arg < 0 || arg > 1) in set_using_dma() [all …]
|
D | ide-ioctls.c | 20 unsigned int cmd, unsigned long arg, in ide_setting_ioctl() argument 39 return err >= 0 ? put_user(err, (long __user *)arg) : err; in ide_setting_ioctl() 49 err = ide_devset_execute(drive, ds, arg); in ide_setting_ioctl() 58 unsigned long arg) in ide_get_identity_ioctl() argument 79 if (copy_to_user((void __user *)arg, id, size)) in ide_get_identity_ioctl() 87 static int ide_get_nice_ioctl(ide_drive_t *drive, unsigned long arg) in ide_get_nice_ioctl() argument 92 << IDE_NICE_1), (long __user *)arg); in ide_get_nice_ioctl() 95 static int ide_set_nice_ioctl(ide_drive_t *drive, unsigned long arg) in ide_set_nice_ioctl() argument 97 if (arg != (arg & ((1 << IDE_NICE_DSC_OVERLAP) | (1 << IDE_NICE_1)))) in ide_set_nice_ioctl() 100 if (((arg >> IDE_NICE_DSC_OVERLAP) & 1) && in ide_set_nice_ioctl() [all …]
|
D | ide-floppy_ioctl.c | 38 int __user *arg) in ide_floppy_get_format_capacities() argument 45 if (get_user(u_array_size, arg)) in ide_floppy_get_format_capacities() 62 argp = arg + 1; in ide_floppy_get_format_capacities() 91 if (put_user(u_index, arg)) in ide_floppy_get_format_capacities() 139 int __user *arg) in ide_floppy_format_unit() argument 168 if (get_user(blocks, arg) || in ide_floppy_format_unit() 169 get_user(length, arg+1) || in ide_floppy_format_unit() 170 get_user(flags, arg+2)) { in ide_floppy_format_unit() 199 int __user *arg) in ide_floppy_get_format_progress() argument 229 if (put_user(progress_indication, arg)) in ide_floppy_get_format_progress() [all …]
|
D | ide-disk.c | 469 static int set_multcount(ide_drive_t *drive, int arg) in set_multcount() argument 474 if (arg < 0 || arg > (drive->id[ATA_ID_MAX_MULTSECT] & 0xff)) in set_multcount() 483 drive->mult_req = arg; in set_multcount() 488 return (drive->mult_count == arg) ? 0 : -EIO; in set_multcount() 493 static int set_nowerr(ide_drive_t *drive, int arg) in set_nowerr() argument 495 if (arg < 0 || arg > 1) in set_nowerr() 498 if (arg) in set_nowerr() 503 drive->bad_wstat = arg ? BAD_R_STAT : BAD_W_STAT; in set_nowerr() 559 static int set_wcache(ide_drive_t *drive, int arg) in set_wcache() argument 563 if (arg < 0 || arg > 1) in set_wcache() [all …]
|
/linux-4.4.14/sound/drivers/opl3/ |
D | opl3_oss.c | 24 static int snd_opl3_open_seq_oss(struct snd_seq_oss_arg *arg, void *closure); 25 static int snd_opl3_close_seq_oss(struct snd_seq_oss_arg *arg); 26 static int snd_opl3_ioctl_seq_oss(struct snd_seq_oss_arg *arg, unsigned int cmd, unsigned long ioar… 27 static int snd_opl3_load_patch_seq_oss(struct snd_seq_oss_arg *arg, int format, const char __user *… 28 static int snd_opl3_reset_seq_oss(struct snd_seq_oss_arg *arg); 121 struct snd_seq_oss_reg *arg; in snd_opl3_init_seq_oss() local 130 arg = SNDRV_SEQ_DEVICE_ARGPTR(dev); in snd_opl3_init_seq_oss() 131 arg->type = SYNTH_TYPE_FM; in snd_opl3_init_seq_oss() 133 arg->subtype = FM_TYPE_ADLIB; in snd_opl3_init_seq_oss() 134 arg->nvoices = MAX_OPL2_VOICES; in snd_opl3_init_seq_oss() [all …]
|
/linux-4.4.14/block/ |
D | ioctl.c | 13 static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user *arg) in blkpg_ioctl() argument 26 if (copy_from_user(&a, arg, sizeof(struct blkpg_ioctl_arg))) in blkpg_ioctl() 198 unsigned long arg, unsigned long flags) in blk_ioctl_discard() argument 206 if (copy_from_user(range, (void __user *)arg, sizeof(range))) in blk_ioctl_discard() 225 unsigned long arg) in blk_ioctl_zeroout() argument 233 if (copy_from_user(range, (void __user *)arg, sizeof(range))) in blk_ioctl_zeroout() 252 static int put_ushort(unsigned long arg, unsigned short val) in put_ushort() argument 254 return put_user(val, (unsigned short __user *)arg); in put_ushort() 257 static int put_int(unsigned long arg, int val) in put_int() argument 259 return put_user(val, (int __user *)arg); in put_int() [all …]
|
D | compat_ioctl.c | 14 static int compat_put_ushort(unsigned long arg, unsigned short val) in compat_put_ushort() argument 16 return put_user(val, (unsigned short __user *)compat_ptr(arg)); in compat_put_ushort() 19 static int compat_put_int(unsigned long arg, int val) in compat_put_int() argument 21 return put_user(val, (compat_int_t __user *)compat_ptr(arg)); in compat_put_int() 24 static int compat_put_uint(unsigned long arg, unsigned int val) in compat_put_uint() argument 26 return put_user(val, (compat_uint_t __user *)compat_ptr(arg)); in compat_put_uint() 29 static int compat_put_long(unsigned long arg, long val) in compat_put_long() argument 31 return put_user(val, (compat_long_t __user *)compat_ptr(arg)); in compat_put_long() 34 static int compat_put_ulong(unsigned long arg, compat_ulong_t val) in compat_put_ulong() argument 36 return put_user(val, (compat_ulong_t __user *)compat_ptr(arg)); in compat_put_ulong() [all …]
|
/linux-4.4.14/include/media/ |
D | v4l2-common.h | 34 #define v4l_printk(level, name, adapter, addr, fmt, arg...) \ argument 35 printk(level "%s %d-%04x: " fmt, name, i2c_adapter_id(adapter), addr , ## arg) 37 #define v4l_client_printk(level, client, fmt, arg...) \ argument 39 (client)->addr, fmt , ## arg) 41 #define v4l_err(client, fmt, arg...) \ argument 42 v4l_client_printk(KERN_ERR, client, fmt , ## arg) 44 #define v4l_warn(client, fmt, arg...) \ argument 45 v4l_client_printk(KERN_WARNING, client, fmt , ## arg) 47 #define v4l_info(client, fmt, arg...) \ argument 48 v4l_client_printk(KERN_INFO, client, fmt , ## arg) [all …]
|
/linux-4.4.14/include/linux/ |
D | stop_machine.h | 19 typedef int (*cpu_stop_fn_t)(void *arg); 26 void *arg; member 30 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg); 31 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg); 32 void stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, 34 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg); 35 int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg); 46 void *arg; member 49 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument 54 ret = fn(arg); in stop_one_cpu() [all …]
|
D | moduleparam.h | 56 void (*free)(void *arg); 76 void *arg; member 166 #define module_param_cb(name, ops, arg, perm) \ argument 167 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0) 169 #define module_param_cb_unsafe(name, ops, arg, perm) \ argument 170 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, \ 182 #define __level_param_cb(name, ops, arg, perm, level) \ argument 183 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, level, 0) 185 #define core_param_cb(name, ops, arg, perm) \ argument 186 __level_param_cb(name, ops, arg, perm, 1) [all …]
|
D | device-mapper.h | 339 int dm_read_arg(struct dm_arg *arg, struct dm_arg_set *arg_set, 347 int dm_read_arg_group(struct dm_arg *arg, struct dm_arg_set *arg_set, 499 #define DMCRIT(f, arg...) \ argument 500 printk(KERN_CRIT DM_NAME ": " DM_MSG_PREFIX ": " f "\n", ## arg) 502 #define DMERR(f, arg...) \ argument 503 printk(KERN_ERR DM_NAME ": " DM_MSG_PREFIX ": " f "\n", ## arg) 504 #define DMERR_LIMIT(f, arg...) \ argument 508 f "\n", ## arg); \ 511 #define DMWARN(f, arg...) \ argument 512 printk(KERN_WARNING DM_NAME ": " DM_MSG_PREFIX ": " f "\n", ## arg) [all …]
|
D | vfio.h | 42 unsigned long arg); 62 void *(*open)(unsigned long arg); 69 unsigned long arg); 90 unsigned long arg); 98 unsigned long arg); 110 unsigned long arg) in vfio_spapr_iommu_eeh_ioctl() argument
|
/linux-4.4.14/drivers/net/wireless/cw1200/ |
D | wsm.c | 86 void *arg, u16 cmd, long tmo); 95 void *arg, in wsm_generic_confirm() argument 108 int wsm_configuration(struct cw1200_common *priv, struct wsm_configuration *arg) in wsm_configuration() argument 115 WSM_PUT32(buf, arg->dot11MaxTransmitMsduLifeTime); in wsm_configuration() 116 WSM_PUT32(buf, arg->dot11MaxReceiveLifeTime); in wsm_configuration() 117 WSM_PUT32(buf, arg->dot11RtsThreshold); in wsm_configuration() 120 WSM_PUT16(buf, arg->dpdData_size + 12); in wsm_configuration() 122 WSM_PUT(buf, arg->dot11StationId, ETH_ALEN); in wsm_configuration() 124 WSM_PUT(buf, arg->dpdData, arg->dpdData_size); in wsm_configuration() 126 ret = wsm_cmd_send(priv, buf, arg, in wsm_configuration() [all …]
|
D | wsm.h | 655 struct wsm_configuration *arg); 665 int wsm_reset(struct cw1200_common *priv, const struct wsm_reset *arg); 740 int wsm_scan(struct cw1200_common *priv, const struct wsm_scan *arg); 792 struct wsm_tx_confirm *arg); 868 typedef void (*wsm_rx_cb) (struct cw1200_common *priv, struct wsm_rx *arg, 892 struct wsm_event *arg); 955 int wsm_join(struct cw1200_common *priv, struct wsm_join *arg); 980 int wsm_set_pm(struct cw1200_common *priv, const struct wsm_set_pm *arg); 1007 const struct wsm_set_bss_params *arg); 1070 int wsm_add_key(struct cw1200_common *priv, const struct wsm_add_key *arg); [all …]
|
D | txrx.c | 359 struct wsm_set_tx_rate_retry_policy arg = { in tx_policy_upload() local 369 &arg.tbl[arg.num]; in tx_policy_upload() 379 ++arg.num; in tx_policy_upload() 384 pr_debug("[TX policy] Upload %d policies\n", arg.num); in tx_policy_upload() 385 return wsm_set_tx_rate_retry_policy(priv, &arg); in tx_policy_upload() 855 struct wsm_tx_confirm *arg) in cw1200_tx_confirm_cb() argument 857 u8 queue_id = cw1200_queue_get_queue_id(arg->packet_id); in cw1200_tx_confirm_cb() 863 arg->status, arg->ack_failures); in cw1200_tx_confirm_cb() 873 if (arg->status) in cw1200_tx_confirm_cb() 874 pr_debug("TX failed: %d.\n", arg->status); in cw1200_tx_confirm_cb() [all …]
|
/linux-4.4.14/drivers/media/firewire/ |
D | firedtv-ci.c | 48 static int fdtv_ca_get_caps(void *arg) in fdtv_ca_get_caps() argument 50 struct ca_caps *cap = arg; in fdtv_ca_get_caps() 59 static int fdtv_ca_get_slot_info(struct firedtv *fdtv, void *arg) in fdtv_ca_get_slot_info() argument 62 struct ca_slot_info *slot = arg; in fdtv_ca_get_slot_info() 77 static int fdtv_ca_app_info(struct firedtv *fdtv, void *arg) in fdtv_ca_app_info() argument 79 struct ca_msg *reply = arg; in fdtv_ca_app_info() 84 static int fdtv_ca_info(struct firedtv *fdtv, void *arg) in fdtv_ca_info() argument 86 struct ca_msg *reply = arg; in fdtv_ca_info() 91 static int fdtv_ca_get_mmi(struct firedtv *fdtv, void *arg) in fdtv_ca_get_mmi() argument 93 struct ca_msg *reply = arg; in fdtv_ca_get_mmi() [all …]
|
/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_cmd_v5.c | 35 mfc_write(dev, args->arg[0], S5P_FIMV_HOST2RISC_ARG1); in s5p_mfc_cmd_host2risc_v5() 36 mfc_write(dev, args->arg[1], S5P_FIMV_HOST2RISC_ARG2); in s5p_mfc_cmd_host2risc_v5() 37 mfc_write(dev, args->arg[2], S5P_FIMV_HOST2RISC_ARG3); in s5p_mfc_cmd_host2risc_v5() 38 mfc_write(dev, args->arg[3], S5P_FIMV_HOST2RISC_ARG4); in s5p_mfc_cmd_host2risc_v5() 50 h2r_args.arg[0] = dev->fw_size; in s5p_mfc_sys_init_cmd_v5() 87 h2r_args.arg[0] = S5P_FIMV_CODEC_H264_DEC; in s5p_mfc_open_inst_cmd_v5() 90 h2r_args.arg[0] = S5P_FIMV_CODEC_VC1_DEC; in s5p_mfc_open_inst_cmd_v5() 93 h2r_args.arg[0] = S5P_FIMV_CODEC_MPEG4_DEC; in s5p_mfc_open_inst_cmd_v5() 96 h2r_args.arg[0] = S5P_FIMV_CODEC_MPEG2_DEC; in s5p_mfc_open_inst_cmd_v5() 99 h2r_args.arg[0] = S5P_FIMV_CODEC_H263_DEC; in s5p_mfc_open_inst_cmd_v5() [all …]
|
/linux-4.4.14/tools/perf/util/ |
D | parse-options.c | 22 int flags, const char **arg) in get_arg() argument 25 *arg = p->opt; in get_arg() 29 *arg = (const char *)opt->defval; in get_arg() 32 *arg = *++p->argv; in get_arg() 41 const char *s, *arg = NULL; in get_value() local 152 if (get_arg(p, opt, flags, &arg)) in get_value() 154 return (*opt->callback)(opt, arg, 0) ? (-1) : 0; in get_value() 165 if (get_arg(p, opt, flags, &arg)) in get_value() 167 *(int *)opt->value = strtol(arg, (char **)&s, 10); in get_value() 181 if (get_arg(p, opt, flags, &arg)) in get_value() [all …]
|
D | unwind-libunwind.c | 41 int need_unwind_info, void *arg); 327 int need_unwind_info, void *arg) in find_proc_info() argument 329 struct unwind_info *ui = arg; in find_proc_info() 353 need_unwind_info, arg); in find_proc_info() 374 need_unwind_info, arg); in find_proc_info() 385 void __maybe_unused *arg) in access_fpreg() argument 393 void __maybe_unused *arg) in get_dyn_info_list_addr() argument 400 void __maybe_unused *arg) in resume() argument 410 unw_word_t __maybe_unused *offp, void __maybe_unused *arg) in get_proc_name() argument 440 int __write, void *arg) in access_mem() argument [all …]
|
D | unwind-libdw.c | 73 return ui->cb(&e, ui->arg); in entry() 76 static pid_t next_thread(Dwfl *dwfl, void *arg, void **thread_argp) in next_thread() argument 82 *thread_argp = arg; in next_thread() 109 void *arg) in memory_read() argument 111 struct unwind_info *ui = arg; in memory_read() 152 frame_callback(Dwfl_Frame *state, void *arg) in frame_callback() argument 154 struct unwind_info *ui = arg; in frame_callback() 166 int unwind__get_entries(unwind_entry_cb_t cb, void *arg, in unwind__get_entries() argument 176 .arg = arg, in unwind__get_entries()
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | v4l2-ioctl.c | 172 static void v4l_print_querycap(const void *arg, bool write_only) in v4l_print_querycap() argument 174 const struct v4l2_capability *p = arg; in v4l_print_querycap() 184 static void v4l_print_enuminput(const void *arg, bool write_only) in v4l_print_enuminput() argument 186 const struct v4l2_input *p = arg; in v4l_print_enuminput() 195 static void v4l_print_enumoutput(const void *arg, bool write_only) in v4l_print_enumoutput() argument 197 const struct v4l2_output *p = arg; in v4l_print_enumoutput() 205 static void v4l_print_audio(const void *arg, bool write_only) in v4l_print_audio() argument 207 const struct v4l2_audio *p = arg; in v4l_print_audio() 217 static void v4l_print_audioout(const void *arg, bool write_only) in v4l_print_audioout() argument 219 const struct v4l2_audioout *p = arg; in v4l_print_audioout() [all …]
|
D | v4l2-subdev.c | 179 static long subdev_do_ioctl(struct file *file, unsigned int cmd, void *arg) in subdev_do_ioctl() argument 191 return v4l2_queryctrl(vfh->ctrl_handler, arg); in subdev_do_ioctl() 194 return v4l2_query_ext_ctrl(vfh->ctrl_handler, arg); in subdev_do_ioctl() 197 return v4l2_querymenu(vfh->ctrl_handler, arg); in subdev_do_ioctl() 200 return v4l2_g_ctrl(vfh->ctrl_handler, arg); in subdev_do_ioctl() 203 return v4l2_s_ctrl(vfh, vfh->ctrl_handler, arg); in subdev_do_ioctl() 206 return v4l2_g_ext_ctrls(vfh->ctrl_handler, arg); in subdev_do_ioctl() 209 return v4l2_s_ext_ctrls(vfh, vfh->ctrl_handler, arg); in subdev_do_ioctl() 212 return v4l2_try_ext_ctrls(vfh->ctrl_handler, arg); in subdev_do_ioctl() 218 return v4l2_event_dequeue(vfh, arg, file->f_flags & O_NONBLOCK); in subdev_do_ioctl() [all …]
|
/linux-4.4.14/sound/oss/ |
D | pas2_pcm.c | 47 static int pcm_set_speed(int arg) in pcm_set_speed() argument 52 if (arg == 0) in pcm_set_speed() 55 if (arg > 44100) in pcm_set_speed() 56 arg = 44100; in pcm_set_speed() 57 if (arg < 5000) in pcm_set_speed() 58 arg = 5000; in pcm_set_speed() 62 foo = ((PIT_TICK_RATE / 2) + (arg / 2)) / arg; in pcm_set_speed() 63 arg = ((PIT_TICK_RATE / 2) + (foo / 2)) / foo; in pcm_set_speed() 67 foo = (PIT_TICK_RATE + (arg / 2)) / arg; in pcm_set_speed() 68 arg = (PIT_TICK_RATE + (foo / 2)) / foo; in pcm_set_speed() [all …]
|
/linux-4.4.14/drivers/gpu/drm/sti/ |
D | sti_awg_utils.c | 24 long int arg, in awg_generate_instr() argument 32 long int arg_tmp = arg; in awg_generate_instr() 40 arg = arg_tmp; in awg_generate_instr() 50 arg--; /* pixel adjustment */ in awg_generate_instr() 53 if (arg < 0) { in awg_generate_instr() 58 if (arg == 0) { in awg_generate_instr() 68 arg &= (0x3ff); in awg_generate_instr() 72 if (arg == 0) { in awg_generate_instr() 79 arg &= (0x3ff); in awg_generate_instr() 84 arg |= 0x40; /* for jump instruction 7th bit is 1 */ in awg_generate_instr() [all …]
|
/linux-4.4.14/sound/pci/emu10k1/ |
D | emu10k1_synth.c | 37 struct snd_emu10k1_synth_arg *arg; in snd_emu10k1_synth_probe() local 40 arg = SNDRV_SEQ_DEVICE_ARGPTR(dev); in snd_emu10k1_synth_probe() 41 if (arg == NULL) in snd_emu10k1_synth_probe() 44 if (arg->seq_ports <= 0) in snd_emu10k1_synth_probe() 46 if (arg->max_voices < 1) in snd_emu10k1_synth_probe() 47 arg->max_voices = 1; in snd_emu10k1_synth_probe() 48 else if (arg->max_voices > 64) in snd_emu10k1_synth_probe() 49 arg->max_voices = 64; in snd_emu10k1_synth_probe() 55 hw = arg->hwptr; in snd_emu10k1_synth_probe() 57 emux->max_voices = arg->max_voices; in snd_emu10k1_synth_probe() [all …]
|
/linux-4.4.14/drivers/staging/rdma/ehca/ |
D | ehca_tools.h | 69 #define ehca_dbg(ib_dev, format, arg...) \ argument 75 ## arg); \ 78 #define ehca_info(ib_dev, format, arg...) \ argument 80 raw_smp_processor_id(), __func__, ## arg) 82 #define ehca_warn(ib_dev, format, arg...) \ argument 84 raw_smp_processor_id(), __func__, ## arg) 86 #define ehca_err(ib_dev, format, arg...) \ argument 88 raw_smp_processor_id(), __func__, ## arg) 91 #define ehca_gen_dbg(format, arg...) \ argument 95 raw_smp_processor_id(), __func__, ## arg); \ [all …]
|
/linux-4.4.14/net/sctp/ |
D | sm_statefuns.c | 84 void *arg, 90 void *arg, 96 void *arg, 110 void *arg, 120 void *arg, 128 void *arg, void *ext, 136 void *arg, 144 void *arg, 157 void *arg, 221 void *arg, in sctp_sf_do_4_C() argument [all …]
|
/linux-4.4.14/drivers/usb/atm/ |
D | usbatm.h | 43 #define usb_err(instance, format, arg...) \ argument 44 dev_err(&(instance)->usb_intf->dev , format , ## arg) 45 #define usb_info(instance, format, arg...) \ argument 46 dev_info(&(instance)->usb_intf->dev , format , ## arg) 47 #define usb_warn(instance, format, arg...) \ argument 48 dev_warn(&(instance)->usb_intf->dev , format , ## arg) 49 #define usb_dbg(instance, format, arg...) \ argument 50 dev_dbg(&(instance)->usb_intf->dev , format , ## arg) 53 #define atm_printk(level, instance, format, arg...) \ argument 55 (instance)->atm_dev->number , ## arg) [all …]
|
/linux-4.4.14/fs/jfs/ |
D | jfs_debug.h | 68 #define jfs_info(fmt, arg...) do { \ argument 70 printk(KERN_INFO fmt "\n", ## arg); \ 74 #define jfs_debug(fmt, arg...) do { \ argument 76 printk(KERN_DEBUG fmt "\n", ## arg); \ 80 #define jfs_warn(fmt, arg...) do { \ argument 82 printk(KERN_WARNING fmt "\n", ## arg); \ 86 #define jfs_err(fmt, arg...) do { \ argument 88 printk(KERN_ERR fmt "\n", ## arg); \ 97 #define jfs_info(fmt, arg...) do {} while (0) argument 98 #define jfs_debug(fmt, arg...) do {} while (0) argument [all …]
|
D | ioctl.c | 59 long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in jfs_ioctl() argument 70 return put_user(flags, (int __user *) arg); in jfs_ioctl() 83 if (get_user(flags, (int __user *) arg)) { in jfs_ioctl() 146 if (copy_from_user(&range, (struct fstrim_range __user *)arg, in jfs_ioctl() 157 if (copy_to_user((struct fstrim_range __user *)arg, &range, in jfs_ioctl() 170 long jfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in jfs_compat_ioctl() argument 184 return jfs_ioctl(filp, cmd, arg); in jfs_compat_ioctl()
|
/linux-4.4.14/drivers/thunderbolt/ |
D | tb.h | 188 #define tb_err(tb, fmt, arg...) dev_err(&(tb)->nhi->pdev->dev, fmt, ## arg) argument 189 #define tb_WARN(tb, fmt, arg...) dev_WARN(&(tb)->nhi->pdev->dev, fmt, ## arg) argument 190 #define tb_warn(tb, fmt, arg...) dev_warn(&(tb)->nhi->pdev->dev, fmt, ## arg) argument 191 #define tb_info(tb, fmt, arg...) dev_info(&(tb)->nhi->pdev->dev, fmt, ## arg) argument 194 #define __TB_SW_PRINT(level, sw, fmt, arg...) \ argument 198 tb_route(__sw), ## arg); \ 200 #define tb_sw_WARN(sw, fmt, arg...) __TB_SW_PRINT(tb_WARN, sw, fmt, ##arg) argument 201 #define tb_sw_warn(sw, fmt, arg...) __TB_SW_PRINT(tb_warn, sw, fmt, ##arg) argument 202 #define tb_sw_info(sw, fmt, arg...) __TB_SW_PRINT(tb_info, sw, fmt, ##arg) argument 205 #define __TB_PORT_PRINT(level, _port, fmt, arg...) \ argument [all …]
|
/linux-4.4.14/kernel/trace/ |
D | trace_probe.c | 320 static int parse_probe_vars(char *arg, const struct fetch_type *t, in parse_probe_vars() argument 327 if (strcmp(arg, "retval") == 0) { in parse_probe_vars() 332 } else if (strncmp(arg, "stack", 5) == 0) { in parse_probe_vars() 333 if (arg[5] == '\0') { in parse_probe_vars() 341 } else if (isdigit(arg[5])) { in parse_probe_vars() 342 ret = kstrtoul(arg + 5, 10, ¶m); in parse_probe_vars() 358 static int parse_probe_arg(char *arg, const struct fetch_type *t, in parse_probe_arg() argument 367 switch (arg[0]) { in parse_probe_arg() 369 ret = parse_probe_vars(arg + 1, t, f, is_return, is_kprobe); in parse_probe_arg() 373 ret = regs_query_register_offset(arg + 1); in parse_probe_arg() [all …]
|
/linux-4.4.14/arch/cris/arch-v10/drivers/ |
D | gpio.c | 47 static long gpio_ioctl(struct file *file, unsigned int cmd, unsigned long arg); 402 unsigned long inline setget_input(struct gpio_private *priv, unsigned long arg) in setget_input() argument 408 ~((unsigned char)arg & priv->changeable_dir); in setget_input() 416 if (((arg & dir_g_in_bits) != arg) && in setget_input() 417 (arg & changeable_dir_g)) { in setget_input() 418 arg &= changeable_dir_g; in setget_input() 420 if (arg & (1<<0)) { in setget_input() 425 if ((arg & 0x0000FF00) == 0x0000FF00) { in setget_input() 430 if ((arg & 0x00FF0000) == 0x00FF0000) { in setget_input() 435 if (arg & (1<<24)) { in setget_input() [all …]
|
D | sync_serial.c | 162 unsigned int cmd, unsigned long arg); 684 unsigned int cmd, unsigned long arg) in sync_serial_ioctl_unlocked() argument 728 if (GET_SPEED(arg) == CODEC) { in sync_serial_ioctl_unlocked() 740 GET_FREQ(arg)); in sync_serial_ioctl_unlocked() 743 GET_FRAME_RATE(arg)); in sync_serial_ioctl_unlocked() 746 GET_WORD_RATE(arg)); in sync_serial_ioctl_unlocked() 749 tr_baud, GET_SPEED(arg)); in sync_serial_ioctl_unlocked() 761 if (arg > 5) in sync_serial_ioctl_unlocked() 763 if (arg == MASTER_OUTPUT || arg == SLAVE_OUTPUT) in sync_serial_ioctl_unlocked() 767 SETF(port->ctrl_data_shadow, R_SYNC_SERIAL1_CTRL, mode, arg); in sync_serial_ioctl_unlocked() [all …]
|
/linux-4.4.14/drivers/media/tuners/ |
D | tuner-i2c.h | 87 #define tuner_printk(kernlvl, i2cprops, fmt, arg...) do { \ argument 91 i2cprops.addr, ##arg); \ 97 #define __tuner_warn(i2cprops, fmt, arg...) do { \ argument 98 tuner_printk(KERN_WARNING, i2cprops, fmt, ##arg); \ 101 #define __tuner_info(i2cprops, fmt, arg...) do { \ argument 102 tuner_printk(KERN_INFO, i2cprops, fmt, ##arg); \ 105 #define __tuner_err(i2cprops, fmt, arg...) do { \ argument 106 tuner_printk(KERN_ERR, i2cprops, fmt, ##arg); \ 109 #define __tuner_dbg(i2cprops, fmt, arg...) do { \ argument 111 tuner_printk(KERN_DEBUG, i2cprops, fmt, ##arg); \ [all …]
|
D | tda18271-priv.h | 145 #define tda_printk(st, lvl, fmt, arg...) \ argument 146 _tda_printk(st, lvl, __func__, fmt, ##arg) 148 #define tda_dprintk(st, lvl, fmt, arg...) \ argument 151 tda_printk(st, KERN_DEBUG, fmt, ##arg); \ 154 #define tda_info(fmt, arg...) pr_info(fmt, ##arg) argument 155 #define tda_warn(fmt, arg...) tda_printk(priv, KERN_WARNING, fmt, ##arg) argument 156 #define tda_err(fmt, arg...) tda_printk(priv, KERN_ERR, fmt, ##arg) argument 157 #define tda_dbg(fmt, arg...) tda_dprintk(priv, DBG_INFO, fmt, ##arg) argument 158 #define tda_map(fmt, arg...) tda_dprintk(priv, DBG_MAP, fmt, ##arg) argument 159 #define tda_reg(fmt, arg...) tda_dprintk(priv, DBG_REG, fmt, ##arg) argument [all …]
|
D | fc0013-priv.h | 28 #define err(f, arg...) printk(KERN_ERR LOG_PREFIX": " f "\n" , ## arg) argument 30 #define info(f, arg...) printk(KERN_INFO LOG_PREFIX": " f "\n" , ## arg) argument 32 #define warn(f, arg...) printk(KERN_WARNING LOG_PREFIX": " f "\n" , ## arg) argument
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | cx24120.c | 166 u8 arg[CX24120_MAX_CMD_LEN]; member 391 cx24120_writeregs(state, CX24120_REG_CMD_ARGS, &cmd->arg[0], in cx24120_message_send() 429 cmd->arg[i] = cx24120_readreg(state, (cmd->len + i + 1)); in cx24120_message_sendrcv() 455 cmd.arg[0] = 0x01; in cx24120_msg_mpeg_output_global_config() 456 cmd.arg[1] = 0x00; in cx24120_msg_mpeg_output_global_config() 457 cmd.arg[2] = enable ? 0 : (u8)(-1); in cx24120_msg_mpeg_output_global_config() 458 cmd.arg[3] = 0x01; in cx24120_msg_mpeg_output_global_config() 482 cmd.arg[0] = seq; /* sequental number - can be 0,1,2 */ in cx24120_msg_mpeg_output_config() 483 cmd.arg[1] = ((i.x1 & 0x01) << 1) | ((i.x1 >> 1) & 0x01); in cx24120_msg_mpeg_output_config() 484 cmd.arg[2] = 0x05; in cx24120_msg_mpeg_output_config() [all …]
|
D | stv6110x_priv.h | 32 #define dprintk(__y, __z, format, arg...) do { \ argument 35 printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \ 37 printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \ 39 printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \ 41 printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \ 44 printk(format, ##arg); \
|
/linux-4.4.14/drivers/misc/ |
D | kgdbts.c | 214 static unsigned long lookup_addr(char *arg) in lookup_addr() argument 218 if (!strcmp(arg, "kgdbts_break_test")) in lookup_addr() 220 else if (!strcmp(arg, "sys_open")) in lookup_addr() 222 else if (!strcmp(arg, "do_fork")) in lookup_addr() 224 else if (!strcmp(arg, "hw_break_val")) in lookup_addr() 230 static void break_helper(char *bp_type, char *arg, unsigned long vaddr) in break_helper() argument 234 if (arg) in break_helper() 235 addr = lookup_addr(arg); in break_helper() 244 static void sw_break(char *arg) in sw_break() argument 246 break_helper(force_hwbrks ? "Z1" : "Z0", arg, 0); in sw_break() [all …]
|
/linux-4.4.14/arch/x86/boot/ |
D | early_serial_console.c | 44 char arg[32]; in parse_earlyprintk() local 48 if (cmdline_find_option("earlyprintk", arg, sizeof arg) > 0) { in parse_earlyprintk() 51 if (!strncmp(arg, "serial", 6)) { in parse_earlyprintk() 56 if (arg[pos] == ',') in parse_earlyprintk() 65 if (pos == 7 && !strncmp(arg + pos, "0x", 2)) { in parse_earlyprintk() 66 port = simple_strtoull(arg + pos, &e, 16); in parse_earlyprintk() 67 if (port == 0 || arg + pos == e) in parse_earlyprintk() 70 pos = e - arg; in parse_earlyprintk() 71 } else if (!strncmp(arg + pos, "ttyS", 4)) { in parse_earlyprintk() 78 if (arg[pos++] == '1') in parse_earlyprintk() [all …]
|
/linux-4.4.14/sound/synth/emux/ |
D | emux_oss.c | 34 static int snd_emux_open_seq_oss(struct snd_seq_oss_arg *arg, void *closure); 35 static int snd_emux_close_seq_oss(struct snd_seq_oss_arg *arg); 36 static int snd_emux_ioctl_seq_oss(struct snd_seq_oss_arg *arg, unsigned int cmd, 38 static int snd_emux_load_patch_seq_oss(struct snd_seq_oss_arg *arg, int format, 40 static int snd_emux_reset_seq_oss(struct snd_seq_oss_arg *arg); 69 struct snd_seq_oss_reg *arg; in snd_emux_init_seq_oss() local 79 arg = SNDRV_SEQ_DEVICE_ARGPTR(dev); in snd_emux_init_seq_oss() 80 arg->type = SYNTH_TYPE_SAMPLE; in snd_emux_init_seq_oss() 81 arg->subtype = SAMPLE_TYPE_AWE32; in snd_emux_init_seq_oss() 82 arg->nvoices = emu->max_voices; in snd_emux_init_seq_oss() [all …]
|
D | emux_hwdep.c | 34 snd_emux_hwdep_load_patch(struct snd_emux *emu, void __user *arg) in snd_emux_hwdep_load_patch() argument 39 if (copy_from_user(&patch, arg, sizeof(patch))) in snd_emux_hwdep_load_patch() 44 err = snd_soundfont_load(emu->sflist, arg, patch.len + sizeof(patch), TMP_CLIENT_ID); in snd_emux_hwdep_load_patch() 49 return emu->ops.load_fx(emu, patch.type, patch.optarg, arg, patch.len + sizeof(patch)); in snd_emux_hwdep_load_patch() 60 snd_emux_hwdep_misc_mode(struct snd_emux *emu, void __user *arg) in snd_emux_hwdep_misc_mode() argument 65 if (copy_from_user(&info, arg, sizeof(info))) in snd_emux_hwdep_misc_mode() 86 unsigned int cmd, unsigned long arg) in snd_emux_hwdep_ioctl() argument 92 return put_user(SNDRV_EMUX_VERSION, (unsigned int __user *)arg); in snd_emux_hwdep_ioctl() 94 return snd_emux_hwdep_load_patch(emu, (void __user *)arg); in snd_emux_hwdep_ioctl() 104 return put_user(size, (unsigned int __user *)arg); in snd_emux_hwdep_ioctl() [all …]
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
D | debug.h | 64 #define wl1271_error(fmt, arg...) \ argument 65 pr_err(DRIVER_PREFIX "ERROR " fmt "\n", ##arg) 67 #define wl1271_warning(fmt, arg...) \ argument 68 pr_warn(DRIVER_PREFIX "WARNING " fmt "\n", ##arg) 70 #define wl1271_notice(fmt, arg...) \ argument 71 pr_info(DRIVER_PREFIX fmt "\n", ##arg) 73 #define wl1271_info(fmt, arg...) \ argument 74 pr_info(DRIVER_PREFIX fmt "\n", ##arg) 78 #define wl1271_debug(level, fmt, arg...) \ argument 81 dynamic_pr_debug(DRIVER_PREFIX fmt "\n", ##arg); \ [all …]
|
/linux-4.4.14/fs/ |
D | fcntl.c | 32 static int setfl(int fd, struct file * filp, unsigned long arg) in setfl() argument 41 if (((arg ^ filp->f_flags) & O_APPEND) && IS_APPEND(inode)) in setfl() 45 if ((arg & O_NOATIME) && !(filp->f_flags & O_NOATIME)) in setfl() 51 if (arg & O_NDELAY) in setfl() 52 arg |= O_NONBLOCK; in setfl() 54 if (arg & O_DIRECT) { in setfl() 61 error = filp->f_op->check_flags(arg); in setfl() 68 if (((arg ^ filp->f_flags) & FASYNC) && filp->f_op->fasync) { in setfl() 69 error = filp->f_op->fasync(fd, filp, (arg & FASYNC) != 0); in setfl() 76 filp->f_flags = (arg & SETFL_MASK) | (filp->f_flags & ~SETFL_MASK); in setfl() [all …]
|
/linux-4.4.14/net/wireless/ |
D | genregdb.awk | 92 for (arg in flagarray) { 93 if (flagarray[arg] == "NO-OFDM") { 95 } else if (flagarray[arg] == "NO-CCK") { 97 } else if (flagarray[arg] == "NO-INDOOR") { 99 } else if (flagarray[arg] == "NO-OUTDOOR") { 101 } else if (flagarray[arg] == "DFS") { 103 } else if (flagarray[arg] == "PTP-ONLY") { 105 } else if (flagarray[arg] == "PTMP-ONLY") { 107 } else if (flagarray[arg] == "PASSIVE-SCAN") { 109 } else if (flagarray[arg] == "NO-IBSS") { [all …]
|
/linux-4.4.14/arch/powerpc/perf/ |
D | hv-common.c | 15 struct p arg = { in hv_perf_caps_get() local 25 virt_to_phys(&arg), sizeof(arg)); in hv_perf_caps_get() 30 pr_devel("capability_mask: 0x%x\n", arg.caps.capability_mask); in hv_perf_caps_get() 32 caps->version = arg.params.counter_info_version_out; in hv_perf_caps_get() 33 caps->collect_privileged = !!arg.caps.perf_collect_privileged; in hv_perf_caps_get() 34 caps->ga = !!(arg.caps.capability_mask & HV_GPCI_CM_GA); in hv_perf_caps_get() 35 caps->expanded = !!(arg.caps.capability_mask & HV_GPCI_CM_EXPANDED); in hv_perf_caps_get() 36 caps->lab = !!(arg.caps.capability_mask & HV_GPCI_CM_LAB); in hv_perf_caps_get()
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | pciehp.h | 47 #define dbg(format, arg...) \ argument 50 printk(KERN_DEBUG "%s: " format, MY_NAME , ## arg); \ 52 #define err(format, arg...) \ argument 53 printk(KERN_ERR "%s: " format, MY_NAME , ## arg) 54 #define info(format, arg...) \ argument 55 printk(KERN_INFO "%s: " format, MY_NAME , ## arg) 56 #define warn(format, arg...) \ argument 57 printk(KERN_WARNING "%s: " format, MY_NAME , ## arg) 59 #define ctrl_dbg(ctrl, format, arg...) \ argument 63 format, ## arg); \ [all …]
|
D | rpaphp.h | 50 #define dbg(format, arg...) \ argument 54 MY_NAME , ## arg); \ 56 #define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME , ## arg) argument 57 #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME , ## arg) argument 58 #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME , ## arg) argument
|
D | shpchp.h | 50 #define dbg(format, arg...) \ argument 53 printk(KERN_DEBUG "%s: " format, MY_NAME , ## arg); \ 55 #define err(format, arg...) \ argument 56 printk(KERN_ERR "%s: " format, MY_NAME , ## arg) 57 #define info(format, arg...) \ argument 58 printk(KERN_INFO "%s: " format, MY_NAME , ## arg) 59 #define warn(format, arg...) \ argument 60 printk(KERN_WARNING "%s: " format, MY_NAME , ## arg) 62 #define ctrl_dbg(ctrl, format, arg...) \ argument 66 format, ## arg); \ [all …]
|
D | acpi_pcihp.c | 39 #define dbg(fmt, arg...) do { if (debug_acpi) printk(KERN_DEBUG "%s: %s: " fmt , MY_NAME , __func__… argument 40 #define err(format, arg...) printk(KERN_ERR "%s: " format , MY_NAME , ## arg) argument 41 #define info(format, arg...) printk(KERN_INFO "%s: " format , MY_NAME , ## arg) argument 42 #define warn(format, arg...) printk(KERN_WARNING "%s: " format , MY_NAME , ## arg) argument
|
D | cpcihp_generic.c | 54 #define dbg(format, arg...) \ argument 58 MY_NAME , ## arg); \ 60 #define err(format, arg...) printk(KERN_ERR "%s: " format "\n", MY_NAME , ## arg) argument 61 #define info(format, arg...) printk(KERN_INFO "%s: " format "\n", MY_NAME , ## arg) argument 62 #define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME , ## arg) argument
|
/linux-4.4.14/drivers/isdn/sc/ |
D | command.c | 30 static int setl2(int card, unsigned long arg); 31 static int setl3(int card, unsigned long arg); 112 return dial(card, cmd->arg, cmd->parm.setup); in command() 114 return hangup(card, cmd->arg); in command() 116 return answer(card, cmd->arg); in command() 118 return acceptb(card, cmd->arg); in command() 120 return clreaz(card, cmd->arg); in command() 122 return seteaz(card, cmd->arg, cmd->parm.num); in command() 124 return setl2(card, cmd->arg); in command() 126 return setl3(card, cmd->arg); in command() [all …]
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_overlay.c | 98 struct drm_vmw_control_stream_arg *arg, in vmw_overlay_send_put() argument 139 cmds->header.streamId = arg->stream_id; in vmw_overlay_send_put() 146 ptr.offset += arg->offset; in vmw_overlay_send_put() 149 items[SVGA_VIDEO_FLAGS].value = arg->flags; in vmw_overlay_send_put() 151 items[SVGA_VIDEO_FORMAT].value = arg->format; in vmw_overlay_send_put() 152 items[SVGA_VIDEO_COLORKEY].value = arg->color_key; in vmw_overlay_send_put() 153 items[SVGA_VIDEO_SIZE].value = arg->size; in vmw_overlay_send_put() 154 items[SVGA_VIDEO_WIDTH].value = arg->width; in vmw_overlay_send_put() 155 items[SVGA_VIDEO_HEIGHT].value = arg->height; in vmw_overlay_send_put() 156 items[SVGA_VIDEO_SRC_X].value = arg->src.x; in vmw_overlay_send_put() [all …]
|
D | vmwgfx_ioctl.c | 178 struct drm_vmw_get_3d_cap_arg *arg = in vmw_get_cap_3d_ioctl() local 183 void __user *buffer = (void __user *)((unsigned long)(arg->buffer)); in vmw_get_cap_3d_ioctl() 189 if (unlikely(arg->pad64 != 0)) { in vmw_get_cap_3d_ioctl() 202 if (arg->max_size < size) in vmw_get_cap_3d_ioctl() 203 size = arg->max_size; in vmw_get_cap_3d_ioctl() 252 struct drm_vmw_present_arg *arg = in vmw_present_ioctl() local 263 num_clips = arg->num_clips; in vmw_present_ioctl() 264 clips_ptr = (struct drm_vmw_rect __user *)(unsigned long)arg->clips_ptr; in vmw_present_ioctl() 291 fb = drm_framebuffer_lookup(dev, arg->fb_id); in vmw_present_ioctl() 303 ret = vmw_user_resource_lookup_handle(dev_priv, tfile, arg->sid, in vmw_present_ioctl() [all …]
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_pf.c | 43 cmd.req.arg[1] = (vport_id << 16) | 0x1; in qlcnic_sriov_pf_set_vport_info() 44 cmd.req.arg[2] = npar_info->bit_offsets; in qlcnic_sriov_pf_set_vport_info() 45 cmd.req.arg[2] |= npar_info->min_tx_bw << 16; in qlcnic_sriov_pf_set_vport_info() 46 cmd.req.arg[3] = npar_info->max_tx_bw | (npar_info->max_tx_ques << 16); in qlcnic_sriov_pf_set_vport_info() 47 cmd.req.arg[4] = npar_info->max_tx_mac_filters; in qlcnic_sriov_pf_set_vport_info() 48 cmd.req.arg[4] |= npar_info->max_rx_mcast_mac_filters << 16; in qlcnic_sriov_pf_set_vport_info() 49 cmd.req.arg[5] = npar_info->max_rx_ucast_mac_filters | in qlcnic_sriov_pf_set_vport_info() 51 cmd.req.arg[6] = npar_info->max_rx_lro_flow | in qlcnic_sriov_pf_set_vport_info() 53 cmd.req.arg[7] = npar_info->max_rx_buf_rings | in qlcnic_sriov_pf_set_vport_info() 55 cmd.req.arg[8] = npar_info->max_tx_vlan_keys; in qlcnic_sriov_pf_set_vport_info() [all …]
|
D | qlcnic_ctx.c | 65 mbx->req.arg = kcalloc(mbx->req.num, in qlcnic_82xx_alloc_mbx_args() 67 if (!mbx->req.arg) in qlcnic_82xx_alloc_mbx_args() 69 mbx->rsp.arg = kcalloc(mbx->rsp.num, in qlcnic_82xx_alloc_mbx_args() 71 if (!mbx->rsp.arg) { in qlcnic_82xx_alloc_mbx_args() 72 kfree(mbx->req.arg); in qlcnic_82xx_alloc_mbx_args() 73 mbx->req.arg = NULL; in qlcnic_82xx_alloc_mbx_args() 76 mbx->req.arg[0] = type; in qlcnic_82xx_alloc_mbx_args() 86 kfree(cmd->req.arg); in qlcnic_free_mbx_args() 87 cmd->req.arg = NULL; in qlcnic_free_mbx_args() 88 kfree(cmd->rsp.arg); in qlcnic_free_mbx_args() [all …]
|
D | qlcnic_83xx_hw.c | 457 cmd->rsp.arg[i] = readl(QLCNIC_MBX_FW(adapter->ahw, i)); in qlcnic_83xx_get_mbx_data() 810 pr_info("%08x ", cmd->req.arg[i]); in qlcnic_dump_mbx() 818 pr_info("%08x ", cmd->rsp.arg[i]); in qlcnic_dump_mbx() 827 int opcode = LSW(cmd->req.arg[0]); in qlcnic_83xx_poll_for_mbx_completion() 858 opcode = LSW(cmd->req.arg[0]); in qlcnic_83xx_issue_cmd() 910 mbx->req.arg = kcalloc(mbx->req.num, sizeof(u32), in qlcnic_83xx_alloc_mbx_args() 912 if (!mbx->req.arg) in qlcnic_83xx_alloc_mbx_args() 914 mbx->rsp.arg = kcalloc(mbx->rsp.num, sizeof(u32), in qlcnic_83xx_alloc_mbx_args() 916 if (!mbx->rsp.arg) { in qlcnic_83xx_alloc_mbx_args() 917 kfree(mbx->req.arg); in qlcnic_83xx_alloc_mbx_args() [all …]
|
/linux-4.4.14/arch/x86/kernel/apic/ |
D | msi.c | 94 msi_alloc_info_t *arg) in pci_msi_get_hwirq() argument 96 return arg->msi_hwirq; in pci_msi_get_hwirq() 100 int nvec, msi_alloc_info_t *arg) in pci_msi_prepare() argument 105 init_irq_alloc_info(arg, NULL); in pci_msi_prepare() 106 arg->msi_dev = pdev; in pci_msi_prepare() 108 arg->type = X86_IRQ_ALLOC_TYPE_MSIX; in pci_msi_prepare() 110 arg->type = X86_IRQ_ALLOC_TYPE_MSI; in pci_msi_prepare() 111 arg->flags |= X86_IRQ_ALLOC_CONTIGUOUS_VECTORS; in pci_msi_prepare() 117 static void pci_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc) in pci_msi_set_desc() argument 119 arg->msi_hwirq = pci_msi_domain_calc_hwirq(arg->msi_dev, desc); in pci_msi_set_desc() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | wmi.c | 1550 const struct wmi_channel_arg *arg) in ath10k_wmi_put_wmi_channel() argument 1556 if (arg->passive) in ath10k_wmi_put_wmi_channel() 1558 if (arg->allow_ibss) in ath10k_wmi_put_wmi_channel() 1560 if (arg->allow_ht) in ath10k_wmi_put_wmi_channel() 1562 if (arg->allow_vht) in ath10k_wmi_put_wmi_channel() 1564 if (arg->ht40plus) in ath10k_wmi_put_wmi_channel() 1566 if (arg->chan_radar) in ath10k_wmi_put_wmi_channel() 1569 ch->mhz = __cpu_to_le32(arg->freq); in ath10k_wmi_put_wmi_channel() 1570 ch->band_center_freq1 = __cpu_to_le32(arg->band_center_freq1); in ath10k_wmi_put_wmi_channel() 1572 ch->min_power = arg->min_power; in ath10k_wmi_put_wmi_channel() [all …]
|
D | wmi-tlv.c | 566 struct wmi_scan_ev_arg *arg) in ath10k_wmi_tlv_op_pull_scan_ev() argument 585 arg->event_type = ev->event_type; in ath10k_wmi_tlv_op_pull_scan_ev() 586 arg->reason = ev->reason; in ath10k_wmi_tlv_op_pull_scan_ev() 587 arg->channel_freq = ev->channel_freq; in ath10k_wmi_tlv_op_pull_scan_ev() 588 arg->scan_req_id = ev->scan_req_id; in ath10k_wmi_tlv_op_pull_scan_ev() 589 arg->scan_id = ev->scan_id; in ath10k_wmi_tlv_op_pull_scan_ev() 590 arg->vdev_id = ev->vdev_id; in ath10k_wmi_tlv_op_pull_scan_ev() 598 struct wmi_mgmt_rx_ev_arg *arg) in ath10k_wmi_tlv_op_pull_mgmt_rx_ev() argument 621 arg->channel = ev->channel; in ath10k_wmi_tlv_op_pull_mgmt_rx_ev() 622 arg->buf_len = ev->buf_len; in ath10k_wmi_tlv_op_pull_mgmt_rx_ev() [all …]
|
D | wmi-ops.h | 29 struct wmi_scan_ev_arg *arg); 31 struct wmi_mgmt_rx_ev_arg *arg); 33 struct wmi_ch_info_ev_arg *arg); 35 struct wmi_vdev_start_ev_arg *arg); 37 struct wmi_peer_kick_ev_arg *arg); 39 struct wmi_swba_ev_arg *arg); 41 struct wmi_phyerr_hdr_arg *arg); 43 int left_len, struct wmi_phyerr_ev_arg *arg); 45 struct wmi_svc_rdy_ev_arg *arg); 47 struct wmi_rdy_ev_arg *arg); [all …]
|
D | spectral.c | 216 struct wmi_vdev_spectral_conf_arg arg; in ath10k_spectral_scan_config() local 247 arg.vdev_id = vdev_id; in ath10k_spectral_scan_config() 248 arg.scan_count = count; in ath10k_spectral_scan_config() 249 arg.scan_period = WMI_SPECTRAL_PERIOD_DEFAULT; in ath10k_spectral_scan_config() 250 arg.scan_priority = WMI_SPECTRAL_PRIORITY_DEFAULT; in ath10k_spectral_scan_config() 251 arg.scan_fft_size = ar->spectral.config.fft_size; in ath10k_spectral_scan_config() 252 arg.scan_gc_ena = WMI_SPECTRAL_GC_ENA_DEFAULT; in ath10k_spectral_scan_config() 253 arg.scan_restart_ena = WMI_SPECTRAL_RESTART_ENA_DEFAULT; in ath10k_spectral_scan_config() 254 arg.scan_noise_floor_ref = WMI_SPECTRAL_NOISE_FLOOR_REF_DEFAULT; in ath10k_spectral_scan_config() 255 arg.scan_init_delay = WMI_SPECTRAL_INIT_DELAY_DEFAULT; in ath10k_spectral_scan_config() [all …]
|
D | mac.c | 167 struct wmi_vdev_install_key_arg arg = { in ath10k_send_key() local 180 arg.key_cipher = WMI_CIPHER_AES_CCM; in ath10k_send_key() 184 arg.key_cipher = WMI_CIPHER_TKIP; in ath10k_send_key() 185 arg.key_txmic_len = 8; in ath10k_send_key() 186 arg.key_rxmic_len = 8; in ath10k_send_key() 190 arg.key_cipher = WMI_CIPHER_WEP; in ath10k_send_key() 204 arg.key_cipher = WMI_CIPHER_NONE; in ath10k_send_key() 205 arg.key_data = NULL; in ath10k_send_key() 208 return ath10k_wmi_vdev_install_key(arvif->ar, &arg); in ath10k_send_key() 770 struct wmi_tdls_peer_update_cmd_arg arg = {}; in ath10k_mac_tdls_peer_update() local [all …]
|
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/ |
D | mxl111sf.h | 109 #define mxl_printk(kern, fmt, arg...) \ argument 110 printk(kern "%s: " fmt "\n", __func__, ##arg) 112 #define mxl_info(fmt, arg...) \ argument 113 mxl_printk(KERN_INFO, fmt, ##arg) 116 #define mxl_debug(fmt, arg...) \ argument 118 mxl_printk(KERN_DEBUG, fmt, ##arg) 122 #define mxl_debug_adv(fmt, arg...) \ argument 124 mxl_printk(KERN_DEBUG, fmt, ##arg) 126 #define mxl_i2c(fmt, arg...) \ argument 128 mxl_printk(KERN_DEBUG, fmt, ##arg) [all …]
|
/linux-4.4.14/drivers/char/agp/ |
D | compat_ioctl.c | 38 static int compat_agpioc_info_wrap(struct agp_file_private *priv, void __user *arg) in compat_agpioc_info_wrap() argument 55 if (copy_to_user(arg, &userinfo, sizeof(userinfo))) in compat_agpioc_info_wrap() 61 static int compat_agpioc_reserve_wrap(struct agp_file_private *priv, void __user *arg) in compat_agpioc_reserve_wrap() argument 69 if (copy_from_user(&ureserve, arg, sizeof(ureserve))) in compat_agpioc_reserve_wrap() 148 static int compat_agpioc_allocate_wrap(struct agp_file_private *priv, void __user *arg) in compat_agpioc_allocate_wrap() argument 154 if (copy_from_user(&alloc, arg, sizeof(alloc))) in compat_agpioc_allocate_wrap() 165 if (copy_to_user(arg, &alloc, sizeof(alloc))) { in compat_agpioc_allocate_wrap() 172 static int compat_agpioc_bind_wrap(struct agp_file_private *priv, void __user *arg) in compat_agpioc_bind_wrap() argument 178 if (copy_from_user(&bind_info, arg, sizeof(bind_info))) in compat_agpioc_bind_wrap() 189 static int compat_agpioc_unbind_wrap(struct agp_file_private *priv, void __user *arg) in compat_agpioc_unbind_wrap() argument [all …]
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | atom.c | 180 uint32_t idx, val = 0xCDCDCDCD, align, arg; in atom_get_src_int() local 182 arg = attr & 7; in atom_get_src_int() 184 switch (arg) { in atom_get_src_int() 367 uint32_t align = (attr >> 3) & 7, arg = attr & 7; in atom_skip_src_int() local 368 switch (arg) { in atom_skip_src_int() 432 static uint32_t atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_get_dst() argument 436 arg | atom_dst_to_src[(attr >> 3) & in atom_get_dst() 441 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst() argument 444 arg | atom_dst_to_src[(attr >> 3) & 7][(attr >> 6) & in atom_skip_dst() 448 static void atom_put_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_put_dst() argument [all …]
|
D | radeon_ioc32.c | 60 unsigned long arg) in compat_radeon_cp_init() argument 65 if (copy_from_user(&init32, (void __user *)arg, sizeof(init32))) in compat_radeon_cp_init() 107 unsigned long arg) in compat_radeon_cp_clear() argument 112 if (copy_from_user(&clr32, (void __user *)arg, sizeof(clr32))) in compat_radeon_cp_clear() 134 unsigned long arg) in compat_radeon_cp_stipple() argument 136 drm_radeon_stipple32_t __user *argp = (void __user *)arg; in compat_radeon_cp_stipple() 168 unsigned long arg) in compat_radeon_cp_texture() argument 175 if (copy_from_user(&req32, (void __user *)arg, sizeof(req32))) in compat_radeon_cp_texture() 216 unsigned long arg) in compat_radeon_cp_vertex2() argument 221 if (copy_from_user(&req32, (void __user *)arg, sizeof(req32))) in compat_radeon_cp_vertex2() [all …]
|
/linux-4.4.14/scripts/ |
D | kernel-doc-xml-ref | 101 my $arg = $_[0]; 113 return $arg; 116 my $head = $arg; 118 if ($arg =~ /(.*?)( ?)$/) { 128 my $arg = $_[0]; 135 return $arg; 138 my ($head, $tail) = split_pointer($arg); 145 my $arg = $_[0]; 146 if ($arg =~ /(.*?)( ?\* ?)/) { 149 return ($arg, "");
|
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/ |
D | debug.c | 111 u32 arg[WCN36xx_MAX_DUMP_ARGS]; in write_file_dump() local 115 memset(arg, 0, sizeof(arg)); in write_file_dump() 129 if (kstrtou32(begin, 0, &arg[i]) != 0) in write_file_dump() 133 wcn36xx_info("DUMP args is %d %d %d %d %d\n", arg[0], arg[1], arg[2], in write_file_dump() 134 arg[3], arg[4]); in write_file_dump() 135 wcn36xx_smd_dump_cmd_req(wcn, arg[0], arg[1], arg[2], arg[3], arg[4]); in write_file_dump()
|
D | wcn36xx.h | 59 #define wcn36xx_err(fmt, arg...) \ argument 60 printk(KERN_ERR pr_fmt("ERROR " fmt), ##arg) 62 #define wcn36xx_warn(fmt, arg...) \ argument 63 printk(KERN_WARNING pr_fmt("WARNING " fmt), ##arg) 65 #define wcn36xx_info(fmt, arg...) \ argument 66 printk(KERN_INFO pr_fmt(fmt), ##arg) 68 #define wcn36xx_dbg(mask, fmt, arg...) do { \ argument 70 printk(KERN_DEBUG pr_fmt(fmt), ##arg); \
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | atom.c | 177 uint32_t idx, val = 0xCDCDCDCD, align, arg; in atom_get_src_int() local 179 arg = attr & 7; in atom_get_src_int() 181 switch (arg) { in atom_get_src_int() 364 uint32_t align = (attr >> 3) & 7, arg = attr & 7; in atom_skip_src_int() local 365 switch (arg) { in atom_skip_src_int() 429 static uint32_t atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_get_dst() argument 433 arg | atom_dst_to_src[(attr >> 3) & in atom_get_dst() 438 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) in atom_skip_dst() argument 441 arg | atom_dst_to_src[(attr >> 3) & 7][(attr >> 6) & in atom_skip_dst() 445 static void atom_put_dst(atom_exec_context *ctx, int arg, uint8_t attr, in atom_put_dst() argument [all …]
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_nportdisc.c | 819 void *arg, uint32_t evt) in lpfc_disc_illegal() argument 822 LPFC_MBOXQ_t *pmb = (LPFC_MBOXQ_t *) arg; in lpfc_disc_illegal() 843 void *arg, uint32_t evt) in lpfc_cmpl_plogi_illegal() argument 864 void *arg, uint32_t evt) in lpfc_rcv_plogi_unused_node() argument 868 cmdiocb = (struct lpfc_iocbq *) arg; in lpfc_rcv_plogi_unused_node() 878 void *arg, uint32_t evt) in lpfc_rcv_els_unused_node() argument 886 void *arg, uint32_t evt) in lpfc_rcv_logo_unused_node() argument 889 struct lpfc_iocbq *cmdiocb = (struct lpfc_iocbq *) arg; in lpfc_rcv_logo_unused_node() 901 void *arg, uint32_t evt) in lpfc_cmpl_logo_unused_node() argument 908 void *arg, uint32_t evt) in lpfc_device_rm_unused_node() argument [all …]
|
/linux-4.4.14/sound/core/seq/oss/ |
D | seq_oss_ioctl.c | 31 static int snd_seq_oss_synth_info_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_synth_info_user() argument 35 if (copy_from_user(&info, arg, sizeof(info))) in snd_seq_oss_synth_info_user() 39 if (copy_to_user(arg, &info, sizeof(info))) in snd_seq_oss_synth_info_user() 44 static int snd_seq_oss_midi_info_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_midi_info_user() argument 48 if (copy_from_user(&info, arg, sizeof(info))) in snd_seq_oss_midi_info_user() 52 if (copy_to_user(arg, &info, sizeof(info))) in snd_seq_oss_midi_info_user() 57 static int snd_seq_oss_oob_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_oob_user() argument 62 if (copy_from_user(ev, arg, 8)) in snd_seq_oss_oob_user() 77 void __user *arg = (void __user *)carg; in snd_seq_oss_ioctl() local 78 int __user *p = arg; in snd_seq_oss_ioctl() [all …]
|
D | seq_oss_synth.c | 230 info->arg.app_index = dp->port; in snd_seq_oss_synth_setup() 231 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup() 232 info->arg.seq_mode = dp->seq_mode; in snd_seq_oss_synth_setup() 234 info->arg.event_passing = SNDRV_SEQ_OSS_PROCESS_EVENTS; in snd_seq_oss_synth_setup() 236 info->arg.event_passing = SNDRV_SEQ_OSS_PASS_EVENTS; in snd_seq_oss_synth_setup() 242 if (rec->oper.open(&info->arg, rec->private_data) < 0) { in snd_seq_oss_synth_setup() 251 rec->oper.close(&info->arg); in snd_seq_oss_synth_setup() 283 info->arg.app_index = dp->port; in snd_seq_oss_synth_setup_midi() 284 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup_midi() 285 info->arg.seq_mode = dp->seq_mode; in snd_seq_oss_synth_setup_midi() [all …]
|
/linux-4.4.14/arch/x86/mm/ |
D | pgtable_32.c | 70 static int __init parse_vmalloc(char *arg) in parse_vmalloc() argument 72 if (!arg) in parse_vmalloc() 76 __VMALLOC_RESERVE = memparse(arg, &arg) + VMALLOC_OFFSET; in parse_vmalloc() 86 static int __init parse_reservetop(char *arg) in parse_reservetop() argument 90 if (!arg) in parse_reservetop() 93 address = memparse(arg, &arg); in parse_reservetop()
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_hwdep.c | 34 struct hda_verb_ioctl __user *arg) in verb_write_ioctl() argument 38 if (get_user(verb, &arg->verb)) in verb_write_ioctl() 42 if (put_user(res, &arg->res)) in verb_write_ioctl() 48 struct hda_verb_ioctl __user *arg) in get_wcap_ioctl() argument 52 if (get_user(verb, &arg->verb)) in get_wcap_ioctl() 55 if (put_user(res, &arg->res)) in get_wcap_ioctl() 64 unsigned int cmd, unsigned long arg) in hda_hwdep_ioctl() argument 67 void __user *argp = (void __user *)arg; in hda_hwdep_ioctl() 82 unsigned int cmd, unsigned long arg) in hda_hwdep_ioctl_compat() argument 84 return hda_hwdep_ioctl(hw, file, cmd, (unsigned long)compat_ptr(arg)); in hda_hwdep_ioctl_compat()
|
/linux-4.4.14/drivers/atm/ |
D | uPD98402.c | 40 static int fetch_stats(struct atm_dev *dev,struct sonet_stats __user *arg,int zero) in fetch_stats() argument 47 if (arg) error = copy_to_user(arg,&tmp,sizeof(tmp)); in fetch_stats() 86 static int get_sense(struct atm_dev *dev,u8 __user *arg) in get_sense() argument 96 return (put_user(s[0], arg) || put_user(s[1], arg+1) || in get_sense() 97 put_user(s[2], arg+2) || put_user(0xff, arg+3) || in get_sense() 98 put_user(0xff, arg+4) || put_user(0xff, arg+5)) ? -EFAULT : 0; in get_sense() 135 static int uPD98402_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) in uPD98402_ioctl() argument 141 return fetch_stats(dev,arg, cmd == SONET_GETSTATZ); in uPD98402_ioctl() 143 return set_framing(dev, (int)(unsigned long)arg); in uPD98402_ioctl() 145 return put_user(PRIV(dev)->framing,(int __user *)arg) ? in uPD98402_ioctl() [all …]
|
D | suni.c | 95 static int fetch_stats(struct atm_dev *dev,struct sonet_stats __user *arg,int zero) in fetch_stats() argument 101 if (arg) error = copy_to_user(arg,&tmp,sizeof(tmp)); in fetch_stats() 115 static int change_diag(struct atm_dev *dev,void __user *arg,int set) in change_diag() argument 119 if (get_user(todo,(int __user *)arg)) return -EFAULT; in change_diag() 128 return put_user(todo,(int __user *)arg) ? -EFAULT : 0; in change_diag() 135 static int get_diag(struct atm_dev *dev,void __user *arg) in get_diag() argument 148 return put_user(set,(int __user *)arg) ? -EFAULT : 0; in get_diag() 224 static int get_framing(struct atm_dev *dev, void __user *arg) in get_framing() argument 236 return put_user(framing, (int __user *) arg) ? -EFAULT : 0; in get_framing() 239 static int set_framing(struct atm_dev *dev, void __user *arg) in set_framing() argument [all …]
|
/linux-4.4.14/arch/powerpc/platforms/44x/ |
D | warp.c | 108 void (*func)(void *arg); 109 void *arg; member 113 int pika_dtm_register_shutdown(void (*func)(void *arg), void *arg) in pika_dtm_register_shutdown() argument 122 shutdown->arg = arg; in pika_dtm_register_shutdown() 129 int pika_dtm_unregister_shutdown(void (*func)(void *arg), void *arg) in pika_dtm_unregister_shutdown() argument 134 if (shutdown->func == func && shutdown->arg == arg) { in pika_dtm_unregister_shutdown() 154 shutdown->func(shutdown->arg); in temp_isr() 305 int pika_dtm_register_shutdown(void (*func)(void *arg), void *arg) in pika_dtm_register_shutdown() argument 310 int pika_dtm_unregister_shutdown(void (*func)(void *arg), void *arg) in pika_dtm_unregister_shutdown() argument
|
/linux-4.4.14/arch/mips/netlogic/xlr/ |
D | setup.c | 105 char *arg; in build_arcs_cmdline() local 110 arg = (char *)(long)argv[i]; in build_arcs_cmdline() 111 len = strlen(arg); in build_arcs_cmdline() 114 strcat(arcs_cmdline, arg); in build_arcs_cmdline() 121 arg = "console=ttyS0,38400 "; in build_arcs_cmdline() 122 len = strlen(arg); in build_arcs_cmdline() 125 strcat(arcs_cmdline, arg); in build_arcs_cmdline() 130 arg = "rdinit=/sbin/init "; in build_arcs_cmdline() 131 len = strlen(arg); in build_arcs_cmdline() 134 strcat(arcs_cmdline, arg); in build_arcs_cmdline() [all …]
|
/linux-4.4.14/fs/nfs/ |
D | nfs3proc.c | 124 struct nfs3_sattrargs arg = { in nfs3_proc_setattr() local 130 .rpc_argp = &arg, in nfs3_proc_setattr() 151 struct nfs3_diropargs arg = { in nfs3_proc_lookup() local 162 .rpc_argp = &arg, in nfs3_proc_lookup() 188 struct nfs3_accessargs arg = { in nfs3_proc_access() local 194 .rpc_argp = &arg, in nfs3_proc_access() 204 arg.access |= NFS3_ACCESS_READ; in nfs3_proc_access() 207 arg.access |= NFS3_ACCESS_MODIFY | NFS3_ACCESS_EXTEND | NFS3_ACCESS_DELETE; in nfs3_proc_access() 209 arg.access |= NFS3_ACCESS_LOOKUP; in nfs3_proc_access() 212 arg.access |= NFS3_ACCESS_MODIFY | NFS3_ACCESS_EXTEND; in nfs3_proc_access() [all …]
|
D | proc.c | 122 struct nfs_sattrargs arg = { in nfs_proc_setattr() local 128 .rpc_argp = &arg, in nfs_proc_setattr() 152 struct nfs_diropargs arg = { in nfs_proc_lookup() local 163 .rpc_argp = &arg, in nfs_proc_lookup() 197 struct nfs_createargs arg; member 211 data->arg.fh = NFS_FH(dir); in nfs_alloc_createdata() 212 data->arg.name = dentry->d_name.name; in nfs_alloc_createdata() 213 data->arg.len = dentry->d_name.len; in nfs_alloc_createdata() 214 data->arg.sattr = sattr; in nfs_alloc_createdata() 242 msg.rpc_argp = &data->arg; in nfs_proc_create() [all …]
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_ioc32.c | 88 unsigned long arg) in compat_drm_version() argument 94 if (copy_from_user(&v32, (void __user *)arg, sizeof(v32))) in compat_drm_version() 124 if (copy_to_user((void __user *)arg, &v32, sizeof(v32))) in compat_drm_version() 135 unsigned long arg) in compat_drm_getunique() argument 141 if (copy_from_user(&uq32, (void __user *)arg, sizeof(uq32))) in compat_drm_getunique() 158 if (copy_to_user((void __user *)arg, &uq32, sizeof(uq32))) in compat_drm_getunique() 164 unsigned long arg) in compat_drm_setunique() argument 169 if (copy_from_user(&uq32, (void __user *)arg, sizeof(uq32))) in compat_drm_setunique() 193 unsigned long arg) in compat_drm_getmap() argument 195 drm_map32_t __user *argp = (void __user *)arg; in compat_drm_getmap() [all …]
|
/linux-4.4.14/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 45 struct ptrace_peeksiginfo_args arg; in check_error_paths() local 67 arg.nr = SIGNR; in check_error_paths() 68 arg.off = 0; in check_error_paths() 71 arg.flags = ~0; in check_error_paths() 72 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, addr_rw); in check_error_paths() 79 arg.flags = 0; in check_error_paths() 82 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, in check_error_paths() 90 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, addr_ro); in check_error_paths() 106 struct ptrace_peeksiginfo_args arg = {.flags = 0, .nr = nr, .off = 0}; in check_direct_path() local 112 arg.flags = PTRACE_PEEKSIGINFO_SHARED; in check_direct_path() [all …]
|
/linux-4.4.14/kernel/irq/ |
D | msi.c | 102 unsigned int nr_irqs, void *arg) in msi_domain_alloc() argument 106 irq_hw_number_t hwirq = ops->get_hwirq(info, arg); in msi_domain_alloc() 112 ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); in msi_domain_alloc() 117 ret = ops->msi_init(domain, info, virq + i, hwirq + i, arg); in msi_domain_alloc() 153 msi_alloc_info_t *arg) in msi_domain_ops_get_hwirq() argument 155 return arg->hwirq; in msi_domain_ops_get_hwirq() 159 int nvec, msi_alloc_info_t *arg) in msi_domain_ops_prepare() argument 161 memset(arg, 0, sizeof(*arg)); in msi_domain_ops_prepare() 165 static void msi_domain_ops_set_desc(msi_alloc_info_t *arg, in msi_domain_ops_set_desc() argument 168 arg->desc = desc; in msi_domain_ops_set_desc() [all …]
|
/linux-4.4.14/arch/cris/include/asm/ |
D | etraxi2c.h | 19 #define I2C_ARGSLAVE(arg) ((arg) >> 16) argument 20 #define I2C_ARGREG(arg) (((arg) >> 8) & 0xff) argument 21 #define I2C_ARGVALUE(arg) ((arg) & 0xff) argument
|
/linux-4.4.14/net/sunrpc/xprtrdma/ |
D | svc_rdma_recvfrom.c | 145 head->arg.pages[pg_no] = rqstp->rq_arg.pages[pg_no]; in rdma_read_chunk_lcl() 146 head->arg.page_len += len; in rdma_read_chunk_lcl() 147 head->arg.len += len; in rdma_read_chunk_lcl() 154 head->arg.pages[pg_no], pg_off, in rdma_read_chunk_lcl() 248 head->arg.pages[pg_no] = rqstp->rq_arg.pages[pg_no]; in rdma_read_chunk_frmr() 249 head->arg.page_len += len; in rdma_read_chunk_frmr() 250 head->arg.len += len; in rdma_read_chunk_frmr() 378 srcp = head->arg.head[0].iov_base + position; in rdma_copy_tail() 379 byte_count = head->arg.head[0].iov_len - position; in rdma_copy_tail() 409 byte_count = head->arg.head[0].iov_len - position; in rdma_copy_tail() [all …]
|
/linux-4.4.14/arch/arm/kernel/ |
D | smp_tlb.c | 33 static inline void ipi_flush_tlb_mm(void *arg) in ipi_flush_tlb_mm() argument 35 struct mm_struct *mm = (struct mm_struct *)arg; in ipi_flush_tlb_mm() 40 static inline void ipi_flush_tlb_page(void *arg) in ipi_flush_tlb_page() argument 42 struct tlb_args *ta = (struct tlb_args *)arg; in ipi_flush_tlb_page() 47 static inline void ipi_flush_tlb_kernel_page(void *arg) in ipi_flush_tlb_kernel_page() argument 49 struct tlb_args *ta = (struct tlb_args *)arg; in ipi_flush_tlb_kernel_page() 54 static inline void ipi_flush_tlb_range(void *arg) in ipi_flush_tlb_range() argument 56 struct tlb_args *ta = (struct tlb_args *)arg; in ipi_flush_tlb_range() 61 static inline void ipi_flush_tlb_kernel_range(void *arg) in ipi_flush_tlb_kernel_range() argument 63 struct tlb_args *ta = (struct tlb_args *)arg; in ipi_flush_tlb_kernel_range() [all …]
|
/linux-4.4.14/arch/x86/tools/ |
D | relocs_common.c | 34 char *arg = argv[i]; in main() local 35 if (*arg == '-') { in main() 36 if (strcmp(arg, "--abs-syms") == 0) { in main() 40 if (strcmp(arg, "--abs-relocs") == 0) { in main() 44 if (strcmp(arg, "--reloc-info") == 0) { in main() 48 if (strcmp(arg, "--text") == 0) { in main() 52 if (strcmp(arg, "--realmode") == 0) { in main() 58 fname = arg; in main()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000/ |
D | e1000.h | 338 #define e_dbg(format, arg...) \ argument 339 netdev_dbg(e1000_get_hw_dev(hw), format, ## arg) 340 #define e_err(msglvl, format, arg...) \ argument 341 netif_err(adapter, msglvl, adapter->netdev, format, ## arg) 342 #define e_info(msglvl, format, arg...) \ argument 343 netif_info(adapter, msglvl, adapter->netdev, format, ## arg) 344 #define e_warn(msglvl, format, arg...) \ argument 345 netif_warn(adapter, msglvl, adapter->netdev, format, ## arg) 346 #define e_notice(msglvl, format, arg...) \ argument 347 netif_notice(adapter, msglvl, adapter->netdev, format, ## arg) [all …]
|
/linux-4.4.14/arch/um/kernel/skas/ |
D | uaccess.c | 60 int (*op)(unsigned long addr, int len, void *arg), void *arg) in do_op_one_page() argument 79 n = (*op)(addr, len, arg); in do_op_one_page() 91 int (*op)(unsigned long, int, void *), void *arg) in buffer_op() argument 98 n = do_op_one_page(addr, size, is_write, op, arg); in buffer_op() 110 n = do_op_one_page(addr, PAGE_SIZE, is_write, op, arg); in buffer_op() 122 n = do_op_one_page(addr, remain, is_write, op, arg); in buffer_op() 133 static int copy_chunk_from_user(unsigned long from, int len, void *arg) in copy_chunk_from_user() argument 135 unsigned long *to_ptr = arg, to = *to_ptr; in copy_chunk_from_user() 153 static int copy_chunk_to_user(unsigned long to, int len, void *arg) in copy_chunk_to_user() argument 155 unsigned long *from_ptr = arg, from = *from_ptr; in copy_chunk_to_user() [all …]
|
/linux-4.4.14/arch/arm/include/asm/xen/ |
D | hypercall.h | 42 int HYPERVISOR_xen_version(int cmd, void *arg); 45 int HYPERVISOR_sched_op(int cmd, void *arg); 46 int HYPERVISOR_event_channel_op(int cmd, void *arg); 47 unsigned long HYPERVISOR_hvm_op(int op, void *arg); 48 int HYPERVISOR_memory_op(unsigned int cmd, void *arg); 49 int HYPERVISOR_physdev_op(int cmd, void *arg); 51 int HYPERVISOR_tmem_op(void *arg);
|
/linux-4.4.14/arch/mips/mm/ |
D | uasm.c | 71 static inline u32 build_rs(u32 arg) in build_rs() argument 73 WARN(arg & ~RS_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_rs() 75 return (arg & RS_MASK) << RS_SH; in build_rs() 78 static inline u32 build_rt(u32 arg) in build_rt() argument 80 WARN(arg & ~RT_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_rt() 82 return (arg & RT_MASK) << RT_SH; in build_rt() 85 static inline u32 build_rd(u32 arg) in build_rd() argument 87 WARN(arg & ~RD_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_rd() 89 return (arg & RD_MASK) << RD_SH; in build_rd() 92 static inline u32 build_re(u32 arg) in build_re() argument [all …]
|
/linux-4.4.14/net/atm/ |
D | ioctl.c | 51 unsigned long arg, int compat) in do_vcc_ioctl() argument 57 void __user *argp = (void __user *)arg; in do_vcc_ioctl() 169 error = ic->ioctl(sock, cmd, arg); in do_vcc_ioctl() 186 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in vcc_ioctl() argument 188 return do_vcc_ioctl(sock, cmd, arg, 0); in vcc_ioctl() 246 unsigned long arg) in do_atm_iobuf() argument 255 iobuf32 = compat_ptr(arg); in do_atm_iobuf() 277 unsigned long arg) in do_atmif_sioc() argument 286 sioc32 = compat_ptr(arg); in do_atmif_sioc() 289 get_user(data, &sioc32->arg)) in do_atmif_sioc() [all …]
|
/linux-4.4.14/kernel/ |
D | stop_machine.c | 121 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument 124 struct cpu_stop_work work = { .fn = fn, .arg = arg, .done = &done }; in stop_one_cpu() 255 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() argument 264 .data = arg, in stop_two_cpus() 271 .arg = &msdata, in stop_two_cpus() 306 void stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument 309 *work_buf = (struct cpu_stop_work){ .fn = fn, .arg = arg, }; in stop_one_cpu_nowait() 317 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work() argument 332 work->arg = arg; in queue_stop_cpus_work() 340 cpu_stop_fn_t fn, void *arg) in __stop_cpus() argument [all …]
|
D | crash_dump.c | 34 static int __init setup_elfcorehdr(char *arg) in setup_elfcorehdr() argument 37 if (!arg) in setup_elfcorehdr() 39 elfcorehdr_addr = memparse(arg, &end); in setup_elfcorehdr() 44 return end > arg ? 0 : -EINVAL; in setup_elfcorehdr()
|
D | params.c | 127 void *arg, in parse_one() argument 129 const char *doing, void *arg)) in parse_one() 156 return handle_unknown(param, val, doing, arg); in parse_one() 222 void *arg, in parse_args() argument 224 const char *doing, void *arg)) in parse_args() 244 min_level, max_level, arg, unknown); in parse_args() 275 return strtolfn(val, 0, (type *)kp->arg); \ 280 *((type *)kp->arg)); \ 307 maybe_kfree_parameter(*(char **)kp->arg); in param_set_charp() 312 *(char **)kp->arg = kmalloc_parameter(strlen(val)+1); in param_set_charp() [all …]
|
/linux-4.4.14/drivers/tty/vt/ |
D | vt_ioctl.c | 335 unsigned int cmd, unsigned long arg) in vt_ioctl() argument 342 void __user *up = (void __user *)arg; in vt_ioctl() 365 ret = tioclinux(tty, arg); in vt_ioctl() 376 if (arg) in vt_ioctl() 377 arg = PIT_TICK_RATE / arg; in vt_ioctl() 378 kd_mksound(arg, 0); in vt_ioctl() 391 ticks = msecs_to_jiffies((arg >> 16) & 0xffff); in vt_ioctl() 392 count = ticks ? (arg & 0xffff) : 0; in vt_ioctl() 404 ret = put_user(ucval, (char __user *)arg); in vt_ioctl() 422 if (arg < GPFIRST || arg > GPLAST) { in vt_ioctl() [all …]
|
/linux-4.4.14/net/bridge/ |
D | br_stp_timer.c | 34 static void br_hello_timer_expired(unsigned long arg) in br_hello_timer_expired() argument 36 struct net_bridge *br = (struct net_bridge *)arg; in br_hello_timer_expired() 50 static void br_message_age_timer_expired(unsigned long arg) in br_message_age_timer_expired() argument 52 struct net_bridge_port *p = (struct net_bridge_port *) arg; in br_message_age_timer_expired() 83 static void br_forward_delay_timer_expired(unsigned long arg) in br_forward_delay_timer_expired() argument 85 struct net_bridge_port *p = (struct net_bridge_port *) arg; in br_forward_delay_timer_expired() 108 static void br_tcn_timer_expired(unsigned long arg) in br_tcn_timer_expired() argument 110 struct net_bridge *br = (struct net_bridge *) arg; in br_tcn_timer_expired() 122 static void br_topology_change_timer_expired(unsigned long arg) in br_topology_change_timer_expired() argument 124 struct net_bridge *br = (struct net_bridge *) arg; in br_topology_change_timer_expired() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_common.h | 198 #define hw_dbg(hw, format, arg...) \ argument 199 netdev_dbg(ixgbe_hw_to_netdev(hw), format, ## arg) 200 #define hw_err(hw, format, arg...) \ argument 201 netdev_err(ixgbe_hw_to_netdev(hw), format, ## arg) 202 #define e_dev_info(format, arg...) \ argument 203 dev_info(&adapter->pdev->dev, format, ## arg) 204 #define e_dev_warn(format, arg...) \ argument 205 dev_warn(&adapter->pdev->dev, format, ## arg) 206 #define e_dev_err(format, arg...) \ argument 207 dev_err(&adapter->pdev->dev, format, ## arg) [all …]
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | adf_ctl_drv.c | 66 static long adf_ctl_ioctl(struct file *fp, unsigned int cmd, unsigned long arg); 130 unsigned long arg) in adf_ctl_alloc_resources() argument 141 if (copy_from_user(cfg_data, (void __user *)arg, sizeof(*cfg_data))) { in adf_ctl_alloc_resources() 225 unsigned long arg) in adf_ctl_ioctl_dev_config() argument 231 ret = adf_ctl_alloc_resources(&ctl_data, arg); in adf_ctl_ioctl_dev_config() 301 unsigned long arg) in adf_ctl_ioctl_dev_stop() argument 306 ret = adf_ctl_alloc_resources(&ctl_data, arg); in adf_ctl_ioctl_dev_stop() 335 unsigned long arg) in adf_ctl_ioctl_dev_start() argument 341 ret = adf_ctl_alloc_resources(&ctl_data, arg); in adf_ctl_ioctl_dev_start() 376 unsigned long arg) in adf_ctl_ioctl_get_num_devices() argument [all …]
|
/linux-4.4.14/net/sched/ |
D | sch_drr.c | 67 struct nlattr **tca, unsigned long *arg) in drr_change_class() argument 70 struct drr_class *cl = (struct drr_class *)*arg; in drr_change_class() 137 *arg = (unsigned long)cl; in drr_change_class() 148 static int drr_delete_class(struct Qdisc *sch, unsigned long arg) in drr_delete_class() argument 151 struct drr_class *cl = (struct drr_class *)arg; in drr_delete_class() 181 static void drr_put_class(struct Qdisc *sch, unsigned long arg) in drr_put_class() argument 183 struct drr_class *cl = (struct drr_class *)arg; in drr_put_class() 211 static void drr_unbind_tcf(struct Qdisc *sch, unsigned long arg) in drr_unbind_tcf() argument 213 struct drr_class *cl = (struct drr_class *)arg; in drr_unbind_tcf() 218 static int drr_graft_class(struct Qdisc *sch, unsigned long arg, in drr_graft_class() argument [all …]
|
D | cls_cgroup.c | 74 unsigned long *arg, bool ovr) in cls_cgroup_change() argument 141 static int cls_cgroup_delete(struct tcf_proto *tp, unsigned long arg) in cls_cgroup_delete() argument 146 static void cls_cgroup_walk(struct tcf_proto *tp, struct tcf_walker *arg) in cls_cgroup_walk() argument 150 if (arg->count < arg->skip) in cls_cgroup_walk() 153 if (arg->fn(tp, (unsigned long) head, arg) < 0) { in cls_cgroup_walk() 154 arg->stop = 1; in cls_cgroup_walk() 158 arg->count++; in cls_cgroup_walk()
|
D | cls_fw.c | 158 static int fw_delete(struct tcf_proto *tp, unsigned long arg) in fw_delete() argument 161 struct fw_filter *f = (struct fw_filter *)arg; in fw_delete() 240 unsigned long *arg, bool ovr) in fw_change() argument 243 struct fw_filter *f = (struct fw_filter *) *arg; in fw_change() 292 *arg = (unsigned long)fnew; in fw_change() 327 *arg = (unsigned long)f; in fw_change() 335 static void fw_walk(struct tcf_proto *tp, struct tcf_walker *arg) in fw_walk() argument 341 arg->stop = 1; in fw_walk() 343 if (arg->stop) in fw_walk() 351 if (arg->count < arg->skip) { in fw_walk() [all …]
|
D | cls_basic.c | 117 static int basic_delete(struct tcf_proto *tp, unsigned long arg) in basic_delete() argument 119 struct basic_filter *f = (struct basic_filter *) arg; in basic_delete() 167 struct nlattr **tca, unsigned long *arg, bool ovr) in basic_change() argument 172 struct basic_filter *fold = (struct basic_filter *) *arg; in basic_change() 217 *arg = (unsigned long)fnew; in basic_change() 233 static void basic_walk(struct tcf_proto *tp, struct tcf_walker *arg) in basic_walk() argument 239 if (arg->count < arg->skip) in basic_walk() 242 if (arg->fn(tp, (unsigned long) f, arg) < 0) { in basic_walk() 243 arg->stop = 1; in basic_walk() 247 arg->count++; in basic_walk()
|
/linux-4.4.14/drivers/isdn/hisax/ |
D | l3_1tr6.c | 44 l3_1tr6_release_req(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_release_req() argument 53 l3_1tr6_invalid(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_invalid() argument 55 struct sk_buff *skb = arg; in l3_1tr6_invalid() 71 l3_1tr6_setup_req(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_setup_req() argument 160 l3_1tr6_setup(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_setup() argument 164 struct sk_buff *skb = arg; in l3_1tr6_setup() 227 l3_1tr6_setup_ack(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_setup_ack() argument 230 struct sk_buff *skb = arg; in l3_1tr6_setup_ack() 255 l3_1tr6_call_sent(struct l3_process *pc, u_char pr, void *arg) in l3_1tr6_call_sent() argument 258 struct sk_buff *skb = arg; in l3_1tr6_call_sent() [all …]
|
D | isdnl2.c | 516 l2_mdl_error_ua(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_ua() argument 518 struct sk_buff *skb = arg; in l2_mdl_error_ua() 528 l2_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_dm() argument 530 struct sk_buff *skb = arg; in l2_mdl_error_dm() 543 l2_st8_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_st8_mdl_error_dm() argument 545 struct sk_buff *skb = arg; in l2_st8_mdl_error_dm() 558 l2_go_st3(struct FsmInst *fi, int event, void *arg) in l2_go_st3() argument 564 l2_mdl_assign(struct FsmInst *fi, int event, void *arg) in l2_mdl_assign() argument 573 l2_queue_ui_assign(struct FsmInst *fi, int event, void *arg) in l2_queue_ui_assign() argument 576 struct sk_buff *skb = arg; in l2_queue_ui_assign() [all …]
|
D | callc.c | 180 ic.arg = chanp->chan; in HL_LL() 195 ic.arg = chanp->chan; in lli_deliver_cause() 216 lli_leased_in(struct FsmInst *fi, int event, void *arg) in lli_leased_in() argument 230 ic.arg = chanp->chan; in lli_leased_in() 251 lli_init_bchan_out(struct FsmInst *fi, int event, void *arg) in lli_init_bchan_out() argument 264 lli_prep_dialout(struct FsmInst *fi, int event, void *arg) in lli_prep_dialout() argument 274 lli_init_bchan_out(fi, event, arg); in lli_prep_dialout() 282 lli_resume(struct FsmInst *fi, int event, void *arg) in lli_resume() argument 292 lli_init_bchan_out(fi, event, arg); in lli_resume() 300 lli_go_active(struct FsmInst *fi, int event, void *arg) in lli_go_active() argument [all …]
|
D | isdnl1.c | 458 l1_reset(struct FsmInst *fi, int event, void *arg) in l1_reset() argument 464 l1_deact_cnf(struct FsmInst *fi, int event, void *arg) in l1_deact_cnf() argument 474 l1_deact_req_s(struct FsmInst *fi, int event, void *arg) in l1_deact_req_s() argument 484 l1_power_up_s(struct FsmInst *fi, int event, void *arg) in l1_power_up_s() argument 498 l1_go_F5(struct FsmInst *fi, int event, void *arg) in l1_go_F5() argument 504 l1_go_F8(struct FsmInst *fi, int event, void *arg) in l1_go_F8() argument 510 l1_info2_ind(struct FsmInst *fi, int event, void *arg) in l1_info2_ind() argument 524 l1_info4_ind(struct FsmInst *fi, int event, void *arg) in l1_info4_ind() argument 546 l1_timer3(struct FsmInst *fi, int event, void *arg) in l1_timer3() argument 564 l1_timer_act(struct FsmInst *fi, int event, void *arg) in l1_timer_act() argument [all …]
|
D | st5481_d.c | 56 static inline void D_L1L2(struct st5481_adapter *adapter, int pr, void *arg) in D_L1L2() argument 60 ifc->l1l2(ifc, pr, arg); in D_L1L2() 64 l1_go_f3(struct FsmInst *fi, int event, void *arg) in l1_go_f3() argument 76 l1_go_f6(struct FsmInst *fi, int event, void *arg) in l1_go_f6() argument 87 l1_go_f7(struct FsmInst *fi, int event, void *arg) in l1_go_f7() argument 98 l1_go_f8(struct FsmInst *fi, int event, void *arg) in l1_go_f8() argument 109 l1_timer3(struct FsmInst *fi, int event, void *arg) in l1_timer3() argument 119 l1_ignore(struct FsmInst *fi, int event, void *arg) in l1_ignore() argument 124 l1_activate(struct FsmInst *fi, int event, void *arg) in l1_activate() argument 408 static void dout_start_xmit(struct FsmInst *fsm, int event, void *arg) in dout_start_xmit() argument [all …]
|
D | fsm.c | 52 FsmEvent(struct FsmInst *fi, int event, void *arg) in FsmEvent() argument 67 r(fi, event, arg); in FsmEvent() 94 FsmEvent(ft->fi, ft->event, ft->arg); in FsmExpireTimer() 122 int millisec, int event, void *arg, int where) in FsmAddTimer() argument 138 ft->arg = arg; in FsmAddTimer() 146 int millisec, int event, void *arg, int where) in FsmRestartTimer() argument 159 ft->arg = arg; in FsmRestartTimer()
|
D | l3ni1.c | 141 ic.arg = NI1_STAT_INVOKE_RES; in l3ni1_dummy_return_result() 174 ic.arg = NI1_STAT_INVOKE_ERR; in l3ni1_dummy_error_return() 208 ic.arg = NI1_STAT_INVOKE_BRD; in l3ni1_dummy_invoke() 483 l3ni1_status_send(struct l3_process *pc, u_char pr, void *arg) in l3ni1_status_send() argument 509 l3ni1_msg_without_setup(struct l3_process *pc, u_char pr, void *arg) in l3ni1_msg_without_setup() argument 746 l3ni1_check_messagetype_validity(struct l3_process *pc, int mt, void *arg) in l3ni1_check_messagetype_validity() argument 902 l3ni1_release_req(struct l3_process *pc, u_char pr, void *arg) in l3ni1_release_req() argument 914 l3ni1_release_cmpl(struct l3_process *pc, u_char pr, void *arg) in l3ni1_release_cmpl() argument 916 struct sk_buff *skb = arg; in l3ni1_release_cmpl() 1171 void *arg) in l3ni1_setup_req() argument [all …]
|
D | l3dss1.c | 142 ic.arg = DSS1_STAT_INVOKE_RES; in l3dss1_dummy_return_result() 175 ic.arg = DSS1_STAT_INVOKE_ERR; in l3dss1_dummy_error_return() 209 ic.arg = DSS1_STAT_INVOKE_BRD; in l3dss1_dummy_invoke() 533 l3dss1_status_send(struct l3_process *pc, u_char pr, void *arg) in l3dss1_status_send() argument 559 l3dss1_msg_without_setup(struct l3_process *pc, u_char pr, void *arg) in l3dss1_msg_without_setup() argument 796 l3dss1_check_messagetype_validity(struct l3_process *pc, int mt, void *arg) in l3dss1_check_messagetype_validity() argument 952 l3dss1_release_req(struct l3_process *pc, u_char pr, void *arg) in l3dss1_release_req() argument 964 l3dss1_release_cmpl(struct l3_process *pc, u_char pr, void *arg) in l3dss1_release_cmpl() argument 966 struct sk_buff *skb = arg; in l3dss1_release_cmpl() 1221 void *arg) in l3dss1_setup_req() argument [all …]
|
D | tei.c | 127 tei_id_request(struct FsmInst *fi, int event, void *arg) in tei_id_request() argument 148 tei_id_assign(struct FsmInst *fi, int event, void *arg) in tei_id_assign() argument 151 struct sk_buff *skb = arg; in tei_id_assign() 176 tei_id_test_dup(struct FsmInst *fi, int event, void *arg) in tei_id_test_dup() argument 179 struct sk_buff *skb = arg; in tei_id_test_dup() 197 tei_id_denied(struct FsmInst *fi, int event, void *arg) in tei_id_denied() argument 200 struct sk_buff *skb = arg; in tei_id_denied() 211 tei_id_chk_req(struct FsmInst *fi, int event, void *arg) in tei_id_chk_req() argument 214 struct sk_buff *skb = arg; in tei_id_chk_req() 229 tei_id_remove(struct FsmInst *fi, int event, void *arg) in tei_id_remove() argument [all …]
|
/linux-4.4.14/drivers/isdn/mISDN/ |
D | layer2.c | 164 l2up_create(struct layer2 *l2, u_int prim, int len, void *arg) in l2up_create() argument 179 memcpy(skb_put(skb, len), arg, len); in l2up_create() 225 l2down_create(struct layer2 *l2, u_int prim, u_int id, int len, void *arg) in l2down_create() argument 238 memcpy(skb_put(skb, len), arg, len); in l2down_create() 287 l2_timeout(struct FsmInst *fi, int event, void *arg) in l2_timeout() argument 312 l2mgr(struct layer2 *l2, u_int prim, void *arg) { in l2mgr() argument 313 long c = (long)arg; in l2mgr() 324 l2_tei(l2, prim, (u_long)arg); in l2mgr() 723 l2_mdl_error_ua(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_ua() argument 725 struct sk_buff *skb = arg; in l2_mdl_error_ua() [all …]
|
D | fsm.c | 59 mISDN_FsmEvent(struct FsmInst *fi, int event, void *arg) in mISDN_FsmEvent() argument 77 r(fi, event, arg); in mISDN_FsmEvent() 106 mISDN_FsmEvent(ft->fi, ft->event, ft->arg); in FsmExpireTimer() 137 int millisec, int event, void *arg, int where) in mISDN_FsmAddTimer() argument 157 ft->arg = arg; in mISDN_FsmAddTimer() 166 int millisec, int event, void *arg, int where) in mISDN_FsmRestartTimer() argument 179 ft->arg = arg; in mISDN_FsmRestartTimer()
|
/linux-4.4.14/scripts/dtc/ |
D | fdtput.c | 70 static int encode_value(struct display_info *disp, char **arg, int arg_count, in encode_value() argument 89 for (; arg_count > 0; arg++, arg_count--, upto += len) { in encode_value() 92 len = strlen(*arg) + 1; in encode_value() 109 memcpy(ptr, *arg, len); in encode_value() 114 sscanf(*arg, fmt, &ival); in encode_value() 236 char **arg, int arg_count) in do_fdtput() argument 253 if (disp->auto_path && create_paths(blob, *arg)) in do_fdtput() 255 if (encode_value(disp, arg + 2, arg_count - 2, &value, &len) || in do_fdtput() 256 store_key_value(blob, *arg, arg[1], value, len)) in do_fdtput() 260 for (; ret >= 0 && arg_count--; arg++) { in do_fdtput() [all …]
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_ioctl.c | 172 static int scsi_ioctl_get_pci(struct scsi_device *sdev, void __user *arg) in scsi_ioctl_get_pci() argument 184 return copy_to_user(arg, name, min(strlen(name), (size_t)20)) in scsi_ioctl_get_pci() 199 int scsi_ioctl(struct scsi_device *sdev, int cmd, void __user *arg) in scsi_ioctl() argument 221 if (!access_ok(VERIFY_WRITE, arg, sizeof(struct scsi_idlun))) in scsi_ioctl() 228 &((struct scsi_idlun __user *)arg)->dev_id); in scsi_ioctl() 230 &((struct scsi_idlun __user *)arg)->host_unique_id); in scsi_ioctl() 233 return put_user(sdev->host->host_no, (int __user *)arg); in scsi_ioctl() 235 return ioctl_probe(sdev->host, arg); in scsi_ioctl() 239 return sg_scsi_ioctl(sdev->request_queue, NULL, 0, arg); in scsi_ioctl() 262 return scsi_ioctl_get_pci(sdev, arg); in scsi_ioctl() [all …]
|
/linux-4.4.14/drivers/mmc/core/ |
D | sdio_ops.c | 30 cmd.arg = ocr; in mmc_send_io_op_cond() 82 cmd.arg = write ? 0x80000000 : 0x00000000; in mmc_io_rw_direct_host() 83 cmd.arg |= fn << 28; in mmc_io_rw_direct_host() 84 cmd.arg |= (write && out) ? 0x08000000 : 0x00000000; in mmc_io_rw_direct_host() 85 cmd.arg |= addr << 9; in mmc_io_rw_direct_host() 86 cmd.arg |= in; in mmc_io_rw_direct_host() 144 cmd.arg = write ? 0x80000000 : 0x00000000; in mmc_io_rw_extended() 145 cmd.arg |= fn << 28; in mmc_io_rw_extended() 146 cmd.arg |= incr_addr ? 0x04000000 : 0x00000000; in mmc_io_rw_extended() 147 cmd.arg |= addr << 9; in mmc_io_rw_extended() [all …]
|
D | sd_ops.c | 36 cmd.arg = card->rca << 16; in mmc_app_cmd() 39 cmd.arg = 0; in mmc_app_cmd() 134 cmd.arg = SD_BUS_WIDTH_1; in mmc_app_set_bus_width() 137 cmd.arg = SD_BUS_WIDTH_4; in mmc_app_set_bus_width() 159 cmd.arg = ocr & (1 << 30); /* SPI only defines one bit */ in mmc_send_app_op_cond() 161 cmd.arg = ocr; in mmc_send_app_op_cond() 209 cmd.arg = ((ocr & 0xFF8000) != 0) << 8 | test_pattern; in mmc_send_if_cond() 236 cmd.arg = 0; in mmc_send_relative_addr() 278 cmd.arg = 0; in mmc_app_send_scr() 327 cmd.arg = mode << 31 | 0x00FFFFFF; in mmc_sd_switch() [all …]
|
/linux-4.4.14/fs/ext2/ |
D | ioctl.c | 20 long ext2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in ext2_ioctl() argument 28 ext2_debug ("cmd = %u, arg = %lu\n", cmd, arg); in ext2_ioctl() 34 return put_user(flags, (int __user *) arg); in ext2_ioctl() 47 if (get_user(flags, (int __user *) arg)) { in ext2_ioctl() 91 return put_user(inode->i_generation, (int __user *) arg); in ext2_ioctl() 100 if (get_user(generation, (int __user *) arg)) { in ext2_ioctl() 120 return put_user(rsv_window_size, (int __user *)arg); in ext2_ioctl() 131 if (get_user(rsv_window_size, (int __user *)arg)) in ext2_ioctl() 167 long ext2_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ext2_compat_ioctl() argument 186 return ext2_ioctl(file, cmd, (unsigned long) compat_ptr(arg)); in ext2_compat_ioctl()
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | smp.c | 447 static void ipi_flush_tlb_all(void *arg) in ipi_flush_tlb_all() argument 457 static void ipi_flush_tlb_mm(void *arg) in ipi_flush_tlb_mm() argument 459 local_flush_tlb_mm(arg); in ipi_flush_tlb_mm() 467 static void ipi_flush_tlb_page(void *arg) in ipi_flush_tlb_page() argument 469 struct flush_data *fd = arg; in ipi_flush_tlb_page() 482 static void ipi_flush_tlb_range(void *arg) in ipi_flush_tlb_range() argument 484 struct flush_data *fd = arg; in ipi_flush_tlb_range() 499 static void ipi_flush_tlb_kernel_range(void *arg) in ipi_flush_tlb_kernel_range() argument 501 struct flush_data *fd = arg; in ipi_flush_tlb_kernel_range() 516 static void ipi_flush_cache_all(void *arg) in ipi_flush_cache_all() argument [all …]
|
/linux-4.4.14/drivers/usb/serial/ |
D | digi_acceleport.c | 684 int arg, ret; in digi_set_termios() local 695 arg = -1; in digi_set_termios() 710 case 50: arg = DIGI_BAUD_50; break; in digi_set_termios() 711 case 75: arg = DIGI_BAUD_75; break; in digi_set_termios() 712 case 110: arg = DIGI_BAUD_110; break; in digi_set_termios() 713 case 150: arg = DIGI_BAUD_150; break; in digi_set_termios() 714 case 200: arg = DIGI_BAUD_200; break; in digi_set_termios() 715 case 300: arg = DIGI_BAUD_300; break; in digi_set_termios() 716 case 600: arg = DIGI_BAUD_600; break; in digi_set_termios() 717 case 1200: arg = DIGI_BAUD_1200; break; in digi_set_termios() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | vmap.c | 93 info->arg[0] = nvbios_rd32(bios, vmap + 0x08); in nvbios_vmap_entry_parse() 94 info->arg[1] = nvbios_rd32(bios, vmap + 0x0c); in nvbios_vmap_entry_parse() 95 info->arg[2] = nvbios_rd32(bios, vmap + 0x10); in nvbios_vmap_entry_parse() 102 info->arg[0] = nvbios_rd32(bios, vmap + 0x0a); in nvbios_vmap_entry_parse() 103 info->arg[1] = nvbios_rd32(bios, vmap + 0x0e); in nvbios_vmap_entry_parse() 104 info->arg[2] = nvbios_rd32(bios, vmap + 0x12); in nvbios_vmap_entry_parse() 105 info->arg[3] = nvbios_rd32(bios, vmap + 0x16); in nvbios_vmap_entry_parse() 106 info->arg[4] = nvbios_rd32(bios, vmap + 0x1a); in nvbios_vmap_entry_parse() 107 info->arg[5] = nvbios_rd32(bios, vmap + 0x1e); in nvbios_vmap_entry_parse()
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | comedi_test.c | 183 static void waveform_ai_timer(unsigned long arg) in waveform_ai_timer() argument 185 struct comedi_device *dev = (struct comedi_device *)arg; in waveform_ai_timer() 243 unsigned int arg, limit; in waveform_ai_cmdtest() local 307 arg = cmd->convert_arg; in waveform_ai_cmdtest() 308 arg = min(arg, in waveform_ai_cmdtest() 310 arg = NSEC_PER_USEC * DIV_ROUND_CLOSEST(arg, NSEC_PER_USEC); in waveform_ai_cmdtest() 315 arg = min(arg, limit); in waveform_ai_cmdtest() 317 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, arg); in waveform_ai_cmdtest() 322 arg = cmd->scan_begin_arg; in waveform_ai_cmdtest() 323 arg = min(arg, in waveform_ai_cmdtest() [all …]
|
/linux-4.4.14/drivers/staging/comedi/ |
D | comedi_compat32.c | 91 unsigned long arg) in translated_ioctl() argument 94 return file->f_op->unlocked_ioctl(file, cmd, arg); in translated_ioctl() 100 static int compat_chaninfo(struct file *file, unsigned long arg) in compat_chaninfo() argument 110 chaninfo32 = compat_ptr(arg); in compat_chaninfo() 134 static int compat_rangeinfo(struct file *file, unsigned long arg) in compat_rangeinfo() argument 144 rangeinfo32 = compat_ptr(arg); in compat_rangeinfo() 268 static int compat_cmd(struct file *file, unsigned long arg) in compat_cmd() argument 274 cmd32 = compat_ptr(arg); in compat_cmd() 293 static int compat_cmdtest(struct file *file, unsigned long arg) in compat_cmdtest() argument 299 cmd32 = compat_ptr(arg); in compat_cmdtest() [all …]
|
/linux-4.4.14/drivers/s390/net/ |
D | ctcm_fsms.c | 131 static void ctcm_action_nop(fsm_instance *fi, int event, void *arg); 137 static void chx_txdone(fsm_instance *fi, int event, void *arg); 138 static void chx_rx(fsm_instance *fi, int event, void *arg); 139 static void chx_rxidle(fsm_instance *fi, int event, void *arg); 140 static void chx_firstio(fsm_instance *fi, int event, void *arg); 141 static void ctcm_chx_setmode(fsm_instance *fi, int event, void *arg); 142 static void ctcm_chx_start(fsm_instance *fi, int event, void *arg); 143 static void ctcm_chx_haltio(fsm_instance *fi, int event, void *arg); 144 static void ctcm_chx_stopped(fsm_instance *fi, int event, void *arg); 145 static void ctcm_chx_stop(fsm_instance *fi, int event, void *arg); [all …]
|
/linux-4.4.14/arch/x86/include/asm/xen/ |
D | hypercall.h | 280 HYPERVISOR_callback_op(int cmd, void *arg) in HYPERVISOR_callback_op() argument 282 return _hypercall2(int, callback_op, cmd, arg); in HYPERVISOR_callback_op() 292 HYPERVISOR_sched_op(int cmd, void *arg) in HYPERVISOR_sched_op() argument 294 return _hypercall2(int, sched_op, cmd, arg); in HYPERVISOR_sched_op() 340 HYPERVISOR_memory_op(unsigned int cmd, void *arg) in HYPERVISOR_memory_op() argument 342 return _hypercall2(long, memory_op, cmd, arg); in HYPERVISOR_memory_op() 365 HYPERVISOR_event_channel_op(int cmd, void *arg) in HYPERVISOR_event_channel_op() argument 367 int rc = _hypercall2(int, event_channel_op, cmd, arg); in HYPERVISOR_event_channel_op() 369 rc = xen_event_channel_op_compat(cmd, arg); in HYPERVISOR_event_channel_op() 374 HYPERVISOR_xen_version(int cmd, void *arg) in HYPERVISOR_xen_version() argument [all …]
|
/linux-4.4.14/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-log.h | 46 #define intel_pt_log_packet(arg, ...) \ argument 49 __intel_pt_log_packet(arg, ##__VA_ARGS__); \ 52 #define intel_pt_log_insn(arg, ...) \ argument 55 __intel_pt_log_insn(arg, ##__VA_ARGS__); \ 58 #define intel_pt_log_insn_no_data(arg, ...) \ argument 61 __intel_pt_log_insn_no_data(arg, ##__VA_ARGS__); \
|
/linux-4.4.14/drivers/gpu/drm/r128/ |
D | r128_ioc32.c | 63 unsigned long arg) in compat_r128_init() argument 68 if (copy_from_user(&init32, (void __user *)arg, sizeof(init32))) in compat_r128_init() 111 unsigned long arg) in compat_r128_depth() argument 116 if (copy_from_user(&depth32, (void __user *)arg, sizeof(depth32))) in compat_r128_depth() 140 unsigned long arg) in compat_r128_stipple() argument 145 if (copy_from_user(&stipple32, (void __user *)arg, sizeof(stipple32))) in compat_r128_stipple() 163 unsigned long arg) in compat_r128_getparam() argument 168 if (copy_from_user(&getparam32, (void __user *)arg, sizeof(getparam32))) in compat_r128_getparam() 197 long r128_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in r128_compat_ioctl() argument 204 return drm_compat_ioctl(filp, cmd, arg); in r128_compat_ioctl() [all …]
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | kgdb.c | 157 unsigned long arg; in kgdb_arch_do_singlestep() local 176 ret = probe_kernel_read(&arg, pc + 1, 1); in kgdb_arch_do_singlestep() 180 if (arg >= 0 && arg <= 2) in kgdb_arch_do_singlestep() 182 y = pc + (s8)arg; in kgdb_arch_do_singlestep() 202 ret = probe_kernel_read(&arg, pc + 1, 2); in kgdb_arch_do_singlestep() 205 x = pc + (s16)arg; in kgdb_arch_do_singlestep() 211 ret = probe_kernel_read(&arg, pc + 1, 4); in kgdb_arch_do_singlestep() 214 x = pc + (s32)arg; in kgdb_arch_do_singlestep() 224 ret = probe_kernel_read(&arg, pc + 2, 1); in kgdb_arch_do_singlestep() 227 ret = probe_kernel_read(&x, sp + (s8)arg, 4); in kgdb_arch_do_singlestep() [all …]
|
/linux-4.4.14/fs/xfs/ |
D | xfs_ioctl.c | 358 void __user *arg) in xfs_fssetdm_by_handle() argument 367 if (copy_from_user(&dmhreq, arg, sizeof(xfs_fsop_setdm_handlereq_t))) in xfs_fssetdm_by_handle() 402 void __user *arg) in xfs_attrlist_by_handle() argument 412 if (copy_from_user(&al_hreq, arg, sizeof(xfs_fsop_attrlist_handlereq_t))) in xfs_attrlist_by_handle() 523 void __user *arg) in xfs_attrmulti_by_handle() argument 534 if (copy_from_user(&am_hreq, arg, sizeof(xfs_fsop_attrmulti_handlereq_t))) in xfs_attrmulti_by_handle() 756 void __user *arg) in xfs_ioc_bulkstat() argument 773 if (copy_from_user(&bulkreq, arg, sizeof(xfs_fsop_bulkreq_t))) in xfs_ioc_bulkstat() 814 void __user *arg) in xfs_ioc_fsgeometry_v1() argument 828 if (copy_to_user(arg, &fsgeo, sizeof(xfs_fsop_geom_v1_t))) in xfs_ioc_fsgeometry_v1() [all …]
|
/linux-4.4.14/drivers/net/ppp/ |
D | ppp_deflate.c | 63 static void z_comp_free(void *arg) in z_comp_free() argument 65 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; in z_comp_free() 140 static int z_comp_init(void *arg, unsigned char *options, int opt_len, in z_comp_init() argument 143 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; in z_comp_init() 169 static void z_comp_reset(void *arg) in z_comp_reset() argument 171 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; in z_comp_reset() 188 static int z_compress(void *arg, unsigned char *rptr, unsigned char *obuf, in z_compress() argument 191 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; in z_compress() 269 static void z_comp_stats(void *arg, struct compstat *stats) in z_comp_stats() argument 271 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; in z_comp_stats() [all …]
|
D | ppp_mppe.c | 255 static void mppe_free(void *arg) in mppe_free() argument 257 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; in mppe_free() 273 mppe_init(void *arg, unsigned char *options, int optlen, int unit, int debug, in mppe_init() argument 276 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; in mppe_init() 338 mppe_comp_init(void *arg, unsigned char *options, int optlen, int unit, in mppe_comp_init() argument 342 return mppe_init(arg, options, optlen, unit, debug, "mppe_comp_init"); in mppe_comp_init() 354 static void mppe_comp_reset(void *arg) in mppe_comp_reset() argument 356 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; in mppe_comp_reset() 367 mppe_compress(void *arg, unsigned char *ibuf, unsigned char *obuf, in mppe_compress() argument 370 struct ppp_mppe_state *state = (struct ppp_mppe_state *) arg; in mppe_compress() [all …]
|
/linux-4.4.14/drivers/staging/android/ion/ |
D | compat_ion.c | 35 compat_ulong_t arg; member 113 compat_ulong_t arg; in compat_get_ion_custom_data() local 118 err |= get_user(arg, &data32->arg); in compat_get_ion_custom_data() 119 err |= put_user(arg, &data->arg); in compat_get_ion_custom_data() 124 long compat_ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in compat_ion_ioctl() argument 138 data32 = compat_ptr(arg); in compat_ion_ioctl() 157 data32 = compat_ptr(arg); in compat_ion_ioctl() 174 data32 = compat_ptr(arg); in compat_ion_ioctl() 191 (unsigned long)compat_ptr(arg)); in compat_ion_ioctl()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | smp_32.c | 295 static void arch_cpu_pre_starting(void *arg) in arch_cpu_pre_starting() argument 302 sun4m_cpu_pre_starting(arg); in arch_cpu_pre_starting() 305 sun4d_cpu_pre_starting(arg); in arch_cpu_pre_starting() 308 leon_cpu_pre_starting(arg); in arch_cpu_pre_starting() 315 static void arch_cpu_pre_online(void *arg) in arch_cpu_pre_online() argument 329 sun4m_cpu_pre_online(arg); in arch_cpu_pre_online() 332 sun4d_cpu_pre_online(arg); in arch_cpu_pre_online() 335 leon_cpu_pre_online(arg); in arch_cpu_pre_online() 342 static void sparc_start_secondary(void *arg) in sparc_start_secondary() argument 350 arch_cpu_pre_starting(arg); in sparc_start_secondary() [all …]
|
D | apc.c | 90 __u8 inarg, __user *arg = (__u8 __user *) __arg; in apc_ioctl() local 94 if (put_user(apc_readb(APC_FANCTL_REG) & APC_REGMASK, arg)) in apc_ioctl() 99 if (put_user(apc_readb(APC_CPOWER_REG) & APC_REGMASK, arg)) in apc_ioctl() 104 if (put_user(apc_readb(APC_BPORT_REG) & APC_BPMASK, arg)) in apc_ioctl() 109 if (get_user(inarg, arg)) in apc_ioctl() 115 if (get_user(inarg, arg)) in apc_ioctl() 121 if (get_user(inarg, arg)) in apc_ioctl()
|
/linux-4.4.14/drivers/char/ipmi/ |
D | ipmi_devintf.c | 240 void __user *arg = (void __user *)data; in ipmi_ioctl() local 248 if (copy_from_user(&req, arg, sizeof(req))) { in ipmi_ioctl() 264 if (copy_from_user(&req, arg, sizeof(req))) { in ipmi_ioctl() 287 if (copy_from_user(&rsp, arg, sizeof(rsp))) { in ipmi_ioctl() 354 if (copy_to_user(arg, &rsp, sizeof(rsp))) { in ipmi_ioctl() 381 if (copy_from_user(&val, arg, sizeof(val))) { in ipmi_ioctl() 395 if (copy_from_user(&val, arg, sizeof(val))) { in ipmi_ioctl() 409 if (copy_from_user(&val, arg, sizeof(val))) { in ipmi_ioctl() 423 if (copy_from_user(&val, arg, sizeof(val))) { in ipmi_ioctl() 437 if (copy_from_user(&val, arg, sizeof(val))) { in ipmi_ioctl() [all …]
|
/linux-4.4.14/drivers/pinctrl/qcom/ |
D | pinctrl-spmi-mpp.c | 342 unsigned arg = 0; in pmic_mpp_config_get() local 348 arg = pad->pullup == PMIC_MPP_PULL_UP_OPEN; in pmic_mpp_config_get() 353 arg = 0; in pmic_mpp_config_get() 356 arg = 600; in pmic_mpp_config_get() 359 arg = 10000; in pmic_mpp_config_get() 362 arg = 30000; in pmic_mpp_config_get() 369 arg = !pad->is_enabled; in pmic_mpp_config_get() 372 arg = pad->power_source; in pmic_mpp_config_get() 375 arg = pad->input_enabled; in pmic_mpp_config_get() 378 arg = pad->out_value; in pmic_mpp_config_get() [all …]
|
D | pinctrl-spmi-gpio.c | 288 unsigned arg; in pmic_gpio_config_get() local 294 arg = pad->buffer_type == PMIC_GPIO_OUT_BUF_CMOS; in pmic_gpio_config_get() 297 arg = pad->buffer_type == PMIC_GPIO_OUT_BUF_OPEN_DRAIN_NMOS; in pmic_gpio_config_get() 300 arg = pad->buffer_type == PMIC_GPIO_OUT_BUF_OPEN_DRAIN_PMOS; in pmic_gpio_config_get() 303 arg = pad->pullup == PMIC_GPIO_PULL_DOWN; in pmic_gpio_config_get() 306 arg = pad->pullup = PMIC_GPIO_PULL_DISABLE; in pmic_gpio_config_get() 309 arg = pad->pullup == PMIC_GPIO_PULL_UP_30; in pmic_gpio_config_get() 312 arg = !pad->is_enabled; in pmic_gpio_config_get() 315 arg = pad->power_source; in pmic_gpio_config_get() 318 arg = pad->input_enabled; in pmic_gpio_config_get() [all …]
|
D | pinctrl-msm.c | 226 unsigned arg; in msm_config_group_get() local 238 arg = (val >> bit) & mask; in msm_config_group_get() 243 arg = arg == MSM_NO_PULL; in msm_config_group_get() 246 arg = arg == MSM_PULL_DOWN; in msm_config_group_get() 249 arg = arg == MSM_KEEPER; in msm_config_group_get() 252 arg = arg == MSM_PULL_UP; in msm_config_group_get() 255 arg = msm_regval_to_drive(arg); in msm_config_group_get() 259 if (!arg) in msm_config_group_get() 263 arg = !!(val & BIT(g->in_bit)); in msm_config_group_get() 267 if (arg) in msm_config_group_get() [all …]
|
D | pinctrl-ssbi-gpio.c | 258 unsigned arg; in pm8xxx_pin_config_get() local 262 arg = pin->bias == PM8XXX_GPIO_BIAS_NP; in pm8xxx_pin_config_get() 265 arg = pin->bias == PM8XXX_GPIO_BIAS_PD; in pm8xxx_pin_config_get() 268 arg = pin->bias <= PM8XXX_GPIO_BIAS_PU_1P5_30; in pm8xxx_pin_config_get() 271 arg = pin->pull_up_strength; in pm8xxx_pin_config_get() 274 arg = pin->disable; in pm8xxx_pin_config_get() 277 arg = pin->mode == PM8XXX_GPIO_MODE_INPUT; in pm8xxx_pin_config_get() 281 arg = pin->output_value; in pm8xxx_pin_config_get() 283 arg = 0; in pm8xxx_pin_config_get() 286 arg = pin->power_source; in pm8xxx_pin_config_get() [all …]
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_ioc32.c | 49 unsigned long arg) in compat_i915_getparam() argument 54 if (copy_from_user(&req32, (void __user *)arg, sizeof(req32))) in compat_i915_getparam() 81 long i915_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in i915_compat_ioctl() argument 88 return drm_compat_ioctl(filp, cmd, arg); in i915_compat_ioctl() 94 ret = (*fn) (filp, cmd, arg); in i915_compat_ioctl() 96 ret = drm_ioctl(filp, cmd, arg); in i915_compat_ioctl()
|
/linux-4.4.14/sound/core/seq/ |
D | seq_clientmgr.c | 1131 static int snd_seq_ioctl_system_info(struct snd_seq_client *client, void __user *arg) in snd_seq_ioctl_system_info() argument 1144 if (copy_to_user(arg, &info, sizeof(info))) in snd_seq_ioctl_system_info() 1151 static int snd_seq_ioctl_running_mode(struct snd_seq_client *client, void __user *arg) in snd_seq_ioctl_running_mode() argument 1157 if (copy_from_user(&info, arg, sizeof(info))) in snd_seq_ioctl_running_mode() 1204 void __user *arg) in snd_seq_ioctl_get_client_info() argument 1209 if (copy_from_user(&client_info, arg, sizeof(client_info))) in snd_seq_ioctl_get_client_info() 1220 if (copy_to_user(arg, &client_info, sizeof(client_info))) in snd_seq_ioctl_get_client_info() 1228 void __user *arg) in snd_seq_ioctl_set_client_info() argument 1232 if (copy_from_user(&client_info, arg, sizeof(client_info))) in snd_seq_ioctl_set_client_info() 1258 void __user *arg) in snd_seq_ioctl_create_port() argument [all …]
|
/linux-4.4.14/arch/ia64/hp/common/ |
D | aml_nfw.c | 49 u64 arg[8]; member 75 c->arg[0], c->arg[1], c->arg[2], c->arg[3], in aml_nfw_execute() 76 c->arg[4], c->arg[5], c->arg[6], c->arg[7]); in aml_nfw_execute()
|
/linux-4.4.14/fs/nfs/blocklayout/ |
D | extent_tree.c | 471 static void ext_tree_free_commitdata(struct nfs4_layoutcommit_args *arg, in ext_tree_free_commitdata() argument 474 if (arg->layoutupdate_pages != &arg->layoutupdate_page) { in ext_tree_free_commitdata() 478 put_page(arg->layoutupdate_pages[i]); in ext_tree_free_commitdata() 479 kfree(arg->layoutupdate_pages); in ext_tree_free_commitdata() 481 put_page(arg->layoutupdate_page); in ext_tree_free_commitdata() 519 ext_tree_prepare_commit(struct nfs4_layoutcommit_args *arg) in ext_tree_prepare_commit() argument 521 struct pnfs_block_layout *bl = BLK_LO2EXT(NFS_I(arg->inode)->layout); in ext_tree_prepare_commit() 528 arg->layoutupdate_page = alloc_page(GFP_NOFS); in ext_tree_prepare_commit() 529 if (!arg->layoutupdate_page) in ext_tree_prepare_commit() 531 start_p = page_address(arg->layoutupdate_page); in ext_tree_prepare_commit() [all …]
|
/linux-4.4.14/arch/sparc/prom/ |
D | bootstr_32.c | 19 char *cp, *arg; in prom_getbootargs() local 31 arg = (*(romvec->pv_v0bootargs))->argv[iter]; in prom_getbootargs() 32 if (arg == NULL) in prom_getbootargs() 34 while (*arg != 0) { in prom_getbootargs() 39 *cp++ = *arg++; in prom_getbootargs()
|
/linux-4.4.14/fs/ceph/ |
D | ioctl.c | 16 static long ceph_ioctl_get_layout(struct file *file, void __user *arg) in ceph_ioctl_get_layout() argument 29 if (copy_to_user(arg, &l, sizeof(l))) in ceph_ioctl_get_layout() 63 static long ceph_ioctl_set_layout(struct file *file, void __user *arg) in ceph_ioctl_set_layout() argument 73 if (copy_from_user(&l, arg, sizeof(l))) in ceph_ioctl_set_layout() 135 static long ceph_ioctl_set_layout_policy (struct file *file, void __user *arg) in ceph_ioctl_set_layout_policy() argument 144 if (copy_from_user(&l, arg, sizeof(l))) in ceph_ioctl_set_layout_policy() 178 static long ceph_ioctl_get_dataloc(struct file *file, void __user *arg) in ceph_ioctl_get_dataloc() argument 193 if (copy_from_user(&dl, arg, sizeof(dl))) in ceph_ioctl_get_dataloc() 236 if (copy_to_user(arg, &dl, sizeof(dl))) in ceph_ioctl_get_dataloc() 271 long ceph_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ceph_ioctl() argument [all …]
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
D | gss_rpc_upcall.c | 214 static void gssp_free_receive_pages(struct gssx_arg_accept_sec_context *arg) in gssp_free_receive_pages() argument 218 for (i = 0; i < arg->npages && arg->pages[i]; i++) in gssp_free_receive_pages() 219 __free_page(arg->pages[i]); in gssp_free_receive_pages() 221 kfree(arg->pages); in gssp_free_receive_pages() 224 static int gssp_alloc_receive_pages(struct gssx_arg_accept_sec_context *arg) in gssp_alloc_receive_pages() argument 226 arg->npages = DIV_ROUND_UP(NGROUPS_MAX * 4, PAGE_SIZE); in gssp_alloc_receive_pages() 227 arg->pages = kzalloc(arg->npages * sizeof(struct page *), GFP_KERNEL); in gssp_alloc_receive_pages() 232 if (!arg->pages) in gssp_alloc_receive_pages() 255 struct gssx_arg_accept_sec_context arg = { in gssp_accept_sec_context_upcall() local 273 .rpc_argp = &arg, in gssp_accept_sec_context_upcall() [all …]
|
/linux-4.4.14/fs/fuse/ |
D | cuse.c | 153 unsigned long arg) in cuse_file_ioctl() argument 162 return fuse_do_ioctl(file, cmd, arg, flags); in cuse_file_ioctl() 166 unsigned long arg) in cuse_file_compat_ioctl() argument 175 return fuse_do_ioctl(file, cmd, arg, flags); in cuse_file_compat_ioctl() 310 struct cuse_init_out *arg = req->out.args[0].value; in cuse_process_init_reply() local 319 arg->major != FUSE_KERNEL_VERSION || arg->minor < 11) { in cuse_process_init_reply() 323 fc->minor = arg->minor; in cuse_process_init_reply() 324 fc->max_read = max_t(unsigned, arg->max_read, 4096); in cuse_process_init_reply() 325 fc->max_write = max_t(unsigned, arg->max_write, 4096); in cuse_process_init_reply() 328 cc->unrestricted_ioctl = arg->flags & CUSE_UNRESTRICTED_IOCTL; in cuse_process_init_reply() [all …]
|
D | inode.c | 825 sanitize_global_limit((unsigned *)kp->arg); in set_global_limit() 830 static void process_init_limits(struct fuse_conn *fc, struct fuse_init_out *arg) in process_init_limits() argument 834 if (arg->minor < 13) in process_init_limits() 840 if (arg->max_background) { in process_init_limits() 841 fc->max_background = arg->max_background; in process_init_limits() 846 if (arg->congestion_threshold) { in process_init_limits() 847 fc->congestion_threshold = arg->congestion_threshold; in process_init_limits() 857 struct fuse_init_out *arg = &req->misc.init_out; in process_init_reply() local 859 if (req->out.h.error || arg->major != FUSE_KERNEL_VERSION) in process_init_reply() 864 process_init_limits(fc, arg); in process_init_reply() [all …]
|
/linux-4.4.14/drivers/xen/ |
D | fallback.c | 8 int xen_event_channel_op_compat(int cmd, void *arg) in xen_event_channel_op_compat() argument 14 memcpy(&op.u, arg, sizeof(op.u)); in xen_event_channel_op_compat() 27 memcpy(arg, &op.u.eop, sizeof(op.u.eop)); \ in xen_event_channel_op_compat() 47 int xen_physdev_op_compat(int cmd, void *arg) in xen_physdev_op_compat() argument 53 memcpy(&op.u, arg, sizeof(op.u)); in xen_physdev_op_compat() 66 memcpy(arg, &op.u.fld, sizeof(op.u.fld)); \ in xen_physdev_op_compat()
|
/linux-4.4.14/drivers/isdn/gigaset/ |
D | interface.c | 21 static int if_lock(struct cardstate *cs, int *arg) in if_lock() argument 23 int cmd = *arg; in if_lock() 31 *arg = cs->mstate == MS_LOCKED; in if_lock() 53 *arg = cs->cmd_result; in if_lock() 60 static int if_version(struct cardstate *cs, unsigned arg[4]) in if_version() 64 unsigned cmd = arg[0]; in if_version() 70 memcpy(arg, version, sizeof version); in if_version() 73 memcpy(arg, compat, sizeof compat); in if_version() 78 NULL, 0, arg)) { in if_version() 95 static int if_config(struct cardstate *cs, int *arg) in if_config() argument [all …]
|
/linux-4.4.14/mm/ |
D | memory_hotplug.c | 867 void *arg) in online_pages_range() argument 870 unsigned long onlined_pages = *(unsigned long *)arg; in online_pages_range() 878 *(unsigned long *)arg = onlined_pages; in online_pages_range() 901 struct zone *zone, struct memory_notify *arg) in node_states_check_changes_online() argument 925 arg->status_change_nid_normal = nid; in node_states_check_changes_online() 927 arg->status_change_nid_normal = -1; in node_states_check_changes_online() 944 arg->status_change_nid_high = nid; in node_states_check_changes_online() 946 arg->status_change_nid_high = -1; in node_states_check_changes_online() 948 arg->status_change_nid_high = arg->status_change_nid_normal; in node_states_check_changes_online() 957 arg->status_change_nid = nid; in node_states_check_changes_online() [all …]
|
/linux-4.4.14/include/asm-generic/ |
D | bug.h | 74 #define __WARN_printf(arg...) warn_slowpath_fmt(__FILE__, __LINE__, arg) argument 75 #define __WARN_printf_taint(taint, arg...) \ argument 76 warn_slowpath_fmt_taint(__FILE__, __LINE__, taint, arg) 79 #define __WARN_printf(arg...) do { printk(arg); __WARN(); } while (0) argument 80 #define __WARN_printf_taint(taint, arg...) \ argument 81 do { printk(arg); __WARN_TAINT(taint); } while (0)
|
/linux-4.4.14/drivers/gpu/drm/mga/ |
D | mga_ioc32.c | 61 unsigned long arg) in compat_mga_init() argument 67 if (copy_from_user(&init32, (void __user *)arg, sizeof(init32))) in compat_mga_init() 112 unsigned long arg) in compat_mga_getparam() argument 117 if (copy_from_user(&getparam32, (void __user *)arg, sizeof(getparam32))) in compat_mga_getparam() 141 unsigned long arg) in compat_mga_dma_bootstrap() argument 147 if (copy_from_user(&dma_bootstrap32, (void __user *)arg, in compat_mga_dma_bootstrap() 186 if (copy_to_user((void __user *)arg, &dma_bootstrap32, in compat_mga_dma_bootstrap() 208 long mga_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in mga_compat_ioctl() argument 215 return drm_compat_ioctl(filp, cmd, arg); in mga_compat_ioctl() 221 ret = (*fn) (filp, cmd, arg); in mga_compat_ioctl() [all …]
|
/linux-4.4.14/drivers/edac/ |
D | amd64_edac.h | 23 #define amd64_debug(fmt, arg...) \ argument 24 edac_printk(KERN_DEBUG, "amd64", fmt, ##arg) 26 #define amd64_info(fmt, arg...) \ argument 27 edac_printk(KERN_INFO, "amd64", fmt, ##arg) 29 #define amd64_notice(fmt, arg...) \ argument 30 edac_printk(KERN_NOTICE, "amd64", fmt, ##arg) 32 #define amd64_warn(fmt, arg...) \ argument 33 edac_printk(KERN_WARNING, "amd64", fmt, ##arg) 35 #define amd64_err(fmt, arg...) \ argument 36 edac_printk(KERN_ERR, "amd64", fmt, ##arg) [all …]
|
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_param.c | 116 } arg; member 141 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { in atl1e_validate_option() 151 for (i = 0; i < opt->arg.l.nr; i++) { in atl1e_validate_option() 152 ent = &opt->arg.l.p[i]; in atl1e_validate_option() 199 .arg = { .r = { .min = ATL1E_MIN_TX_DESC_CNT, in atl1e_check_options() 218 .arg = { .r = { .min = ATL1E_MIN_RX_MEM_SIZE, in atl1e_check_options() 238 .arg = { .r = { .min = INT_MOD_MIN_CNT, in atl1e_check_options() 257 .arg = { .r = { .min = MEDIA_TYPE_AUTO_SENSOR, in atl1e_check_options()
|
/linux-4.4.14/net/batman-adv/ |
D | main.h | 239 #define _batadv_dbg(type, bat_priv, ratelimited, fmt, arg...) \ argument 243 batadv_debug_log(bat_priv, fmt, ## arg);\ 256 #define batadv_dbg(type, bat_priv, arg...) \ argument 257 _batadv_dbg(type, bat_priv, 0, ## arg) 258 #define batadv_dbg_ratelimited(type, bat_priv, arg...) \ argument 259 _batadv_dbg(type, bat_priv, 1, ## arg) 261 #define batadv_info(net_dev, fmt, arg...) \ argument 265 batadv_dbg(BATADV_DBG_ALL, _batpriv, fmt, ## arg); \ 266 pr_info("%s: " fmt, _netdev->name, ## arg); \ 268 #define batadv_err(net_dev, fmt, arg...) \ argument [all …]
|
/linux-4.4.14/net/netfilter/ |
D | nft_hash.c | 47 const struct nft_hash_cmp_arg *arg = data; in nft_hash_key() local 49 return jhash(arg->key, len, seed); in nft_hash_key() 59 static inline int nft_hash_cmp(struct rhashtable_compare_arg *arg, in nft_hash_cmp() argument 62 const struct nft_hash_cmp_arg *x = arg->key; in nft_hash_cmp() 79 struct nft_hash_cmp_arg arg = { in nft_hash_lookup() local 85 he = rhashtable_lookup_fast(&priv->ht, &arg, nft_hash_params); in nft_hash_lookup() 102 struct nft_hash_cmp_arg arg = { in nft_hash_update() local 108 he = rhashtable_lookup_fast(&priv->ht, &arg, nft_hash_params); in nft_hash_update() 115 if (rhashtable_lookup_insert_key(&priv->ht, &arg, &he->node, in nft_hash_update() 133 struct nft_hash_cmp_arg arg = { in nft_hash_insert() local [all …]
|
/linux-4.4.14/drivers/media/pci/bt8xx/ |
D | dst_ca.c | 38 #define dprintk(x, y, z, format, arg...) do { \ argument 41 printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \ 43 printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \ 45 printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \ 47 printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \ 50 printk(format, ## arg); \ 236 static int ca_get_slot_caps(struct dst_state *state, struct ca_caps *p_ca_caps, void __user *arg) in ca_get_slot_caps() argument 262 if (copy_to_user(arg, p_ca_caps, sizeof (struct ca_caps))) in ca_get_slot_caps() 269 static int ca_get_slot_descr(struct dst_state *state, struct ca_msg *p_ca_message, void __user *arg) in ca_get_slot_descr() argument 275 …nt ca_get_slot_info(struct dst_state *state, struct ca_slot_info *p_ca_slot_info, void __user *arg) in ca_get_slot_info() argument [all …]
|
/linux-4.4.14/drivers/xen/xenbus/ |
D | xenbus_dev_backend.c | 33 struct evtchn_alloc_unbound arg; in xenbus_alloc() local 54 arg.dom = DOMID_SELF; in xenbus_alloc() 55 arg.remote_dom = domid; in xenbus_alloc() 57 err = HYPERVISOR_event_channel_op(EVTCHNOP_alloc_unbound, &arg); in xenbus_alloc() 64 xen_store_evtchn = arg.port; in xenbus_alloc() 68 return arg.port; in xenbus_alloc()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-module.c | 43 int libcfs_ioctl_getdata(char *buf, char *end, void *arg) in libcfs_ioctl_getdata() argument 52 if (copy_from_user(buf, arg, sizeof(*hdr))) in libcfs_ioctl_getdata() 71 if (copy_from_user(buf, arg, hdr->ioc_len)) in libcfs_ioctl_getdata() 91 int libcfs_ioctl_popdata(void *arg, void *data, int size) in libcfs_ioctl_popdata() argument 93 if (copy_to_user((char *)arg, data, size)) in libcfs_ioctl_popdata() 132 unsigned int cmd, unsigned long arg) in libcfs_ioctl() argument 164 rc = libcfs_psdev_ops.p_ioctl(&pfile, cmd, (void *)arg); in libcfs_ioctl()
|
/linux-4.4.14/fs/logfs/ |
D | logfs.h | 47 #define log_cond(cond, fmt, arg...) do { \ argument 49 printk(KERN_DEBUG fmt, ##arg); \ 52 #define log_super(fmt, arg...) \ argument 53 log_cond(LOGFS_DEBUG & LOGFS_DEBUG_SUPER, fmt, ##arg) 54 #define log_segment(fmt, arg...) \ argument 55 log_cond(LOGFS_DEBUG & LOGFS_DEBUG_SEGMENT, fmt, ##arg) 56 #define log_journal(fmt, arg...) \ argument 57 log_cond(LOGFS_DEBUG & LOGFS_DEBUG_JOURNAL, fmt, ##arg) 58 #define log_dir(fmt, arg...) \ argument 59 log_cond(LOGFS_DEBUG & LOGFS_DEBUG_DIR, fmt, ##arg) [all …]
|
/linux-4.4.14/net/irda/ |
D | parameters.c | 361 irda_pv_t arg; in irda_param_pack() local 374 arg.i = (__u16)va_arg(args, int); in irda_param_pack() 375 put_unaligned((__u16)arg.i, (__u16 *)(buf+n)); n+=2; in irda_param_pack() 378 arg.i = va_arg(args, __u32); in irda_param_pack() 379 put_unaligned(arg.i, (__u32 *)(buf+n)); n+=4; in irda_param_pack() 383 arg.c = va_arg(args, char *); in irda_param_pack() 384 strcpy(buf+n, arg.c); in irda_param_pack() 385 n += strlen(arg.c) + 1; in irda_param_pack() 404 irda_pv_t arg; in irda_param_unpack() local 414 arg.ip = va_arg(args, __u32 *); in irda_param_unpack() [all …]
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_common.c | 354 int idx = isdn_dc2minor(cmd->driver, cmd->arg & 255); in isdn_command() 355 unsigned long l2prot = (cmd->arg >> 8) & 255; in isdn_command() 371 cmd->arg = (cmd->arg & 255) | in isdn_command() 388 cmd.arg = ch; in isdn_all_eaz() 424 i = isdn_dc2minor(di, c->arg); in isdn_status_callback() 437 wake_up_interruptible(&dev->drv[di]->snd_waitq[c->arg]); in isdn_status_callback() 440 dev->drv[di]->stavail += c->arg; in isdn_status_callback() 457 printk(KERN_DEBUG "ICALL (net): %d %ld %s\n", di, c->arg, c->parm.num); in isdn_status_callback() 461 cmd.arg = c->arg; in isdn_status_callback() 467 r = ((c->command == ISDN_STAT_ICALLW) ? 0 : isdn_net_find_icall(di, c->arg, i, &c->parm.setup)); in isdn_status_callback() [all …]
|
/linux-4.4.14/drivers/tty/ |
D | tty_ioctl.c | 590 static int set_termios(struct tty_struct *tty, void __user *arg, int opt) in set_termios() argument 605 (struct termio __user *)arg)) in set_termios() 610 (struct termios __user *)arg)) in set_termios() 614 (struct termios2 __user *)arg)) in set_termios() 619 (struct termios __user *)arg)) 687 static int set_termiox(struct tty_struct *tty, void __user *arg, int opt) in set_termiox() argument 694 if (copy_from_user(&tnew, arg, sizeof(struct termiox))) in set_termiox() 906 static int tty_change_softcar(struct tty_struct *tty, int arg) in tty_change_softcar() argument 909 int bit = arg ? CLOCAL : 0; in tty_change_softcar() 937 unsigned int cmd, unsigned long arg) in tty_mode_ioctl() argument [all …]
|
/linux-4.4.14/drivers/watchdog/ |
D | pnx833x_wdt.c | 143 unsigned long arg) in pnx833x_wdt_ioctl() argument 159 if (copy_to_user((struct watchdog_info *)arg, in pnx833x_wdt_ioctl() 166 return put_user(0, (int *)arg); in pnx833x_wdt_ioctl() 169 if (get_user(options, (int *)arg)) in pnx833x_wdt_ioctl() 186 if (get_user(new_timeout, (int *)arg)) in pnx833x_wdt_ioctl() 192 return put_user(new_timeout, (int *)arg); in pnx833x_wdt_ioctl() 198 return put_user(timeout, (int *)arg); in pnx833x_wdt_ioctl() 203 return put_user(timeout_left, (int *)arg); in pnx833x_wdt_ioctl()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | sbuslib.c | 99 int sbusfb_ioctl_helper(unsigned long cmd, unsigned long arg, in sbusfb_ioctl_helper() argument 105 struct fbtype __user *f = (struct fbtype __user *) arg; in sbusfb_ioctl_helper() 117 struct fbcmap __user *c = (struct fbcmap __user *) arg; in sbusfb_ioctl_helper() 158 struct fbcmap __user *c = (struct fbcmap __user *) arg; in sbusfb_ioctl_helper() 194 static int fbiogetputcmap(struct fb_info *info, unsigned int cmd, unsigned long arg) in fbiogetputcmap() argument 196 struct fbcmap32 __user *argp = (void __user *)arg; in fbiogetputcmap() 216 static int fbiogscursor(struct fb_info *info, unsigned long arg) in fbiogscursor() argument 219 struct fbcursor32 __user *argp = (void __user *)arg; in fbiogscursor() 242 int sbusfb_compat_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg) in sbusfb_compat_ioctl() argument 255 return info->fbops->fb_ioctl(info, cmd, arg); in sbusfb_compat_ioctl() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | param.c | 170 } arg; member 196 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { in e1000_validate_option() 206 for (i = 0; i < opt->arg.l.nr; i++) { in e1000_validate_option() 207 ent = &opt->arg.l.p[i]; in e1000_validate_option() 256 .arg = { .r = { .min = MIN_TXDELAY, in e1000e_check_options() 276 .arg = { .r = { .min = MIN_TXABSDELAY, in e1000e_check_options() 296 .arg = { .r = { .min = MIN_RXDELAY, in e1000e_check_options() 316 .arg = { .r = { .min = MIN_RXABSDELAY, in e1000e_check_options() 336 .arg = { .r = { .min = MIN_ITR, in e1000e_check_options() 413 .arg = { .r = { .min = 0, in e1000e_check_options() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_param.c | 199 } arg; member 222 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { in ixgb_validate_option() 231 for (i = 0; i < opt->arg.l.nr; i++) { in ixgb_validate_option() 232 ent = &opt->arg.l.p[i]; in ixgb_validate_option() 275 .arg = { .r = { .min = MIN_TXD, in ixgb_check_options() 294 .arg = { .r = { .min = MIN_RXD, in ixgb_check_options() 338 .arg = { .l = { .nr = ARRAY_SIZE(fc_list), in ixgb_check_options() 356 .arg = { .r = { .min = MIN_FCRTH, in ixgb_check_options() 375 .arg = { .r = { .min = MIN_FCRTL, in ixgb_check_options() 394 .arg = { .r = { .min = MIN_FCPAUSE, in ixgb_check_options() [all …]
|
/linux-4.4.14/kernel/power/ |
D | user.c | 198 unsigned long arg) in snapshot_ioctl() argument 258 error = put_user(in_suspend, (int __user *)arg); in snapshot_ioctl() 290 image_size = arg; in snapshot_ioctl() 300 error = put_user(size, (loff_t __user *)arg); in snapshot_ioctl() 306 error = put_user(size, (loff_t __user *)arg); in snapshot_ioctl() 317 error = put_user(offset, (loff_t __user *)arg); in snapshot_ioctl() 345 data->platform_support = !!arg; in snapshot_ioctl() 360 error = copy_from_user(&swap_area, (void __user *)arg, in snapshot_ioctl() 403 snapshot_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in snapshot_compat_ioctl() argument 411 compat_loff_t __user *uoffset = compat_ptr(arg); in snapshot_compat_ioctl() [all …]
|
/linux-4.4.14/drivers/platform/x86/ |
D | intel_menlow.c | 70 union acpi_object arg; in memory_get_max_bandwidth() local 74 arg_list.pointer = &arg; in memory_get_max_bandwidth() 75 arg.type = ACPI_TYPE_INTEGER; in memory_get_max_bandwidth() 76 arg.integer.value = MEMORY_ARG_MAX_BANDWIDTH; in memory_get_max_bandwidth() 96 union acpi_object arg; in memory_get_cur_bandwidth() local 100 arg_list.pointer = &arg; in memory_get_cur_bandwidth() 101 arg.type = ACPI_TYPE_INTEGER; in memory_get_cur_bandwidth() 102 arg.integer.value = MEMORY_ARG_CUR_BANDWIDTH; in memory_get_cur_bandwidth() 118 union acpi_object arg; in memory_set_cur_bandwidth() local 130 arg_list.pointer = &arg; in memory_set_cur_bandwidth() [all …]
|
/linux-4.4.14/net/core/ |
D | dev_ioctl.c | 20 static int dev_ifname(struct net *net, struct ifreq __user *arg) in dev_ifname() argument 29 if (copy_from_user(&ifr, arg, sizeof(struct ifreq))) in dev_ifname() 36 if (copy_to_user(arg, &ifr, sizeof(struct ifreq))) in dev_ifname() 67 static int dev_ifconf(struct net *net, char __user *arg) in dev_ifconf() argument 80 if (copy_from_user(&ifc, arg, sizeof(struct ifconf))) in dev_ifconf() 115 return copy_to_user(arg, &ifc, sizeof(struct ifconf)) ? -EFAULT : 0; in dev_ifconf() 393 int dev_ioctl(struct net *net, unsigned int cmd, void __user *arg) in dev_ioctl() argument 406 ret = dev_ifconf(net, (char __user *) arg); in dev_ioctl() 411 return dev_ifname(net, (struct ifreq __user *)arg); in dev_ioctl() 413 if (copy_from_user(&ifr, arg, sizeof(struct ifreq))) in dev_ioctl() [all …]
|
/linux-4.4.14/drivers/firewire/ |
D | core-cdev.c | 444 static int ioctl_get_info(struct client *client, union ioctl_arg *arg) in ioctl_get_info() argument 446 struct fw_cdev_get_info *a = &arg->get_info; in ioctl_get_info() 635 static int ioctl_send_request(struct client *client, union ioctl_arg *arg) in ioctl_send_request() argument 637 switch (arg->send_request.tcode) { in ioctl_send_request() 654 return init_request(client, &arg->send_request, client->device->node_id, in ioctl_send_request() 774 static int ioctl_allocate(struct client *client, union ioctl_arg *arg) in ioctl_allocate() argument 776 struct fw_cdev_allocate *a = &arg->allocate; in ioctl_allocate() 815 static int ioctl_deallocate(struct client *client, union ioctl_arg *arg) in ioctl_deallocate() argument 817 return release_client_resource(client, arg->deallocate.handle, in ioctl_deallocate() 821 static int ioctl_send_response(struct client *client, union ioctl_arg *arg) in ioctl_send_response() argument [all …]
|
/linux-4.4.14/fs/reiserfs/ |
D | ioctl.c | 23 long reiserfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in reiserfs_ioctl() argument 34 if (arg) in reiserfs_ioctl() 51 err = put_user(flags, (int __user *)arg); in reiserfs_ioctl() 67 if (get_user(flags, (int __user *)arg)) { in reiserfs_ioctl() 104 err = put_user(inode->i_generation, (int __user *)arg); in reiserfs_ioctl() 114 if (get_user(inode->i_generation, (int __user *)arg)) { in reiserfs_ioctl() 134 unsigned long arg) in reiserfs_compat_ioctl() argument 160 return reiserfs_ioctl(file, cmd, (unsigned long) compat_ptr(arg)); in reiserfs_compat_ioctl()
|
/linux-4.4.14/drivers/net/wireless/ath/ar5523/ |
D | ar5523.h | 137 #define ar5523_dbg(ar, format, arg...) \ argument 138 dev_dbg(&(ar)->dev->dev, format, ## arg) 144 #define ar5523_err(ar, format, arg...) \ argument 147 dev_err(&(ar)->dev->dev, format, ## arg); \ 150 #define ar5523_info(ar, format, arg...) \ argument 151 dev_info(&(ar)->dev->dev, format, ## arg)
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | perfmon.h | 11 extern long perfmonctl(int fd, int cmd, void *arg, int narg); 14 void (*handler)(int irq, void *arg, struct pt_regs *regs); 69 int (*fmt_validate)(struct task_struct *task, unsigned int flags, int cpu, void *arg); 70 …int (*fmt_getsize)(struct task_struct *task, unsigned int flags, int cpu, void *arg, unsigned lon… 71 int (*fmt_init)(struct task_struct *task, void *buf, unsigned int flags, int cpu, void *arg); 72 …int (*fmt_handler)(struct task_struct *task, void *buf, pfm_ovfl_arg_t *arg, struct pt_regs *regs…
|
/linux-4.4.14/arch/cris/arch-v32/drivers/ |
D | sync_serial.c | 184 unsigned int cmd, unsigned long arg); 186 unsigned int cmd, unsigned long arg); 688 static ssize_t sync_serial_input(struct file *file, unsigned long arg) in sync_serial_input() argument 695 ret = copy_from_user(&req, (struct ssp_request __user *)arg, in sync_serial_input() 723 ret = copy_to_user((struct ssp_request __user *)arg, &req, in sync_serial_input() 737 unsigned int cmd, unsigned long arg) in sync_serial_ioctl_unlocked() argument 755 return sync_serial_input(file, arg); in sync_serial_ioctl_unlocked() 768 if (GET_SPEED(arg) == CODEC) { in sync_serial_ioctl_unlocked() 777 freq = GET_FREQ(arg); in sync_serial_ioctl_unlocked() 795 } else if (GET_SPEED(arg) == CODEC_f32768) { in sync_serial_ioctl_unlocked() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_ioc32.c | 50 unsigned long arg) in nouveau_compat_ioctl() argument 57 return drm_compat_ioctl(filp, cmd, arg); in nouveau_compat_ioctl() 64 ret = (*fn)(filp, cmd, arg); in nouveau_compat_ioctl() 66 ret = nouveau_drm_ioctl(filp, cmd, arg); in nouveau_compat_ioctl()
|
/linux-4.4.14/drivers/mtd/devices/ |
D | docg3.h | 318 #define doc_err(fmt, arg...) dev_err(docg3->dev, (fmt), ## arg) argument 319 #define doc_info(fmt, arg...) dev_info(docg3->dev, (fmt), ## arg) argument 320 #define doc_dbg(fmt, arg...) dev_dbg(docg3->dev, (fmt), ## arg) argument 321 #define doc_vdbg(fmt, arg...) dev_vdbg(docg3->dev, (fmt), ## arg) argument
|
/linux-4.4.14/drivers/infiniband/ulp/isert/ |
D | ib_isert.h | 10 #define isert_dbg(fmt, arg...) \ argument 14 __func__ , ## arg); \ 17 #define isert_warn(fmt, arg...) \ argument 21 __func__ , ## arg); \ 24 #define isert_info(fmt, arg...) \ argument 28 __func__ , ## arg); \ 31 #define isert_err(fmt, arg...) \ argument 32 pr_err(PFX "%s: " fmt, __func__ , ## arg)
|
/linux-4.4.14/arch/um/drivers/ |
D | net_user.c | 172 static void change_pre_exec(void *arg) in change_pre_exec() argument 174 struct change_pre_exec_data *data = arg; in change_pre_exec() 240 void open_addr(unsigned char *addr, unsigned char *netmask, void *arg) in open_addr() argument 242 change(arg, "add", addr, netmask); in open_addr() 245 void close_addr(unsigned char *addr, unsigned char *netmask, void *arg) in close_addr() argument 247 change(arg, "del", addr, netmask); in close_addr() 252 char **arg, *end, *ret = NULL; in split_if_spec() local 256 while ((arg = va_arg(ap, char **)) != NULL) { in split_if_spec() 261 *arg = str; in split_if_spec()
|
/linux-4.4.14/sound/core/ |
D | compress_offload.c | 227 snd_compr_ioctl_avail(struct snd_compr_stream *stream, unsigned long arg) in snd_compr_ioctl_avail() argument 235 if (copy_to_user((__u64 __user *)arg, in snd_compr_ioctl_avail() 430 snd_compr_get_caps(struct snd_compr_stream *stream, unsigned long arg) in snd_compr_get_caps() argument 442 if (copy_to_user((void __user *)arg, &caps, sizeof(caps))) in snd_compr_get_caps() 450 snd_compr_get_codec_caps(struct snd_compr_stream *stream, unsigned long arg) in snd_compr_get_codec_caps() argument 465 if (copy_to_user((void __user *)arg, caps, sizeof(*caps))) in snd_compr_get_codec_caps() 517 snd_compr_set_params(struct snd_compr_stream *stream, unsigned long arg) in snd_compr_set_params() argument 530 if (copy_from_user(params, (void __user *)arg, sizeof(*params))) { in snd_compr_set_params() 565 snd_compr_get_params(struct snd_compr_stream *stream, unsigned long arg) in snd_compr_get_params() argument 579 if (copy_to_user((char __user *)arg, params, sizeof(*params))) in snd_compr_get_params() [all …]
|
/linux-4.4.14/net/bluetooth/hidp/ |
D | sock.c | 49 static int hidp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in hidp_sock_ioctl() argument 51 void __user *argp = (void __user *) arg; in hidp_sock_ioctl() 60 BT_DBG("cmd %x arg %lx", cmd, arg); in hidp_sock_ioctl() 142 static int hidp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in hidp_sock_compat_ioctl() argument 149 if (get_user(cl.cnum, (u32 __user *) arg) || in hidp_sock_compat_ioctl() 150 get_user(uci, (u32 __user *) (arg + 4))) in hidp_sock_compat_ioctl() 160 if (!err && put_user(cl.cnum, (u32 __user *) arg)) in hidp_sock_compat_ioctl() 170 if (copy_from_user(&ca, (void __user *) arg, sizeof(ca))) in hidp_sock_compat_ioctl() 188 arg = (unsigned long) uca; in hidp_sock_compat_ioctl() 195 return hidp_sock_ioctl(sock, cmd, arg); in hidp_sock_compat_ioctl()
|
/linux-4.4.14/tools/perf/ |
D | builtin-trace.c | 301 struct syscall_arg *arg) in __syscall_arg__scnprintf_strarray() argument 303 struct strarray *sa = arg->parm; in __syscall_arg__scnprintf_strarray() 304 int idx = arg->val - sa->offset; in __syscall_arg__scnprintf_strarray() 307 return scnprintf(bf, size, intfmt, arg->val); in __syscall_arg__scnprintf_strarray() 313 struct syscall_arg *arg) in syscall_arg__scnprintf_strarray() argument 315 return __syscall_arg__scnprintf_strarray(bf, size, "%d", arg); in syscall_arg__scnprintf_strarray() 326 struct syscall_arg *arg) in syscall_arg__scnprintf_strhexarray() argument 328 return __syscall_arg__scnprintf_strarray(bf, size, "%#x", arg); in syscall_arg__scnprintf_strhexarray() 335 struct syscall_arg *arg); 340 struct syscall_arg *arg) in syscall_arg__scnprintf_fd_at() argument [all …]
|
/linux-4.4.14/drivers/usb/core/ |
D | devio.c | 103 #define snoop(dev, format, arg...) \ argument 106 dev_info(dev, format, ## arg); \ 969 static int proc_control(struct usb_dev_state *ps, void __user *arg) in proc_control() argument 978 if (copy_from_user(&ctrl, arg, sizeof(ctrl))) in proc_control() 1056 static int proc_bulk(struct usb_dev_state *ps, void __user *arg) in proc_bulk() argument 1065 if (copy_from_user(&bulk, arg, sizeof(bulk))) in proc_bulk() 1144 static int proc_resetep(struct usb_dev_state *ps, void __user *arg) in proc_resetep() argument 1149 if (get_user(ep, (unsigned int __user *)arg)) in proc_resetep() 1162 static int proc_clearhalt(struct usb_dev_state *ps, void __user *arg) in proc_clearhalt() argument 1168 if (get_user(ep, (unsigned int __user *)arg)) in proc_clearhalt() [all …]
|
/linux-4.4.14/net/rds/ |
D | tcp_recv.c | 157 struct rds_tcp_desc_arg *arg = desc->arg.data; in rds_tcp_data_recv() local 158 struct rds_connection *conn = arg->conn; in rds_tcp_data_recv() 174 arg->gfp); in rds_tcp_data_recv() 210 clone = skb_clone(skb, arg->gfp); in rds_tcp_data_recv() 244 arg->gfp); in rds_tcp_data_recv() 266 struct rds_tcp_desc_arg arg; in rds_tcp_read_sock() local 269 arg.conn = conn; in rds_tcp_read_sock() 270 arg.gfp = gfp; in rds_tcp_read_sock() 271 desc.arg.data = &arg; in rds_tcp_read_sock()
|
/linux-4.4.14/arch/arm/plat-samsung/ |
D | pm-check.c | 43 typedef u32 *(run_fn_t)(struct resource *ptr, u32 *arg); 50 static void s3c_pm_run_res(struct resource *ptr, run_fn_t fn, u32 *arg) in s3c_pm_run_res() argument 54 s3c_pm_run_res(ptr->child, fn, arg); in s3c_pm_run_res() 61 arg = (fn)(ptr, arg); in s3c_pm_run_res() 68 static void s3c_pm_run_sysram(run_fn_t fn, u32 *arg) in s3c_pm_run_sysram() argument 70 s3c_pm_run_res(&iomem_resource, fn, arg); in s3c_pm_run_sysram()
|
/linux-4.4.14/drivers/misc/sgi-gru/ |
D | grufile.c | 133 static int gru_create_new_context(unsigned long arg) in gru_create_new_context() argument 140 if (copy_from_user(&req, (void __user *)arg, sizeof(req))) in gru_create_new_context() 170 static long gru_get_config_info(unsigned long arg) in gru_get_config_info() argument 186 if (copy_to_user((void __user *)arg, &info, sizeof(info))) in gru_get_config_info() 197 unsigned long arg) in gru_file_unlocked_ioctl() argument 201 gru_dbg(grudev, "file %p, req 0x%x, 0x%lx\n", file, req, arg); in gru_file_unlocked_ioctl() 205 err = gru_create_new_context(arg); in gru_file_unlocked_ioctl() 208 err = gru_set_context_option(arg); in gru_file_unlocked_ioctl() 211 err = gru_get_exception_detail(arg); in gru_file_unlocked_ioctl() 214 err = gru_user_unload_context(arg); in gru_file_unlocked_ioctl() [all …]
|