函数逻辑报告 |
Source Code:include\asm-generic\atomic-instrumented.h |
Create Date:2022-07-27 06:38:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:atomic_cmpxchg
函数原型:static inline int atomic_cmpxchg(atomic_t *v, int old, int new)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
atomic_t * | v | |
int | old | |
int | new |
653 | kasan_check_write(v, v的长度) |
654 | 返回:arch_atomic_cmpxchg(v, old, new) |
名称 | 描述 |
---|---|
__sbq_wake_up | |
native_stop_other_cpus | |
reserve_eilvt_offset | |
nmi_panic | A variant of panic() called from NMI context. We return if we've already* panicked on this CPU. If another CPU already panicked, loop in* nmi_panic_self_stop() which can provide architecture dependent code such* as saving register state for crash dump. |
panic | panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
atomic_inc_below | |
psi_schedule_poll_work | Schedule polling if it's not already scheduled. It's safe to call even from* hotpath because even though kthread_queue_delayed_work takes worker->lock* spinlock that spinlock is never contended due to poll_scheduled atomic* preventing such competition. |
printk_safe_log_store | Add a message to per-CPU context-dependent buffer |
__printk_safe_flush | Flush data from the associated per-CPU buffer. The function* can be called either via IRQ work or independently. |
rcu_eqs_special_set | Set the special (bottom) bit of the specified CPU so that it* will take special action (such as flushing its TLB) on the* next exit from an extended quiescent state. Returns true if* the bit was successfully set, or false if the CPU was not in |
crash_kexec | |
ring_buffer_record_off | g_buffer_record_off - stop all writes into the buffer*@buffer: The ring buffer to stop writes to |
ring_buffer_record_on | g_buffer_record_on - restart writes into the buffer*@buffer: The ring buffer to start writes to |
irq_work_run_list | |
static_key_slow_inc | |
static_key_disable_cpuslocked | |
shrink_huge_zero_page_scan | |
atomic_inc_below | Increment 'v', if 'v' is below 'below'. Returns true if we succeeded,* false if 'v' + 1 would be bigger than 'below'. |
check_scale_change | Check our parent and see if the scale cookie has changed. |
__get_reqs_available | |
atomic_long_cmpxchg | |
page_ref_freeze | |
blkcg_unuse_delay | |
blkcg_clear_delay | |
sbq_index_atomic_inc |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |