Home
last modified time | relevance | path

Searched refs:atomic_inc_unless_negative (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/drivers/misc/cxl/
Dvphb.c100 return atomic_inc_unless_negative(&afu->configured_state); in cxl_afu_configured_get()
Dmain.c281 rc = atomic_inc_unless_negative(&adapter->contexts_num); in cxl_adapter_context_get()
/Linux-v5.15/drivers/hwtracing/intel_th/
Dmsu.c873 if (!atomic_inc_unless_negative(&msc->user_count)) in intel_th_msc_activate()
1523 if (!atomic_inc_unless_negative(&msc->user_count)) in intel_th_msc_read()
1636 if (!atomic_inc_unless_negative(&msc->user_count)) in intel_th_msc_mmap()
/Linux-v5.15/fs/proc/
Dinode.c208 return likely(atomic_inc_unless_negative(&pde->in_use)); in use_pde()
/Linux-v5.15/Documentation/
Datomic_t.txt51 atomic_dec_unless_positive(), atomic_inc_unless_negative()
/Linux-v5.15/fs/kernfs/
Ddir.c420 if (!atomic_inc_unless_negative(&kn->active)) in kernfs_get_active()
/Linux-v5.15/include/linux/
Dfs.h558 return atomic_inc_unless_negative(&mapping->i_mmap_writable) ? in mapping_map_writable()
3048 return atomic_inc_unless_negative(&inode->i_writecount) ? 0 : -ETXTBSY; in get_write_access()
/Linux-v5.15/include/linux/atomic/
Datomic-instrumented.h582 atomic_inc_unless_negative(atomic_t *v) in atomic_inc_unless_negative() function
/Linux-v5.15/tools/memory-model/Documentation/
Dlitmus-tests.txt992 atomic_long_add_unless(), atomic_inc_unless_negative(),
/Linux-v5.15/kernel/events/
Dcore.c4893 if (!atomic_inc_unless_negative(&pmu->exclusive_cnt)) in exclusive_event_init()