Searched refs:buf_copy (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_cls_redirect.c | 156 static __always_inline bool buf_copy(buf_t *buf, void *dst, size_t len) in buf_off() 191 return buf_copy(buf, scratch, len) ? scratch : NULL; in buf_assign() 235 if (!buf_copy(pkt, ports, sizeof(*ports))) { in pkt_parse_icmp_l4_ports() 310 if (!buf_copy(pkt, &exthdr, sizeof(exthdr))) { in pkt_skip_ipv6_extension_headers() 600 if (!buf_copy(pkt, next_hop, sizeof(*next_hop))) { in get_next_hop() 719 if (!buf_copy(pkt, &icmp, sizeof(icmp))) { in process_icmpv4() 766 if (!buf_copy(pkt, &icmp6, sizeof(icmp6))) { in process_icmpv6() 158 static __always_inline bool buf_copy(buf_t *buf, void *dst, size_t len) buf_copy() function
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ddp.c | 2299 u8 *buf_copy; in ice_copy_and_init_pkg() local 2304 buf_copy = devm_kmemdup(ice_hw_to_dev(hw), buf, len, GFP_KERNEL); in ice_copy_and_init_pkg() 2305 if (!buf_copy) in ice_copy_and_init_pkg() 2308 state = ice_init_pkg(hw, buf_copy, len); in ice_copy_and_init_pkg() 2311 devm_kfree(ice_hw_to_dev(hw), buf_copy); in ice_copy_and_init_pkg() 2314 hw->pkg_copy = buf_copy; in ice_copy_and_init_pkg()
|