Function report |
Source Code:include\linux\atomic-fallback.h |
Create Date:2022-07-28 05:34:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:atomic_add_unless - add unless the number is already a given value*@v: pointer of type atomic_t*@a: the amount to add to v...*@u: ...unless v is equal to u.* Atomically adds @a to @v, if @v was not already @u.* Returns true if the addition was done.
Proto:static inline bool atomic_add_unless(atomic_t *v, int a, int u)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| atomic_t * | v | |
| int | a | |
| int | u |
| Name | Describe |
|---|---|
| _atomic_dec_and_lock | This is an implementation of the notion of "decrement a* reference count, and return locked if it decremented to zero" |
| _atomic_dec_and_lock_irqsave | |
| atomic_dec_and_mutex_lock | atomic_dec_and_mutex_lock - return holding mutex if we dec to 0*@cnt: the atomic which we are to dec*@lock: the mutex to return holding if we dec to 0* return true and hold lock if we dec to 0, return false otherwise |
| hibernate | hibernate - Carry out system hibernation, including saving the image. |
| software_resume | software_resume - Resume from a saved hibernation image.* This routine is called as a late initcall, when all devices have been* discovered and initialized already.* The image reading code is called to see if there is a hibernation image |
| snapshot_open | |
| kdb_param_enable_nmi | |
| unaccount_event | |
| deactivate_super | deactivate_super - drop an active reference to superblock*@s: superblock to deactivate* Variant of deactivate_locked_super(), except that superblock is *not** locked by caller. If we are going to drop the final active reference, |
| atomic_inc_not_zero | atomic_inc_not_zero - increment unless the number is zero*@v: pointer of type atomic_t* Atomically increments @v by 1, if @v is non-zero.* Returns true if the increment was done. |
| atomic_long_add_unless |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |