Home
last modified time | relevance | path

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

12345678910>>...63

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.sh51 ip netns del ${NS1} 2> /dev/null
52 ip netns del ${NS2} 2> /dev/null
53 ip netns del ${NS3} 2> /dev/null
54 ip netns del ${NS4} 2> /dev/null
55 ip netns del ${NS5} 2> /dev/null
56 ip netns del ${NS6} 2> /dev/null
62 ip netns add ${NS1}
63 ip netns add ${NS2}
64 ip netns add ${NS3}
65 ip netns add ${NS4}
[all …]
Dtest_tunnel.sh58 ip netns add at_ns0
59 ip link add veth0 type veth peer name veth1
60 ip link set veth0 netns at_ns0
61 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0
62 ip netns exec at_ns0 ip link set dev veth0 up
63 ip link set dev veth1 up mtu 1500
64 ip addr add dev veth1 172.16.1.200/24
70 ip netns exec at_ns0 \
71 ip link add dev $DEV_NS type $TYPE seq key 2 \
73 ip netns exec at_ns0 ip link set dev $DEV_NS up
[all …]
Dtest_lwt_ip_encap.sh112 ip netns add "${NS1}"
113 ip netns add "${NS2}"
114 ip netns add "${NS3}"
117 ip netns exec ${NS1} sysctl -wq net.ipv4.conf.all.rp_filter=0
118 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.all.rp_filter=0
119 ip netns exec ${NS3} sysctl -wq net.ipv4.conf.all.rp_filter=0
120 ip netns exec ${NS1} sysctl -wq net.ipv4.conf.default.rp_filter=0
121 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.default.rp_filter=0
122 ip netns exec ${NS3} sysctl -wq net.ipv4.conf.default.rp_filter=0
125 ip netns exec ${NS1} sysctl -wq net.ipv6.conf.all.accept_dad=0
[all …]
Dtest_xdp_vlan.sh60 ip link del veth1 2> /dev/null
61 ip netns del ${NS1} 2> /dev/null
62 ip netns del ${NS2} 2> /dev/null
122 ip link set dev lo xdpgeneric off 2>/dev/null > /dev/null
130 ip link del veth1 2> /dev/null
131 ip netns del ${NS1} 2> /dev/null
132 ip netns del ${NS2} 2> /dev/null
139 which ip > /dev/null
149 ip netns add ${NS1}
150 ip netns add ${NS2}
[all …]
/linux-6.1.9/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 …]
Dxfs_inode.h84 static inline bool xfs_inode_has_attr_fork(struct xfs_inode *ip) in xfs_inode_has_attr_fork() argument
86 return ip->i_forkoff > 0; in xfs_inode_has_attr_fork()
91 struct xfs_inode *ip, in xfs_ifork_ptr() argument
96 return &ip->i_df; in xfs_ifork_ptr()
98 if (!xfs_inode_has_attr_fork(ip)) in xfs_ifork_ptr()
100 return &ip->i_af; in xfs_ifork_ptr()
102 return ip->i_cowfp; in xfs_ifork_ptr()
109 static inline unsigned int xfs_inode_fork_boff(struct xfs_inode *ip) in xfs_inode_fork_boff() argument
111 return ip->i_forkoff << 3; in xfs_inode_fork_boff()
114 static inline unsigned int xfs_inode_data_fork_size(struct xfs_inode *ip) in xfs_inode_data_fork_size() argument
[all …]
Dxfs_inode.c58 struct xfs_inode *ip) in xfs_get_extsz_hint() argument
64 if (xfs_is_always_cow_inode(ip)) in xfs_get_extsz_hint()
66 if ((ip->i_diflags & XFS_DIFLAG_EXTSIZE) && ip->i_extsize) in xfs_get_extsz_hint()
67 return ip->i_extsize; in xfs_get_extsz_hint()
68 if (XFS_IS_REALTIME_INODE(ip)) in xfs_get_extsz_hint()
69 return ip->i_mount->m_sb.sb_rextsize; in xfs_get_extsz_hint()
81 struct xfs_inode *ip) in xfs_get_cowextsz_hint() argument
86 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_get_cowextsz_hint()
87 a = ip->i_cowextsize; in xfs_get_cowextsz_hint()
88 b = xfs_get_extsz_hint(ip); in xfs_get_cowextsz_hint()
[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()
76 struct xfs_mount *mp = ap->ip->i_mount; in xfs_bmap_rtalloc()
90 align = xfs_get_extsz_hint(ap->ip); in xfs_bmap_rtalloc()
[all …]
Dxfs_inode_item.c52 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_data_fork_size() local
54 switch (ip->i_df.if_format) { in xfs_inode_item_data_fork_size()
57 ip->i_df.if_nextents > 0 && in xfs_inode_item_data_fork_size()
58 ip->i_df.if_bytes > 0) { in xfs_inode_item_data_fork_size()
60 *nbytes += xfs_inode_data_fork_size(ip); in xfs_inode_item_data_fork_size()
66 ip->i_df.if_broot_bytes > 0) { in xfs_inode_item_data_fork_size()
67 *nbytes += ip->i_df.if_broot_bytes; in xfs_inode_item_data_fork_size()
73 ip->i_df.if_bytes > 0) { in xfs_inode_item_data_fork_size()
74 *nbytes += xlog_calc_iovec_len(ip->i_df.if_bytes); in xfs_inode_item_data_fork_size()
93 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_attr_fork_size() local
[all …]
/linux-6.1.9/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
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
77 ip link del dev vrf-test
87 ip addr add dev $swp1 192.0.2.1/28
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
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 …]
/linux-6.1.9/tools/testing/selftests/net/
Damt.sh86 ip netns delete "${ns}" 2>/dev/null || true
94 ip netns add "${LISTENER}" || exit_cleanup
95 ip netns add "${GATEWAY}" || exit_cleanup "${LISTENER}"
96 ip netns add "${RELAY}" || exit_cleanup "${LISTENER}" "${GATEWAY}"
97 ip netns add "${SOURCE}" || exit_cleanup "${LISTENER}" "${GATEWAY}" \
111 ip -netns "${ns}" link set dev lo up
114 ip link add l_gw type veth peer name gw_l
115 ip link add gw_relay type veth peer name relay_gw
116 ip link add relay_src type veth peer name src_relay
118 ip link set l_gw netns "${LISTENER}" up
[all …]
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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_inode_fork.c33 struct xfs_inode *ip, in xfs_init_local_fork() argument
38 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_init_local_fork()
48 zero_terminate = S_ISLNK(VFS_I(ip)->i_mode); in xfs_init_local_fork()
69 struct xfs_inode *ip, in xfs_iformat_local() argument
79 if (unlikely(size > XFS_DFORK_SIZE(dip, ip->i_mount, whichfork))) { in xfs_iformat_local()
80 xfs_warn(ip->i_mount, in xfs_iformat_local()
82 (unsigned long long) ip->i_ino, size, in xfs_iformat_local()
83 XFS_DFORK_SIZE(dip, ip->i_mount, whichfork)); in xfs_iformat_local()
84 xfs_inode_verifier_error(ip, -EFSCORRUPTED, in xfs_iformat_local()
90 xfs_init_local_fork(ip, whichfork, XFS_DFORK_PTR(dip, whichfork), size); in xfs_iformat_local()
[all …]
/linux-6.1.9/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 …]

12345678910>>...63