Home
last modified time | relevance | path

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

12345678910>>...31

/openbmc/linux/lib/
H A 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 …]
H A 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
H A Ddec_and_lock.c7 * This is an implementation of the notion of "decrement a
18 * because the spin-lock and the decrement must be
H A 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
/openbmc/linux/net/batman-adv/
H A 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
/openbmc/qemu/include/qemu/
H A Dlockcnt.h66 * qemu_lockcnt_dec: decrement a QemuLockCnt's counter
72 * qemu_lockcnt_dec_and_lock: decrement a QemuLockCnt's counter and
76 * Decrement lockcnt's count. If the new count is zero, lock
82 * qemu_lockcnt_dec_if_lock: possibly decrement a QemuLockCnt's counter and
86 * If the count is 1, decrement the count to zero, lock
/openbmc/u-boot/arch/x86/include/asm/acpi/
H A Dirqlinks.asl66 Decrement(Local0)
124 Decrement(Local0)
182 Decrement(Local0)
240 Decrement(Local0)
298 Decrement(Local0)
356 Decrement(Local0)
414 Decrement(Local0)
472 Decrement(Local0)
/openbmc/linux/arch/x86/include/asm/
H A 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
/openbmc/linux/drivers/accessibility/speakup/
H A 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 …]
/openbmc/linux/kernel/locking/
H A 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()
/openbmc/u-boot/arch/arm/cpu/armv7/
H A Dcache_v7_asm.S59 subs r9, r9, #1 @ decrement the index
61 subs r4, r4, #1 @ decrement the way
129 subs r9, r9, #1 @ decrement the index
131 subs r4, r4, #1 @ decrement the way
/openbmc/linux/include/linux/
H A 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
H A Dpm_runtime.h21 #define RPM_GET_PUT 0x04 /* Increment/decrement the
137 * 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
H A Dkref.h49 * kref_put - decrement refcount for object.
56 * Decrement the refcount, and if 0, call release().
/openbmc/linux/arch/arm/mm/
H A 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
/openbmc/linux/Documentation/mm/
H A 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
/openbmc/linux/drivers/acpi/acpica/
H A 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()
/openbmc/linux/security/landlock/
H A 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()
/openbmc/linux/net/sched/
H A 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()
/openbmc/linux/tools/testing/selftests/futex/include/
H A Datomic.h54 * atomic_dec() - Atomic decrement
55 * @addr: Address of the variable to decrement
/openbmc/linux/kernel/sched/
H A 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
/openbmc/qemu/util/
H A Dlockcnt.c150 /* Decrement a counter, and return locked if it is decremented to zero.
197 /* If the counter is one, decrement it and return locked. Otherwise do
331 /* Decrement a counter, and return locked if it is decremented to zero.
357 /* Decrement a counter and return locked if it is decremented to zero.
/openbmc/phosphor-fan-presence/docs/monitor/
H A Dmethod.md60 enough times deemed within range to decrement the counter to 0. This checking
67 increment/decrement the counter. Defaults to 1s if not present.
/openbmc/linux/arch/xtensa/lib/
H A Dstrncpy_user.S74 addi a4, a4, -1 # decrement len
84 addi a4, a4, -1 # decrement len
91 addi a4, a4, -1 # decrement len
/openbmc/linux/Documentation/core-api/
H A 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

12345678910>>...31