| /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 | 1851 struct rtmsg *rtm; in rtm_to_route_config() local 1856 err = nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in rtm_to_route_config() 1862 rtm = nlmsg_data(nlh); in rtm_to_route_config() 1864 if (rtm->rtm_family != AF_MPLS) { in rtm_to_route_config() 1868 if (rtm->rtm_dst_len != 20) { in rtm_to_route_config() 1872 if (rtm->rtm_src_len != 0) { in rtm_to_route_config() 1876 if (rtm->rtm_tos != 0) { in rtm_to_route_config() 1880 if (rtm->rtm_table != RT_TABLE_MAIN) { in rtm_to_route_config() 1891 if (rtm->rtm_scope != RT_SCOPE_UNIVERSE) { in rtm_to_route_config() 1896 if (rtm->rtm_type != RTN_UNICAST) { in rtm_to_route_config() [all …]
|
| /linux/sound/soc/intel/catpt/ |
| H A D | pcm.c | 78 struct snd_soc_pcm_runtime *rtm = snd_soc_substream_to_rtd(substream); in catpt_get_stream_template() 79 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtm, 0); in catpt_get_stream_template() 166 struct snd_pcm_runtime *rtm = substream->runtime; in catpt_arrange_page_table() 170 pages = snd_sgbuf_aligned_pages(rtm->dma_bytes); in catpt_arrange_page_table() 393 struct snd_pcm_runtime *rtm = substream->runtime; in catpt_dai_hw_params() 419 rinfo.num_pages = DIV_ROUND_UP(rtm->dma_bytes, PAGE_SIZE); in catpt_dai_hw_params() 420 rinfo.size = rtm->dma_bytes; in catpt_dai_hw_params() 607 struct snd_soc_pcm_runtime *rtm) in catpt_component_pointer() 611 snd_pcm_set_managed_buffer_all(rtm->pcm, SNDRV_DMA_TYPE_DEV_SG, in catpt_component_pointer() 622 struct snd_soc_pcm_runtime *rtm 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 [all...] |
| /linux/kernel/locking/ |
| H A D | rtmutex.c | 34 # define ww_container_of(rtm) NULL argument 64 # define ww_container_of(rtm) container_of(rtm, struct ww_mutex, base) argument 1255 struct rt_mutex *rtm; in task_blocks_on_rt_mutex() local 1258 rtm = container_of(lock, struct rt_mutex, rtmutex); in task_blocks_on_rt_mutex() 1259 __assume_ctx_lock(&rtm->rtmutex.wait_lock); in task_blocks_on_rt_mutex() 1260 res = __ww_mutex_add_waiter(waiter, rtm, ww_ctx, wake_q); in task_blocks_on_rt_mutex() 1625 struct rt_mutex *rtm = container_of(lock, struct rt_mutex, rtmutex); in rt_mutex_slowlock_block() local 1629 __assume_ctx_lock(&rtm->rtmutex.wait_lock); in rt_mutex_slowlock_block() 1649 ret = __ww_mutex_check_kill(rtm, waiter, ww_ctx); in rt_mutex_slowlock_block() 1715 struct rt_mutex *rtm = container_of(lock, struct rt_mutex, rtmutex); in __rt_mutex_slowlock() local [all …]
|
| /linux/net/ipv4/ |
| H A D | ipmr.c | 2445 struct rtmsg *rtm, u32 portid) in ipmr_get_route() argument 2498 err = mr_fill_mroute(mrt, skb, &cache->_c, rtm); in ipmr_get_route() 2508 struct rtmsg *rtm; in ipmr_fill_mroute() local 2511 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), flags); in ipmr_fill_mroute() 2515 rtm = nlmsg_data(nlh); in ipmr_fill_mroute() 2516 rtm->rtm_family = RTNL_FAMILY_IPMR; in ipmr_fill_mroute() 2517 rtm->rtm_dst_len = 32; in ipmr_fill_mroute() 2518 rtm->rtm_src_len = 32; in ipmr_fill_mroute() 2519 rtm->rtm_tos = 0; in ipmr_fill_mroute() 2520 rtm->rtm_table = mrt->id; in ipmr_fill_mroute() [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 | 3226 struct rtmsg *rtm; in inet_rtm_valid_getroute_req() local 3229 rtm = nlmsg_payload(nlh, sizeof(*rtm)); in inet_rtm_valid_getroute_req() 3230 if (!rtm) { in inet_rtm_valid_getroute_req() 3237 return nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in inet_rtm_valid_getroute_req() 3240 if ((rtm->rtm_src_len && rtm->rtm_src_len != 32) || in inet_rtm_valid_getroute_req() 3241 (rtm->rtm_dst_len && rtm->rtm_dst_len != 32) || in inet_rtm_valid_getroute_req() 3242 rtm->rtm_table || rtm->rtm_protocol || in inet_rtm_valid_getroute_req() 3243 rtm->rtm_scope || rtm->rtm_type) { in inet_rtm_valid_getroute_req() 3248 if (rtm->rtm_flags & ~(RTM_F_NOTIFY | in inet_rtm_valid_getroute_req() 3255 err = nlmsg_parse_deprecated_strict(nlh, sizeof(*rtm), tb, RTA_MAX, in inet_rtm_valid_getroute_req() [all …]
|
| /linux/net/ipv6/ |
| H A D | route.c | 5179 struct rtmsg *rtm; in rtm_to_fib6_config() local 5183 err = nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, in rtm_to_fib6_config() 5189 rtm = nlmsg_data(nlh); in rtm_to_fib6_config() 5191 if (rtm->rtm_tos) { in rtm_to_fib6_config() 5204 .fc_table = rtm->rtm_table, in rtm_to_fib6_config() 5205 .fc_dst_len = rtm->rtm_dst_len, in rtm_to_fib6_config() 5206 .fc_src_len = rtm->rtm_src_len, in rtm_to_fib6_config() 5208 .fc_protocol = rtm->rtm_protocol, in rtm_to_fib6_config() 5209 .fc_type = rtm->rtm_type, in rtm_to_fib6_config() 5216 if (rtm->rtm_type == RTN_UNREACHABLE || in rtm_to_fib6_config() [all …]
|
| H A D | ip6_fib.c | 653 struct rtmsg *rtm = nlmsg_data(nlh); in inet6_dump_fib() local 655 if (rtm->rtm_flags & RTM_F_PREFIX) in inet6_dump_fib()
|
| /linux/net/mctp/ |
| H A D | route.c | 1411 struct nlattr **tb, struct rtmsg **rtm, in mctp_route_nlparse_common() argument 1473 *rtm = nlmsg_data(nlh); in mctp_route_nlparse_common() 1474 if ((*rtm)->rtm_family != AF_MCTP) { in mctp_route_nlparse_common() 1479 if ((*rtm)->rtm_type != RTN_UNICAST) { in mctp_route_nlparse_common() 1499 struct rtmsg *rtm; in mctp_route_nlparse_lookup() local 1502 rc = mctp_route_nlparse_common(net, nlh, extack, tb, &rtm, in mctp_route_nlparse_lookup() 1516 *type = rtm->rtm_type; in mctp_route_nlparse_lookup() 1517 *daddr_extent = rtm->rtm_dst_len; in mctp_route_nlparse_lookup() 1536 struct rtmsg *rtm; in mctp_route_nlparse_populate() local 1540 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);
|
| H A D | mroute_base.h | 296 struct mr_mfc *c, struct rtmsg *rtm); 348 struct mr_mfc *c, struct rtmsg *rtm) in mr_fill_mroute() argument
|
| /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
|