Home
last modified time | relevance | path

Searched refs:segs (Results 1 – 7 of 7) sorted by relevance

/arch/mips/include/asm/octeon/
Dcvmx-pko.h241 uint64_t segs:6; member
246 uint64_t segs:6;
Dcvmx-pko-defs.h121 uint64_t segs:6; member
125 uint64_t segs:6;
164 uint64_t segs:6; member
168 uint64_t segs:6;
263 uint64_t segs:6; member
267 uint64_t segs:6;
/arch/powerpc/platforms/powernv/
Dpci-ioda.c1664 unsigned int tce32_segsz, base, segs, avail, i; in pnv_pci_ioda1_setup_dma_pe() local
1677 segs = (weight * phb->ioda.dma32_count) / total_weight; in pnv_pci_ioda1_setup_dma_pe()
1678 if (!segs) in pnv_pci_ioda1_setup_dma_pe()
1679 segs = 1; in pnv_pci_ioda1_setup_dma_pe()
1688 for (base = 0; base <= phb->ioda.dma32_count - segs; base++) { in pnv_pci_ioda1_setup_dma_pe()
1689 for (avail = 0, i = base; i < base + segs; i++) { in pnv_pci_ioda1_setup_dma_pe()
1695 if (avail == segs) in pnv_pci_ioda1_setup_dma_pe()
1698 } while (--segs); in pnv_pci_ioda1_setup_dma_pe()
1700 if (!segs) { in pnv_pci_ioda1_setup_dma_pe()
1716 weight, total_weight, base, segs); in pnv_pci_ioda1_setup_dma_pe()
[all …]
/arch/um/drivers/
Dubd_kern.c1386 int segs = 0; in ubd_submit_request() local
1392 segs = 0; in ubd_submit_request()
1394 segs = 1; in ubd_submit_request()
1396 segs = blk_rq_nr_phys_segments(req); in ubd_submit_request()
1398 io_req = ubd_alloc_req(dev, req, segs); in ubd_submit_request()
1402 io_req->desc_cnt = segs; in ubd_submit_request()
1403 if (segs) in ubd_submit_request()
/arch/x86/kvm/vmx/
Dvmx.c2814 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_ES], VCPU_SREG_ES); in enter_pmode()
2815 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_DS], VCPU_SREG_DS); in enter_pmode()
2816 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_FS], VCPU_SREG_FS); in enter_pmode()
2817 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_GS], VCPU_SREG_GS); in enter_pmode()
2818 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_SS], VCPU_SREG_SS); in enter_pmode()
2819 vmx_get_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_CS], VCPU_SREG_CS); in enter_pmode()
2823 vmx_set_segment(vcpu, &vmx->rmode.segs[VCPU_SREG_TR], VCPU_SREG_TR); in enter_pmode()
2835 fix_pmode_seg(vcpu, VCPU_SREG_CS, &vmx->rmode.segs[VCPU_SREG_CS]); in enter_pmode()
2836 fix_pmode_seg(vcpu, VCPU_SREG_SS, &vmx->rmode.segs[VCPU_SREG_SS]); in enter_pmode()
2837 fix_pmode_seg(vcpu, VCPU_SREG_ES, &vmx->rmode.segs[VCPU_SREG_ES]); in enter_pmode()
[all …]
Dvmx.h257 struct kvm_segment segs[8]; member
/arch/mips/cavium-octeon/executive/
Dcvmx-helper.c886 pko_command.s.segs = num_segs; in __cvmx_helper_errata_fix_ipd_ptr_alignment()