Searched refs:atomic_inc_unless_negative (Results 1 – 11 of 11) sorted by relevance
94 return atomic_inc_unless_negative(&afu->configured_state); in cxl_afu_configured_get()
282 rc = atomic_inc_unless_negative(&adapter->contexts_num); in cxl_adapter_context_get()
871 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()
206 return likely(atomic_inc_unless_negative(&pde->in_use)); in use_pde()
51 atomic_dec_unless_positive(), atomic_inc_unless_negative()
439 if (!atomic_inc_unless_negative(&kn->active)) in kernfs_get_active()
576 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()
1540 atomic_inc_unless_negative(atomic_t *v) in atomic_inc_unless_negative() function
2309 if (!atomic_inc_unless_negative(&runtime->buffer_accessing)) { in __snd_pcm_lib_xfer()
1009 atomic_long_add_unless(), atomic_inc_unless_negative(),
5122 if (!atomic_inc_unless_negative(&pmu->exclusive_cnt)) in exclusive_event_init()