Home
last modified time | relevance | path

Searched refs:selector (Results 1 – 25 of 26) sorted by relevance

12

/net/netfilter/
Dnft_bitwise.c293 if (!track->regs[priv->sreg].selector) in nft_bitwise_reduce()
296 bitwise = nft_expr_priv(track->regs[priv->dreg].selector); in nft_bitwise_reduce()
297 if (track->regs[priv->sreg].selector == track->regs[priv->dreg].selector && in nft_bitwise_reduce()
319 nft_reg_track_update(track, track->regs[priv->sreg].selector, in nft_bitwise_reduce()
445 if (!track->regs[priv->sreg].selector) in nft_bitwise_fast_reduce()
448 bitwise = nft_expr_priv(track->regs[priv->dreg].selector); in nft_bitwise_fast_reduce()
449 if (track->regs[priv->sreg].selector == track->regs[priv->dreg].selector && in nft_bitwise_fast_reduce()
466 track->regs[priv->dreg].selector = in nft_bitwise_fast_reduce()
467 track->regs[priv->sreg].selector; in nft_bitwise_fast_reduce()
Dnft_payload.c264 payload = nft_expr_priv(track->regs[priv->dreg].selector); in nft_payload_reduce()
1014 if (!track->regs[i].selector) in nft_payload_set_reduce()
1017 if (track->regs[i].selector->ops != &nft_payload_ops && in nft_payload_set_reduce()
1018 track->regs[i].selector->ops != &nft_payload_fast_ops) in nft_payload_set_reduce()
Dnft_meta.c758 meta = nft_expr_priv(track->regs[priv->dreg].selector); in nft_meta_get_reduce()
789 if (!track->regs[i].selector) in nft_meta_set_reduce()
792 if (track->regs[i].selector->ops != &nft_meta_get_ops) in nft_meta_set_reduce()
Dnft_osf.c147 osf = nft_expr_priv(track->regs[priv->dreg].selector); in nft_osf_reduce()
Dnft_fib.c194 fib = nft_expr_priv(track->regs[priv->dreg].selector); in nft_fib_reduce()
Dnft_socket.c227 socket = nft_expr_priv(track->regs[priv->dreg].selector); in nft_socket_reduce()
Dnft_ct.c690 ct = nft_expr_priv(track->regs[priv->dreg].selector); in nft_ct_get_reduce()
745 if (!track->regs[i].selector) in nft_ct_set_reduce()
748 if (track->regs[i].selector->ops != &nft_ct_get_ops) in nft_ct_set_reduce()
Dnft_xfrm.c273 xfrm = nft_expr_priv(track->regs[priv->dreg].selector); in nft_xfrm_reduce()
Dnft_hash.c209 symhash = nft_expr_priv(track->regs[priv->dreg].selector); in nft_symhash_reduce()
Dnft_tunnel.c138 tunnel = nft_expr_priv(track->regs[priv->dreg].selector); in nft_tunnel_get_reduce()
Dnft_exthdr.c714 exthdr = nft_expr_priv(track->regs[priv->dreg].selector); in nft_exthdr_reduce()
/net/dcb/
Ddcbnl.c184 static enum ieee_attrs_app dcbnl_app_attr_type_get(u8 selector) in dcbnl_app_attr_type_get() argument
186 switch (selector) { in dcbnl_app_attr_type_get()
211 static bool dcbnl_app_selector_validate(enum ieee_attrs_app type, u8 selector) in dcbnl_app_selector_validate() argument
213 return dcbnl_app_attr_type_get(selector) == type; in dcbnl_app_selector_validate()
504 .selector = idtype, in dcbnl_getapp()
573 app.selector = idtype; in dcbnl_setapp()
1127 if (!dcbnl_app_selector_validate(type, app_data->selector)) in dcbnl_app_table_setdel()
1228 dcbnl_app_attr_type_get(itr->app.selector); in dcbnl_ieee_fill()
1253 dcbnl_app_attr_type_get(itr->app.selector); in dcbnl_ieee_fill()
1420 itr->app.selector); in dcbnl_cee_fill()
[all …]
/net/devlink/
Dport.c56 caps->selector |= cap; in devlink_port_fn_cap_fill()
174 if (!caps.selector) in devlink_port_fn_caps_fill()
177 caps.selector); in devlink_port_fn_caps_fill()
380 caps_value = caps.value & caps.selector; in devlink_port_fn_caps_set()
381 if (caps.selector & DEVLINK_PORT_FN_CAP_ROCE) { in devlink_port_fn_caps_set()
388 if (caps.selector & DEVLINK_PORT_FN_CAP_MIGRATABLE) { in devlink_port_fn_caps_set()
395 if (caps.selector & DEVLINK_PORT_FN_CAP_IPSEC_CRYPTO) { in devlink_port_fn_caps_set()
402 if (caps.selector & DEVLINK_PORT_FN_CAP_IPSEC_PACKET) { in devlink_port_fn_caps_set()
677 if (caps.selector & DEVLINK_PORT_FN_CAP_ROCE && in devlink_port_function_validate()
683 if (caps.selector & DEVLINK_PORT_FN_CAP_MIGRATABLE) { in devlink_port_function_validate()
[all …]
Ddev.c476 limits_selected = limits.value & limits.selector; in devlink_nl_cmd_reload()
1094 params.overwrite_mask = sections.value & sections.selector; in devlink_nl_cmd_flash_update()
/net/xfrm/
Dxfrm_policy.c539 h = __addr_hash(&pol->selector.daddr, &pol->selector.saddr, in xfrm_dst_hash_transfer()
763 addr = &policy->selector.saddr; in xfrm_policy_inexact_insert_use_any_list()
764 prefixlen = policy->selector.prefixlen_s; in xfrm_policy_inexact_insert_use_any_list()
769 addr = &policy->selector.daddr; in xfrm_policy_inexact_insert_use_any_list()
770 prefixlen = policy->selector.prefixlen_d; in xfrm_policy_inexact_insert_use_any_list()
885 matches_s = xfrm_policy_addr_delta(&policy->selector.saddr, in xfrm_policy_inexact_list_reinsert()
889 matches_d = xfrm_policy_addr_delta(&policy->selector.daddr, in xfrm_policy_inexact_list_reinsert()
1141 if (xfrm_pol_inexact_addr_use_any_list(&policy->selector.daddr, in xfrm_policy_inexact_alloc_chain()
1143 policy->selector.prefixlen_d)) { in xfrm_policy_inexact_alloc_chain()
1147 &policy->selector.saddr, in xfrm_policy_inexact_alloc_chain()
[all …]
Dxfrm_user.c1894 memcpy(&xp->selector, &p->sel, sizeof(xp->selector)); in copy_from_user_policy()
1905 memcpy(&p->sel, &xp->selector, sizeof(p->sel)); in copy_to_user_policy()
3643 memcpy(&id->sel, &xp->selector, sizeof(id->sel)); in xfrm_notify_policy()
/net/tipc/
Dnode.h102 int selector);
105 u32 selector);
Dbcast.c293 u32 dnode, selector; in tipc_rcast_xmit() local
295 selector = msg_link_selector(buf_msg(skb_peek(pkts))); in tipc_rcast_xmit()
304 if (tipc_node_xmit(net, &_pkts, dnode, selector) == -ELINKCONG) in tipc_rcast_xmit()
Dnode.c1690 u32 dnode, int selector) in tipc_node_xmit() argument
1730 bearer_id = n->active_links[selector & 1]; in tipc_node_xmit()
1762 u32 selector) in tipc_node_xmit_skb() argument
1768 tipc_node_xmit(net, &head, dnode, selector); in tipc_node_xmit_skb()
1778 u32 selector, dnode; in tipc_node_distr_xmit() local
1781 selector = msg_origport(buf_msg(skb)); in tipc_node_distr_xmit()
1783 tipc_node_xmit_skb(net, skb, dnode, selector); in tipc_node_distr_xmit()
Dsocket.c289 u32 selector; in tipc_sk_respond() local
298 selector = msg_origport(buf_msg(skb)); in tipc_sk_respond()
299 tipc_node_xmit_skb(sock_net(sk), skb, dnode, selector); in tipc_sk_respond()
/net/bridge/netfilter/
Dnft_meta_bridge.c158 if (!track->regs[i].selector) in nft_meta_bridge_set_reduce()
161 if (track->regs[i].selector->ops != &nft_meta_bridge_get_ops) in nft_meta_bridge_set_reduce()
/net/key/
Daf_key.c2089 addr->sadb_address_proto = pfkey_proto_from_xfrm(xp->selector.proto); in pfkey_xfrm_policy2msg()
2090 addr->sadb_address_prefixlen = xp->selector.prefixlen_s; in pfkey_xfrm_policy2msg()
2092 if (!pfkey_sockaddr_fill(&xp->selector.saddr, in pfkey_xfrm_policy2msg()
2093 xp->selector.sport, in pfkey_xfrm_policy2msg()
2104 addr->sadb_address_proto = pfkey_proto_from_xfrm(xp->selector.proto); in pfkey_xfrm_policy2msg()
2105 addr->sadb_address_prefixlen = xp->selector.prefixlen_d; in pfkey_xfrm_policy2msg()
2108 pfkey_sockaddr_fill(&xp->selector.daddr, xp->selector.dport, in pfkey_xfrm_policy2msg()
2276 xp->family = pfkey_sadb_addr2xfrm_addr(sa, &xp->selector.saddr); in pfkey_spdadd()
2277 xp->selector.family = xp->family; in pfkey_spdadd()
2278 xp->selector.prefixlen_s = sa->sadb_address_prefixlen; in pfkey_spdadd()
[all …]
/net/ethtool/
Dnetlink.h211 newval = (*dst & ~change.selector) | (change.value & change.selector); in ethnl_update_bitfield32()
/net/sched/
Dsch_red.c277 flags = (q->flags & ~flags_bf.selector) | flags_bf.value; in __red_change()
/net/dsa/
Dslave.c2219 switch (app->selector) { in dsa_slave_dcbnl_ieee_setapp()
2289 switch (app->selector) { in dsa_slave_dcbnl_ieee_delapp()
2318 .selector = IEEE_8021QAZ_APP_SEL_ETHERTYPE, in dsa_slave_dcbnl_init()
2336 .selector = IEEE_8021QAZ_APP_SEL_DSCP, in dsa_slave_dcbnl_init()

12