Lines Matching refs:p
568 struct list_head *p; in sctp_send_asconf_add_ip() local
617 p = bp->address_list.next; in sctp_send_asconf_add_ip()
618 laddr = list_entry(p, struct sctp_sockaddr_entry, list); in sctp_send_asconf_add_ip()
2836 struct sctp_sack_info p; in sctp_setsockopt_delayed_ack() local
2844 p.sack_assoc_id = v->assoc_id; in sctp_setsockopt_delayed_ack()
2845 p.sack_delay = v->assoc_value; in sctp_setsockopt_delayed_ack()
2846 p.sack_freq = v->assoc_value ? 0 : 1; in sctp_setsockopt_delayed_ack()
2847 return __sctp_setsockopt_delayed_ack(sk, &p); in sctp_setsockopt_delayed_ack()
4229 struct sctp_assoc_value *p, in sctp_setsockopt_interleaving_supported() argument
4235 if (optlen < sizeof(*p)) in sctp_setsockopt_interleaving_supported()
4238 asoc = sctp_id2assoc(sk, p->assoc_id); in sctp_setsockopt_interleaving_supported()
4239 if (!asoc && p->assoc_id != SCTP_FUTURE_ASSOC && sctp_style(sk, UDP)) in sctp_setsockopt_interleaving_supported()
4246 sp->ep->intl_enable = !!p->assoc_value; in sctp_setsockopt_interleaving_supported()
5309 void *p) { in sctp_for_each_endpoint() argument
5319 err = cb(ep, p); in sctp_for_each_endpoint()
5332 const union sctp_addr *paddr, void *p, int dif) in sctp_transport_lookup_process() argument
5352 err = cb(ep, transport, p); in sctp_transport_lookup_process()
5360 struct net *net, int *pos, void *p) in sctp_transport_traverse_process() argument
5375 ret = cb(ep, tsp, p); in sctp_transport_traverse_process()
5386 if (cb_done && !cb_done(ep, tsp, p)) { in sctp_transport_traverse_process()
6891 struct sctp_hmacalgo __user *p = (void __user *)optval; in sctp_getsockopt_hmac_ident() local
6912 if (put_user(num_idents, &p->shmac_num_idents)) in sctp_getsockopt_hmac_ident()
6917 if (copy_to_user(&p->shmac_idents[i], &hmacid, sizeof(__u16))) in sctp_getsockopt_hmac_ident()
6962 struct sctp_authchunks __user *p = (void __user *)optval; in sctp_getsockopt_peer_auth_chunks() local
6975 to = p->gauth_chunks; in sctp_getsockopt_peer_auth_chunks()
6998 if (put_user(num_chunks, &p->gauth_number_of_chunks)) in sctp_getsockopt_peer_auth_chunks()
7007 struct sctp_authchunks __user *p = (void __user *)optval; in sctp_getsockopt_local_auth_chunks() local
7020 to = p->gauth_chunks; in sctp_getsockopt_local_auth_chunks()
7048 if (put_user(num_chunks, &p->gauth_number_of_chunks)) in sctp_getsockopt_local_auth_chunks()