/linux-master/fs/gfs2/ |
H A D | log.h | 58 static inline void gfs2_ordered_add_inode(struct gfs2_inode *ip) argument 60 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 62 if (gfs2_is_jdata(ip) || !gfs2_is_ordered(sdp)) 65 if (list_empty(&ip->i_ordered)) { 67 if (list_empty(&ip->i_ordered)) 68 list_add(&ip->i_ordered, &sdp->sd_log_ordered); 73 void gfs2_ordered_del_inode(struct gfs2_inode *ip);
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_pfc.sh | 163 ip link set dev $swp1 up 166 ip link set dev $swp1.111 type vlan ingress-qos-map 0:0 1:1 180 ip link set dev $swp2 up 183 ip link set dev $swp2.111 type vlan egress-qos-map 0:0 1:1 197 ip link set dev $swp3 up 200 ip link set dev $swp3.111 type vlan egress-qos-map 0:0 1:1 219 ip link set dev $swp4 up 222 ip link set dev $swp4.111 type vlan ingress-qos-map 0:0 1:1 252 ip link add name br1 type bridge vlan_filtering 0 253 ip lin [all...] |
H A D | devlink_trap_l3_exceptions.sh | 65 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2 66 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2 75 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2 76 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2 85 ip -4 route add default vrf v$h2 nexthop via 198.51.100.2 86 ip -6 route add default vrf v$h2 nexthop via 2001:db8:2::2 91 ip -6 route del default vrf v$h2 nexthop via 2001:db8:2::2 92 ip -4 route del default vrf v$h2 nexthop via 198.51.100.2 99 ip link set dev $rp1 up 100 ip lin [all...] |
H A D | devlink_trap_tunnel_vxlan.sh | 62 ip link add name br1 type bridge vlan_filtering 0 mcast_snooping 0 65 ip link set dev br1 address $(mac_get $swp1) 66 ip link set dev br1 up 69 ip link set dev $swp1 master br1 70 ip link set dev $swp1 up 72 ip link add name vx1 type vxlan id 1000 local 192.0.2.17 \ 74 ip link set dev vx1 master br1 75 ip link set dev vx1 up 77 ip address add dev $rp1 192.0.2.17/28 78 ip lin [all...] |
H A D | qos_dscp_bridge.sh | 67 ip link add name br1 type bridge vlan_filtering 1 68 ip link set dev br1 addrgenmode none 69 ip link set dev br1 up 70 ip link set dev $swp1 master br1 71 ip link set dev $swp1 up 72 ip link set dev $swp2 master br1 73 ip link set dev $swp2 up 84 ip link set dev $swp2 down 85 ip link set dev $swp2 nomaster 86 ip lin [all...] |
H A D | rif_mac_profile_scale.sh | 29 ip -b $batch_file &> /dev/null 59 ip link set $h1 up 60 ip link set $h2 up 67 ip link set $h2 down 68 ip link set $h1 down
|
/linux-master/tools/testing/selftests/net/ |
H A D | setup_loopback.sh | 50 ip link add link "${link_dev}" dev "${ns_dev}" \ 58 [[ -e /var/run/netns/"${ns_name}" ]] || ip netns add "${ns_name}" 59 ip link set dev "${ns_dev}" netns "${ns_name}" 60 ip -netns "${ns_name}" link set dev "${ns_dev}" up 62 ip -netns "${ns_name}" addr add dev "${ns_dev}" "${addr}" 72 ip -netns "${ns_name}" link del dev "${ns_dev}" 73 ip netns del "${ns_name}"
|
H A D | srv6_end_next_csid_l3vpn_test.sh | 404 ip netns add "${name}" 436 ip netns del "${nsname}" &>/dev/null || true 443 ip netns del "${nsname}" &>/dev/null || true 470 ip link add "veth-rt-${rt}-${neigh}" netns "${nsname}" \ 507 ip -netns "${nsname}" addr \ 510 ip -netns "${nsname}" link set "${devname}" up 513 ip -netns "${nsname}" link add "${DUMMY_DEVNAME}" type dummy 515 ip -netns "${nsname}" link set "${DUMMY_DEVNAME}" up 516 ip -netns "${nsname}" link set lo up 518 ip netn [all...] |
H A D | srv6_end_x_next_csid_l3vpn_test.sh | 446 ip netns add "${name}" 458 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.all.accept_dad=0 459 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.default.accept_dad=0 460 ip netns exec "${nsname}" sysctl -wq net.ipv6.conf.all.forwarding=1 462 ip netns exec "${nsname}" sysctl -wq net.ipv4.conf.all.rp_filter=0 463 ip netns exec "${nsname}" sysctl -wq net.ipv4.conf.default.rp_filter=0 464 ip netns exec "${nsname}" sysctl -wq net.ipv4.ip_forward=1 486 ip netns del "${nsname}" &>/dev/null || true 493 ip netns del "${nsname}" &>/dev/null || true 520 ip lin [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_ioctl.c | 405 struct xfs_inode *ip, 409 struct xfs_mount *mp = ip->i_mount; 410 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); 412 fileattr_fill_xflags(fa, xfs_ip2xflags(ip)); 414 if (ip->i_diflags & XFS_DIFLAG_EXTSIZE) { 415 fa->fsx_extsize = XFS_FSB_TO_B(mp, ip->i_extsize); 416 } else if (ip->i_diflags & XFS_DIFLAG_EXTSZINHERIT) { 422 if ((ip->i_diflags & XFS_DIFLAG_RTINHERIT) && 423 xfs_extlen_to_rtxmod(mp, ip->i_extsize) > 0) { 428 fa->fsx_extsize = XFS_FSB_TO_B(mp, ip 404 xfs_fill_fsxattr( struct xfs_inode *ip, int whichfork, struct fileattr *fa) argument 442 xfs_ioc_fsgetxattra( xfs_inode_t *ip, void __user *arg) argument 460 struct xfs_inode *ip = XFS_I(d_inode(dentry)); local 473 xfs_flags2diflags( struct xfs_inode *ip, unsigned int xflags) argument 515 xfs_flags2diflags2( struct xfs_inode *ip, unsigned int xflags) argument 533 xfs_ioctl_setattr_xflags( struct xfs_trans *tp, struct xfs_inode *ip, struct fileattr *fa) argument 583 xfs_ioctl_setattr_prepare_dax( struct xfs_inode *ip, struct fileattr *fa) argument 610 xfs_ioctl_setattr_get_trans( struct xfs_inode *ip, struct xfs_dquot *pdqp) argument 643 xfs_ioctl_setattr_check_extsize( struct xfs_inode *ip, struct fileattr *fa) argument 685 xfs_ioctl_setattr_check_cowextsize( struct xfs_inode *ip, struct fileattr *fa) argument 710 xfs_ioctl_setattr_check_projid( struct xfs_inode *ip, struct fileattr *fa) argument 730 struct xfs_inode *ip = XFS_I(d_inode(dentry)); local 929 xfs_ioc_getfsmap( struct xfs_inode *ip, struct fsmap_head __user *arg) argument 1062 xfs_inode_t *ip, *tip; local 1345 struct xfs_inode *ip = XFS_I(inode); local [all...] |
H A D | xfs_health.c | 291 struct xfs_inode *ip, 295 trace_xfs_inode_mark_sick(ip, mask); 297 spin_lock(&ip->i_flags_lock); 298 ip->i_sick |= mask; 299 spin_unlock(&ip->i_flags_lock); 306 spin_lock(&VFS_I(ip)->i_lock); 307 VFS_I(ip)->i_state &= ~I_DONTCACHE; 308 spin_unlock(&VFS_I(ip)->i_lock); 314 struct xfs_inode *ip, 318 trace_xfs_inode_mark_corrupt(ip, mas 290 xfs_inode_mark_sick( struct xfs_inode *ip, unsigned int mask) argument 313 xfs_inode_mark_corrupt( struct xfs_inode *ip, unsigned int mask) argument 337 xfs_inode_mark_healthy( struct xfs_inode *ip, unsigned int mask) argument 354 xfs_inode_measure_sickness( struct xfs_inode *ip, unsigned int *sick, unsigned int *checked) argument 479 xfs_bulkstat_health( struct xfs_inode *ip, struct xfs_bulkstat *bs) argument 501 xfs_bmap_mark_sick( struct xfs_inode *ip, int whichfork) argument 556 xfs_dirattr_mark_sick( struct xfs_inode *ip, int whichfork) argument [all...] |
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | gre_custom_multipath_hash.sh | 90 ip route add vrf v$h1 default via 198.51.100.1 dev $h1 91 ip -6 route add vrf v$h1 default via 2001:db8:1::1 dev $h1 96 ip -6 route del vrf v$h1 default 97 ip route del vrf v$h1 default 108 ip route add vrf v$ol1 192.0.2.2/32 via 192.0.2.18 110 ip route add vrf v$ol1 203.0.113.0/24 dev g1 111 ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1 116 ip -6 route del vrf v$ol1 2001:db8:2::/64 117 ip route del vrf v$ol1 203.0.113.0/24 119 ip rout [all...] |
H A D | ip6gre_custom_multipath_hash.sh | 90 ip route add vrf v$h1 default via 198.51.100.1 dev $h1 91 ip -6 route add vrf v$h1 default via 2001:db8:1::1 dev $h1 96 ip -6 route del vrf v$h1 default 97 ip route del vrf v$h1 default 109 ip route add vrf v$ol1 2001:db8:3::2/128 via 2001:db8:10::2 111 ip route add vrf v$ol1 203.0.113.0/24 dev g1 112 ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1 117 ip -6 route del vrf v$ol1 2001:db8:2::/64 118 ip route del vrf v$ol1 203.0.113.0/24 120 ip rout [all...] |
H A D | sch_ets_core.sh | 172 ip link set dev $h1.1$i type vlan egress 0:$i 213 ip link set dev $swp1 up 216 ip link set dev $swp2 up 221 ip link set dev $swp1.1$i type vlan ingress 0:0 1:1 2:2 225 ip link add dev br1$i type bridge 226 ip link set dev $swp1.1$i master br1$i 227 ip link set dev $swp2.1$i master br1$i 229 ip link set dev br1$i up 230 ip link set dev $swp1.1$i up 231 ip lin [all...] |
H A D | tc_actions.sh | 65 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 69 -t ip -q 79 -t ip -q 86 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 95 tc filter add dev $swp1 ingress protocol ip pref 2 handle 102 flower \ 99 -t ip -q 104 tc filter add dev $swp1 ingress protocol ip pref 1 handle 101 flower \ 108 -t ip -q 116 tc filter del dev $swp1 ingress protocol ip pref 2 handle 102 flower 117 tc filter del dev $swp1 ingress protocol ip pre [all...] |
H A D | tc_chains.sh | 38 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ 42 -t ip -q 47 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ 57 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \ 59 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ 61 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 65 -t ip -q 76 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 77 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower 78 tc filter del dev $h2 ingress chain 1 protocol ip pre [all...] |
/linux-master/lib/zstd/common/ |
H A D | entropy_common.c | 64 const BYTE* ip = istart; local 88 bitStream = MEM_readLE32(ip); 108 if (LIKELY(ip <= iend-7)) { 109 ip += 3; 111 bitCount -= (int)(8 * (iend - 7 - ip)); 113 ip = iend - 4; 115 bitStream = MEM_readLE32(ip) >> bitCount; 137 if (LIKELY(ip <= iend-7) || (ip + (bitCount>>3) <= iend-4)) { 139 ip 267 const BYTE* ip = (const BYTE*) src; local [all...] |
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_sockopt.sh | 27 echo -e "\t-i: use 'ip mptcp' instead of 'pm_nl_ctl'" 55 ip netns exec $ns $t -A OUTPUT -p tcp --syn -m mark --mark $m -j ACCEPT 58 ip netns exec $ns $t -A OUTPUT -p tcp --tcp-flags RST RST -m mark --mark 0 -j ACCEPT 60 ip netns exec $ns $t -A OUTPUT -p tcp -m mark --mark $m -j ACCEPT 61 ip netns exec $ns $t -A OUTPUT -p tcp -m mark --mark 0 -j DROP 71 ip link add ns1eth$i netns "$ns1" type veth peer name ns2eth$i netns "$ns2" 72 ip -net "$ns1" addr add 10.0.$i.1/24 dev ns1eth$i 73 ip -net "$ns1" addr add dead:beef:$i::1/64 dev ns1eth$i nodad 74 ip -net "$ns1" link set ns1eth$i up 76 ip [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_symlink_remote.c | 171 struct xfs_inode *ip, 175 struct xfs_mount *mp = ip->i_mount; 197 buf += xfs_symlink_hdr_set(mp, ip->i_ino, 0, ifp->if_bytes, bp); 238 struct xfs_inode *ip, 241 struct xfs_mount *mp = ip->i_mount; 246 int pathlen = ip->i_disk_size; 254 xfs_assert_ilocked(ip, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL); 257 error = xfs_bmapi_read(ip, 0, fsblocks, mval, &nmaps, 0); 269 xfs_inode_mark_sick(ip, XFS_SICK_INO_SYMLINK); 278 if (!xfs_symlink_hdr_ok(ip 168 xfs_symlink_local_to_remote( struct xfs_trans *tp, struct xfs_buf *bp, struct xfs_inode *ip, struct xfs_ifork *ifp, void *priv) argument 237 xfs_symlink_remote_read( struct xfs_inode *ip, char *link) argument 311 xfs_symlink_write_target( struct xfs_trans *tp, struct xfs_inode *ip, xfs_ino_t owner, const char *target_path, int pathlen, xfs_fsblock_t fs_blocks, uint resblks) argument 387 xfs_symlink_remote_truncate( struct xfs_trans *tp, struct xfs_inode *ip) argument [all...] |
/linux-master/arch/arm/lib/ |
H A D | copy_template.S | 67 * Correction to be applied to the "ip" register when branching into 79 ands ip, r0, #3 82 ands ip, r1, #3 89 CALGN( ands ip, r0, #31 ) 90 CALGN( rsb r3, ip, #32 ) 95 CALGN( add pc, r4, ip ) 105 4: ldr8w r1, r3, r4, r5, r6, r8, r9, ip, lr, abort=20f 107 str8w r0, r3, r4, r5, r6, r8, r9, ip, lr, abort=20f 112 5: ands ip, r2, #28 113 rsb ip, i [all...] |
/linux-master/tools/testing/selftests/x86/ |
H A D | unwind_vdso.c | 64 unsigned long ip; /* trap source */ member in struct:unwind_state 71 unsigned long ip = _Unwind_GetIP(ctx); local 74 if (ip == state->ip) 79 printf("\t 0x%lx\n", ip); 81 if (ip == return_address) { 111 unsigned long ip = ctx->uc_mcontext.gregs[REG_EIP]; local 113 if (!got_sysinfo && ip == sysinfo) { 120 ip, return_address); 126 if (ip [all...] |
/linux-master/kernel/trace/ |
H A D | trace_recursion_record.c | 12 unsigned long ip; member in struct:recursed_functions 25 void ftrace_record_recursion(unsigned long ip, unsigned long parent_ip) argument 33 if (ip == cached_function) 44 * the cmpxchg() below to update the ip will fail. Then this 64 if (recursed_functions[i].ip == ip) { 65 cached_function = ip; 70 cached_function = ip; 78 old = cmpxchg(&recursed_functions[index].ip, 0, ip); [all...] |
/linux-master/samples/bpf/ |
H A D | test_probe_write_user_user.c | 21 char *ip; local 72 ip = inet_ntoa(serv_addr_in->sin_addr); 73 printf("Server bound to: %s:%d\n", ip, ntohs(serv_addr_in->sin_port)); 84 ip = inet_ntoa(mapped_addr_in->sin_addr); 86 ip, ntohs(mapped_addr_in->sin_port)); 90 ip = inet_ntoa(tmp_addr_in->sin_addr); 93 ip, ntohs(tmp_addr_in->sin_port)); 97 ip = inet_ntoa(tmp_addr_in->sin_addr); 99 ip, ntohs(tmp_addr_in->sin_port));
|
/linux-master/fs/ocfs2/dlmfs/ |
H A D | dlmfs.c | 120 struct dlmfs_inode_private *ip; local 143 ip = DLMFS_I(inode); 145 status = user_dlm_cluster_lock(&ip->ip_lockres, level, flags); 166 struct dlmfs_inode_private *ip = DLMFS_I(inode); local 177 user_dlm_cluster_unlock(&ip->ip_lockres, level); 210 struct dlmfs_inode_private *ip = DLMFS_I(inode); local 212 poll_wait(file, &ip->ip_lockres.l_event, wait); 214 spin_lock(&ip->ip_lockres.l_lock); 215 if (ip->ip_lockres.l_flags & USER_LOCK_BLOCKED) 217 spin_unlock(&ip 269 struct dlmfs_inode_private *ip = local 280 struct dlmfs_inode_private *ip; local 297 struct dlmfs_inode_private *ip; local 355 struct dlmfs_inode_private *ip; local 412 struct dlmfs_inode_private *ip; local [all...] |
/linux-master/tools/testing/selftests/net/netfilter/ |
H A D | nft_nat_zones.sh | 64 ip link add veth0 netns "$gw" type veth peer name eth0 netns "$srv" 65 ip -net "$gw" link set veth0 up 66 ip -net "$srv" link set eth0 up 79 if ! ip link add veth"$i" netns "$gw" type veth peer name eth0 netns "$cl" > /dev/null 2>&1;then 87 echo netns exec "$cl" ip link set eth0 up 89 echo netns exec "$gw" ip link set "veth$i" up 94 echo netns exec "$cl" ip addr add 10.1.0.3/24 dev eth0 95 echo netns exec "$cl" ip addr add dead:1::3/64 dev eth0 nodad 96 echo netns exec "$cl" ip route add default via 10.1.0.2 dev eth0 97 echo netns exec "$cl" ip rout [all...] |