Home
last modified time | relevance | path

Searched full:exec (Results 1 – 25 of 1793) sorted by relevance

12345678910>>...72

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_exec.c24 * struct drm_exec exec;
28 * drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT);
29 * drm_exec_until_all_locked(&exec) {
30 * ret = drm_exec_prepare_obj(&exec, boA, 1);
31 * drm_exec_retry_on_contention(&exec);
35 * ret = drm_exec_prepare_obj(&exec, boB, 1);
36 * drm_exec_retry_on_contention(&exec);
41 * drm_exec_for_each_locked_object(&exec, index, obj) {
45 * drm_exec_fini(&exec);
54 static void drm_exec_unlock_all(struct drm_exec *exec) in drm_exec_unlock_all() argument
[all …]
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dpm_netlink.sh51 ip netns exec $ns1 sysctl -q net.mptcp.enabled=1
78 check "ip netns exec $ns1 ./pm_nl_ctl dump" "" "defaults addr list"
80 default_limits="$(ip netns exec $ns1 ./pm_nl_ctl limits)"
82 check "ip netns exec $ns1 ./pm_nl_ctl limits" "accept 0
86 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.1
87 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.2 flags subflow dev lo
88 ip netns exec $ns1 ./pm_nl_ctl add 10.0.1.3 flags signal,backup
89 check "ip netns exec $ns1 ./pm_nl_ctl get 1" "id 1 flags 10.0.1.1" "simple add/get addr"
91 check "ip netns exec $ns1 ./pm_nl_ctl dump" \
96 ip netns exec $ns1 ./pm_nl_ctl del 2
[all …]
H A Duserspace_pm.sh141 ip netns exec "$i" sysctl -q net.mptcp.enabled=1
142 ip netns exec "$i" sysctl -q net.mptcp.pm_type=1
212 ip netns exec "$ns1" \
219 ip netns exec "$ns2" \
347 ip netns exec "$ns2" ./pm_nl_ctl ann 10.0.2.2 token $invalid_token id\
362 ip netns exec "$ns2"\
372 ip netns exec "$ns2" ./pm_nl_ctl ann\
382 ip netns exec "$ns2" ./pm_nl_ctl ann 10.0.2.2 token "$client4_token" id\
393 ip netns exec "$ns1" ./pm_nl_ctl ann 10.0.2.1 token "$server4_token" id\
402 ip netns exec "$ns1" ./pm_nl_ctl ann dead:beef:2::1 token "$server6_token" id\
[all …]
/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_exec_test.c47 struct drm_exec exec; in sanitycheck() local
49 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT); in sanitycheck()
50 drm_exec_fini(&exec); in sanitycheck()
58 struct drm_exec exec; in test_lock() local
63 drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT); in test_lock()
64 drm_exec_until_all_locked(&exec) { in test_lock()
65 ret = drm_exec_lock_obj(&exec, &gobj); in test_lock()
66 drm_exec_retry_on_contention(&exec); in test_lock()
71 drm_exec_fini(&exec); in test_lock()
78 struct drm_exec exec; in test_lock_unlock() local
[all …]
/openbmc/linux/tools/testing/selftests/netfilter/
H A Dipvs.sh77 ip netns exec ns0 ip link set veth01 up
78 ip netns exec ns0 ip link set veth02 up
79 ip netns exec ns0 ip link add br0 type bridge
80 ip netns exec ns0 ip link set veth01 master br0
81 ip netns exec ns0 ip link set veth02 master br0
82 ip netns exec ns0 ip link set br0 up
83 ip netns exec ns0 ip addr add ${cip_v4}/24 dev br0
85 ip netns exec ns1 ip link set lo up
86 ip netns exec ns1 ip link set veth10 up
87 ip netns exec ns1 ip addr add ${gip_v4}/24 dev veth10
[all …]
H A Dnft_nat.sh86 ip netns exec $ns nft list counter inet filter $counter 1>&2
94 cnt=$(ip netns exec $ns nft list counter inet filter ns0in | grep -q "packets 1 bytes 84")
99 cnt=$(ip netns exec $ns nft list counter inet filter ns0out | grep -q "packets 1 bytes 84")
106 cnt=$(ip netns exec $ns nft list counter inet filter ns0in6 | grep -q "$expect")
111 cnt=$(ip netns exec $ns nft list counter inet filter ns0out6 | grep -q "$expect")
125 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0in | grep -q "packets 0 bytes 0")
131 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0in6 | grep -q "packets 0 bytes 0")
137 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0out | grep -q "packets 0 bytes 0")
142 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0out6 | grep -q "packets 0 bytes 0")
150 cnt=$(ip netns exec "$ns0" nft list counter inet filter ${ns}${dir} | grep -q "$expect")
[all …]
H A Dnft_nat_zones.sh130 echo netns exec "$cl" ip link set lo up
131 echo netns exec "$cl" ip link set eth0 up
132 echo netns exec "$cl" sysctl -q net.ipv4.tcp_syn_retries=2
133 echo netns exec "$gw" ip link set veth$i up
134 echo netns exec "$gw" sysctl -q net.ipv4.conf.veth$i.arp_ignore=2
135 echo netns exec "$gw" sysctl -q net.ipv4.conf.veth$i.rp_filter=0
138 echo netns exec "$cl" ip addr add 10.1.0.3/24 dev eth0
139 echo netns exec "$cl" ip addr add dead:1::3/64 dev eth0
140 echo netns exec "$cl" ip route add default via 10.1.0.2 dev eth0
141 echo netns exec "$cl" ip route add default via dead:1::2 dev eth0
[all …]
H A Dnft_queue.sh94 ip netns exec ${nsrouter} nft -f /dev/stdin <<EOF
130 ip netns exec ${nsrouter} nft -f /dev/stdin <<EOF
157 ip netns exec ${ns1} ping -c 1 -q 10.0.2.99 > /dev/null
162 ip netns exec ${ns1} ping -c 1 -q dead:2::99 > /dev/null
171 ip netns exec ${ns1} ping -c 1 -q 10.0.2.1 > /dev/null
176 ip netns exec ${ns1} ping -c 1 -q dead:2::1 > /dev/null
187 ip netns exec ${nsrouter} nft -f /dev/stdin <<EOF
196 ip netns exec ${ns1} ping -W 2 -c 1 -q 10.0.2.99 > /dev/null
199 ip netns exec ${ns1} ping -W 2 -c 1 -q dead:2::99 > /dev/null
211 ip netns exec ${nsrouter} nft delete table $proto blackh
[all …]
H A Drpath.sh44 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
67 ip netns exec "$ns2" "$iptables" $common -m rpfilter
68 ip netns exec "$ns2" "$iptables" $common -m rpfilter --invert
72 ip netns exec "$ns2" "$ip6tables" $common -m rpfilter
73 ip netns exec "$ns2" "$ip6tables" $common -m rpfilter --invert
75 [ -n "$nft" ] && ip netns exec "$ns2" $nft -f - <<EOF
87 #ip netns exec "$ns2" "$iptables" -t raw -vS
88 #ip netns exec "$ns2" "$ip6tables" -t raw -vS
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_lwt_seg6local.sh88 ip netns exec ${NS1} ip link set dev veth1 up
89 ip netns exec ${NS2} ip link set dev veth2 up
90 ip netns exec ${NS2} ip link set dev veth3 up
91 ip netns exec ${NS3} ip link set dev veth4 up
92 ip netns exec ${NS3} ip link set dev veth5 up
93 ip netns exec ${NS4} ip link set dev veth6 up
94 ip netns exec ${NS4} ip link set dev veth7 up
95 ip netns exec ${NS5} ip link set dev veth8 up
96 ip netns exec ${NS5} ip link set dev veth9 up
97 ip netns exec ${NS6} ip link set dev veth10 up
[all …]
H A Dtest_tunnel.sh61 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0
62 ip netns exec at_ns0 ip link set dev veth0 up
75 ip netns exec at_ns0 \
78 ip netns exec at_ns0 ip link set dev $DEV_NS up
79 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
91 ip netns exec at_ns0 ip addr add ::11/96 dev veth0
92 ip netns exec at_ns0 ip link set dev veth0 up
97 ip netns exec at_ns0 \
101 ip netns exec at_ns0 ip addr add dev $DEV_NS 10.1.1.100/24
102 ip netns exec at_ns0 ip addr add dev $DEV_NS fc80::100/96
[all …]
H A Dtest_xdp_vlan.sh54 echo " ip netns exec ${NS1} bash"
55 echo " ip netns exec ${NS2} bash"
167 ip netns exec ${NS1} ethtool -K veth1 rxvlan off
168 ip netns exec ${NS2} ethtool -K veth2 rxvlan off
171 ip netns exec ${NS2} ethtool -K veth2 txvlan off
172 ip netns exec ${NS1} ethtool -K veth1 txvlan off
178 ip netns exec ${NS1} ip addr add ${IPADDR1}/24 dev veth1
179 ip netns exec ${NS1} ip link set veth1 up
184 ip netns exec ${NS2} ip link add link $DEVNS2 name $DEVNS2.$VLAN type vlan id $VLAN
185 ip netns exec ${NS2} ip addr add ${IPADDR2}/24 dev $DEVNS2.$VLAN
[all …]
H A Dtest_xdp_meta.sh40 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
43 ip netns exec ${NS1} tc qdisc add dev veth1 clsact
44 ip netns exec ${NS2} tc qdisc add dev veth2 clsact
46 ip netns exec ${NS1} tc filter add dev veth1 ingress bpf da obj ${BPF_FILE} sec t
47 ip netns exec ${NS2} tc filter add dev veth2 ingress bpf da obj ${BPF_FILE} sec t
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
53 ip netns exec ${NS2} ip link set dev veth2 up
[all …]
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_gem.c157 struct vc4_exec_info *exec[2]; in vc4_save_hang_state() local
169 exec[0] = vc4_first_bin_job(vc4); in vc4_save_hang_state()
170 exec[1] = vc4_first_render_job(vc4); in vc4_save_hang_state()
171 if (!exec[0] && !exec[1]) { in vc4_save_hang_state()
179 if (!exec[i]) in vc4_save_hang_state()
183 list_for_each_entry(bo, &exec[i]->unref_list, unref_head) in vc4_save_hang_state()
185 state->bo_count += exec[i]->bo_count + unref_list_count; in vc4_save_hang_state()
198 if (!exec[i]) in vc4_save_hang_state()
201 for (j = 0; j < exec[i]->bo_count; j++) { in vc4_save_hang_state()
202 bo = to_vc4_bo(exec[i]->bo[j]); in vc4_save_hang_state()
[all …]
H A Dvc4_validate.c51 struct vc4_exec_info *exec, \
106 vc4_use_bo(struct vc4_exec_info *exec, uint32_t hindex) in vc4_use_bo() argument
108 struct vc4_dev *vc4 = exec->dev; in vc4_use_bo()
115 if (hindex >= exec->bo_count) { in vc4_use_bo()
117 hindex, exec->bo_count); in vc4_use_bo()
120 obj = to_drm_gem_dma_obj(exec->bo[hindex]); in vc4_use_bo()
133 vc4_use_handle(struct vc4_exec_info *exec, uint32_t gem_handles_packet_index) in vc4_use_handle() argument
135 return vc4_use_bo(exec, exec->bo_index[gem_handles_packet_index]); in vc4_use_handle()
139 validate_bin_pos(struct vc4_exec_info *exec, void *untrusted, uint32_t pos) in validate_bin_pos() argument
144 return (untrusted - 1 == exec->bin_u + pos); in validate_bin_pos()
[all …]
H A Dvc4_render_cl.c99 static uint32_t vc4_full_res_offset(struct vc4_exec_info *exec, in vc4_full_res_offset() argument
105 (DIV_ROUND_UP(exec->args->width, 32) * y + x); in vc4_full_res_offset()
123 static void emit_tile(struct vc4_exec_info *exec, in emit_tile() argument
127 struct drm_vc4_submit_cl *args = exec->args; in emit_tile()
139 vc4_full_res_offset(exec, setup->color_read, in emit_tile()
152 /* Exec previous load. */ in emit_tile()
161 vc4_full_res_offset(exec, setup->zs_read, in emit_tile()
185 rcl_u32(setup, (exec->tile_alloc_offset + in emit_tile()
186 (y * exec->bin_tiles_x + x) * 32)); in emit_tile()
201 vc4_full_res_offset(exec, setup->msaa_color_write, in emit_tile()
[all …]
H A Dvc4_irq.c67 struct vc4_exec_info *exec; in vc4_overflow_mem_work() local
92 exec = vc4_first_bin_job(vc4); in vc4_overflow_mem_work()
93 if (!exec) in vc4_overflow_mem_work()
94 exec = vc4_last_render_job(vc4); in vc4_overflow_mem_work()
95 if (exec) { in vc4_overflow_mem_work()
96 exec->bin_slots |= vc4->bin_alloc_overflow; in vc4_overflow_mem_work()
120 struct vc4_exec_info *next, *exec = vc4_first_bin_job(vc4); in vc4_irq_finish_bin_job() local
122 if (!exec) in vc4_irq_finish_bin_job()
125 trace_vc4_bcl_end_irq(dev, exec->seqno); in vc4_irq_finish_bin_job()
127 vc4_move_job_to_render(dev, exec); in vc4_irq_finish_bin_job()
[all …]
/openbmc/linux/include/drm/
H A Ddrm_exec.h56 * @exec: Pointer to the drm_exec context
63 drm_exec_obj(struct drm_exec *exec, unsigned long index) in drm_exec_obj() argument
65 return index < exec->num_objects ? exec->objects[index] : NULL; in drm_exec_obj()
70 * @exec: drm_exec object
76 #define drm_exec_for_each_locked_object(exec, index, obj) \ argument
77 for ((index) = 0; ((obj) = drm_exec_obj(exec, index)); ++(index))
82 * @exec: drm_exec object
90 #define drm_exec_for_each_locked_object_reverse(exec, index, obj) \ argument
91 for ((index) = (exec)->num_objects - 1; \
92 ((obj) = drm_exec_obj(exec, index)); --(index))
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dveth.sh59 local flag=`ip netns exec $BASE$target ethtool -k veth$target |\
87 local cur_rx=`ip netns exec $BASE$target ethtool -l $dev |\
89 local cur_tx=`ip netns exec $BASE$target ethtool -l $dev |\
91 local cur_combined=`ip netns exec $BASE$target ethtool -l $dev |\
106 ip netns exec $BASE$SRC ping -qc 1 $BM_NET_V4$DST >/dev/null
107 NSTAT_HISTORY=$STATS ip netns exec $NS_DST nstat -n
110 ip netns exec $BASE$DST ./udpgso_bench_rx -C 1000 -R 10 &
114 ip netns exec $NS_SRC ./udpgso_bench_tx -4 -s 13000 -S 1300 -M 1 -D $BM_NET_V4$DST
124 local pkts=`NSTAT_HISTORY=$STATS ip netns exec $NS_DST nstat IpInReceives | \
146 ip netns exec $NS_SRC ethtool -L veth$SRC rx $i tx $i
[all …]
H A Dip_defrag.sh17 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_high_thresh=9000000 >/dev/null 2>&1
18 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_low_thresh=7000000 >/dev/null 2>&1
19 ip netns exec "${NETNS}" sysctl -w net.ipv4.ipfrag_time=1 >/dev/null 2>&1
21 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_high_thresh=9000000 >/dev/null 2>&1
22 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_low_thresh=7000000 >/dev/null 2>&1
23 ip netns exec "${NETNS}" sysctl -w net.ipv6.ip6frag_time=1 >/dev/null 2>&1
25 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_high_thresh=9000000 >/dev/null…
26 …ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_low_thresh=7000000 >/dev/null…
27 ip netns exec "${NETNS}" sysctl -w net.netfilter.nf_conntrack_frag6_timeout=1 >/dev/null 2>&1
30 ip netns exec "${NETNS}" sysctl -w net.ipv6.route.max_size=65536 >/dev/null 2>&1
[all …]
H A Damt.sh131 ip netns exec "${LISTENER}" ip a a 192.168.0.2/24 dev l_gw
132 ip netns exec "${LISTENER}" ip r a default via 192.168.0.1 dev l_gw
133 ip netns exec "${LISTENER}" ip a a 2001:db8::2/64 dev l_gw
134 ip netns exec "${LISTENER}" ip r a default via 2001:db8::1 dev l_gw
135 ip netns exec "${LISTENER}" ip a a 239.0.0.1/32 dev l_gw autojoin
136 ip netns exec "${LISTENER}" ip a a ff0e::5:6/128 dev l_gw autojoin
138 ip netns exec "${GATEWAY}" ip a a 192.168.0.1/24 dev gw_l
139 ip netns exec "${GATEWAY}" ip a a 2001:db8::1/64 dev gw_l
140 ip netns exec "${GATEWAY}" ip a a 10.0.0.1/24 dev gw_relay
141 ip netns exec "${GATEWAY}" ip link add br0 type bridge
[all …]
H A Dtraceroute.sh49 out=$(eval ip netns exec ${ns} ${cmd} 2>&1)
74 ip netns exec ${ns} ip link set lo up
76 ip netns exec ${ns} ip addr add dev lo ${addr}
79 ip netns exec ${ns} ip -6 addr add dev lo ${addr6}
82 ip netns exec ${ns} ip ro add unreachable default metric 8192
83 ip netns exec ${ns} ip -6 ro add unreachable default metric 8192
85 ip netns exec ${ns} sysctl -qw net.ipv4.ip_forward=1
86 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1
87 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.forwarding=1
88 ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.forwarding=1
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/
H A Dbond-arp-interval-causes-panic.sh28 ip netns exec server ip link set dev eth0 up
29 ip netns exec server ip addr add ${server_ip4}/24 dev eth0
31 ip netns exec client ip link add dev bond0 down type bond mode 1 \
33 ip netns exec client ip link set dev eth0 master bond0
34 ip netns exec client ip link set dev bond0 up
35 ip netns exec client ip addr add ${client_ip4}/24 dev bond0
36 ip netns exec client ping -c 5 $server_ip4 >/dev/null
38 ip netns exec client ip link set dev eth0 nomaster
39 ip netns exec client ip link set dev bond0 down
40 ip netns exec client ip link set dev bond0 type bond mode 0 \
[all …]
H A Dlag_lib.sh129 ip netns exec ${SWITCH} ip link add br0 up type bridge
130 ip netns exec ${SWITCH} ip link set eth0 master br0 up
131 ip netns exec ${SWITCH} ip link set eth1 master br0 up
132 ip netns exec ${SWITCH} ip addr add ${SWITCHIP}/24 dev br0
137 ip netns exec ${CLIENT} ip link del bond0
138 ip netns exec ${SWITCH} ip link set eth0 up
139 ip netns exec ${SWITCH} ip link set eth1 up
145 ip netns exec ${CLIENT} ip link set eth0 down
146 ip netns exec ${CLIENT} ip link set eth1 down
148 ip netns exec ${CLIENT} ip link add bond0 type bond $@
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/team/
H A Dlag_lib.sh129 ip netns exec ${SWITCH} ip link add br0 up type bridge
130 ip netns exec ${SWITCH} ip link set eth0 master br0 up
131 ip netns exec ${SWITCH} ip link set eth1 master br0 up
132 ip netns exec ${SWITCH} ip addr add ${SWITCHIP}/24 dev br0
137 ip netns exec ${CLIENT} ip link del bond0
138 ip netns exec ${SWITCH} ip link set eth0 up
139 ip netns exec ${SWITCH} ip link set eth1 up
145 ip netns exec ${CLIENT} ip link set eth0 down
146 ip netns exec ${CLIENT} ip link set eth1 down
148 ip netns exec ${CLIENT} ip link add bond0 type bond $@
[all …]

12345678910>>...72