Home
last modified time | relevance | path

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

12

/Linux-v6.1/net/tls/
Dtls_strp.c45 &err, strp->sk->sk_allocation); in tls_strp_msg_make_copy()
86 skb = alloc_skb(0, strp->sk->sk_allocation); in tls_strp_msg_detach()
136 skb = alloc_skb(0, strp->sk->sk_allocation); in tls_strp_msg_hold()
159 clone = skb_clone(iter, strp->sk->sk_allocation); in tls_strp_msg_hold()
296 page = alloc_page(strp->sk->sk_allocation); in tls_strp_read_copy()
Dtls_device.c332 sk->sk_allocation))) { in tls_device_record_close()
382 sk->sk_allocation))) { in tls_do_allocation()
708 gfp_t sk_allocation = sk->sk_allocation; in tls_device_write_space() local
712 sk->sk_allocation = GFP_ATOMIC; in tls_device_write_space()
716 sk->sk_allocation = sk_allocation; in tls_device_write_space()
926 sk->sk_allocation); in tls_device_reencrypt()
Dtls_sw.c321 rec = kzalloc(mem_size, sk->sk_allocation); in tls_get_rec()
1400 &err, sk->sk_allocation); in tls_alloc_clrtxt_skb()
1487 sk->sk_allocation); in tls_decrypt_sg()
/Linux-v6.1/net/kcm/
Dkcmsock.c802 tskb = alloc_skb(0, sk->sk_allocation); in kcm_sendpage()
829 head = alloc_skb(0, sk->sk_allocation); in kcm_sendpage()
941 head = alloc_skb(0, sk->sk_allocation); in kcm_sendmsg()
948 head = alloc_skb(0, sk->sk_allocation); in kcm_sendmsg()
973 tskb = alloc_skb(0, sk->sk_allocation); in kcm_sendmsg()
/Linux-v6.1/net/mptcp/
Dprotocol.h957 gfp_t saved_allocation = ssk->sk_allocation; in mptcp_do_fallback()
962 ssk->sk_allocation = GFP_ATOMIC; in mptcp_do_fallback()
965 ssk->sk_allocation = saved_allocation; in mptcp_do_fallback()
/Linux-v6.1/net/ipv6/
Dip6_output.c1397 nopt = v6_cork->opt = kzalloc(sizeof(*opt), sk->sk_allocation); in ip6_setup_cork()
1405 nopt->dst0opt = ip6_opt_dup(opt->dst0opt, sk->sk_allocation); in ip6_setup_cork()
1409 nopt->dst1opt = ip6_opt_dup(opt->dst1opt, sk->sk_allocation); in ip6_setup_cork()
1413 nopt->hopopt = ip6_opt_dup(opt->hopopt, sk->sk_allocation); in ip6_setup_cork()
1417 nopt->srcrt = ip6_rthdr_dup(opt->srcrt, sk->sk_allocation); in ip6_setup_cork()
1685 sk->sk_allocation); in __ip6_append_data()
/Linux-v6.1/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()
1129 gfp_t gfp = sk->sk_allocation; in chtls_sendmsg()
/Linux-v6.1/net/ipv4/
Dtcp_output.c2894 tcp_write_xmit(sk, mss_now, TCP_NAGLE_PUSH, 1, sk->sk_allocation); in tcp_push_one()
3423 skb = alloc_skb_fclone(MAX_TCP_HEADER, sk->sk_allocation); in tcp_send_fin()
3775 syn_data = tcp_stream_alloc_skb(sk, space, sk->sk_allocation, false); in tcp_send_syn_data()
3802 err = tcp_transmit_skb(sk, syn_data, 1, sk->sk_allocation); in tcp_send_syn_data()
3828 err = tcp_transmit_skb(sk, syn, 1, sk->sk_allocation); in tcp_send_syn_data()
3855 buff = tcp_stream_alloc_skb(sk, 0, sk->sk_allocation, true); in tcp_connect()
3868 tcp_transmit_skb(sk, buff, 1, sk->sk_allocation); in tcp_connect()
Dtcp_fastopen.c460 sk->sk_allocation); in tcp_fastopen_defer_connect()
Dip_output.c1127 sk->sk_allocation); in __ip_append_data()
1278 sk->sk_allocation); in ip_setup_cork()
1412 skb = sock_wmalloc(sk, alloclen, 1, sk->sk_allocation); in ip_append_page()
Dtcp.c987 skb = tcp_stream_alloc_skb(sk, 0, sk->sk_allocation, in tcp_build_frag()
1183 sk->sk_allocation); in tcp_sendmsg_fastopen()
1325 skb = tcp_stream_alloc_skb(sk, 0, sk->sk_allocation, in tcp_sendmsg_locked()
2908 tcp_send_active_reset(sk, sk->sk_allocation); in __tcp_close()
Dfou.c603 sk->sk_allocation = GFP_ATOMIC; in fou_create()
/Linux-v6.1/fs/ocfs2/cluster/
Dtcp.c1606 sock->sk->sk_allocation = GFP_ATOMIC; in o2net_start_connect()
1805 new_sock->sk->sk_allocation = GFP_ATOMIC; in o2net_accept_one()
1983 sock->sk->sk_allocation = GFP_ATOMIC; in o2net_open_listening_sock()
/Linux-v6.1/drivers/net/wireguard/
Dsocket.c344 sock->sk->sk_allocation = GFP_ATOMIC; in set_sock_opts()
/Linux-v6.1/net/core/
Dsock.c302 sk->sk_allocation |= __GFP_MEMALLOC; in sk_set_memalloc()
310 sk->sk_allocation &= ~__GFP_MEMALLOC; in sk_clear_memalloc()
2720 errcode, sk->sk_allocation); in sock_alloc_send_pskb()
2863 if (likely(skb_page_frag_refill(32U, pfrag, sk->sk_allocation))) in sk_page_frag_refill()
3367 sk->sk_allocation = GFP_KERNEL; in sock_init_data()
/Linux-v6.1/net/dccp/
Doutput.c560 skb = alloc_skb(sk->sk_prot->max_header, sk->sk_allocation); in dccp_connect()
/Linux-v6.1/net/xfrm/
Despintcp.c491 sk->sk_allocation = GFP_ATOMIC; in espintcp_init_sk()
/Linux-v6.1/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.1/include/net/
Dsock.h467 gfp_t sk_allocation; member
1010 return gfp_mask | (sk->sk_allocation & __GFP_MEMALLOC); in sk_gfp_mask()
2571 if ((sk->sk_allocation & (__GFP_DIRECT_RECLAIM | __GFP_MEMALLOC | __GFP_FS)) == in sk_page_frag()
/Linux-v6.1/drivers/usb/usbip/
Dusbip_common.c317 sock->sk->sk_allocation = GFP_NOIO; in usbip_recv()
/Linux-v6.1/net/sched/
Dem_meta.c485 dst->value = (__force int) sk->sk_allocation; in META_COLLECTOR()
/Linux-v6.1/fs/dlm/
Dlowcomms.c701 sk->sk_allocation = GFP_NOFS; in add_listen_sock()
720 sk->sk_allocation = GFP_NOFS; in add_sock()
/Linux-v6.1/fs/afs/
Drxrpc.c48 socket->sk->sk_allocation = GFP_NOFS; in afs_open_socket()
/Linux-v6.1/drivers/scsi/
Discsi_tcp.c740 sk->sk_allocation = GFP_ATOMIC; in iscsi_sw_tcp_conn_bind()
/Linux-v6.1/net/9p/
Dtrans_fd.c870 csocket->sk->sk_allocation = GFP_NOIO; in p9_socket_open()

12