Searched refs:mapped_addr (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_mem_ops.c | 44 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() [all …]
|
/linux-6.12.1/samples/bpf/ |
D | test_probe_write_user_user.c | 14 struct sockaddr serv_addr, mapped_addr, tmp_addr; in main() local 24 mapped_addr_in = (struct sockaddr_in *)&mapped_addr; in main() 75 memset(&mapped_addr, 0, sizeof(mapped_addr)); in main() 80 assert(!bpf_map_update_elem(map_fd, &mapped_addr, &serv_addr, BPF_ANY)); in main() 87 assert(connect(clientfd, &mapped_addr, sizeof(mapped_addr)) == 0); in main()
|
D | test_probe_write_user.bpf.c | 34 struct sockaddr_in *mapped_addr; in BPF_KSYSCALL() local 42 mapped_addr = bpf_map_lookup_elem(&dnat_map, &orig_addr); in BPF_KSYSCALL() 43 if (mapped_addr != NULL) { in BPF_KSYSCALL() 44 memcpy(&new_addr, mapped_addr, sizeof(new_addr)); in BPF_KSYSCALL()
|
/linux-6.12.1/arch/x86/kernel/ |
D | shstk.c | 105 unsigned long mapped_addr, unused; in alloc_shstk() local 111 mapped_addr = do_mmap(NULL, addr, size, PROT_READ, flags, in alloc_shstk() 115 if (!set_res_tok || IS_ERR_VALUE(mapped_addr)) in alloc_shstk() 118 if (create_rstor_token(mapped_addr + token_offset, NULL)) { in alloc_shstk() 119 vm_munmap(mapped_addr, size); in alloc_shstk() 124 return mapped_addr; in alloc_shstk()
|
/linux-6.12.1/rust/kernel/ |
D | page.rs | 97 let mapped_addr = unsafe { bindings::kmap_local_page(self.as_ptr()) }; in with_page_mapped() localVariable 99 let res = f(mapped_addr.cast()); in with_page_mapped() 110 unsafe { bindings::kunmap_local(mapped_addr) }; in with_page_mapped()
|
/linux-6.12.1/include/rdma/ |
D | iw_portmap.h | 59 struct sockaddr_storage *mapped_addr, u8 nl_client, 62 struct sockaddr_storage *mapped_addr);
|
/linux-6.12.1/mm/ |
D | mmap.c | 104 unsigned long mapped_addr; in check_brk_limits() local 106 mapped_addr = get_unmapped_area(NULL, addr, len, 0, MAP_FIXED); in check_brk_limits() 107 if (IS_ERR_VALUE(mapped_addr)) in check_brk_limits() 108 return mapped_addr; in check_brk_limits()
|
/linux-6.12.1/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 1284 struct mtk_tx_dma *txd, dma_addr_t mapped_addr, in setup_tx_buf() argument 1288 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in setup_tx_buf() 1292 txd->txd3 = mapped_addr; in setup_tx_buf() 1294 dma_unmap_addr_set(tx_buf, dma_addr1, mapped_addr); in setup_tx_buf() 1298 txd->txd1 = mapped_addr; in setup_tx_buf() 1300 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in setup_tx_buf()
|