Searched refs:atomic_set (Results 1 – 11 of 11) sorted by relevance
/include/linux/ |
D | kref.h | 32 atomic_set(&kref->refcount, 1); in kref_init()
|
D | uwb.h | 774 atomic_set(&stats->samples, 0); in stats_init() 806 atomic_set(&stats->samples, 1); in stats_add_sample()
|
D | ptrace.h | 223 atomic_set(&child->ptrace_bp_refcnt, 1); in ptrace_init_task()
|
D | mm.h | 379 atomic_set(&(page)->_mapcount, -1); in reset_page_mapcount() 430 atomic_set(&page->_count, 1); in init_page_count() 452 atomic_set(&page->_mapcount, PAGE_BUDDY_MAPCOUNT_VALUE); in __SetPageBuddy() 458 atomic_set(&page->_mapcount, -1); in __ClearPageBuddy()
|
D | fscache-cache.h | 124 atomic_set(&op->usage, 1); in fscache_operation_init()
|
D | pagemap.h | 200 atomic_set(&page->_count, count); in page_unfreeze_refs()
|
D | genhd.h | 630 atomic_set(&part->ref, 1); in hd_ref_init()
|
/include/asm-generic/ |
D | atomic.h | 54 #define atomic_set(v, i) (((v)->counter) = (i)) macro
|
D | atomic-long.h | 155 atomic_set(v, i); in atomic_long_set()
|
/include/net/ |
D | netlabel.h | 239 atomic_set(&cache->refcount, 1); in netlbl_secattr_cache_alloc()
|
/include/drm/ |
D | drmP.h | 1279 atomic_set(&dev->unplugged, 1); in drm_device_set_unplugged()
|