Lines Matching refs:timeo_p
74 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p,
76 static int sctp_wait_for_packet(struct sock *sk, int *err, long *timeo_p);
77 static int sctp_wait_for_connect(struct sctp_association *, long *timeo_p);
8928 static int sctp_wait_for_packet(struct sock *sk, int *err, long *timeo_p) in sctp_wait_for_packet() argument
8966 *timeo_p = schedule_timeout(*timeo_p); in sctp_wait_for_packet()
8974 error = sock_intr_errno(*timeo_p); in sctp_wait_for_packet()
9177 static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, in sctp_wait_for_sndbuf() argument
9181 long current_timeo = *timeo_p; in sctp_wait_for_sndbuf()
9186 *timeo_p, msg_len); in sctp_wait_for_sndbuf()
9197 if (!*timeo_p) in sctp_wait_for_sndbuf()
9216 *timeo_p = current_timeo; in sctp_wait_for_sndbuf()
9236 err = sock_intr_errno(*timeo_p); in sctp_wait_for_sndbuf()
9289 static int sctp_wait_for_connect(struct sctp_association *asoc, long *timeo_p) in sctp_wait_for_connect() argument
9293 long current_timeo = *timeo_p; in sctp_wait_for_connect()
9296 pr_debug("%s: asoc:%p, timeo:%ld\n", __func__, asoc, *timeo_p); in sctp_wait_for_connect()
9304 if (!*timeo_p) in sctp_wait_for_connect()
9324 *timeo_p = current_timeo; in sctp_wait_for_connect()
9343 err = sock_intr_errno(*timeo_p); in sctp_wait_for_connect()