Home
last modified time | relevance | path

Searched refs:sk_allocation (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v6.6/net/tls/
Dtls_strp.c48 &err, strp->sk->sk_allocation); in tls_strp_skb_copy()
104 skb = alloc_skb(0, strp->sk->sk_allocation); in tls_strp_msg_detach()
154 skb = alloc_skb(0, strp->sk->sk_allocation); in tls_strp_msg_hold()
177 clone = skb_clone(iter, strp->sk->sk_allocation); in tls_strp_msg_hold()
404 page = alloc_page(strp->sk->sk_allocation); in tls_strp_read_copy()
Dtls_device.c333 !skb_page_frag_refill(prot->tag_size, pfrag, sk->sk_allocation)) { in tls_device_record_close()
379 sk->sk_allocation))) { in tls_do_allocation()
687 gfp_t sk_allocation = sk->sk_allocation; in tls_device_write_space() local
691 sk->sk_allocation = GFP_ATOMIC; in tls_device_write_space()
695 sk->sk_allocation = sk_allocation; in tls_device_write_space()
905 sk->sk_allocation); in tls_device_reencrypt()
Dtls_sw.c333 rec = kzalloc(mem_size, sk->sk_allocation); in tls_get_rec()
1407 &err, sk->sk_allocation); in tls_alloc_clrtxt_skb()
1495 sk->sk_allocation); in tls_decrypt_sg()
2402 alloc_save = sk->sk_allocation; in tls_data_ready()
2403 sk->sk_allocation = GFP_ATOMIC; in tls_data_ready()
2405 sk->sk_allocation = alloc_save; in tls_data_ready()
/Linux-v6.6/net/ipv6/
Dip6_output.c1410 nopt = v6_cork->opt = kzalloc(sizeof(*opt), sk->sk_allocation); in ip6_setup_cork()
1418 nopt->dst0opt = ip6_opt_dup(opt->dst0opt, sk->sk_allocation); in ip6_setup_cork()
1422 nopt->dst1opt = ip6_opt_dup(opt->dst1opt, sk->sk_allocation); in ip6_setup_cork()
1426 nopt->hopopt = ip6_opt_dup(opt->hopopt, sk->sk_allocation); in ip6_setup_cork()
1430 nopt->srcrt = ip6_rthdr_dup(opt->srcrt, sk->sk_allocation); in ip6_setup_cork()
1710 sk->sk_allocation); in __ip6_append_data()
1803 sk->sk_allocation); in __ip6_append_data()
/Linux-v6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c257 page = alloc_pages(sk->sk_allocation | __GFP_COMP, 0); in tls_copy_ivs()
840 skb = alloc_skb(size + TX_HEADER_LEN, sk->sk_allocation); in get_tx_skb()
856 sk->sk_allocation); in get_record_skb()
1100 sk->sk_allocation); in chtls_sendmsg()
1142 gfp_t gfp = sk->sk_allocation; in chtls_sendmsg()
/Linux-v6.6/net/mptcp/
Dprotocol.h1026 gfp_t saved_allocation = ssk->sk_allocation; in mptcp_do_fallback()
1031 ssk->sk_allocation = GFP_ATOMIC; in mptcp_do_fallback()
1034 ssk->sk_allocation = saved_allocation; in mptcp_do_fallback()
/Linux-v6.6/net/kcm/
Dkcmsock.c783 head = alloc_skb(0, sk->sk_allocation); in kcm_sendmsg()
790 head = alloc_skb(0, sk->sk_allocation); in kcm_sendmsg()
815 tskb = alloc_skb(0, sk->sk_allocation); in kcm_sendmsg()
837 sk->sk_allocation); in kcm_sendmsg()
/Linux-v6.6/net/ipv4/
Dtcp_output.c2961 tcp_write_xmit(sk, mss_now, TCP_NAGLE_PUSH, 1, sk->sk_allocation); in tcp_push_one()
3530 skb = alloc_skb_fclone(MAX_TCP_HEADER, sk->sk_allocation); in tcp_send_fin()
3877 pfrag, sk->sk_allocation)) in tcp_send_syn_data()
3879 syn_data = tcp_stream_alloc_skb(sk, sk->sk_allocation, false); in tcp_send_syn_data()
3911 err = tcp_transmit_skb(sk, syn_data, 1, sk->sk_allocation); in tcp_send_syn_data()
3937 err = tcp_transmit_skb(sk, syn, 1, sk->sk_allocation); in tcp_send_syn_data()
3964 buff = tcp_stream_alloc_skb(sk, sk->sk_allocation, true); in tcp_connect()
3977 tcp_transmit_skb(sk, buff, 1, sk->sk_allocation); in tcp_connect()
Dip_output.c1126 sk->sk_allocation); in __ip_append_data()
1221 sk->sk_allocation); in __ip_append_data()
1295 sk->sk_allocation); in ip_setup_cork()
Dtcp_fastopen.c462 sk->sk_allocation); in tcp_fastopen_defer_connect()
Dtcp.c1007 sk->sk_allocation); in tcp_sendmsg_fastopen()
1153 skb = tcp_stream_alloc_skb(sk, sk->sk_allocation, in tcp_sendmsg_locked()
1250 sk->sk_allocation); in tcp_sendmsg_locked()
2797 tcp_send_active_reset(sk, sk->sk_allocation); in __tcp_close()
/Linux-v6.6/net/rxrpc/
Drxperf.c190 socket->sk->sk_allocation = GFP_NOFS; in rxperf_open_socket()
/Linux-v6.6/fs/ocfs2/cluster/
Dtcp.c1610 sock->sk->sk_allocation = GFP_ATOMIC; in o2net_start_connect()
1810 new_sock->sk->sk_allocation = GFP_ATOMIC; in o2net_accept_one()
1990 sock->sk->sk_allocation = GFP_ATOMIC; in o2net_open_listening_sock()
/Linux-v6.6/drivers/net/wireguard/
Dsocket.c344 sock->sk->sk_allocation = GFP_ATOMIC; in set_sock_opts()
/Linux-v6.6/net/core/
Dsock.c306 sk->sk_allocation |= __GFP_MEMALLOC; in sk_set_memalloc()
314 sk->sk_allocation &= ~__GFP_MEMALLOC; in sk_clear_memalloc()
2796 errcode, sk->sk_allocation); in sock_alloc_send_pskb()
2940 if (likely(skb_page_frag_refill(32U, pfrag, sk->sk_allocation))) in sk_page_frag_refill()
3416 sk->sk_allocation = GFP_KERNEL; in sock_init_data_uid()
/Linux-v6.6/net/dccp/
Doutput.c560 skb = alloc_skb(sk->sk_prot->max_header, sk->sk_allocation); in dccp_connect()
/Linux-v6.6/net/xfrm/
Despintcp.c500 sk->sk_allocation = GFP_ATOMIC; in espintcp_init_sk()
/Linux-v6.6/net/iucv/
Daf_iucv.c631 sk->sk_allocation |= GFP_DMA; in iucv_sock_bind()
657 sk->sk_allocation |= GFP_DMA; in iucv_sock_autobind()
1639 nsk->sk_allocation |= GFP_DMA; in iucv_callback_connreq()
/Linux-v6.6/drivers/usb/usbip/
Dusbip_common.c317 sock->sk->sk_allocation = GFP_NOIO; in usbip_recv()
/Linux-v6.6/net/sched/
Dem_meta.c485 dst->value = (__force int) sk->sk_allocation; in META_COLLECTOR()
/Linux-v6.6/fs/dlm/
Dlowcomms.c653 sk->sk_allocation = GFP_NOFS; in add_sock()
1779 sock->sk->sk_allocation = GFP_NOFS; in dlm_listen_for_all()
/Linux-v6.6/fs/afs/
Drxrpc.c50 socket->sk->sk_allocation = GFP_NOFS; in afs_open_socket()
/Linux-v6.6/drivers/scsi/
Discsi_tcp.c744 sk->sk_allocation = GFP_ATOMIC; in iscsi_sw_tcp_conn_bind()
/Linux-v6.6/net/9p/
Dtrans_fd.c869 csocket->sk->sk_allocation = GFP_NOIO; in p9_socket_open()
/Linux-v6.6/include/net/
Dsock.h472 gfp_t sk_allocation; member
1016 return gfp_mask | (sk->sk_allocation & __GFP_MEMALLOC); in sk_gfp_mask()

12