Searched refs:rt (Results 151 - 175 of 329) sorted by relevance

1234567891011>>

/linux-master/net/ipv6/
H A Dping.c73 struct rt6_info *rt; local
157 rt = dst_rt6_info(dst);
178 sizeof(struct icmp6hdr), &ipc6, &fl6, rt,
182 ICMP6_INC_STATS(sock_net(sk), rt->rt6i_idev,
H A Dicmp.c215 struct rt6_info *rt = dst_rt6_info(dst); local
220 if (rt->rt6i_dst.plen < 128)
221 tmo >>= ((128 - rt->rt6i_dst.plen)>>5);
244 struct rt6_info *rt = dst_rt6_info(dst); local
247 rt6_get_prefsrc(rt, &prefsrc);
656 struct rt6_info *rt; local
676 rt = rt6_lookup(dev_net(skb->dev), &ipv6_hdr(skb2)->saddr, NULL, 0,
679 if (rt && rt->dst.dev)
680 skb2->dev = rt
[all...]
H A Dip6_tunnel.c568 struct rtable *rt; local
610 rt = ip_route_output_ports(dev_net(skb->dev), &fl4, NULL, eiph->saddr,
612 if (IS_ERR(rt))
615 skb2->dev = rt->dst.dev;
616 ip_rt_put(rt);
619 if (rt->rt_flags & RTCF_LOCAL) {
620 rt = ip_route_output_ports(dev_net(skb->dev), &fl4, NULL,
623 if (IS_ERR(rt) || rt->dst.dev->type != ARPHRD_TUNNEL6) {
624 if (!IS_ERR(rt))
666 struct rt6_info *rt; local
1134 const struct rtable *rt = skb_rtable(skb); local
1498 struct rt6_info *rt = rt6_lookup(t->net, local
[all...]
/linux-master/fs/xfs/
H A Dxfs_bmap_util.h48 int rt, int eof, int delay, int convert,
/linux-master/kernel/rcu/
H A Drefscale.c809 struct reader_task *rt = &(reader_tasks[me]); local
823 wait_event(rt->wq, (atomic_read(&nreaders_exp) && smp_load_acquire(&rt->start_reader)) ||
832 WRITE_ONCE(rt->start_reader, 0);
856 rt->last_duration_ns = WARN_ON_ONCE(duration < 0) ? 0 : duration;
879 struct reader_task *rt; local
882 rt = &(reader_tasks[i]);
884 rt->last_duration_ns = 0;
892 struct reader_task *rt; local
905 rt
[all...]
/linux-master/init/
H A Dinit_task.c7 #include <linux/sched/rt.h>
91 .rt = {
92 .run_list = LIST_HEAD_INIT(init_task.rt.run_list),
/linux-master/net/rxrpc/
H A Dpeer_object.c157 struct rtable *rt; local
169 rt = ip_route_output_ports(
173 if (IS_ERR(rt)) {
174 _leave(" [route err %ld]", PTR_ERR(rt));
177 dst = &rt->dst;
/linux-master/fs/ntfs3/
H A Dfslog.c381 static inline u32 bytes_per_rt(const struct RESTART_TABLE *rt) argument
383 return le16_to_cpu(rt->used) * le16_to_cpu(rt->size) +
714 static bool check_rstbl(const struct RESTART_TABLE *rt, size_t bytes) argument
718 u16 rsize = le16_to_cpu(rt->size);
719 u16 ne = le16_to_cpu(rt->used);
720 u32 ff = le32_to_cpu(rt->first_free);
721 u32 lf = le32_to_cpu(rt->last_free);
727 le16_to_cpu(rt->total) > ne || ff > ts || lf > ts ||
739 rt,
765 free_rsttbl_idx(struct RESTART_TABLE *rt, u32 off) argument
824 struct RESTART_TABLE *rt; local
896 struct RESTART_TABLE *rt = *tbl; local
3726 const struct RESTART_TABLE *rt; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c113 struct rtable *rt; local
132 rt = ip_route_output_key(dev_net(dev), &attr->fl.fl4);
133 if (IS_ERR(rt))
134 return PTR_ERR(rt);
136 if (rt->rt_type != RTN_UNICAST) {
141 if (mlx5_lag_is_multipath(mdev) && rt->rt_gw_family != AF_INET) {
149 ret = get_route_and_out_devs(priv, rt->dst.dev, &route_dev, &out_dev);
155 attr->ttl = ip4_dst_hoplimit(&rt->dst);
156 n = dst_neigh_lookup(&rt->dst, &attr->fl.fl4.daddr);
162 ip_rt_put(rt);
[all...]
/linux-master/drivers/net/ipvlan/
H A Dipvlan_core.c419 struct rtable *rt; local
430 rt = ip_route_output_flow(net, &fl4, NULL);
431 if (IS_ERR(rt))
434 if (rt->rt_type != RTN_UNICAST && rt->rt_type != RTN_LOCAL) {
435 ip_rt_put(rt);
438 skb_dst_set(skb, &rt->dst);
/linux-master/net/mctp/
H A Daf_mctp.c100 struct mctp_route *rt; local
149 rt = NULL;
151 rt = mctp_route_lookup(sock_net(sk), addr->smctp_network,
153 if (!rt) {
157 hlen = LL_RESERVED_SPACE(rt->dev->dev) + sizeof(struct mctp_hdr);
178 if (!rt) {
195 rc = mctp_local_output(sk, rt, skb, addr->smctp_addr.s_addr,
/linux-master/drivers/net/
H A Dgeneve.c821 struct rtable *rt; local
839 rt = udp_tunnel_dst_lookup(skb, dev, geneve->net, 0, &saddr,
844 if (IS_ERR(rt))
845 return PTR_ERR(rt);
847 err = skb_tunnel_check_pmtu(skb, &rt->dst,
851 dst_release(&rt->dst);
862 dst_release(&rt->dst);
871 dst_release(&rt->dst);
877 dst_release(&rt->dst);
892 ttl = ttl ? : ip4_dst_hoplimit(&rt
1073 struct rtable *rt; local
1583 struct rtable *rt = ip_route_output_key(geneve->net, &fl4); local
1593 struct rt6_info *rt; local
[all...]
/linux-master/net/atm/
H A Dclip.c336 struct rtable *rt; local
348 rt = dst_rtable(dst);
349 if (rt->rt_gw_family == AF_INET)
350 daddr = &rt->rt_gw4;
450 struct rtable *rt; local
466 rt = ip_route_output(&init_net, ip, 0, 0, 0, RT_SCOPE_LINK);
467 if (IS_ERR(rt))
468 return PTR_ERR(rt);
469 neigh = __neigh_lookup(&arp_tbl, &ip, rt->dst.dev, 1);
470 ip_rt_put(rt);
[all...]
/linux-master/drivers/pinctrl/
H A Dpinctrl-st.c218 struct regmap_field *rt[ST_GPIO_PINS_PER_BANK]; member in struct:st_retime_dedicated
238 } rt; member in struct:st_pio_control
248 const int alt, oe, pu, od, rt; member in struct:st_pctl_data
350 .alt = 0, .oe = 40, .pu = 50, .od = 60, .rt = 100,
363 .rt = 100,
524 struct st_retime_packed *rt_p = &pc->rt.rt_p;
563 struct st_retime_dedicated *rt_d = &pc->rt.rt_d;
574 regmap_field_write(rt_d->rt[pin], retime_config);
605 struct st_retime_packed *rt_p = &pc->rt.rt_p;
640 struct st_retime_dedicated *rt_d = &pc->rt
[all...]
/linux-master/net/netlink/
H A Dgenetlink.c1356 struct genl_family *rt; local
1362 idr_for_each_entry(&genl_fam_idr, rt, id) {
1363 if (!rt->netnsok && !net_eq(net, &init_net))
1369 err = ctrl_fill_info(rt, NETLINK_CB(cb->skb).portid,
1519 const struct genl_family *rt; member in struct:ctrl_dump_policy_ctx
1539 const struct genl_family *rt; local
1551 rt = genl_family_find_byname(
1553 if (!rt)
1555 ctx->fam_id = rt->id;
1558 rt
[all...]
/linux-master/samples/bpf/
H A Dxdp_router_ipv4_user.c263 struct rtmsg rt; member in struct:__anon3096
284 req.rt.rtm_family = rtm_family;
285 req.rt.rtm_table = RT_TABLE_MAIN;
399 struct ndmsg rt; member in struct:__anon3097
419 req.rt.ndm_state = NUD_REACHABLE;
420 req.rt.ndm_family = rtm_family;
/linux-master/drivers/md/
H A Ddm-raid.c451 * bool helpers to test for various raid levels of a raid type @rt
454 /* Return true, if raid type in @rt is raid0 */
455 static bool rt_is_raid0(struct raid_type *rt) argument
457 return !rt->level;
460 /* Return true, if raid type in @rt is raid1 */
461 static bool rt_is_raid1(struct raid_type *rt) argument
463 return rt->level == 1;
466 /* Return true, if raid type in @rt is raid10 */
467 static bool rt_is_raid10(struct raid_type *rt) argument
469 return rt
473 rt_is_raid45(struct raid_type *rt) argument
479 rt_is_raid6(struct raid_type *rt) argument
485 rt_is_raid456(struct raid_type *rt) argument
1140 struct raid_type *rt = rs->raid_type; local
3004 struct raid_type *rt; local
3526 struct raid_type *rt; local
[all...]
/linux-master/drivers/s390/char/
H A Dtape_char.c77 device->rt = register_tape_dev(
91 unregister_tape_dev(&device->cdev->dev, device->rt);
92 device->rt = NULL;
/linux-master/drivers/net/ethernet/amd/
H A Ddeclance.c232 #define lib_off(rt, type) \
233 shift_off(offsetof(struct lance_init_block, rt), type)
235 #define lib_ptr(ib, rt, type) \
236 ((volatile u16 *)((u8 *)(ib) + lib_off(rt, type)))
238 #define rds_off(rt, type) \
239 shift_off(offsetof(struct lance_rx_desc, rt), type)
241 #define rds_ptr(rd, rt, type) \
242 ((volatile u16 *)((u8 *)(rd) + rds_off(rt, type)))
244 #define tds_off(rt, type) \
245 shift_off(offsetof(struct lance_tx_desc, rt), typ
[all...]
/linux-master/net/netfilter/
H A Dnf_nat_masquerade.c36 const struct rtable *rt; local
52 rt = skb_rtable(skb);
53 nh = rt_nexthop(rt, ip_hdr(skb)->daddr);
/linux-master/drivers/power/supply/
H A Dbq25890_charger.c340 struct bq25890_range rt; member in union:__anon268
345 [TBL_ICHG] = { .rt = {0, 5056000, 64000} }, /* uA */
346 [TBL_ITERM] = { .rt = {64000, 1024000, 64000} }, /* uA */
347 [TBL_IINLIM] = { .rt = {100000, 3250000, 50000} }, /* uA */
348 [TBL_VREG] = { .rt = {3840000, 4608000, 16000} }, /* uV */
349 [TBL_BOOSTV] = { .rt = {4550000, 5510000, 64000} }, /* uV */
350 [TBL_SYSVMIN] = { .rt = {3000000, 3700000, 100000} }, /* uV */
351 [TBL_VBUSV] = { .rt = {2600000, 15300000, 100000} }, /* uV */
352 [TBL_VBATCOMP] = { .rt = {0, 224000, 32000} }, /* uV */
353 [TBL_RBATCOMP] = { .rt
[all...]
/linux-master/arch/sparc/kernel/
H A Dsmp_64.c170 static inline long get_delta (long *rt, long *master) argument
190 *rt = best_t1 - best_t0;
203 unsigned long flags, rt, master_time_stamp; local
206 long rt; /* roundtrip time */ member in struct:__anon142
221 delta = get_delta(&rt, &master_time_stamp);
235 t[i].rt = rt;
246 printk("rt=%5ld master=%5ld diff=%5ld adjlat=%5ld\n",
247 t[i].rt, t[i].master, t[i].diff, t[i].lat);
252 smp_processor_id(), delta, rt);
[all...]
/linux-master/net/smc/
H A Dsmc_ib.c200 struct rtable *rt = NULL; local
208 rt = ip_route_output_flow(net, &fl4, NULL);
209 if (IS_ERR(rt))
211 if (rt->rt_uses_gateway && rt->rt_gw_family != AF_INET)
213 neigh = dst_neigh_lookup(&rt->dst, &fl4.daddr);
217 *uses_gateway = rt->rt_uses_gateway;
219 ip_rt_put(rt);
223 ip_rt_put(rt);
/linux-master/drivers/infiniband/core/
H A Daddr.c389 struct rtable *rt; local
397 rt = ip_route_output_key(addr->net, &fl4);
398 ret = PTR_ERR_OR_ZERO(rt);
404 addr->hoplimit = ip4_dst_hoplimit(&rt->dst);
406 *prt = rt;
555 struct rtable *rt = NULL; local
582 ret = addr4_resolve(src_in, dst_in, addr, &rt);
583 dst = &rt->dst;
602 ip_rt_put(rt);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c500 struct fib6_info *rt; member in struct:mlxsw_sp_rt6
3506 struct fib6_nh *fib6_nh = mlxsw_sp_rt6->rt->fib6_nh;
3579 struct fib6_nh *fib6_nh = mlxsw_sp_rt6->rt->fib6_nh;
4066 struct fib6_nh *fib6_nh = mlxsw_sp_rt6->rt->fib6_nh;
5982 struct fib6_info *rt = mlxsw_sp_rt6->rt; local
5984 if (dev && dev == rt->fib6_nh->fib_nh_dev &&
5986 &rt->fib6_nh->fib_nh_gw6))
6101 fib6_info_hw_flags_set(mlxsw_sp_net(mlxsw_sp), mlxsw_sp_rt6->rt,
6123 fib6_info_hw_flags_set(mlxsw_sp_net(mlxsw_sp), mlxsw_sp_rt6->rt,
6889 mlxsw_sp_fib6_rt_should_ignore(const struct fib6_info *rt) argument
6904 mlxsw_sp_rt6_create(struct fib6_info *rt) argument
6923 mlxsw_sp_rt6_release(struct fib6_info *rt) argument
6928 mlxsw_sp_rt6_release(struct fib6_info *rt) argument
6951 mlxsw_sp_fib6_entry_rt_find(const struct mlxsw_sp_fib6_entry *fib6_entry, const struct fib6_info *rt) argument
6964 mlxsw_sp_nexthop6_ipip_type(const struct mlxsw_sp *mlxsw_sp, const struct fib6_info *rt, enum mlxsw_sp_ipip_type *ret) argument
6972 mlxsw_sp_nexthop6_init(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_nexthop_group *nh_grp, struct mlxsw_sp_nexthop *nh, const struct fib6_info *rt) argument
7017 mlxsw_sp_rt6_is_gateway(const struct mlxsw_sp *mlxsw_sp, const struct fib6_info *rt) argument
7045 struct fib6_info *rt = mlxsw_sp_rt6->rt; local
7149 struct fib6_info *rt = mlxsw_sp_fib6_entry_rt(fib6_entry); local
7303 mlxsw_sp_fib6_entry_type_set_local(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fib_entry *fib_entry, const struct fib6_info *rt) argument
7336 mlxsw_sp_fib6_entry_type_set(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fib_entry *fib_entry, const struct fib6_info *rt) argument
7452 mlxsw_sp_fib6_entry_lookup(struct mlxsw_sp *mlxsw_sp, const struct fib6_info *rt) argument
7487 struct fib6_info *rt, *rt_replaced; local
7511 struct fib6_info *rt = rt_arr[0]; local
7574 struct fib6_info *rt = rt_arr[0]; local
7616 struct fib6_info *rt = rt_arr[0]; local
7821 struct fib6_info *rt = fen6_info->rt; local
[all...]

Completed in 336 milliseconds

1234567891011>>