/linux/drivers/xen/ |
A D | evtchn.c | 104 return u->ring + evtchn_ring_offset(u, idx); in evtchn_ring_entry() 111 u->nr_evtchns++; in add_evtchn() 229 READ_ONCE(u->ring_cons) != READ_ONCE(u->ring_prod)); in evtchn_read() 236 bytes1 = (u->ring_size - evtchn_ring_offset(u, c)) * in evtchn_read() 322 if (u->nr_evtchns <= u->ring_size) in evtchn_resize_ring() 354 memcpy(new_ring, old_ring, u->ring_size * sizeof(*u->ring)); in evtchn_resize_ring() 356 u->ring_size * sizeof(*u->ring)); in evtchn_resize_ring() 605 if (READ_ONCE(u->ring_cons) != READ_ONCE(u->ring_prod)) in evtchn_poll() 622 u = kzalloc(sizeof(*u), GFP_KERNEL); in evtchn_open() 628 kfree(u); in evtchn_open() [all …]
|
A D | efi.c | 38 .u.efi_runtime_call.function = XEN_EFI_##name, \ 39 .u.efi_runtime_call.misc = 0} 41 #define efi_data(op) (op.u.efi_runtime_call) 56 tc->resolution = efi_data(op).u.get_time.resolution; in xen_efi_get_time() 57 tc->accuracy = efi_data(op).u.get_time.accuracy; in xen_efi_get_time() 70 memcpy(&efi_data(op).u.set_time, tm, sizeof(*tm)); in xen_efi_set_time() 129 efi_data(op).u.get_variable.size = *data_size; in xen_efi_get_variable() 135 *data_size = efi_data(op).u.get_variable.size; in xen_efi_get_variable() 176 efi_data(op).u.set_variable.size = data_size; in xen_efi_set_variable() 194 efi_data(op).u.query_variable_info.attr = attr; in xen_efi_query_variable_info() [all …]
|
/linux/sound/pci/asihpi/ |
A D | hpicmn.c | 374 phr->u.c.param1 = pC->u.mode.mode; in hpi_check_control_cache_single() 389 phr->u.c.param1 = pC->u.tuner.band; in hpi_check_control_cache_single() 406 phr->u.c.param1 = pC->u.aes3rx.format; in hpi_check_control_cache_single() 412 phr->u.c.param1 = pC->u.aes3tx.format; in hpi_check_control_cache_single() 418 phr->u.c.param1 = pC->u.tone.state; in hpi_check_control_cache_single() 424 phr->u.c.param1 = pC->u.silence.state; in hpi_check_control_cache_single() 436 phr->u.c.param1 = pC->u.clk.source; in hpi_check_control_cache_single() 446 phr->u.c.param1 = pC->u.clk.sample_rate; in hpi_check_control_cache_single() 580 pC->u.mode.mode = (u16)phm->u.c.param1; in hpi_cmn_control_cache_sync_to_msg_single() 594 pC->u.aes3tx.format = phm->u.c.param1; in hpi_cmn_control_cache_sync_to_msg_single() [all …]
|
/linux/drivers/xen/xenbus/ |
A D | xenbus_dev_frontend.c | 112 } u; member 428 msg.hdr = u->u.msg; in xenbus_command_reply() 454 } *msg = (void *)u->u.buffer; in xenbus_write_transaction() 502 path = u->u.buffer + sizeof(u->u.msg); in xenbus_write_watch() 581 if (len > sizeof(u->u.buffer) - u->len) { in xenbus_file_write() 588 ret = copy_from_user(u->u.buffer + u->len, ubuf, len); in xenbus_file_write() 602 if (u->len < sizeof(u->u.msg)) in xenbus_file_write() 607 if ((sizeof(u->u.msg) + u->u.msg.len) > sizeof(u->u.buffer)) { in xenbus_file_write() 613 if (u->len < (sizeof(u->u.msg) + u->u.msg.len)) in xenbus_file_write() 622 msg_type = u->u.msg.type; in xenbus_file_write() [all …]
|
/linux/fs/vboxsf/ |
A D | vboxsf_wrappers.c | 82 parms.path.u.pointer.u.linear_addr = (uintptr_t)folder_name; in vboxsf_map_folder() 140 parms.path.u.pointer.u.linear_addr = (uintptr_t)parsed_path; in vboxsf_create() 189 parms.src.u.pointer.u.linear_addr = (uintptr_t)src_path; in vboxsf_rename() 193 parms.dest.u.pointer.u.linear_addr = (uintptr_t)dest_path; in vboxsf_rename() 217 parms.buffer.u.pointer.u.linear_addr = (uintptr_t)buf; in vboxsf_read() 241 parms.buffer.u.pointer.u.linear_addr = (uintptr_t)buf; in vboxsf_write() 273 parms.path.u.pointer.u.linear_addr = 0; in vboxsf_dirinfo() 278 parms.buffer.u.pointer.u.linear_addr = (uintptr_t)buf; in vboxsf_dirinfo() 311 parms.info.u.pointer.u.linear_addr = (uintptr_t)buf; in vboxsf_fsinfo() 334 parms.buffer.u.pointer.u.linear_addr = (uintptr_t)buf; in vboxsf_readlink() [all …]
|
/linux/drivers/block/xen-blkback/ |
A D | common.h | 127 } u; member 183 } u; member 406 dst->u.rw.handle = src->u.rw.handle; in blkif_get_x86_32_req() 407 dst->u.rw.id = src->u.rw.id; in blkif_get_x86_32_req() 413 dst->u.rw.seg[i] = src->u.rw.seg[i]; in blkif_get_x86_32_req() 417 dst->u.discard.id = src->u.discard.id; in blkif_get_x86_32_req() 438 dst->u.other.id = src->u.other.id; in blkif_get_x86_32_req() 454 dst->u.rw.handle = src->u.rw.handle; in blkif_get_x86_64_req() 455 dst->u.rw.id = src->u.rw.id; in blkif_get_x86_64_req() 461 dst->u.rw.seg[i] = src->u.rw.seg[i]; in blkif_get_x86_64_req() [all …]
|
/linux/arch/sparc/include/asm/ |
A D | termios.h | 67 #define user_termios_to_kernel_termios(k, u) \ argument 70 err = get_user((k)->c_iflag, &(u)->c_iflag); \ 71 err |= get_user((k)->c_oflag, &(u)->c_oflag); \ 72 err |= get_user((k)->c_cflag, &(u)->c_cflag); \ 73 err |= get_user((k)->c_lflag, &(u)->c_lflag); \ 74 err |= get_user((k)->c_line, &(u)->c_line); \ 88 #define kernel_termios_to_user_termios(u, k) \ argument 91 err = put_user((k)->c_iflag, &(u)->c_iflag); \ 95 err |= put_user((k)->c_line, &(u)->c_line); \ 116 err |= get_user((k)->c_line, &(u)->c_line); \ [all …]
|
/linux/arch/s390/lib/ |
A D | test_unwind.c | 144 u->ret = test_unwind(NULL, (u->flags & UWM_REGS) ? regs : NULL, in pgm_pre_handler() 145 (u->flags & UWM_SP) ? u->sp : 0); in pgm_pre_handler() 165 unwindme = u; in unwindme_func4() 187 return u->ret; in unwindme_func4() 197 (u->flags & UWM_SP) ? u->sp : 0); in unwindme_func4() 237 if (u) { in unwindme_timer_fn() 239 u->task = NULL; in unwindme_timer_fn() 240 u->ret = unwindme_func1(u); in unwindme_timer_fn() 249 unwindme = u; in test_unwind_irq() 254 return u->ret; in test_unwind_irq() [all …]
|
/linux/drivers/gpu/drm/selftests/ |
A D | test-drm_dp_mst_helper.c | 62 #define IN in->u.i2c_read in sideband_msg_req_equal() 63 #define OUT out->u.i2c_read in sideband_msg_req_equal() 90 #define IN in->u.dpcd_write in sideband_msg_req_equal() 91 #define OUT out->u.dpcd_write in sideband_msg_req_equal() 102 #define IN in->u.i2c_write in sideband_msg_req_equal() 103 #define OUT out->u.i2c_write in sideband_msg_req_equal() 169 memset(&in->u, 0, sizeof(in->u)); in sideband_msg_req_encode_decode() 186 in.u.port_num.port_number = 5; in igt_dp_mst_sideband_msg_req_decode() 190 in.u.port_num.port_number = 5; in igt_dp_mst_sideband_msg_req_decode() 229 in.u.dpcd_write.bytes = data; in igt_dp_mst_sideband_msg_req_decode() [all …]
|
/linux/drivers/scsi/fnic/ |
A D | fnic_res.h | 140 desc->u.itmf._resvd = 0; in fnic_queue_wq_copy_desc_itmf() 142 desc->u.itmf._resvd1 = 0; in fnic_queue_wq_copy_desc_itmf() 161 desc->u.flogi_reg.format = format; in fnic_queue_wq_copy_desc_flogi_reg() 162 desc->u.flogi_reg._resvd = 0; in fnic_queue_wq_copy_desc_flogi_reg() 163 hton24(desc->u.flogi_reg.s_id, s_id); in fnic_queue_wq_copy_desc_flogi_reg() 181 desc->u.flogi_fip_reg._resvd0 = 0; in fnic_queue_wq_copy_desc_fip_reg() 182 hton24(desc->u.flogi_fip_reg.s_id, s_id); in fnic_queue_wq_copy_desc_fip_reg() 184 desc->u.flogi_fip_reg._resvd1 = 0; in fnic_queue_wq_copy_desc_fip_reg() 185 desc->u.flogi_fip_reg.r_a_tov = r_a_tov; in fnic_queue_wq_copy_desc_fip_reg() 186 desc->u.flogi_fip_reg.e_d_tov = e_d_tov; in fnic_queue_wq_copy_desc_fip_reg() [all …]
|
/linux/net/unix/ |
A D | garbage.c | 111 struct unix_sock *u = unix_sk(sk); in scan_inflight() local 120 func(u); in scan_inflight() 141 struct unix_sock *u; in scan_children() local 149 u = unix_sk(skb->sk); in scan_children() 154 BUG_ON(!list_empty(&u->link)); in scan_children() 155 list_add_tail(&u->link, &embryos); in scan_children() 161 scan_inflight(&u->sk, func, hitlist); in scan_children() 162 list_del_init(&u->link); in scan_children() 179 atomic_long_inc(&u->inflight); in inc_inflight_move_tail() 204 struct unix_sock *u; in unix_gc() local [all …]
|
/linux/security/ |
A D | lsm_audit.c | 66 ad->u.net->dport = th->dest; in ipv4_skb_to_auditdata() 75 ad->u.net->dport = uh->dest; in ipv4_skb_to_auditdata() 294 inode = a->u.inode; in dump_common_audit_data() 322 if (a->u.net->sk) { in dump_common_audit_data() 324 struct unix_sock *u; in dump_common_audit_data() local 355 u = unix_sk(sk); in dump_common_audit_data() 359 if (u->path.dentry) { in dump_common_audit_data() 377 a->u.net->sport, in dump_common_audit_data() 380 a->u.net->dport, in dump_common_audit_data() 385 a->u.net->sport, in dump_common_audit_data() [all …]
|
/linux/arch/x86/xen/ |
A D | vga.c | 29 + sizeof(info->u.text_mode_3)) in xen_init_vga() 33 screen_info->orig_x = info->u.text_mode_3.cursor_x; in xen_init_vga() 36 info->u.text_mode_3.font_height; in xen_init_vga() 42 u.vesa_lfb.gbl_caps)) in xen_init_vga() 45 screen_info->lfb_width = info->u.vesa_lfb.width; in xen_init_vga() 46 screen_info->lfb_height = info->u.vesa_lfb.height; in xen_init_vga() 52 screen_info->red_pos = info->u.vesa_lfb.red_pos; in xen_init_vga() 66 u.vesa_lfb.gbl_caps) in xen_init_vga() 67 + sizeof(info->u.vesa_lfb.gbl_caps)) in xen_init_vga() 70 u.vesa_lfb.mode_attrs) in xen_init_vga() [all …]
|
/linux/drivers/crypto/ccp/ |
A D | ccp-crypto-rsa.c | 75 rctx->cmd.u.rsa.key_size = ctx->u.rsa.key_len; /* in bits */ in ccp_rsa_crypt() 77 rctx->cmd.u.rsa.exp = &ctx->u.rsa.e_sg; in ccp_rsa_crypt() 78 rctx->cmd.u.rsa.exp_len = ctx->u.rsa.e_len; in ccp_rsa_crypt() 80 rctx->cmd.u.rsa.exp = &ctx->u.rsa.d_sg; in ccp_rsa_crypt() 81 rctx->cmd.u.rsa.exp_len = ctx->u.rsa.d_len; in ccp_rsa_crypt() 83 rctx->cmd.u.rsa.mod = &ctx->u.rsa.n_sg; in ccp_rsa_crypt() 84 rctx->cmd.u.rsa.mod_len = ctx->u.rsa.n_len; in ccp_rsa_crypt() 148 sg_init_one(&ctx->u.rsa.n_sg, ctx->u.rsa.n_buf, ctx->u.rsa.n_len); in ccp_rsa_setkey() 150 ctx->u.rsa.key_len = ctx->u.rsa.n_len << 3; /* convert to bits */ in ccp_rsa_setkey() 160 sg_init_one(&ctx->u.rsa.e_sg, ctx->u.rsa.e_buf, ctx->u.rsa.e_len); in ccp_rsa_setkey() [all …]
|
A D | ccp-crypto-aes-cmac.c | 159 rctx->cmd.u.aes.type = ctx->u.aes.type; in ccp_do_cmac_update() 160 rctx->cmd.u.aes.mode = ctx->u.aes.mode; in ccp_do_cmac_update() 162 rctx->cmd.u.aes.key = &ctx->u.aes.key_sg; in ccp_do_cmac_update() 163 rctx->cmd.u.aes.key_len = ctx->u.aes.key_len; in ccp_do_cmac_update() 170 rctx->cmd.u.aes.cmac_key_len = ctx->u.aes.kn_len; in ccp_do_cmac_update() 292 memset(ctx->u.aes.key, 0, sizeof(ctx->u.aes.key)); in ccp_aes_cmac_setkey() 293 aes_encrypt(&aes, ctx->u.aes.key, ctx->u.aes.key); in ccp_aes_cmac_setkey() 322 ctx->u.aes.kn_len = sizeof(ctx->u.aes.k1); in ccp_aes_cmac_setkey() 323 sg_init_one(&ctx->u.aes.k1_sg, ctx->u.aes.k1, sizeof(ctx->u.aes.k1)); in ccp_aes_cmac_setkey() 324 sg_init_one(&ctx->u.aes.k2_sg, ctx->u.aes.k2, sizeof(ctx->u.aes.k2)); in ccp_aes_cmac_setkey() [all …]
|
/linux/fs/proc/ |
A D | page.c | 111 u64 u; in stable_page_flags() local 121 u = 0; in stable_page_flags() 130 u |= 1 << KPF_MMAP; in stable_page_flags() 132 u |= 1 << KPF_ANON; in stable_page_flags() 134 u |= 1 << KPF_KSM; in stable_page_flags() 145 u |= 1 << KPF_HUGE; in stable_page_flags() 156 u |= 1 << KPF_THP; in stable_page_flags() 159 u |= 1 << KPF_THP; in stable_page_flags() 181 u |= 1 << KPF_IDLE; in stable_page_flags() 187 u |= 1 << KPF_SLAB; in stable_page_flags() [all …]
|
/linux/arch/powerpc/kernel/ |
A D | mce.c | 66 mce->u.ue_error.ue_error_type = mce_err->u.ue_error_type; in mce_set_error_info() 69 mce->u.slb_error.slb_error_type = mce_err->u.slb_error_type; in mce_set_error_info() 72 mce->u.erat_error.erat_error_type = mce_err->u.erat_error_type; in mce_set_error_info() 75 mce->u.tlb_error.tlb_error_type = mce_err->u.tlb_error_type; in mce_set_error_info() 78 mce->u.user_error.user_error_type = mce_err->u.user_error_type; in mce_set_error_info() 81 mce->u.ra_error.ra_error_type = mce_err->u.ra_error_type; in mce_set_error_info() 84 mce->u.link_error.link_error_type = mce_err->u.link_error_type; in mce_set_error_info() 155 mce->u.ra_error.effective_address = addr; in save_mce_event() 317 if (evt->u.ue_error.ignore_event) { in machine_process_ue_event() 357 evt->u.ue_error.ignore_event) { in machine_check_process_queued_event() [all …]
|
/linux/drivers/staging/vc04_services/vchiq-mmal/ |
A D | mmal-vchiq.c | 161 } u; member 244 msg->u.event_to_host.port_num, in event_to_host_cb() 245 msg->u.event_to_host.cmd, msg->u.event_to_host.length); in event_to_host_cb() 272 msg_context->u.bulk.port->buffer_cb(msg_context->u.bulk.instance, in buffer_work_cb() 351 msg_context->u.bulk.dts = msg->u.buffer_from_host.buffer_header.dts; in bulk_receive() 352 msg_context->u.bulk.pts = msg->u.buffer_from_host.buffer_header.pts; in bulk_receive() 492 msg_context->u.bulk.status = in buffer_to_host_cb() 505 msg_context->u.bulk.status = in buffer_to_host_cb() 812 sizeof(m.u.port_info_set), in port_info_set() 851 sizeof(m.u.port_info_get), in port_info_get() [all …]
|
/linux/drivers/block/paride/ |
A D | mkd | 23 for u in 0 1 2 3 ; do pd $u ; done 24 for u in 0 1 2 3 ; do mkdev pcd$u b 46 $u ; done 25 for u in 0 1 2 3 ; do mkdev pf$u b 47 $u ; done 26 for u in 0 1 2 3 ; do mkdev pt$u c 96 $u ; done 27 for u in 0 1 2 3 ; do mkdev npt$u c 96 $[ $u + 128 ] ; done 28 for u in 0 1 2 3 ; do mkdev pg$u c 97 $u ; done
|
/linux/drivers/input/joystick/iforce/ |
A D | iforce-ff.c | 197 || old->u.condition[i].right_coeff != new->u.condition[i].right_coeff in need_condition_modifier() 198 || old->u.condition[i].left_coeff != new->u.condition[i].left_coeff in need_condition_modifier() 199 || old->u.condition[i].deadband != new->u.condition[i].deadband in need_condition_modifier() 200 || old->u.condition[i].center != new->u.condition[i].center; in need_condition_modifier() 219 return old->u.constant.level != effect->u.constant.level; in need_magnitude_modifier() 266 return (old->u.periodic.period != new->u.periodic.period in need_period_modifier() 267 || old->u.periodic.magnitude != new->u.periodic.magnitude in need_period_modifier() 268 || old->u.periodic.offset != new->u.periodic.offset in need_period_modifier() 269 || old->u.periodic.phase != new->u.periodic.phase); in need_period_modifier() 352 effect->u.periodic.magnitude, effect->u.periodic.offset, in iforce_upload_periodic() [all …]
|
/linux/drivers/staging/rtl8723bs/os_dep/ |
A D | ioctl_linux.c | 55 param->u.crypt.err = 0; in wpa_set_encryption() 155 …memcpy(psta->dot118021x_UncstKey.skey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : par… in wpa_set_encryption() 169 …curitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len … in wpa_set_encryption() 183 …->securitypriv.dot11wBIPKey[param->u.crypt.idx].skey, param->u.crypt.key, (param->u.crypt.key_len … in wpa_set_encryption() 504 ret = wpa_mlme(dev, param->u.mlme.command, param->u.mlme.reason_code); in wpa_supplicant_ioctl() 636 memcpy(grpkey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : param->u.crypt.key_len)); in rtw_set_encryption() 645 memcpy(grpkey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : param->u.crypt.key_len)); in rtw_set_encryption() 658 memcpy(grpkey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : param->u.crypt.key_len)); in rtw_set_encryption() 714 … memcpy(grpkey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : param->u.crypt.key_len)); in rtw_set_encryption() 722 … memcpy(grpkey, param->u.crypt.key, (param->u.crypt.key_len > 16 ? 16 : param->u.crypt.key_len)); in rtw_set_encryption() [all …]
|
/linux/drivers/scsi/qla2xxx/ |
A D | qla_gs.c | 543 if (sp->u.iocb_cmd.u.ctarg.req) { in qla2x00_async_sns_sp_done() 546 sp->u.iocb_cmd.u.ctarg.req, in qla2x00_async_sns_sp_done() 551 if (sp->u.iocb_cmd.u.ctarg.rsp) { in qla2x00_async_sns_sp_done() 554 sp->u.iocb_cmd.u.ctarg.rsp, in qla2x00_async_sns_sp_done() 3262 sp->u.iocb_cmd.u.ctarg.req, in qla24xx_async_gpnid() 3269 sp->u.iocb_cmd.u.ctarg.rsp, in qla24xx_async_gpnid() 3872 if (!sp->u.iocb_cmd.u.ctarg.req || !sp->u.iocb_cmd.u.ctarg.rsp) { in qla24xx_async_gnnft() 3899 memset(sp->u.iocb_cmd.u.ctarg.rsp, 0, sp->u.iocb_cmd.u.ctarg.rsp_size); in qla24xx_async_gnnft() 3900 memset(sp->u.iocb_cmd.u.ctarg.req, 0, sp->u.iocb_cmd.u.ctarg.req_size); in qla24xx_async_gnnft() 4065 memset(sp->u.iocb_cmd.u.ctarg.rsp, 0, sp->u.iocb_cmd.u.ctarg.rsp_size); in qla24xx_async_gpnft() [all …]
|
/linux/arch/x86/kvm/ |
A D | xen.c | 273 if (data->u.vector && data->u.vector < 0x10) in kvm_xen_hvm_set_attr() 342 data->u.gpa, in kvm_xen_vcpu_set_attr() 359 data->u.gpa, in kvm_xen_vcpu_set_attr() 380 data->u.gpa, in kvm_xen_vcpu_set_attr() 428 data->u.runstate.time_running; in kvm_xen_vcpu_set_attr() 432 data->u.runstate.time_blocked; in kvm_xen_vcpu_set_attr() 434 data->u.runstate.time_offline; in kvm_xen_vcpu_set_attr() 469 data->u.runstate.time_running; in kvm_xen_vcpu_set_attr() 473 data->u.runstate.time_blocked; in kvm_xen_vcpu_set_attr() 502 data->u.gpa = GPA_INVALID; in kvm_xen_vcpu_get_attr() [all …]
|
/linux/arch/arm/plat-orion/ |
A D | time.c | 77 u32 u; in orion_clkevt_next_event() local 89 u = readl(bridge_base + BRIDGE_MASK_OFF); in orion_clkevt_next_event() 90 u |= BRIDGE_INT_TIMER1; in orion_clkevt_next_event() 101 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_next_event() 102 u = (u & ~TIMER1_RELOAD_EN) | TIMER1_EN; in orion_clkevt_next_event() 103 writel(u, timer_base + TIMER_CTRL_OFF); in orion_clkevt_next_event() 113 u32 u; in orion_clkevt_shutdown() local 118 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_shutdown() 136 u32 u; in orion_clkevt_set_periodic() local 149 u = readl(timer_base + TIMER_CTRL_OFF); in orion_clkevt_set_periodic() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
A D | subdev-formats.rst | 3126 - u\ :sub:`7` 3127 - u\ :sub:`6` 3128 - u\ :sub:`5` 3129 - u\ :sub:`4` 3130 - u\ :sub:`3` 3131 - u\ :sub:`2` 3132 - u\ :sub:`1` 3133 - u\ :sub:`0` 3198 - u\ :sub:`7` 3199 - u\ :sub:`6` [all …]
|