| H A D | skbuff.c | 19 * Ray VanTassle : Fixed --skb->lock in free 89 #include <trace/events/skb.h> 197 * @skb: buffer 207 static void skb_panic(struct sk_buff *skb, unsigned int sz, void *addr, in skb_panic() argument 211 msg, addr, skb->len, sz, skb->head, skb->data, in skb_panic() 212 (unsigned long)skb->tail, (unsigned long)skb->end, in skb_panic() 213 skb in skb_panic() 217 skb_over_panic(struct sk_buff * skb,unsigned int sz,void * addr) skb_over_panic() argument 222 skb_under_panic(struct sk_buff * skb,unsigned int sz,void * addr) skb_under_panic() argument 287 struct sk_buff *skb; napi_skb_cache_get() local 316 skbuff_clear(struct sk_buff * skb) skbuff_clear() argument 390 __finalize_skb_around(struct sk_buff * skb,void * data,unsigned int size) __finalize_skb_around() argument 439 struct sk_buff *skb; slab_build_skb() local 456 __build_skb_around(struct sk_buff * skb,void * data,unsigned int frag_size) __build_skb_around() argument 492 struct sk_buff *skb; __build_skb() local 510 struct sk_buff *skb = __build_skb(data, frag_size); build_skb() local 526 build_skb_around(struct sk_buff * skb,void * data,unsigned int frag_size) build_skb_around() argument 554 struct sk_buff *skb; __napi_build_skb() local 578 struct sk_buff *skb = __napi_build_skb(data, frag_size); napi_build_skb() local 607 kmalloc_reserve(unsigned int * size,gfp_t flags,int node,struct sk_buff * skb) kmalloc_reserve() argument 677 struct sk_buff *skb = NULL; __alloc_skb() local 765 struct sk_buff *skb; __netdev_alloc_skb() local 842 struct sk_buff *skb; napi_alloc_skb() local 897 skb_coalesce_rx_frag(struct sk_buff * skb,int i,int size,unsigned int truesize) skb_coalesce_rx_frag() argument 917 skb_drop_fraglist(struct sk_buff * skb) skb_drop_fraglist() argument 922 skb_clone_fraglist(struct sk_buff * skb) skb_clone_fraglist() argument 947 struct sk_buff *skb = *pskb, *nskb; skb_pp_cow_data() local 1043 skb_pp_recycle(struct sk_buff * skb,void * data) skb_pp_recycle() argument 1060 skb_pp_frag_ref(struct sk_buff * skb) skb_pp_frag_ref() argument 1086 skb_free_head(struct sk_buff * skb) skb_free_head() argument 1099 skb_release_data(struct sk_buff * skb,enum skb_drop_reason reason) skb_release_data() argument 1139 kfree_skbmem(struct sk_buff * skb) kfree_skbmem() argument 1169 skb_release_head_state(struct sk_buff * skb) skb_release_head_state() argument 1193 skb_release_all(struct sk_buff * skb,enum skb_drop_reason reason) skb_release_all() argument 1209 __kfree_skb(struct sk_buff * skb) __kfree_skb() argument 1217 __sk_skb_reason_drop(const struct sock * sk,struct sk_buff * skb,enum skb_drop_reason reason) __sk_skb_reason_drop() argument 1246 sk_skb_reason_drop(const struct sock * sk,struct sk_buff * skb,enum skb_drop_reason reason) sk_skb_reason_drop() argument 1261 kfree_skb_add_bulk(struct sk_buff * skb,struct skb_free_array * sa,enum skb_drop_reason reason) kfree_skb_add_bulk() argument 1310 skb_dump(const char * level,const struct sk_buff * skb,bool full_pkt) skb_dump() argument 1421 skb_tx_error(struct sk_buff * skb) skb_tx_error() argument 1439 consume_skb(struct sk_buff * skb) consume_skb() argument 1457 __consume_stateless_skb(struct sk_buff * skb) __consume_stateless_skb() argument 1464 napi_skb_cache_put(struct sk_buff * skb) napi_skb_cache_put() argument 1489 __napi_kfree_skb(struct sk_buff * skb,enum skb_drop_reason reason) __napi_kfree_skb() argument 1495 napi_skb_free_stolen_head(struct sk_buff * skb) napi_skb_free_stolen_head() argument 1519 napi_consume_skb(struct sk_buff * skb,int budget) napi_consume_skb() argument 1607 __skb_clone(struct sk_buff * n,struct sk_buff * skb) __skb_clone() argument 1729 struct sk_buff *skb; msg_zerocopy_alloc() local 1814 skb_zerocopy_notify_extend(struct sk_buff * skb,u32 lo,u16 len) skb_zerocopy_notify_extend() argument 1836 struct sk_buff *tail, *skb = skb_from_uarg(uarg); __msg_zerocopy_callback() local 1884 msg_zerocopy_complete(struct sk_buff * skb,struct ubuf_info * uarg,bool success) msg_zerocopy_complete() argument 1912 skb_zerocopy_iter_stream(struct sock * sk,struct sk_buff * skb,struct msghdr * msg,int len,struct ubuf_info * uarg,struct net_devmem_dmabuf_binding * binding) skb_zerocopy_iter_stream() argument 1952 __skb_zcopy_downgrade_managed(struct sk_buff * skb) __skb_zcopy_downgrade_managed() argument 1997 skb_copy_ubufs(struct sk_buff * skb,gfp_t gfp_mask) skb_copy_ubufs() argument 2097 skb_clone(struct sk_buff * skb,gfp_t gfp_mask) skb_clone() argument 2127 skb_headers_offset_update(struct sk_buff * skb,int off) skb_headers_offset_update() argument 2153 skb_alloc_rx_flag(const struct sk_buff * skb) skb_alloc_rx_flag() argument 2177 skb_copy(const struct sk_buff * skb,gfp_t gfp_mask) skb_copy() argument 2225 __pskb_copy_fclone(struct sk_buff * skb,int headroom,gfp_t gfp_mask,bool fclone) __pskb_copy_fclone() argument 2294 pskb_expand_head(struct sk_buff * skb,int nhead,int ntail,gfp_t gfp_mask) pskb_expand_head() argument 2381 skb_realloc_headroom(struct sk_buff * skb,unsigned int headroom) skb_realloc_headroom() argument 2401 __skb_unclone_keeptruesize(struct sk_buff * skb,gfp_t pri) __skb_unclone_keeptruesize() argument 2445 skb_expand_head(struct sk_buff * skb,unsigned int headroom) skb_expand_head() argument 2502 skb_copy_expand(const struct sk_buff * skb,int newheadroom,int newtailroom,gfp_t gfp_mask) skb_copy_expand() argument 2564 __skb_pad(struct sk_buff * skb,int pad,bool free_on_error) __skb_pad() argument 2612 pskb_put(struct sk_buff * skb,struct sk_buff * tail,int len) pskb_put() argument 2631 skb_put(struct sk_buff * skb,unsigned int len) skb_put() argument 2652 skb_push(struct sk_buff * skb,unsigned int len) skb_push() argument 2672 skb_pull(struct sk_buff * skb,unsigned int len) skb_pull() argument 2689 skb_pull_data(struct sk_buff * skb,size_t len) skb_pull_data() argument 2711 skb_trim(struct sk_buff * skb,unsigned int len) skb_trim() argument 2721 ___pskb_trim(struct sk_buff * skb,unsigned int len) ___pskb_trim() argument 2808 pskb_trim_rcsum_complete(struct sk_buff * skb,unsigned int len) pskb_trim_rcsum_complete() argument 2831 pskb_trim_rcsum_slow(struct sk_buff * skb,unsigned int len) pskb_trim_rcsum_slow() argument 2875 __pskb_pull_tail(struct sk_buff * skb,int delta) __pskb_pull_tail() argument 3019 skb_copy_bits(const struct sk_buff * skb,int offset,void * to,int len) skb_copy_bits() argument 3205 __skb_splice_bits(struct sk_buff * skb,struct pipe_inode_info * pipe,unsigned int * offset,unsigned int * len,struct splice_pipe_desc * spd,struct sock * sk) __skb_splice_bits() argument 3263 skb_splice_bits(struct sk_buff * skb,struct sock * sk,unsigned int offset,struct pipe_inode_info * pipe,unsigned int tlen,unsigned int flags) skb_splice_bits() argument 3311 __skb_send_sock(struct sock * sk,struct sk_buff * skb,int offset,int len,sendmsg_func sendmsg,int flags) __skb_send_sock() argument 3416 skb_send_sock_locked(struct sock * sk,struct sk_buff * skb,int offset,int len) skb_send_sock_locked() argument 3423 skb_send_sock_locked_with_flags(struct sock * sk,struct sk_buff * skb,int offset,int len,int flags) skb_send_sock_locked_with_flags() argument 3431 skb_send_sock(struct sock * sk,struct sk_buff * skb,int offset,int len) skb_send_sock() argument 3448 skb_store_bits(struct sk_buff * skb,int offset,const void * from,int len) skb_store_bits() argument 3529 skb_checksum(const struct sk_buff * skb,int offset,int len,__wsum csum) skb_checksum() argument 3611 skb_copy_and_csum_bits(const struct sk_buff * skb,int offset,u8 * to,int len) skb_copy_and_csum_bits() argument 3700 skb_crc32c(const struct sk_buff * skb,int offset,int len,u32 crc) skb_crc32c() argument 3771 __skb_checksum_complete_head(struct sk_buff * skb,int len) __skb_checksum_complete_head() argument 3797 __skb_checksum_complete(struct sk_buff * skb) __skb_checksum_complete() argument 3935 skb_copy_and_csum_dev(const struct sk_buff * skb,u8 * to) skb_copy_and_csum_dev() argument 4047 struct sk_buff *skb = rb_entry(p, struct sk_buff, rbnode); skb_rbtree_purge() local 4059 struct sk_buff *skb, *next; skb_errqueue_purge() local 4130 skb_unlink(struct sk_buff * skb,struct sk_buff_head * list) skb_unlink() argument 4160 skb_split_inside_header(struct sk_buff * skb,struct sk_buff * skb1,const u32 len,const int pos) skb_split_inside_header() argument 4182 skb_split_no_header(struct sk_buff * skb,struct sk_buff * skb1,const u32 len,int pos) skb_split_no_header() argument 4231 skb_split(struct sk_buff * skb,struct sk_buff * skb1,const u32 len) skb_split() argument 4251 skb_prepare_for_shift(struct sk_buff * skb) skb_prepare_for_shift() argument 4274 skb_shift(struct sk_buff * tgt,struct sk_buff * skb,int shiftlen) skb_shift() argument 4403 skb_prepare_seq_read(struct sk_buff * skb,unsigned int from,unsigned int to,struct skb_seq_state * st) skb_prepare_seq_read() argument 4602 skb_find_text(struct sk_buff * skb,unsigned int from,unsigned int to,struct ts_config * config) skb_find_text() argument 4621 skb_append_pagefrags(struct sk_buff * skb,struct page * page,int offset,size_t size,size_t max_frags) skb_append_pagefrags() argument 4651 skb_pull_rcsum(struct sk_buff * skb,unsigned int len) skb_pull_rcsum() argument 4674 skb_segment_list(struct sk_buff * skb,netdev_features_t features,unsigned int offset) skb_segment_list() argument 5228 __skb_to_sgvec(struct sk_buff * skb,struct scatterlist * sg,int offset,int len,unsigned int recursion_level) __skb_to_sgvec() argument 5311 skb_to_sgvec(struct sk_buff * skb,struct scatterlist * sg,int offset,int len) skb_to_sgvec() argument 5343 skb_to_sgvec_nomark(struct sk_buff * skb,struct scatterlist * sg,int offset,int len) skb_to_sgvec_nomark() argument 5369 skb_cow_data(struct sk_buff * skb,int tailbits,struct sk_buff ** trailer) skb_cow_data() argument 5462 sock_rmem_free(struct sk_buff * skb) sock_rmem_free() argument 5469 skb_set_err_queue(struct sk_buff * skb) skb_set_err_queue() argument 5481 sock_queue_err_skb(struct sock * sk,struct sk_buff * skb) sock_queue_err_skb() argument 5503 is_icmp_err_skb(const struct sk_buff * skb) is_icmp_err_skb() argument 5512 struct sk_buff *skb, *skb_next = NULL; sock_dequeue_err_skb() local 5551 skb_clone_sk(struct sk_buff * skb) skb_clone_sk() argument 5572 __skb_complete_tx_timestamp(struct sk_buff * skb,struct sock * sk,int tstype,bool opt_stats) __skb_complete_tx_timestamp() argument 5628 skb_complete_tx_timestamp(struct sk_buff * skb,struct skb_shared_hwtstamps * hwtstamps) skb_complete_tx_timestamp() argument 5651 skb_tstamp_tx_report_so_timestamping(struct sk_buff * skb,struct skb_shared_hwtstamps * hwtstamps,int tstype) skb_tstamp_tx_report_so_timestamping() argument 5670 skb_tstamp_tx_report_bpf_timestamping(struct sk_buff * skb,struct skb_shared_hwtstamps * hwtstamps,struct sock * sk,int tstype) skb_tstamp_tx_report_bpf_timestamping() argument 5704 struct sk_buff *skb; __skb_tstamp_tx() local 5772 skb_complete_wifi_ack(struct sk_buff * skb,bool acked) skb_complete_wifi_ack() argument 5811 skb_partial_csum_set(struct sk_buff * skb,u16 start,u16 off) skb_partial_csum_set() argument 5829 skb_maybe_pull_tail(struct sk_buff * skb,unsigned int len,unsigned int max) skb_maybe_pull_tail() argument 5852 skb_checksum_setup_ip(struct sk_buff * skb,typeof(IPPROTO_IP) proto,unsigned int off) skb_checksum_setup_ip() argument 5886 skb_checksum_setup_ipv4(struct sk_buff * skb,bool recalculate) skb_checksum_setup_ipv4() argument 5931 OPT_HDR(type,skb,off) global() argument 5934 skb_checksum_setup_ipv6(struct sk_buff * skb,bool recalculate) skb_checksum_setup_ipv6() argument 6039 skb_checksum_setup(struct sk_buff * skb,bool recalculate) skb_checksum_setup() argument 6074 skb_checksum_maybe_trim(struct sk_buff * skb,unsigned int transport_len) skb_checksum_maybe_trim() argument 6114 skb_checksum_trimmed(struct sk_buff * skb,unsigned int transport_len,__sum16 (* skb_chkf)(struct sk_buff * skb)) skb_checksum_trimmed() argument 6116 skb_checksum_trimmed(struct sk_buff * skb,unsigned int transport_len,__sum16 (* skb_chkf)(struct sk_buff * skb)) skb_checksum_trimmed() argument 6147 __skb_warn_lro_forwarding(const struct sk_buff * skb) __skb_warn_lro_forwarding() argument 6154 kfree_skb_partial(struct sk_buff * skb,bool head_stolen) kfree_skb_partial() argument 6278 skb_scrub_packet(struct sk_buff * skb,bool xnet) skb_scrub_packet() argument 6302 skb_reorder_vlan_header(struct sk_buff * skb) skb_reorder_vlan_header() argument 6328 skb_vlan_untag(struct sk_buff * skb) skb_vlan_untag() argument 6369 skb_ensure_writable(struct sk_buff * skb,unsigned int write_len) skb_ensure_writable() argument 6381 skb_ensure_writable_head_tail(struct sk_buff * skb,struct net_device * dev) skb_ensure_writable_head_tail() argument 6409 __skb_vlan_pop(struct sk_buff * skb,u16 * vlan_tci) __skb_vlan_pop() argument 6442 skb_vlan_pop(struct sk_buff * skb) skb_vlan_pop() argument 6475 skb_vlan_push(struct sk_buff * skb,__be16 vlan_proto,u16 vlan_tci) skb_vlan_push() argument 6514 skb_eth_pop(struct sk_buff * skb) skb_eth_pop() argument 6541 skb_eth_push(struct sk_buff * skb,const unsigned char * dst,const unsigned char * src) skb_eth_push() argument 6570 skb_mod_eth_type(struct sk_buff * skb,struct ethhdr * hdr,__be16 ethertype) skb_mod_eth_type() argument 6597 skb_mpls_push(struct sk_buff * skb,__be32 mpls_lse,__be16 mpls_proto,int mac_len,bool ethernet) skb_mpls_push() argument 6650 skb_mpls_pop(struct sk_buff * skb,__be16 next_proto,int mac_len,bool ethernet) skb_mpls_pop() argument 6693 skb_mpls_update_lse(struct sk_buff * skb,__be32 mpls_lse) skb_mpls_update_lse() argument 6725 skb_mpls_dec_ttl(struct sk_buff * skb) skb_mpls_dec_ttl() argument 6766 struct sk_buff *skb; alloc_skb_with_frags() local 6815 pskb_carve_inside_header(struct sk_buff * skb,const u32 off,const int headlen,gfp_t gfp_mask) pskb_carve_inside_header() argument 6936 pskb_carve_inside_nonlinear(struct sk_buff * skb,const u32 off,int pos,gfp_t gfp_mask) pskb_carve_inside_nonlinear() argument 7020 pskb_carve(struct sk_buff * skb,const u32 len,gfp_t gfp) pskb_carve() argument 7033 pskb_extract(struct sk_buff * skb,int off,int to_copy,gfp_t gfp) pskb_extract() argument 7062 skb_condense(struct sk_buff * skb) skb_condense() argument 7156 __skb_ext_set(struct sk_buff * skb,enum skb_ext_id id,struct skb_ext * ext) __skb_ext_set() argument 7185 skb_ext_add(struct sk_buff * skb,enum skb_ext_id id) skb_ext_add() argument 7238 __skb_ext_del(struct sk_buff * skb,enum skb_ext_id id) __skb_ext_del() argument 7283 kfree_skb_napi_cache(struct sk_buff * skb) kfree_skb_napi_cache() argument 7306 skb_attempt_defer_free(struct sk_buff * skb) skb_attempt_defer_free() argument 7353 skb_splice_csum_page(struct sk_buff * skb,struct page * page,size_t offset,size_t len) skb_splice_csum_page() argument 7379 skb_splice_from_iter(struct sk_buff * skb,struct iov_iter * iter,ssize_t maxsize) skb_splice_from_iter() argument 7497 __vlan_get_protocol_offset(const struct sk_buff * skb,__be16 type,int mac_offset) __vlan_get_protocol_offset() argument [all...] |