Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/kernel/
Ducount.c239 if (!atomic_long_inc_below(&iter->ucount[type], max)) in inc_ucount()
246 atomic_long_dec(&iter->ucount[type]); in inc_ucount()
256 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.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega12_hwmgr.c1859 uint32_t ucount; in vega12_get_sclks() local
1867 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_sclks()
1870 for (i = 0; i < ucount; i++) { in vega12_get_sclks()
1877 clocks->num_levels = ucount; in vega12_get_sclks()
1892 uint32_t ucount; in vega12_get_memclocks() local
1899 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_memclocks()
1902 for (i = 0; i < ucount; i++) { in vega12_get_memclocks()
1910 clocks->num_levels = data->mclk_latency_table.count = ucount; in vega12_get_memclocks()
1919 uint32_t ucount; in vega12_get_dcefclocks() local
1928 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_dcefclocks()
[all …]
/linux-6.12.1/kernel/trace/
Dbpf_trace.c2623 u32 ucount = info->kprobe_multi.count; in bpf_kprobe_multi_link_fill_link_info() local
2626 if (!uaddrs ^ !ucount) in bpf_kprobe_multi_link_fill_link_info()
2628 if (ucookies && !ucount) in bpf_kprobe_multi_link_fill_link_info()
2638 if (ucount < kmulti_link->cnt) in bpf_kprobe_multi_link_fill_link_info()
2641 ucount = kmulti_link->cnt; in bpf_kprobe_multi_link_fill_link_info()
2645 if (copy_to_user(ucookies, kmulti_link->cookies, ucount * sizeof(u64))) in bpf_kprobe_multi_link_fill_link_info()
2648 for (i = 0; i < ucount; i++) { in bpf_kprobe_multi_link_fill_link_info()
2656 if (copy_to_user(uaddrs, kmulti_link->addrs, ucount * sizeof(u64))) in bpf_kprobe_multi_link_fill_link_info()
2659 for (i = 0; i < ucount; i++) { in bpf_kprobe_multi_link_fill_link_info()
3132 u32 ucount = info->uprobe_multi.count; in bpf_uprobe_multi_link_fill_link_info() local
[all …]
/linux-6.12.1/include/linux/
Duser_namespace.h122 atomic_long_t ucount[UCOUNT_COUNTS]; member
/linux-6.12.1/drivers/media/pci/ivtv/
Divtv-fileops.c297 char __user *ubuf, size_t ucount) in ivtv_copy_buf_to_user() argument
302 if (len > ucount) len = ucount; in ivtv_copy_buf_to_user()