/linux-master/fs/xfs/ |
H A D | xfs_aops.c | 49 struct xfs_inode *ip, 53 struct xfs_mount *mp = ip->i_mount; 62 xfs_ilock(ip, XFS_ILOCK_EXCL); 63 isize = xfs_new_eof(ip, offset + size); 65 xfs_iunlock(ip, XFS_ILOCK_EXCL); 70 trace_xfs_setfilesize(ip, offset, size); 72 ip->i_disk_size = isize; 73 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); 74 xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); 86 struct xfs_inode *ip local 48 xfs_setfilesize( struct xfs_inode *ip, xfs_off_t offset, size_t size) argument 158 struct xfs_inode *ip = local 183 struct xfs_inode *ip = XFS_I(ioend->io_inode); local 199 xfs_imap_valid( struct iomap_writepage_ctx *wpc, struct xfs_inode *ip, loff_t offset) argument 245 xfs_convert_blocks( struct iomap_writepage_ctx *wpc, struct xfs_inode *ip, int whichfork, loff_t offset) argument 282 struct xfs_inode *ip = XFS_I(inode); local 470 struct xfs_inode *ip = XFS_I(folio->mapping->host); local 515 struct xfs_inode *ip = XFS_I(mapping->host); local 527 struct xfs_inode *ip = XFS_I(mapping->host); local [all...] |
H A D | xfs_reflink.c | 170 struct xfs_inode *ip, 174 struct xfs_mount *mp = ip->i_mount; 183 if (!xfs_is_cow_inode(ip) || !xfs_bmap_is_written_extent(irec)) { 188 trace_xfs_reflink_trim_around_shared(ip, irec); 230 struct xfs_inode *ip, 235 if (xfs_is_always_cow_inode(ip) && 242 return xfs_reflink_trim_around_shared(ip, imap, shared); 247 struct xfs_inode *ip, 257 if (!xfs_iext_lookup_extent(ip, ip 169 xfs_reflink_trim_around_shared( struct xfs_inode *ip, struct xfs_bmbt_irec *irec, bool *shared) argument 229 xfs_bmap_trim_cow( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, bool *shared) argument 246 xfs_reflink_convert_cow_locked( struct xfs_inode *ip, xfs_fileoff_t offset_fsb, xfs_filblks_t count_fsb) argument 285 xfs_reflink_convert_cow( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t count) argument 310 xfs_find_trim_cow_extent( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, bool *found) argument 348 xfs_reflink_convert_unwritten( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool convert_now) argument 381 xfs_reflink_fill_cow_hole( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, uint *lockmode, bool convert_now) argument 449 xfs_reflink_fill_delalloc( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, uint *lockmode, bool convert_now) argument 520 xfs_reflink_allocate_cow( struct xfs_inode *ip, struct xfs_bmbt_irec *imap, struct xfs_bmbt_irec *cmap, bool *shared, uint *lockmode, bool convert_now) argument 578 xfs_reflink_cancel_cow_blocks( struct xfs_inode *ip, struct xfs_trans **tpp, xfs_fileoff_t offset_fsb, xfs_fileoff_t end_fsb, bool cancel_real) argument 661 xfs_reflink_cancel_cow_range( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t count, bool cancel_real) argument 720 xfs_reflink_end_cow_extent( struct xfs_inode *ip, xfs_fileoff_t *offset_fsb, xfs_fileoff_t end_fsb) argument 861 xfs_reflink_end_cow( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t count) argument 1153 xfs_reflink_remap_extent( struct xfs_inode *ip, struct xfs_bmbt_irec *dmap, xfs_off_t new_isize) argument 1435 xfs_reflink_zero_posteof( struct xfs_inode *ip, loff_t pos) argument 1560 xfs_reflink_inode_has_shared_extents( struct xfs_trans *tp, struct xfs_inode *ip, bool *has_shared) argument 1618 xfs_reflink_clear_inode_flag( struct xfs_inode *ip, struct xfs_trans **tpp) argument 1654 xfs_reflink_try_clear_inode_flag( struct xfs_inode *ip) argument 1691 xfs_reflink_unshare( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) argument [all...] |
H A D | xfs_aops.h | 12 int xfs_setfilesize(struct xfs_inode *ip, xfs_off_t offset, size_t size);
|
/linux-master/tools/testing/selftests/netfilter/ |
H A D | rpath.sh | 38 trap "ip netns del $ns1; ip netns del $ns2" EXIT 42 ip netns add "$ns1" 43 ip netns add "$ns2" 44 ip netns exec "$ns2" sysctl -q net.ipv4.conf.all.rp_filter=0 45 ip netns exec "$ns2" sysctl -q net.ipv4.conf.default.rp_filter=0 46 ip netns exec "$ns2" sysctl -q net.ipv6.conf.all.keep_addr_on_down=1 49 ip -net "$ns1" link add v0 type veth peer name v0 netns "$ns2" 50 ip -net "$ns1" link set v0 up; ip [all...] |
H A D | bridge_netfilter.sh | 28 ip -Version > /dev/null 2>&1 30 echo "SKIP: Could not run test without ip tool" 35 eval ip netns add \$ns$i 39 for i in $(seq 0 4); do eval ip netns del \$ns$i;done 49 ip netns exec $fromns ping -c 1 -q $dstip > /dev/null 52 ip netns exec ${ns0} nft list ruleset 63 ip netns exec $fromns ping -q -f -b -c 1 -q $dstip > /dev/null 2>&1 66 ip netns exec ${ns0} nft list ruleset 71 ip link add veth1 netns ${ns0} type veth peer name eth0 netns ${ns1} 77 ip lin [all...] |
/linux-master/fs/gfs2/ |
H A D | xattr.c | 84 typedef int (*ea_call_t) (struct gfs2_inode *ip, struct buffer_head *bh, 88 static int ea_foreach_i(struct gfs2_inode *ip, struct buffer_head *bh, argument 91 struct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode); 95 if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), bh, GFS2_METATYPE_EA)) 106 error = ea_call(ip, bh, ea, prev, data); 121 gfs2_consist_inode(ip); 125 static int ea_foreach(struct gfs2_inode *ip, ea_call_t ea_call, void *data) argument 131 error = gfs2_meta_read(ip->i_gl, ip->i_eattr, DIO_WAIT, 0, &bh); 135 if (!(ip 175 ea_find_i(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, void *private) argument 199 gfs2_ea_find(struct gfs2_inode *ip, int type, const char *name, struct gfs2_ea_location *el) argument 229 ea_dealloc_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, void *private) argument 324 ea_remove_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, int leave) argument 350 ea_list_i(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, void *private) argument 414 struct gfs2_inode *ip = GFS2_I(d_inode(dentry)); local 453 gfs2_iter_unstuffed(struct gfs2_inode *ip, struct gfs2_ea_header *ea, const char *din, char *dout) argument 518 gfs2_ea_get_copy(struct gfs2_inode *ip, struct gfs2_ea_location *el, char *data, size_t size) argument 536 gfs2_xattr_acl_get(struct gfs2_inode *ip, const char *name, char **ppdata) argument 580 struct gfs2_inode *ip = GFS2_I(inode); local 607 struct gfs2_inode *ip = GFS2_I(inode); local 634 ea_alloc_blk(struct gfs2_inode *ip, struct buffer_head **bhp) argument 674 ea_write(struct gfs2_inode *ip, struct gfs2_ea_header *ea, struct gfs2_ea_request *er) argument 737 ea_alloc_skeleton(struct gfs2_inode *ip, struct gfs2_ea_request *er, unsigned int blks, ea_skeleton_call_t skeleton_call, void *private) argument 778 ea_init_i(struct gfs2_inode *ip, struct gfs2_ea_request *er, void *private) argument 801 ea_init(struct gfs2_inode *ip, int type, const char *name, const void *data, size_t size) argument 837 ea_set_remove_stuffed(struct gfs2_inode *ip, struct gfs2_ea_location *el) argument 871 ea_set_simple_noalloc(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct ea_set *es) argument 898 ea_set_simple_alloc(struct gfs2_inode *ip, struct gfs2_ea_request *er, void *private) argument 920 ea_set_simple(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, void *private) argument 967 ea_set_block(struct gfs2_inode *ip, struct gfs2_ea_request *er, void *private) argument 1041 ea_set_i(struct gfs2_inode *ip, int type, const char *name, const void *value, size_t size, struct gfs2_ea_location *el) argument 1073 ea_set_remove_unstuffed(struct gfs2_inode *ip, struct gfs2_ea_location *el) argument 1085 ea_remove_stuffed(struct gfs2_inode *ip, struct gfs2_ea_location *el) argument 1130 gfs2_xattr_remove(struct gfs2_inode *ip, int type, const char *name) argument 1171 struct gfs2_inode *ip = GFS2_I(inode); local 1233 struct gfs2_inode *ip = GFS2_I(inode); local 1262 ea_dealloc_indirect(struct gfs2_inode *ip) argument 1382 ea_dealloc_block(struct gfs2_inode *ip) argument 1438 gfs2_ea_dealloc(struct gfs2_inode *ip) argument [all...] |
H A D | aops.h | 12 void gfs2_trans_add_databufs(struct gfs2_inode *ip, struct folio *folio,
|
/linux-master/include/linux/ |
H A D | trace_recursion.h | 125 extern void ftrace_record_recursion(unsigned long ip, unsigned long parent_ip); 126 # define do_ftrace_record_recursion(ip, pip) \ 130 ftrace_record_recursion(ip, pip); \ 135 # define do_ftrace_record_recursion(ip, pip) do { } while (0) 139 # define trace_warn_on_no_rcu(ip) \ 144 WARN_ONCE(true, "RCU not on for: %pS\n", (void *)ip); \ 150 # define trace_warn_on_no_rcu(ip) false 156 static __always_inline int trace_test_and_set_recursion(unsigned long ip, unsigned long pip, argument 162 if (trace_warn_on_no_rcu(ip)) 177 do_ftrace_record_recursion(ip, pi 210 ftrace_test_recursion_trylock(unsigned long ip, unsigned long parent_ip) argument [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | fib_nexthop_nongw.sh | 70 # Add a fake eth0 to support an ip address 71 ip -n $h1 link add name eth0 type dummy 72 ip -n $h1 link set eth0 up 73 ip -n $h1 address add 192.168.0.1/24 dev eth0 76 ip -n $h1 link add name veth0 type veth peer name veth1 netns $h2 77 ip -n $h1 link set veth0 up 79 ip -n $h2 link set veth1 up 82 ip -n $h2 address add 192.168.1.1/32 dev veth1 83 ip -n $h2 route add default dev veth1 86 ip [all...] |
H A D | altnames.sh | 20 ip link property add $DUMMY_DEV altname $SHORT_NAME 23 output=$(ip -j -p link show $SHORT_NAME) 32 ip -j -p link show $DUMMY_DEV &>/dev/null 35 ip link property add $DUMMY_DEV altname $LONG_NAME 38 output=$(ip -j -p link show $LONG_NAME) 47 ip link property del $DUMMY_DEV altname $SHORT_NAME 50 ip -j -p link show $SHORT_NAME &>/dev/null 60 ip link add name $DUMMY_DEV type dummy 66 ip link del name $DUMMY_DEV
|
H A D | icmp_redirect.sh | 122 addr=$(ip -netns $ns -6 -br addr show dev ${dev} | \ 151 ip -netns ${ns} link add ${VRF} type vrf table ${VRF_TABLE} 152 ip -netns ${ns} link set ${VRF} up 153 ip -netns ${ns} route add vrf ${VRF} unreachable default metric 8192 154 ip -netns ${ns} -6 route add vrf ${VRF} unreachable default metric 8192 156 ip -netns ${ns} addr add 127.0.0.1/8 dev ${VRF} 157 ip -netns ${ns} -6 addr add ::1 dev ${VRF} nodad 159 ip -netns ${ns} ru del pref 0 160 ip -netns ${ns} ru add pref 32765 from all lookup local 161 ip [all...] |
H A D | sctp_vrf.sh | 23 ip net exec $CLIENT_NS1 sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null 24 ip net exec $CLIENT_NS2 sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null 25 ip net exec $SERVER_NS sysctl -w net.ipv6.conf.default.accept_dad=0 2>&1 >/dev/null 27 ip -n $SERVER_NS link add veth1 type veth peer name veth1 netns $CLIENT_NS1 28 ip -n $SERVER_NS link add veth2 type veth peer name veth1 netns $CLIENT_NS2 30 ip -n $CLIENT_NS1 link set veth1 up 31 ip -n $CLIENT_NS1 addr add $CLIENT_IP4/24 dev veth1 32 ip -n $CLIENT_NS1 addr add $CLIENT_IP6/24 dev veth1 34 ip -n $CLIENT_NS2 link set veth1 up 35 ip [all...] |
/linux-master/include/trace/events/ |
H A D | module.h | 72 TP_PROTO(struct module *mod, unsigned long ip), 74 TP_ARGS(mod, ip), 77 __field( unsigned long, ip ) 83 __entry->ip = ip; 89 __get_str(name), (void *)__entry->ip, __entry->refcnt) 94 TP_PROTO(struct module *mod, unsigned long ip), 96 TP_ARGS(mod, ip) 101 TP_PROTO(struct module *mod, unsigned long ip), 103 TP_ARGS(mod, ip) [all...] |
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | mirror_gre_nh.sh | 40 ip address add dev $swp3 192.0.2.161/28 41 ip address add dev $h3 192.0.2.162/28 42 ip address add dev gt4 192.0.2.129/32 43 ip address add dev h3-gt4 192.0.2.130/32 48 ip address add dev $swp3 2001:db8:4::1/64 49 ip -6 route add 2001:db8:2::2/128 via 2001:db8:4::2 50 ip address add dev $h3 2001:db8:4::2/64 51 ip address add dev gt6 2001:db8:2::1 52 ip address add dev h3-gt6 2001:db8:2::2 59 ip [all...] |
H A D | bridge_vlan_unaware.sh | 30 ip link add dev br0 type bridge \ 34 ip link set dev $swp1 master br0 35 ip link set dev $swp2 master br0 37 ip link set dev br0 up 38 ip link set dev $swp1 up 39 ip link set dev $swp2 up 44 ip link set dev $swp2 down 45 ip link set dev $swp1 down 47 ip link del dev br0
|
H A D | router_bridge_1d.sh | 44 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2 45 ip -4 route add 192.0.2.144/28 vrf v$h1 nexthop via 192.0.2.18 46 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2 47 ip -6 route add 2001:db8:4::/64 vrf v$h1 nexthop via 2001:db8:3::2 52 ip -6 route del 2001:db8:4::/64 vrf v$h1 53 ip -6 route del 2001:db8:2::/64 vrf v$h1 54 ip -4 route del 192.0.2.144/28 vrf v$h1 55 ip -4 route del 192.0.2.128/28 vrf v$h1 65 ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.129 66 ip [all...] |
H A D | router_bridge.sh | 44 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.2 45 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2 50 ip -6 route del 2001:db8:2::/64 vrf v$h1 51 ip -4 route del 192.0.2.128/28 vrf v$h1 58 ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.129 59 ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1 64 ip -6 route del 2001:db8:1::/64 vrf v$h2 65 ip -4 route del 192.0.2.0/28 vrf v$h2 71 ip link add name br1 address $(mac_get $swp1) \ 73 ip lin [all...] |
H A D | router.sh | 43 ip link set dev $h1 master vrf-h1 45 ip link set dev vrf-h1 up 46 ip link set dev $h1 up 48 ip address add 192.0.2.2/24 dev $h1 49 ip address add 2001:db8:1::2/64 dev $h1 51 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 52 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 57 ip route del 2001:db8:2::/64 vrf vrf-h1 58 ip route del 198.51.100.0/24 vrf vrf-h1 60 ip addres [all...] |
/linux-master/arch/arm/boot/compressed/ |
H A D | ll_char_wr.S | 35 @ Smashable regs: {r0 - r3}, [r4 - r7], (r8 - fp), [ip], (sp), [lr], (pc) 44 adr ip, LC0 45 ldmia ip, {r3, r4, r5, r6, lr} 46 sub ip, ip, r3 47 add r6, r6, ip 48 add lr, lr, ip 49 ldr r4, [r4, ip] 50 ldr r5, [r5, ip] 62 @ Smashable regs: {r0 - r3}, [r4], {r5 - r7}, (r8 - fp), [ip], (s [all...] |
/linux-master/tools/testing/selftests/drivers/net/bonding/ |
H A D | bond_topo_3d1c.sh | 38 ip -n ${s_ns} link add eth${i} type veth peer name s${i} netns ${g_ns} 39 ip -n ${g_ns} link set s${i} up 40 ip -n ${g_ns} link set s${i} master br0 41 ip -n ${s_ns} link set eth${i} master bond0
|
/linux-master/fs/xfs/scrub/ |
H A D | nlinks.h | 92 xchk_nlink_total(struct xfs_inode *ip, const struct xchk_nlink *live) argument 97 if (ip && S_ISDIR(VFS_I(ip)->i_mode) && VFS_I(ip)->i_nlink)
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | rif_lag_vlan.sh | 23 ip link set dev lag1 addrgenmode none 24 ip link set dev lag1 address $(mac_get $swp1) 27 ip link set dev lag2 addrgenmode none 28 ip link set dev lag2 address $(mac_get $swp2) 30 ip link set dev $swp1 master lag1 31 ip link set dev $swp1 up 33 ip link set dev $swp2 master lag2 34 ip link set dev $swp2 up 37 ip link set dev lag1.100 addrgenmode none 40 ip lin [all...] |
/linux-master/arch/mips/kernel/ |
H A D | process.c | 193 static inline int is_jr_ra_ins(union mips_instruction *ip) argument 200 if (mm_insn_16bit(ip->word >> 16)) { 201 if (ip->mm16_r5_format.opcode == mm_pool16c_op && 202 ip->mm16_r5_format.rt == mm_jr16_op && 203 ip->mm16_r5_format.imm == 31) 208 if (ip->r_format.opcode == mm_pool32a_op && 209 ip->r_format.func == mm_pool32axf_op && 210 ((ip->u_format.uimmediate >> 6) & GENMASK(9, 0)) == mm_jalr_op && 211 ip->r_format.rt == 31) 215 if (ip 223 is_ra_save_ins(union mips_instruction *ip, int *poff) argument 317 is_jump_ins(union mips_instruction *ip) argument 354 is_sp_move_ins(union mips_instruction *ip, int *frame_size) argument 408 union mips_instruction insn, *ip, *ip_end; local 482 union mips_instruction *ip = (void *)schedule; local [all...] |
/linux-master/arch/powerpc/kernel/trace/ |
H A D | ftrace_64_pg.c | 46 ftrace_call_replace(unsigned long ip, unsigned long addr, int link) argument 53 create_branch(&op, (u32 *)ip, addr, link ? BRANCH_SET_LINK : 0); 59 ftrace_modify_code(unsigned long ip, ppc_inst_t old, ppc_inst_t new) argument 72 if (copy_inst_from_kernel_nofault(&replaced, (void *)ip)) 77 pr_err("%p: replaced (%08lx) != old (%08lx)", (void *)ip, 83 return patch_instruction((u32 *)ip, new); 89 static int test_24bit_addr(unsigned long ip, unsigned long addr) argument 93 return is_offset_in_branch_range(addr - ip); 106 static unsigned long find_bl_target(unsigned long ip, ppc_inst_t op) argument 115 return ip 124 unsigned long ip = rec->ip; local 222 find_ftrace_tramp(unsigned long ip) argument 310 unsigned long tramp, ip = rec->ip; local 350 unsigned long ip = rec->ip; local 399 expected_nop_sequence(void *ip, ppc_inst_t op0, ppc_inst_t op1) argument 412 void *ip = (void *)rec->ip; local 473 void *ip = (void *)rec->ip; local 516 unsigned long ip = rec->ip; local 556 unsigned long ip = rec->ip; local 647 unsigned long ip = rec->ip; local 685 unsigned long ip = (unsigned long)(&ftrace_call); local 774 unsigned long ip = (unsigned long)(&ftrace_graph_call); local 803 __prepare_ftrace_return(unsigned long parent, unsigned long ip, unsigned long sp) argument 829 ftrace_graph_func(unsigned long ip, unsigned long parent_ip, struct ftrace_ops *op, struct ftrace_regs *fregs) argument 835 prepare_ftrace_return(unsigned long parent, unsigned long ip, unsigned long sp) argument [all...] |
/linux-master/arch/arm/lib/ |
H A D | div64.S | 42 * Clobbered regs: xl, ip 49 subs ip, r4, #1 51 tst ip, r4 61 @ The bit position is stored in ip. 66 clz ip, xh 67 sub yl, yl, ip 68 mov ip, #1 69 mov ip, ip, lsl yl 75 mov ip, # [all...] |