Searched refs:svsk (Results 1 – 2 of 2) sorted by relevance
115 svc_sock_enqueue(struct svc_sock *svsk) in svc_sock_enqueue() argument117 struct svc_serv *serv = svsk->sk_server; in svc_sock_enqueue()120 if (!(svsk->sk_flags & in svc_sock_enqueue()123 if (test_bit(SK_DEAD, &svsk->sk_flags)) in svc_sock_enqueue()133 if (test_bit(SK_BUSY, &svsk->sk_flags)) { in svc_sock_enqueue()135 dprintk("svc: socket %p busy, not enqueued\n", svsk->sk_sk); in svc_sock_enqueue()139 if (((svsk->sk_reserved + serv->sv_bufsz)*2 in svc_sock_enqueue()140 > sock_wspace(svsk->sk_sk)) in svc_sock_enqueue()141 && !test_bit(SK_CLOSE, &svsk->sk_flags) in svc_sock_enqueue()142 && !test_bit(SK_CONN, &svsk->sk_flags)) { in svc_sock_enqueue()[all …]
63 struct svc_sock *svsk; in svc_destroy() local78 svsk = list_entry(serv->sv_tempsocks.next, in svc_destroy()81 svc_delete_socket(svsk); in svc_destroy()84 svsk = list_entry(serv->sv_permsocks.next, in svc_destroy()87 svc_delete_socket(svsk); in svc_destroy()