Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/misc/cxl/
Dvphb.c94 return atomic_inc_unless_negative(&afu->configured_state); in cxl_afu_configured_get()
Dmain.c282 rc = atomic_inc_unless_negative(&adapter->contexts_num); in cxl_adapter_context_get()
/linux-6.6.21/drivers/hwtracing/intel_th/
Dmsu.c871 if (!atomic_inc_unless_negative(&msc->user_count)) in intel_th_msc_activate()
1531 if (!atomic_inc_unless_negative(&msc->user_count)) in intel_th_msc_read()
1644 if (!atomic_inc_unless_negative(&msc->user_count)) in intel_th_msc_mmap()
/linux-6.6.21/fs/proc/
Dinode.c206 return likely(atomic_inc_unless_negative(&pde->in_use)); in use_pde()
/linux-6.6.21/Documentation/
Datomic_t.txt51 atomic_dec_unless_positive(), atomic_inc_unless_negative()
/linux-6.6.21/fs/kernfs/
Ddir.c439 if (!atomic_inc_unless_negative(&kn->active)) in kernfs_get_active()
/linux-6.6.21/include/linux/
Dfs.h576 return atomic_inc_unless_negative(&mapping->i_mmap_writable) ? in mapping_map_writable()
2787 return atomic_inc_unless_negative(&inode->i_writecount) ? 0 : -ETXTBSY; in get_write_access()
/linux-6.6.21/include/linux/atomic/
Datomic-instrumented.h1540 atomic_inc_unless_negative(atomic_t *v) in atomic_inc_unless_negative() function
/linux-6.6.21/sound/core/
Dpcm_lib.c2309 if (!atomic_inc_unless_negative(&runtime->buffer_accessing)) { in __snd_pcm_lib_xfer()
/linux-6.6.21/tools/memory-model/Documentation/
Dlitmus-tests.txt1009 atomic_long_add_unless(), atomic_inc_unless_negative(),
/linux-6.6.21/kernel/events/
Dcore.c5122 if (!atomic_inc_unless_negative(&pmu->exclusive_cnt)) in exclusive_event_init()