Home
last modified time | relevance | path

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

12345678910>>...51

/kernel/linux/linux-5.10/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
139 * lockref_put_return - Decrement reference count if possible
142 * Decrement the reference count and return the new value.
159 * 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
/kernel/linux/linux-6.6/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.c85 * lockref_put_not_zero - Decrements count unless count <= 1 before decrement
113 * lockref_put_return - Decrement reference count if possible
116 * Decrement the reference count and return the new value.
133 * 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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/net/batman-adv/
Doriginator.h90 * batadv_orig_node_vlan_put() - decrement the refcounter and possibly release
104 * batadv_neigh_ifinfo_put() - decrement the refcounter and possibly release
118 * batadv_hardif_neigh_put() - decrement the hardif neighbors refcounter
132 * batadv_neigh_node_put() - decrement the neighbors refcounter and possibly
145 * batadv_orig_ifinfo_put() - decrement the refcounter and possibly release
159 * batadv_orig_node_put() - decrement the orig node refcounter and possibly
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpreempt.h16 * that a decrement hitting 0 means we can and should reschedule.
51 * preempt_enable() can decrement and test for needing to reschedule with a
54 * We invert the actual bit, so that when the decrement hits 0 we know we both
89 * a decrement which hits zero means we have no preempt_count and should
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
Di18n.c285 [MSG_FUNCNAME_ATTRIB_BLEEP_DEC] = "attribute bleep decrement",
287 [MSG_FUNCNAME_BLEEPS_DEC] = "bleeps decrement",
314 [MSG_FUNCNAME_PITCH_DEC] = "pitch decrement",
316 [MSG_FUNCNAME_PUNC_DEC] = "punctuation decrement",
318 [MSG_FUNCNAME_PUNC_LEVEL_DEC] = "punc level decrement",
321 [MSG_FUNCNAME_RATE_DEC] = "rate decrement",
323 [MSG_FUNCNAME_READING_PUNC_DEC] = "reading punctuation decrement",
336 [MSG_FUNCNAME_SPELL_DELAY_DEC] = "spell delay decrement",
340 [MSG_FUNCNAME_TONE_DEC] = "tone decrement",
342 [MSG_FUNCNAME_VOICE_DEC] = "voice decrement",
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/liteos_a/arch/arm/arm/include/
Dlos_atomic.h246 * @brief Atomic auto-decrement.
249 * This API is used to implement the atomic auto-decrement.
256 * @param v [IN] The auto-decrement variable pointer.
280 * @brief Atomic auto-decrement.
283 * This API is used to implement the atomic auto-decrement and return the result of auto-decrement.
290 * @param v [IN] The auto-decrement variable pointer.
292 * @retval #INT32 The return value of variable auto-decrement.
531 * @brief Atomic64 auto-decrement.
534 * This API is used to implement the atomic64 auto-decrement.
541 * @param v [IN] The auto-decrement variable pointer.
[all …]
/kernel/linux/linux-5.10/kernel/locking/
Dpercpu-rwsem.c51 * Due to having preemption disabled the decrement happens on in __percpu_down_read_trylock()
53 * increment-on-one-CPU-and-decrement-on-another problem. in __percpu_down_read_trylock()
60 * in turn means that they are guaranteed to immediately decrement in __percpu_down_read_trylock()
195 * decrement that same counter.
205 * If we observed the decrement; ensure we see the entire critical in readers_active_check()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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
104 * Decrement the runtime PM usage counter of @dev unless it is 0 already.
420 * Decrement the runtime PM usage counter of @dev and if it turns out to be
432 * Decrement the runtime PM usage counter of @dev and if it turns out to be
445 * Decrement the runtime PM usage counter of @dev and if it turns out to be
463 * Decrement the runtime PM usage counter of @dev and if it turns out to be
479 * Decrement the runtime PM usage counter of @dev and if it turns out to be
/kernel/linux/linux-6.6/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/Documentation/mm/
Dtranshuge.rst118 - map/unmap of a PMD entry for the whole THP increment/decrement
119 folio->_entire_mapcount and also increment/decrement
123 - map/unmap of individual pages with PTE entry increment/decrement
124 page->_mapcount and also increment/decrement folio->_nr_pages_mapped
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()

12345678910>>...51