/kernel/linux/linux-5.10/kernel/ |
H A D | ucount.c | 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()
|
H A D | Makefile | 13 async.o range.o smpboot.o ucount.o regset.o
|
/kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
H A D | cx18-fileops.c | 260 struct cx18_buffer *buf, char __user *ubuf, size_t ucount, bool *stop) in cx18_copy_buf_to_user() 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() 390 ucount - tot_written, &stop); in cx18_copy_mdl_to_user() 397 tot_written >= ucount || /* Reader request satisfied */ in cx18_copy_mdl_to_user() 259 cx18_copy_buf_to_user(struct cx18_stream *s, struct cx18_buffer *buf, char __user *ubuf, size_t ucount, bool *stop) cx18_copy_buf_to_user() argument 363 cx18_copy_mdl_to_user(struct cx18_stream *s, struct cx18_mdl *mdl, char __user *ubuf, size_t ucount) cx18_copy_mdl_to_user() argument
|
/kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
H A D | cx18-fileops.c | 260 struct cx18_buffer *buf, char __user *ubuf, size_t ucount, bool *stop) in cx18_copy_buf_to_user() 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() 390 ucount - tot_written, &stop); in cx18_copy_mdl_to_user() 397 tot_written >= ucount || /* Reader request satisfied */ in cx18_copy_mdl_to_user() 259 cx18_copy_buf_to_user(struct cx18_stream *s, struct cx18_buffer *buf, char __user *ubuf, size_t ucount, bool *stop) cx18_copy_buf_to_user() argument 363 cx18_copy_mdl_to_user(struct cx18_stream *s, struct cx18_mdl *mdl, char __user *ubuf, size_t ucount) cx18_copy_mdl_to_user() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega12_hwmgr.c | 1829 uint32_t ucount; in vega12_get_sclks() local 1837 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_sclks() 1840 for (i = 0; i < ucount; i++) { in vega12_get_sclks() 1847 clocks->num_levels = ucount; in vega12_get_sclks() 1862 uint32_t ucount; in vega12_get_memclocks() local 1869 ucount = (dpm_table->count > MAX_NUM_CLOCKS) ? in vega12_get_memclocks() 1872 for (i = 0; i < ucount; i++) { in vega12_get_memclocks() 1880 clocks->num_levels = data->mclk_latency_table.count = ucount; in vega12_get_memclocks() 1889 uint32_t ucount; in vega12_get_dcefclocks() local 1898 ucount in vega12_get_dcefclocks() 1917 uint32_t ucount; vega12_get_socclocks() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega12_hwmgr.c | 1849 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 in vega12_get_dcefclocks() 1937 uint32_t ucount; vega12_get_socclocks() local [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | ucount.c | 240 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() 326 * Grab an extra ucount reference for the caller when in inc_rlimit_get_ucounts()
|
H A D | Makefile | 13 async.o range.o smpboot.o ucount.o regset.o ksyms_common.o
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | user_namespace.h | 100 atomic_t ucount[UCOUNT_COUNTS]; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | user_namespace.h | 112 atomic_long_t ucount[UCOUNT_COUNTS]; member
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | bpf_trace.c | 2611 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()
|
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
H A D | ivtv-fileops.c | 287 char __user *ubuf, size_t ucount) in ivtv_copy_buf_to_user() 292 if (len > ucount) len = ucount; in ivtv_copy_buf_to_user() 337 /*IVTV_INFO("copied %lld %d %d %d %d %d vbi %d\n", itv->mpg_data_received, len, ucount, in ivtv_copy_buf_to_user() 286 ivtv_copy_buf_to_user(struct ivtv_stream *s, struct ivtv_buffer *buf, char __user *ubuf, size_t ucount) ivtv_copy_buf_to_user() argument
|
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/ |
H A D | ivtv-fileops.c | 287 char __user *ubuf, size_t ucount) in ivtv_copy_buf_to_user() 292 if (len > ucount) len = ucount; in ivtv_copy_buf_to_user() 337 /*IVTV_INFO("copied %lld %d %d %d %d %d vbi %d\n", itv->mpg_data_received, len, ucount, in ivtv_copy_buf_to_user() 286 ivtv_copy_buf_to_user(struct ivtv_stream *s, struct ivtv_buffer *buf, char __user *ubuf, size_t ucount) ivtv_copy_buf_to_user() argument
|