Home
last modified time | relevance | path

Searched full:decrement (Results 1 – 25 of 647) sorted by relevance

12345678910>>...26

/Linux-v6.1/lib/
Drefcount.c31 REFCOUNT_WARN("decrement hit 0; leaking memory"); in refcount_warn_saturate()
40 * refcount_dec_if_one - decrement a refcount if it is 1
46 * Like all decrement operations, it provides release memory order and provides
64 * refcount_dec_not_one - decrement a refcount if it is not 1
72 * Return: true if the decrement operation was successful, false otherwise
98 * refcount_dec_and_mutex_lock - return holding mutex if able to decrement
104 * to decrement when saturated at REFCOUNT_SATURATED.
110 * Return: true and hold mutex if able to decrement refcount to 0, false
129 * refcount_dec_and_lock - return holding spinlock if able to decrement
135 * decrement when saturated at REFCOUNT_SATURATED.
[all …]
Dlockref.c86 * lockref_put_not_zero - Decrements count unless count <= 1 before decrement
114 * lockref_put_return - Decrement reference count if possible
117 * Decrement the reference count and return the new value.
134 * lockref_put_or_lock - decrements count unless count <= 1 before decrement
Ddec_and_lock.c7 * This is an implementation of the notion of "decrement a
18 * because the spin-lock and the decrement must be
Dklist.c28 * When deleting, klist_del() will simply decrement the reference count.
225 * klist_del - Decrement the reference count of node and try to remove.
235 * klist_remove - Decrement the refcount of node and wait for it to go away.
329 * First grab list lock. Decrement the reference count of the previous
371 * First grab list lock. Decrement the reference count of the previous
/Linux-v6.1/net/batman-adv/
Doriginator.h86 * batadv_orig_node_vlan_put() - decrement the refcounter and possibly release
100 * batadv_neigh_ifinfo_put() - decrement the refcounter and possibly release
114 * batadv_hardif_neigh_put() - decrement the hardif neighbors refcounter
128 * batadv_neigh_node_put() - decrement the neighbors refcounter and possibly
141 * batadv_orig_ifinfo_put() - decrement the refcounter and possibly release
155 * batadv_orig_node_put() - decrement the orig node refcounter and possibly
/Linux-v6.1/arch/x86/include/asm/
Dpreempt.h17 * that a decrement hitting 0 means we can and should reschedule.
52 * preempt_enable() can decrement and test for needing to reschedule with a
55 * We invert the actual bit, so that when the decrement hits 0 we know we both
90 * a decrement which hits zero means we have no preempt_count and should
/Linux-v6.1/drivers/accessibility/speakup/
Di18n.c292 [MSG_FUNCNAME_ATTRIB_BLEEP_DEC] = "attribute bleep decrement",
294 [MSG_FUNCNAME_BLEEPS_DEC] = "bleeps decrement",
321 [MSG_FUNCNAME_PITCH_DEC] = "pitch decrement",
323 [MSG_FUNCNAME_PUNC_DEC] = "punctuation decrement",
325 [MSG_FUNCNAME_PUNC_LEVEL_DEC] = "punc level decrement",
328 [MSG_FUNCNAME_RATE_DEC] = "rate decrement",
330 [MSG_FUNCNAME_READING_PUNC_DEC] = "reading punctuation decrement",
343 [MSG_FUNCNAME_SPELL_DELAY_DEC] = "spell delay decrement",
347 [MSG_FUNCNAME_TONE_DEC] = "tone decrement",
349 [MSG_FUNCNAME_VOICE_DEC] = "voice decrement",
[all …]
/Linux-v6.1/kernel/locking/
Dpercpu-rwsem.c53 * Due to having preemption disabled the decrement happens on in __percpu_down_read_trylock()
55 * increment-on-one-CPU-and-decrement-on-another problem. in __percpu_down_read_trylock()
62 * in turn means that they are guaranteed to immediately decrement in __percpu_down_read_trylock()
205 * decrement that same counter.
215 * If we observed the decrement; ensure we see the entire critical in readers_active_check()
/Linux-v6.1/include/linux/
Drefcount.h294 * ultimately leak on underflow and will fail to decrement when saturated
304 * decrement a reference count.
319 * refcount_dec_and_test - decrement a refcount and test if it is 0
323 * decrement when saturated at REFCOUNT_SATURATED.
348 * refcount_dec - decrement a refcount
351 * Similar to atomic_dec(), it will WARN on underflow and fail to decrement
Dpm_runtime.h21 #define RPM_GET_PUT 0x04 /* Increment/decrement the
138 * Decrement the runtime PM usage counter of @dev unless it is 0 already.
457 * Decrement the runtime PM usage counter of @dev and if it turns out to be
469 * Decrement the runtime PM usage counter of @dev and if it turns out to be
482 * Decrement the runtime PM usage counter of @dev and if it turns out to be
500 * Decrement the runtime PM usage counter of @dev and if it turns out to be
516 * Decrement the runtime PM usage counter of @dev and if it turns out to be
Dkref.h49 * kref_put - decrement refcount for object.
56 * Decrement the refcount, and if 0, call release().
Dpercpu-refcount.h317 * percpu_ref_put_many - decrement a percpu refcount
321 * Decrement the refcount, and if 0, call the release function (which was passed
341 * percpu_ref_put - decrement a percpu refcount
344 * Decrement the refcount, and if 0, call the release function (which was passed
/Linux-v6.1/arch/arm/mm/
Dabort-lv4t.S81 addeq r7, r7, r6, lsl #2 @ Undo decrement
101 addeq r7, r7, r6 @ Undo decrement
117 addeq r7, r7, r6, lsr #20 @ Undo decrement
217 subne r7, r7, r6, lsl #2 @ decrement SP if POP
234 sub r7, r7, r6, lsl #2 @ always decrement
/Linux-v6.1/drivers/acpi/acpica/
Dutdelete.c385 /* Perform the reference count action (increment, decrement) */ in acpi_ut_update_ref_count()
423 "Obj %p, Reference Count is already zero, cannot decrement\n", in acpi_ut_update_ref_count()
438 message = "Decrement"; in acpi_ut_update_ref_count()
464 * PARAMETERS: object - Increment or decrement the ref count for
470 * DESCRIPTION: Increment or decrement the object reference count
706 * DESCRIPTION: Decrement the reference count of an ACPI internal object
736 * Decrement the reference count, and only actually delete the object in acpi_ut_remove_reference()
737 * if the reference count becomes 0. (Must also decrement the ref count in acpi_ut_remove_reference()
/Linux-v6.1/security/landlock/
Dobject.c53 * If the @object's refcount cannot drop to zero, we can just decrement in landlock_put_object()
54 * the refcount without holding a lock. Otherwise, the decrement must in landlock_put_object()
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_lag.h59 * ice_enable_lag - decrement disable count for a PF
62 * Decrement the disable counter for a port, and if that count reaches
/Linux-v6.1/net/sched/
Dsch_sfb.c61 u32 decrement; /* d2 */ member
182 b->p_mark = prob_minus(b->p_mark, q->decrement); in decrement_prob()
485 .decrement = (SFB_MAX_PROB + 3000) / 6000,
533 q->decrement = ctl->decrement; in sfb_change()
578 .decrement = q->decrement, in sfb_dump()
/Linux-v6.1/tools/testing/selftests/futex/include/
Datomic.h54 * atomic_dec() - Atomic decrement
55 * @addr: Address of the variable to decrement
/Linux-v6.1/kernel/sched/
Dcompletion.c283 * try_wait_for_completion - try to decrement a completion without blocking
286 * Return: 0 if a decrement cannot be done without blocking
287 * 1 if a decrement succeeded.
290 * attempt to decrement the counter without blocking. This
/Linux-v6.1/arch/xtensa/lib/
Dstrncpy_user.S74 addi a4, a4, -1 # decrement len
84 addi a4, a4, -1 # decrement len
91 addi a4, a4, -1 # decrement len
/Linux-v6.1/Documentation/core-api/
Drefcount-vs-atomic.rst101 case 3) - decrement-based RMW ops that return no value
129 case 5) - generic dec/sub decrement-based RMW ops that return a value
142 case 6) other decrement-based RMW ops that return a value
/Linux-v6.1/fs/jfs/
Djfs_debug.h101 #define DECREMENT(x) ((x)--) macro
105 #define DECREMENT(x) macro
/Linux-v6.1/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dsfb.json165 "name": "Create SFB with decrement setting",
176 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfb decrement 0.1",
179 "matchPattern": "qdisc sfb 1: root refcnt 2 rehash 600s db 60s.*decrement 0.1",
/Linux-v6.1/drivers/crypto/virtio/
Dvirtio_crypto_mgr.c140 * virtcrypto_dev_put() - Decrement vcrypto_dev reference count
143 * Decrement the vcrypto_dev refcount and if this is the last time
145 * decrement the module refcount too.
/Linux-v6.1/include/asm-generic/
Dqrwlock.h86 /* The slowpath will decrement the reader count, if necessary. */ in queued_read_lock()
111 * Atomically decrement the reader count in queued_read_unlock()

12345678910>>...26