/Linux-v6.1/kernel/trace/ |
D | trace_probe.c | 565 struct probe_arg *parg, unsigned int flags, int offset) in traceprobe_parse_probe_arg_body() argument 587 parg->comm = kstrdup(arg, GFP_KERNEL); in traceprobe_parse_probe_arg_body() 588 if (!parg->comm) in traceprobe_parse_probe_arg_body() 610 if (kstrtouint(t2, 0, &parg->count) || !parg->count) { in traceprobe_parse_probe_arg_body() 615 if (parg->count > MAX_ARRAY_LEN) { in traceprobe_parse_probe_arg_body() 631 if (parg->count || (t && strcmp(t, "string"))) in traceprobe_parse_probe_arg_body() 633 parg->type = find_fetch_type("string"); in traceprobe_parse_probe_arg_body() 635 parg->type = find_fetch_type(t); in traceprobe_parse_probe_arg_body() 636 if (!parg->type) { in traceprobe_parse_probe_arg_body() 640 parg->offset = *size; in traceprobe_parse_probe_arg_body() [all …]
|
D | trace_eprobe.c | 232 struct probe_arg *parg = &ep->tp.args[i]; in trace_eprobe_tp_arg_update() local 239 if (!strcmp(parg->code->data, field->name)) { in trace_eprobe_tp_arg_update() 240 kfree(parg->code->data); in trace_eprobe_tp_arg_update() 241 parg->code->data = field; in trace_eprobe_tp_arg_update() 250 if (strcmp(parg->code->data, "COMM") == 0 || in trace_eprobe_tp_arg_update() 251 strcmp(parg->code->data, "comm") == 0) { in trace_eprobe_tp_arg_update() 252 parg->code->op = FETCH_OP_COMM; in trace_eprobe_tp_arg_update() 256 kfree(parg->code->data); in trace_eprobe_tp_arg_update() 257 parg->code->data = NULL; in trace_eprobe_tp_arg_update()
|
/Linux-v6.1/drivers/media/cec/core/ |
D | cec-api.c | 76 struct cec_caps __user *parg) in cec_adap_g_caps() argument 86 if (copy_to_user(parg, &caps, sizeof(caps))) in cec_adap_g_caps() 92 __u16 __user *parg) in cec_adap_g_phys_addr() argument 99 if (copy_to_user(parg, &phys_addr, sizeof(phys_addr))) in cec_adap_g_phys_addr() 122 bool block, __u16 __user *parg) in cec_adap_s_phys_addr() argument 129 if (copy_from_user(&phys_addr, parg, sizeof(phys_addr))) in cec_adap_s_phys_addr() 145 struct cec_log_addrs __user *parg) in cec_adap_g_log_addrs() argument 162 if (copy_to_user(parg, &log_addrs, sizeof(log_addrs))) in cec_adap_g_log_addrs() 168 bool block, struct cec_log_addrs __user *parg) in cec_adap_s_log_addrs() argument 175 if (copy_from_user(&log_addrs, parg, sizeof(log_addrs))) in cec_adap_s_log_addrs() [all …]
|
/Linux-v6.1/drivers/media/v4l2-core/ |
D | v4l2-compat-ioctl32.c | 941 int v4l2_compat_get_user(void __user *arg, void *parg, unsigned int cmd) in v4l2_compat_get_user() argument 947 return get_v4l2_format32(parg, arg); in v4l2_compat_get_user() 950 return get_v4l2_framebuffer32(parg, arg); in v4l2_compat_get_user() 956 return get_v4l2_buffer32_time32(parg, arg); in v4l2_compat_get_user() 962 return get_v4l2_buffer32(parg, arg); in v4l2_compat_get_user() 967 return get_v4l2_ext_controls32(parg, arg); in v4l2_compat_get_user() 970 return get_v4l2_create32(parg, arg); in v4l2_compat_get_user() 973 return get_v4l2_standard32(parg, arg); in v4l2_compat_get_user() 976 return get_v4l2_input32(parg, arg); in v4l2_compat_get_user() 980 return get_v4l2_edid32(parg, arg); in v4l2_compat_get_user() [all …]
|
D | v4l2-ioctl.c | 3073 static int check_array_args(unsigned int cmd, void *parg, size_t *array_size, in check_array_args() argument 3083 struct v4l2_buffer *buf = parg; in check_array_args() 3100 struct v4l2_edid *edid = parg; in check_array_args() 3118 struct v4l2_ext_controls *ctrls = parg; in check_array_args() 3136 struct v4l2_format *fmt = parg; in check_array_args() 3181 static int video_get_user(void __user *arg, void *parg, in video_get_user() argument 3190 memset(parg, 0, n); in video_get_user() 3210 if (copy_from_user(parg, (void __user *)arg, n)) in video_get_user() 3213 memset(parg, 0, n); in video_get_user() 3214 err = v4l2_compat_get_user(arg, parg, cmd); in video_get_user() [all …]
|
/Linux-v6.1/drivers/media/dvb-core/ |
D | dmxdev.c | 1025 unsigned int cmd, void *parg) in dvb_demux_do_ioctl() argument 1029 unsigned long arg = (unsigned long)parg; in dvb_demux_do_ioctl() 1062 ret = dvb_dmxdev_filter_set(dmxdev, dmxdevfilter, parg); in dvb_demux_do_ioctl() 1071 ret = dvb_dmxdev_pes_filter_set(dmxdev, dmxdevfilter, parg); in dvb_demux_do_ioctl() 1089 dmxdev->demux->get_pes_pids(dmxdev->demux, parg); in dvb_demux_do_ioctl() 1098 ((struct dmx_stc *)parg)->num, in dvb_demux_do_ioctl() 1099 &((struct dmx_stc *)parg)->stc, in dvb_demux_do_ioctl() 1100 &((struct dmx_stc *)parg)->base); in dvb_demux_do_ioctl() 1108 ret = dvb_dmxdev_add_pid(dmxdev, dmxdevfilter, *(u16 *)parg); in dvb_demux_do_ioctl() 1117 ret = dvb_dmxdev_remove_pid(dmxdev, dmxdevfilter, *(u16 *)parg); in dvb_demux_do_ioctl() [all …]
|
D | dvb_frontend.c | 1332 unsigned int cmd, void *parg); 2052 void *parg) in dvb_frontend_do_ioctl() argument 2089 err = dvb_frontend_handle_ioctl(file, cmd, parg); in dvb_frontend_do_ioctl() 2414 unsigned int cmd, void *parg) in dvb_frontend_handle_ioctl() argument 2426 struct dtv_properties *tvps = parg; in dvb_frontend_handle_ioctl() 2459 err = dvb_get_property(fe, file, parg); in dvb_frontend_handle_ioctl() 2463 struct dvb_frontend_info *info = parg; in dvb_frontend_handle_ioctl() 2517 enum fe_status *status = parg; in dvb_frontend_handle_ioctl() 2543 struct dvb_diseqc_master_cmd *cmd = parg; in dvb_frontend_handle_ioctl() 2557 err = fe->ops.diseqc_send_burst(fe, (long)parg); in dvb_frontend_handle_ioctl() [all …]
|
D | dvbdev.c | 909 void *parg = NULL; in dvb_usercopy() local 919 parg = (void *) arg; in dvb_usercopy() 925 parg = sbuf; in dvb_usercopy() 931 parg = mbuf; in dvb_usercopy() 935 if (copy_from_user(parg, (void __user *)arg, _IOC_SIZE(cmd))) in dvb_usercopy() 941 if ((err = func(file, cmd, parg)) == -ENOIOCTLCMD) in dvb_usercopy() 952 if (copy_to_user((void __user *)arg, parg, _IOC_SIZE(cmd))) in dvb_usercopy()
|
D | dvb_net.c | 1424 unsigned int cmd, void *parg) argument 1439 struct dvb_net_if *dvbnetif = parg; 1465 struct dvb_net_if *dvbnetif = parg; 1492 if ((unsigned long) parg >= DVB_NET_DEVICES_MAX) { 1496 ret = dvb_net_remove_if(dvbnet, (unsigned long) parg); 1505 struct __dvb_net_if_old *dvbnetif = parg; 1531 struct __dvb_net_if_old *dvbnetif = parg;
|
D | dvb_ca_en50221.c | 1339 unsigned int cmd, void *parg) in dvb_ca_en50221_io_do_ioctl() argument 1371 struct ca_caps *caps = parg; in dvb_ca_en50221_io_do_ioctl() 1381 struct ca_slot_info *info = parg; in dvb_ca_en50221_io_do_ioctl()
|
/Linux-v6.1/drivers/staging/media/deprecated/saa7146/av7110/ |
D | av7110_ca.c | 234 static int dvb_ca_ioctl(struct file *file, unsigned int cmd, void *parg) in dvb_ca_ioctl() argument 238 unsigned long arg = (unsigned long) parg; in dvb_ca_ioctl() 260 memcpy(parg, &cap, sizeof(cap)); in dvb_ca_ioctl() 266 struct ca_slot_info *info=(struct ca_slot_info *)parg; in dvb_ca_ioctl() 291 memcpy(parg, &info, sizeof (info)); in dvb_ca_ioctl() 297 struct ca_descr *descr = (struct ca_descr*) parg; in dvb_ca_ioctl()
|
D | av7110_av.c | 1122 unsigned int cmd, void *parg) in dvb_video_ioctl() argument 1126 unsigned long arg = (unsigned long) parg; in dvb_video_ioctl() 1206 memcpy(parg, &av7110->videostate, sizeof(struct video_status)); in dvb_video_ioctl() 1211 ret = dvb_compat_video_get_event(av7110, parg, file->f_flags); in dvb_video_ioctl() 1216 ret = dvb_video_get_event(av7110, parg, file->f_flags); in dvb_video_ioctl() 1220 memcpy(parg, &av7110->video_size, sizeof(video_size_t)); in dvb_video_ioctl() 1261 (struct compat_video_still_picture *) parg; in dvb_video_ioctl() 1273 (struct video_still_picture *) parg; in dvb_video_ioctl() 1314 *(int *)parg = VIDEO_CAP_MPEG1 | VIDEO_CAP_MPEG2 | in dvb_video_ioctl() 1353 unsigned int cmd, void *parg) in dvb_audio_ioctl() argument [all …]
|
D | av7110.c | 680 unsigned int cmd, void *parg) in dvb_osd_ioctl() argument 688 return av7110_osd_cmd(av7110, (osd_cmd_t *) parg); in dvb_osd_ioctl() 690 return av7110_osd_capability(av7110, (osd_cap_t *) parg); in dvb_osd_ioctl()
|
/Linux-v6.1/tools/lib/traceevent/ |
D | parse-filter.c | 333 enum tep_event_type type, struct tep_filter_arg **parg, char *error_str) in create_arg_item() argument 389 *parg = arg; in create_arg_item() 938 process_filter(struct tep_event *event, struct tep_filter_arg **parg, in process_filter() argument 953 *parg = NULL; in process_filter() 978 *parg = current_exp; in process_filter() 1022 *parg = arg; in process_filter() 1045 *parg = current_op; in process_filter() 1047 *parg = current_exp; in process_filter() 1153 ret = collapse_tree(current_op, parg, error_str); in process_filter() 1179 struct tep_filter_arg **parg, char *error_str) in process_event() argument [all …]
|
D | event-parse.c | 5446 struct tep_print_parse *parg = NULL; in parse_arg_add() local 5448 parg = calloc(1, sizeof(*parg)); in parse_arg_add() 5449 if (!parg) in parse_arg_add() 5451 parg->format = strdup(format); in parse_arg_add() 5452 if (!parg->format) in parse_arg_add() 5454 parg->type = type; in parse_arg_add() 5455 parg->arg = arg; in parse_arg_add() 5456 parg->len_as_arg = len_as_arg; in parse_arg_add() 5457 parg->ls = ls; in parse_arg_add() 5458 *parse = parg; in parse_arg_add() [all …]
|
/Linux-v6.1/include/media/ |
D | v4l2-ioctl.h | 690 int v4l2_compat_get_user(void __user *arg, void *parg, unsigned int cmd); 691 int v4l2_compat_put_user(void __user *arg, void *parg, unsigned int cmd);
|
/Linux-v6.1/drivers/tee/optee/ |
D | smc_abi.c | 896 phys_addr_t parg; in optee_smc_do_call_with_arg() local 898 rc = tee_shm_get_pa(shm, offs, &parg); in optee_smc_do_call_with_arg() 906 reg_pair_from_64(¶m.a1, ¶m.a2, parg); in optee_smc_do_call_with_arg()
|