Home
last modified time | relevance | path

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

/linux/net/core/
H A Dstream.c121 long vm_wait = 0; in sk_stream_wait_memory() local
126 current_timeo = vm_wait = get_random_u32_below(HZ / 5) + 2; in sk_stream_wait_memory()
140 if (sk_stream_memory_free(sk) && !vm_wait) in sk_stream_wait_memory()
147 (sk_stream_memory_free(sk) && !vm_wait), in sk_stream_wait_memory()
153 if (vm_wait) { in sk_stream_wait_memory()
154 vm_wait -= current_timeo; in sk_stream_wait_memory()
157 (current_timeo -= vm_wait) < 0) in sk_stream_wait_memory()
159 vm_wait = 0; in sk_stream_wait_memory()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_io.c916 long vm_wait = 0; in csk_wait_memory() local
923 vm_wait = get_random_u32_below(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), in csk_wait_memory()
953 if (vm_wait) { in csk_wait_memory()
954 vm_wait -= current_timeo; in csk_wait_memory()
957 current_timeo -= vm_wait; in csk_wait_memory()
961 vm_wait = 0; in csk_wait_memory()
/linux/net/sunrpc/
H A Dxprtsock.c865 static int xs_stream_nospace(struct rpc_rqst *req, bool vm_wait) in xs_stream_nospace() argument
872 if (vm_wait) in xs_stream_nospace()
940 bool vm_wait; in xs_local_send_request() local
953 vm_wait = sk_stream_is_writeable(transport->inet) ? true : false; in xs_local_send_request()
970 vm_wait = false; in xs_local_send_request()
975 status = xs_stream_nospace(req, vm_wait); in xs_local_send_request()
1096 bool vm_wait; in xs_tcp_send_request() local
1124 vm_wait = sk_stream_is_writeable(transport->inet) ? true : false; in xs_tcp_send_request()
1148 vm_wait = false; in xs_tcp_send_request()
1158 status = xs_stream_nospace(req, vm_wait); in xs_tcp_send_request()