/arch/arm64/kernel/ |
D | machine_kexec.c | 51 kimage->segment[i].mem, in _kexec_image_info() 52 kimage->segment[i].mem + kimage->segment[i].memsz, in _kexec_image_info() 53 kimage->segment[i].memsz, in _kexec_image_info() 54 kimage->segment[i].memsz / PAGE_SIZE); in _kexec_image_info() 154 kimage->segment[i].mem, in kexec_segment_flush() 155 kimage->segment[i].mem + kimage->segment[i].memsz, in kexec_segment_flush() 156 kimage->segment[i].memsz, in kexec_segment_flush() 157 kimage->segment[i].memsz / PAGE_SIZE); in kexec_segment_flush() 160 (unsigned long)phys_to_virt(kimage->segment[i].mem), in kexec_segment_flush() 161 (unsigned long)phys_to_virt(kimage->segment[i].mem) + in kexec_segment_flush() [all …]
|
D | kexec_image.c | 100 kernel_segment = &image->segment[kernel_segment_number]; in image_load() 121 kernel_segment = &image->segment[kernel_segment_number]; in image_load()
|
/arch/x86/math-emu/ |
D | get_address.c | 123 static unsigned long vm86_segment(u_char segment, struct address *addr) in vm86_segment() argument 125 segment--; in vm86_segment() 127 if (segment > PREFIX_SS_) { in vm86_segment() 132 addr->selector = VM86_REG_(segment); in vm86_segment() 133 return (unsigned long)VM86_REG_(segment) << 4; in vm86_segment() 137 static long pm_address(u_char FPU_modrm, u_char segment, in pm_address() argument 143 segment--; in pm_address() 147 if (segment > PREFIX_SS_) { in pm_address() 153 switch (segment) { in pm_address() 159 addr->selector = PM_REG_(segment); in pm_address() [all …]
|
D | fpu_entry.c | 570 override->segment = PREFIX_CS_; in valid_prefix() 573 override->segment = PREFIX_ES_; in valid_prefix() 576 override->segment = PREFIX_SS_; in valid_prefix() 579 override->segment = PREFIX_FS_; in valid_prefix() 582 override->segment = PREFIX_GS_; in valid_prefix() 585 override->segment = PREFIX_DS_; in valid_prefix()
|
/arch/riscv/kernel/ |
D | machine_kexec.c | 37 image->segment[i].mem, in kexec_image_info() 38 image->segment[i].mem + image->segment[i].memsz); in kexec_image_info() 40 (unsigned long) image->segment[i].memsz, in kexec_image_info() 41 (unsigned long) image->segment[i].memsz / PAGE_SIZE); in kexec_image_info() 67 if (image->segment[i].memsz <= sizeof(fdt)) in machine_kexec_prepare() 71 memcpy(&fdt, image->segment[i].buf, sizeof(fdt)); in machine_kexec_prepare() 72 else if (copy_from_user(&fdt, image->segment[i].buf, sizeof(fdt))) in machine_kexec_prepare() 78 internal->fdt_addr = (unsigned long) image->segment[i].mem; in machine_kexec_prepare()
|
/arch/mips/kernel/ |
D | machine_kexec.c | 46 kimage->segment[i].mem, in kexec_image_info() 47 kimage->segment[i].mem + kimage->segment[i].memsz, in kexec_image_info() 48 (unsigned long)kimage->segment[i].memsz, in kexec_image_info() 49 (unsigned long)kimage->segment[i].memsz / PAGE_SIZE); in kexec_image_info() 67 if (kimage->segment[i].memsz <= sizeof(fdt)) in uhi_machine_kexec_prepare() 70 if (copy_from_user(&fdt, kimage->segment[i].buf, sizeof(fdt))) in uhi_machine_kexec_prepare() 78 phys_to_virt((unsigned long)kimage->segment[i].mem); in uhi_machine_kexec_prepare()
|
/arch/parisc/kernel/ |
D | kexec.c | 25 kimage->segment[n].mem, in kexec_show_segment_info() 26 kimage->segment[n].mem + kimage->segment[n].memsz, in kexec_show_segment_info() 27 (unsigned long)kimage->segment[n].memsz, in kexec_show_segment_info() 28 (unsigned long)kimage->segment[n].memsz / PAGE_SIZE); in kexec_show_segment_info()
|
D | kexec_file.c | 39 image->segment[i].mem = __pa(image->segment[i].mem); in elf_load()
|
/arch/x86/pci/ |
D | mmconfig-shared.c | 59 if (cfg->segment > new->segment || in list_add_sorted() 60 (cfg->segment == new->segment && in list_add_sorted() 69 static struct pci_mmcfg_region *pci_mmconfig_alloc(int segment, int start, in pci_mmconfig_alloc() argument 83 new->segment = segment; in pci_mmconfig_alloc() 92 "PCI MMCONFIG %04x [bus %02x-%02x]", segment, start, end); in pci_mmconfig_alloc() 98 struct pci_mmcfg_region *__init pci_mmconfig_add(int segment, int start, in pci_mmconfig_add() argument 103 new = pci_mmconfig_alloc(segment, start, end, addr); in pci_mmconfig_add() 112 segment, start, end, &new->res, (unsigned long)addr); in pci_mmconfig_add() 118 struct pci_mmcfg_region *pci_mmconfig_lookup(int segment, int bus) in pci_mmconfig_lookup() argument 123 if (cfg->segment == segment && in pci_mmconfig_lookup() [all …]
|
D | pcbios.c | 84 unsigned short segment; member 125 unsigned short segment; member 128 .segment = __KERNEL_CS, 350 u16 segment; member 367 opt.segment = __KERNEL_DS; in pcibios_get_irq_routing_table()
|
/arch/ia64/include/asm/ |
D | pci.h | 16 __u16 segment; /* PCI Segment number */ member 49 int segment; member 57 #define pci_domain_nr(busdev) (PCI_CONTROLLER(busdev)->segment)
|
/arch/sh/kernel/ |
D | machine_kexec.c | 57 (unsigned int)image->segment[i].mem, in kexec_info() 58 (unsigned int)image->segment[i].mem + in kexec_info() 59 image->segment[i].memsz, in kexec_info() 60 (unsigned int)image->segment[i].memsz); in kexec_info()
|
/arch/s390/kernel/ |
D | head64.S | 46 .quad 0 # cr1: primary space segment table 52 .quad 0 # cr7: secondary space segment table 58 .quad 0 # cr13: home space segment table
|
/arch/x86/include/asm/ |
D | desc_defs.h | 79 unsigned int segment; member 86 u16 segment; member 109 return g->segment; in gate_segment()
|
D | pci_x86.h | 158 u16 segment; member 171 extern struct pci_mmcfg_region *pci_mmconfig_lookup(int segment, int bus); 172 extern struct pci_mmcfg_region *__init pci_mmconfig_add(int segment, int start,
|
D | desc.h | 90 gate->segment = __KERNEL_CS; in pack_gate() 95 gate->segment = seg; in pack_gate() 415 data->segment = __KERNEL_CS; in init_idt_data() 425 gate->segment = (u16) d->segment; in idt_init_desc()
|
/arch/mips/include/asm/octeon/ |
D | cvmx-address.h | 278 #define CVMX_ADD_SEG32(segment, add) \ argument 279 (((int32_t)segment << 31) | (int32_t)(add)) 291 #define CVMX_ADD_SEG(segment, add) ((((uint64_t)segment) << 62) | (add)) argument
|
D | cvmx.h | 44 #define CVMX_ADD_SEG32(segment, add) \ argument 45 (((int32_t)segment << 31) | (int32_t)(add)) 50 #define CVMX_ADD_SEG(segment, add) \ argument 51 ((((uint64_t)segment) << 62) | (add))
|
/arch/powerpc/kexec/ |
D | core_64.c | 50 if (image->segment[i].mem < __pa(_end)) in default_machine_kexec_prepare() 64 begin = image->segment[i].mem; in default_machine_kexec_prepare() 65 end = begin + image->segment[i].memsz; in default_machine_kexec_prepare() 118 memcpy(ranges, image->segment, sizeof(ranges)); in kexec_copy_flush()
|
/arch/ia64/scripts/ |
D | toolchain-flags | 23 warning: your linker cannot handle cross-segment segment-relative relocations.
|
/arch/m68k/sun3/ |
D | mmu_emu.c | 355 unsigned long segment, offset; in mmu_emu_handle_fault() local 376 segment = (vaddr >> SUN3_PMEG_SIZE_BITS) & 0x7FF; in mmu_emu_handle_fault() 380 pr_info("mmu_emu_handle_fault: segment=%lx offset=%lx\n", segment, in mmu_emu_handle_fault() 384 pte = (pte_t *) pgd_val (*(crp + segment)); in mmu_emu_handle_fault()
|
/arch/um/drivers/ |
D | ubd_kern.c | 1233 static void cowify_req(struct io_thread_req *req, struct io_desc *segment, in cowify_req() argument 1240 if (segment->length > (sizeof(segment->sector_mask) * 8) << SECTOR_SHIFT) in cowify_req() 1244 for (i = 0; i < segment->length >> SECTOR_SHIFT; i++) { in cowify_req() 1247 &segment->sector_mask); in cowify_req() 1250 cowify_bitmap(offset, segment->length, &segment->sector_mask, in cowify_req() 1251 &segment->cow_offset, bitmap, bitmap_offset, in cowify_req() 1252 segment->bitmap_words, bitmap_len); in cowify_req() 1457 static int update_bitmap(struct io_thread_req *req, struct io_desc *segment) in update_bitmap() argument 1461 if (segment->cow_offset == -1) in update_bitmap() 1464 n = os_pwrite_file(req->fds[1], &segment->bitmap_words, in update_bitmap() [all …]
|
/arch/mips/loongson64/ |
D | reset.c | 86 if (!strncmp(bootloader, (char *)image->segment[i].buf, in loongson_kexec_prepare() 94 memcpy(str, image->segment[i].buf, KEXEC_ARGV_SIZE/2); in loongson_kexec_prepare()
|
/arch/arm/kernel/ |
D | process.c | 153 const char *segment; in __show_regs() local 157 segment = "none"; in __show_regs() 159 segment = "user"; in __show_regs() 165 isa_modes[isa_mode(regs)], segment); in __show_regs()
|
/arch/x86/boot/compressed/ |
D | idt_64.c | 15 entry.segment = __KERNEL_CS; in set_idt_entry()
|