Lines Matching refs:cork
117 struct sk_msg_buff *cork; member
254 if (psock->cork) { in bpf_tcp_release()
255 free_start_sg(psock->sock, psock->cork, true); in bpf_tcp_release()
256 kfree(psock->cork); in bpf_tcp_release()
257 psock->cork = NULL; in bpf_tcp_release()
318 if (psock->cork) { in bpf_tcp_remove()
319 free_start_sg(psock->sock, psock->cork, true); in bpf_tcp_remove()
320 kfree(psock->cork); in bpf_tcp_remove()
321 psock->cork = NULL; in bpf_tcp_remove()
811 bool cork = false, enospc = (m->sg_start == m->sg_end); in bpf_exec_tx_verdict() local
823 if (!psock->cork) { in bpf_exec_tx_verdict()
824 psock->cork = kcalloc(1, in bpf_exec_tx_verdict()
828 if (!psock->cork) { in bpf_exec_tx_verdict()
833 memcpy(psock->cork, m, sizeof(*m)); in bpf_exec_tx_verdict()
856 if (psock->cork) { in bpf_exec_tx_verdict()
857 cork = true; in bpf_exec_tx_verdict()
858 psock->cork = NULL; in bpf_exec_tx_verdict()
871 if (!cork) in bpf_exec_tx_verdict()
877 if (cork) { in bpf_exec_tx_verdict()
1088 m = psock->cork_bytes ? psock->cork : &md; in bpf_tcp_sendmsg()
1144 if (m && m != psock->cork) in bpf_tcp_sendmsg()
1179 m = psock->cork; in bpf_tcp_sendpage()
1609 if (psock->cork) { in smap_gc_work()
1610 free_start_sg(psock->sock, psock->cork, true); in smap_gc_work()
1611 kfree(psock->cork); in smap_gc_work()