Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/kernel/
Ducount.c240 if (!atomic_long_inc_below(&iter->ucount[type], max)) in inc_ucount()
247 atomic_long_dec(&iter->ucount[type]); in inc_ucount()
257 long dec = atomic_long_dec_if_positive(&iter->ucount[type]); in dec_ucount()
DMakefile13 async.o range.o smpboot.o ucount.o regset.o ksyms_common.o
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.c1849 uint32_t ucount; in vega12_get_sclks() local
1857 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_sclks()
1860 for (i = 0; i < ucount; i++) { in vega12_get_sclks()
1867 clocks->num_levels = ucount; in vega12_get_sclks()
1882 uint32_t ucount; in vega12_get_memclocks() local
1889 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_memclocks()
1892 for (i = 0; i < ucount; i++) { in vega12_get_memclocks()
1900 clocks->num_levels = data->mclk_latency_table.count = ucount; in vega12_get_memclocks()
1909 uint32_t ucount; in vega12_get_dcefclocks() local
1918 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_dcefclocks()
[all …]
/linux-6.6.21/include/linux/
Duser_namespace.h112 atomic_long_t ucount[UCOUNT_COUNTS]; member
/linux-6.6.21/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()
/linux-6.6.21/kernel/trace/
Dbpf_trace.c2611 u32 ucount = info->kprobe_multi.count; in bpf_kprobe_multi_link_fill_link_info() local
2614 if (!uaddrs ^ !ucount) in bpf_kprobe_multi_link_fill_link_info()
2623 if (ucount < kmulti_link->cnt) in bpf_kprobe_multi_link_fill_link_info()
2626 ucount = kmulti_link->cnt; in bpf_kprobe_multi_link_fill_link_info()
2629 if (copy_to_user(uaddrs, kmulti_link->addrs, ucount * sizeof(u64))) in bpf_kprobe_multi_link_fill_link_info()
2632 for (i = 0; i < ucount; i++) { in bpf_kprobe_multi_link_fill_link_info()