/linux-master/arch/sparc/kernel/ |
H A D | ftrace.c | 15 static u32 ftrace_call_replace(unsigned long ip, unsigned long addr) argument 20 off = ((s32)addr - (s32)ip); 26 static int ftrace_modify_code(unsigned long ip, u32 old, u32 new) argument 32 "1: cas [%[ip]], %[old], %[new]\n" 33 " flush %[ip]\n" 47 : [new] "0" (new), [old] "r" (old), [ip] "r" (ip) 58 unsigned long ip = rec->ip; local 61 old = ftrace_call_replace(ip, add 68 unsigned long ip = rec->ip; local 78 unsigned long ip = (unsigned long)(&ftrace_call); local 94 unsigned long ip = (unsigned long)(&ftrace_graph_call); local 104 unsigned long ip = (unsigned long)(&ftrace_graph_call); local [all...] |
/linux-master/lib/lzo/ |
H A D | lzo1x_decompress_safe.c | 23 #define HAVE_IP(x) ((size_t)(ip_end - ip) >= (size_t)(x)) 43 const unsigned char *ip; local 53 ip = in; 58 if (likely(in_len >= 5) && likely(*ip == 17)) { 59 bitstream_version = ip[1]; 60 ip += 2; 65 if (*ip > 17) { 66 t = *ip++ - 17; 75 t = *ip++; 80 const unsigned char *ip_last = ip; [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_reflink.h | 9 static inline bool xfs_is_always_cow_inode(struct xfs_inode *ip) argument 11 return ip->i_mount->m_always_cow && xfs_has_reflink(ip->i_mount); 14 static inline bool xfs_is_cow_inode(struct xfs_inode *ip) argument 16 return xfs_is_reflink_inode(ip) || xfs_is_always_cow_inode(ip); 19 extern int xfs_reflink_trim_around_shared(struct xfs_inode *ip, 21 int xfs_bmap_trim_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap, 24 int xfs_reflink_allocate_cow(struct xfs_inode *ip, struct xfs_bmbt_irec *imap, 27 extern int xfs_reflink_convert_cow(struct xfs_inode *ip, xfs_off_ [all...] |
H A D | xfs_pnfs.c | 33 struct xfs_inode *ip = XFS_I(inode); local 37 xfs_iunlock(ip, *iolock); 42 xfs_ilock(ip, *iolock); 84 struct xfs_inode *ip) 89 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_writeid, 94 xfs_ilock(ip, XFS_ILOCK_EXCL); 95 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); 97 VFS_I(ip)->i_mode &= ~S_ISUID; 98 if (VFS_I(ip) 83 xfs_fs_map_update_inode( struct xfs_inode *ip) argument 119 struct xfs_inode *ip = XFS_I(inode); local 226 xfs_pnfs_validate_isize( struct xfs_inode *ip, xfs_off_t isize) argument 265 struct xfs_inode *ip = XFS_I(inode); local [all...] |
H A D | xfs_bmap_util.c | 41 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) argument 43 if (XFS_IS_REALTIME_INODE(ip)) 44 return XFS_FSB_TO_BB(ip->i_mount, fsb); 45 return XFS_FSB_TO_DADDR(ip->i_mount, fsb); 57 struct xfs_inode *ip, 61 struct xfs_mount *mp = ip->i_mount; 62 struct xfs_buftarg *target = xfs_inode_buftarg(ip); 63 xfs_daddr_t sector = xfs_fsb_to_db(ip, start_fsb); 106 struct xfs_inode *ip, 111 struct xfs_mount *mp = ip 56 xfs_zero_extent( struct xfs_inode *ip, xfs_fsblock_t start_fsb, xfs_off_t count_fsb) argument 104 xfs_bmap_count_blocks( struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, xfs_extnum_t *nextents, xfs_filblks_t *count) argument 152 xfs_getbmap_report_one( struct xfs_inode *ip, struct getbmapx *bmv, struct kgetbmap *out, int64_t bmv_end, struct xfs_bmbt_irec *got) argument 201 xfs_getbmap_report_hole( struct xfs_inode *ip, struct getbmapx *bmv, struct kgetbmap *out, int64_t bmv_end, xfs_fileoff_t bno, xfs_fileoff_t end) argument 256 xfs_getbmap( struct xfs_inode *ip, struct getbmapx *bmv, struct kgetbmap *out) argument 444 xfs_bmap_punch_delalloc_range( struct xfs_inode *ip, xfs_off_t start_byte, xfs_off_t end_byte) argument 496 xfs_can_free_eofblocks( struct xfs_inode *ip, bool force) argument 575 xfs_free_eofblocks( struct xfs_inode *ip) argument 629 xfs_alloc_file_space( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) argument 762 xfs_unmap_extent( struct xfs_inode *ip, xfs_fileoff_t startoffset_fsb, xfs_filblks_t len_fsb, int *done) argument 801 xfs_flush_unmap_range( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) argument 823 xfs_free_file_space( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) argument 892 xfs_prepare_shift( struct xfs_inode *ip, loff_t offset) argument 956 xfs_collapse_file_space( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) argument 1024 xfs_insert_file_space( struct xfs_inode *ip, loff_t offset, loff_t len) argument 1115 xfs_swap_extents_check_format( struct xfs_inode *ip, struct xfs_inode *tip) argument 1197 xfs_swap_extent_flush( struct xfs_inode *ip) argument 1217 xfs_swap_extent_rmap( struct xfs_trans **tpp, struct xfs_inode *ip, struct xfs_inode *tip) argument 1347 xfs_swap_extent_forks( struct xfs_trans *tp, struct xfs_inode *ip, struct xfs_inode *tip, int *src_log_flags, int *target_log_flags) argument 1451 xfs_swap_change_owner( struct xfs_trans **tpp, struct xfs_inode *ip, struct xfs_inode *tmpip) argument 1485 xfs_swap_extents( struct xfs_inode *ip, struct xfs_inode *tip, struct xfs_swapext *sxp) argument [all...] |
H A D | xfs_inode.c | 53 struct xfs_inode *ip) 59 if (xfs_is_always_cow_inode(ip)) 61 if ((ip->i_diflags & XFS_DIFLAG_EXTSIZE) && ip->i_extsize) 62 return ip->i_extsize; 63 if (XFS_IS_REALTIME_INODE(ip)) 64 return ip->i_mount->m_sb.sb_rextsize; 76 struct xfs_inode *ip) 81 if (ip->i_diflags2 & XFS_DIFLAG2_COWEXTSIZE) 82 a = ip 52 xfs_get_extsz_hint( struct xfs_inode *ip) argument 75 xfs_get_cowextsz_hint( struct xfs_inode *ip) argument 107 xfs_ilock_data_map_shared( struct xfs_inode *ip) argument 119 xfs_ilock_attr_map_shared( struct xfs_inode *ip) argument 181 xfs_ilock( xfs_inode_t *ip, uint lock_flags) argument 224 xfs_ilock_nowait( xfs_inode_t *ip, uint lock_flags) argument 284 xfs_iunlock( xfs_inode_t *ip, uint lock_flags) argument 313 xfs_ilock_demote( xfs_inode_t *ip, uint lock_flags) argument 332 xfs_assert_ilocked( struct xfs_inode *ip, uint lock_flags) argument 569 xfs_ip2xflags( struct xfs_inode *ip) argument 660 xfs_inode_inherit_flags( struct xfs_inode *ip, const struct xfs_inode *pip) argument 727 xfs_inode_inherit_flags2( struct xfs_inode *ip, const struct xfs_inode *pip) argument 768 struct xfs_inode *ip; local 894 xfs_droplink( xfs_trans_t *tp, xfs_inode_t *ip) argument 920 xfs_bumplink( xfs_trans_t *tp, xfs_inode_t *ip) argument 958 xfs_dir_update_hook( struct xfs_inode *dp, struct xfs_inode *ip, int delta, const struct xfs_name *name) argument 1017 struct xfs_inode *ip = NULL; local 1177 struct xfs_inode *ip = NULL; local 1368 xfs_itruncate_clear_reflink_flags( struct xfs_inode *ip) argument 1406 xfs_itruncate_extents_flags( struct xfs_trans **tpp, struct xfs_inode *ip, int whichfork, xfs_fsize_t new_size, int flags) argument 1476 xfs_release( xfs_inode_t *ip) argument 1563 xfs_inactive_truncate( struct xfs_inode *ip) argument 1612 xfs_inactive_ifree( struct xfs_inode *ip) argument 1703 xfs_inode_needs_inactive( struct xfs_inode *ip) argument 1757 xfs_inactive_health( struct xfs_inode *ip) argument 1794 xfs_inactive( xfs_inode_t *ip) argument 1945 struct xfs_inode *ip; local 1978 struct xfs_inode *ip; local 2094 xfs_iunlink_insert_inode( struct xfs_trans *tp, struct xfs_perag *pag, struct xfs_buf *agibp, struct xfs_inode *ip) argument 2154 xfs_iunlink( struct xfs_trans *tp, struct xfs_inode *ip) argument 2181 xfs_iunlink_remove_inode( struct xfs_trans *tp, struct xfs_perag *pag, struct xfs_buf *agibp, struct xfs_inode *ip) argument 2256 xfs_iunlink_remove( struct xfs_trans *tp, struct xfs_perag *pag, struct xfs_inode *ip) argument 2287 struct xfs_inode *ip; local 2459 xfs_ifree( struct xfs_trans *tp, struct xfs_inode *ip) argument 2535 xfs_iunpin( struct xfs_inode *ip) argument 2548 __xfs_iunpin_wait( struct xfs_inode *ip) argument 2565 xfs_iunpin_wait( struct xfs_inode *ip) argument 2600 xfs_remove( xfs_inode_t *dp, struct xfs_name *name, xfs_inode_t *ip) argument 3327 xfs_iflush( struct xfs_inode *ip, struct xfs_buf *bp) argument 3495 struct xfs_inode *ip; local 3603 xfs_irele( struct xfs_inode *ip) argument 3614 xfs_log_force_inode( struct xfs_inode *ip) argument 3800 xfs_inode_reload_unlinked_bucket( struct xfs_trans *tp, struct xfs_inode *ip) argument 3889 xfs_inode_reload_unlinked( struct xfs_inode *ip) argument 3910 xfs_ifork_zapped( const struct xfs_inode *ip, int whichfork) argument 3936 xfs_inode_count_blocks( struct xfs_trans *tp, struct xfs_inode *ip, xfs_filblks_t *dblocks, xfs_filblks_t *rblocks) argument [all...] |
/linux-master/samples/bpf/ |
H A D | lwt_len_hist.sh | 13 ip route del 192.168.253.2/32 dev $VETH0 2> /dev/null 14 ip link del $VETH0 2> /dev/null 15 ip link del $VETH1 2> /dev/null 16 ip netns exec $NS1 killall netserver 17 ip netns delete $NS1 2> /dev/null 22 ip netns add $NS1 23 ip link add $VETH0 type veth peer name $VETH1 24 ip link set dev $VETH0 up 25 ip addr add 192.168.253.1/24 dev $VETH0 26 ip lin [all...] |
/linux-master/tools/testing/selftests/netfilter/ |
H A D | nf_nat_edemux.sh | 19 ip netns del $ns1 20 ip netns del $ns2 35 ip -Version > /dev/null 2>&1 37 echo "SKIP: Could not run test without ip tool" 41 ip netns add "$ns1" 49 ip netns add $ns2 52 ip link add name veth2 type veth peer name veth1 53 ip link set netns $ns1 dev veth1 54 ip link set netns $ns2 dev veth2 56 ip netn [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | test_vxlan_under_vrf.sh | 50 ip link del veth-hv-1 2>/dev/null || true 51 ip link del veth-tap 2>/dev/null || true 69 ip link add veth-hv-1 type veth peer name veth-hv-2 73 ip link set veth-hv-$id netns ${hv[$id]} 74 ip -netns ${hv[$id]} link set veth-hv-$id name veth0 76 ip -netns ${hv[$id]} link add vrf-underlay type vrf table 1 77 ip -netns ${hv[$id]} link set vrf-underlay up 78 ip -netns ${hv[$id]} addr add 172.16.0.$id/24 dev veth0 79 ip -netns ${hv[$id]} link set veth0 up 81 ip [all...] |
H A D | ip6_gre_headroom.sh | 9 ip link add h1 type veth peer name swp1 10 ip link add h3 type veth peer name swp3 12 ip link set dev h1 up 13 ip address add 192.0.2.1/28 dev h1 15 ip link add dev vh3 type vrf table 20 16 ip link set dev h3 master vh3 17 ip link set dev vh3 up 18 ip link set dev h3 up 20 ip link set dev swp3 up 21 ip addres [all...] |
H A D | unicast_extensions.sh | 67 ip -n $foo_ns address add $1/$3 dev foo || return 1 68 ip -n $foo_ns link set foo up || return 1 69 ip -n $bar_ns address add $2/$3 dev bar || return 1 70 ip -n $bar_ns link set bar up || return 1 72 ip netns exec $foo_ns timeout 2 ping -c 1 $2 || return 1 73 ip netns exec $bar_ns timeout 2 ping -c 1 $1 || return 1 95 ip -n $foo_ns address add $1/$5 dev foo || return 1 96 ip -n $foo_ns link set foo up || return 1 97 ip -n $foo_ns route add default via $2 || return 1 98 ip [all...] |
/linux-master/drivers/gpu/drm/lima/ |
H A D | lima_mmu.c | 13 #define mmu_write(reg, data) writel(data, ip->iomem + reg) 14 #define mmu_read(reg) readl(ip->iomem + reg) 21 __ret = readl_poll_timeout(ip->iomem + (addr), val, \ 26 lima_ip_name(ip), cmd); \ 32 struct lima_ip *ip = data; local 33 struct lima_device *dev = ip->dev; 45 lima_ip_name(ip), fault, LIMA_MMU_STATUS_BUS_ID(status), 50 dev_err(dev->dev, "%s irq bus error\n", lima_ip_name(ip)); 56 pipe = dev->pipe + (ip->id == lima_ip_gpmmu ? lima_pipe_gp : lima_pipe_pp); 62 static int lima_mmu_hw_init(struct lima_ip *ip) argument 82 lima_mmu_resume(struct lima_ip *ip) argument 90 lima_mmu_suspend(struct lima_ip *ip) argument 95 lima_mmu_init(struct lima_ip *ip) argument 119 lima_mmu_fini(struct lima_ip *ip) argument 124 lima_mmu_flush_tlb(struct lima_ip *ip) argument 129 lima_mmu_switch_vm(struct lima_ip *ip, struct lima_vm *vm) argument 148 lima_mmu_page_fault_resume(struct lima_ip *ip) argument [all...] |
/linux-master/drivers/net/ethernet/sgi/ |
H A D | ioc3-eth.c | 36 #include <linux/ip.h> 48 #include <net/ip.h> 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, argument 139 d = dma_map_single(ip->dma_dev, new_skb->data, 142 if (dma_mapping_error(ip->dma_dev, d)) { 229 struct ioc3_private *ip local 243 struct ioc3_private *ip = netdev_priv(dev); local 260 struct ioc3_private *ip = netdev_priv(dev); local 275 struct ioc3_private *ip = netdev_priv(dev); local 290 struct ioc3_private *ip = netdev_priv(dev); local 367 struct ioc3_private *ip = netdev_priv(dev); local 447 struct ioc3_private *ip = netdev_priv(dev); local 494 struct ioc3_private *ip = netdev_priv(dev); local 534 struct ioc3_private *ip = netdev_priv(dev_id); local 553 ioc3_setup_duplex(struct ioc3_private *ip) argument 573 struct ioc3_private *ip = from_timer(ip, t, ioc3_timer); local 587 ioc3_mii_init(struct ioc3_private *ip) argument 604 ioc3_mii_start(struct ioc3_private *ip) argument 610 ioc3_tx_unmap(struct ioc3_private *ip, int entry) argument 630 ioc3_clean_tx_ring(struct ioc3_private *ip) argument 648 ioc3_free_rx_bufs(struct ioc3_private *ip) argument 670 struct ioc3_private *ip = netdev_priv(dev); local 692 ioc3_ssram_disc(struct ioc3_private *ip) argument 718 struct ioc3_private *ip = netdev_priv(dev); local 740 ioc3_start(struct ioc3_private *ip) argument 772 ioc3_stop(struct ioc3_private *ip) argument 783 struct ioc3_private *ip = netdev_priv(dev); local 802 struct ioc3_private *ip = netdev_priv(dev); local 831 struct ioc3_private *ip; local 968 struct ioc3_private *ip = netdev_priv(dev); local 981 struct ioc3_private *ip = netdev_priv(dev); local 1110 struct ioc3_private *ip = netdev_priv(dev); local 1168 struct ioc3_private *ip = netdev_priv(dev); local 1180 struct ioc3_private *ip = netdev_priv(dev); local 1192 struct ioc3_private *ip = netdev_priv(dev); local 1204 struct ioc3_private *ip = netdev_priv(dev); local 1224 struct ioc3_private *ip = netdev_priv(dev); local 1236 struct ioc3_private *ip = netdev_priv(dev); local [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_inode_fork.c | 35 struct xfs_inode *ip, 40 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); 50 zero_terminate = S_ISLNK(VFS_I(ip)->i_mode); 75 struct xfs_inode *ip, 85 if (unlikely(size > XFS_DFORK_SIZE(dip, ip->i_mount, whichfork))) { 86 xfs_warn(ip->i_mount, 88 (unsigned long long) ip->i_ino, size, 89 XFS_DFORK_SIZE(dip, ip->i_mount, whichfork)); 90 xfs_inode_verifier_error(ip, -EFSCORRUPTED, 93 xfs_inode_mark_sick(ip, XFS_SICK_INO_COR 34 xfs_init_local_fork( struct xfs_inode *ip, int whichfork, const void *data, int64_t size) argument 74 xfs_iformat_local( struct xfs_inode *ip, struct xfs_dinode *dip, int whichfork, int size) argument 106 xfs_iformat_extents( struct xfs_inode *ip, struct xfs_dinode *dip, int whichfork) argument 173 xfs_iformat_btree( struct xfs_inode *ip, struct xfs_dinode *dip, int whichfork) argument 232 xfs_iformat_data_fork( struct xfs_inode *ip, struct xfs_dinode *dip) argument 298 xfs_ifork_init_attr( struct xfs_inode *ip, enum xfs_dinode_fmt format, xfs_extnum_t nextents) argument 317 xfs_ifork_zap_attr( struct xfs_inode *ip) argument 326 xfs_iformat_attr_fork( struct xfs_inode *ip, struct xfs_dinode *dip) argument 384 xfs_iroot_realloc( xfs_inode_t *ip, int rec_diff, int whichfork) argument 511 xfs_idata_realloc( struct xfs_inode *ip, int64_t byte_diff, int whichfork) argument 566 xfs_iextents_copy( struct xfs_inode *ip, struct xfs_bmbt_rec *dp, int whichfork) argument 606 xfs_iflush_fork( struct xfs_inode *ip, struct xfs_dinode *dip, struct xfs_inode_log_item *iip, int whichfork) argument 682 xfs_iext_state_to_fork( struct xfs_inode *ip, int state) argument 697 xfs_ifork_init_cow( struct xfs_inode *ip) argument 710 xfs_ifork_verify_local_data( struct xfs_inode *ip) argument 745 xfs_ifork_verify_local_attr( struct xfs_inode *ip) argument 769 xfs_iext_count_may_overflow( struct xfs_inode *ip, int whichfork, int nr_to_add) argument 800 xfs_iext_count_upgrade( struct xfs_trans *tp, struct xfs_inode *ip, uint nr_to_add) argument 820 xfs_ifork_is_realtime( struct xfs_inode *ip, int whichfork) argument [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_xdping.sh | 38 ip netns add $TARGET_NS 39 ip link add veth0 type veth peer name veth1 40 ip link set veth0 netns $TARGET_NS 41 ip netns exec $TARGET_NS ip addr add ${TARGET_IP}/24 dev veth0 42 ip addr add ${LOCAL_IP}/24 dev veth1 43 ip netns exec $TARGET_NS ip link set veth0 up 44 ip link set veth1 up 50 ip netn [all...] |
H A D | test_xdp_redirect.sh | 22 ip netns add ${NS1} 23 ip netns add ${NS2} 25 ip link add veth1 index 111 type veth peer name veth11 netns ${NS1} 26 ip link add veth2 index 222 type veth peer name veth22 netns ${NS2} 28 ip link set veth1 up 29 ip link set veth2 up 30 ip -n ${NS1} link set dev veth11 up 31 ip -n ${NS2} link set dev veth22 up 33 ip -n ${NS1} addr add 10.1.1.11/24 dev veth11 34 ip [all...] |
H A D | test_xdp_vlan.sh | 54 echo " ip netns exec ${NS1} bash" 55 echo " ip netns exec ${NS2} bash" 60 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 124 echo "selftests: $TESTNAME [SKIP] need ip xdp support" 130 ip link del veth1 2> /dev/null 131 ip netns del ${NS1} 2> /dev/null 132 ip netn [all...] |
/linux-master/fs/jfs/ |
H A D | jfs_extent.h | 9 #define INOHINT(ip) \ 10 (addressPXD(&(JFS_IP(ip)->ixpxd)) + lengthPXD(&(JFS_IP(ip)->ixpxd)) - 1)
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | mirror_topo_lib.sh | 60 ip link set dev $swp3 up 62 ip link add name br1 type bridge vlan_filtering 1 63 ip link set dev br1 addrgenmode none 64 ip link set dev br1 up 66 ip link set dev $swp1 master br1 67 ip link set dev $swp1 up 69 ip link set dev $swp2 master br1 70 ip link set dev $swp2 up 79 ip link set dev $swp1 down 80 ip lin [all...] |
H A D | router_mpath_nh.sh | 20 ip link set dev $h1 master vrf-h1 22 ip link set dev vrf-h1 up 23 ip link set dev $h1 up 25 ip address add 192.0.2.2/24 dev $h1 26 ip address add 2001:db8:1::2/64 dev $h1 28 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 29 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 34 ip route del 2001:db8:2::/64 vrf vrf-h1 35 ip route del 198.51.100.0/24 vrf vrf-h1 37 ip addres [all...] |
H A D | router_multipath.sh | 11 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 addres [all...] |
/linux-master/tools/testing/selftests/drivers/net/bonding/ |
H A D | bond-lladdr-target.sh | 30 ip netns del $sw 31 ip netns del $host 46 ip netns add $sw 47 ip netns add $host 49 ip -n $host link add veth0 type veth peer name veth0 netns $sw 50 ip -n $host link add veth1 type veth peer name veth1 netns $sw 52 ip -n $sw link add br0 type bridge 53 ip -n $sw link set br0 up 54 sw_lladdr=$(ip -n $sw addr show br0 | awk '/fe80/{print $2}' | cut -d'/' -f1) 56 slowwait 2 wait_lladdr_dad ip [all...] |
H A D | bond-eth-type-change.sh | 20 ip -d l sh dev "$bonddev" | grep -q "MASTER" 23 ip -d l sh dev "$bonddev" | grep -q "SLAVE" 38 ip link add name "$nonethdev" type nlmon 40 ip link add name "$devbond0" type bond 43 ip link set dev "$devbond0" type bond mode active-backup 46 ip link add name "$devbond1" type bond 47 ip link add name "$devbond2" type bond 48 ip link set dev "$devbond0" master "$devbond1" 51 ip link set dev "$nonethdev" master "$devbond0" 1>/dev/null 2>/dev/null 52 ip lin [all...] |
/linux-master/fs/gfs2/ |
H A D | quota.h | 18 int gfs2_qa_get(struct gfs2_inode *ip); 19 void gfs2_qa_put(struct gfs2_inode *ip); 20 int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid); 21 void gfs2_quota_unhold(struct gfs2_inode *ip); 23 int gfs2_quota_lock(struct gfs2_inode *ip, kuid_t uid, kgid_t gid); 24 void gfs2_quota_unlock(struct gfs2_inode *ip); 26 int gfs2_quota_check(struct gfs2_inode *ip, kuid_t uid, kgid_t gid, 28 void gfs2_quota_change(struct gfs2_inode *ip, s64 change, 40 static inline int gfs2_quota_lock_check(struct gfs2_inode *ip, argument 43 struct gfs2_sbd *sdp = GFS2_SB(&ip [all...] |
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | rif_bridge.sh | 25 ip link set dev lag1 addrgenmode none 26 ip link set dev lag1 address $(mac_get $swp1) 29 ip link set dev lag2 addrgenmode none 30 ip link set dev lag2 address $(mac_get $swp2) 32 ip link add name br1 type bridge vlan_filtering 1 33 ip link set dev br1 addrgenmode none 34 ip link set dev br1 address $(mac_get lag1) 35 ip link set dev br1 up 37 ip link set dev lag1 master br1 39 ip lin [all...] |