Home
last modified time | relevance | path

Searched full:ip (Results 1 – 25 of 3306) sorted by relevance

12345678910>>...133

/Linux-v6.1/sound/soc/sti/
Duniperif.h19 #define GET_UNIPERIF_REG(ip, offset, shift, mask) \ argument
20 ((readl_relaxed(ip->base + offset) >> shift) & mask)
21 #define SET_UNIPERIF_REG(ip, offset, shift, mask, value) \ argument
22 writel_relaxed(((readl_relaxed(ip->base + offset) & \
23 ~(mask << shift)) | (((value) & mask) << shift)), ip->base + offset)
24 #define SET_UNIPERIF_BIT_REG(ip, offset, shift, mask, value) \ argument
25 writel_relaxed((((value) & mask) << shift), ip->base + offset)
31 #define UNIPERIF_SOFT_RST_OFFSET(ip) 0x0000 argument
32 #define GET_UNIPERIF_SOFT_RST(ip) \ argument
33 ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \
[all …]
/Linux-v6.1/arch/arm/lib/
Dio-writesw-armv3.S43 mov ip, r3, lsl #16
44 orr ip, ip, ip, lsr #16
45 str ip, [r0]
47 mov ip, r3, lsr #16
48 orr ip, ip, ip, lsl #16
49 str ip, [r0]
51 mov ip, r4, lsl #16
52 orr ip, ip, ip, lsr #16
53 str ip, [r0]
55 mov ip, r4, lsr #16
[all …]
Dio-readsw-armv4.S18 .Linsw_align: movs ip, r1, lsl #31
20 ldrh ip, [r0]
22 strh ip, [r1], #2
44 ldrh ip, [r0]
45 pack r5, r5, ip
47 ldrh ip, [r0]
49 pack ip, ip, lr
52 stmia r1!, {r3 - r5, ip}
63 ldrh ip, [r0]
64 pack r4, r4, ip
[all …]
/Linux-v6.1/arch/arm/mach-davinci/
Dsleep.S43 ldr ip, CACHE_FLUSH
44 blx ip
53 ldr ip, [r0, #DDR2_SDRCR_OFFSET]
54 bic ip, ip, #DDR2_SRPD_BIT
55 orr ip, ip, #DDR2_LPMODEN_BIT
56 str ip, [r0, #DDR2_SDRCR_OFFSET]
58 ldr ip, [r0, #DDR2_SDRCR_OFFSET]
59 orr ip, ip, #DDR2_MCLKSTOPEN_BIT
60 str ip, [r0, #DDR2_SDRCR_OFFSET]
62 mov ip, #PHYRDY_CYCLES
[all …]
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/
Drtnetlink.sh49 ip link set dev $swp1 up
50 ip link set dev $swp2 up
57 ip link set dev $swp2 down
58 ip link set dev $swp1 down
63 # Test that it is possible to set an IP address on a VRF upper despite
67 ip link add name vrf-test type vrf table 10
68 ip link set dev $swp1 master vrf-test
70 ip -4 address add 192.0.2.1/24 dev vrf-test
72 ip -6 address add 2001:db8:1::1/64 dev vrf-test
75 log_test "RIF - setting IP address on VRF"
[all …]
Dvxlan.sh45 ip link set dev $swp1 up
46 ip link set dev $swp2 up
53 ip link set dev $swp2 down
54 ip link set dev $swp1 down
59 ip link set dev $swp1 master br0
61 ip link set dev vxlan0 master br0
64 ip link set dev $swp1 nomaster
66 ip link set dev $swp1 master br0
72 ip link set dev $swp1 master br0
74 ip link set dev vxlan0 master br0 &> /dev/null
[all …]
Dq_in_q_veto.sh28 ip link set dev $swp1 up
29 ip link set dev $swp2 up
38 ip link set dev $swp2 down
39 ip link set dev $swp1 down
49 ip link add dev br0 type bridge vlan_filtering 1 \
52 ip link set dev br0 up
53 ip link set dev $swp1 master br0
55 ip link add name br0.100 link br0 type vlan \
59 ip link add name br0.100 link br0 type vlan \
66 ip link del dev br0
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.sh50 ip netns del ${NS1} 2> /dev/null
51 ip netns del ${NS2} 2> /dev/null
52 ip netns del ${NS3} 2> /dev/null
53 ip netns del ${NS4} 2> /dev/null
54 ip netns del ${NS5} 2> /dev/null
55 ip netns del ${NS6} 2> /dev/null
61 ip netns add ${NS1}
62 ip netns add ${NS2}
63 ip netns add ${NS3}
64 ip netns add ${NS4}
[all …]
Dtest_tunnel.sh26 # veth1 IP: 172.16.1.200, IPv6: 00::22 (underlay)
57 ip netns add at_ns0
58 ip link add veth0 type veth peer name veth1
59 ip link set veth0 netns at_ns0
60 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0
61 ip netns exec at_ns0 ip link set dev veth0 up
62 ip link set dev veth1 up mtu 1500
63 ip addr add dev veth1 172.16.1.200/24
69 ip netns exec at_ns0 \
70 ip link add dev $DEV_NS type $TYPE seq key 2 \
[all …]
Dtest_lwt_ip_encap.sh18 # IP*_1 <=> IP*_2 <=> IP*_3 <=> IP*_4 (the top route)
21 # NS1/NS2 are configured to route packets to IPv*_GRE via IP*_8
27 # from IP*_SRC to IP*_DST can work is via IPv*_GRE
30 # that encaps the packets with an IP/GRE header to route to IPv*_GRE
36 # that encaps the packets with an IP/GRE header to route to IPv*_GRE
111 ip netns add "${NS1}"
112 ip netns add "${NS2}"
113 ip netns add "${NS3}"
116 ip netns exec ${NS1} sysctl -wq net.ipv4.conf.all.rp_filter=0
117 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.all.rp_filter=0
[all …]
/Linux-v6.1/tools/testing/selftests/net/forwarding/
Drouter_mpath_nh_res.sh15 ip link set dev $h1 master vrf-h1
17 ip link set dev vrf-h1 up
18 ip link set dev $h1 up
20 ip address add 192.0.2.2/24 dev $h1
21 ip address add 2001:db8:1::2/64 dev $h1
23 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
24 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
29 ip route del 2001:db8:2::/64 vrf vrf-h1
30 ip route del 198.51.100.0/24 vrf vrf-h1
32 ip address del 2001:db8:1::2/64 dev $h1
[all …]
Drouter_mpath_nh.sh17 ip link set dev $h1 master vrf-h1
19 ip link set dev vrf-h1 up
20 ip link set dev $h1 up
22 ip address add 192.0.2.2/24 dev $h1
23 ip address add 2001:db8:1::2/64 dev $h1
25 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
26 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
31 ip route del 2001:db8:2::/64 vrf vrf-h1
32 ip route del 198.51.100.0/24 vrf vrf-h1
34 ip address del 2001:db8:1::2/64 dev $h1
[all …]
Drouter_multipath.sh11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-h1 up
14 ip link set dev $h1 up
16 ip address add 192.0.2.2/24 dev $h1
17 ip address add 2001:db8:1::2/64 dev $h1
19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
25 ip route del 2001:db8:2::/64 vrf vrf-h1
26 ip route del 198.51.100.0/24 vrf vrf-h1
28 ip address del 2001:db8:1::2/64 dev $h1
[all …]
Drouter_nh.sh16 ip link set dev $h1 master vrf-h1
18 ip link set dev vrf-h1 up
19 ip link set dev $h1 up
21 ip address add 192.0.2.2/24 dev $h1
22 ip address add 2001:db8:1::2/64 dev $h1
24 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
25 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
30 ip route del 2001:db8:2::/64 vrf vrf-h1
31 ip route del 198.51.100.0/24 vrf vrf-h1
33 ip address del 2001:db8:1::2/64 dev $h1
[all …]
/Linux-v6.1/tools/testing/selftests/netfilter/
Dipvs.sh56 ip -Version > /dev/null 2>&1
58 echo "SKIP: Could not run test without ip tool"
69 ip netns add ns0
70 ip netns add ns1
71 ip netns add ns2
73 ip link add veth01 netns ns0 type veth peer name veth10 netns ns1
74 ip link add veth02 netns ns0 type veth peer name veth20 netns ns2
75 ip link add veth12 netns ns1 type veth peer name veth21 netns ns2
77 ip netns exec ns0 ip link set veth01 up
78 ip netns exec ns0 ip link set veth02 up
[all …]
Dnft_flowtable.sh41 checktool "ip -Version" "run test without ip tool"
43 checktool "ip netns add $nsr1" "create net namespace $nsr1"
45 ip netns add $ns1
46 ip netns add $ns2
47 ip netns add $nsr2
50 ip netns del $ns1
51 ip netns del $ns2
52 ip netns del $nsr1
53 ip netns del $nsr2
64 ip link add veth0 netns $nsr1 type veth peer name eth0 netns $ns1
[all …]
Dnft_fib.sh19 ip netns del ${ns1}
20 ip netns del ${ns2}
21 ip netns del ${nsrouter}
32 ip -Version > /dev/null 2>&1
34 echo "SKIP: Could not run test without ip tool"
38 ip netns add ${nsrouter}
53 ip netns add ${ns1}
54 ip netns add ${ns2}
59 ip netns exec ${netns} nft -f /dev/stdin <<EOF
72 ip netns exec ${netns} nft -f /dev/stdin <<EOF
[all …]
/Linux-v6.1/tools/testing/selftests/drivers/net/netdevsim/
Dnexthop.sh61 out=$($IP nexthop show ${nharg} | sed -e 's/ *$//')
81 count=$($IP nexthop bucket show id $group_id nhid $nhid |
117 $IP nexthop add id 1 via 192.0.2.2 dev dummy1
124 $IP nexthop del id 1
137 $IP nexthop add id 1 via 192.0.2.2 dev dummy1
139 $IP nexthop add id 2 via 192.0.2.3 dev dummy1 &> /dev/null
147 $IP nexthop flush &> /dev/null
155 $IP nexthop add id 1 via 192.0.2.2 dev dummy1
156 $IP nexthop add id 2 via 192.0.2.3 dev dummy1
158 $IP nexthop add id 10 group 1/2
[all …]
/Linux-v6.1/tools/testing/selftests/net/
Drtnetlink.sh30 ip link add name "$devdummy" type dummy
32 ip link set "$devdummy" up
38 ip link del dev "$devdummy"
47 ip netconf show dev "$dev" > /dev/null
51 ip -$f netconf show dev "$dev" > /dev/null
56 echo "FAIL: ip netconf show $dev"
69 ip link add name "$devbr" type bridge
72 ip link set dev "$devdummy" master "$devbr"
75 ip link set "$devbr" up
78 ip link add link "$devbr" name "$vlandev" type vlan id 1
[all …]
Dfib_nexthops.sh128 addr=$(ip $ns -6 -br addr show dev ${dev} | \
149 ip netns del ${n} 2>/dev/null
152 ip netns add ${n}
153 ip netns set ${n} $((nsid++))
154 ip -netns ${n} addr add 127.0.0.1/8 dev lo
155 ip -netns ${n} link set lo up
157 ip netns exec ${n} sysctl -qw net.ipv4.ip_forward=1
158 ip netns exec ${n} sysctl -qw net.ipv4.fib_multipath_use_neigh=1
159 ip netns exec ${n} sysctl -qw net.ipv4.conf.default.ignore_routes_with_linkdown=1
160 ip netns exec ${n} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1
[all …]
Dfib_tests.sh17 IP="ip -netns ns1"
18 NS_EXEC="ip netns exec ns1"
54 ip netns add ns1
55 ip netns set ns1 auto
56 $IP link set dev lo up
57 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1
58 ip netns exec ns1 sysctl -qw net.ipv6.conf.all.forwarding=1
60 $IP link add dummy0 type dummy
61 $IP link set dev dummy0 up
62 $IP address add 198.51.100.1/24 dev dummy0
[all …]
/Linux-v6.1/tools/testing/selftests/net/mptcp/
Dpm_netlink.sh34 ip netns del $ns1
37 ip -Version > /dev/null 2>&1
39 echo "SKIP: Could not run test without ip tool"
45 ip netns add $ns1 || exit $ksft_skip
46 ip -net $ns1 link set lo up
47 ip netns exec $ns1 sysctl -q net.mptcp.enabled=1
71 check "ip netns exec $ns1 ./pm_nl_ctl dump" "" "defaults addr list"
72 check "ip netns exec $ns1 ./pm_nl_ctl limits" "accept 0
75 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.1
76 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.2 flags subflow dev lo
[all …]
/Linux-v6.1/drivers/net/ethernet/sgi/
Dioc3-eth.c36 #include <linux/ip.h>
48 #include <net/ip.h>
109 static void ioc3_start(struct ioc3_private *ip);
110 static inline void ioc3_stop(struct ioc3_private *ip);
113 static void ioc3_free_rx_bufs(struct ioc3_private *ip);
114 static inline void ioc3_clean_tx_ring(struct ioc3_private *ip);
123 static inline int ioc3_alloc_skb(struct ioc3_private *ip, struct sk_buff **skb, in ioc3_alloc_skb() argument
139 d = dma_map_single(ip->dma_dev, new_skb->data, in ioc3_alloc_skb()
142 if (dma_mapping_error(ip->dma_dev, d)) { in ioc3_alloc_skb()
229 struct ioc3_private *ip = netdev_priv(dev); in __ioc3_set_mac_address() local
[all …]
/Linux-v6.1/lib/zstd/compress/
Dzstd_double_fast.c25 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTable() local
33 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTable()
34 U32 const curr = (U32)(ip - base); in ZSTD_fillDoubleHashTable()
37 size_t const smHash = ZSTD_hashPtr(ip + i, hBitsS, mls); in ZSTD_fillDoubleHashTable()
38 size_t const lgHash = ZSTD_hashPtr(ip + i, hBitsL, 8); in ZSTD_fillDoubleHashTable()
63 const BYTE* ip = istart; in ZSTD_compressBlock_doubleFast_generic() local
97 const U32 dictAndPrefixLength = (U32)((ip - prefixLowest) + (dictEnd - dictStart)); in ZSTD_compressBlock_doubleFast_generic()
109 ip += (dictAndPrefixLength == 0); in ZSTD_compressBlock_doubleFast_generic()
111 U32 const curr = (U32)(ip - base); in ZSTD_compressBlock_doubleFast_generic()
125 while (ip < ilimit) { /* < instead of <=, because repcode check at (ip+1) */ in ZSTD_compressBlock_doubleFast_generic()
[all …]
/Linux-v6.1/fs/xfs/
Dxfs_icache.c75 struct xfs_inode *ip; in xfs_inode_alloc() local
81 ip = alloc_inode_sb(mp->m_super, xfs_inode_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_inode_alloc()
83 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc()
84 kmem_cache_free(xfs_inode_cache, ip); in xfs_inode_alloc()
89 VFS_I(ip)->i_mode = 0; in xfs_inode_alloc()
90 VFS_I(ip)->i_state = 0; in xfs_inode_alloc()
91 mapping_set_large_folios(VFS_I(ip)->i_mapping); in xfs_inode_alloc()
94 ASSERT(atomic_read(&ip->i_pincount) == 0); in xfs_inode_alloc()
95 ASSERT(ip->i_ino == 0); in xfs_inode_alloc()
98 ip->i_ino = ino; in xfs_inode_alloc()
[all …]

12345678910>>...133