Home
last modified time | relevance | path

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

12345678910>>...28

/linux-6.12.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.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
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
Ddec_and_lock.c7 * This is an implementation of the notion of "decrement a
18 * because the spin-lock and the decrement must be
/linux-6.12.1/net/batman-adv/
Doriginator.h89 * batadv_orig_node_vlan_put() - decrement the refcounter and possibly release
103 * batadv_neigh_ifinfo_put() - decrement the refcounter and possibly release
117 * batadv_hardif_neigh_put() - decrement the hardif neighbors refcounter
131 * batadv_neigh_node_put() - decrement the neighbors refcounter and possibly
144 * batadv_orig_ifinfo_put() - decrement the refcounter and possibly release
158 * batadv_orig_node_put() - decrement the orig node refcounter and possibly
/linux-6.12.1/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
/linux-6.12.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-6.12.1/Documentation/mm/
Dtranshuge.rst118 - map/unmap of a PMD entry for the whole THP increment/decrement
119 folio->_entire_mapcount, increment/decrement folio->_large_mapcount
120 and also increment/decrement folio->_nr_pages_mapped by ENTIRELY_MAPPED
123 - map/unmap of individual pages with PTE entry increment/decrement
124 page->_mapcount, increment/decrement folio->_large_mapcount and also
125 increment/decrement folio->_nr_pages_mapped when page->_mapcount goes
/linux-6.12.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-6.12.1/include/linux/
Drefcount.h286 * ultimately leak on underflow and will fail to decrement when saturated
296 * decrement a reference count.
311 * refcount_dec_and_test - decrement a refcount and test if it is 0
315 * decrement when saturated at REFCOUNT_SATURATED.
340 * refcount_dec - decrement a refcount
343 * Similar to atomic_dec(), it will WARN on underflow and fail to decrement
Dpm_runtime.h21 #define RPM_GET_PUT 0x04 /* Increment/decrement the
125 * Decrement the runtime PM usage counter of @dev unless it is 0 already.
443 * Decrement the runtime PM usage counter of @dev and if it turns out to be
455 * Decrement the runtime PM usage counter of @dev and if it turns out to be
467 * Decrement the runtime PM usage counter of @dev and if it turns out to be
480 * Decrement the runtime PM usage counter of @dev and if it turns out to be
498 * Decrement the runtime PM usage counter of @dev and if it turns out to be
514 * 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-6.12.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-6.12.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-6.12.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-6.12.1/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dsfb.json151 "name": "Create SFB with decrement setting",
161 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root sfb decrement 0.1",
164 "matchPattern": "qdisc sfb 1: root refcnt 2 rehash 600s db 60s.*decrement 0.1",
/linux-6.12.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-6.12.1/tools/testing/selftests/futex/include/
Datomic.h54 * atomic_dec() - Atomic decrement
55 * @addr: Address of the variable to decrement
/linux-6.12.1/kernel/sched/
Dcompletion.c293 * try_wait_for_completion - try to decrement a completion without blocking
296 * Return: 0 if a decrement cannot be done without blocking
297 * 1 if a decrement succeeded.
300 * attempt to decrement the counter without blocking. This
/linux-6.12.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-6.12.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-6.12.1/include/linux/atomic/
Datomic-instrumented.h580 * atomic_dec() - atomic decrement with relaxed ordering
597 * atomic_dec_return() - atomic decrement with full ordering
615 * atomic_dec_return_acquire() - atomic decrement with acquire ordering
632 * atomic_dec_return_release() - atomic decrement with release ordering
650 * atomic_dec_return_relaxed() - atomic decrement with relaxed ordering
667 * atomic_fetch_dec() - atomic decrement with full ordering
685 * atomic_fetch_dec_acquire() - atomic decrement with acquire ordering
702 * atomic_fetch_dec_release() - atomic decrement with release ordering
720 * atomic_fetch_dec_relaxed() - atomic decrement with relaxed ordering
1370 * atomic_dec_and_test() - atomic decrement and test if zero with full ordering
[all …]
Datomic-long.h665 * raw_atomic_long_dec() - atomic decrement with relaxed ordering
685 * raw_atomic_long_dec_return() - atomic decrement with full ordering
705 * raw_atomic_long_dec_return_acquire() - atomic decrement with acquire ordering
725 * raw_atomic_long_dec_return_release() - atomic decrement with release ordering
745 * raw_atomic_long_dec_return_relaxed() - atomic decrement with relaxed ordering
765 * raw_atomic_long_fetch_dec() - atomic decrement with full ordering
785 * raw_atomic_long_fetch_dec_acquire() - atomic decrement with acquire ordering
805 * raw_atomic_long_fetch_dec_release() - atomic decrement with release ordering
825 * raw_atomic_long_fetch_dec_relaxed() - atomic decrement with relaxed ordering
1558 * raw_atomic_long_dec_and_test() - atomic decrement and test if zero with full ordering
[all …]
/linux-6.12.1/fs/jfs/
Djfs_debug.h101 #define DECREMENT(x) ((x)--) macro
105 #define DECREMENT(x) macro

12345678910>>...28