/openbmc/linux/lib/ |
H A D | rcuref.c | 47 * 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 D | lockref.c | 57 * 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 D | ref_tracker.c | 17 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()
|
/openbmc/linux/tools/testing/selftests/net/hsr/ |
H A D | hsr_ping.sh | 125 do_ping "$ns1" dead:beef:1::2 126 do_ping "$ns1" dead:beef:1::3 127 do_ping "$ns2" dead:beef:1::1 128 do_ping "$ns2" dead:beef:1::2 129 do_ping "$ns3" dead:beef:1::1 130 do_ping "$ns3" dead:beef:1::2 154 do_ping_long "$ns1" dead:beef:1::2 156 do_ping_long "$ns1" dead:beef:1::3 161 do_ping_long "$ns2" dead:beef:1::1 163 do_ping_long "$ns2" dead:beef:1::2 [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | dead_code.c | 2 "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 …]
|
/openbmc/linux/security/keys/ |
H A D | gc.c | 25 * 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 192 #define KEY_GC_REAPING_DEAD_1 0x10 /* - We need to mark dead keys */ in key_garbage_collector() 193 #define KEY_GC_REAPING_DEAD_2 0x20 /* - We need to reap dead key links */ in key_garbage_collector() 194 #define KEY_GC_REAPING_DEAD_3 0x40 /* - We need to reap dead keys */ in key_garbage_collector() 195 #define KEY_GC_FOUND_DEAD_KEY 0x80 /* - We found at least one dead key */ in key_garbage_collector() [all …]
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | nft_fib.sh | 143 ip -net ${nsrouter} addr add dead:1::1/64 dev veth0 147 ip -net ${nsrouter} addr add dead:2::1/64 dev veth1 156 ip -net ${ns1} addr add dead:1::99/64 dev eth0 158 ip -net ${ns1} route add default via dead:1::1 161 ip -net ${ns2} addr add dead:2::99/64 dev eth0 163 ip -net ${ns2} route add default via dead:2::1 196 test_ping 10.0.2.1 dead:2::1 || exit 1 199 test_ping 10.0.2.99 dead:2::99 || exit 1 210 ip -net ${ns1} addr del dead:1::99/64 dev eth0 213 ip -net ${ns1} addr add dead:2::99/64 dev eth0 [all …]
|
H A D | conntrack_icmp_related.sh | 45 echo -n dead:$1::2 105 ip -net nsclient1 -6 route add default via dead:1::1 108 ip -net nsclient2 route add default via dead:2::1 113 ip -net nsrouter1 addr add dead:1::1/64 dev eth1 114 ip -net nsrouter1 addr add dead:3::1/64 dev veth0 116 ip -net nsrouter1 -6 route add default via dead:3::10 120 ip -net nsrouter2 addr add dead:2::1/64 dev eth1 121 ip -net nsrouter2 addr add dead:3::10/64 dev eth2 123 ip -net nsrouter2 route add default via dead:3::1 221 ip netns exec nsclient1 ping6 -q -c 1 -s 1000 dead:2::2 >/dev/null [all …]
|
H A D | nft_nat.sh | 63 ip -net "$ns0" addr add dead:1::1/64 dev veth0 67 ip -net "$ns0" addr add dead:2::1/64 dev veth1 74 ip -net ns$i-$sfx addr add dead:$i::99/64 dev eth0 75 ip -net ns$i-$sfx route add default via dead:$i::1 188 ip6 daddr dead:1::99 dnat $IPF to dead:2::99 198 ip netns exec "$ns0" ping -q -c 1 dead:1::99 > /dev/null 427 ip netns exec "$ns2" ping -q -c 1 dead:1::99 > /dev/null # ping ns2->ns1 465 ip netns exec "$ns2" ping -q -c 1 dead:1::99 > /dev/null # ping ns2->ns1 503 ip netns exec "$ns2" ping -q -c 1 dead:1::99 > /dev/null # ping ns2->ns1 628 ip netns exec "$ns2" ping -q -c 1 dead:1::99 > /dev/null # ping ns2->ns1 [all …]
|
H A D | nft_flowtable.sh | 75 ip -net $nsr1 addr add dead:1::1/64 dev veth0 78 ip -net $nsr2 addr add dead:2::1/64 dev veth1 151 ip -net $ns1 addr add dead:1::99/64 dev eth0 152 ip -net $ns2 addr add dead:2::99/64 dev eth0 153 ip -net $ns1 route add default via dead:1::1 154 ip -net $ns2 route add default via dead:2::1 496 ip -net $ns2 route del default via dead:2::1 553 ip -net $nsr1 addr add dead:1::1/64 dev br0 596 ip -net $ns1 addr add dead:1::99/64 dev eth0.10 619 ip -net $ns1 addr add dead:1::99/64 dev eth0 [all …]
|
H A D | nft_queue.sh | 68 ip -net ${nsrouter} addr add dead:1::1/64 dev veth0 72 ip -net ${nsrouter} addr add dead:2::1/64 dev veth1 81 ip -net ${ns1} addr add dead:1::99/64 dev eth0 83 ip -net ${ns1} route add default via dead:1::1 86 ip -net ${ns2} addr add dead:2::99/64 dev eth0 88 ip -net ${ns2} route add default via dead:2::1 162 ip netns exec ${ns1} ping -c 1 -q dead:2::99 > /dev/null 176 ip netns exec ${ns1} ping -c 1 -q dead:2::1 > /dev/null 199 ip netns exec ${ns1} ping -W 2 -c 1 -q dead:2::99 > /dev/null
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | xfrm_policy.sh | 176 … echo netns exec $ns ip xfrm policy add src dead:$i::/64 dst dead:$i:$j::/64 dir out action block 177 … 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 ns3 dead:3::1 dead:3::10 dead:1::/64 dead:2::/64 $SPI1 $SPI2 414 do_esp ns4 dead:3::10 dead:3::1 dead:2::/64 dead:1::/64 $SPI2 $SPI1 421 do_esp_policy_get_check ns3 dead:1::/64 dead:2::/64 422 do_esp_policy_get_check ns4 dead:2::/64 dead:1::/64 438 do_exception ns3 dead:3::1 dead:3::10 dead:2::fd dead:2:f0::/96 [all …]
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | userspace_pm.sh | 153 ip -net "$ns1" addr add dead:beef:1::1/64 dev ns1eth2 nodad 154 ip -net "$ns1" addr add dead:beef:2::1/64 dev ns1eth2 nodad 159 ip -net "$ns2" addr add dead:beef:1::2/64 dev ns2eth1 nodad 160 ip -net "$ns2" addr add dead:beef:2::2/64 dev ns2eth1 nodad 191 connect_addr="dead:beef:1::1" 192 client_addr="dead:beef:1::2" 373 dead:beef:2::2 token "$client6_token" id $client_addr_id dev ns2eth1 374 print_test "ADD_ADDR6 id:client dead:beef:2::2 (ns2) => ns1, reuse port" 376 verify_announce_event "$server_evts" "$ANNOUNCED" "$server6_token" "dead:beef:2::2"\ 402 ip netns exec "$ns1" ./pm_nl_ctl ann dead:beef:2::1 token "$server6_token" id\ [all …]
|
H A D | mptcp_connect.sh | 187 ip -net "$ns1" addr add dead:beef:1::1/64 dev ns1eth2 nodad 191 ip -net "$ns1" route add default via dead:beef:1::2 194 ip -net "$ns2" addr add dead:beef:1::2/64 dev ns2eth1 nodad 198 ip -net "$ns2" addr add dead:beef:2::1/64 dev ns2eth3 nodad 201 ip -net "$ns2" route add default via dead:beef:2::2 206 ip -net "$ns3" addr add dead:beef:2::2/64 dev ns3eth2 nodad 210 ip -net "$ns3" addr add dead:beef:3::2/64 dev ns3eth4 nodad 213 ip -net "$ns3" route add default via dead:beef:2::1 218 ip -net "$ns4" addr add dead:beef:3::1/64 dev ns4eth3 nodad 221 ip -net "$ns4" route add default via dead:beef:3::2 [all …]
|
H A D | simult_flows.sh | 79 ip -net "$ns1" addr add dead:beef:1::1/64 dev ns1eth1 nodad 82 ip -net "$ns1" route add default via dead:beef:1::2 85 ip -net "$ns1" addr add dead:beef:2::1/64 dev ns1eth2 nodad 88 ip -net "$ns1" route add default via dead:beef:2::2 metric 101 94 ip -net "$ns2" addr add dead:beef:1::2/64 dev ns2eth1 nodad 98 ip -net "$ns2" addr add dead:beef:2::2/64 dev ns2eth2 nodad 102 ip -net "$ns2" addr add dead:beef:3::2/64 dev ns2eth3 nodad 108 ip -net "$ns3" addr add dead:beef:3::3/64 dev ns3eth1 nodad 111 ip -net "$ns3" route add default via dead:beef:3::2
|
/openbmc/linux/include/trace/events/ |
H A D | neigh.h | 87 __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, __entry->refcnt,
|
/openbmc/linux/fs/netfs/ |
H A D | objects.c | 92 bool dead; in netfs_put_request() local 95 dead = __refcount_dec_and_test(&rreq->ref, &r); in netfs_put_request() 97 if (dead) { in netfs_put_request() 153 bool dead; in netfs_put_subrequest() local 156 dead = __refcount_dec_and_test(&subreq->ref, &r); in netfs_put_subrequest() 158 if (dead) in netfs_put_subrequest()
|
/openbmc/linux/fs/ocfs2/dlm/ |
H A D | dlmrecovery.c | 209 * 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 …]
|
/openbmc/linux/include/linux/ |
H A D | rcuref.h | 39 /* 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()
|
H A D | ref_tracker.h | 17 bool dead; member 19 struct list_head quarantine; /* List of dead trackers */ 34 dir->dead = false; in ref_tracker_dir_init()
|
/openbmc/linux/drivers/input/serio/ |
H A D | serio_raw.c | 39 bool dead; member 90 if (serio_raw->dead) { in serio_raw_open() 167 if (serio_raw->dead) in serio_raw_read() 189 serio_raw->dead); in serio_raw_read() 210 if (serio_raw->dead) { in serio_raw_write() 247 mask = serio_raw->dead ? EPOLLHUP | EPOLLERR : EPOLLOUT | EPOLLWRNORM; in serio_raw_poll() 376 * dead device. 398 serio_raw->dead = true; in serio_raw_disconnect()
|
/openbmc/linux/drivers/input/mouse/ |
H A D | psmouse-smbus.c | 22 bool dead; member 41 if (smbdev->dead) in psmouse_smbus_check_adapter() 75 if (!smbdev->dead) { in psmouse_smbus_detach_i2c_client() 79 smbdev->dead = true; in psmouse_smbus_detach_i2c_client() 176 if (smbdev->dead) { in psmouse_smbus_disconnect() 180 smbdev->dead = true; in psmouse_smbus_disconnect()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_ksyms_weak.c | 57 /* dead code won't be seen by the verifier */ in pass_handler() 61 /* dead code won't be seen by the verifier */ in pass_handler() 65 /* dead code won't be seen by the verifier */ in pass_handler()
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | maxim,max17042.yaml | 50 maxim,dead-volt: 53 Voltage threshold to report battery as dead (in mV). 54 Default is not to report dead battery events.
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | dump.py | 80 serial console. This helps to end testing when target is really dead, hanging 91 …print("Too many errors when dumping data from target, assuming it is dead! Will not dump data anym… 111 This helps to end testing when target is really dead, hanging or unresponsive. 125 …print("Too many errors when dumping data from qemu monitor, assuming it is dead! Will not dump dat…
|