Searched refs:ip (Results 176 - 200 of 2035) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/net/
H A Darp_ndisc_evict_nocarrier.sh35 IP="ip -netns ${me}"
41 ip -netns ${peer} -6 addr add $V6_ADDR1/64 dev veth2 nodad
43 ip netns exec ${me} sysctl -w $1 >/dev/null 2>&1
46 ip netns exec ${me} ping -6 -c1 -Iveth1 $V6_ADDR1 >/dev/null 2>&1
48 ip netns exec ${me} ip -6 neigh get $V6_ADDR1 dev veth1 >/dev/null 2>&1
56 ip netns exec ${peer} ip link set veth2 down
61 ip link add name veth0 type veth peer name veth1
62 ip lin
[all...]
H A Dudpgro_bench.sh14 local -r ns="$(ip netns list|grep $PEER_NS)"
17 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
29 ip netns add "${PEER_NS}"
30 ip -netns "${PEER_NS}" link set lo up
31 ip link add type veth
32 ip link set dev veth0 up
33 ip addr add dev veth0 192.168.1.2/24
34 ip addr add dev veth0 2001:db8::2/64 nodad
36 ip link set dev veth1 netns "${PEER_NS}"
37 ip
[all...]
H A Darp_ndisc_untracked_subnets.sh42 ip netns exec ${ROUTER_NS} ip link add name ${ROUTER_INTF} \
45 ip netns exec ${ROUTER_NS} ip link set dev ${ROUTER_INTF} up
46 ip netns exec ${ROUTER_NS} ip link set dev ${HOST_INTF} netns ${HOST_NS}
48 ip netns exec ${HOST_NS} ip link set dev ${HOST_INTF} up
49 ip netns exec ${ROUTER_NS} ip add
[all...]
/linux-master/fs/xfs/
H A Dxfs_symlink.h13 int xfs_readlink(struct xfs_inode *ip, char *link);
14 int xfs_inactive_symlink(struct xfs_inode *ip);
H A Dxfs_file.c44 struct xfs_inode *ip,
48 unsigned int alloc_unit = xfs_inode_alloc_unitsize(ip);
70 struct xfs_inode *ip = XFS_I(file->f_mapping->host); local
72 trace_xfs_dir_fsync(ip);
73 return xfs_log_force_inode(ip);
78 struct xfs_inode *ip,
81 if (!xfs_ipincount(ip))
83 if (datasync && !(ip->i_itemp->ili_fsync_fields & ~XFS_ILOG_TIMESTAMP))
85 return ip->i_itemp->ili_commit_seq;
103 struct xfs_inode *ip,
43 xfs_is_falloc_aligned( struct xfs_inode *ip, loff_t pos, long long int len) argument
77 xfs_fsync_seq( struct xfs_inode *ip, bool datasync) argument
102 xfs_fsync_flush_log( struct xfs_inode *ip, bool datasync, int *log_flushed) argument
131 struct xfs_inode *ip = XFS_I(file->f_mapping->host); local
192 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
210 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
227 xfs_ilock_for_write_fault( struct xfs_inode *ip) argument
246 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
270 struct xfs_inode *ip = XFS_I(iocb->ki_filp->f_mapping->host); local
293 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
342 struct xfs_inode *ip = XFS_I(inode); local
376 struct xfs_inode *ip = XFS_I(inode); local
483 struct xfs_inode *ip = XFS_I(inode); local
570 xfs_file_dio_write_aligned( struct xfs_inode *ip, struct kiocb *iocb, struct iov_iter *from) argument
621 xfs_file_dio_write_unaligned( struct xfs_inode *ip, struct kiocb *iocb, struct iov_iter *from) argument
698 struct xfs_inode *ip = XFS_I(file_inode(iocb->ki_filp)); local
716 struct xfs_inode *ip = XFS_I(inode); local
757 struct xfs_inode *ip = XFS_I(inode); local
821 struct xfs_inode *ip = XFS_I(inode); local
854 struct xfs_inode *ip = XFS_I(file_inode(filp)); local
879 struct xfs_inode *ip = XFS_I(inode); local
1068 struct xfs_inode *ip = XFS_I(file_inode(file)); local
1168 struct xfs_inode *ip = XFS_I(inode); local
1203 xfs_inode_t *ip = XFS_I(inode); local
1293 struct xfs_inode *ip = XFS_I(inode); local
[all...]
H A Dxfs_iunlink_item.c43 return IUL_ITEM(lip)->ip->i_ino;
56 struct xfs_inode *ip = iup->ip; local
62 error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &ibp);
73 dip = xfs_buf_offset(ibp, ip->i_imap.im_boffset);
77 xfs_inode_verifier_error(ip, -EFSCORRUPTED, __func__, dip,
84 XFS_INO_TO_AGINO(mp, ip->i_ino),
88 offset = ip->i_imap.im_boffset +
143 struct xfs_inode *ip,
151 ASSERT(xfs_verify_agino_or_null(pag, ip
141 xfs_iunlink_log_inode( struct xfs_trans *tp, struct xfs_inode *ip, struct xfs_perag *pag, xfs_agino_t next_agino) argument
[all...]
/linux-master/tools/testing/selftests/net/netfilter/
H A Dbr_netfilter.sh31 if ! ip netns exec "$fromns" ping -c 1 -q "$dstip" > /dev/null; then
33 ip netns exec "$ns0" nft list ruleset
48 if ! ip netns exec "$fromns" ping -q -f -b -c 1 -q "$dstip" > /dev/null 2>&1; then
50 ip netns exec "$ns0" nft list ruleset
57 ip netns exec "$ns0" sysctl -q net.ipv4.conf.all.rp_filter=0
58 ip netns exec "$ns0" sysctl -q net.ipv4.conf.default.rp_filter=0
60 if ! ip link add veth1 netns "$ns0" type veth peer name eth0 netns "$ns1"; then
65 ip link add veth2 netns "$ns0" type veth peer name eth0 netns "$ns2"
66 ip link add veth3 netns "$ns0" type veth peer name eth0 netns "$ns3"
67 ip lin
[all...]
H A Dnft_flowtable.sh34 ip netns pids "$ns1" | xargs kill 2>/dev/null
35 ip netns pids "$ns2" | xargs kill 2>/dev/null
48 ip link add veth0 netns "$nsr1" type veth peer name eth0 netns "$ns1"
49 ip link add veth1 netns "$nsr1" type veth peer name veth0 netns "$nsr2"
51 ip link add veth1 netns "$nsr2" type veth peer name eth0 netns "$ns2"
54 ip -net "$nsr1" link set "$dev" up
55 ip -net "$nsr2" link set "$dev" up
58 ip -net "$nsr1" addr add 10.0.1.1/24 dev veth0
59 ip -net "$nsr1" addr add dead:1::1/64 dev veth0 nodad
61 ip
[all...]
/linux-master/arch/x86/kernel/kprobes/
H A Dftrace.c16 void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip, argument
27 bit = ftrace_test_recursion_trylock(ip, parent_ip);
31 p = get_kprobe((kprobe_opcode_t *)ip);
39 unsigned long orig_ip = regs->ip;
40 /* Kprobe handler expects regs->ip = ip + 1 as breakpoint hit */
41 regs->ip = ip + sizeof(kprobe_opcode_t);
47 * Emulate singlestep (and also recover regs->ip)
50 regs->ip
[all...]
/linux-master/fs/xfs/scrub/
H A Dsymlink.c51 struct xfs_inode *ip = sc->ip; local
56 if (!S_ISLNK(VFS_I(ip)->i_mode))
64 ifp = xfs_ifork_ptr(ip, XFS_DATA_FORK);
65 len = ip->i_disk_size;
75 if (len > xfs_inode_data_fork_size(ip) ||
76 len > strnlen(ifp->if_data, xfs_inode_data_fork_size(ip)))
82 error = xfs_symlink_remote_read(sc->ip, sc->buf);
H A Dlistxattr.h9 typedef int (*xchk_xattr_fn)(struct xfs_scrub *sc, struct xfs_inode *ip,
16 int xchk_xattr_walk(struct xfs_scrub *sc, struct xfs_inode *ip,
/linux-master/tools/perf/util/
H A Dcall-path.c15 struct symbol *sym, u64 ip, bool in_kernel)
19 cp->ip = sym ? 0 : ip;
51 struct symbol *sym, u64 ip,
72 call_path__init(cp, parent, sym, ip, in_kernel);
79 struct symbol *sym, u64 ip, u64 ks)
84 bool in_kernel = ip >= ks;
87 ip = 0;
90 return call_path__new(cpr, parent, sym, ip, in_kernel);
97 if (cp->sym == sym && cp->ip
14 call_path__init(struct call_path *cp, struct call_path *parent, struct symbol *sym, u64 ip, bool in_kernel) argument
49 call_path__new(struct call_path_root *cpr, struct call_path *parent, struct symbol *sym, u64 ip, bool in_kernel) argument
77 call_path__findnew(struct call_path_root *cpr, struct call_path *parent, struct symbol *sym, u64 ip, u64 ks) argument
[all...]
/linux-master/arch/mips/rb532/
H A Dirq.c91 static inline void enable_local_irq(unsigned int ip) argument
93 int ipnum = 0x100 << ip;
98 static inline void disable_local_irq(unsigned int ip) argument
100 int ipnum = 0x100 << ip;
105 static inline void ack_local_irq(unsigned int ip) argument
107 int ipnum = 0x100 << ip;
115 int ip = irq_nr - GROUP0_IRQ_BASE; local
118 if (ip < 0)
121 group = ip >> 5;
123 ip
136 int ip = irq_nr - GROUP0_IRQ_BASE; local
215 unsigned int ip, pend, group; local
[all...]
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dblackhole_routes.sh56 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
57 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
62 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2
63 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2
72 ip -4 route add default vrf v$h2 nexthop via 198.51.100.2
73 ip -6 route add default vrf v$h2 nexthop via 2001:db8:2::2
78 ip -6 route del default vrf v$h2 nexthop via 2001:db8:2::2
79 ip -4 route del default vrf v$h2 nexthop via 198.51.100.2
86 ip link set dev $rp1 up
87 ip lin
[all...]
H A Ddevlink_trap.sh40 ip link add dev br0 type bridge vlan_filtering 1 mcast_snooping 0
42 ip link set dev $swp1 master br0
43 ip link set dev $swp2 master br0
45 ip link set dev br0 up
46 ip link set dev $swp1 up
47 ip link set dev $swp2 up
52 ip link set dev $swp2 down
53 ip link set dev $swp1 down
55 ip link del dev br0
94 $MZ $h1 -c 0 -p 100 -a $smac -b bcast -t ip
[all...]
/linux-master/samples/bpf/
H A Dtracex4.bpf.c14 u64 ip; member in struct:pair
40 long ip = 0; local
42 /* get ip address of kmem_cache_alloc_node() caller */
43 BPF_KRETPROBE_READ_RET_IP(ip, ctx);
47 .ip = ip,
/linux-master/include/linux/
H A Dprofile.h42 void profile_hits(int type, void *ip, unsigned int nr_hits);
47 static inline void profile_hit(int type, void *ip) argument
53 profile_hits(type, ip, 1);
73 static inline void profile_hits(int type, void *ip, unsigned int nr_hits) argument
78 static inline void profile_hit(int type, void *ip) argument
/linux-master/arch/s390/kernel/
H A Dstacktrace.c52 if (state.ip == (unsigned long)arch_rethook_trampoline)
68 unsigned long ip)
72 if (perf_callchain_store(entry, ip))
77 return consume_entry(cookie, ip);
80 static inline bool ip_invalid(unsigned long ip) argument
86 if (ip & 1)
88 if (ip < mmap_min_addr)
90 if (ip >= current->mm->context.asce_limit)
95 static inline bool ip_within_vdso(unsigned long ip) argument
97 return in_range(ip, curren
66 store_ip(stack_trace_consume_fn consume_entry, void *cookie, struct perf_callchain_entry_ctx *entry, bool perf, unsigned long ip) argument
106 unsigned long ip, sp; local
[all...]
/linux-master/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-ip.c42 state = v4l2_subdev_lock_and_get_active_state(&cru->ip.subdev);
58 ret = v4l2_subdev_call(cru->ip.remote, video, s_stream, enable);
62 ret = v4l2_subdev_call(cru->ip.remote, video, post_streamoff);
69 ret = v4l2_subdev_call(cru->ip.remote, video, pre_streamon, 0);
79 v4l2_subdev_call(cru->ip.remote, video, post_streamoff);
83 ret = v4l2_subdev_call(cru->ip.remote, video, s_stream, enable);
89 v4l2_subdev_call(cru->ip.remote, video, post_streamoff);
206 struct rzg2l_cru_ip *ip = &cru->ip; local
209 ip
246 struct rzg2l_cru_ip *ip = &cru->ip; local
[all...]
/linux-master/arch/powerpc/kernel/trace/
H A Dftrace.c46 static ppc_inst_t ftrace_create_branch_inst(unsigned long ip, unsigned long addr, int link) argument
50 WARN_ON(!is_offset_in_branch_range(addr - ip));
51 create_branch(&op, (u32 *)ip, addr, link ? BRANCH_SET_LINK : 0);
56 static inline int ftrace_read_inst(unsigned long ip, ppc_inst_t *op) argument
58 if (copy_inst_from_kernel_nofault(op, (void *)ip)) {
59 pr_err("0x%lx: fetching instruction failed\n", ip);
66 static inline int ftrace_validate_inst(unsigned long ip, ppc_inst_t inst) argument
71 ret = ftrace_read_inst(ip, &op);
74 ip, ppc_inst_as_ulong(inst), ppc_inst_as_ulong(op));
81 static inline int ftrace_modify_code(unsigned long ip, ppc_inst_ argument
96 find_ftrace_tramp(unsigned long ip) argument
111 unsigned long ip = rec->ip; local
178 unsigned long ip, new_addr, addr; local
230 unsigned long addr, ip = rec->ip; local
301 unsigned long ip = (unsigned long)(&ftrace_call); local
421 ftrace_graph_func(unsigned long ip, unsigned long parent_ip, struct ftrace_ops *op, struct ftrace_regs *fregs) argument
[all...]
/linux-master/lib/lz4/
H A Dlz4hc_compress.c73 /* Update chains up to ip (excluded) */
75 const BYTE *ip)
80 U32 const target = (U32)(ip - base);
101 const BYTE *ip,
111 const U32 lowLimit = (hc4->lowLimit + 64 * KB > (U32)(ip - base))
113 : (U32)(ip - base) - (64 * KB - 1);
119 LZ4HC_Insert(hc4, ip);
120 matchIndex = HashTable[LZ4HC_hashPtr(ip)];
128 if (*(match + ml) == *(ip + ml)
129 && (LZ4_read32(match) == LZ4_read32(ip))) {
74 LZ4HC_Insert(LZ4HC_CCtx_internal *hc4, const BYTE *ip) argument
99 LZ4HC_InsertAndFindBestMatch( LZ4HC_CCtx_internal *hc4, const BYTE *ip, const BYTE * const iLimit, const BYTE **matchpos, const int maxNbAttempts) argument
168 LZ4HC_InsertAndGetWiderMatch( LZ4HC_CCtx_internal *hc4, const BYTE * const ip, const BYTE * const iLowLimit, const BYTE * const iHighLimit, int longest, const BYTE **matchpos, const BYTE **startpos, const int maxNbAttempts) argument
262 LZ4HC_encodeSequence( const BYTE **ip, BYTE **op, const BYTE **anchor, int matchLength, const BYTE * const match, limitedOutput_directive limitedOutputBuffer, BYTE *oend) argument
348 const BYTE *ip = (const BYTE *) source; local
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dmirror_gre_neigh.sh37 ip address add dev $swp3 192.0.2.129/28
38 ip address add dev $h3 192.0.2.130/28
40 ip address add dev $swp3 2001:db8:2::1/64
41 ip address add dev $h3 2001:db8:2::2/64
48 ip address del dev $h3 2001:db8:2::2/64
49 ip address del dev $swp3 2001:db8:2::1/64
51 ip address del dev $h3 192.0.2.130/28
52 ip address del dev $swp3 192.0.2.129/28
67 ip neigh replace dev $swp3 $addr lladdr 00:11:22:33:44:55
70 ip neig
[all...]
H A Dmirror_gre_bridge_1d_vlan.sh38 ip link add name br2 address $(mac_get $swp3) \
40 ip link set dev br2 up
44 ip link set dev $swp3.555 master br2
45 ip route add 192.0.2.130/32 dev br2
46 ip -6 route add 2001:db8:2::2/128 dev br2
48 ip address add dev br2 192.0.2.129/32
49 ip address add dev br2 2001:db8:2::1/128
59 ip link del dev br2
78 test_vlan_match gt4 'skip_hw vlan_id 555 vlan_ethtype ip' \
95 ip neig
[all...]
H A Dmirror_gre_bridge_1q.sh65 ip link set dev br1 down
67 ip link set dev $swp3 master br1
69 ip link set dev br1 up
70 ip address add dev br1 192.0.2.129/28
71 ip address add dev br1 2001:db8:2::1/64
73 ip -4 route add 192.0.2.130/32 dev br1
74 ip -6 route add 2001:db8:2::2/128 dev br1
84 ip link set dev $swp3 nomaster
93 ip neigh replace 192.0.2.130 lladdr $(mac_get $h3) \
101 ip neig
[all...]
/linux-master/tools/testing/selftests/net/openvswitch/
H A Dopenvswitch.sh106 ip netns exec $netns $* >> $ovs_dir/stdout 2>> $ovs_dir/stderr &
113 ovs_sbx "$1" ip netns add "$3" || return 1
114 on_exit "ovs_sbx $1 ip netns del $3"
115 ovs_sbx "$1" ip link add "$4" type veth peer name "$5" || return 1
116 on_exit "ovs_sbx $1 ip link del $4 >/dev/null 2>&1"
117 ovs_sbx "$1" ip link set "$4" up || return 1
118 ovs_sbx "$1" ip link set "$5" netns "$3" || return 1
119 ovs_sbx "$1" ip netns exec "$3" ip link set "$5" up || return 1
122 ovs_sbx "$1" ip netn
[all...]

Completed in 257 milliseconds

1234567891011>>