| /linux/net/phonet/ |
| H A D | pn_netlink.c | 176 struct rtmsg *rtm; in fill_route() local 179 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), 0); in fill_route() 183 rtm = nlmsg_data(nlh); in fill_route() 184 rtm->rtm_family = AF_PHONET; in fill_route() 185 rtm->rtm_dst_len = 6; in fill_route() 186 rtm->rtm_src_len = 0; in fill_route() 187 rtm->rtm_tos = 0; in fill_route() 188 rtm->rtm_table = RT_TABLE_MAIN; in fill_route() 189 rtm->rtm_protocol = RTPROT_STATIC; in fill_route() 190 rtm->rtm_scope = RT_SCOPE_UNIVERSE; in fill_route() [all …]
|
| /linux/net/mpls/ |
| H A D | af_mpls.c | 1855 struct rtmsg *rtm; in rtm_to_route_config() local 1860 err = nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in rtm_to_route_config() 1866 rtm = nlmsg_data(nlh); in rtm_to_route_config() 1868 if (rtm->rtm_family != AF_MPLS) { in rtm_to_route_config() 1872 if (rtm->rtm_dst_len != 20) { in rtm_to_route_config() 1876 if (rtm->rtm_src_len != 0) { in rtm_to_route_config() 1880 if (rtm->rtm_tos != 0) { in rtm_to_route_config() 1884 if (rtm->rtm_table != RT_TABLE_MAIN) { in rtm_to_route_config() 1895 if (rtm->rtm_scope != RT_SCOPE_UNIVERSE) { in rtm_to_route_config() 1900 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config() [all …]
|
| /linux/net/ipv4/ |
| H A D | fib_frontend.c | 761 struct rtmsg *rtm; in rtm_to_fib_config() local 763 err = nlmsg_validate_deprecated(nlh, sizeof(*rtm), RTA_MAX, in rtm_to_fib_config() 770 rtm = nlmsg_data(nlh); in rtm_to_fib_config() 772 if (!inet_validate_dscp(rtm->rtm_tos)) { in rtm_to_fib_config() 778 cfg->fc_dscp = inet_dsfield_to_dscp(rtm->rtm_tos); in rtm_to_fib_config() 780 cfg->fc_dst_len = rtm->rtm_dst_len; in rtm_to_fib_config() 781 cfg->fc_table = rtm->rtm_table; in rtm_to_fib_config() 782 cfg->fc_protocol = rtm->rtm_protocol; in rtm_to_fib_config() 783 cfg->fc_scope = rtm->rtm_scope; in rtm_to_fib_config() 784 cfg->fc_type = rtm->rtm_type; in rtm_to_fib_config() [all …]
|
| H A D | ipmr.c | 2451 struct rtmsg *rtm, u32 portid) in ipmr_get_route() argument 2504 err = mr_fill_mroute(mrt, skb, &cache->_c, rtm); in ipmr_get_route() 2514 struct rtmsg *rtm; in ipmr_fill_mroute() local 2517 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), flags); in ipmr_fill_mroute() 2521 rtm = nlmsg_data(nlh); in ipmr_fill_mroute() 2522 rtm->rtm_family = RTNL_FAMILY_IPMR; in ipmr_fill_mroute() 2523 rtm->rtm_dst_len = 32; in ipmr_fill_mroute() 2524 rtm->rtm_src_len = 32; in ipmr_fill_mroute() 2525 rtm->rtm_tos = 0; in ipmr_fill_mroute() 2526 rtm->rtm_table = mrt->id; in ipmr_fill_mroute() [all …]
|
| H A D | fib_semantics.c | 1758 struct rtmsg *rtm; in fib_dump_info() 1760 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), flags); in fib_dump_info() 1764 rtm = nlmsg_data(nlh); in fib_dump_info() 1765 rtm->rtm_family = AF_INET; in fib_dump_info() 1766 rtm->rtm_dst_len = fri->dst_len; in fib_dump_info() 1767 rtm->rtm_src_len = 0; in fib_dump_info() 1768 rtm->rtm_tos = inet_dscp_to_dsfield(fri->dscp); in fib_dump_info() 1770 rtm->rtm_table = tb_id; in fib_dump_info() 1772 rtm->rtm_table = RT_TABLE_COMPAT; in fib_dump_info() 1775 rtm in fib_dump_info() 1755 struct rtmsg *rtm; fib_dump_info() local [all...] |
| H A D | ipmr_base.c | 217 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute() argument 228 rtm->rtm_flags |= RTNH_F_UNRESOLVED; in mr_fill_mroute() 241 rtm->rtm_flags |= RTNH_F_OFFLOAD; in mr_fill_mroute() 282 rtm->rtm_type = RTN_MULTICAST; in mr_fill_mroute()
|
| H A D | route.c | 3260 struct rtmsg *rtm; in inet_rtm_valid_getroute_req() 3263 rtm = nlmsg_payload(nlh, sizeof(*rtm)); in inet_rtm_valid_getroute_req() 3264 if (!rtm) { in inet_rtm_valid_getroute_req() 3271 return nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in inet_rtm_valid_getroute_req() 3274 if ((rtm->rtm_src_len && rtm->rtm_src_len != 32) || in inet_rtm_valid_getroute_req() 3275 (rtm->rtm_dst_len && rtm->rtm_dst_len != 32) || in inet_rtm_valid_getroute_req() 3276 rtm in inet_rtm_valid_getroute_req() 3255 struct rtmsg *rtm; inet_rtm_valid_getroute_req() local 3330 struct rtmsg *rtm; inet_rtm_getroute() local [all...] |
| /linux/sound/soc/intel/catpt/ |
| H A D | pcm.c | 77 struct snd_soc_pcm_runtime *rtm = snd_soc_substream_to_rtd(substream); catpt_get_stream_template() local 152 struct snd_pcm_runtime *rtm = substream->runtime; catpt_arrange_page_table() local 371 struct snd_pcm_runtime *rtm = substream->runtime; catpt_dai_hw_params() local 578 catpt_component_pcm_construct(struct snd_soc_component * component,struct snd_soc_pcm_runtime * rtm) catpt_component_pcm_construct() argument 593 struct snd_soc_pcm_runtime *rtm = snd_soc_substream_to_rtd(substream); catpt_component_open() local 604 struct snd_soc_pcm_runtime *rtm = snd_soc_substream_to_rtd(substream); catpt_component_pointer() local 628 catpt_dai_pcm_new(struct snd_soc_pcm_runtime * rtm,struct snd_soc_dai * dai) catpt_dai_pcm_new() argument
|
| /linux/net/ipv6/ |
| H A D | ip6mr.c | 2462 int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm, in ip6mr_get_route() argument 2529 err = mr_fill_mroute(mrt, skb, &cache->_c, rtm); in ip6mr_get_route() 2539 struct rtmsg *rtm; in ip6mr_fill_mroute() local 2542 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), flags); in ip6mr_fill_mroute() 2546 rtm = nlmsg_data(nlh); in ip6mr_fill_mroute() 2547 rtm->rtm_family = RTNL_FAMILY_IP6MR; in ip6mr_fill_mroute() 2548 rtm->rtm_dst_len = 128; in ip6mr_fill_mroute() 2549 rtm->rtm_src_len = 128; in ip6mr_fill_mroute() 2550 rtm->rtm_tos = 0; in ip6mr_fill_mroute() 2551 rtm->rtm_table = mrt->id; in ip6mr_fill_mroute() [all …]
|
| H A D | route.c | 5208 struct rtmsg *rtm; in rtm_to_fib6_config() local 5212 err = nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in rtm_to_fib6_config() 5218 rtm = nlmsg_data(nlh); in rtm_to_fib6_config() 5220 if (rtm->rtm_tos) { in rtm_to_fib6_config() 5233 .fc_table = rtm->rtm_table, in rtm_to_fib6_config() 5234 .fc_dst_len = rtm->rtm_dst_len, in rtm_to_fib6_config() 5235 .fc_src_len = rtm->rtm_src_len, in rtm_to_fib6_config() 5237 .fc_protocol = rtm->rtm_protocol, in rtm_to_fib6_config() 5238 .fc_type = rtm->rtm_type, in rtm_to_fib6_config() 5245 if (rtm in rtm_to_fib6_config() 5807 struct rtmsg *rtm; rt6_fill_node() local 6171 struct rtmsg *rtm; inet6_rtm_valid_getroute_req() local 6251 struct rtmsg *rtm; inet6_rtm_getroute() local [all...] |
| H A D | ip6_fib.c | 652 struct rtmsg *rtm = nlmsg_data(nlh); in inet6_dump_fib() local 654 if (rtm->rtm_flags & RTM_F_PREFIX) in inet6_dump_fib()
|
| /linux/net/mctp/ |
| H A D | route.c | 1426 struct nlattr **tb, struct rtmsg **rtm, in mctp_route_nlparse_common() argument 1488 *rtm = nlmsg_data(nlh); in mctp_route_nlparse_common() 1489 if ((*rtm)->rtm_family != AF_MCTP) { in mctp_route_nlparse_common() 1494 if ((*rtm)->rtm_type != RTN_UNICAST) { in mctp_route_nlparse_common() 1514 struct rtmsg *rtm; in mctp_route_nlparse_lookup() local 1517 rc = mctp_route_nlparse_common(net, nlh, extack, tb, &rtm, in mctp_route_nlparse_lookup() 1531 *type = rtm->rtm_type; in mctp_route_nlparse_lookup() 1532 *daddr_extent = rtm->rtm_dst_len; in mctp_route_nlparse_lookup() 1551 struct rtmsg *rtm; in mctp_route_nlparse_populate() local 1555 rc = mctp_route_nlparse_common(net, nlh, extack, tb, &rtm, in mctp_route_nlparse_populate() [all …]
|
| /linux/include/linux/ |
| H A D | mroute.h | 94 struct rtmsg *rtm, u32 portid);
|
| H A D | mroute6.h | 105 struct rtmsg *rtm, u32 portid);
|
| /linux/sound/soc/intel/avs/boards/ |
| H A D | hdaudio.c | 143 static int avs_probing_link_init(struct snd_soc_pcm_runtime *rtm) in avs_probing_link_init() argument 148 struct snd_soc_card *card = rtm->card; in avs_probing_link_init()
|
| /linux/lib/zstd/common/ |
| H A D | cpu.h | 170 B(rtm, 11)
|
| /linux/tools/arch/x86/kcpuid/ |
| H A D | cpuid.csv | 201 0x7, 0, ebx, 11, rtm , Intel restricted transactional memory
|