segp 4955 drivers/scsi/FlashPoint.c struct blogic_sg_seg *segp; segp 4976 drivers/scsi/FlashPoint.c segp = (struct blogic_sg_seg *)(pcurrSCCB->DataPointer) + segp 4978 drivers/scsi/FlashPoint.c tmpSGCnt += segp->segbytes; segp 4979 drivers/scsi/FlashPoint.c count |= segp->segbytes; segp 4980 drivers/scsi/FlashPoint.c addr = segp->segdata; segp 5141 drivers/scsi/FlashPoint.c struct blogic_sg_seg *segp; segp 5214 drivers/scsi/FlashPoint.c segp = (struct blogic_sg_seg *)(pCurrSCCB-> segp 5216 drivers/scsi/FlashPoint.c if (remain_cnt > (unsigned long)segp->segbytes) segp 5218 drivers/scsi/FlashPoint.c (unsigned long)segp->segbytes; segp 5407 drivers/scsi/FlashPoint.c struct blogic_sg_seg *segp; segp 5420 drivers/scsi/FlashPoint.c segp = (struct blogic_sg_seg *)(currSCCB->DataPointer) + segp 5422 drivers/scsi/FlashPoint.c data_count += segp->segbytes; segp 7157 drivers/scsi/FlashPoint.c struct blogic_sg_seg *segp; segp 7179 drivers/scsi/FlashPoint.c segp = (struct blogic_sg_seg *)(p_SCCB->DataPointer) + segp 7181 drivers/scsi/FlashPoint.c partial_cnt += segp->segbytes; segp 435 tools/testing/selftests/kvm/lib/x86_64/processor.c static void kvm_seg_set_unusable(struct kvm_segment *segp) segp 437 tools/testing/selftests/kvm/lib/x86_64/processor.c memset(segp, 0, sizeof(*segp)); segp 438 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->unusable = true; segp 441 tools/testing/selftests/kvm/lib/x86_64/processor.c static void kvm_seg_fill_gdt_64bit(struct kvm_vm *vm, struct kvm_segment *segp) segp 444 tools/testing/selftests/kvm/lib/x86_64/processor.c struct desc64 *desc = gdt + (segp->selector >> 3) * 8; segp 446 tools/testing/selftests/kvm/lib/x86_64/processor.c desc->limit0 = segp->limit & 0xFFFF; segp 447 tools/testing/selftests/kvm/lib/x86_64/processor.c desc->base0 = segp->base & 0xFFFF; segp 448 tools/testing/selftests/kvm/lib/x86_64/processor.c desc->base1 = segp->base >> 16; segp 449 tools/testing/selftests/kvm/lib/x86_64/processor.c desc->s = segp->s; segp 450 tools/testing/selftests/kvm/lib/x86_64/processor.c desc->type = segp->type; segp 451 tools/testing/selftests/kvm/lib/x86_64/processor.c desc->dpl = segp->dpl; segp 452 tools/testing/selftests/kvm/lib/x86_64/processor.c desc->p = segp->present; segp 453 tools/testing/selftests/kvm/lib/x86_64/processor.c desc->limit1 = segp->limit >> 16; segp 454 tools/testing/selftests/kvm/lib/x86_64/processor.c desc->l = segp->l; segp 455 tools/testing/selftests/kvm/lib/x86_64/processor.c desc->db = segp->db; segp 456 tools/testing/selftests/kvm/lib/x86_64/processor.c desc->g = segp->g; segp 457 tools/testing/selftests/kvm/lib/x86_64/processor.c desc->base2 = segp->base >> 24; segp 458 tools/testing/selftests/kvm/lib/x86_64/processor.c if (!segp->s) segp 459 tools/testing/selftests/kvm/lib/x86_64/processor.c desc->base3 = segp->base >> 32; segp 478 tools/testing/selftests/kvm/lib/x86_64/processor.c struct kvm_segment *segp) segp 480 tools/testing/selftests/kvm/lib/x86_64/processor.c memset(segp, 0, sizeof(*segp)); segp 481 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->selector = selector; segp 482 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->limit = 0xFFFFFFFFu; segp 483 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->s = 0x1; /* kTypeCodeData */ segp 484 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->type = 0x08 | 0x01 | 0x02; /* kFlagCode | kFlagCodeAccessed segp 487 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->g = true; segp 488 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->l = true; segp 489 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->present = 1; segp 491 tools/testing/selftests/kvm/lib/x86_64/processor.c kvm_seg_fill_gdt_64bit(vm, segp); segp 509 tools/testing/selftests/kvm/lib/x86_64/processor.c struct kvm_segment *segp) segp 511 tools/testing/selftests/kvm/lib/x86_64/processor.c memset(segp, 0, sizeof(*segp)); segp 512 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->selector = selector; segp 513 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->limit = 0xFFFFFFFFu; segp 514 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->s = 0x1; /* kTypeCodeData */ segp 515 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->type = 0x00 | 0x01 | 0x02; /* kFlagData | kFlagDataAccessed segp 518 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->g = true; segp 519 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->present = true; segp 521 tools/testing/selftests/kvm/lib/x86_64/processor.c kvm_seg_fill_gdt_64bit(vm, segp); segp 595 tools/testing/selftests/kvm/lib/x86_64/processor.c static void kvm_setup_tss_64bit(struct kvm_vm *vm, struct kvm_segment *segp, segp 603 tools/testing/selftests/kvm/lib/x86_64/processor.c memset(segp, 0, sizeof(*segp)); segp 604 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->base = vm->tss; segp 605 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->limit = 0x67; segp 606 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->selector = selector; segp 607 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->type = 0xb; segp 608 tools/testing/selftests/kvm/lib/x86_64/processor.c segp->present = 1; segp 609 tools/testing/selftests/kvm/lib/x86_64/processor.c kvm_seg_fill_gdt_64bit(vm, segp);