Searched refs:ucount (Results 1 – 6 of 6) sorted by relevance
202 if (!atomic_inc_below(&iter->ucount[type], max)) in inc_ucount()209 atomic_dec(&iter->ucount[type]); in inc_ucount()219 int dec = atomic_dec_if_positive(&iter->ucount[type]); in dec_ucount()
13 async.o range.o smpboot.o ucount.o regset.o
260 struct cx18_buffer *buf, char __user *ubuf, size_t ucount, bool *stop) in cx18_copy_buf_to_user() argument266 if (len > ucount) in cx18_copy_buf_to_user()267 len = ucount; in cx18_copy_buf_to_user()364 struct cx18_mdl *mdl, char __user *ubuf, size_t ucount) in cx18_copy_mdl_to_user() argument390 ucount - tot_written, &stop); in cx18_copy_mdl_to_user()397 tot_written >= ucount || /* Reader request satisfied */ in cx18_copy_mdl_to_user()
1739 uint32_t ucount; in vega12_get_sclks() local1747 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_sclks()1750 for (i = 0; i < ucount; i++) { in vega12_get_sclks()1757 clocks->num_levels = ucount; in vega12_get_sclks()1772 uint32_t ucount; in vega12_get_memclocks() local1779 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_memclocks()1782 for (i = 0; i < ucount; i++) { in vega12_get_memclocks()1790 clocks->num_levels = data->mclk_latency_table.count = ucount; in vega12_get_memclocks()1799 uint32_t ucount; in vega12_get_dcefclocks() local1808 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_dcefclocks()[all …]
97 atomic_t ucount[UCOUNT_COUNTS]; member
287 char __user *ubuf, size_t ucount) in ivtv_copy_buf_to_user() argument292 if (len > ucount) len = ucount; in ivtv_copy_buf_to_user()