/linux-4.4.14/drivers/scsi/fnic/ |
H A D | cq_exch_desc.h | 46 static inline void cq_exch_wq_desc_dec(struct cq_exch_wq_desc *desc_ptr, cq_exch_wq_desc_dec() argument 53 cq_desc_dec((struct cq_desc *)desc_ptr, type, cq_exch_wq_desc_dec() 55 *exch_status = desc_ptr->exch_status & CQ_EXCH_WQ_STATUS_MASK; cq_exch_wq_desc_dec() 86 static inline void cq_fcp_rq_desc_dec(struct cq_fcp_rq_desc *desc_ptr, cq_fcp_rq_desc_dec() argument 106 cq_desc_dec((struct cq_desc *)desc_ptr, type, cq_fcp_rq_desc_dec() 108 *eop = (desc_ptr->completed_index_eop_sop_prt & cq_fcp_rq_desc_dec() 110 *sop = (desc_ptr->completed_index_eop_sop_prt & cq_fcp_rq_desc_dec() 113 (desc_ptr->completed_index_eop_sop_prt & cq_fcp_rq_desc_dec() 115 *exchange_id = desc_ptr->exchange_id; cq_fcp_rq_desc_dec() 116 *tmpl = desc_ptr->tmpl & CQ_FCP_RQ_DESC_TMPL_MASK; cq_fcp_rq_desc_dec() 118 desc_ptr->bytes_written & CQ_FCP_RQ_DESC_BYTES_WRITTEN_MASK; cq_fcp_rq_desc_dec() 120 (desc_ptr->bytes_written & CQ_FCP_RQ_DESC_PACKET_ERR_MASK) >> cq_fcp_rq_desc_dec() 123 (desc_ptr->bytes_written & CQ_FCP_RQ_DESC_VS_STRIPPED_MASK) >> cq_fcp_rq_desc_dec() 125 *vlan = desc_ptr->vlan; cq_fcp_rq_desc_dec() 126 *sof = desc_ptr->sof; cq_fcp_rq_desc_dec() 127 *fck = desc_ptr->fcs_fer_fck & CQ_FCP_RQ_DESC_FC_CRC_OK_MASK; cq_fcp_rq_desc_dec() 128 *fcoe_err = (desc_ptr->fcs_fer_fck & CQ_FCP_RQ_DESC_FCOE_ERR_MASK) >> cq_fcp_rq_desc_dec() 130 *eof = desc_ptr->eof; cq_fcp_rq_desc_dec() 132 (desc_ptr->fcs_fer_fck & CQ_FCP_RQ_DESC_FCS_OK_MASK) >> cq_fcp_rq_desc_dec() 162 static inline void cq_sgl_desc_dec(struct cq_sgl_desc *desc_ptr, cq_sgl_desc_dec() argument 174 cq_desc_dec((struct cq_desc *)desc_ptr, type, color, q_number, cq_sgl_desc_dec() 176 *active_burst_offset = desc_ptr->active_burst_offset; cq_sgl_desc_dec() 177 *tot_data_bytes = desc_ptr->tot_data_bytes; cq_sgl_desc_dec() 178 *tmpl = desc_ptr->tmpl & CQ_SGL_TMPL_MASK; cq_sgl_desc_dec() 179 *sgl_err = desc_ptr->sgl_err & CQ_SGL_SGL_ERR_MASK; cq_sgl_desc_dec()
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | suspend_32.h | 18 struct desc_ptr gdt_desc; 19 struct desc_ptr idt;
|
H A D | lguest.h | 50 struct desc_ptr host_idt_desc; 51 struct desc_ptr host_gdt_desc; 55 struct desc_ptr guest_idt_desc; 56 struct desc_ptr guest_gdt_desc;
|
H A D | suspend_64.h | 29 struct desc_ptr gdt_desc;
|
H A D | desc.h | 37 extern struct desc_ptr idt_descr; 39 extern struct desc_ptr debug_idt_descr; 216 static inline void native_load_gdt(const struct desc_ptr *dtr) native_load_gdt() 221 static inline void native_load_idt(const struct desc_ptr *dtr) native_load_idt() 226 static inline void native_store_gdt(struct desc_ptr *dtr) native_store_gdt() 231 static inline void native_store_idt(struct desc_ptr *dtr) native_store_idt() 317 extern struct desc_ptr trace_idt_descr; 450 load_idt((const struct desc_ptr *)&debug_idt_descr); load_debug_idt() 475 load_idt((const struct desc_ptr *)&trace_idt_descr); load_trace_idt() 502 load_idt((const struct desc_ptr *)&idt_descr); load_current_idt()
|
H A D | desc_defs.h | 94 struct desc_ptr { struct
|
H A D | kvm_emulate.h | 197 void (*get_gdt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt); 198 void (*get_idt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt); 199 void (*set_gdt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt); 200 void (*set_idt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
|
H A D | paravirt_types.h | 48 struct desc_ptr; 128 void (*load_gdt)(const struct desc_ptr *); 129 void (*load_idt)(const struct desc_ptr *); 131 void (*store_idt)(struct desc_ptr *);
|
H A D | paravirt.h | 229 static inline void load_gdt(const struct desc_ptr *dtr) load_gdt() 233 static inline void load_idt(const struct desc_ptr *dtr) load_idt() 241 static inline void store_idt(struct desc_ptr *dtr) store_idt()
|
H A D | kvm_host.h | 798 void (*get_idt)(struct kvm_vcpu *vcpu, struct desc_ptr *dt); 799 void (*set_idt)(struct kvm_vcpu *vcpu, struct desc_ptr *dt); 800 void (*get_gdt)(struct kvm_vcpu *vcpu, struct desc_ptr *dt); 801 void (*set_gdt)(struct kvm_vcpu *vcpu, struct desc_ptr *dt);
|
H A D | processor.h | 618 extern struct desc_ptr early_gdt_descr;
|
/linux-4.4.14/drivers/scsi/ |
H A D | ses.c | 148 unsigned char *desc_ptr = ses_dev->page2 + 8; ses_set_page2_descriptor() local 151 memset(desc_ptr, 0, ses_dev->page2_len - 8); ses_set_page2_descriptor() 154 desc_ptr += 4; ses_set_page2_descriptor() 159 memcpy(desc_ptr, desc, 4); ses_set_page2_descriptor() 161 desc_ptr[0] |= 0x80; ses_set_page2_descriptor() 163 desc_ptr[0] &= 0xf0; ses_set_page2_descriptor() 178 unsigned char *desc_ptr = ses_dev->page2 + 8; ses_get_page2_descriptor() local 184 desc_ptr += 4; ses_get_page2_descriptor() 189 return desc_ptr; ses_get_page2_descriptor() 214 unsigned char *desc_ptr; ses_set_fault() local 216 desc_ptr = ses_get_page2_descriptor(edev, ecomp); ses_set_fault() 218 if (!desc_ptr) ses_set_fault() 221 init_device_slot_control(desc, ecomp, desc_ptr); ses_set_fault() 263 unsigned char *desc_ptr; ses_set_locate() local 265 desc_ptr = ses_get_page2_descriptor(edev, ecomp); ses_set_locate() 267 if (!desc_ptr) ses_set_locate() 270 init_device_slot_control(desc, ecomp, desc_ptr); ses_set_locate() 291 unsigned char *desc_ptr; ses_set_active() local 293 desc_ptr = ses_get_page2_descriptor(edev, ecomp); ses_set_active() 295 if (!desc_ptr) ses_set_active() 298 init_device_slot_control(desc, ecomp, desc_ptr); ses_set_active() 339 unsigned char *desc_ptr; ses_set_power_status() local 341 desc_ptr = ses_get_page2_descriptor(edev, ecomp); ses_set_power_status() 343 if (!desc_ptr) ses_set_power_status() 346 init_device_slot_control(desc, ecomp, desc_ptr); ses_set_power_status() 479 unsigned char *buf = NULL, *type_ptr, *desc_ptr, *addl_desc_ptr = NULL; ses_enclosure_data_process() local 506 desc_ptr = NULL; ses_enclosure_data_process() 510 desc_ptr = buf + 8; ses_enclosure_data_process() 511 len = (desc_ptr[2] << 8) + desc_ptr[3]; ses_enclosure_data_process() 513 desc_ptr += len + 4; ses_enclosure_data_process() 524 if (desc_ptr) { ses_enclosure_data_process() 525 if (desc_ptr >= buf + page7_len) { ses_enclosure_data_process() 526 desc_ptr = NULL; ses_enclosure_data_process() 528 len = (desc_ptr[2] << 8) + desc_ptr[3]; ses_enclosure_data_process() 529 desc_ptr += 4; ses_enclosure_data_process() 532 desc_ptr[len] = '\0'; ses_enclosure_data_process() 533 name = desc_ptr; ses_enclosure_data_process() 559 if (desc_ptr) ses_enclosure_data_process() 560 desc_ptr += len; ses_enclosure_data_process()
|
/linux-4.4.14/drivers/gpu/drm/via/ |
H A D | via_dmablit.c | 69 drm_via_descriptor_t *desc_ptr = vsg->desc_pages[cur_descriptor_page] + via_unmap_blit_from_device() local 77 desc_ptr = vsg->desc_pages[cur_descriptor_page] + via_unmap_blit_from_device() 80 dma_unmap_single(&pdev->dev, next, sizeof(*desc_ptr), DMA_TO_DEVICE); via_unmap_blit_from_device() 81 dma_unmap_page(&pdev->dev, desc_ptr->mem_addr, desc_ptr->size, vsg->direction); via_unmap_blit_from_device() 82 next = (dma_addr_t) desc_ptr->next; via_unmap_blit_from_device() 83 desc_ptr--; via_unmap_blit_from_device() 112 drm_via_descriptor_t *desc_ptr = NULL; via_map_blit_for_device() local 115 desc_ptr = vsg->desc_pages[cur_descriptor_page]; via_map_blit_for_device() 129 desc_ptr->mem_addr = via_map_blit_for_device() 135 desc_ptr->dev_addr = cur_fb; via_map_blit_for_device() 137 desc_ptr->size = remaining_len; via_map_blit_for_device() 138 desc_ptr->next = (uint32_t) next; via_map_blit_for_device() 139 next = dma_map_single(&pdev->dev, desc_ptr, sizeof(*desc_ptr), via_map_blit_for_device() 141 desc_ptr++; via_map_blit_for_device() 144 desc_ptr = vsg->desc_pages[++cur_descriptor_page]; via_map_blit_for_device()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | tracepoint.c | 12 struct desc_ptr trace_idt_descr = { NR_VECTORS * 16 - 1,
|
H A D | doublefault.c | 21 struct desc_ptr gdt_desc = {0, 0}; doublefault_fn()
|
H A D | machine_kexec_32.c | 31 struct desc_ptr curidt; set_idt() 43 struct desc_ptr curgdt; set_gdt()
|
H A D | head64.c | 172 load_idt((const struct desc_ptr *)&idt_descr); x86_64_start_kernel()
|
H A D | machine_kexec_64.c | 147 struct desc_ptr curidt; set_idt() 162 struct desc_ptr curgdt; set_gdt()
|
H A D | reboot.c | 40 static const struct desc_ptr no_idt = {};
|
/linux-4.4.14/arch/x86/platform/efi/ |
H A D | efi_32.c | 61 struct desc_ptr gdt_descr; efi_call_phys_prolog() 78 struct desc_ptr gdt_descr; efi_call_phys_epilog()
|
/linux-4.4.14/arch/x86/kernel/acpi/ |
H A D | sleep.c | 61 native_store_gdt((struct desc_ptr *)&header->pmode_gdt); x86_acpi_suspend_lowlevel()
|
/linux-4.4.14/arch/x86/power/ |
H A D | cpu.c | 64 store_idt((struct desc_ptr *)&ctxt->idt_limit); __save_processor_state() 196 load_idt((const struct desc_ptr *)&ctxt->idt_limit); __restore_processor_state()
|
/linux-4.4.14/arch/x86/kvm/ |
H A D | emulate.c | 1443 struct desc_ptr dt; read_interrupt_descriptor() 1457 u16 selector, struct desc_ptr *dt) get_descriptor_table_ptr() 1480 struct desc_ptr dt; get_descriptor_ptr() 1951 struct desc_ptr dt; __emulate_int_real() 2363 struct desc_ptr dt; rsm_load_state_32() 2417 struct desc_ptr dt; rsm_load_state_64() 3650 struct desc_ptr *ptr)) emulate_store_desc_ptr() 3652 struct desc_ptr desc_ptr; emulate_store_desc_ptr() local 3656 get(ctxt, &desc_ptr); emulate_store_desc_ptr() 3659 desc_ptr.address &= 0x00ffffff; emulate_store_desc_ptr() 3664 &desc_ptr, 2 + ctxt->op_bytes); emulate_store_desc_ptr() 3679 struct desc_ptr desc_ptr; em_lgdt_lidt() local 3685 &desc_ptr.size, &desc_ptr.address, em_lgdt_lidt() 3690 is_noncanonical_address(desc_ptr.address)) em_lgdt_lidt() 3693 ctxt->ops->set_gdt(ctxt, &desc_ptr); em_lgdt_lidt() 3695 ctxt->ops->set_idt(ctxt, &desc_ptr); em_lgdt_lidt()
|
H A D | x86.c | 4776 static void emulator_get_gdt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt) emulator_get_gdt() 4781 static void emulator_get_idt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt) emulator_get_idt() 4786 static void emulator_set_gdt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt) emulator_set_gdt() 4791 static void emulator_set_idt(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt) emulator_set_idt() 6129 struct desc_ptr dt; process_smi_save_state_32() 6180 struct desc_ptr dt; process_smi_save_state_64() 6237 struct desc_ptr dt; process_smi() 6922 struct desc_ptr dt; kvm_arch_vcpu_ioctl_get_sregs() 7014 struct desc_ptr dt; kvm_arch_vcpu_ioctl_set_sregs()
|
H A D | svm.c | 645 struct desc_ptr gdt_descr; svm_hardware_enable() 1400 static void svm_get_idt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) svm_get_idt() 1408 static void svm_set_idt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) svm_set_idt() 1417 static void svm_get_gdt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) svm_get_gdt() 1425 static void svm_set_gdt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) svm_set_gdt()
|
H A D | vmx.c | 887 static DEFINE_PER_CPU(struct desc_ptr, host_gdt); 1785 struct desc_ptr *gdt = this_cpu_ptr(&host_gdt); reload_tss() 1849 struct desc_ptr *gdt = this_cpu_ptr(&host_gdt); segment_base() 2055 struct desc_ptr *gdt = this_cpu_ptr(&host_gdt); vmx_vcpu_load() 3963 static void vmx_get_idt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) vmx_get_idt() 3969 static void vmx_set_idt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) vmx_set_idt() 3975 static void vmx_get_gdt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) vmx_get_gdt() 3981 static void vmx_set_gdt(struct kvm_vcpu *vcpu, struct desc_ptr *dt) vmx_set_gdt() 4632 struct desc_ptr dt; vmx_set_constant_host_state()
|
/linux-4.4.14/arch/x86/xen/ |
H A D | enlighten.c | 589 static void xen_load_gdt(const struct desc_ptr *dtr) xen_load_gdt() 638 static void __init xen_load_gdt_boot(const struct desc_ptr *dtr) xen_load_gdt_boot() 820 static DEFINE_PER_CPU(struct desc_ptr, idt_desc); 853 static void xen_convert_trap_info(const struct desc_ptr *desc, xen_convert_trap_info() 872 const struct desc_ptr *desc = this_cpu_ptr(&idt_desc); xen_copy_trap_info() 880 static void xen_load_idt(const struct desc_ptr *desc) xen_load_idt()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
H A D | common.c | 388 struct desc_ptr gdt_descr; switch_to_new_gdt() 1143 struct desc_ptr idt_descr = { NR_VECTORS * 16 - 1, (unsigned long) idt_table }; 1144 struct desc_ptr debug_idt_descr = { NR_VECTORS * 16 - 1,
|
/linux-4.4.14/drivers/vme/bridges/ |
H A D | vme_ca91cx42.c | 1035 dma_addr_t desc_ptr; ca91cx42_dma_list_add() local 1160 desc_ptr = virt_to_bus(&entry->descriptor); ca91cx42_dma_list_add() 1161 prev->descriptor.dcpp = desc_ptr & ~CA91CX42_DCPP_M; ca91cx42_dma_list_add()
|
/linux-4.4.14/include/trace/events/ |
H A D | xen.h | 471 TP_PROTO(const struct desc_ptr *desc),
|
/linux-4.4.14/arch/x86/lguest/ |
H A D | boot.c | 310 static void lguest_load_idt(const struct desc_ptr *desc) lguest_load_idt() 331 static void lguest_load_gdt(const struct desc_ptr *desc) lguest_load_gdt()
|
/linux-4.4.14/arch/x86/boot/compressed/ |
H A D | eboot.c | 1409 struct desc_ptr *gdt = NULL; efi_main()
|