__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2000 - 2003 Jeff Dike ([email protected])
 * Copyright 2003 PathScale, Inc.
 */

#ifndef __UM_PAGE_H
#define __UM_PAGE_H

#include <linux/const.h>

#include <vdso/page.h>

#ifndef __ASSEMBLY__

struct page;

#include <linux/pfn.h>
#include <linux/types.h>
#include <asm/vm-flags.h>

/*
 * These are used to make use of C type-checking..
 */

#define clear_page(page)	memset((void *)(page), 0, PAGE_SIZE)
#define copy_page(to,from)	memcpy((void *)(to), (void *)(from), PAGE_SIZE)

#define clear_user_page(page, vaddr, pg)	clear_page(page)
#define copy_user_page(to, from, vaddr, pg)	copy_page(to, from)

typedef struct { unsigned long pte; } pte_t;
typedef struct { unsigned long pgd; } pgd_t;

#if CONFIG_PGTABLE_LEVELS > 2

typedef struct { unsigned long pmd; } pmd_t;
#define pmd_val(x)	((x).pmd)
#define __pmd(x) ((pmd_t) { (x) } )

#if CONFIG_PGTABLE_LEVELS > 3

typedef struct { unsigned long pud; } pud_t;
#define pud_val(x)	((x).pud)
#define __pud(x) ((pud_t) { (x) } )

#endif /* CONFIG_PGTABLE_LEVELS > 3 */
#endif /* CONFIG_PGTABLE_LEVELS > 2 */

#define pte_val(x)	((x).pte)

#define pte_get_bits(p, bits) ((p).pte & (bits))
#define pte_set_bits(p, bits) ((p).pte |= (bits))
#define pte_clear_bits(p, bits) ((p).pte &= ~(bits))
#define pte_copy(to, from) ((to).pte = (from).pte)
#define pte_is_zero(p) (!((p).pte & ~_PAGE_NEEDSYNC))
#define pte_set_val(p, phys, prot) (p).pte = (phys | pgprot_val(prot))

typedef unsigned long phys_t;

typedef struct { unsigned long pgprot; } pgprot_t;

typedef struct page *pgtable_t;

#define pgd_val(x)	((x).pgd)
#define pgprot_val(x)	((x).pgprot)

#define __pte(x) ((pte_t) { (x) } )
#define __pgd(x) ((pgd_t) { (x) } )
#define __pgprot(x)	((pgprot_t) { (x) } )

extern unsigned long uml_physmem;

#define PAGE_OFFSET (uml_physmem)
#define KERNELBASE PAGE_OFFSET

#define __va_space (8*1024*1024)

#include <mem.h>

/* Cast to unsigned long before casting to void * to avoid a warning from
 * mmap_kmem about cutting a long long down to a void *.  Not sure that
 * casting is the right thing, but 32-bit UML can't have 64-bit virtual
 * addresses
 */
#define __pa(virt) uml_to_phys((void *) (unsigned long) (virt))
#define __va(phys) uml_to_virt((unsigned long) (phys))

#define phys_to_pfn(p) ((p) >> PAGE_SHIFT)
#define pfn_to_phys(pfn) PFN_PHYS(pfn)

#define virt_addr_valid(v) pfn_valid(phys_to_pfn(__pa(v)))

#include <asm-generic/memory_model.h>
#include <asm-generic/getorder.h>

#endif	/* __ASSEMBLY__ */

#ifdef CONFIG_X86_32
#define __HAVE_ARCH_GATE_AREA 1
#endif

#endif	/* __UM_PAGE_H */

Filemanager

Name Type Size Permission Actions
fpu Folder 0755
Kbuild File 701 B 0644
archrandom.h File 615 B 0644
asm-prototypes.h File 129 B 0644
bpf_perf_event.h File 261 B 0644
cache.h File 483 B 0644
cacheflush.h File 257 B 0644
common.lds.S File 1.67 KB 0644
cpufeature.h File 4.46 KB 0644
current.h File 410 B 0644
delay.h File 670 B 0644
dma.h File 180 B 0644
futex.h File 353 B 0644
hardirq.h File 201 B 0644
io.h File 478 B 0644
irq.h File 828 B 0644
irqflags.h File 807 B 0644
kasan.h File 1019 B 0644
kvm_para.h File 34 B 0644
mmu.h File 374 B 0644
mmu_context.h File 1.11 KB 0644
msi.h File 29 B 0644
page.h File 2.55 KB 0644
pci.h File 469 B 0644
pgalloc.h File 1.24 KB 0644
pgtable-2level.h File 1.27 KB 0644
pgtable-4level.h File 3.08 KB 0644
pgtable.h File 8.86 KB 0644
processor-generic.h File 1.78 KB 0644
ptrace-generic.h File 1.3 KB 0644
sections.h File 219 B 0644
setup.h File 273 B 0644
smp.h File 121 B 0644
stacktrace.h File 1.06 KB 0644
syscall-generic.h File 1.57 KB 0644
thread_info.h File 1.57 KB 0644
timex.h File 151 B 0644
tlb.h File 192 B 0644
tlbflush.h File 1.9 KB 0644
uaccess.h File 1.98 KB 0644
unwind.h File 213 B 0644
vmalloc.h File 84 B 0644
vmlinux.lds.h File 66 B 0644
xor.h File 639 B 0644
Filemanager