!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-oracle-headers-5.15.0-1040/arch/arm/include/asm/   drwxr-xr-x
Free 83.22 GB of 96.73 GB (86.04%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     dma-direct.h (1.31 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef ASM_ARM_DMA_DIRECT_H
#define ASM_ARM_DMA_DIRECT_H 1

#include <asm/memory.h>

/*
 * dma_to_pfn/pfn_to_dma/virt_to_dma are architecture private
 * functions used internally by the DMA-mapping API to provide DMA
 * addresses. They must not be used by drivers.
 */
static inline dma_addr_t pfn_to_dma(struct device *dev, unsigned long pfn)
{
    if (dev && dev->dma_range_map)
        pfn = PFN_DOWN(translate_phys_to_dma(dev, PFN_PHYS(pfn)));
    return (dma_addr_t)__pfn_to_bus(pfn);
}

static inline unsigned long dma_to_pfn(struct device *dev, dma_addr_t addr)
{
    unsigned long pfn = __bus_to_pfn(addr);

    if (dev && dev->dma_range_map)
        pfn = PFN_DOWN(translate_dma_to_phys(dev, PFN_PHYS(pfn)));
    return pfn;
}

static inline dma_addr_t virt_to_dma(struct device *dev, void *addr)
{
    if (dev)
        return pfn_to_dma(dev, virt_to_pfn(addr));

    return (dma_addr_t)__virt_to_bus((unsigned long)(addr));
}

static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr)
{
    unsigned int offset = paddr & ~PAGE_MASK;
    return pfn_to_dma(dev, __phys_to_pfn(paddr)) + offset;
}

static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t dev_addr)
{
    unsigned int offset = dev_addr & ~PAGE_MASK;
    return __pfn_to_phys(dma_to_pfn(dev, dev_addr)) + offset;
}

#endif /* ASM_ARM_DMA_DIRECT_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0056 ]--