Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/
Ducount.c235 if (!atomic_long_inc_below(&iter->ucount[type], max)) in inc_ucount()
242 atomic_long_dec(&iter->ucount[type]); in inc_ucount()
252 long dec = atomic_long_dec_if_positive(&iter->ucount[type]); in dec_ucount()
265 long new = atomic_long_add_return(v, &iter->ucount[type]); in inc_rlimit_ucounts()
279 long dec = atomic_long_add_return(-v, &iter->ucount[type]); in dec_rlimit_ucounts()
292 long dec = atomic_long_add_return(-1, &iter->ucount[type]); in do_dec_rlimit_put_ucounts()
313 long new = atomic_long_add_return(1, &iter->ucount[type]); in inc_rlimit_get_ucounts()
329 dec = atomic_long_add_return(-1, &iter->ucount[type]); in inc_rlimit_get_ucounts()
DMakefile13 async.o range.o smpboot.o ucount.o regset.o
/Linux-v5.15/include/linux/
Duser_namespace.h109 atomic_long_t ucount[UCOUNT_COUNTS]; member
125 return atomic_long_read(&ucounts->ucount[type]); in get_ucounts_value()
/Linux-v5.15/drivers/media/pci/cx18/
Dcx18-fileops.c260 struct cx18_buffer *buf, char __user *ubuf, size_t ucount, bool *stop) in cx18_copy_buf_to_user() argument
266 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() argument
390 ucount - tot_written, &stop); in cx18_copy_mdl_to_user()
397 tot_written >= ucount || /* Reader request satisfied */ in cx18_copy_mdl_to_user()
/Linux-v5.15/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.c1828 uint32_t ucount; in vega12_get_sclks() local
1836 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_sclks()
1839 for (i = 0; i < ucount; i++) { in vega12_get_sclks()
1846 clocks->num_levels = ucount; in vega12_get_sclks()
1861 uint32_t ucount; in vega12_get_memclocks() local
1868 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_memclocks()
1871 for (i = 0; i < ucount; i++) { in vega12_get_memclocks()
1879 clocks->num_levels = data->mclk_latency_table.count = ucount; in vega12_get_memclocks()
1888 uint32_t ucount; in vega12_get_dcefclocks() local
1897 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_dcefclocks()
[all …]
/Linux-v5.15/drivers/media/pci/ivtv/
Divtv-fileops.c287 char __user *ubuf, size_t ucount) in ivtv_copy_buf_to_user() argument
292 if (len > ucount) len = ucount; in ivtv_copy_buf_to_user()