Home
last modified time | relevance | path

Searched refs:src_addr (Results 1 – 25 of 36) sorted by relevance

12

/linux-4.19.296/lib/
Dstrnlen_user.c99 unsigned long max_addr, src_addr; in strnlen_user() local
105 src_addr = (unsigned long)str; in strnlen_user()
106 if (likely(src_addr < max_addr)) { in strnlen_user()
107 unsigned long max = max_addr - src_addr; in strnlen_user()
Dstrncpy_from_user.c98 unsigned long max_addr, src_addr; in strncpy_from_user() local
104 src_addr = (unsigned long)src; in strncpy_from_user()
105 if (likely(src_addr < max_addr)) { in strncpy_from_user()
106 unsigned long max = max_addr - src_addr; in strncpy_from_user()
/linux-4.19.296/drivers/pci/endpoint/functions/
Dpci-epf-test.c59 u64 src_addr; member
84 void __iomem *src_addr; in pci_epf_test_copy() local
94 src_addr = pci_epc_mem_alloc_addr(epc, &src_phys_addr, reg->size); in pci_epf_test_copy()
95 if (!src_addr) { in pci_epf_test_copy()
102 ret = pci_epc_map_addr(epc, epf->func_no, src_phys_addr, reg->src_addr, in pci_epf_test_copy()
126 memcpy(dst_addr, src_addr, reg->size); in pci_epf_test_copy()
137 pci_epc_mem_free_addr(epc, src_phys_addr, src_addr, reg->size); in pci_epf_test_copy()
146 void __iomem *src_addr; in pci_epf_test_read() local
156 src_addr = pci_epc_mem_alloc_addr(epc, &phys_addr, reg->size); in pci_epf_test_read()
157 if (!src_addr) { in pci_epf_test_read()
[all …]
/linux-4.19.296/include/uapi/rdma/
Drdma_user_cm.h126 struct sockaddr_in6 src_addr; member
138 struct __kernel_sockaddr_storage src_addr; member
162 struct sockaddr_in6 src_addr; member
176 struct __kernel_sockaddr_storage src_addr; member
/linux-4.19.296/fs/f2fs/
Dinline.c48 void *src_addr, *dst_addr; in f2fs_do_read_inline_data() local
58 src_addr = inline_data_addr(inode, ipage); in f2fs_do_read_inline_data()
60 memcpy(dst_addr, src_addr, MAX_INLINE_DATA(inode)); in f2fs_do_read_inline_data()
231 void *src_addr, *dst_addr; in f2fs_write_inline_data() local
248 src_addr = kmap_atomic(page); in f2fs_write_inline_data()
250 memcpy(dst_addr, src_addr, MAX_INLINE_DATA(inode)); in f2fs_write_inline_data()
251 kunmap_atomic(src_addr); in f2fs_write_inline_data()
268 void *src_addr, *dst_addr; in f2fs_recover_inline_data() local
291 src_addr = inline_data_addr(inode, npage); in f2fs_recover_inline_data()
293 memcpy(dst_addr, src_addr, MAX_INLINE_DATA(inode)); in f2fs_recover_inline_data()
Dnode.c124 void *src_addr; in get_next_nat_page() local
135 src_addr = page_address(src_page); in get_next_nat_page()
137 memcpy(dst_addr, src_addr, PAGE_SIZE); in get_next_nat_page()
2465 void *src_addr, *dst_addr; in f2fs_recover_inline_xattr() local
2483 src_addr = inline_xattr_addr(inode, page); in f2fs_recover_inline_xattr()
2487 memcpy(dst_addr, src_addr, inline_size); in f2fs_recover_inline_xattr()
/linux-4.19.296/include/linux/
Dshmem_fs.h126 unsigned long src_addr,
134 src_addr, pagep) ({ BUG(); 0; }) argument
Dif_pppox.h40 struct pptp_addr src_addr; member
Digmp.h109 extern int ip_check_mc_rcu(struct in_device *dev, __be32 mc_addr, __be32 src_addr, u8 proto);
Dhugetlb.h114 unsigned long src_addr,
207 src_addr, pagep) ({ BUG(); 0; }) argument
Dpsp-sev.h483 u64 src_addr; /* In */ member
/linux-4.19.296/include/linux/amba/
Dpl080.h206 u32 src_addr; member
213 u32 src_addr; member
/linux-4.19.296/include/rdma/
Drdma_cm.h74 struct sockaddr_storage src_addr; member
194 int rdma_resolve_addr(struct rdma_cm_id *id, struct sockaddr *src_addr,
Dib_addr.h100 int rdma_resolve_ip(struct sockaddr *src_addr, const struct sockaddr *dst_addr,
102 void (*callback)(int status, struct sockaddr *src_addr,
/linux-4.19.296/include/uapi/linux/
Drds.h233 __be32 src_addr; member
246 struct in6_addr src_addr; member
Dwireless.h864 struct sockaddr src_addr; member
/linux-4.19.296/drivers/uwb/
Ddrp.c809 struct uwb_dev_addr src_addr; in uwbd_evt_handle_rc_drp() local
830 memcpy(src_addr.data, &drp_evt->src_addr, sizeof(src_addr)); in uwbd_evt_handle_rc_drp()
831 src_dev = uwb_dev_get_by_devaddr(rc, &src_addr); in uwbd_evt_handle_rc_drp()
/linux-4.19.296/drivers/misc/
Dpci_endpoint_test.c336 void *src_addr; in pci_endpoint_test_copy() local
371 src_addr = orig_src_addr + offset; in pci_endpoint_test_copy()
374 src_addr = orig_src_addr; in pci_endpoint_test_copy()
383 get_random_bytes(src_addr, size); in pci_endpoint_test_copy()
384 src_crc32 = crc32_le(~0, src_addr, size); in pci_endpoint_test_copy()
/linux-4.19.296/drivers/i2c/busses/
Di2c-stm32.c54 dma_sconfig.src_addr = phy_addr + rxdr_offset; in stm32_i2c_dma_request()
/linux-4.19.296/include/net/
Daddrconf.h211 const struct in6_addr *src_addr);
226 const struct in6_addr *src_addr);
Drose.h120 rose_address src_addr, dest_addr; member
/linux-4.19.296/include/linux/usb/
Dwusb.h283 struct uwb_dev_addr src_addr; member
/linux-4.19.296/fs/dlm/
Dlowcomms.c1134 struct sockaddr_storage saddr, src_addr; in tcp_connect_to_sock() local
1172 memcpy(&src_addr, dlm_local_addr[0], sizeof(src_addr)); in tcp_connect_to_sock()
1173 make_sockaddr(&src_addr, 0, &addr_len); in tcp_connect_to_sock()
1174 result = sock->ops->bind(sock, (struct sockaddr *) &src_addr, in tcp_connect_to_sock()
/linux-4.19.296/include/linux/uwb/
Dspec.h712 struct uwb_dev_addr src_addr; member
/linux-4.19.296/fs/
Dread_write.c1976 void *src_addr; in vfs_dedupe_file_range_compare() local
2021 src_addr = kmap_atomic(src_page); in vfs_dedupe_file_range_compare()
2027 if (memcmp(src_addr + src_poff, dest_addr + dest_poff, cmp_len)) in vfs_dedupe_file_range_compare()
2031 kunmap_atomic(src_addr); in vfs_dedupe_file_range_compare()

12