parg 76 drivers/media/cec/cec-api.c struct cec_caps __user *parg) parg 86 drivers/media/cec/cec-api.c if (copy_to_user(parg, &caps, sizeof(caps))) parg 92 drivers/media/cec/cec-api.c __u16 __user *parg) parg 99 drivers/media/cec/cec-api.c if (copy_to_user(parg, &phys_addr, sizeof(phys_addr))) parg 122 drivers/media/cec/cec-api.c bool block, __u16 __user *parg) parg 129 drivers/media/cec/cec-api.c if (copy_from_user(&phys_addr, parg, sizeof(phys_addr))) parg 145 drivers/media/cec/cec-api.c struct cec_log_addrs __user *parg) parg 156 drivers/media/cec/cec-api.c if (copy_to_user(parg, &log_addrs, sizeof(log_addrs))) parg 162 drivers/media/cec/cec-api.c bool block, struct cec_log_addrs __user *parg) parg 169 drivers/media/cec/cec-api.c if (copy_from_user(&log_addrs, parg, sizeof(log_addrs))) parg 185 drivers/media/cec/cec-api.c if (copy_to_user(parg, &log_addrs, sizeof(log_addrs))) parg 191 drivers/media/cec/cec-api.c bool block, struct cec_msg __user *parg) parg 198 drivers/media/cec/cec-api.c if (copy_from_user(&msg, parg, sizeof(msg))) parg 213 drivers/media/cec/cec-api.c if (copy_to_user(parg, &msg, sizeof(msg))) parg 270 drivers/media/cec/cec-api.c bool block, struct cec_msg __user *parg) parg 275 drivers/media/cec/cec-api.c if (copy_from_user(&msg, parg, sizeof(msg))) parg 282 drivers/media/cec/cec-api.c if (copy_to_user(parg, &msg, sizeof(msg))) parg 288 drivers/media/cec/cec-api.c bool block, struct cec_event __user *parg) parg 325 drivers/media/cec/cec-api.c if (copy_to_user(parg, &ev->ev, sizeof(ev->ev))) parg 338 drivers/media/cec/cec-api.c u32 __user *parg) parg 342 drivers/media/cec/cec-api.c if (copy_to_user(parg, &mode, sizeof(mode))) parg 348 drivers/media/cec/cec-api.c u32 __user *parg) parg 356 drivers/media/cec/cec-api.c if (copy_from_user(&mode, parg, sizeof(mode))) parg 488 drivers/media/cec/cec-api.c void __user *parg = (void __user *)arg; parg 495 drivers/media/cec/cec-api.c return cec_adap_g_caps(adap, parg); parg 498 drivers/media/cec/cec-api.c return cec_adap_g_phys_addr(adap, parg); parg 501 drivers/media/cec/cec-api.c return cec_adap_s_phys_addr(adap, fh, block, parg); parg 504 drivers/media/cec/cec-api.c return cec_adap_g_log_addrs(adap, parg); parg 507 drivers/media/cec/cec-api.c return cec_adap_s_log_addrs(adap, fh, block, parg); parg 510 drivers/media/cec/cec-api.c return cec_transmit(adap, fh, block, parg); parg 513 drivers/media/cec/cec-api.c return cec_receive(adap, fh, block, parg); parg 516 drivers/media/cec/cec-api.c return cec_dqevent(adap, fh, block, parg); parg 519 drivers/media/cec/cec-api.c return cec_g_mode(adap, fh, parg); parg 522 drivers/media/cec/cec-api.c return cec_s_mode(adap, fh, parg); parg 1035 drivers/media/dvb-core/dmxdev.c unsigned int cmd, void *parg) parg 1039 drivers/media/dvb-core/dmxdev.c unsigned long arg = (unsigned long)parg; parg 1072 drivers/media/dvb-core/dmxdev.c ret = dvb_dmxdev_filter_set(dmxdev, dmxdevfilter, parg); parg 1081 drivers/media/dvb-core/dmxdev.c ret = dvb_dmxdev_pes_filter_set(dmxdev, dmxdevfilter, parg); parg 1099 drivers/media/dvb-core/dmxdev.c dmxdev->demux->get_pes_pids(dmxdev->demux, parg); parg 1108 drivers/media/dvb-core/dmxdev.c ((struct dmx_stc *)parg)->num, parg 1109 drivers/media/dvb-core/dmxdev.c &((struct dmx_stc *)parg)->stc, parg 1110 drivers/media/dvb-core/dmxdev.c &((struct dmx_stc *)parg)->base); parg 1118 drivers/media/dvb-core/dmxdev.c ret = dvb_dmxdev_add_pid(dmxdev, dmxdevfilter, *(u16 *)parg); parg 1127 drivers/media/dvb-core/dmxdev.c ret = dvb_dmxdev_remove_pid(dmxdev, dmxdevfilter, *(u16 *)parg); parg 1137 drivers/media/dvb-core/dmxdev.c ret = dvb_vb2_reqbufs(&dmxdevfilter->vb2_ctx, parg); parg 1146 drivers/media/dvb-core/dmxdev.c ret = dvb_vb2_querybuf(&dmxdevfilter->vb2_ctx, parg); parg 1155 drivers/media/dvb-core/dmxdev.c ret = dvb_vb2_expbuf(&dmxdevfilter->vb2_ctx, parg); parg 1164 drivers/media/dvb-core/dmxdev.c ret = dvb_vb2_qbuf(&dmxdevfilter->vb2_ctx, parg); parg 1175 drivers/media/dvb-core/dmxdev.c ret = dvb_vb2_dqbuf(&dmxdevfilter->vb2_ctx, parg); parg 1289 drivers/media/dvb-core/dmxdev.c unsigned int cmd, void *parg) parg 1293 drivers/media/dvb-core/dmxdev.c unsigned long arg = (unsigned long)parg; parg 1306 drivers/media/dvb-core/dmxdev.c ret = dvb_vb2_reqbufs(&dmxdev->dvr_vb2_ctx, parg); parg 1310 drivers/media/dvb-core/dmxdev.c ret = dvb_vb2_querybuf(&dmxdev->dvr_vb2_ctx, parg); parg 1314 drivers/media/dvb-core/dmxdev.c ret = dvb_vb2_expbuf(&dmxdev->dvr_vb2_ctx, parg); parg 1318 drivers/media/dvb-core/dmxdev.c ret = dvb_vb2_qbuf(&dmxdev->dvr_vb2_ctx, parg); parg 1324 drivers/media/dvb-core/dmxdev.c ret = dvb_vb2_dqbuf(&dmxdev->dvr_vb2_ctx, parg); parg 1337 drivers/media/dvb-core/dvb_ca_en50221.c unsigned int cmd, void *parg) parg 1369 drivers/media/dvb-core/dvb_ca_en50221.c struct ca_caps *caps = parg; parg 1379 drivers/media/dvb-core/dvb_ca_en50221.c struct ca_slot_info *info = parg; parg 1336 drivers/media/dvb-core/dvb_frontend.c unsigned int cmd, void *parg); parg 1988 drivers/media/dvb-core/dvb_frontend.c void *parg) parg 2025 drivers/media/dvb-core/dvb_frontend.c err = dvb_frontend_handle_ioctl(file, cmd, parg); parg 2390 drivers/media/dvb-core/dvb_frontend.c unsigned int cmd, void *parg) parg 2402 drivers/media/dvb-core/dvb_frontend.c struct dtv_properties *tvps = parg; parg 2435 drivers/media/dvb-core/dvb_frontend.c err = dvb_get_property(fe, file, parg); parg 2439 drivers/media/dvb-core/dvb_frontend.c struct dvb_frontend_info *info = parg; parg 2493 drivers/media/dvb-core/dvb_frontend.c enum fe_status *status = parg; parg 2519 drivers/media/dvb-core/dvb_frontend.c struct dvb_diseqc_master_cmd *cmd = parg; parg 2534 drivers/media/dvb-core/dvb_frontend.c (enum fe_sec_mini_cmd)parg); parg 2543 drivers/media/dvb-core/dvb_frontend.c (enum fe_sec_tone_mode)parg); parg 2544 drivers/media/dvb-core/dvb_frontend.c fepriv->tone = (enum fe_sec_tone_mode)parg; parg 2553 drivers/media/dvb-core/dvb_frontend.c (enum fe_sec_voltage)parg); parg 2554 drivers/media/dvb-core/dvb_frontend.c fepriv->voltage = (enum fe_sec_voltage)parg; parg 2562 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.diseqc_recv_slave_reply(fe, parg); parg 2567 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.enable_high_lnb_voltage(fe, (long)parg); parg 2571 drivers/media/dvb-core/dvb_frontend.c fepriv->tune_mode_flags = (unsigned long)parg; parg 2579 drivers/media/dvb-core/dvb_frontend.c (unsigned long)parg); parg 2599 drivers/media/dvb-core/dvb_frontend.c unsigned long swcmd = ((unsigned long)parg) << 1; parg 2647 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.read_ber(fe, parg); parg 2656 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.read_signal_strength(fe, parg); parg 2665 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.read_snr(fe, parg); parg 2674 drivers/media/dvb-core/dvb_frontend.c err = fe->ops.read_ucblocks(fe, parg); parg 2687 drivers/media/dvb-core/dvb_frontend.c err = dtv_property_cache_sync(fe, c, parg); parg 2694 drivers/media/dvb-core/dvb_frontend.c err = dvb_frontend_get_event(fe, parg, file->f_flags); parg 2698 drivers/media/dvb-core/dvb_frontend.c err = dvb_get_frontend(fe, parg); parg 1423 drivers/media/dvb-core/dvb_net.c unsigned int cmd, void *parg) parg 1438 drivers/media/dvb-core/dvb_net.c struct dvb_net_if *dvbnetif = parg; parg 1464 drivers/media/dvb-core/dvb_net.c struct dvb_net_if *dvbnetif = parg; parg 1485 drivers/media/dvb-core/dvb_net.c if ((unsigned long) parg >= DVB_NET_DEVICES_MAX) { parg 1489 drivers/media/dvb-core/dvb_net.c ret = dvb_net_remove_if(dvbnet, (unsigned long) parg); parg 1498 drivers/media/dvb-core/dvb_net.c struct __dvb_net_if_old *dvbnetif = parg; parg 1524 drivers/media/dvb-core/dvb_net.c struct __dvb_net_if_old *dvbnetif = parg; parg 911 drivers/media/dvb-core/dvbdev.c void *parg = NULL; parg 921 drivers/media/dvb-core/dvbdev.c parg = (void *) arg; parg 927 drivers/media/dvb-core/dvbdev.c parg = sbuf; parg 933 drivers/media/dvb-core/dvbdev.c parg = mbuf; parg 937 drivers/media/dvb-core/dvbdev.c if (copy_from_user(parg, (void __user *)arg, _IOC_SIZE(cmd))) parg 943 drivers/media/dvb-core/dvbdev.c if ((err = func(file, cmd, parg)) == -ENOIOCTLCMD) parg 954 drivers/media/dvb-core/dvbdev.c if (copy_to_user((void __user *)arg, parg, _IOC_SIZE(cmd))) parg 679 drivers/media/pci/ttpci/av7110.c unsigned int cmd, void *parg) parg 687 drivers/media/pci/ttpci/av7110.c return av7110_osd_cmd(av7110, (osd_cmd_t *) parg); parg 689 drivers/media/pci/ttpci/av7110.c return av7110_osd_capability(av7110, (osd_cap_t *) parg); parg 1121 drivers/media/pci/ttpci/av7110_av.c unsigned int cmd, void *parg) parg 1125 drivers/media/pci/ttpci/av7110_av.c unsigned long arg = (unsigned long) parg; parg 1205 drivers/media/pci/ttpci/av7110_av.c memcpy(parg, &av7110->videostate, sizeof(struct video_status)); parg 1210 drivers/media/pci/ttpci/av7110_av.c ret = dvb_compat_video_get_event(av7110, parg, file->f_flags); parg 1215 drivers/media/pci/ttpci/av7110_av.c ret = dvb_video_get_event(av7110, parg, file->f_flags); parg 1219 drivers/media/pci/ttpci/av7110_av.c memcpy(parg, &av7110->video_size, sizeof(video_size_t)); parg 1260 drivers/media/pci/ttpci/av7110_av.c (struct compat_video_still_picture *) parg; parg 1272 drivers/media/pci/ttpci/av7110_av.c (struct video_still_picture *) parg; parg 1313 drivers/media/pci/ttpci/av7110_av.c *(int *)parg = VIDEO_CAP_MPEG1 | VIDEO_CAP_MPEG2 | parg 1352 drivers/media/pci/ttpci/av7110_av.c unsigned int cmd, void *parg) parg 1356 drivers/media/pci/ttpci/av7110_av.c unsigned long arg = (unsigned long) parg; parg 1460 drivers/media/pci/ttpci/av7110_av.c memcpy(parg, &av7110->audiostate, sizeof(struct audio_status)); parg 1465 drivers/media/pci/ttpci/av7110_av.c *(unsigned int *)parg = AUDIO_CAP_LPCM | AUDIO_CAP_MP1 | AUDIO_CAP_MP2; parg 1467 drivers/media/pci/ttpci/av7110_av.c *(unsigned int *)parg = AUDIO_CAP_LPCM | AUDIO_CAP_DTS | AUDIO_CAP_AC3 | parg 1484 drivers/media/pci/ttpci/av7110_av.c struct audio_mixer *amix = (struct audio_mixer *)parg; parg 234 drivers/media/pci/ttpci/av7110_ca.c static int dvb_ca_ioctl(struct file *file, unsigned int cmd, void *parg) parg 238 drivers/media/pci/ttpci/av7110_ca.c unsigned long arg = (unsigned long) parg; parg 260 drivers/media/pci/ttpci/av7110_ca.c memcpy(parg, &cap, sizeof(cap)); parg 266 drivers/media/pci/ttpci/av7110_ca.c struct ca_slot_info *info=(struct ca_slot_info *)parg; parg 291 drivers/media/pci/ttpci/av7110_ca.c memcpy(parg, &info, sizeof (info)); parg 297 drivers/media/pci/ttpci/av7110_ca.c struct ca_descr *descr = (struct ca_descr*) parg; parg 2949 drivers/media/v4l2-core/v4l2-ioctl.c static int check_array_args(unsigned int cmd, void *parg, size_t *array_size, parg 2959 drivers/media/v4l2-core/v4l2-ioctl.c struct v4l2_buffer *buf = parg; parg 2976 drivers/media/v4l2-core/v4l2-ioctl.c struct v4l2_edid *edid = parg; parg 2994 drivers/media/v4l2-core/v4l2-ioctl.c struct v4l2_ext_controls *ctrls = parg; parg 3020 drivers/media/v4l2-core/v4l2-ioctl.c void *parg = (void *)arg; parg 3032 drivers/media/v4l2-core/v4l2-ioctl.c parg = sbuf; parg 3038 drivers/media/v4l2-core/v4l2-ioctl.c parg = mbuf; parg 3060 drivers/media/v4l2-core/v4l2-ioctl.c if (copy_from_user(parg, (void __user *)arg, n)) parg 3065 drivers/media/v4l2-core/v4l2-ioctl.c memset((u8 *)parg + n, 0, ioc_size - n); parg 3068 drivers/media/v4l2-core/v4l2-ioctl.c memset(parg, 0, ioc_size); parg 3072 drivers/media/v4l2-core/v4l2-ioctl.c err = check_array_args(cmd, parg, &array_size, &user_ptr, &kernel_ptr); parg 3095 drivers/media/v4l2-core/v4l2-ioctl.c err = func(file, cmd, parg); parg 3103 drivers/media/v4l2-core/v4l2-ioctl.c trace_v4l2_dqbuf(video_devdata(file)->minor, parg); parg 3105 drivers/media/v4l2-core/v4l2-ioctl.c trace_v4l2_qbuf(video_devdata(file)->minor, parg); parg 3126 drivers/media/v4l2-core/v4l2-ioctl.c if (copy_to_user((void __user *)arg, parg, ioc_size)) parg 125 drivers/tee/optee/call.c u32 optee_do_call_with_arg(struct tee_context *ctx, phys_addr_t parg) parg 134 drivers/tee/optee/call.c reg_pair_from_64(¶m.a1, ¶m.a2, parg); parg 260 drivers/tee/optee/core.c phys_addr_t parg; parg 277 drivers/tee/optee/core.c if (tee_shm_va2pa(shm, arg, &parg)) parg 288 drivers/tee/optee/core.c optee_do_call_with_arg(ctx, parg); parg 144 drivers/tee/optee/optee_private.h u32 optee_do_call_with_arg(struct tee_context *ctx, phys_addr_t parg); parg 544 kernel/trace/trace_probe.c struct probe_arg *parg, unsigned int flags, int offset) parg 559 kernel/trace/trace_probe.c parg->comm = kstrdup(arg, GFP_KERNEL); parg 560 kernel/trace/trace_probe.c if (!parg->comm) parg 581 kernel/trace/trace_probe.c if (kstrtouint(t2, 0, &parg->count) || !parg->count) { parg 586 kernel/trace/trace_probe.c if (parg->count > MAX_ARRAY_LEN) { parg 600 kernel/trace/trace_probe.c if (parg->count || (t && strcmp(t, "string"))) parg 602 kernel/trace/trace_probe.c parg->type = find_fetch_type("string"); parg 604 kernel/trace/trace_probe.c parg->type = find_fetch_type(t); parg 605 kernel/trace/trace_probe.c if (!parg->type) { parg 609 kernel/trace/trace_probe.c parg->offset = *size; parg 610 kernel/trace/trace_probe.c *size += parg->type->size * (parg->count ?: 1); parg 612 kernel/trace/trace_probe.c if (parg->count) { parg 613 kernel/trace/trace_probe.c len = strlen(parg->type->fmttype) + 6; parg 614 kernel/trace/trace_probe.c parg->fmt = kmalloc(len, GFP_KERNEL); parg 615 kernel/trace/trace_probe.c if (!parg->fmt) parg 617 kernel/trace/trace_probe.c snprintf(parg->fmt, len, "%s[%d]", parg->type->fmttype, parg 618 kernel/trace/trace_probe.c parg->count); parg 626 kernel/trace/trace_probe.c ret = parse_probe_arg(arg, parg->type, &code, &code[FETCH_INSN_MAX - 1], parg 632 kernel/trace/trace_probe.c if (!strcmp(parg->type->name, "string") || parg 633 kernel/trace/trace_probe.c !strcmp(parg->type->name, "ustring")) { parg 643 kernel/trace/trace_probe.c parg->count) { parg 658 kernel/trace/trace_probe.c if (!strcmp(parg->type->name, "ustring") || parg 663 kernel/trace/trace_probe.c code->size = parg->type->size; parg 664 kernel/trace/trace_probe.c parg->dynamic = true; parg 667 kernel/trace/trace_probe.c code->size = parg->type->size; parg 670 kernel/trace/trace_probe.c code->size = parg->type->size; parg 679 kernel/trace/trace_probe.c code->size = parg->type->size; parg 684 kernel/trace/trace_probe.c ret = __parse_bitfield_probe_arg(t, parg->type, &code); parg 691 kernel/trace/trace_probe.c if (parg->count) { parg 707 kernel/trace/trace_probe.c code->param = parg->count; parg 713 kernel/trace/trace_probe.c parg->code = kcalloc(code - tmp + 1, sizeof(*code), GFP_KERNEL); parg 714 kernel/trace/trace_probe.c if (!parg->code) parg 717 kernel/trace/trace_probe.c memcpy(parg->code, tmp, sizeof(*code) * (code - tmp + 1)); parg 751 kernel/trace/trace_probe.c struct probe_arg *parg = &tp->args[i]; parg 766 kernel/trace/trace_probe.c parg->name = kmemdup_nul(arg, body - arg, GFP_KERNEL); parg 770 kernel/trace/trace_probe.c parg->name = kasprintf(GFP_KERNEL, "arg%d", i + 1); parg 773 kernel/trace/trace_probe.c if (!parg->name) parg 776 kernel/trace/trace_probe.c if (!is_good_name(parg->name)) { parg 780 kernel/trace/trace_probe.c if (traceprobe_conflict_field_name(parg->name, tp->args, i)) { parg 785 kernel/trace/trace_probe.c return traceprobe_parse_probe_arg_body(body, &tp->size, parg, flags, parg 844 kernel/trace/trace_probe.c struct probe_arg *parg; parg 860 kernel/trace/trace_probe.c parg = tp->args + i; parg 861 kernel/trace/trace_probe.c pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); parg 862 kernel/trace/trace_probe.c if (parg->count) { parg 864 kernel/trace/trace_probe.c parg->type->fmt); parg 865 kernel/trace/trace_probe.c for (j = 1; j < parg->count; j++) parg 867 kernel/trace/trace_probe.c parg->type->fmt); parg 871 kernel/trace/trace_probe.c parg->type->fmt); parg 877 kernel/trace/trace_probe.c parg = tp->args + i; parg 878 kernel/trace/trace_probe.c if (parg->count) { parg 879 kernel/trace/trace_probe.c if ((strcmp(parg->type->name, "string") == 0) || parg 880 kernel/trace/trace_probe.c (strcmp(parg->type->name, "ustring") == 0)) parg 884 kernel/trace/trace_probe.c for (j = 0; j < parg->count; j++) parg 886 kernel/trace/trace_probe.c fmt, parg->name, j); parg 888 kernel/trace/trace_probe.c if ((strcmp(parg->type->name, "string") == 0) || parg 889 kernel/trace/trace_probe.c (strcmp(parg->type->name, "ustring") == 0)) parg 894 kernel/trace/trace_probe.c fmt, parg->name); parg 929 kernel/trace/trace_probe.c struct probe_arg *parg = &tp->args[i]; parg 930 kernel/trace/trace_probe.c const char *fmt = parg->type->fmttype; parg 931 kernel/trace/trace_probe.c int size = parg->type->size; parg 933 kernel/trace/trace_probe.c if (parg->fmt) parg 934 kernel/trace/trace_probe.c fmt = parg->fmt; parg 935 kernel/trace/trace_probe.c if (parg->count) parg 936 kernel/trace/trace_probe.c size *= parg->count; parg 937 kernel/trace/trace_probe.c ret = trace_define_field(event_call, fmt, parg->name, parg 938 kernel/trace/trace_probe.c offset + parg->offset, size, parg 939 kernel/trace/trace_probe.c parg->type->is_signed, parg 338 tools/lib/traceevent/parse-filter.c enum tep_event_type type, struct tep_filter_arg **parg, char *error_str) parg 394 tools/lib/traceevent/parse-filter.c *parg = arg; parg 943 tools/lib/traceevent/parse-filter.c process_filter(struct tep_event *event, struct tep_filter_arg **parg, parg 958 tools/lib/traceevent/parse-filter.c *parg = NULL; parg 983 tools/lib/traceevent/parse-filter.c *parg = current_exp; parg 1027 tools/lib/traceevent/parse-filter.c *parg = arg; parg 1050 tools/lib/traceevent/parse-filter.c *parg = current_op; parg 1052 tools/lib/traceevent/parse-filter.c *parg = current_exp; parg 1158 tools/lib/traceevent/parse-filter.c ret = collapse_tree(current_op, parg, error_str); parg 1184 tools/lib/traceevent/parse-filter.c struct tep_filter_arg **parg, char *error_str) parg 1190 tools/lib/traceevent/parse-filter.c ret = process_filter(event, parg, error_str, 0); parg 1195 tools/lib/traceevent/parse-filter.c if (!*parg) { parg 1196 tools/lib/traceevent/parse-filter.c *parg = allocate_arg(); parg 1197 tools/lib/traceevent/parse-filter.c if (*parg == NULL) parg 1200 tools/lib/traceevent/parse-filter.c (*parg)->type = TEP_FILTER_ARG_BOOLEAN; parg 1201 tools/lib/traceevent/parse-filter.c (*parg)->boolean.value = TEP_FILTER_FALSE;