函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\asm-generic\atomic-long.h Create Date:2022-07-27 06:38:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:atomic_long_add

函数原型:static inline void atomic_long_add(long i, atomic_long_t *v)

返回类型:void

参数:

类型参数名称
longi
atomic_long_t *v
546  atomic_add(i, v)
调用者
名称描述
percpu_ref_switch_to_atomic_rcu
__percpu_ref_switch_to_percpu
gen_pool_free_ownergen_pool_free_owner - free allocated special memory back to the pool*@pool: pool to free to*@addr: starting address of memory to free back to pool*@size: size in bytes of memory to free*@owner: private data stashed at gen_pool_add() time* Free previously
calc_global_loadalc_load - update the avenrun load estimates 10 ticks after the* CPUs have updated calc_load_tasks.* Called from the global timer code.
calc_global_load_tickCalled from scheduler_tick() to periodically update this CPU's* active count.
rwsem_mark_wakehandle the lock release when processes blocked on it that can now run* - if we come here from up_xxxx(), then the RWSEM_FLAG_WAITERS bit must* have been set
rwsem_down_read_slowpathWait for the read lock to be granted
rwsem_down_write_slowpathWait until we successfully acquire the write lock
perf_mmap
do_mmap_privateset up a private mapping or an anonymous shared mapping
__vmalloc_area_node
__free_pages_core
adjust_managed_page_count
swap_range_free
get_swap_pages
_enable_swap_info
propagate_protected_usage
__mod_memcg_state__mod_memcg_state - update cgroup memory statistics*@memcg: the memory cgroup*@idx: the stat item - can be enum memcg_stat_item or enum node_stat_item*@val: delta to add to the counter, can be negative
__mod_lruvec_state__mod_lruvec_state - update lruvec memory statistics*@lruvec: the lruvec*@idx: the stat item*@val: delta to add to the counter, can be negative* The lruvec is the intersection of the NUMA node and a cgroup
__count_memcg_events__count_memcg_events - account VM events in a cgroup*@memcg: the memory cgroup*@idx: the event item*@count: the number of events that occured
memcg_hotplug_cpu_dead
memcg_flush_percpu_vmstats
memcg_flush_percpu_vmevents
zs_malloczs_malloc - Allocate block of given size from pool.*@pool: pool to allocate from*@size: size of block to allocate*@gfp: gfp flags when allocating object* On success, handle to the allocated object is returned,* otherwise 0.
wb_io_lists_populated
percpu_ref_get_manypercpu计数
totalram_pages_add
zone_numa_state_add
zone_page_state_add
node_page_state_add
mm_inc_nr_ptes
add_frag_mem_limit
hugetlb_count_add