Home
last modified time | relevance | path

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

12

/openbmc/linux/net/tls/
H A 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()
H A 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()
H A Dtls_sw.c365 rec = kzalloc(mem_size, sk->sk_allocation); in tls_get_rec()
1427 &err, sk->sk_allocation); in tls_alloc_clrtxt_skb()
1515 sk->sk_allocation); in tls_decrypt_sg()
2436 alloc_save = sk->sk_allocation; in tls_data_ready()
2437 sk->sk_allocation = GFP_ATOMIC; in tls_data_ready()
2439 sk->sk_allocation = alloc_save; in tls_data_ready()
/openbmc/linux/net/ipv6/
H A Dip6_output.c1427 nopt = v6_cork->opt = kzalloc(sizeof(*opt), sk->sk_allocation); in ip6_setup_cork()
1435 nopt->dst0opt = ip6_opt_dup(opt->dst0opt, sk->sk_allocation); in ip6_setup_cork()
1439 nopt->dst1opt = ip6_opt_dup(opt->dst1opt, sk->sk_allocation); in ip6_setup_cork()
1443 nopt->hopopt = ip6_opt_dup(opt->hopopt, sk->sk_allocation); in ip6_setup_cork()
1447 nopt->srcrt = ip6_rthdr_dup(opt->srcrt, sk->sk_allocation); in ip6_setup_cork()
1727 sk->sk_allocation); in __ip6_append_data()
1820 sk->sk_allocation); in __ip6_append_data()
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A 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()
/openbmc/linux/net/mptcp/
H A Dprotocol.h1111 gfp_t saved_allocation = ssk->sk_allocation; in mptcp_do_fallback()
1116 ssk->sk_allocation = GFP_ATOMIC; in mptcp_do_fallback()
1119 ssk->sk_allocation = saved_allocation; in mptcp_do_fallback()
/openbmc/linux/net/kcm/
H A Dkcmsock.c784 head = alloc_skb(0, sk->sk_allocation); in kcm_sendmsg()
791 head = alloc_skb(0, sk->sk_allocation); in kcm_sendmsg()
816 tskb = alloc_skb(0, sk->sk_allocation); in kcm_sendmsg()
838 sk->sk_allocation); in kcm_sendmsg()
/openbmc/linux/net/ipv4/
H A Dtcp_output.c2961 tcp_write_xmit(sk, mss_now, TCP_NAGLE_PUSH, 1, sk->sk_allocation); in tcp_push_one()
3885 pfrag, sk->sk_allocation)) in tcp_send_syn_data()
3887 syn_data = tcp_stream_alloc_skb(sk, sk->sk_allocation, false); in tcp_send_syn_data()
3919 err = tcp_transmit_skb(sk, syn_data, 1, sk->sk_allocation); in tcp_send_syn_data()
3945 err = tcp_transmit_skb(sk, syn, 1, sk->sk_allocation); in tcp_send_syn_data()
3972 buff = tcp_stream_alloc_skb(sk, sk->sk_allocation, true); in tcp_connect()
3985 tcp_transmit_skb(sk, buff, 1, sk->sk_allocation); in tcp_connect()
H A Dip_output.c1128 sk->sk_allocation); in __ip_append_data()
1223 sk->sk_allocation); in __ip_append_data()
1303 sk->sk_allocation); in ip_setup_cork()
H A Dtcp_fastopen.c462 sk->sk_allocation); in tcp_fastopen_defer_connect()
H A Dtcp.c1008 sk->sk_allocation); in tcp_sendmsg_fastopen()
1154 skb = tcp_stream_alloc_skb(sk, sk->sk_allocation, in tcp_sendmsg_locked()
1254 sk->sk_allocation); in tcp_sendmsg_locked()
2815 tcp_send_active_reset(sk, sk->sk_allocation); in __tcp_close()
/openbmc/linux/net/rxrpc/
H A Drxperf.c190 socket->sk->sk_allocation = GFP_NOFS; in rxperf_open_socket()
/openbmc/linux/fs/ocfs2/cluster/
H A 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()
/openbmc/linux/drivers/net/wireguard/
H A Dsocket.c344 sock->sk->sk_allocation = GFP_ATOMIC; in set_sock_opts()
/openbmc/linux/net/core/
H A Dsock.c308 sk->sk_allocation |= __GFP_MEMALLOC; in sk_set_memalloc()
316 sk->sk_allocation &= ~__GFP_MEMALLOC; in sk_clear_memalloc()
2797 errcode, sk->sk_allocation); in sock_alloc_send_pskb()
2942 if (likely(skb_page_frag_refill(32U, pfrag, sk->sk_allocation))) in sk_page_frag_refill()
3418 sk->sk_allocation = GFP_KERNEL; in sock_init_data_uid()
/openbmc/linux/net/dccp/
H A Doutput.c560 skb = alloc_skb(sk->sk_prot->max_header, sk->sk_allocation); in dccp_connect()
/openbmc/linux/net/xfrm/
H A Despintcp.c500 sk->sk_allocation = GFP_ATOMIC; in espintcp_init_sk()
/openbmc/linux/net/iucv/
H A 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()
/openbmc/linux/drivers/usb/usbip/
H A Dusbip_common.c317 sock->sk->sk_allocation = GFP_NOIO; in usbip_recv()
/openbmc/linux/net/sched/
H A Dem_meta.c485 dst->value = (__force int) sk->sk_allocation; in META_COLLECTOR()
/openbmc/linux/fs/dlm/
H A Dlowcomms.c653 sk->sk_allocation = GFP_NOFS; in add_sock()
1779 sock->sk->sk_allocation = GFP_NOFS; in dlm_listen_for_all()
/openbmc/linux/fs/afs/
H A Drxrpc.c50 socket->sk->sk_allocation = GFP_NOFS; in afs_open_socket()
/openbmc/linux/drivers/scsi/
H A Discsi_tcp.c744 sk->sk_allocation = GFP_ATOMIC; in iscsi_sw_tcp_conn_bind()
/openbmc/linux/net/9p/
H A Dtrans_fd.c876 csocket->sk->sk_allocation = GFP_NOIO; in p9_socket_open()
/openbmc/linux/include/net/
H A Dsock.h472 gfp_t sk_allocation; member
1018 return gfp_mask | (sk->sk_allocation & __GFP_MEMALLOC); in sk_gfp_mask()

12