Home
last modified time | relevance | path

Searched refs:mapped_addr (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/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...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-5.10/samples/bpf/
H A 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()
H A Dtest_probe_write_user_kern.c38 struct sockaddr_in *mapped_addr; in bpf_prog1() local
46 mapped_addr = bpf_map_lookup_elem(&dnat_map, &orig_addr); in bpf_prog1()
47 if (mapped_addr != NULL) { in bpf_prog1()
48 memcpy(&new_addr, mapped_addr, sizeof(new_addr)); in bpf_prog1()
/kernel/linux/linux-6.6/samples/bpf/
H A 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()
H A Dtest_probe_write_user.bpf.c34 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()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dshstk.c105 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()
/kernel/linux/linux-5.10/include/rdma/
H A Diw_portmap.h59 struct sockaddr_storage *mapped_addr, u8 nl_client,
62 struct sockaddr_storage *mapped_addr);
/kernel/linux/linux-6.6/include/rdma/
H A Diw_portmap.h59 struct sockaddr_storage *mapped_addr, u8 nl_client,
62 struct sockaddr_storage *mapped_addr);
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c931 struct mtk_tx_dma *txd, dma_addr_t mapped_addr, in setup_tx_buf()
935 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in setup_tx_buf()
939 txd->txd3 = mapped_addr; in setup_tx_buf()
941 dma_unmap_addr_set(tx_buf, dma_addr1, mapped_addr); in setup_tx_buf()
945 txd->txd1 = mapped_addr; in setup_tx_buf()
947 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in setup_tx_buf()
961 dma_addr_t mapped_addr; in mtk_tx_map() local
990 mapped_addr = dma_map_single(eth->dev, skb->data, in mtk_tx_map()
992 if (unlikely(dma_mapping_error(eth->dev, mapped_addr))) in mtk_tx_map()
995 WRITE_ONCE(itxd->txd1, mapped_addr); in mtk_tx_map()
930 setup_tx_buf(struct mtk_eth *eth, struct mtk_tx_buf *tx_buf, struct mtk_tx_dma *txd, dma_addr_t mapped_addr, size_t size, int idx) setup_tx_buf() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c1265 struct mtk_tx_dma *txd, dma_addr_t mapped_addr, in setup_tx_buf()
1269 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in setup_tx_buf()
1273 txd->txd3 = mapped_addr; in setup_tx_buf()
1275 dma_unmap_addr_set(tx_buf, dma_addr1, mapped_addr); in setup_tx_buf()
1279 txd->txd1 = mapped_addr; in setup_tx_buf()
1281 dma_unmap_addr_set(tx_buf, dma_addr0, mapped_addr); in setup_tx_buf()
1264 setup_tx_buf(struct mtk_eth *eth, struct mtk_tx_buf *tx_buf, struct mtk_tx_dma *txd, dma_addr_t mapped_addr, size_t size, int idx) setup_tx_buf() argument
/kernel/linux/linux-5.10/mm/
H A Dmmap.c3142 unsigned long mapped_addr; in do_brk_flags() local
3149 mapped_addr = get_unmapped_area(NULL, addr, len, 0, MAP_FIXED); in do_brk_flags()
3150 if (IS_ERR_VALUE(mapped_addr)) in do_brk_flags()
3151 return mapped_addr; in do_brk_flags()
/kernel/linux/linux-6.6/mm/
H A Dmmap.c173 unsigned long mapped_addr; in check_brk_limits() local
175 mapped_addr = get_unmapped_area(NULL, addr, len, 0, MAP_FIXED); in check_brk_limits()
176 if (IS_ERR_VALUE(mapped_addr)) in check_brk_limits()
177 return mapped_addr; in check_brk_limits()

Completed in 21 milliseconds