Searched refs:vm_wait (Results 1 – 3 of 3) sorted by relevance
121 long vm_wait = 0; in sk_stream_wait_memory() local126 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()
916 long vm_wait = 0; in csk_wait_memory() local923 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()
809 static int xs_stream_nospace(struct rpc_rqst *req, bool vm_wait) in xs_stream_nospace() argument816 if (vm_wait) in xs_stream_nospace()873 bool vm_wait; in xs_local_send_request() local886 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() local1057 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()