Home
last modified time | relevance | path

Searched full:dead (Results 1 – 25 of 700) sorted by relevance

12345678910>>...28

/linux/lib/
H A Drcuref.c47 * ONEREF MAXREF SATURATED RELEASED DEAD NOREF
49 * <---valid --------> <-------saturation zone-------> <-----dead zone----->
55 * If the reference count is saturated or dead, then the increments and
57 * respective zones and is always set back to STATURATED resp. DEAD. The
66 * back to RCUREF_ONEREF or even drop the reference again and mark it DEAD.
69 * DEAD + 1, which is inside the dead zone. If that happens the reference
70 * count is put back to DEAD.
78 * succeeds-> atomic_cmpxchg(&ref->refcnt, NOREF, DEAD);
80 * atomic_add_negative(1, &ref->refcnt); <- Elevates refcount to DEAD + 1
83 * and observes refcnt being in the dead zone which makes the operation fail.
[all …]
H A Dlockref.c57 * lockref_get_not_zero - Increments count unless the count is 0 or dead
117 * If the lockref was dead or locked, return an error.
157 * lockref_mark_dead - mark lockref dead
168 * lockref_get_not_dead - Increments count unless the ref is dead
170 * Return: 1 if count updated successfully or 0 if lockref was dead
H A Dref_tracker.c17 bool dead; member
163 dir->dead = true; in ref_tracker_dir_exit()
195 WARN_ON_ONCE(dir->dead); in ref_tracker_alloc()
228 WARN_ON_ONCE(dir->dead); in ref_tracker_free()
244 if (tracker->dead) { in ref_tracker_free()
258 tracker->dead = true; in ref_tracker_free()
/linux/tools/testing/selftests/net/hsr/
H A Dhsr_ping.sh43 do_ping "$ns1" dead:beef:1::2
44 do_ping "$ns1" dead:beef:1::3
45 do_ping "$ns2" dead:beef:1::1
46 do_ping "$ns2" dead:beef:1::2
47 do_ping "$ns3" dead:beef:1::1
48 do_ping "$ns3" dead:beef:1::2
72 do_ping_long "$ns1" dead:beef:1::2
74 do_ping_long "$ns1" dead:beef:1::3
79 do_ping_long "$ns2" dead:beef:1::1
81 do_ping_long "$ns2" dead
[all...]
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_fib.sh116 ip -net "$nsrouter" addr add dead:1::1/64 dev veth0 nodad
120 ip -net "$nsrouter" addr add dead:2::1/64 dev veth1 nodad
126 ip -net "$ns1" addr add dead:1::99/64 dev eth0 nodad
128 ip -net "$ns1" route add default via dead:1::1
131 ip -net "$ns2" addr add dead:2::99/64 dev eth0 nodad
133 ip -net "$ns2" route add default via dead:2::1
160 test_ping 10.0.2.1 dead:2::1 || exit 1
163 test_ping 10.0.2.99 dead:2::99 || exit 1
174 ip -net "$ns1" addr del dead:1::99/64 dev eth0
177 ip -net "$ns1" addr add dead:2::99/64 dev eth0 nodad
[all …]
H A Dnft_tproxy_udp.sh10 # +-------+ dead:1::/64 | veth2 | dead:2::/64 +-------+
19 # dead:3::/64 +-------+
57 ip -net "$nsrouter" addr add dead:1::1/64 dev veth0 nodad
61 ip -net "$nsrouter" addr add dead:2::1/64 dev veth1 nodad
65 ip -net "$nsrouter" addr add dead:3::1/64 dev veth2 nodad
72 ip -net "$ns1" addr add dead:1::99/64 dev eth0 nodad
74 ip -net "$ns1" route add default via dead:1::1
77 ip -net "$ns2" addr add dead:2::99/64 dev eth0 nodad
79 ip -net "$ns2" route add default via dead:2::1
82 ip -net "$ns3" addr add dead:3::99/64 dev eth0 nodad
[all …]
H A Dnft_tproxy_tcp.sh10 # +-------+ dead:1::/64 | veth2 | dead:2::/64 +-------+
19 # dead:3::/64 +-------+
57 ip -net "$nsrouter" addr add dead:1::1/64 dev veth0 nodad
61 ip -net "$nsrouter" addr add dead:2::1/64 dev veth1 nodad
65 ip -net "$nsrouter" addr add dead:3::1/64 dev veth2 nodad
72 ip -net "$ns1" addr add dead:1::99/64 dev eth0 nodad
74 ip -net "$ns1" route add default via dead:1::1
77 ip -net "$ns2" addr add dead:2::99/64 dev eth0 nodad
79 ip -net "$ns2" route add default via dead:2::1
82 ip -net "$ns3" addr add dead:3::99/64 dev eth0 nodad
[all …]
H A Dconntrack_icmp_related.sh42 ip -net "$ns" addr add "dead:$i::2/64" dev "$dev" nodad
88 ip -net "$nsclient1" -6 route add default via dead:1::1
91 ip -net "$nsclient2" route add default via dead:2::1
96 ip -net "$nsrouter1" addr add dead:1::1/64 dev eth1 nodad
97 ip -net "$nsrouter1" addr add dead:3::1/64 dev veth0 nodad
99 ip -net "$nsrouter1" -6 route add default via dead:3::10
103 ip -net "$nsrouter2" addr add dead:2::1/64 dev eth1 nodad
104 ip -net "$nsrouter2" addr add dead:3::10/64 dev eth2 nodad
106 ip -net "$nsrouter2" route add default via dead:3::1
196 if ! ip netns exec "$nsclient1" ping -c 1 -s 1000 -q dead:2::2 >/dev/null; then
[all …]
H A Dnft_nat.sh40 ip -net "$ns0" addr add dead:1::1/64 dev veth0 nodad
44 ip -net "$ns0" addr add dead:2::1/64 dev veth1 nodad
54 ip -net "$ns" addr add "dead:$subnet::99/64" dev eth0 nodad
55 ip -net "$ns" route add default via "dead:$subnet::1"
162 ip6 daddr dead:1::99 dnat $IPF to dead:2::99
172 if ! ip netns exec "$ns0" ping -q -c 1 dead:1::99 > /dev/null;then
391 if ! ip netns exec "$ns2" ping -q -c 1 dead:1::99 > /dev/null;then
425 if ! ip netns exec "$ns2" ping -q -c 1 dead:1::99 > /dev/null;then
458 if ! ip netns exec "$ns2" ping -q -c 1 dead:1::99 > /dev/null;then
571 if ! ip netns exec "$ns2" ping -q -c 1 dead:1::99 > /dev/null;then
[all …]
H A Dnft_flowtable.sh59 ip -net "$nsr1" addr add dead:1::1/64 dev veth0 nodad
62 ip -net "$nsr2" addr add dead:2::1/64 dev veth1 nodad
145 ip -net "$ns1" addr add dead:1::99/64 dev eth0 nodad
146 ip -net "$ns2" addr add dead:2::99/64 dev eth0 nodad
147 ip -net "$ns1" route add default via dead:1::1
148 ip -net "$ns2" route add default via dead:2::1
472 ip -net "$ns2" route del default via dead:2::1
534 ip -net "$nsr1" addr add dead:1::1/64 dev br0 nodad
577 ip -net "$ns1" addr add dead:1::99/64 dev eth0.10 nodad
600 ip -net "$ns1" addr add dead:1::99/64 dev eth0 nodad
[all …]
H A Dnft_queue.sh55 ip -net "$nsrouter" addr add dead:1::1/64 dev veth0 nodad
59 ip -net "$nsrouter" addr add dead:2::1/64 dev veth1 nodad
63 ip -net "$nsrouter" addr add dead:3::1/64 dev veth2 nodad
70 ip -net "$ns1" addr add dead:1::99/64 dev eth0 nodad
72 ip -net "$ns1" route add default via dead:1::1
75 ip -net "$ns2" addr add dead:2::99/64 dev eth0 nodad
77 ip -net "$ns2" route add default via dead:2::1
80 ip -net "$ns3" addr add dead:3::99/64 dev eth0 nodad
82 ip -net "$ns3" route add default via dead:3::1
155 if ! ip netns exec "$ns1" ping -c 1 -q dead:2::99 > /dev/null; then
[all …]
/linux/tools/testing/selftests/net/mptcp/
H A Duserspace_pm.sh133 ip -net "$ns1" addr add dead:beef:1::1/64 dev ns1eth2 nodad
134 ip -net "$ns1" addr add dead:beef:2::1/64 dev ns1eth2 nodad
139 ip -net "$ns2" addr add dead:beef:1::2/64 dev ns2eth1 nodad
140 ip -net "$ns2" addr add dead:beef:2::2/64 dev ns2eth1 nodad
168 connect_addr="dead:beef:1::1"
169 client_addr="dead:beef:1::2"
312 dead:beef:2::2 token "$client6_token" id $client_addr_id dev ns2eth1
313 print_test "ADD_ADDR6 id:client dead:beef:2::2 (ns2) => ns1, reuse port"
315 verify_announce_event "$server_evts" "$ANNOUNCED" "$server6_token" "dead:beef:2::2"\
341 ip netns exec "$ns1" ./pm_nl_ctl ann dead:beef:2::1 token "$server6_token" id\
[all …]
H A Dmptcp_connect.sh173 ip -net "$ns1" addr add dead:beef:1::1/64 dev ns1eth2 nodad
177 ip -net "$ns1" route add default via dead:beef:1::2
180 ip -net "$ns2" addr add dead:beef:1::2/64 dev ns2eth1 nodad
184 ip -net "$ns2" addr add dead:beef:2::1/64 dev ns2eth3 nodad
187 ip -net "$ns2" route add default via dead:beef:2::2
192 ip -net "$ns3" addr add dead:beef:2::2/64 dev ns3eth2 nodad
196 ip -net "$ns3" addr add dead:beef:3::2/64 dev ns3eth4 nodad
199 ip -net "$ns3" route add default via dead:beef:2::1
204 ip -net "$ns4" addr add dead:beef:3::1/64 dev ns4eth3 nodad
207 ip -net "$ns4" route add default via dead:beef:3::2
[all …]
H A Dsimult_flows.sh78 ip -net "$ns1" addr add dead:beef:1::1/64 dev ns1eth1 nodad
81 ip -net "$ns1" route add default via dead:beef:1::2
84 ip -net "$ns1" addr add dead:beef:2::1/64 dev ns1eth2 nodad
87 ip -net "$ns1" route add default via dead:beef:2::2 metric 101
93 ip -net "$ns2" addr add dead:beef:1::2/64 dev ns2eth1 nodad
97 ip -net "$ns2" addr add dead:beef:2::2/64 dev ns2eth2 nodad
101 ip -net "$ns2" addr add dead:beef:3::2/64 dev ns2eth3 nodad
107 ip -net "$ns3" addr add dead:beef:3::3/64 dev ns3eth1 nodad
110 ip -net "$ns3" route add default via dead:beef:3::2
/linux/security/keys/
H A Dgc.c25 * Reaper for links from keyrings to dead keys.
44 .name = ".dead",
83 * Schedule a dead links collection run.
103 * Reap keys of dead type.
106 * collector: the first to mark keys of that type as being dead, the second to
107 * collect dead links and the third to clean up the dead keys. We have to be
184 #define KEY_GC_REAPING_DEAD_1 0x10 /* - We need to mark dead keys */ in key_garbage_collector()
185 #define KEY_GC_REAPING_DEAD_2 0x20 /* - We need to reap dead key links */ in key_garbage_collector()
186 #define KEY_GC_REAPING_DEAD_3 0x40 /* - We need to reap dead keys */ in key_garbage_collector()
187 #define KEY_GC_FOUND_DEAD_KEY 0x80 /* - We found at least one dead key */ in key_garbage_collector()
[all …]
/linux/tools/testing/selftests/bpf/verifier/
H A Ddead_code.c2 "dead code: start",
17 "dead code: mid 1",
28 "dead code: mid 2",
43 "dead code: end 1",
54 "dead code: end 2",
66 "dead code: end 3",
80 "dead code: tail of main + func",
96 "dead code: tail of main + two functions",
114 "dead code: function in the middle and mid of another func",
132 "dead code: middle of main before call",
[all …]
/linux/tools/testing/selftests/net/
H A Dxfrm_policy.sh175 … echo netns exec $ns ip xfrm policy add src dead:$i::/64 dst dead:$i:$j::/64 dir out action block
176 … echo netns exec $ns ip xfrm policy add src dead:$i:$j::/64 dst dead:$i::/24 dir fwd action block
365 ip -net ${ns[$i]} addr add dead:$i::2/64 dev $DEV
369 ip -net ${ns[$i]} addr add dead:$i::fd dev $DEV
370 ip -net ${ns[$i]} addr add dead:$i::fe dev $DEV
412 do_esp ${ns[3]} dead:3::1 dead:3::10 dead:1::/64 dead:2::/64 $SPI1 $SPI2
414 do_esp ${ns[4]} dead:3::10 dead:3::1 dead:2::/64 dead:1::/64 $SPI2 $SPI1
421 do_esp_policy_get_check ${ns[3]} dead:1::/64 dead:2::/64
422 do_esp_policy_get_check ${ns[4]} dead:2::/64 dead:1::/64
438 do_exception ${ns[3]} dead:3::1 dead:3::10 dead:2::fd dead:2:f0::/96
[all …]
/linux/include/trace/events/
H A Dneigh.h87 __field(u8, dead)
112 __entry->dead = n->dead;
142 "dead %d refcnt %d primary_key4 %pI4 primary_key6 %pI6c "
148 __entry->type, __entry->dead, __entry->refcnt,
167 __field(u8, dead)
189 __entry->dead = n->dead;
216 "dead %d refcnt %d primary_key4 %pI4 primary_key6 %pI6c "
221 __entry->type, __entry->dead, __entr
[all...]
/linux/fs/ocfs2/dlm/
H A Ddlmrecovery.c209 * 2) negotiate who will take over all the locks for the dead node.
212 * and moves aside those mastered by the dead guy
223 * everything and recovery for this dead node is done
224 *10) go back to 2) while there are still dead nodes
233 mlog(ML_NOTICE, "%s(%d): recovery info, state=%s, dead=%u, master=%u\n", in dlm_print_reco_node_status()
248 st = "dead"; in dlm_print_reco_node_status()
316 * could be dead or just not joined */
319 int dead; in dlm_is_node_dead() local
321 dead = !test_bit(node, dlm->domain_map); in dlm_is_node_dead()
323 return dead; in dlm_is_node_dead()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_ct.c225 spin_lock_init(&ct->dead.lock); in xe_guc_ct_init()
226 INIT_WORK(&ct->dead.worker, ct_dead_worker_func); in xe_guc_ct_init()
469 * after any existing dead state has been dumped. in xe_guc_ct_enable()
471 spin_lock_irq(&ct->dead.lock); in xe_guc_ct_enable()
472 if (ct->dead.reason) in xe_guc_ct_enable()
473 ct->dead.reason |= (1 << CT_DEAD_STATE_REARM); in xe_guc_ct_enable()
474 spin_unlock_irq(&ct->dead.lock); in xe_guc_ct_enable()
1756 if (ct->dead.reported) in ct_dead_capture()
1759 spin_lock_irqsave(&ct->dead.lock, flags); in ct_dead_capture()
1762 have_capture = ct->dead.reason & (1 << CT_DEAD_STATE_CAPTURE); in ct_dead_capture()
[all …]
/linux/include/linux/
H A Drcuref.h39 /* Return 0 if within the DEAD zone. */ in rcuref_read()
65 * dead zones provide enough tolerance for this. in rcuref_get()
70 /* Handle the cases inside the saturation and dead zones */ in rcuref_get()
85 * dead zones provide enough tolerance for this. in __rcuref_put()
92 * and dead zones. in __rcuref_put()
/linux/fs/netfs/
H A Dobjects.c157 bool dead; in netfs_put_request() local
162 dead = __refcount_dec_and_test(&rreq->ref, &r); in netfs_put_request()
164 if (dead) { in netfs_put_request()
232 bool dead; in netfs_put_subrequest() local
235 dead = __refcount_dec_and_test(&subreq->ref, &r); in netfs_put_subrequest()
237 if (dead) in netfs_put_subrequest()
/linux/drivers/input/serio/
H A Dserio_raw.c39 bool dead; member
84 if (serio_raw->dead) in serio_raw_open()
152 if (serio_raw->dead) in serio_raw_read()
174 serio_raw->dead); in serio_raw_read()
192 if (serio_raw->dead) in serio_raw_write()
224 mask = serio_raw->dead ? EPOLLHUP | EPOLLERR : EPOLLOUT | EPOLLWRNORM; in serio_raw_poll()
353 * dead device.
375 serio_raw->dead = true; in serio_raw_disconnect()
/linux/drivers/input/mouse/
H A Dpsmouse-smbus.c22 bool dead; member
41 if (smbdev->dead) in psmouse_smbus_check_adapter()
73 if (!smbdev->dead) { in psmouse_smbus_detach_i2c_client()
77 smbdev->dead = true; in psmouse_smbus_detach_i2c_client()
172 if (smbdev->dead) { in psmouse_smbus_disconnect()
176 smbdev->dead = true; in psmouse_smbus_disconnect()
/linux/kernel/
H A Dvhost_task.c26 bool dead = false; vhost_task_fn() local

12345678910>>...28