Home
last modified time | relevance | path

Searched refs:ucount (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/kernel/
Ducount.c206 if (!atomic_inc_below(&iter->ucount[type], max)) in inc_ucount()
213 atomic_dec(&iter->ucount[type]); in inc_ucount()
223 int dec = atomic_dec_if_positive(&iter->ucount[type]); in dec_ucount()
DMakefile13 async.o range.o smpboot.o ucount.o
/Linux-v4.19/drivers/media/pci/cx18/
Dcx18-fileops.c269 struct cx18_buffer *buf, char __user *ubuf, size_t ucount, bool *stop) in cx18_copy_buf_to_user() argument
275 if (len > ucount) in cx18_copy_buf_to_user()
276 len = ucount; in cx18_copy_buf_to_user()
373 struct cx18_mdl *mdl, char __user *ubuf, size_t ucount) in cx18_copy_mdl_to_user() argument
399 ucount - tot_written, &stop); in cx18_copy_mdl_to_user()
406 tot_written >= ucount || /* Reader request statisfied */ in cx18_copy_mdl_to_user()
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dvega12_hwmgr.c1626 uint32_t ucount; in vega12_get_sclks() local
1634 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_sclks()
1637 for (i = 0; i < ucount; i++) { in vega12_get_sclks()
1644 clocks->num_levels = ucount; in vega12_get_sclks()
1659 uint32_t ucount; in vega12_get_memclocks() local
1666 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_memclocks()
1669 for (i = 0; i < ucount; i++) { in vega12_get_memclocks()
1677 clocks->num_levels = data->mclk_latency_table.count = ucount; in vega12_get_memclocks()
1686 uint32_t ucount; in vega12_get_dcefclocks() local
1695 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_dcefclocks()
[all …]
/Linux-v4.19/include/linux/
Duser_namespace.h86 atomic_t ucount[UCOUNT_COUNTS]; member
/Linux-v4.19/drivers/media/pci/ivtv/
Divtv-fileops.c299 char __user *ubuf, size_t ucount) in ivtv_copy_buf_to_user() argument
304 if (len > ucount) len = ucount; in ivtv_copy_buf_to_user()