/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | nf_nat_edemux.sh | 17 ip netns del $ns1 18 ip netns del $ns2 39 ip netns add "$ns1" 47 ip netns add $ns2 54 ip netns exec $ns1 ip link set up dev lo 55 ip netns exec $ns1 ip link set up dev veth1 56 ip netns exec $ns1 ip addr add 192.168.1.1/24 dev veth1 58 ip netns exec $ns2 ip link set up dev lo 59 ip netns exec $ns2 ip link set up dev veth2 60 ip netns exec $ns2 ip addr add 192.168.1.2/24 dev veth2 [all …]
|
H A D | conntrack_vrf.sh | 47 ip netns del $ns0 $ns1 62 ip netns add "$ns0" 67 ip netns add "$ns1" 87 ip -net $ns0 li set lo up 116 ip protocol icmp counter 163 table ip nat { 182 ip netns exec $ns0 ip vrf exec tvrf iperf3 -t 1 -c $IP1 >/dev/null 190 ip netns exec $ns0 nft list table ip nat |grep -q 'counter packets 2' && 212 table ip nat { 219 ip netns exec $ns0 ip vrf exec tvrf iperf3 -t 1 -c $IP1 > /dev/null [all …]
|
H A D | ipip-conntrack-mtu.sh | 48 ip netns add ${n} 53 ip netns del ${n} 99 ip netns exec ${r_a} ip link add ipip0 type ipip local ${l_addr} remote ${r_addr} mode ipip || exit… 102 ip -net ${r_a} link set $dev up 130 ip netns exec ${r_b} ip link add ipip0 type ipip local ${l_addr} remote ${r_addr} mode ipip || exit… 133 ip -net ${r_b} link set $dev up 145 ip -net ${c_a} link set dev lo up 146 ip -net ${c_a} link set dev veth0 up 151 ip -net ${c_b} link set dev veth0 up 152 ip -net ${c_b} link set dev lo up [all …]
|
/openbmc/linux/drivers/gpu/drm/lima/ |
H A D | lima_pmu.c | 16 struct lima_device *dev = ip->dev; in lima_pmu_wait_cmd() 50 if (dev->ip[i].present) { in lima_pmu_get_ip_mask() 56 if (dev->ip[i].present) { in lima_pmu_get_ip_mask() 84 err = lima_pmu_wait_cmd(ip); in lima_pmu_hw_init() 95 if (!ip->data.mask) in lima_pmu_hw_fini() 96 ip->data.mask = lima_pmu_get_ip_mask(ip); in lima_pmu_hw_fini() 109 lima_pmu_wait_cmd(ip); in lima_pmu_hw_fini() 115 return lima_pmu_hw_init(ip); in lima_pmu_resume() 120 lima_pmu_hw_fini(ip); in lima_pmu_suspend() 125 return lima_pmu_hw_init(ip); in lima_pmu_init() [all …]
|
H A D | lima_mmu.c | 31 struct lima_ip *ip = data; in lima_mmu_irq_handler() local 32 struct lima_device *dev = ip->dev; in lima_mmu_irq_handler() 46 lima_ip_name(ip)); in lima_mmu_irq_handler() 64 struct lima_device *dev = ip->dev; in lima_mmu_hw_init() 84 if (ip->id == lima_ip_ppmmu_bcast) in lima_mmu_resume() 87 return lima_mmu_hw_init(ip); in lima_mmu_resume() 97 struct lima_device *dev = ip->dev; in lima_mmu_init() 100 if (ip->id == lima_ip_ppmmu_bcast) in lima_mmu_init() 110 IRQF_SHARED, lima_ip_name(ip), ip); in lima_mmu_init() 116 return lima_mmu_hw_init(ip); in lima_mmu_init() [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_symlink.c | 30 struct xfs_inode *ip, in xfs_readlink_bmap_ilocked() argument 131 if (XFS_IS_CORRUPT(ip->i_mount, !ip->i_df.if_u1.if_data)) in xfs_readlink() 236 false, &ip); in xfs_symlink() 312 i_size_write(VFS_I(ip), ip->i_disk_size); in xfs_symlink() 339 *ipp = ip; in xfs_symlink() 350 if (ip) { in xfs_symlink() 352 xfs_irele(ip); in xfs_symlink() 387 mp = ip->i_mount; in xfs_inactive_symlink_rmt() 396 ASSERT(ip->i_df.if_nextents > 0 && ip->i_df.if_nextents <= 2); in xfs_inactive_symlink_rmt() 413 VFS_I(ip)->i_mode = (VFS_I(ip)->i_mode & ~S_IFMT) | S_IFREG; in xfs_inactive_symlink_rmt() [all …]
|
H A D | xfs_aops.c | 49 struct xfs_inode *ip, in xfs_setfilesize() argument 72 ip->i_disk_size = isize; in xfs_setfilesize() 158 struct xfs_inode *ip = in xfs_end_io() local 189 &ip->i_ioend_work)); in xfs_end_bio() 201 struct xfs_inode *ip, in xfs_imap_valid() argument 247 struct xfs_inode *ip, in xfs_convert_blocks() argument 333 xfs_iext_lookup_extent(ip, ip->i_cowfp, offset_fsb, &icur, &imap)) in xfs_map_blocks() 357 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks() 478 folio, ip->i_ino, pos); in xfs_discard_folio() 528 trace_xfs_vm_bmap(ip); in xfs_vm_bmap() [all …]
|
H A D | xfs_pnfs.c | 37 xfs_iunlock(ip, *iolock); in xfs_break_leased_layouts() 42 xfs_ilock(ip, *iolock); in xfs_break_leased_layouts() 84 struct xfs_inode *ip) in xfs_fs_map_update_inode() argument 89 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_writeid, in xfs_fs_map_update_inode() 94 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_fs_map_update_inode() 97 VFS_I(ip)->i_mode &= ~S_ISUID; in xfs_fs_map_update_inode() 145 if (xfs_is_reflink_inode(ip)) in xfs_fs_map_blocks() 191 xfs_iunlock(ip, lock_flags); in xfs_fs_map_blocks() 210 xfs_iunlock(ip, lock_flags); in xfs_fs_map_blocks() 227 struct xfs_inode *ip, in xfs_pnfs_validate_isize() argument [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | sctp_vrf.sh | 23 ip netns add $CLIENT_NS1 24 ip netns add $CLIENT_NS2 25 ip netns add $SERVER_NS 34 ip -n $CLIENT_NS1 link set veth1 up 38 ip -n $CLIENT_NS2 link set veth1 up 46 ip -n $SERVER_NS link set vrf-1 up 47 ip -n $SERVER_NS link set vrf-2 up 58 ip -n $SERVER_NS link set veth1 up 70 ip netns del "$CLIENT_NS1" 71 ip netns del "$CLIENT_NS2" [all …]
|
H A D | vrf_route_leaking.sh | 177 ip netns del $ns 2>/dev/null 185 ip -netns "${ns}" rule del pref 0 187 ip -netns "${ns}" -6 rule del pref 0 217 ip netns add $ns 218 ip -netns $ns link set lo up 243 ip -netns h1 link set eth0 up 254 ip -netns h2 link set eth0 up 298 ip netns add $ns 299 ip -netns $ns link set lo up 329 ip -netns h1 link set br0 up [all …]
|
H A D | arp_ndisc_evict_nocarrier.sh | 25 ip netns del me 26 ip netns del peer 38 ip netns add ${n} 61 ip netns exec me ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1 69 ip netns exec peer ip link set veth2 down 77 ip netns exec "${PEER_NS}" ip link set dev veth1 up 79 ip netns exec "${PEER_NS}" ip addr add $V4_ADDR1/24 dev veth1 80 ip netns exec ${PEER_NS} ip route add default via $V4_ADDR1 dev veth1 96 ip netns exec "${PEER_NS}" ip link set veth1 down 101 ip link del veth0 [all …]
|
H A D | icmp_redirect.sh | 146 ip netns del $ns 2>/dev/null 155 ip -netns ${ns} link set ${VRF} up 162 ip -netns ${ns} ru del pref 0 164 ip -netns ${ns} -6 ru del pref 0 176 ip netns add $ns 177 ip -netns $ns li set lo up 205 ip -netns h2 li set eth0 up 209 ip -netns r1 li set eth1 up 223 ip -netns h1 li add br0 type bridge 227 ip -netns h1 li set br0 up [all …]
|
H A D | big_tcp.sh | 28 ip netns add $CLIENT_NS 29 ip netns add $SERVER_NS 30 ip netns add $ROUTER_NS 34 ip -net $CLIENT_NS link set link0 up 46 ip -net $ROUTER_NS link set link1 up 47 ip -net $ROUTER_NS link set link2 up 84 ip -net $ROUTER_NS link del link1 85 ip -net $ROUTER_NS link del link2 86 ip netns del "$CLIENT_NS" 87 ip netns del "$SERVER_NS" [all …]
|
H A D | test_vxlan_under_vrf.sh | 69 ip netns add hv-$hv 76 ip -netns hv-$hv link set veth0 up 79 ip -netns hv-$hv link set br0 up 83 ip -netns hv-$hv link set vxlan0 up 97 ip netns add vm-$id 100 ip link set veth-tap netns hv-$id 106 ip link set veth-hv netns vm-$id 123 ip -netns hv-1 link set vxlan0 down 124 ip -netns hv-1 link set vxlan0 up 126 ip -netns hv-2 link set vxlan0 down [all …]
|
H A D | l2tp.sh | 83 ip netns add ${ns} 85 ip -netns ${ns} link set lo up 140 ip netns del ${ns} 2>/dev/null 234 run_cmd host-1 ip xfrm policy add \ 238 run_cmd host-1 ip xfrm policy add \ 250 ip -netns host-1 xfrm state add \ 255 ip -netns host-1 xfrm state add \ 260 ip -netns host-2 xfrm state add \ 265 ip -netns host-2 xfrm state add \ 312 run_cmd host-1 ip xfrm state flush [all …]
|
/openbmc/linux/fs/gfs2/ |
H A D | xattr.c | 131 error = gfs2_meta_read(ip->i_gl, ip->i_eattr, DIO_WAIT, 0, &bh); in ea_foreach() 429 if (ip->i_eattr) { in gfs2_listxattr() 584 if (!ip->i_eattr) in __gfs2_xattr_get() 979 error = gfs2_meta_read(ip->i_gl, ip->i_eattr, DIO_WAIT, 0, in ea_set_block() 1016 ip->i_eattr = blk; in ea_set_block() 1135 if (!ip->i_eattr) in gfs2_xattr_remove() 1192 if (!ip->i_eattr) { in __gfs2_xattr_set() 1258 gfs2_qa_put(ip); in gfs2_xattr_set() 1282 error = gfs2_meta_read(ip->i_gl, ip->i_eattr, DIO_WAIT, 0, &indbh); in ea_dealloc_indirect() 1410 gfs2_free_meta(ip, rgd, ip->i_eattr, 1); in ea_dealloc_block() [all …]
|
/openbmc/u-boot/lib/lzo/ |
H A D | lzo1x_decompress.c | 20 #define HAVE_IP(x, ip_end, ip) ((size_t)(ip_end - ip) < (x)) argument 167 t = *ip++; in lzo1x_decompress_safe() 175 ip++; in lzo1x_decompress_safe() 188 ip += 4; in lzo1x_decompress_safe() 194 ip += 4; in lzo1x_decompress_safe() 210 t = *ip++; in lzo1x_decompress_safe() 247 ip++; in lzo1x_decompress_safe() 255 ip += 2; in lzo1x_decompress_safe() 266 ip++; in lzo1x_decompress_safe() 273 ip += 2; in lzo1x_decompress_safe() [all …]
|
/openbmc/linux/drivers/infiniband/sw/rdmavt/ |
H A D | mmap.c | 38 vfree(ip->obj); in rvt_release_mmap_info() 39 kfree(ip); in rvt_release_mmap_info() 85 if (context != ip->context || (__u64)offset != ip->offset) in rvt_mmap() 124 ip = kmalloc_node(sizeof(*ip), GFP_KERNEL, rdi->dparms.node); in rvt_create_mmap_info() 125 if (!ip) in rvt_create_mmap_info() 138 ip->size = size; in rvt_create_mmap_info() 139 ip->context = in rvt_create_mmap_info() 142 ip->obj = obj; in rvt_create_mmap_info() 145 return ip; in rvt_create_mmap_info() 167 ip->size = size; in rvt_update_mmap_info() [all …]
|
/openbmc/linux/arch/sh/kernel/ |
H A D | ftrace.c | 170 mod_code_ip = (void *)ip; in do_ftrace_mod_code() 214 if (do_ftrace_mod_code(ip, new_code)) in ftrace_modify_code() 217 flush_icache_range(ip, ip + MCOUNT_INSN_SIZE); in ftrace_modify_code() 237 unsigned long ip = rec->ip; in ftrace_make_nop() local 239 old = ftrace_call_replace(ip, addr); in ftrace_make_nop() 240 new = ftrace_nop_replace(ip); in ftrace_make_nop() 248 unsigned long ip = rec->ip; in ftrace_make_call() local 250 old = ftrace_nop_replace(ip); in ftrace_make_call() 251 new = ftrace_call_replace(ip, addr); in ftrace_make_call() 272 __raw_writel(new_addr, ip); in ftrace_mod() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_xdp_meta.sh | 18 ip link del veth1 2> /dev/null 30 ip netns add ${NS1} 31 ip netns add ${NS2} 37 ip link set veth1 netns ${NS1} 38 ip link set veth2 netns ${NS2} 40 ip netns exec ${NS1} ip addr add 10.1.1.11/24 dev veth1 41 ip netns exec ${NS2} ip addr add 10.1.1.22/24 dev veth2 49 ip netns exec ${NS1} ip link set dev veth1 xdp obj ${BPF_FILE} sec x 50 ip netns exec ${NS2} ip link set dev veth2 xdp obj ${BPF_FILE} sec x 52 ip netns exec ${NS1} ip link set dev veth1 up [all …]
|
/openbmc/linux/arch/mips/kernel/ |
H A D | process.c | 293 if ((ip->i_format.opcode == sw_op || ip->i_format.opcode == sd_op) && in is_ra_save_ins() 294 ip->i_format.rs == 29 && ip->i_format.rt == 31) { in is_ra_save_ins() 350 return ip->r_format.func == jalr_op || ip->r_format.func == jr_op; in is_jump_ins() 387 ip->mm_i_format.rt == 29 && ip->mm_i_format.rs == 29) { in is_sp_move_ins() 393 if (ip->i_format.rs != 29 || ip->i_format.rt != 29) in is_sp_move_ins() 416 if (!ip) in get_frame_info() 421 while (ip < ip_end) { in get_frame_info() 422 ip = (void *)ip + last_insn_size; in get_frame_info() 428 insn.word = ip->halfword[0] << 16 | ip->halfword[1]; in get_frame_info() 431 insn.word = ip->word; in get_frame_info() [all …]
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_mmap.c | 29 vfree(ip->obj); /* buf */ in rxe_mmap_release() 30 kfree(ip); in rxe_mmap_release() 41 kref_get(&ip->ref); in rxe_vma_open() 77 if (context != ip->context || (__u64)offset != ip->info.offset) in rxe_mmap() 123 ip = kmalloc(sizeof(*ip), GFP_KERNEL); in rxe_create_mmap_info() 124 if (!ip) in rxe_create_mmap_info() 140 ip->info.size = size; in rxe_create_mmap_info() 141 ip->context = in rxe_create_mmap_info() 144 ip->obj = obj; in rxe_create_mmap_info() 145 kref_init(&ip->ref); in rxe_create_mmap_info() [all …]
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-bcm-iproc.c | 191 struct iproc_pwmc *ip; in iproc_pwmc_probe() local 196 ip = devm_kzalloc(&pdev->dev, sizeof(*ip), GFP_KERNEL); in iproc_pwmc_probe() 197 if (!ip) in iproc_pwmc_probe() 202 ip->chip.dev = &pdev->dev; in iproc_pwmc_probe() 204 ip->chip.npwm = 4; in iproc_pwmc_probe() 207 if (IS_ERR(ip->base)) in iproc_pwmc_probe() 208 return PTR_ERR(ip->base); in iproc_pwmc_probe() 211 if (IS_ERR(ip->clk)) { in iproc_pwmc_probe() 213 PTR_ERR(ip->clk)); in iproc_pwmc_probe() 214 return PTR_ERR(ip->clk); in iproc_pwmc_probe() [all …]
|
/openbmc/linux/arch/arm/lib/ |
H A D | io-readsl.S | 13 ands ip, r1, #3 21 ldr ip, [r0, #0] 29 ldrcs ip, [r0, #0] 36 cmp ip, #2 38 strb ip, [r1], #1 41 strb ip, [r1], #1 44 strb ip, [r1], #1 49 orrne ip, ip, r3, lspush #8 50 strne ip, [r1], #4 57 orrne ip, ip, r3, lspush #16 [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | router_vid_1.sh | 36 ip link set dev vrf-h1 up 38 ip link set dev $h1 up 51 ip link set dev $h1 down 60 ip link set dev vrf-h2 up 62 ip link set dev $h2 up 75 ip link set dev $h2 down 83 ip link set dev $rp1 up 89 ip link set dev $rp2 up 101 ip link del dev $rp2.1 102 ip link set dev $rp2 down [all …]
|