| /kernel/linux/linux-6.6/kernel/ |
| D | notifier.c | 149 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, in atomic_notifier_chain_register() 172 int atomic_notifier_chain_register_unique_prio(struct atomic_notifier_head *nh, in atomic_notifier_chain_register_unique_prio() 194 int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, in atomic_notifier_chain_unregister() 225 int atomic_notifier_call_chain(struct atomic_notifier_head *nh, in atomic_notifier_call_chain() 247 bool atomic_notifier_call_chain_is_empty(struct atomic_notifier_head *nh) in atomic_notifier_call_chain_is_empty() 257 static int __blocking_notifier_chain_register(struct blocking_notifier_head *nh, in __blocking_notifier_chain_register() 287 int blocking_notifier_chain_register(struct blocking_notifier_head *nh, in blocking_notifier_chain_register() 304 int blocking_notifier_chain_register_unique_prio(struct blocking_notifier_head *nh, in blocking_notifier_chain_register_unique_prio() 321 int blocking_notifier_chain_unregister(struct blocking_notifier_head *nh, in blocking_notifier_chain_unregister() 341 int blocking_notifier_call_chain_robust(struct blocking_notifier_head *nh, in blocking_notifier_call_chain_robust() [all …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | notifier.c | 139 int atomic_notifier_chain_register(struct atomic_notifier_head *nh, in atomic_notifier_chain_register() 161 int atomic_notifier_chain_unregister(struct atomic_notifier_head *nh, in atomic_notifier_chain_unregister() 175 int atomic_notifier_call_chain_robust(struct atomic_notifier_head *nh, in atomic_notifier_call_chain_robust() 211 int atomic_notifier_call_chain(struct atomic_notifier_head *nh, in atomic_notifier_call_chain() 240 int blocking_notifier_chain_register(struct blocking_notifier_head *nh, in blocking_notifier_chain_register() 270 int blocking_notifier_chain_unregister(struct blocking_notifier_head *nh, in blocking_notifier_chain_unregister() 290 int blocking_notifier_call_chain_robust(struct blocking_notifier_head *nh, in blocking_notifier_call_chain_robust() 325 int blocking_notifier_call_chain(struct blocking_notifier_head *nh, in blocking_notifier_call_chain() 359 int raw_notifier_chain_register(struct raw_notifier_head *nh, in raw_notifier_chain_register() 376 int raw_notifier_chain_unregister(struct raw_notifier_head *nh, in raw_notifier_chain_unregister() [all …]
|
| /kernel/linux/linux-5.10/net/ipv4/ |
| D | nexthop.c | 41 struct nexthop *nh) in call_nexthop_notifiers() 72 static void nexthop_free_mpath(struct nexthop *nh) in nexthop_free_mpath() 91 static void nexthop_free_single(struct nexthop *nh) in nexthop_free_single() 109 struct nexthop *nh = container_of(head, struct nexthop, rcu); in nexthop_free_rcu() local 122 struct nexthop *nh; in nexthop_alloc() local 158 struct nexthop *nh; in nexthop_find_by_id() local 225 static int nh_fill_node(struct sk_buff *skb, struct nexthop *nh, in nh_fill_node() 306 static size_t nh_nlmsg_size_grp(struct nexthop *nh) in nh_nlmsg_size_grp() 315 static size_t nh_nlmsg_size_single(struct nexthop *nh) in nh_nlmsg_size_single() 346 static size_t nh_nlmsg_size(struct nexthop *nh) in nh_nlmsg_size() [all …]
|
| D | fib_semantics.c | 445 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() 1118 static int fib_check_nh_v4_gw(struct net *net, struct fib_nh *nh, u32 table, in fib_check_nh_v4_gw() 1212 static int fib_check_nh_nongw(struct net *net, struct fib_nh *nh, in fib_check_nh_nongw() 1247 int fib_check_nh(struct net *net, struct fib_nh *nh, u32 table, u8 scope, in fib_check_nh() 1347 struct fib_nh *nh; in fib_info_update_nhc_saddr() local [all …]
|
| /kernel/linux/linux-5.10/include/net/ |
| D | nexthop.h | 67 struct nexthop *nh; member 118 static inline bool nexthop_get(struct nexthop *nh) in nexthop_get() 123 static inline void nexthop_put(struct nexthop *nh) in nexthop_put() 135 static inline bool nexthop_is_fdb(const struct nexthop *nh) in nexthop_is_fdb() 150 static inline bool nexthop_has_v4(const struct nexthop *nh) in nexthop_has_v4() 161 static inline bool nexthop_is_multipath(const struct nexthop *nh) in nexthop_is_multipath() 174 static inline unsigned int nexthop_num_path(const struct nexthop *nh) in nexthop_num_path() 202 int nexthop_mpath_fill_node(struct sk_buff *skb, struct nexthop *nh, in nexthop_mpath_fill_node() 222 static inline bool nexthop_is_blackhole(const struct nexthop *nh) in nexthop_is_blackhole() 243 struct nexthop *nh; in nexthop_path_fib_result() local [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/ |
| D | pm_nl_ctl.c | 39 struct nlmsghdr *nh = (void *)data; in init_genl_req() local 55 static void nl_error(struct nlmsghdr *nh) in nl_error() 86 static int do_nl_req(int fd, struct nlmsghdr *nh, int len, int max) in do_nl_req() 152 struct nlmsghdr *nh; in resolve_mptcp_pm_netlink() local 178 struct nlmsghdr *nh; in add_addr() local 289 struct nlmsghdr *nh; in del_addr() local 398 static void print_addrs(struct nlmsghdr *nh, int pm_family, int total_len) in print_addrs() 431 struct nlmsghdr *nh; in get_addr() local 471 struct nlmsghdr *nh; in dump_addrs() local 492 struct nlmsghdr *nh; in flush_addrs() local [all …]
|
| /kernel/linux/linux-6.6/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 | 445 struct fib_nh *nh; in ip_fib_check_default() local 622 int fib_nh_init(struct net *net, struct fib_nh *nh, in fib_nh_init() 697 struct fib_nh *nh; in fib_get_nhs() local 857 const struct fib_nh *nh, in fib_encap_match() 901 struct fib_nh *nh; in fib_nh_match() local 1051 static int fib_check_nh_v6_gw(struct net *net, struct fib_nh *nh, in fib_check_nh_v6_gw() 1120 static int fib_check_nh_v4_gw(struct net *net, struct fib_nh *nh, u32 table, in fib_check_nh_v4_gw() 1214 static int fib_check_nh_nongw(struct net *net, struct fib_nh *nh, in fib_check_nh_nongw() 1249 int fib_check_nh(struct net *net, struct fib_nh *nh, u32 table, u8 scope, in fib_check_nh() 1327 struct fib_nh *nh; in fib_info_update_nhc_saddr() local [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/ |
| D | pm_nl_ctl.c | 53 struct nlmsghdr *nh = (void *)data; in init_genl_req() local 69 static int nl_error(struct nlmsghdr *nh) in nl_error() 111 struct nlmsghdr *nh; in capture_events() local 208 static int do_nl_req(int fd, struct nlmsghdr *nh, int len, int max) in do_nl_req() 319 struct nlmsghdr *nh; in resolve_mptcp_pm_netlink() local 346 struct nlmsghdr *nh; in dsf() local 457 struct nlmsghdr *nh; in csf() local 582 struct nlmsghdr *nh; in remove_addr() local 635 struct nlmsghdr *nh; in announce_addr() local 759 struct nlmsghdr *nh; in add_addr() local [all …]
|
| /kernel/linux/linux-6.6/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() 236 static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in _rtattr_begin() 247 static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in rtattr_begin() 253 static inline void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) in rtattr_end() 260 static int veth_pack_peerb(struct nlmsghdr *nh, size_t req_sz, in veth_pack_peerb() 313 struct nlmsghdr nh; in veth_add() member 363 struct nlmsghdr nh; in ip4_addr_set() member 403 struct nlmsghdr nh; in link_set_up() member 430 struct nlmsghdr nh; in ip4_route_set() member [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| D | xfrm_info.c | 171 static struct rtattr *rtattr_add(struct nlmsghdr *nh, unsigned short type, in rtattr_add() 182 static struct rtattr *rtattr_add_str(struct nlmsghdr *nh, unsigned short type, in rtattr_add_str() 191 static struct rtattr *rtattr_begin(struct nlmsghdr *nh, unsigned short type) in rtattr_begin() 196 static void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) in rtattr_end() 206 struct nlmsghdr nh; in setup_xfrmi_external_dev() member 213 struct nlmsghdr *nh; in setup_xfrmi_external_dev() local
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/ |
| D | ipsec.c | 172 static inline struct rtattr *rtattr_hdr(struct nlmsghdr *nh) in rtattr_hdr() 177 static int rtattr_pack(struct nlmsghdr *nh, size_t req_sz, in rtattr_pack() 197 static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in _rtattr_begin() 208 static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in rtattr_begin() 214 static inline void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) in rtattr_end() 221 static int veth_pack_peerb(struct nlmsghdr *nh, size_t req_sz, in veth_pack_peerb() 274 struct nlmsghdr nh; in veth_add() member 324 struct nlmsghdr nh; in ip4_addr_set() member 364 struct nlmsghdr nh; in link_set_up() member 391 struct nlmsghdr nh; in ip4_route_set() member [all …]
|
| /kernel/linux/linux-5.10/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 710 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, in rt6_score_route() 732 static bool find_match(struct fib6_nh *nh, u32 fib6_flags, in find_match() 774 struct fib6_nh *nh; member 777 static int rt6_nh_find_match(struct fib6_nh *nh, void *_arg) in rt6_nh_find_match() [all …]
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-6.6/net/ipv6/ |
| D | route.c | 484 const struct fib6_nh *nh = sibling->fib6_nh; in fib6_select_path() local 505 static bool __rt6_device_match(struct net *net, const struct fib6_nh *nh, in __rt6_device_match() 531 struct fib6_nh *nh; member 534 static int __rt6_nh_dev_match(struct fib6_nh *nh, void *_arg) in __rt6_nh_dev_match() 544 static struct fib6_nh *rt6_nh_dev_match(struct net *net, struct nexthop *nh, in rt6_nh_dev_match() 570 struct fib6_nh *nh; in rt6_device_match() local 750 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, in rt6_score_route() 772 static bool find_match(struct fib6_nh *nh, u32 fib6_flags, in find_match() 814 struct fib6_nh *nh; member 817 static int rt6_nh_find_match(struct fib6_nh *nh, void *_arg) in rt6_nh_find_match() [all …]
|
| /kernel/linux/linux-5.10/net/nsh/ |
| D | nsh.c | 16 struct nshhdr *nh; in nsh_push() local 49 struct nshhdr *nh; in nsh_pop() local
|
| /kernel/linux/linux-6.6/net/openvswitch/ |
| D | actions.c | 315 const struct nshhdr *nh) in push_nsh() 346 static void update_ip_l4_checksum(struct sk_buff *skb, struct iphdr *nh, in update_ip_l4_checksum() 372 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr() 430 static void set_ipv6_dsfield(struct sk_buff *skb, struct ipv6hdr *nh, u8 ipv6_tclass, u8 mask) in set_ipv6_dsfield() 443 static void set_ipv6_fl(struct sk_buff *skb, struct ipv6hdr *nh, u32 fl, u32 mask) in set_ipv6_fl() 459 static void set_ipv6_ttl(struct sk_buff *skb, struct ipv6hdr *nh, u8 new_ttl, u8 mask) in set_ipv6_ttl() 469 static void set_ip_ttl(struct sk_buff *skb, struct iphdr *nh, u8 new_ttl, in set_ip_ttl() 482 struct iphdr *nh; in set_ipv4() local 534 struct ipv6hdr *nh; in set_ipv6() local 603 struct nshhdr *nh; in set_nsh() local [all …]
|
| /kernel/linux/linux-5.10/net/openvswitch/ |
| D | actions.c | 312 const struct nshhdr *nh) in push_nsh() 343 static void update_ip_l4_checksum(struct sk_buff *skb, struct iphdr *nh, in update_ip_l4_checksum() 369 static void set_ip_addr(struct sk_buff *skb, struct iphdr *nh, in set_ip_addr() 427 static void set_ipv6_dsfield(struct sk_buff *skb, struct ipv6hdr *nh, u8 ipv6_tclass, u8 mask) in set_ipv6_dsfield() 440 static void set_ipv6_fl(struct sk_buff *skb, struct ipv6hdr *nh, u32 fl, u32 mask) in set_ipv6_fl() 456 static void set_ipv6_ttl(struct sk_buff *skb, struct ipv6hdr *nh, u8 new_ttl, u8 mask) in set_ipv6_ttl() 466 static void set_ip_ttl(struct sk_buff *skb, struct iphdr *nh, u8 new_ttl, in set_ip_ttl() 479 struct iphdr *nh; in set_ipv4() local 531 struct ipv6hdr *nh; in set_ipv6() local 600 struct nshhdr *nh; in set_nsh() local [all …]
|
| /kernel/linux/linux-5.10/samples/bpf/ |
| D | xdp_router_ipv4_user.c | 94 struct nlmsghdr *nh; in recv_msg() local 122 static void read_route(struct nlmsghdr *nh, int nll) in read_route() 315 struct nlmsghdr *nh; in get_route_table() local 377 static void read_arp(struct nlmsghdr *nh, int nll) in read_arp() 455 struct nlmsghdr *nh; in get_arp_table() local 523 struct nlmsghdr *nh; in monitor_route() local
|
| /kernel/linux/linux-6.6/net/nsh/ |
| D | nsh.c | 17 struct nshhdr *nh; in nsh_push() local 50 struct nshhdr *nh; in nsh_pop() local
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_router.c | 3091 mlxsw_sp_nexthop_dev(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_dev() 3158 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_alloc() 3174 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_free() 3183 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get() 3193 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_next() 3207 bool mlxsw_sp_nexthop_is_forward(const struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_is_forward() 3212 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ha() 3220 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index, in mlxsw_sp_nexthop_indexes() 3246 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_rif() 3253 bool mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_group_has_ipip() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_router.c | 2800 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_alloc() 2816 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_counter_free() 2825 struct mlxsw_sp_nexthop *nh, u64 *p_counter) in mlxsw_sp_nexthop_counter_get() 2835 struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_next() 2849 bool mlxsw_sp_nexthop_offload(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_offload() 2854 unsigned char *mlxsw_sp_nexthop_ha(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_ha() 2861 int mlxsw_sp_nexthop_indexes(struct mlxsw_sp_nexthop *nh, u32 *p_adj_index, in mlxsw_sp_nexthop_indexes() 2887 struct mlxsw_sp_rif *mlxsw_sp_nexthop_rif(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_rif() 2892 bool mlxsw_sp_nexthop_group_has_ipip(struct mlxsw_sp_nexthop *nh) in mlxsw_sp_nexthop_group_has_ipip() 2928 const struct mlxsw_sp_nexthop *nh; in mlxsw_sp_nexthop6_group_has_nexthop() local [all …]
|
| /kernel/linux/linux-6.6/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()
|