Home
last modified time | relevance | path

Searched refs:atomic_inc_return (Results 1 – 25 of 74) sorted by relevance

123

/linux-4.19.296/include/linux/
Datomic.h113 #ifndef atomic_inc_return
114 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro
119 #define atomic_inc_return_relaxed atomic_inc_return
120 #define atomic_inc_return_acquire atomic_inc_return
121 #define atomic_inc_return_release atomic_inc_return
128 __atomic_op_acquire(atomic_inc_return, __VA_ARGS__)
133 __atomic_op_release(atomic_inc_return, __VA_ARGS__)
136 #ifndef atomic_inc_return
137 #define atomic_inc_return(...) \ macro
138 __atomic_op_fence(atomic_inc_return, __VA_ARGS__)
[all …]
Dpage_ref.h130 int ret = atomic_inc_return(&page->_refcount); in page_ref_inc_return()
/linux-4.19.296/drivers/i2c/busses/
Di2c-octeon-platdrv.c59 atomic_inc_return(&i2c->int_enable_cnt); in octeon_i2c_int_enable78()
92 atomic_inc_return(&i2c->hlc_int_enable_cnt); in octeon_i2c_hlc_int_enable78()
/linux-4.19.296/drivers/cpuidle/
Dcpuidle-ux500.c32 if (atomic_inc_return(&master) == num_online_cpus()) { in ux500_enter_idle()
Dcoupled.c167 if (atomic_inc_return(a) == n * 2) { in cpuidle_coupled_parallel_barrier()
383 return atomic_inc_return(&coupled->ready_waiting_counts) & WAITING_MASK; in cpuidle_coupled_set_waiting()
/linux-4.19.296/include/asm-generic/
Datomic-instrumented.h202 #define atomic_inc_return atomic_inc_return macro
203 static __always_inline int atomic_inc_return(atomic_t *v) in atomic_inc_return() function
/linux-4.19.296/fs/notify/
Dnotification.c59 return atomic_inc_return(&fsnotify_sync_cookie); in fsnotify_get_cookie()
/linux-4.19.296/drivers/s390/crypto/
Dzcrypt_msgtype6.c1046 atomic_inc_return(&zcrypt_step); in zcrypt_msgtype6_modexpo()
1090 atomic_inc_return(&zcrypt_step); in zcrypt_msgtype6_modexpo_crt()
1133 atomic_inc_return(&zcrypt_step); in get_cprb_fc()
1189 atomic_inc_return(&zcrypt_step); in get_ep11cprb_fc()
1284 atomic_inc_return(&zcrypt_step); in get_rng_fc()
Dzcrypt_msgtype50.c474 atomic_inc_return(&zcrypt_step); in zcrypt_cex2a_modexpo()
520 atomic_inc_return(&zcrypt_step); in zcrypt_cex2a_modexpo_crt()
/linux-4.19.296/include/drm/
Dgpu_scheduler.h201 return (s_job && atomic_inc_return(&s_job->karma) > threshold); in drm_sched_invalidate_job()
/linux-4.19.296/drivers/cpufreq/
Domap-cpufreq.c132 atomic_inc_return(&freq_table_users); in omap_cpu_init()
/linux-4.19.296/fs/xfs/
Dxfs_trans_refcount.c149 next_extent = atomic_inc_return(&cuip->cui_next_extent) - 1; in xfs_refcount_update_log_item()
Dxfs_trans_bmap.c153 next_extent = atomic_inc_return(&buip->bui_next_extent) - 1; in xfs_bmap_update_log_item()
Dxfs_trans_rmap.c171 next_extent = atomic_inc_return(&ruip->rui_next_extent) - 1; in xfs_rmap_update_log_item()
Dxfs_trans_extfree.c153 next_extent = atomic_inc_return(&efip->efi_next_extent) - 1; in xfs_extent_free_log_item()
Dxfs_filestream.c95 ret = atomic_inc_return(&pag->pagf_fstrms); in xfs_filestream_get_ag()
/linux-4.19.296/drivers/misc/sgi-xp/
Dxpc_main.c668 if (atomic_inc_return(&ch->kthreads_idle) > in xpc_kthread_waitmsgs()
807 } else if (atomic_inc_return(&ch->kthreads_assigned) == 1 && in xpc_create_kthreads()
808 atomic_inc_return(&part->nchannels_engaged) == 1) { in xpc_create_kthreads()
/linux-4.19.296/drivers/reset/
Dcore.c273 if (atomic_inc_return(&rstc->triggered_count) != 1) in reset_control_reset()
370 if (atomic_inc_return(&rstc->deassert_count) != 1) in reset_control_deassert()
/linux-4.19.296/fs/afs/
Drxrpc.c141 call->debug_id = atomic_inc_return(&rxrpc_debug_id); in afs_alloc_call()
147 o = atomic_inc_return(&net->nr_outstanding_calls); in afs_alloc_call()
196 int u = atomic_inc_return(&call->usage); in afs_queue_call_work()
/linux-4.19.296/drivers/edac/
Dedac_pci.c200 return atomic_inc_return(&pci_indexes) - 1; in edac_pci_alloc_index()
/linux-4.19.296/drivers/iio/adc/
Dstm32-dfsdm-core.c106 if (atomic_inc_return(&priv->n_active_ch) == 1) { in stm32_dfsdm_start_dfsdm()
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-device.c79 int num = atomic_inc_return(instance) - 1; in v4l2_device_set_name()
/linux-4.19.296/drivers/base/
Ddevcoredump.c298 atomic_inc_return(&devcd_count)); in dev_coredumpm()
/linux-4.19.296/fs/fscache/
Dcookie.c499 object->debug_id = atomic_inc_return(&fscache_object_debug_id); in fscache_alloc_object()
920 op->debug_id = atomic_inc_return(&fscache_op_debug_id); in __fscache_check_consistency()
/linux-4.19.296/drivers/isdn/capi/
Dcapi.c395 capimsg_setu16(s, 6, atomic_inc_return(&mp->msgid)); in gen_data_b3_resp_for()
516 datahandle = atomic_inc_return(&mp->datahandle); in handle_minor_send()
523 capimsg_setu16(skb->data, 6, atomic_inc_return(&mp->msgid)); in handle_minor_send()

123