H A D | skbuff.c | 19 * Ray VanTassle : Fixed --skb->lock in free 80 #include <trace/events/skb.h> 175 * @skb: buffer 185 static void skb_panic(struct sk_buff *skb, unsigned int sz, void *addr, in skb_panic() argument 189 msg, addr, skb->len, sz, skb->head, skb->data, in skb_panic() 190 (unsigned long)skb->tail, (unsigned long)skb->end, in skb_panic() 191 skb in skb_panic() 195 skb_over_panic(struct sk_buff * skb,unsigned int sz,void * addr) skb_over_panic() argument 200 skb_under_panic(struct sk_buff * skb,unsigned int sz,void * addr) skb_under_panic() argument 284 struct sk_buff *skb; napi_get_frags_check() local 327 struct sk_buff *skb; napi_skb_cache_get() local 344 __finalize_skb_around(struct sk_buff * skb,void * data,unsigned int size) __finalize_skb_around() argument 369 __slab_build_skb(struct sk_buff * skb,void * data,unsigned int * size) __slab_build_skb() argument 394 struct sk_buff *skb; slab_build_skb() local 410 __build_skb_around(struct sk_buff * skb,void * data,unsigned int frag_size) __build_skb_around() argument 446 struct sk_buff *skb; __build_skb() local 463 struct sk_buff *skb = __build_skb(data, frag_size); build_skb() local 479 build_skb_around(struct sk_buff * skb,void * data,unsigned int frag_size) build_skb_around() argument 507 struct sk_buff *skb; __napi_build_skb() local 531 struct sk_buff *skb = __napi_build_skb(data, frag_size); napi_build_skb() local 625 struct sk_buff *skb; __alloc_skb() local 702 struct sk_buff *skb; __netdev_alloc_skb() local 776 struct sk_buff *skb; __napi_alloc_skb() local 847 skb_add_rx_frag(struct sk_buff * skb,int i,struct page * page,int off,int size,unsigned int truesize) skb_add_rx_frag() argument 857 skb_coalesce_rx_frag(struct sk_buff * skb,int i,int size,unsigned int truesize) skb_coalesce_rx_frag() argument 875 skb_drop_fraglist(struct sk_buff * skb) skb_drop_fraglist() argument 880 skb_clone_fraglist(struct sk_buff * skb) skb_clone_fraglist() argument 933 skb_pp_recycle(struct sk_buff * skb,void * data,bool napi_safe) skb_pp_recycle() argument 948 skb_free_head(struct sk_buff * skb,bool napi_safe) skb_free_head() argument 961 skb_release_data(struct sk_buff * skb,enum skb_drop_reason reason,bool napi_safe) skb_release_data() argument 1004 kfree_skbmem(struct sk_buff * skb) kfree_skbmem() argument 1034 skb_release_head_state(struct sk_buff * skb) skb_release_head_state() argument 1048 skb_release_all(struct sk_buff * skb,enum skb_drop_reason reason,bool napi_safe) skb_release_all() argument 1065 __kfree_skb(struct sk_buff * skb) __kfree_skb() argument 1073 __kfree_skb_reason(struct sk_buff * skb,enum skb_drop_reason reason) __kfree_skb_reason() argument 1100 kfree_skb_reason(struct sk_buff * skb,enum skb_drop_reason reason) kfree_skb_reason() argument 1114 kfree_skb_add_bulk(struct sk_buff * skb,struct skb_free_array * sa,enum skb_drop_reason reason) kfree_skb_add_bulk() argument 1163 skb_dump(const char * level,const struct sk_buff * skb,bool full_pkt) skb_dump() argument 1259 skb_tx_error(struct sk_buff * skb) skb_tx_error() argument 1277 consume_skb(struct sk_buff * skb) consume_skb() argument 1295 __consume_stateless_skb(struct sk_buff * skb) __consume_stateless_skb() argument 1302 napi_skb_cache_put(struct sk_buff * skb) napi_skb_cache_put() argument 1321 __napi_kfree_skb(struct sk_buff * skb,enum skb_drop_reason reason) __napi_kfree_skb() argument 1327 napi_skb_free_stolen_head(struct sk_buff * skb) napi_skb_free_stolen_head() argument 1339 napi_consume_skb(struct sk_buff * skb,int budget) napi_consume_skb() argument 1422 __skb_clone(struct sk_buff * n,struct sk_buff * skb) __skb_clone() argument 1543 struct sk_buff *skb; msg_zerocopy_alloc() local 1627 skb_zerocopy_notify_extend(struct sk_buff * skb,u32 lo,u16 len) skb_zerocopy_notify_extend() argument 1649 struct sk_buff *tail, *skb = skb_from_uarg(uarg); __msg_zerocopy_callback() local 1697 msg_zerocopy_callback(struct sk_buff * skb,struct ubuf_info * uarg,bool success) msg_zerocopy_callback() argument 1721 skb_zerocopy_iter_stream(struct sock * sk,struct sk_buff * skb,struct msghdr * msg,int len,struct ubuf_info * uarg) skb_zerocopy_iter_stream() argument 1751 __skb_zcopy_downgrade_managed(struct sk_buff * skb) __skb_zcopy_downgrade_managed() argument 1796 skb_copy_ubufs(struct sk_buff * skb,gfp_t gfp_mask) skb_copy_ubufs() argument 1892 skb_clone(struct sk_buff * skb,gfp_t gfp_mask) skb_clone() argument 1922 skb_headers_offset_update(struct sk_buff * skb,int off) skb_headers_offset_update() argument 1948 skb_alloc_rx_flag(const struct sk_buff * skb) skb_alloc_rx_flag() argument 1972 skb_copy(const struct sk_buff * skb,gfp_t gfp_mask) skb_copy() argument 2017 __pskb_copy_fclone(struct sk_buff * skb,int headroom,gfp_t gfp_mask,bool fclone) __pskb_copy_fclone() argument 2081 pskb_expand_head(struct sk_buff * skb,int nhead,int ntail,gfp_t gfp_mask) pskb_expand_head() argument 2170 skb_realloc_headroom(struct sk_buff * skb,unsigned int headroom) skb_realloc_headroom() argument 2190 __skb_unclone_keeptruesize(struct sk_buff * skb,gfp_t pri) __skb_unclone_keeptruesize() argument 2248 skb_expand_head(struct sk_buff * skb,unsigned int headroom) skb_expand_head() argument 2305 skb_copy_expand(const struct sk_buff * skb,int newheadroom,int newtailroom,gfp_t gfp_mask) skb_copy_expand() argument 2364 __skb_pad(struct sk_buff * skb,int pad,bool free_on_error) __skb_pad() argument 2412 pskb_put(struct sk_buff * skb,struct sk_buff * tail,int len) pskb_put() argument 2431 skb_put(struct sk_buff * skb,unsigned int len) skb_put() argument 2452 skb_push(struct sk_buff * skb,unsigned int len) skb_push() argument 2472 skb_pull(struct sk_buff * skb,unsigned int len) skb_pull() argument 2489 skb_pull_data(struct sk_buff * skb,size_t len) skb_pull_data() argument 2511 skb_trim(struct sk_buff * skb,unsigned int len) skb_trim() argument 2521 ___pskb_trim(struct sk_buff * skb,unsigned int len) ___pskb_trim() argument 2608 pskb_trim_rcsum_slow(struct sk_buff * skb,unsigned int len) pskb_trim_rcsum_slow() argument 2652 __pskb_pull_tail(struct sk_buff * skb,int delta) __pskb_pull_tail() argument 2793 skb_copy_bits(const struct sk_buff * skb,int offset,void * to,int len) skb_copy_bits() argument 2978 __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 3030 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 3078 __skb_send_sock(struct sock * sk,struct sk_buff * skb,int offset,int len,sendmsg_func sendmsg) __skb_send_sock() argument 3177 skb_send_sock_locked(struct sock * sk,struct sk_buff * skb,int offset,int len) skb_send_sock_locked() argument 3185 skb_send_sock(struct sock * sk,struct sk_buff * skb,int offset,int len) skb_send_sock() argument 3202 skb_store_bits(struct sk_buff * skb,int offset,const void * from,int len) skb_store_bits() argument 3280 __skb_checksum(const struct sk_buff * skb,int offset,int len,__wsum csum,const struct skb_checksum_ops * ops) __skb_checksum() argument 3364 skb_checksum(const struct sk_buff * skb,int offset,int len,__wsum csum) skb_checksum() argument 3378 skb_copy_and_csum_bits(const struct sk_buff * skb,int offset,u8 * to,int len) skb_copy_and_csum_bits() argument 3463 __skb_checksum_complete_head(struct sk_buff * skb,int len) __skb_checksum_complete_head() argument 3489 __skb_checksum_complete(struct sk_buff * skb) __skb_checksum_complete() argument 3652 skb_copy_and_csum_dev(const struct sk_buff * skb,u8 * to) skb_copy_and_csum_dev() argument 3732 struct sk_buff *skb; skb_queue_purge_reason() local 3755 struct sk_buff *skb = rb_entry(p, struct sk_buff, rbnode); skb_rbtree_purge() local 3767 struct sk_buff *skb, *next; skb_errqueue_purge() local 3838 skb_unlink(struct sk_buff * skb,struct sk_buff_head * list) skb_unlink() argument 3868 skb_split_inside_header(struct sk_buff * skb,struct sk_buff * skb1,const u32 len,const int pos) skb_split_inside_header() argument 3889 skb_split_no_header(struct sk_buff * skb,struct sk_buff * skb1,const u32 len,int pos) skb_split_no_header() argument 3936 skb_split(struct sk_buff * skb,struct sk_buff * skb1,const u32 len) skb_split() argument 3956 skb_prepare_for_shift(struct sk_buff * skb) skb_prepare_for_shift() argument 3979 skb_shift(struct sk_buff * tgt,struct sk_buff * skb,int shiftlen) skb_shift() argument 4104 skb_prepare_seq_read(struct sk_buff * skb,unsigned int from,unsigned int to,struct skb_seq_state * st) skb_prepare_seq_read() argument 4265 skb_find_text(struct sk_buff * skb,unsigned int from,unsigned int to,struct ts_config * config) skb_find_text() argument 4284 skb_append_pagefrags(struct sk_buff * skb,struct page * page,int offset,size_t size,size_t max_frags) skb_append_pagefrags() argument 4314 skb_pull_rcsum(struct sk_buff * skb,unsigned int len) skb_pull_rcsum() argument 4337 skb_segment_list(struct sk_buff * skb,netdev_features_t features,unsigned int offset) skb_segment_list() argument 4879 __skb_to_sgvec(struct sk_buff * skb,struct scatterlist * sg,int offset,int len,unsigned int recursion_level) __skb_to_sgvec() argument 4962 skb_to_sgvec(struct sk_buff * skb,struct scatterlist * sg,int offset,int len) skb_to_sgvec() argument 4994 skb_to_sgvec_nomark(struct sk_buff * skb,struct scatterlist * sg,int offset,int len) skb_to_sgvec_nomark() argument 5020 skb_cow_data(struct sk_buff * skb,int tailbits,struct sk_buff ** trailer) skb_cow_data() argument 5113 sock_rmem_free(struct sk_buff * skb) sock_rmem_free() argument 5120 skb_set_err_queue(struct sk_buff * skb) skb_set_err_queue() argument 5132 sock_queue_err_skb(struct sock * sk,struct sk_buff * skb) sock_queue_err_skb() argument 5154 is_icmp_err_skb(const struct sk_buff * skb) is_icmp_err_skb() argument 5163 struct sk_buff *skb, *skb_next = NULL; sock_dequeue_err_skb() local 5199 skb_clone_sk(struct sk_buff * skb) skb_clone_sk() argument 5220 __skb_complete_tx_timestamp(struct sk_buff * skb,struct sock * sk,int tstype,bool opt_stats) __skb_complete_tx_timestamp() argument 5263 skb_complete_tx_timestamp(struct sk_buff * skb,struct skb_shared_hwtstamps * hwtstamps) skb_complete_tx_timestamp() argument 5291 struct sk_buff *skb; __skb_tstamp_tx() local 5352 skb_complete_wifi_ack(struct sk_buff * skb,bool acked) skb_complete_wifi_ack() argument 5391 skb_partial_csum_set(struct sk_buff * skb,u16 start,u16 off) skb_partial_csum_set() argument 5409 skb_maybe_pull_tail(struct sk_buff * skb,unsigned int len,unsigned int max) skb_maybe_pull_tail() argument 5432 skb_checksum_setup_ip(struct sk_buff * skb,typeof (IPPROTO_IP)proto,unsigned int off) skb_checksum_setup_ip() argument 5466 skb_checksum_setup_ipv4(struct sk_buff * skb,bool recalculate) skb_checksum_setup_ipv4() argument 5511 OPT_HDR(type,skb,off) global() argument 5514 skb_checksum_setup_ipv6(struct sk_buff * skb,bool recalculate) skb_checksum_setup_ipv6() argument 5619 skb_checksum_setup(struct sk_buff * skb,bool recalculate) skb_checksum_setup() argument 5654 skb_checksum_maybe_trim(struct sk_buff * skb,unsigned int transport_len) skb_checksum_maybe_trim() argument 5694 skb_checksum_trimmed(struct sk_buff * skb,unsigned int transport_len,__sum16 (* skb_chkf)(struct sk_buff * skb)) skb_checksum_trimmed() argument 5696 skb_checksum_trimmed(struct sk_buff * skb,unsigned int transport_len,__sum16 (* skb_chkf)(struct sk_buff * skb)) skb_checksum_trimmed() argument 5727 __skb_warn_lro_forwarding(const struct sk_buff * skb) __skb_warn_lro_forwarding() argument 5734 kfree_skb_partial(struct sk_buff * skb,bool head_stolen) kfree_skb_partial() argument 5856 skb_scrub_packet(struct sk_buff * skb,bool xnet) skb_scrub_packet() argument 5880 skb_reorder_vlan_header(struct sk_buff * skb) skb_reorder_vlan_header() argument 5906 skb_vlan_untag(struct sk_buff * skb) skb_vlan_untag() argument 5947 skb_ensure_writable(struct sk_buff * skb,unsigned int write_len) skb_ensure_writable() argument 5962 __skb_vlan_pop(struct sk_buff * skb,u16 * vlan_tci) __skb_vlan_pop() argument 5995 skb_vlan_pop(struct sk_buff * skb) skb_vlan_pop() argument 6028 skb_vlan_push(struct sk_buff * skb,__be16 vlan_proto,u16 vlan_tci) skb_vlan_push() argument 6067 skb_eth_pop(struct sk_buff * skb) skb_eth_pop() argument 6094 skb_eth_push(struct sk_buff * skb,const unsigned char * dst,const unsigned char * src) skb_eth_push() argument 6123 skb_mod_eth_type(struct sk_buff * skb,struct ethhdr * hdr,__be16 ethertype) skb_mod_eth_type() argument 6150 skb_mpls_push(struct sk_buff * skb,__be32 mpls_lse,__be16 mpls_proto,int mac_len,bool ethernet) skb_mpls_push() argument 6203 skb_mpls_pop(struct sk_buff * skb,__be16 next_proto,int mac_len,bool ethernet) skb_mpls_pop() argument 6246 skb_mpls_update_lse(struct sk_buff * skb,__be32 mpls_lse) skb_mpls_update_lse() argument 6278 skb_mpls_dec_ttl(struct sk_buff * skb) skb_mpls_dec_ttl() argument 6319 struct sk_buff *skb; alloc_skb_with_frags() local 6368 pskb_carve_inside_header(struct sk_buff * skb,const u32 off,const int headlen,gfp_t gfp_mask) pskb_carve_inside_header() argument 6429 pskb_carve_frag_list(struct sk_buff * skb,struct skb_shared_info * shinfo,int eat,gfp_t gfp_mask) pskb_carve_frag_list() argument 6483 pskb_carve_inside_nonlinear(struct sk_buff * skb,const u32 off,int pos,gfp_t gfp_mask) pskb_carve_inside_nonlinear() argument 6560 pskb_carve(struct sk_buff * skb,const u32 len,gfp_t gfp) pskb_carve() argument 6573 pskb_extract(struct sk_buff * skb,int off,int to_copy,gfp_t gfp) pskb_extract() argument 6602 skb_condense(struct sk_buff * skb) skb_condense() argument 6696 __skb_ext_set(struct sk_buff * skb,enum skb_ext_id id,struct skb_ext * ext) __skb_ext_set() argument 6724 skb_ext_add(struct sk_buff * skb,enum skb_ext_id id) skb_ext_add() argument 6777 __skb_ext_del(struct sk_buff * skb,enum skb_ext_id id) __skb_ext_del() argument 6830 skb_attempt_defer_free(struct sk_buff * skb) skb_attempt_defer_free() argument 6870 skb_splice_csum_page(struct sk_buff * skb,struct page * page,size_t offset,size_t len) skb_splice_csum_page() argument 6897 skb_splice_from_iter(struct sk_buff * skb,struct iov_iter * iter,ssize_t maxsize,gfp_t gfp) skb_splice_from_iter() argument [all...] |