Home
last modified time | relevance | path

Searched refs:mapped_addr (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_mem_ops.c44 octeon_pci_fastwrite(struct octeon_device *oct, u8 __iomem *mapped_addr, in octeon_pci_fastwrite() argument
47 while ((len) && ((unsigned long)mapped_addr) & 7) { in octeon_pci_fastwrite()
48 writeb(*(hostbuf++), mapped_addr++); in octeon_pci_fastwrite()
55 writeq(*((u64 *)hostbuf), mapped_addr); in octeon_pci_fastwrite()
56 mapped_addr += 8; in octeon_pci_fastwrite()
64 writeb(*(hostbuf++), mapped_addr++); in octeon_pci_fastwrite()
68 octeon_pci_fastread(struct octeon_device *oct, u8 __iomem *mapped_addr, in octeon_pci_fastread() argument
71 while ((len) && ((unsigned long)mapped_addr) & 7) { in octeon_pci_fastread()
72 *(hostbuf++) = readb(mapped_addr++); in octeon_pci_fastread()
79 *((u64 *)hostbuf) = readq(mapped_addr); in octeon_pci_fastread()
99 u8 __iomem *mapped_addr; __octeon_pci_rw_core_mem() local
[all...]
/linux/Documentation/driver-api/cxl/allocation/
H A Ddax.rst31 void* mapped_addr;
41 mapped_addr = mmap(NULL, DEVICE_SIZE, PROT_READ | PROT_WRITE,
43 if (mapped_addr == MAP_FAILED) {
49 printf("Mapped address: %p\n", mapped_addr);
52 uint64_t* ptr = (uint64_t*)mapped_addr;
57 munmap(mapped_addr, DEVICE_SIZE);
/linux/rust/kernel/
H A Dpage.rs106 let mapped_addr = unsafe { bindings::kmap_local_page(self.as_ptr()) }; in with_page_mapped() localVariable
108 let res = f(mapped_addr.cast()); in with_page_mapped()
119 unsafe { bindings::kunmap_local(mapped_addr) }; in with_page_mapped()
/linux/include/rdma/
H A Diw_portmap.h59 struct sockaddr_storage *mapped_addr, u8 nl_client,
62 struct sockaddr_storage *mapped_addr);
/linux/arch/arm64/mm/
H A Dgcs.c17 unsigned long mapped_addr, unused; in alloc_gcs() local
23 mapped_addr = do_mmap(NULL, addr, size, PROT_READ, flags, in alloc_gcs()
27 return mapped_addr; in alloc_gcs()
/linux/mm/
H A Dmmap.c105 unsigned long mapped_addr; in check_brk_limits() local
107 mapped_addr = get_unmapped_area(NULL, addr, len, 0, MAP_FIXED); in check_brk_limits()
108 if (IS_ERR_VALUE(mapped_addr)) in check_brk_limits()
109 return mapped_addr; in check_brk_limits()