/linux-6.1.9/kernel/ |
D | notifier.c | 143 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, in atomic_notifier_chain_register() 166 int atomic_notifier_chain_register_unique_prio(struct atomic_notifier_head *nh, in atomic_notifier_chain_register_unique_prio() 188 int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, in atomic_notifier_chain_unregister() 219 int atomic_notifier_call_chain(struct atomic_notifier_head *nh, in atomic_notifier_call_chain() 241 bool atomic_notifier_call_chain_is_empty(struct atomic_notifier_head *nh) in atomic_notifier_call_chain_is_empty() 251 static int __blocking_notifier_chain_register(struct blocking_notifier_head *nh, in __blocking_notifier_chain_register() 281 int blocking_notifier_chain_register(struct blocking_notifier_head *nh, in blocking_notifier_chain_register() 298 int blocking_notifier_chain_register_unique_prio(struct blocking_notifier_head *nh, in blocking_notifier_chain_register_unique_prio() 315 int blocking_notifier_chain_unregister(struct blocking_notifier_head *nh, in blocking_notifier_chain_unregister() 335 int blocking_notifier_call_chain_robust(struct blocking_notifier_head *nh, in blocking_notifier_call_chain_robust() [all …]
|
/linux-6.1.9/net/ipv4/ |
D | nexthop.c | 101 const struct nexthop *nh) in nh_notifier_single_info_init() 181 const struct nexthop *nh) in nh_notifier_grp_info_init() 193 const struct nexthop *nh) in nh_notifier_grp_info_fini() 204 const struct nexthop *nh) in nh_notifier_info_init() 215 const struct nexthop *nh) in nh_notifier_info_fini() 225 struct nexthop *nh, in call_nexthop_notifiers() 258 struct nexthop *nh; in nh_notifier_res_bucket_idle_timer_get() local 390 static int call_nexthop_res_table_notifiers(struct net *net, struct nexthop *nh, in call_nexthop_res_table_notifiers() 426 struct nexthop *nh, in call_nexthop_notifier() 467 static void nexthop_free_group(struct nexthop *nh) in nexthop_free_group() [all …]
|
D | fib_semantics.c | 444 struct fib_nh *nh; in ip_fib_check_default() local 621 int fib_nh_init(struct net *net, struct fib_nh *nh, in fib_nh_init() 696 struct fib_nh *nh; in fib_get_nhs() local 856 const struct fib_nh *nh, in fib_encap_match() 900 struct fib_nh *nh; in fib_nh_match() local 1050 static int fib_check_nh_v6_gw(struct net *net, struct fib_nh *nh, in fib_check_nh_v6_gw() 1119 static int fib_check_nh_v4_gw(struct net *net, struct fib_nh *nh, u32 table, in fib_check_nh_v4_gw() 1213 static int fib_check_nh_nongw(struct net *net, struct fib_nh *nh, in fib_check_nh_nongw() 1248 int fib_check_nh(struct net *net, struct fib_nh *nh, u32 table, u8 scope, in fib_check_nh() 1326 struct fib_nh *nh; in fib_info_update_nhc_saddr() local [all …]
|
/linux-6.1.9/include/net/ |
D | nexthop.h | 99 struct nexthop *nh; member 184 struct nh_notifier_single_info nh; member 212 struct nh_notifier_single_info *nh; member 232 static inline bool nexthop_get(struct nexthop *nh) in nexthop_get() 237 static inline void nexthop_put(struct nexthop *nh) in nexthop_put() 249 static inline bool nexthop_is_fdb(const struct nexthop *nh) in nexthop_is_fdb() 264 static inline bool nexthop_has_v4(const struct nexthop *nh) in nexthop_has_v4() 275 static inline bool nexthop_is_multipath(const struct nexthop *nh) in nexthop_is_multipath() 288 static inline unsigned int nexthop_num_path(const struct nexthop *nh) in nexthop_num_path() 316 int nexthop_mpath_fill_node(struct sk_buff *skb, struct nexthop *nh, in nexthop_mpath_fill_node() [all …]
|
/linux-6.1.9/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 53 struct nlmsghdr *nh = (void *)data; in init_genl_req() local 69 static void nl_error(struct nlmsghdr *nh) in nl_error() 105 struct nlmsghdr *nh; in capture_events() local 202 static int do_nl_req(int fd, struct nlmsghdr *nh, int len, int max) in do_nl_req() 308 struct nlmsghdr *nh; in resolve_mptcp_pm_netlink() local 335 struct nlmsghdr *nh; in dsf() local 446 struct nlmsghdr *nh; in csf() local 571 struct nlmsghdr *nh; in remove_addr() local 624 struct nlmsghdr *nh; in announce_addr() local 748 struct nlmsghdr *nh; in add_addr() local [all …]
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | tap.c | 33 static struct rtattr *rtattr_add(struct nlmsghdr *nh, unsigned short type, in rtattr_add() 44 static struct rtattr *rtattr_begin(struct nlmsghdr *nh, unsigned short type) in rtattr_begin() 49 static void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) in rtattr_end() 56 static struct rtattr *rtattr_add_str(struct nlmsghdr *nh, unsigned short type, in rtattr_add_str() 65 static struct rtattr *rtattr_add_strsz(struct nlmsghdr *nh, unsigned short type, in rtattr_add_strsz() 74 static struct rtattr *rtattr_add_any(struct nlmsghdr *nh, unsigned short type, in rtattr_add_any() 84 int (*fill_rtattr)(struct nlmsghdr *nh), in dev_create() 85 int (*fill_info_data)(struct nlmsghdr *nh)) in dev_create() 88 struct nlmsghdr nh; in dev_create() member 146 struct nlmsghdr nh; in dev_delete() member [all …]
|
D | ipsec.c | 210 static inline struct rtattr *rtattr_hdr(struct nlmsghdr *nh) in rtattr_hdr() 215 static int rtattr_pack(struct nlmsghdr *nh, size_t req_sz, in rtattr_pack() 235 static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in _rtattr_begin() 246 static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in rtattr_begin() 252 static inline void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) in rtattr_end() 259 static int veth_pack_peerb(struct nlmsghdr *nh, size_t req_sz, in veth_pack_peerb() 312 struct nlmsghdr nh; in veth_add() member 362 struct nlmsghdr nh; in ip4_addr_set() member 402 struct nlmsghdr nh; in link_set_up() member 429 struct nlmsghdr nh; in ip4_route_set() member [all …]
|
D | tun.c | 70 struct nlmsghdr nh; in tun_delete() member
|
/linux-6.1.9/net/ipv6/ |
D | route.c | 445 const struct fib6_nh *nh = sibling->fib6_nh; in fib6_select_path() local 466 static bool __rt6_device_match(struct net *net, const struct fib6_nh *nh, in __rt6_device_match() 492 struct fib6_nh *nh; member 495 static int __rt6_nh_dev_match(struct fib6_nh *nh, void *_arg) in __rt6_nh_dev_match() 505 static struct fib6_nh *rt6_nh_dev_match(struct net *net, struct nexthop *nh, in rt6_nh_dev_match() 531 struct fib6_nh *nh; in rt6_device_match() local 709 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, in rt6_score_route() 731 static bool find_match(struct fib6_nh *nh, u32 fib6_flags, in find_match() 773 struct fib6_nh *nh; member 776 static int rt6_nh_find_match(struct fib6_nh *nh, void *_arg) in rt6_nh_find_match() [all …]
|
D | exthdrs.c | 118 const unsigned char *nh = skb_network_header(skb); in ip6_parse_tlv() local 931 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_ra() local 1002 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_jumbo() local 1045 const unsigned char *nh = skb_network_header(skb); in ipv6_hop_calipso() local
|
D | exthdrs_core.c | 118 const unsigned char *nh = skb_network_header(skb); in ipv6_find_tlv() local
|
/linux-6.1.9/samples/bpf/ |
D | xdp_router_ipv4_user.c | 63 struct nlmsghdr *nh; in recv_msg() local 91 static void read_route(struct nlmsghdr *nh, int nll) in read_route() 254 struct nlmsghdr *nh; in get_route_table() local 316 static void read_arp(struct nlmsghdr *nh, int nll) in read_arp() 391 struct nlmsghdr *nh; in get_arp_table() local 456 struct nlmsghdr *nh; in monitor_routes_thread() local
|
/linux-6.1.9/net/openvswitch/ |
D | actions.c | 313 const struct nshhdr *nh) in push_nsh() 344 static void update_ip_l4_checksum(struct sk_buff *skb, struct iphdr *nh, in update_ip_l4_checksum() 370 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr() 428 static void set_ipv6_dsfield(struct sk_buff *skb, struct ipv6hdr *nh, u8 ipv6_tclass, u8 mask) in set_ipv6_dsfield() 441 static void set_ipv6_fl(struct sk_buff *skb, struct ipv6hdr *nh, u32 fl, u32 mask) in set_ipv6_fl() 457 static void set_ipv6_ttl(struct sk_buff *skb, struct ipv6hdr *nh, u8 new_ttl, u8 mask) in set_ipv6_ttl() 467 static void set_ip_ttl(struct sk_buff *skb, struct iphdr *nh, u8 new_ttl, in set_ip_ttl() 480 struct iphdr *nh; in set_ipv4() local 532 struct ipv6hdr *nh; in set_ipv6() local 601 struct nshhdr *nh; in set_nsh() local [all …]
|
D | flow.c | 270 static void get_ipv6_ext_hdrs(struct sk_buff *skb, struct ipv6hdr *nh, in get_ipv6_ext_hdrs() 388 struct ipv6hdr *nh; in parse_ipv6hdr() local 627 struct nshhdr *nh; in parse_nsh() local 685 struct iphdr *nh; in key_extract_l3l4() local
|
/linux-6.1.9/net/nsh/ |
D | nsh.c | 16 struct nshhdr *nh; in nsh_push() local 49 struct nshhdr *nh; in nsh_pop() local
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 2985 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_alloc() 3001 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_free() 3010 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get() 3020 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_next() 3034 bool mlxsw_sp_nexthop_is_forward(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_is_forward() 3039 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ha() 3047 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index, in mlxsw_sp_nexthop_indexes() 3073 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_rif() 3078 bool mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_group_has_ipip() 3199 const struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop6_group_has_nexthop() local [all …]
|
D | spectrum_dpipe.c | 911 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_size() local 1065 struct mlxsw_sp_nexthop *nh, in mlxsw_sp_dpipe_table_adj_entry_fill() 1089 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_entries_get() local 1183 struct mlxsw_sp_nexthop *nh; in mlxsw_sp_dpipe_table_adj_counters_update() local
|
/linux-6.1.9/net/mpls/ |
D | af_mpls.c | 95 static u8 *__mpls_nh_via(struct mpls_route *rt, struct mpls_nh *nh) in __mpls_nh_via() 101 const struct mpls_nh *nh) in mpls_nh_via() 106 static unsigned int mpls_nh_header_size(const struct mpls_nh *nh) in mpls_nh_header_size() 346 const struct mpls_nh *nh; in mpls_forward() local 648 struct mpls_nh *nh, int oif) in find_outdev() 680 struct mpls_nh *nh, int oif) in mpls_nh_assign_dev() 771 struct mpls_nh *nh = rt->rt_nh; in mpls_nh_build_from_cfg() local 800 struct mpls_nh *nh, int oif, struct nlattr *via, in mpls_nh_build() 2017 const struct mpls_nh *nh = rt->rt_nh; in mpls_dump_route() local 2157 struct mpls_nh *nh = rt->rt_nh; in mpls_rt_uses_dev() local [all …]
|
/linux-6.1.9/arch/arm/vfp/ |
D | vfp.h | 44 static inline void add128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in add128() 57 static inline void sub128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in sub128() 72 u32 nh, nl, mh, ml; in mul64to128() local 110 static inline u64 vfp_estimate_div128to64(u64 nh, u64 nl, u64 m) in vfp_estimate_div128to64()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_ipv6_route.c | 19 struct nexthop *nh; in dump_ipv6_route() local
|
/linux-6.1.9/net/bridge/ |
D | br_netfilter_ipv6.c | 50 const unsigned char *nh = skb_network_header(skb); in br_nf_check_hbh_len() local
|
/linux-6.1.9/drivers/extcon/ |
D | extcon.h | 50 struct raw_notifier_head *nh; member
|
/linux-6.1.9/drivers/platform/surface/aggregator/ |
D | controller.c | 148 static int ssam_nfblk_call_chain(struct ssam_nf_head *nh, struct ssam_event *event) in ssam_nfblk_call_chain() 180 static int ssam_nfblk_insert(struct ssam_nf_head *nh, struct ssam_notifier_block *nb) in ssam_nfblk_insert() 215 static bool ssam_nfblk_find(struct ssam_nf_head *nh, struct ssam_notifier_block *nb) in ssam_nfblk_find() 247 static int ssam_nf_head_init(struct ssam_nf_head *nh) in ssam_nf_head_init() 263 static void ssam_nf_head_destroy(struct ssam_nf_head *nh) in ssam_nf_head_destroy()
|
/linux-6.1.9/drivers/net/vxlan/ |
D | vxlan_private.h | 39 struct nexthop __rcu *nh; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pci_irq.c | 26 struct atomic_notifier_head nh; member 181 static irqreturn_t irq_int_handler(int irq, void *nh) in irq_int_handler()
|