Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 1392) sorted by relevance

12345678910>>...56

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/samples/bpf/
Dtest_ipip.sh5 ip netns add at_ns0
6 ip netns add at_ns1
7 ip netns add at_ns2
8 ip link add veth0 type veth peer name veth0b
9 ip link add veth1 type veth peer name veth1b
10 ip link add veth2 type veth peer name veth2b
11 ip link set veth0b up
12 ip link set veth1b up
13 ip link set veth2b up
14 ip link set dev veth0b mtu 1500
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.sh44 ip netns del ns1 2> /dev/null
45 ip netns del ns2 2> /dev/null
46 ip netns del ns3 2> /dev/null
47 ip netns del ns4 2> /dev/null
48 ip netns del ns5 2> /dev/null
49 ip netns del ns6 2> /dev/null
55 ip netns add ns1
56 ip netns add ns2
57 ip netns add ns3
58 ip netns add ns4
[all …]
Dtest_tunnel.sh56 ip netns add at_ns0
57 ip link add veth0 type veth peer name veth1
58 ip link set veth0 netns at_ns0
59 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0
60 ip netns exec at_ns0 ip link set dev veth0 up
61 ip link set dev veth1 up mtu 1500
62 ip addr add dev veth1 172.16.1.200/24
68 ip netns exec at_ns0 \
69 ip link add dev $DEV_NS type $TYPE seq key 2 \
71 ip netns exec at_ns0 ip link set dev $DEV_NS up
[all …]
Dtest_xdp_vlan.sh55 ip link del veth1 2> /dev/null
56 ip netns del ns1 2> /dev/null
57 ip netns del ns2 2> /dev/null
117 ip link set dev lo xdpgeneric off 2>/dev/null > /dev/null
125 ip link del veth1 2> /dev/null
126 ip netns del ns1 2> /dev/null
127 ip netns del ns2 2> /dev/null
134 which ip > /dev/null
144 ip netns add ns1
145 ip netns add ns2
[all …]
Dtest_lwt_ip_encap.sh111 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
118 ip netns exec ${NS3} sysctl -wq net.ipv4.conf.all.rp_filter=0
119 ip netns exec ${NS1} sysctl -wq net.ipv4.conf.default.rp_filter=0
120 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.default.rp_filter=0
121 ip netns exec ${NS3} sysctl -wq net.ipv4.conf.default.rp_filter=0
123 ip link add veth1 type veth peer name veth2
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_icache.c37 struct xfs_inode *ip; in xfs_inode_alloc() local
43 ip = kmem_cache_alloc(xfs_inode_zone, GFP_KERNEL | __GFP_NOFAIL); in xfs_inode_alloc()
45 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc()
46 kmem_cache_free(xfs_inode_zone, ip); in xfs_inode_alloc()
51 VFS_I(ip)->i_mode = 0; in xfs_inode_alloc()
54 ASSERT(atomic_read(&ip->i_pincount) == 0); in xfs_inode_alloc()
55 ASSERT(ip->i_ino == 0); in xfs_inode_alloc()
58 ip->i_ino = ino; in xfs_inode_alloc()
59 ip->i_mount = mp; in xfs_inode_alloc()
60 memset(&ip->i_imap, 0, sizeof(struct xfs_imap)); in xfs_inode_alloc()
[all …]
Dxfs_bmap_util.c40 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) in xfs_fsb_to_db() argument
42 if (XFS_IS_REALTIME_INODE(ip)) in xfs_fsb_to_db()
43 return XFS_FSB_TO_BB(ip->i_mount, fsb); in xfs_fsb_to_db()
44 return XFS_FSB_TO_DADDR(ip->i_mount, fsb); in xfs_fsb_to_db()
56 struct xfs_inode *ip, in xfs_zero_extent() argument
60 struct xfs_mount *mp = ip->i_mount; in xfs_zero_extent()
61 struct xfs_buftarg *target = xfs_inode_buftarg(ip); in xfs_zero_extent()
62 xfs_daddr_t sector = xfs_fsb_to_db(ip, start_fsb); in xfs_zero_extent()
84 mp = ap->ip->i_mount; in xfs_bmap_rtalloc()
85 align = xfs_get_extsz_hint(ap->ip); in xfs_bmap_rtalloc()
[all …]
Dxfs_inode.h76 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I() argument
78 return &ip->i_vnode; in VFS_I()
86 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE() argument
88 if (S_ISREG(VFS_I(ip)->i_mode)) in XFS_ISIZE()
89 return i_size_read(VFS_I(ip)); in XFS_ISIZE()
90 return ip->i_d.di_size; in XFS_ISIZE()
98 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof() argument
100 xfs_fsize_t i_size = i_size_read(VFS_I(ip)); in xfs_new_eof()
104 return new_size > ip->i_d.di_size ? new_size : 0; in xfs_new_eof()
111 __xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) in __xfs_iflags_set() argument
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/
Dipvs.sh56 ip -Version > /dev/null 2>&1
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
79 ip netns exec ns0 ip link add br0 type bridge
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Drtnetlink.sh44 ip link set dev $swp1 up
45 ip link set dev $swp2 up
52 ip link set dev $swp2 down
53 ip link set dev $swp1 down
65 ip addr flush dev $swp1
66 ip addr flush dev $swp2
69 ip addr add dev $swp1 192.0.2.1/28
72 ip link set dev $swp1 addr 00:11:22:33:44:55
77 ip addr add dev $swp2 192.0.2.2/28 &>/dev/null
79 ip addr add dev $swp2 192.0.2.2/28 2>&1 >/dev/null \
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sgi/
Dioc3-eth.c109 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
233 &ip->regs->emar_h); in __ioc3_set_mac_address()
238 &ip->regs->emar_l); in __ioc3_set_mac_address()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Drouter_mpath_nh.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 …]
Dfib_offload_lib.sh13 ip -n $ns -j -p -$family route show $route \
63 ip -n $ns link add name dummy$i type dummy
64 ip -n $ns link set dev dummy$i up
67 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024
71 ip -n $ns route append 192.0.2.0/24 dev dummy2 tos 0 metric 1024
75 ip -n $ns route prepend 192.0.2.0/24 dev dummy3 tos 0 metric 1024
85 ip -n $ns link del dev dummy$i
95 ip -n $ns link add name dummy1 type dummy
96 ip -n $ns link set dev dummy1 up
98 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024
[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 …]
Dvxlan_asymmetric.sh112 ip link set dev $if_name master $vrf_name
113 ip link set dev $vrf_name up
114 ip link set dev $if_name up
116 ip address add $ip_addr/24 dev $if_name
117 ip neigh replace $gw_ip lladdr 00:00:5e:00:01:01 nud permanent \
119 ip route add default vrf $vrf_name nexthop via $gw_ip
130 ip route del default vrf $vrf_name nexthop via $gw_ip
131 ip neigh del $gw_ip dev $if_name
132 ip address del $ip_addr/24 dev $if_name
134 ip link set dev $if_name down
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtraceroute.sh49 out=$(eval ip netns exec ${ns} ${cmd} 2>&1)
72 ip netns add ${ns}
74 ip netns exec ${ns} ip link set lo up
76 ip netns exec ${ns} ip addr add dev lo ${addr}
79 ip netns exec ${ns} ip -6 addr add dev lo ${addr6}
82 ip netns exec ${ns} ip ro add unreachable default metric 8192
83 ip netns exec ${ns} ip -6 ro add unreachable default metric 8192
85 ip netns exec ${ns} sysctl -qw net.ipv4.ip_forward=1
86 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1
87 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.forwarding=1
[all …]
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
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
80 ip addr add dev "$vlandev" 10.200.7.23/30
[all …]
/kernel/linux/linux-5.10/fs/jfs/
Dnamei.c67 struct inode *ip = NULL; /* child directory inode */ in jfs_create() local
92 ip = ialloc(dip, mode); in jfs_create()
93 if (IS_ERR(ip)) { in jfs_create()
94 rc = PTR_ERR(ip); in jfs_create()
101 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_create()
103 rc = jfs_init_acl(tid, ip, dip); in jfs_create()
107 rc = jfs_init_security(tid, ip, dip, &dentry->d_name); in jfs_create()
121 tblk->ino = ip->i_ino; in jfs_create()
122 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_create()
125 iplist[1] = ip; in jfs_create()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/
Dmptcp_join.sh26 ip netns add $netns || exit $ksft_skip
27 ip -net $netns link set lo up
28 ip netns exec $netns sysctl -q net.mptcp.enabled=1
29 ip netns exec $netns sysctl -q net.ipv4.conf.all.rp_filter=0
30 ip netns exec $netns sysctl -q net.ipv4.conf.default.rp_filter=0
40 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2"
41 ip -net "$ns1" addr add 10.0.$i.1/24 dev ns1eth$i
42 ip -net "$ns1" addr add dead:beef:$i::1/64 dev ns1eth$i nodad
43 ip -net "$ns1" link set ns1eth$i up
45 ip -net "$ns2" addr add 10.0.$i.2/24 dev ns2eth$i
[all …]
/kernel/linux/linux-5.10/lib/lzo/
Dlzo1x_decompress_safe.c23 #define HAVE_IP(x) ((size_t)(ip_end - ip) >= (size_t)(x))
43 const unsigned char *ip; in lzo1x_decompress_safe() local
53 ip = in; in lzo1x_decompress_safe()
58 if (likely(in_len >= 5) && likely(*ip == 17)) { in lzo1x_decompress_safe()
59 bitstream_version = ip[1]; in lzo1x_decompress_safe()
60 ip += 2; in lzo1x_decompress_safe()
65 if (*ip > 17) { in lzo1x_decompress_safe()
66 t = *ip++ - 17; in lzo1x_decompress_safe()
75 t = *ip++; in lzo1x_decompress_safe()
80 const unsigned char *ip_last = ip; in lzo1x_decompress_safe()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/trace/
Dftrace.c45 ftrace_call_replace(unsigned long ip, unsigned long addr, int link) in ftrace_call_replace() argument
52 create_branch(&op, (struct ppc_inst *)ip, addr, link ? 1 : 0); in ftrace_call_replace()
58 ftrace_modify_code(unsigned long ip, struct ppc_inst old, struct ppc_inst new) in ftrace_modify_code() argument
71 if (probe_kernel_read_inst(&replaced, (void *)ip)) in ftrace_modify_code()
77 (void *)ip, ppc_inst_as_str(replaced), ppc_inst_as_str(old)); in ftrace_modify_code()
82 if (patch_instruction((struct ppc_inst *)ip, new)) in ftrace_modify_code()
91 static int test_24bit_addr(unsigned long ip, unsigned long addr) in test_24bit_addr() argument
97 return create_branch(&op, (struct ppc_inst *)ip, addr, 0) == 0; in test_24bit_addr()
110 static unsigned long find_bl_target(unsigned long ip, struct ppc_inst op) in find_bl_target() argument
119 return ip + (long)offset; in find_bl_target()
[all …]

12345678910>>...56