| /net/mac80211/tests/ |
| A D | mfp.c | 20 ieee80211_rx_result result; member 29 .result = RX_CONTINUE, 37 .result = RX_CONTINUE, 46 .result = RX_CONTINUE, 55 .result = RX_CONTINUE, 75 .result = RX_CONTINUE, 141 .result = RX_CONTINUE, 152 .result = RX_CONTINUE, 161 .result = RX_CONTINUE, 169 .result = RX_CONTINUE, [all …]
|
| /net/sctp/ |
| A D | stream.c | 510 __u32 result) in sctp_update_strreset_result() argument 513 asoc->strreset_result[0] = result; in sctp_update_strreset_result() 542 result = asoc->strreset_result[i]; in sctp_process_strreset_outreq() 594 result = SCTP_STRRESET_PERFORMED; in sctp_process_strreset_outreq() 625 result = asoc->strreset_result[i]; in sctp_process_strreset_inreq() 671 result = SCTP_STRRESET_PERFORMED; in sctp_process_strreset_inreq() 767 result = SCTP_STRRESET_PERFORMED; in sctp_process_strreset_tsnreq() 838 result = SCTP_STRRESET_PERFORMED; in sctp_process_strreset_addstrm_out() 903 result = SCTP_STRRESET_PERFORMED; in sctp_process_strreset_addstrm_in() 924 __u32 result; in sctp_process_strreset_resp() local [all …]
|
| /net/handshake/ |
| A D | handshake-test.c | 130 struct handshake_req *result; in handshake_req_alloc_case() local 141 KUNIT_EXPECT_NULL(test, result); in handshake_req_alloc_case() 143 kfree(result); in handshake_req_alloc_case() 149 int err, result; in handshake_req_submit_test1() local 168 int result; in handshake_req_submit_test2() local 187 int err, result; in handshake_req_submit_test3() local 317 bool result; in handshake_req_cancel_test1() local 341 KUNIT_EXPECT_TRUE(test, result); in handshake_req_cancel_test1() 353 bool result; in handshake_req_cancel_test2() local 383 KUNIT_EXPECT_TRUE(test, result); in handshake_req_cancel_test2() [all …]
|
| /net/bridge/ |
| A D | br_multicast_eht.c | 51 int result; in br_multicast_eht_host_lookup() local 56 if (result < 0) in br_multicast_eht_host_lookup() 87 int result; in br_multicast_eht_set_entry_lookup() local 92 if (result < 0) in br_multicast_eht_set_entry_lookup() 111 int result; in br_multicast_eht_set_lookup() local 116 if (result < 0) in br_multicast_eht_set_lookup() 252 int result; in __eht_lookup_create_host() local 258 if (result < 0) in __eht_lookup_create_host() 297 int result; in __eht_lookup_create_set_entry() local 304 if (result < 0) in __eht_lookup_create_set_entry() [all …]
|
| /net/caif/ |
| A D | chnl_net.c | 201 int result = -1; in chnl_net_start_xmit() local 229 if (result) { in chnl_net_start_xmit() 244 int result = -1; in chnl_net_open() local 259 if (result != 0) { in chnl_net_open() 263 result); in chnl_net_open() 271 result = -ENODEV; in chnl_net_open() 292 result = -ENODEV; in chnl_net_open() 307 result = -ERESTARTSYS; in chnl_net_open() 311 if (result == 0) { in chnl_net_open() 313 result = -ETIMEDOUT; in chnl_net_open() [all …]
|
| /net/ipv6/ |
| A D | inet6_hashtables.c | 157 struct sock *sk, *result = NULL; in inet6_lhash2_lookup() local 166 if (result) in inet6_lhash2_lookup() 167 return result; in inet6_lhash2_lookup() 169 result = sk; in inet6_lhash2_lookup() 174 return result; in inet6_lhash2_lookup() 210 struct sock *result = NULL; in inet6_lookup_listener() local 219 if (result) in inet6_lookup_listener() 226 result = inet6_lhash2_lookup(net, ilb2, skb, doff, in inet6_lookup_listener() 229 if (result) in inet6_lookup_listener() 240 if (IS_ERR(result)) in inet6_lookup_listener() [all …]
|
| A D | udp.c | 209 result = sk; in udp6_lib_lookup1() 214 return result; in udp6_lib_lookup1() 228 result = NULL; in udp6_lib_lookup2() 242 result = sk; in udp6_lib_lookup2() 248 if (!result) { in udp6_lib_lookup2() 249 result = sk; in udp6_lib_lookup2() 271 return result; in udp6_lib_lookup2() 361 return result; in __udp6_lib_lookup() 378 result = sk; in __udp6_lib_lookup() 384 if (result) in __udp6_lib_lookup() [all …]
|
| A D | netfilter.c | 110 struct dst_entry *result; in __nf_ip6_route() local 113 result = ip6_route_output(net, sk, &fl->u.ip6); in __nf_ip6_route() 114 err = result->error; in __nf_ip6_route() 116 dst_release(result); in __nf_ip6_route() 118 *dst = result; in __nf_ip6_route()
|
| /net/ceph/ |
| A D | auth.c | 205 s32 result; in ceph_handle_auth_reply() local 217 result = ceph_decode_32(&p); in ceph_handle_auth_reply() 236 if (!protocol && result < 0) { in ceph_handle_auth_reply() 237 ret = result; in ceph_handle_auth_reply() 258 if (result) { in ceph_handle_auth_reply() 261 ret = result; in ceph_handle_auth_reply() 508 int used_proto, int result, in ceph_auth_handle_bad_method() argument 515 if (result == -EOPNOTSUPP) { in ceph_auth_handle_bad_method() 535 WARN_ON(result == -EOPNOTSUPP || result >= 0); in ceph_auth_handle_bad_method() 621 if (result == -EOPNOTSUPP) { in ceph_auth_handle_bad_authorizer() [all …]
|
| A D | ceph_common.c | 421 struct fs_parse_result result; in ceph_parse_param() local 487 switch (result.uint_32) { in ceph_parse_param() 502 switch (result.uint_32) { in ceph_parse_param() 530 if (result.uint_32 < 1 || result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 537 if (result.uint_32 < 1 || result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 543 if (result.uint_32 > INT_MAX / 1000) in ceph_parse_param() 556 if (!result.negated) in ceph_parse_param() 562 if (!result.negated) in ceph_parse_param() 568 if (!result.negated) in ceph_parse_param() 574 if (!result.negated) in ceph_parse_param() [all …]
|
| /net/netfilter/ |
| A D | nft_fib.c | 34 switch (priv->result) { in nft_fib_validate() 90 priv->result = ntohl(nla_get_be32(tb[NFTA_FIB_RESULT])); in nft_fib_init() 92 switch (priv->result) { in nft_fib_init() 126 if (nla_put_be32(skb, NFTA_FIB_RESULT, htonl(priv->result))) in nft_fib_dump() 142 switch (priv->result) { in nft_fib_store_result() 172 switch (priv->result) { in nft_fib_reduce() 194 if (priv->result != fib->result || in nft_fib_reduce()
|
| A D | nft_fib_inet.c | 22 switch (priv->result) { in nft_fib_inet_eval() 31 switch (priv->result) { in nft_fib_inet_eval()
|
| A D | nft_fib_netdev.c | 29 switch (priv->result) { in nft_fib_netdev_eval() 40 switch (priv->result) { in nft_fib_netdev_eval()
|
| /net/netfilter/ipvs/ |
| A D | ip_vs_sync.c | 1475 if (result < 0) { in make_send_sock() 1481 if (result < 0) { in make_send_sock() 1491 if (result > 0) in make_send_sock() 1497 result = 0; in make_send_sock() 1498 if (result < 0) { in make_send_sock() 1514 return result; in make_send_sock() 1540 if (result > 0) in make_receive_sock() 1568 return result; in make_receive_sock() 1865 if (result < 0) in start_sync_thread() 1921 return result; in start_sync_thread() [all …]
|
| A D | ip_vs_app.c | 150 int result; in ip_vs_app_inc_get() local 152 result = ip_vs_app_get(inc->app); in ip_vs_app_inc_get() 153 if (result) in ip_vs_app_inc_get() 155 return result; in ip_vs_app_inc_get() 176 int result; in register_ip_vs_app_inc() local 180 result = ip_vs_app_inc_new(ipvs, app, proto, port); in register_ip_vs_app_inc() 184 return result; in register_ip_vs_app_inc()
|
| /net/mptcp/ |
| A D | crypto_test.c | 9 char *result; member 19 .result = "8385e24fb4235ac37556b6b886db106284a1da671699f46db1f235ec622dcafa", 24 .result = "2c5e219164ff1dca1c4a92318d847bb6b9d44492984e1eb71aff9022f71046e9", 29 .result = "e73b9ba9969969cefb04aa0d6df18ec2fcc075b6f23b4d8c4da736a5dbbc6e7d", 56 KUNIT_EXPECT_STREQ(test, &hmac_hex[0], tests[i].result); in mptcp_crypto_test_basic()
|
| /net/bluetooth/ |
| A D | l2cap_core.c | 774 rsp.result = cpu_to_le16(result); in l2cap_chan_le_connect_reject() 802 rsp.result = cpu_to_le16(result); in l2cap_chan_connect_reject() 3643 rsp->result = cpu_to_le16(result); in l2cap_parse_conf_req() 3776 rsp->result = cpu_to_le16(result); in l2cap_build_conf_rsp() 4091 rsp.result = cpu_to_le16(result); in l2cap_connect() 4149 result = __le16_to_cpu(rsp->result); in l2cap_connect_create_rsp() 4375 result = __le16_to_cpu(rsp->result); in l2cap_config_rsp() 4602 result = __le16_to_cpu(rsp->result); in l2cap_information_rsp() 4974 rsp.result = cpu_to_le16(result); in l2cap_le_connect_req() 5168 pdu->result = cpu_to_le16(result); in l2cap_ecred_conn_req() [all …]
|
| A D | ecdh_helper.c | 47 DECLARE_CRYPTO_WAIT(result); in compute_ecdh_secret() 71 crypto_req_done, &result); in compute_ecdh_secret() 73 err = crypto_wait_req(err, &result); in compute_ecdh_secret() 147 DECLARE_CRYPTO_WAIT(result); in generate_ecdh_public_key() 167 crypto_req_done, &result); in generate_ecdh_public_key() 170 err = crypto_wait_req(err, &result); in generate_ecdh_public_key()
|
| /net/sunrpc/ |
| A D | rpcb_clnt.c | 251 int result = 0; in rpcb_create_af_local() local 271 return result; in rpcb_create_af_local() 318 int result = 0; in rpcb_create_local_net() local 338 return result; in rpcb_create_local_net() 348 int result = 0; in rpcb_create_local() local 363 return result; in rpcb_create_local() 416 if (!result) in rpcb_register_call() 490 int result; in rpcb_register_inet4() local 502 return result; in rpcb_register_inet4() 516 int result; in rpcb_register_inet6() local [all …]
|
| /net/mpls/ |
| A D | internal.h | 176 struct mpls_entry_decoded result; in mpls_entry_decode() local 179 result.label = (entry & MPLS_LS_LABEL_MASK) >> MPLS_LS_LABEL_SHIFT; in mpls_entry_decode() 180 result.ttl = (entry & MPLS_LS_TTL_MASK) >> MPLS_LS_TTL_SHIFT; in mpls_entry_decode() 181 result.tc = (entry & MPLS_LS_TC_MASK) >> MPLS_LS_TC_SHIFT; in mpls_entry_decode() 182 result.bos = (entry & MPLS_LS_S_MASK) >> MPLS_LS_S_SHIFT; in mpls_entry_decode() 184 return result; in mpls_entry_decode()
|
| /net/wireless/ |
| A D | util.c | 42 return result; in ieee80211_get_response_rate() 1564 u32 result; in cfg80211_calculate_bitrate_he() local 1609 tmp = result; in cfg80211_calculate_bitrate_he() 1612 result = tmp; in cfg80211_calculate_bitrate_he() 1615 result = (result * rate->nss) / 8; in cfg80211_calculate_bitrate_he() 1617 result /= 2; in cfg80211_calculate_bitrate_he() 1619 return result / 10000; in cfg80211_calculate_bitrate_he() 1650 u32 result; in cfg80211_calculate_bitrate_eht() local 1740 tmp = result; in cfg80211_calculate_bitrate_eht() 1748 result = tmp; in cfg80211_calculate_bitrate_eht() [all …]
|
| /net/ipv4/ |
| A D | fib_rules.c | 87 .result = res, in __fib_lookup() 139 (struct fib_result *)arg->result, in fib4_rule_action() 150 struct fib_result *result = arg->result; in fib4_rule_suppress() local 153 if (result->fi) { in fib4_rule_suppress() 154 struct fib_nh_common *nhc = fib_info_nhc(result->fi, 0); in fib4_rule_suppress() 162 if (result->prefixlen <= rule->suppress_prefixlen) in fib4_rule_suppress() 175 fib_info_put(result->fi); in fib4_rule_suppress()
|
| A D | inet_hashtables.c | 385 struct sock *sk, *result = NULL; in inet_lhash2_lookup() local 394 if (result) in inet_lhash2_lookup() 395 return result; in inet_lhash2_lookup() 397 result = sk; in inet_lhash2_lookup() 402 return result; in inet_lhash2_lookup() 435 struct sock *result = NULL; in __inet_lookup_listener() local 444 if (result) in __inet_lookup_listener() 451 result = inet_lhash2_lookup(net, ilb2, skb, doff, in __inet_lookup_listener() 454 if (result) in __inet_lookup_listener() 465 if (IS_ERR(result)) in __inet_lookup_listener() [all …]
|
| A D | udp.c | 457 result = sk; in udp4_lib_lookup1() 462 return result; in udp4_lib_lookup1() 477 result = NULL; in udp4_lib_lookup2() 491 result = sk; in udp4_lib_lookup2() 498 result = sk; in udp4_lib_lookup2() 520 return result; in udp4_lib_lookup2() 710 result = sk; in __udp4_lib_lookup() 716 if (result) in __udp4_lib_lookup() 742 return result; in __udp4_lib_lookup() 2767 result = NULL; in __udp4_lib_mcast_demux_lookup() [all …]
|
| /net/mac80211/ |
| A D | main.c | 1111 int result, i; in ieee80211_register_hw() local 1375 result = -EINVAL; in ieee80211_register_hw() 1441 if (result < 0) in ieee80211_register_hw() 1478 result = -ENOMEM; in ieee80211_register_hw() 1514 if (result) in ieee80211_register_hw() 1521 if (result < 0) { in ieee80211_register_hw() 1575 if (result < 0) in ieee80211_register_hw() 1593 if (result) in ieee80211_register_hw() 1604 if (result) in ieee80211_register_hw() 1611 if (result) in ieee80211_register_hw() [all …]
|