Searched refs:errp (Results 1 – 11 of 11) sorted by relevance
/net/sctp/ |
D | sm_make_chunk.c | 1565 int *error, struct sctp_chunk **errp) in sctp_unpack_cookie() argument 1681 *errp = sctp_make_op_error_space(asoc, chunk, len); in sctp_unpack_cookie() 1682 if (*errp) { in sctp_unpack_cookie() 1688 sctp_init_cause(*errp, SCTP_ERROR_STALE_COOKIE, in sctp_unpack_cookie() 1690 sctp_addto_chunk(*errp, sizeof(n), &n); in sctp_unpack_cookie() 1763 struct sctp_chunk **errp) in sctp_process_missing_param() argument 1773 if (!*errp) in sctp_process_missing_param() 1774 *errp = sctp_make_op_error_space(asoc, chunk, len); in sctp_process_missing_param() 1776 if (*errp) { in sctp_process_missing_param() 1779 sctp_init_cause(*errp, SCTP_ERROR_MISS_PARAM, in sctp_process_missing_param() [all …]
|
/net/decnet/netfilter/ |
D | dn_rtmsg.c | 32 static struct sk_buff *dnrmg_build_message(struct sk_buff *rt_skb, int *errp) in dnrmg_build_message() argument 58 *errp = -ENOMEM; in dnrmg_build_message()
|
/net/ipv6/netfilter/ |
D | ip6_queue.c | 146 ipq_build_packet_message(struct nf_queue_entry *entry, int *errp) in ipq_build_packet_message() argument 167 (*errp = skb_checksum_help(entry->skb))) { in ipq_build_packet_message() 180 *errp = -EINVAL; in ipq_build_packet_message() 228 *errp = -EINVAL; in ipq_build_packet_message()
|
/net/ipv4/netfilter/ |
D | ip_queue.c | 143 ipq_build_packet_message(struct nf_queue_entry *entry, int *errp) in ipq_build_packet_message() argument 164 (*errp = skb_checksum_help(entry->skb))) { in ipq_build_packet_message() 177 *errp = -EINVAL; in ipq_build_packet_message() 226 *errp = -EINVAL; in ipq_build_packet_message()
|
/net/sunrpc/ |
D | svcsock.c | 57 int *errp, int flags); 1108 int *errp, int flags) in svc_setup_socket() argument 1117 *errp = -ENOMEM; in svc_setup_socket() 1124 if (*errp >= 0 && pmap_register) in svc_setup_socket() 1125 *errp = svc_register(serv, inet->sk_protocol, in svc_setup_socket() 1128 if (*errp < 0) { in svc_setup_socket()
|
/net/xfrm/ |
D | xfrm_user.c | 322 int *errp) in xfrm_state_construct() argument 388 *errp = err; in xfrm_state_construct() 439 int *errp) in xfrm_user_state_lookup() argument 462 if (!x && errp) in xfrm_user_state_lookup() 463 *errp = err; in xfrm_user_state_lookup() 1090 …policy_construct(struct net *net, struct xfrm_userpolicy_info *p, struct nlattr **attrs, int *errp) in xfrm_policy_construct() argument 1096 *errp = -ENOMEM; in xfrm_policy_construct() 1113 *errp = err; in xfrm_policy_construct()
|
D | xfrm_state.c | 1136 static struct xfrm_state *xfrm_state_clone(struct xfrm_state *orig, int *errp) in xfrm_state_clone() argument 1200 if (errp) in xfrm_state_clone() 1201 *errp = err; in xfrm_state_clone()
|
/net/decnet/ |
D | dn_fib.c | 270 …_create_info(const struct rtmsg *r, struct dn_kern_rta *rta, const struct nlmsghdr *nlh, int *errp) in dn_fib_create_info() argument 397 *errp = err; in dn_fib_create_info()
|
/net/phonet/ |
D | pep.c | 666 static struct sock *pep_sock_accept(struct sock *sk, int flags, int *errp) in pep_sock_accept() argument 699 *errp = err; in pep_sock_accept()
|
/net/key/ |
D | af_key.c | 2772 static struct sadb_msg *pfkey_get_base_msg(struct sk_buff *skb, int *errp) in pfkey_get_base_msg() argument 2777 *errp = -EMSGSIZE; in pfkey_get_base_msg() 2785 *errp = -EINVAL; in pfkey_get_base_msg() 2791 *errp = -EMSGSIZE; in pfkey_get_base_msg() 2793 *errp = 0; in pfkey_get_base_msg()
|
/net/sched/ |
D | sch_api.c | 747 u32 parent, u32 handle, struct nlattr **tca, int *errp) in qdisc_create() argument 855 *errp = err; in qdisc_create()
|