/usr/src/linux-headers-5.15.0-181/arch/ia64/include/asm
NameSizeModeActions
native/-0755rm
sn/-0755rm
uv/-0755rm
acenv.h11530644editdlrm
acpi-ext.h4440644editdlrm
acpi.h27720644editdlrm
agp.h8630644editdlrm
asm-offsets.h350644editdlrm
asm-prototypes.h8920644editdlrm
asmmacro.h33720644editdlrm
atomic.h63900644editdlrm
barrier.h24140644editdlrm
bitops.h111120644editdlrm
bug.h4040644editdlrm
cache.h7520644editdlrm
cacheflush.h9030644editdlrm
checksum.h17460644editdlrm
clocksource.h2760644editdlrm
cmpxchg.h4790644editdlrm
cpu.h4560644editdlrm
cputime.h6480644editdlrm
current.h4180644editdlrm
cyclone.h4420644editdlrm
delay.h17380644editdlrm
device.h2360644editdlrm
div64.h310644editdlrm
dma-mapping.h3820644editdlrm
dma.h3510644editdlrm
dmi.h3430644editdlrm
early_ioremap.h4280644editdlrm
efi.h3740644editdlrm
elf.h100250644editdlrm
emergency-restart.h1490644editdlrm
esi.h8870644editdlrm
exception.h6090644editdlrm
export.h1150644editdlrm
extable.h3300644editdlrm
fb.h5690644editdlrm
fpswa.h19250644editdlrm
ftrace.h7480644editdlrm
futex.h26160644editdlrm
gcc_intrin.h3680644editdlrm
hardirq.h5610644editdlrm
hugetlb.h9330644editdlrm
hw_irq.h57760644editdlrm
idle.h2000644editdlrm
intrinsics.h3060644editdlrm
io.h75270644editdlrm
iommu.h5050644editdlrm
iommu_table.h1750644editdlrm
iosapic.h27520644editdlrm
irq.h9600644editdlrm
irqflags.h20960644editdlrm
irq_regs.h340644editdlrm
irq_remapping.h1420644editdlrm
Kbuild1390644editdlrm
kdebug.h10110644editdlrm
kexec.h16060644editdlrm
kprobes.h31480644editdlrm
kregs.h68900644editdlrm
libata-portmap.h2250644editdlrm
linkage.h3980644editdlrm
local.h310644editdlrm
mca.h60090644editdlrm
mca_asm.h73560644editdlrm
meminit.h17510644editdlrm
mman.h4320644editdlrm
mmiowb.h4330644editdlrm
mmu.h3740644editdlrm
mmu_context.h53040644editdlrm
mmzone.h8690644editdlrm
module.h11540644editdlrm
module.lds.h3940644editdlrm
msidef.h14380644editdlrm
nodedata.h18980644editdlrm
numa.h23380644editdlrm
page.h58560644editdlrm
pal.h546740644editdlrm
param.h4390644editdlrm
parport.h5340644editdlrm
patch.h12140644editdlrm
pci.h20070644editdlrm
percpu.h13540644editdlrm
pgalloc.h15690644editdlrm
pgtable.h198460644editdlrm
processor.h178760644editdlrm
ptrace.h52580644editdlrm
sal.h271890644editdlrm
sections.h16790644editdlrm
serial.h4460644editdlrm
shmparam.h4450644editdlrm
signal.h7490644editdlrm
smp.h25140644editdlrm
sparsemem.h7850644editdlrm
spinlock.h71490644editdlrm
spinlock_types.h4750644editdlrm
string.h6590644editdlrm
switch_to.h27020644editdlrm
syscall.h18200644editdlrm
termios.h19230644editdlrm
thread_info.h49060644editdlrm
timex.h15020644editdlrm
tlb.h15770644editdlrm
tlbflush.h31650644editdlrm
topology.h14080644editdlrm
types.h8280644editdlrm
uaccess.h97300644editdlrm
uncached.h3140644editdlrm
unistd.h9870644editdlrm
unwind.h58730644editdlrm
user.h22990644editdlrm
ustack.h4030644editdlrm
vermagic.h3410644editdlrm
vga.h6490644editdlrm
vmalloc.h900644editdlrm
xor.h7430644editdlrm
xtp.h9380644editdlrm
Edit: /usr/src/linux-headers-5.15.0-181/arch/ia64/include/asm/page.h (5856B)
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_IA64_PAGE_H #define _ASM_IA64_PAGE_H /* * Pagetable related stuff. * * Copyright (C) 1998, 1999, 2002 Hewlett-Packard Co * David Mosberger-Tang */ #include #include /* * The top three bits of an IA64 address are its Region Number. * Different regions are assigned to different purposes. */ #define RGN_SHIFT (61) #define RGN_BASE(r) (__IA64_UL_CONST(r)<> PAGE_SHIFT) #include #ifdef CONFIG_FLATMEM # define pfn_valid(pfn) ((pfn) < max_mapnr) #endif #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) typedef union ia64_va { struct { unsigned long off : 61; /* intra-region offset */ unsigned long reg : 3; /* region number */ } f; unsigned long l; void *p; } ia64_va; /* * Note: These macros depend on the fact that PAGE_OFFSET has all * region bits set to 1 and all other bits set to zero. They are * expressed in this way to ensure they result in a single "dep" * instruction. */ #define __pa(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = 0; _v.l;}) #define __va(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg = -1; _v.p;}) #define REGION_NUMBER(x) ({ia64_va _v; _v.l = (long) (x); _v.f.reg;}) #define REGION_OFFSET(x) ({ia64_va _v; _v.l = (long) (x); _v.f.off;}) #ifdef CONFIG_HUGETLB_PAGE # define htlbpage_to_page(x) (((unsigned long) REGION_NUMBER(x) << 61) \ | (REGION_OFFSET(x) >> (HPAGE_SHIFT-PAGE_SHIFT))) # define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) extern unsigned int hpage_shift; #endif static __inline__ int get_order (unsigned long size) { long double d = size - 1; long order; order = ia64_getf_exp(d); order = order - PAGE_SHIFT - 0xffff + 1; if (order < 0) order = 0; return order; } #endif /* !__ASSEMBLY__ */ #ifdef STRICT_MM_TYPECHECKS /* * These are used to make use of C type-checking.. */ typedef struct { unsigned long pte; } pte_t; typedef struct { unsigned long pmd; } pmd_t; #if CONFIG_PGTABLE_LEVELS == 4 typedef struct { unsigned long pud; } pud_t; #endif typedef struct { unsigned long pgd; } pgd_t; typedef struct { unsigned long pgprot; } pgprot_t; typedef struct page *pgtable_t; # define pte_val(x) ((x).pte) # define pmd_val(x) ((x).pmd) #if CONFIG_PGTABLE_LEVELS == 4 # define pud_val(x) ((x).pud) #endif # define pgd_val(x) ((x).pgd) # define pgprot_val(x) ((x).pgprot) # define __pte(x) ((pte_t) { (x) } ) # define __pmd(x) ((pmd_t) { (x) } ) # define __pgprot(x) ((pgprot_t) { (x) } ) #else /* !STRICT_MM_TYPECHECKS */ /* * .. while these make it easier on the compiler */ # ifndef __ASSEMBLY__ typedef unsigned long pte_t; typedef unsigned long pmd_t; typedef unsigned long pgd_t; typedef unsigned long pgprot_t; typedef struct page *pgtable_t; # endif # define pte_val(x) (x) # define pmd_val(x) (x) # define pgd_val(x) (x) # define pgprot_val(x) (x) # define __pte(x) (x) # define __pgd(x) (x) # define __pgprot(x) (x) #endif /* !STRICT_MM_TYPECHECKS */ #define PAGE_OFFSET RGN_BASE(RGN_KERNEL) #define VM_DATA_DEFAULT_FLAGS VM_DATA_FLAGS_TSK_EXEC #define GATE_ADDR RGN_BASE(RGN_GATE) /* * 0xa000000000000000+2*PERCPU_PAGE_SIZE * - 0xa000000000000000+3*PERCPU_PAGE_SIZE remain unmapped (guard page) */ #define KERNEL_START (GATE_ADDR+__IA64_UL_CONST(0x100000000)) #define PERCPU_ADDR (-PERCPU_PAGE_SIZE) #define LOAD_OFFSET (KERNEL_START - KERNEL_TR_PAGE_SIZE) #define __HAVE_ARCH_GATE_AREA 1 #endif /* _ASM_IA64_PAGE_H */