/arch/x86/math-emu/ |
D | get_address.c | 122 static unsigned long vm86_segment(u_char segment, struct address *addr) in vm86_segment() argument 124 segment--; in vm86_segment() 126 if (segment > PREFIX_SS_) { in vm86_segment() 131 addr->selector = VM86_REG_(segment); in vm86_segment() 132 return (unsigned long)VM86_REG_(segment) << 4; in vm86_segment() 136 static long pm_address(u_char FPU_modrm, u_char segment, in pm_address() argument 142 segment--; in pm_address() 146 if (segment > PREFIX_SS_) { in pm_address() 152 switch (segment) { in pm_address() 158 addr->selector = PM_REG_(segment); in pm_address() [all …]
|
D | fpu_entry.c | 612 override->segment = PREFIX_CS_; in valid_prefix() 615 override->segment = PREFIX_ES_; in valid_prefix() 618 override->segment = PREFIX_SS_; in valid_prefix() 621 override->segment = PREFIX_FS_; in valid_prefix() 624 override->segment = PREFIX_GS_; in valid_prefix() 627 override->segment = PREFIX_DS_; in valid_prefix()
|
/arch/ia64/sn/pci/pcibr/ |
D | pcibr_provider.c | 31 u64 segment; in sal_pcibr_slot_enable() local 36 segment = soft->pbi_buscommon.bs_persist_segment; in sal_pcibr_slot_enable() 38 SAL_CALL_NOLOCK(ret_stuff, (u64) SN_SAL_IOIF_SLOT_ENABLE, segment, in sal_pcibr_slot_enable() 51 u64 segment; in sal_pcibr_slot_disable() local 56 segment = soft->pbi_buscommon.bs_persist_segment; in sal_pcibr_slot_disable() 59 segment, busnum, (u64) device, (u64) action, in sal_pcibr_slot_disable() 69 int segment; in sal_pcibr_error_interrupt() local 73 segment = soft->pbi_buscommon.bs_persist_segment; in sal_pcibr_error_interrupt() 77 (u64) segment, (u64) busnum, 0, 0, 0, 0, 0); in sal_pcibr_error_interrupt()
|
/arch/sparc/prom/ |
D | segment.c | 21 prom_putsegment(int ctx, unsigned long vaddr, int segment) in prom_putsegment() argument 25 (*(romvec->pv_setctxt))(ctx, (char *) vaddr, segment); in prom_putsegment()
|
D | Makefile | 13 lib-$(CONFIG_SPARC32) += segment.o
|
/arch/ia64/include/asm/ |
D | uaccess.h | 66 #define __access_ok(addr, size, segment) \ argument 69 (likely((unsigned long) (addr) <= (segment).seg) \ 70 && ((segment).seg == KERNEL_DS.seg \ 186 #define __do_get_user(check, x, ptr, size, segment) \ argument 192 if (!check || __access_ok(__gu_ptr, size, segment)) \ 205 #define __get_user_check(x, ptr, size, segment) __do_get_user(1, x, ptr, size, segment) argument 213 #define __do_put_user(check, x, ptr, size, segment) \ argument 220 if (!check || __access_ok(__pu_ptr, __pu_size, segment)) \ 232 #define __put_user_check(x, ptr, size, segment) __do_put_user(1, x, ptr, size, segment) argument
|
D | pci.h | 15 __u16 segment; /* PCI Segment number */ member 100 int segment; member 110 #define pci_domain_nr(busdev) (PCI_CONTROLLER(busdev)->segment)
|
/arch/x86/pci/ |
D | mmconfig-shared.c | 54 if (cfg->segment > new->segment || in list_add_sorted() 55 (cfg->segment == new->segment && in list_add_sorted() 64 static __init struct pci_mmcfg_region *pci_mmconfig_add(int segment, int start, in pci_mmconfig_add() argument 78 new->segment = segment; in pci_mmconfig_add() 89 "PCI MMCONFIG %04x [bus %02x-%02x]", segment, start, end); in pci_mmconfig_add() 93 "%pR (base %#lx)\n", segment, start, end, &new->res, in pci_mmconfig_add() 99 struct pci_mmcfg_region *pci_mmconfig_lookup(int segment, int bus) in pci_mmconfig_lookup() argument 104 if (cfg->segment == segment && in pci_mmconfig_lookup() 465 cfg->segment, cfg->start_bus, cfg->end_bus); in is_mmconf_reserved() 469 cfg->segment, cfg->start_bus, cfg->end_bus, in is_mmconf_reserved() [all …]
|
D | pcbios.c | 81 unsigned short segment; member 122 unsigned short segment; member 376 u16 segment; member 393 opt.segment = __KERNEL_DS; in pcibios_get_irq_routing_table()
|
/arch/mips/include/asm/ |
D | gic.h | 30 #define GIC_REG(segment, offset) \ argument 31 REG32(_gic_base + segment##_##SECTION_OFS + offset##_##OFS) 32 #define GIC_REG_ADDR(segment, offset) \ argument 33 REG32(_gic_base + segment##_##SECTION_OFS + offset) 35 #define GIC_ABS_REG(segment, offset) \ argument 36 (_gic_base + segment##_##SECTION_OFS + offset##_##OFS) 37 #define GIC_REG_ABS_ADDR(segment, offset) \ argument 38 (_gic_base + segment##_##SECTION_OFS + offset)
|
/arch/powerpc/kernel/ |
D | machine_kexec_64.c | 50 if (image->segment[i].mem < __pa(_end)) in default_machine_kexec_prepare() 68 begin = image->segment[i].mem; in default_machine_kexec_prepare() 69 end = begin + image->segment[i].memsz; in default_machine_kexec_prepare() 87 begin = image->segment[i].mem; in default_machine_kexec_prepare() 88 end = begin + image->segment[i].memsz; in default_machine_kexec_prepare() 139 memcpy(ranges, image->segment, sizeof(ranges)); in kexec_copy_flush()
|
/arch/mips/include/asm/octeon/ |
D | cvmx-address.h | 211 #define CVMX_ADD_SEG32(segment, add) \ argument 212 (((int32_t)segment << 31) | (int32_t)(add)) 224 #define CVMX_ADD_SEG(segment, add) ((((uint64_t)segment) << 62) | (add)) argument
|
D | cvmx.h | 43 #define CVMX_ADD_SEG32(segment, add) \ argument 44 (((int32_t)segment << 31) | (int32_t)(add)) 49 #define CVMX_ADD_SEG(segment, add) \ argument 50 ((((uint64_t)segment) << 62) | (add))
|
/arch/sh/kernel/ |
D | machine_kexec.c | 61 (unsigned int)image->segment[i].mem, in kexec_info() 62 (unsigned int)image->segment[i].mem + in kexec_info() 63 image->segment[i].memsz, in kexec_info() 64 (unsigned int)image->segment[i].memsz); in kexec_info()
|
/arch/ia64/sn/kernel/ |
D | io_init.c | 49 static inline u64 sal_get_pcibus_info(u64 segment, u64 busnum, u64 address) in sal_get_pcibus_info() argument 57 (u64) segment, (u64) busnum, (u64) address, 0, 0, 0, 0); in sal_get_pcibus_info() 65 sal_get_pcidev_info(u64 segment, u64 bus_number, u64 devfn, u64 pci_dev, in sal_get_pcidev_info() argument 74 (u64) segment, (u64) bus_number, (u64) devfn, in sal_get_pcidev_info() 295 sn_pci_controller_fixup(int segment, int busnum, struct pci_bus *bus) in sn_pci_controller_fixup() argument 303 status = sal_get_pcibus_info((u64) segment, (u64) busnum, in sn_pci_controller_fixup() 311 controller->segment = segment; in sn_pci_controller_fixup()
|
/arch/ia64/scripts/ |
D | toolchain-flags | 22 warning: your linker cannot handle cross-segment segment-relative relocations.
|
/arch/alpha/include/asm/ |
D | uaccess.h | 42 #define __access_ok(addr,size,segment) \ argument 43 (((segment).seg & (addr | size | (addr+size))) == 0) 103 #define __get_user_check(x,ptr,size,segment) \ argument 108 if (__access_ok((unsigned long)__gu_addr,size,segment)) { \ 218 #define __put_user_check(x,ptr,size,segment) \ argument 222 if (__access_ok((unsigned long)__pu_addr,size,segment)) { \
|
/arch/x86/include/asm/ |
D | desc_defs.h | 53 u16 segment; member 85 #define gate_segment(g) ((g).segment)
|
D | segment.h | 262 static inline unsigned long get_limit(unsigned long segment) in get_limit() argument 265 asm("lsll %1,%0" : "=r" (__limit) : "r" (segment)); in get_limit()
|
D | pci_x86.h | 130 u16 segment; member 138 extern struct pci_mmcfg_region *pci_mmconfig_lookup(int segment, int bus);
|
/arch/s390/kernel/ |
D | head31.S | 49 .long 0 # cr1: primary space segment table 55 .long 0 # cr7: secondary space segment table 61 .long 0 # cr13: home space segment table
|
D | head64.S | 50 .quad 0 # cr1: primary space segment table 56 .quad 0 # cr7: secondary space segment table 62 .quad 0 # cr13: home space segment table
|
/arch/powerpc/include/asm/ |
D | uaccess.h | 48 #define __access_ok(addr, size, segment) \ argument 49 (((addr) <= (segment).seg) && ((size) <= (segment).seg)) 53 #define __access_ok(addr, size, segment) \ argument 54 (((addr) <= (segment).seg) && \ 55 (((size) == 0) || (((size) - 1) <= ((segment).seg - (addr)))))
|
/arch/ia64/hp/sim/boot/ |
D | bootloader.lds | 6 /* Read-only sections, merged into text segment: */ 21 we can shorten the on-disk segment size. */
|
/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 printk ("mmu_emu_handle_fault: segment=%lx offset=%lx\n", segment, offset); in mmu_emu_handle_fault() 383 pte = (pte_t *) pgd_val (*(crp + segment)); in mmu_emu_handle_fault()
|