| /linux/sound/soc/sti/ |
| H A D | uniperif.h | 19 #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/arch/arm/mach-davinci/ |
| H A D | sleep.S | 43 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/arch/arm/lib/ |
| H A D | io-writesw-armv3.S | 43 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 …]
|
| /linux/fs/xfs/ |
| H A D | xfs_inode.h | 104 static inline bool xfs_inode_on_unlinked_list(const struct xfs_inode *ip) in xfs_inode_on_unlinked_list() argument 106 return ip->i_prev_unlinked != 0; in xfs_inode_on_unlinked_list() 109 static inline bool xfs_inode_has_attr_fork(const struct xfs_inode *ip) in xfs_inode_has_attr_fork() argument 111 return ip->i_forkoff > 0; in xfs_inode_has_attr_fork() 116 struct xfs_inode *ip, in xfs_ifork_ptr() argument 121 return &ip->i_df; in xfs_ifork_ptr() 123 if (!xfs_inode_has_attr_fork(ip)) in xfs_ifork_ptr() 125 return &ip->i_af; in xfs_ifork_ptr() 127 return ip->i_cowfp; in xfs_ifork_ptr() 134 static inline unsigned int xfs_inode_fork_boff(struct xfs_inode *ip) in xfs_inode_fork_boff() argument [all …]
|
| H A D | xfs_icache.c | 91 struct xfs_inode *ip; in xfs_inode_alloc() local 97 ip = alloc_inode_sb(mp->m_super, xfs_inode_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_inode_alloc() 99 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc() 100 kmem_cache_free(xfs_inode_cache, ip); in xfs_inode_alloc() 105 VFS_I(ip)->i_mode = 0; in xfs_inode_alloc() 106 mapping_set_folio_min_order(VFS_I(ip)->i_mapping, in xfs_inode_alloc() 110 ASSERT(atomic_read(&ip->i_pincount) == 0); in xfs_inode_alloc() 111 ASSERT(ip->i_ino == 0); in xfs_inode_alloc() 114 ip->i_ino = ino; in xfs_inode_alloc() 115 ip->i_mount = mp; in xfs_inode_alloc() [all …]
|
| H A D | xfs_bmap_util.c | 43 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) in xfs_fsb_to_db() argument 45 if (XFS_IS_REALTIME_INODE(ip)) in xfs_fsb_to_db() 46 return xfs_rtb_to_daddr(ip->i_mount, fsb); in xfs_fsb_to_db() 47 return XFS_FSB_TO_DADDR(ip->i_mount, fsb); in xfs_fsb_to_db() 55 struct xfs_inode *ip, in xfs_zero_extent() argument 59 return blkdev_issue_zeroout(xfs_inode_buftarg(ip)->bt_bdev, in xfs_zero_extent() 60 xfs_fsb_to_db(ip, start_fsb), in xfs_zero_extent() 61 XFS_FSB_TO_BB(ip->i_mount, count_fsb), in xfs_zero_extent() 99 struct xfs_inode *ip, in xfs_bmap_count_blocks() argument 104 struct xfs_mount *mp = ip->i_mount; in xfs_bmap_count_blocks() [all …]
|
| H A D | xfs_inode_item.c | 43 struct xfs_inode *ip) in xfs_inode_item_precommit_check() argument 45 struct xfs_mount *mp = ip->i_mount; in xfs_inode_item_precommit_check() 55 xfs_inode_to_disk(ip, dip, 0); in xfs_inode_item_precommit_check() 57 fa = xfs_dinode_verify(mp, ip->i_ino, dip); in xfs_inode_item_precommit_check() 59 xfs_inode_verifier_error(ip, -EFSCORRUPTED, __func__, dip, in xfs_inode_item_precommit_check() 67 # define xfs_inode_item_precommit_check(ip) ((void)0) argument 106 struct xfs_inode *ip = iip->ili_inode; in xfs_inode_item_precommit() local 107 struct inode *inode = VFS_I(ip); in xfs_inode_item_precommit() 127 xfs_has_bigtime(ip->i_mount) && in xfs_inode_item_precommit() 128 !xfs_inode_has_bigtime(ip)) { in xfs_inode_item_precommit() [all …]
|
| H A D | xfs_inode.c | 67 struct xfs_inode *ip) in xfs_ilock_data_map_shared() argument 71 if (xfs_need_iread_extents(&ip->i_df)) in xfs_ilock_data_map_shared() 73 xfs_ilock(ip, lock_mode); in xfs_ilock_data_map_shared() 79 struct xfs_inode *ip) in xfs_ilock_attr_map_shared() argument 83 if (xfs_inode_has_attr_fork(ip) && xfs_need_iread_extents(&ip->i_af)) in xfs_ilock_attr_map_shared() 85 xfs_ilock(ip, lock_mode); in xfs_ilock_attr_map_shared() 141 xfs_inode_t *ip, in xfs_ilock() argument 144 trace_xfs_ilock(ip, lock_flags, _RET_IP_); in xfs_ilock() 149 down_write_nested(&VFS_I(ip)->i_rwsem, in xfs_ilock() 152 down_read_nested(&VFS_I(ip)->i_rwsem, in xfs_ilock() [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | rtnetlink.sh | 49 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 …]
|
| H A D | q_in_q_veto.sh | 28 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 \ 51 ip link set dev br0 addrgenmode none 53 ip link set dev br0 up 54 ip link set dev $swp1 master br0 56 ip link add name br0.100 link br0 type vlan \ 60 ip link add name br0.100 link br0 type vlan \ [all …]
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | router_mpath_nh_res.sh | 54 ip link set dev $h1 master vrf-h1 56 ip link set dev vrf-h1 up 57 ip link set dev $h1 up 59 ip address add 192.0.2.2/24 dev $h1 60 ip address add 2001:db8:1::2/64 dev $h1 62 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 63 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 68 ip route del 2001:db8:2::/64 vrf vrf-h1 69 ip route del 198.51.100.0/24 vrf vrf-h1 71 ip address del 2001:db8:1::2/64 dev $h1 [all …]
|
| H A D | router_mpath_nh.sh | 56 ip link set dev $h1 master vrf-h1 58 ip link set dev vrf-h1 up 59 ip link set dev $h1 up 61 ip address add 192.0.2.2/24 dev $h1 62 ip address add 2001:db8:1::2/64 dev $h1 64 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 65 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 70 ip route del 2001:db8:2::/64 vrf vrf-h1 71 ip route del 198.51.100.0/24 vrf vrf-h1 73 ip address del 2001:db8:1::2/64 dev $h1 [all …]
|
| H A D | router_bridge_1d_lag.sh | 119 ip link set dev lag1 addrgenmode none 120 ip link set dev lag1 address $(mac_get $h1) 121 ip link set dev $h1 master lag1 122 ip link set dev $h4 master lag1 124 ip link set dev $h1 up 125 ip link set dev $h4 up 130 ip -4 route add 192.0.2.128/28 vrf vlag1 nexthop via 192.0.2.2 131 ip -6 route add 2001:db8:2::/64 vrf vlag1 nexthop via 2001:db8:1::2 133 ip -4 route add 192.0.2.144/28 vrf vlag1 nexthop via 192.0.2.18 134 ip -6 route add 2001:db8:4::/64 vrf vlag1 nexthop via 2001:db8:3::2 [all …]
|
| H A D | router_bridge_lag.sh | 88 ip link set dev lag1 address $(mac_get $h1) 89 ip link set dev $h1 master lag1 90 ip link set dev $h4 master lag1 92 ip link set dev $h1 up 93 ip link set dev $h4 up 94 ip -4 route add 192.0.2.128/28 vrf vlag1 nexthop via 192.0.2.2 95 ip -6 route add 2001:db8:2::/64 vrf vlag1 nexthop via 2001:db8:1::2 100 ip -6 route del 2001:db8:2::/64 vrf vlag1 101 ip -4 route del 192.0.2.128/28 vrf vlag1 102 ip link set dev $h4 down [all …]
|
| /linux/drivers/net/ethernet/sgi/ |
| H A D | ioc3-eth.c | 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 233 &ip->regs->emar_h); in __ioc3_set_mac_address() 238 &ip->regs->emar_l); in __ioc3_set_mac_address() [all …]
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_inode_util.c | 29 struct xfs_inode *ip, in xfs_flags2diflags() argument 34 (ip->i_diflags & XFS_DIFLAG_PREALLOC); in xfs_flags2diflags() 50 if (S_ISDIR(VFS_I(ip)->i_mode)) { in xfs_flags2diflags() 59 } else if (S_ISREG(VFS_I(ip)->i_mode)) { in xfs_flags2diflags() 71 struct xfs_inode *ip, in xfs_flags2diflags2() argument 75 (ip->i_diflags2 & (XFS_DIFLAG2_REFLINK | in xfs_flags2diflags2() 89 struct xfs_inode *ip) in xfs_ip2xflags() argument 93 if (ip->i_diflags & XFS_DIFLAG_ANY) { in xfs_ip2xflags() 94 if (ip->i_diflags & XFS_DIFLAG_REALTIME) in xfs_ip2xflags() 96 if (ip->i_diflags & XFS_DIFLAG_PREALLOC) in xfs_ip2xflags() [all …]
|
| H A D | xfs_inode_fork.c | 37 struct xfs_inode *ip, in xfs_init_local_fork() argument 42 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_init_local_fork() 52 zero_terminate = S_ISLNK(VFS_I(ip)->i_mode); in xfs_init_local_fork() 77 struct xfs_inode *ip, in xfs_iformat_local() argument 87 if (unlikely(size > XFS_DFORK_SIZE(dip, ip->i_mount, whichfork))) { in xfs_iformat_local() 88 xfs_warn(ip->i_mount, in xfs_iformat_local() 90 (unsigned long long) ip->i_ino, size, in xfs_iformat_local() 91 XFS_DFORK_SIZE(dip, ip->i_mount, whichfork)); in xfs_iformat_local() 92 xfs_inode_verifier_error(ip, -EFSCORRUPTED, in xfs_iformat_local() 95 xfs_inode_mark_sick(ip, XFS_SICK_INO_CORE); in xfs_iformat_local() [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | vlan_hw_filter.sh | 17 ip netns add ${NETNS} 21 ip netns del $NETNS 2>/dev/null 41 ip netns exec ${NETNS} ip link add bond0 type bond mode 0 42 ip netns exec ${NETNS} ip link add bond_slave_1 type veth peer veth2 43 ip netns exec ${NETNS} ip link set bond_slave_1 master bond0 44 ip netns exec ${NETNS} ethtool -K bond0 rx-vlan-filter off 45 ip netns exec ${NETNS} ip link add link bond_slave_1 name bond_slave_1.0 type vlan id 0 46 ip netns exec ${NETNS} ip link add link bond0 name bond0.0 type vlan id 0 47 ip netns exec ${NETNS} ip link set bond_slave_1 nomaster 48 ip netns exec ${NETNS} ip link del veth2 || fail "Please check vlan HW filter function" [all …]
|
| H A D | amt.sh | 87 ip netns delete "${ns}" 2>/dev/null || true 100 ip netns add "${LISTENER}" || exit_cleanup 101 ip netns add "${GATEWAY}" || exit_cleanup "${LISTENER}" 102 ip netns add "${RELAY}" || exit_cleanup "${LISTENER}" "${GATEWAY}" 103 ip netns add "${SOURCE}" || exit_cleanup "${LISTENER}" "${GATEWAY}" \ 117 ip -netns "${ns}" link set dev lo up 120 ip link add l_gw type veth peer name gw_l 121 ip link add gw_relay type veth peer name relay_gw 122 ip link add relay_src type veth peer name src_relay 124 ip link set l_gw netns "${LISTENER}" up [all …]
|
| H A D | traceroute.sh | 28 out=$(eval ip netns exec ${ns} ${cmd} 2>&1) 52 ip netns exec ${ns} ip addr add dev lo ${addr} 55 ip netns exec ${ns} ip -6 addr add dev lo ${addr6} 58 ip netns exec ${ns} ip ro add unreachable default metric 8192 59 ip netns exec ${ns} ip -6 ro add unreachable default metric 8192 61 ip netns exec ${ns} sysctl -qw net.ipv4.ip_forward=1 62 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1 63 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.forwarding=1 64 ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.forwarding=1 65 ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.accept_dad=0 [all …]
|
| H A D | rtnetlink.sh | 137 run_cmd ip link add name "$devdummy" type dummy 138 run_cmd ip link set "$devdummy" up 143 run_cmd ip link del dev "$devdummy" 150 run_cmd ip netconf show dev "$dev" 152 run_cmd ip -$f netconf show dev "$dev" 169 run_cmd ip link add name "$devbr" type bridge 170 run_cmd ip link set dev "$devdummy" master "$devbr" 171 run_cmd ip link set "$devbr" up 172 run_cmd ip link add link "$devbr" name "$vlandev" type vlan id 1 173 run_cmd ip addr add dev "$vlandev" 10.200.7.23/30 [all …]
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | ipvs.sh | 61 ip link add veth01 netns "${ns0}" type veth peer name veth10 netns "${ns1}" 62 ip link add veth02 netns "${ns0}" type veth peer name veth20 netns "${ns2}" 63 ip link add veth12 netns "${ns1}" type veth peer name veth21 netns "${ns2}" 65 ip netns exec "${ns0}" ip link set veth01 up 66 ip netns exec "${ns0}" ip link set veth02 up 67 ip netns exec "${ns0}" ip link add br0 type bridge 68 ip netns exec "${ns0}" ip link set veth01 master br0 69 ip netns exec "${ns0}" ip link set veth02 master br0 70 ip netns exec "${ns0}" ip link set br0 up 71 ip netns exec "${ns0}" ip addr add "${cip_v4}/24" dev br0 [all …]
|
| /linux/tools/testing/selftests/drivers/net/bonding/ |
| H A D | lag_lib.sh | 17 ip link add dummy1 type dummy 18 ip link add dummy2 type dummy 21 ip link add "$name" up type bond mode "$mode" 22 ip link set dev dummy1 master "$name" 23 ip link set dev dummy2 master "$name" 40 ip link set dev "$name" up 48 ip link add mv0 link "$name" up address "$ucaddr" type macvlan 50 ip address add "$addr6" dev "$name" 62 ip link set dev "$name" down 63 ip link del "$name" [all …]
|
| /linux/drivers/gpu/drm/lima/ |
| H A D | lima_pp.c | 18 #define pp_write(reg, data) writel(data, ip->iomem + reg) 19 #define pp_read(reg) readl(ip->iomem + reg) 21 static void lima_pp_handle_irq(struct lima_ip *ip, u32 state) in lima_pp_handle_irq() argument 23 struct lima_device *dev = ip->dev; in lima_pp_handle_irq() 30 lima_ip_name(ip), state, status); in lima_pp_handle_irq() 43 struct lima_ip *ip = data; in lima_pp_irq_handler() local 44 struct lima_device *dev = ip->dev; in lima_pp_irq_handler() 52 lima_pp_handle_irq(ip, state); in lima_pp_irq_handler() 76 struct lima_ip *ip = pipe->processor[i]; in lima_pp_bcast_irq_handler() local 89 lima_pp_handle_irq(ip, state); in lima_pp_bcast_irq_handler() [all …]
|
| /linux/fs/jfs/ |
| H A D | namei.c | 67 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 …]
|