Searched refs:rt (Results 176 - 200 of 329) sorted by relevance

1234567891011>>

/linux-master/drivers/net/
H A Damt.c619 struct rtable *rt; local
632 rt = ip_route_output_ports(amt->net, &fl4, sock->sk,
637 if (IS_ERR(rt)) {
647 ip_rt_put(rt);
653 skb_dst_set(skb, &rt->dst);
682 iph->ttl = ip4_dst_hoplimit(&rt->dst);
708 struct rtable *rt; local
721 rt = ip_route_output_ports(amt->net, &fl4, sock->sk,
726 if (IS_ERR(rt)) {
736 ip_rt_put(rt);
1004 struct rtable *rt; local
1064 struct rtable *rt; local
1116 struct rtable *rt; local
2556 struct rtable *rt; local
[all...]
H A Dvrf.c534 struct rtable *rt; local
551 rt = ip_route_output_flow(net, &fl4, NULL);
552 if (IS_ERR(rt))
560 if (rt->dst.dev == vrf_dev)
561 return vrf_local_xmit(skb, vrf_dev, &rt->dst);
563 skb_dst_set(skb, &rt->dst);
863 struct rtable *rt = dst_rtable(dst); local
882 neigh = ip_neigh_for_gw(rt, skb, &is_v6gw);
1488 struct rt6_info *rt; local
1502 rt
[all...]
/linux-master/drivers/slimbus/
H A Dslimbus.h420 int (*enable_stream)(struct slim_stream_runtime *rt);
421 int (*disable_stream)(struct slim_stream_runtime *rt);
H A Dqcom-ngd-ctrl.c946 static int qcom_slim_calc_coef(struct slim_stream_runtime *rt, int *exp) argument
948 struct slim_controller *ctrl = rt->dev->ctrl;
951 if (rt->ratem * ctrl->a_framer->superfreq < rt->rate)
952 rt->ratem++;
954 coef = rt->ratem;
994 static int qcom_slim_ngd_enable_stream(struct slim_stream_runtime *rt) argument
996 struct slim_device *sdev = rt->dev;
1013 for (i = 0; i < rt->num_ports; i++) {
1014 struct slim_port *port = &rt
[all...]
/linux-master/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.c144 struct rtable *rt; local
172 rt = ip_route_output_key(net, &flow4);
173 if (IS_ERR_OR_NULL(rt)) {
174 rc = PTR_ERR_OR_ZERO(rt);
180 neigh->egdev = rt->dst.dev;
183 neigh->ttl = ip4_dst_hoplimit(&rt->dst);
184 n = dst_neigh_lookup(&rt->dst, &flow4.daddr);
185 ip_rt_put(rt);
/linux-master/sound/soc/qcom/
H A Dlpass-cdc-dma.c39 struct snd_pcm_runtime *rt = substream->runtime; local
40 struct lpass_pcm_data *pcm_data = rt->private_data;
/linux-master/include/net/
H A Dip.h222 struct rtable **rt,
426 const struct rtable *rt = dst_rtable(dst); local
428 return rt->rt_mtu_locked || dst_metric_locked(dst, RTAX_MTU);
464 const struct rtable *rt = dst_rtable(dst); local
471 mtu = rt->rt_pmtu;
472 if (mtu && time_before(jiffies, rt->dst.expires))
484 if (rt->rt_uses_gateway && mtu > 576)
745 __be32 daddr, struct rtable *rt);
/linux-master/net/ipv6/ila/
H A Dila_lwt.c41 struct rt6_info *rt = dst_rt6_info(orig_dst); local
54 if (rt->rt6i_flags & (RTF_GATEWAY | RTF_CACHE)) {
/linux-master/net/tipc/
H A Dudp_media.c177 struct rtable *rt = dst_rtable(ndst); local
179 if (!rt) {
186 rt = ip_route_output_key(net, &fl);
187 if (IS_ERR(rt)) {
188 err = PTR_ERR(rt);
191 dst_cache_set_ip4(cache, &rt->dst, fl.saddr);
194 ttl = ip4_dst_hoplimit(&rt->dst);
195 udp_tunnel_xmit_skb(rt, ub->ubsock->sk, skb, src->ipv4.s_addr,
/linux-master/drivers/usb/host/
H A Dfhci-tds.c245 u8 rt; local
253 rt = (BUS_MODE_BO_BE | BUS_MODE_GBL);
256 rt |= BUS_MODE_DTB;
258 out_8(&ep->ep_pram_ptr->rx_func_code, rt);
259 out_8(&ep->ep_pram_ptr->tx_func_code, rt);
/linux-master/net/core/
H A Dlwt_bpf.c202 struct rtable *rt; local
213 rt = ip_route_output_key(net, &fl4);
214 if (IS_ERR(rt)) {
215 err = PTR_ERR(rt);
218 dst = &rt->dst;
/linux-master/drivers/media/platform/rockchip/rga/
H A Drga-hw.c44 struct rga_addr_offset *lt, *lb, *rt, *rb; local
50 rt = &offsets.right_top;
66 rt->y_off = lt->y_off + (w - 1) * pixel_width;
67 rt->u_off = lt->u_off + w / x_div - 1;
68 rt->v_off = lt->v_off + w / x_div - 1;
/linux-master/net/ipv6/
H A Danycast.c93 struct rt6_info *rt; local
95 rt = rt6_lookup(net, addr, NULL, 0, NULL, 0);
96 if (rt) {
97 dev = rt->dst.dev;
98 ip6_rt_put(rt);
H A Daf_inet6.c616 struct in6_rtmsg rt; local
618 if (copy_from_user(&rt.rtmsg_dst, &ur->rtmsg_dst,
620 get_user(rt.rtmsg_type, &ur->rtmsg_type) ||
621 get_user(rt.rtmsg_dst_len, &ur->rtmsg_dst_len) ||
622 get_user(rt.rtmsg_src_len, &ur->rtmsg_src_len) ||
623 get_user(rt.rtmsg_metric, &ur->rtmsg_metric) ||
624 get_user(rt.rtmsg_info, &ur->rtmsg_info) ||
625 get_user(rt.rtmsg_flags, &ur->rtmsg_flags) ||
626 get_user(rt.rtmsg_ifindex, &ur->rtmsg_ifindex))
630 return ipv6_route_ioctl(sock_net(sk), cmd, &rt);
[all...]
H A Draw.c601 struct rt6_info *rt = dst_rt6_info(*dstp); local
602 int hlen = LL_RESERVED_SPACE(rt->dst.dev);
603 int tlen = rt->dst.dev->needed_tailroom;
605 if (length > rt->dst.dev->mtu) {
606 ipv6_local_error(sk, EMSGSIZE, fl6, rt->dst.dev->mtu);
645 skb_dst_set(skb, &rt->dst);
655 /* Acquire rcu_read_lock() in case we need to use rt->rt6i_idev
660 IP6_INC_STATS(net, rt->rt6i_idev, IPSTATS_MIB_OUTREQUESTS);
662 NULL, rt->dst.dev, dst_output);
666 IP6_INC_STATS(net, rt
[all...]
H A Daddrconf.c113 static inline s32 rfc3315_s14_backoff_update(s32 rt, s32 mrt) argument
116 u64 tmp = get_random_u32_inclusive(1900000, 2100000) * (u64)rt;
1149 ifa->rt = f6i;
2496 struct fib6_info *rt = NULL; local
2511 if (rt->nh)
2514 if (rt->fib6_nh->fib_nh_dev->ifindex != dev->ifindex)
2516 if (no_gw && rt->fib6_nh->fib_nh_gw_family)
2518 if ((rt->fib6_flags & flags) != flags)
2520 if ((rt->fib6_flags & noflags) != 0)
2522 if (!fib6_info_hold_safe(rt))
2807 struct fib6_info *rt; local
3945 struct fib6_info *rt = NULL; local
6285 struct fib6_info *rt; local
6631 addrconf_set_nopolicy(struct rt6_info *rt, int action) argument
[all...]
/linux-master/drivers/infiniband/core/
H A Dnldev.c781 struct rdma_restrack_root *rt; local
790 rt = &srq->device->res[RDMA_RESTRACK_QP];
791 xa_lock(&rt->xa);
792 xa_for_each(&rt->xa, id, res) {
818 xa_unlock(&rt->xa);
828 xa_unlock(&rt->xa);
925 struct rdma_restrack_root *rt; local
935 rt = &counter->device->res[RDMA_RESTRACK_QP];
936 xa_lock(&rt->xa);
937 xa_for_each(&rt
1543 struct rdma_restrack_root *rt; local
[all...]
/linux-master/arch/mips/net/
H A Dbpf_jit_comp32.c947 static void emit_movz_r(struct jit_context *ctx, u8 rd, u8 rs, u8 rt) argument
950 emit(ctx, movz, rd, rs, rt); /* rd = rt ? rd : rs */
953 emit(ctx, seleqz, rs, rs, rt); /* rs = 0 if rt == 0 */
954 emit(ctx, selnez, rd, rd, rt); /* rd = 0 if rt != 0 */
958 emit(ctx, bnez, rt, 8); /* PC += 8 if rd != 0 */
970 static void emit_movn_r(struct jit_context *ctx, u8 rd, u8 rs, u8 rt) argument
973 emit(ctx, movn, rd, rs, rt); /* r
1012 emit_sltu_r64(struct jit_context *ctx, u8 rd, const u8 rs[], const u8 rt[]) argument
1067 emit_slt_r64(struct jit_context *ctx, u8 rd, const u8 rs[], const u8 rt[]) argument
[all...]
/linux-master/net/smc/
H A Dsmc_llc.c98 struct smc_llc_msg_add_link_cont_rt rt[]; member in struct:smc_llc_msg_add_link_v2_ext
119 struct smc_llc_msg_add_link_cont_rt rt[SMC_LLC_RKEYS_PER_CONT_MSG]; member in struct:smc_llc_msg_add_link_cont
629 ext->rt[i].rmb_key = htonl(rmb->mr[prim_lnk_idx]->rkey);
630 ext->rt[i].rmb_key_new = htonl(rmb->mr[lnk_idx]->rkey);
631 ext->rt[i].rmb_vaddr_new = rmb->is_vm ?
636 len += i * sizeof(ext->rt[0]);
868 addc_llc->rt[i].rmb_key = htonl(rmb->mr[prim_lnk_idx]->rkey);
869 addc_llc->rt[i].rmb_key_new = htonl(rmb->mr[lnk_idx]->rkey);
870 addc_llc->rt[i].rmb_vaddr_new = rmb->is_vm ?
914 addc_llc->rt[
[all...]
/linux-master/drivers/s390/net/
H A Dqeth_core.h957 struct rt6_info *rt; local
959 rt = dst_rt6_info(dst);
962 dst = dst_check(dst, rt6_get_cookie(rt));
980 struct rt6_info *rt = dst_rt6_info(dst); local
982 if (rt && !ipv6_addr_any(&rt->rt6i_gateway))
983 return &rt->rt6i_gateway;
/linux-master/arch/powerpc/kvm/
H A Dbook3s_emulate.c238 int rt = get_rt(inst); local
295 kvmppc_set_gpr(vcpu, rt, kvmppc_get_msr(vcpu));
320 kvmppc_set_gpr(vcpu, rt, sr);
332 kvmppc_set_gpr(vcpu, rt, sr);
415 kvmppc_set_gpr(vcpu, rt, t);
430 kvmppc_set_gpr(vcpu, rt, t);
441 kvmppc_set_gpr(vcpu, rt, t);
/linux-master/drivers/media/radio/si4713/
H A Dsi4713.c848 static int si4713_set_rds_radio_text(struct si4713_device *sdev, const char *rt) argument
863 if (!strlen(rt))
872 if (!rt[t_index + i] ||
873 rt[t_index + i] == RDS_CARRIAGE_RETURN) {
874 rt = cr;
883 compose_u16(rt[t_index], rt[t_index + 1]),
884 compose_u16(rt[t_index + 2], rt[t_index + 3]),
/linux-master/net/ipv4/
H A Dping.c704 struct rtable *rt = NULL; local
790 rt = ip_route_output_flow(net, &fl4, sk);
791 if (IS_ERR(rt)) {
792 err = PTR_ERR(rt);
793 rt = NULL;
800 if ((rt->rt_flags & RTCF_BROADCAST) &&
823 sizeof(struct icmphdr), &ipc, &rt,
832 ip_rt_put(rt);
844 dst_confirm_neigh(&rt->dst, &fl4.daddr);
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dtunnel_conf.c673 struct rtable *rt; local
680 rt = ip_route_output_key(dev_net(n->dev), &flow4);
681 err = PTR_ERR_OR_ZERO(rt);
685 ip_rt_put(rt);
756 struct rtable *rt; local
772 rt = ip_route_output_key(dev_net(netdev), &flow);
773 err = PTR_ERR_OR_ZERO(rt);
781 n = dst_neigh_lookup(&rt->dst, &flow.daddr);
782 ip_rt_put(rt);
/linux-master/net/bridge/
H A Dbr_netfilter_hooks.c371 struct rtable *rt; local
401 rt = ip_route_output(net, iph->daddr, 0,
404 if (!IS_ERR(rt)) {
407 if (rt->dst.dev == dev) {
409 skb_dst_set(skb, &rt->dst);
412 ip_rt_put(rt);
433 rt = bridge_parent_rtable(br_indev);
434 if (!rt) {
439 skb_dst_set_noref(skb, &rt->dst);

Completed in 229 milliseconds

1234567891011>>