Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/cavium/liquidio/
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()
[all …]
/Linux-v6.1/samples/bpf/
Dtest_probe_write_user_user.c14 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()
Dtest_probe_write_user_kern.c38 struct sockaddr_in *mapped_addr; in SYSCALL() local
46 mapped_addr = bpf_map_lookup_elem(&dnat_map, &orig_addr); in SYSCALL()
47 if (mapped_addr != NULL) { in SYSCALL()
48 memcpy(&new_addr, mapped_addr, sizeof(new_addr)); in SYSCALL()
/Linux-v6.1/include/rdma/
Diw_portmap.h59 struct sockaddr_storage *mapped_addr, u8 nl_client,
62 struct sockaddr_storage *mapped_addr);
/Linux-v6.1/mm/
Dmmap.c157 unsigned long mapped_addr; in check_brk_limits() local
159 mapped_addr = get_unmapped_area(NULL, addr, len, 0, MAP_FIXED); in check_brk_limits()
160 if (IS_ERR_VALUE(mapped_addr)) in check_brk_limits()
161 return mapped_addr; in check_brk_limits()
/Linux-v6.1/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1070 struct mtk_tx_dma *txd, dma_addr_t mapped_addr, in setup_tx_buf() argument
1074 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in setup_tx_buf()
1078 txd->txd3 = mapped_addr; in setup_tx_buf()
1080 dma_unmap_addr_set(tx_buf, dma_addr1, mapped_addr); in setup_tx_buf()
1084 txd->txd1 = mapped_addr; in setup_tx_buf()
1086 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in setup_tx_buf()