Home
last modified time | relevance | path

Searched refs:errp (Results 1 – 11 of 11) sorted by relevance

/net/sctp/
Dsm_make_chunk.c1565 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/
Ddn_rtmsg.c32 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/
Dip6_queue.c146 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/
Dip_queue.c143 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/
Dsvcsock.c57 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/
Dxfrm_user.c322 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()
Dxfrm_state.c1136 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/
Ddn_fib.c270 …_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/
Dpep.c666 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/
Daf_key.c2772 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/
Dsch_api.c747 u32 parent, u32 handle, struct nlattr **tca, int *errp) in qdisc_create() argument
855 *errp = err; in qdisc_create()