Home
last modified time | relevance | path

Searched refs:vm_wait (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/net/core/
Dstream.c121 long vm_wait = 0; in sk_stream_wait_memory() local
126 current_timeo = vm_wait = prandom_u32_max(HZ / 5) + 2; in sk_stream_wait_memory()
140 if (sk_stream_memory_free(sk) && !vm_wait) in sk_stream_wait_memory()
148 !vm_wait), &wait); in sk_stream_wait_memory()
151 if (vm_wait) { in sk_stream_wait_memory()
152 vm_wait -= current_timeo; in sk_stream_wait_memory()
155 (current_timeo -= vm_wait) < 0) in sk_stream_wait_memory()
157 vm_wait = 0; in sk_stream_wait_memory()
/Linux-v6.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c916 long vm_wait = 0; in csk_wait_memory() local
923 vm_wait = prandom_u32_max(HZ / 5) + 2; in csk_wait_memory()
940 if (csk_mem_free(cdev, sk) && !vm_wait) in csk_wait_memory()
947 (csk_mem_free(cdev, sk) && !vm_wait), &wait); in csk_wait_memory()
950 if (vm_wait) { in csk_wait_memory()
951 vm_wait -= current_timeo; in csk_wait_memory()
954 current_timeo -= vm_wait; in csk_wait_memory()
958 vm_wait = 0; in csk_wait_memory()
/Linux-v6.1/net/sunrpc/
Dxprtsock.c809 static int xs_stream_nospace(struct rpc_rqst *req, bool vm_wait) in xs_stream_nospace() argument
816 if (vm_wait) in xs_stream_nospace()
873 bool vm_wait; in xs_local_send_request() local
886 vm_wait = sk_stream_is_writeable(transport->inet) ? true : false; in xs_local_send_request()
903 vm_wait = false; in xs_local_send_request()
908 status = xs_stream_nospace(req, vm_wait); in xs_local_send_request()
1029 bool vm_wait; in xs_tcp_send_request() local
1057 vm_wait = sk_stream_is_writeable(transport->inet) ? true : false; in xs_tcp_send_request()
1081 vm_wait = false; in xs_tcp_send_request()
1091 status = xs_stream_nospace(req, vm_wait); in xs_tcp_send_request()