/linux-master/kernel/dma/ |
H A D | ops_helpers.c | 39 unsigned long user_count = vma_pages(vma); local 50 if (off >= count || user_count > count - off) 55 user_count << PAGE_SHIFT, vma->vm_page_prot);
|
H A D | coherent.c | 241 unsigned long user_count = vma_pages(vma); local 245 if (off < count && user_count <= count - off) { 248 user_count << PAGE_SHIFT,
|
H A D | direct.c | 548 unsigned long user_count = vma_pages(vma); local 562 if (vma->vm_pgoff >= count || user_count > count - vma->vm_pgoff) 565 user_count << PAGE_SHIFT, vma->vm_page_prot);
|
/linux-master/include/linux/ |
H A D | objagg.h | 34 unsigned int user_count; member in struct:objagg_obj_stats
|
/linux-master/drivers/pwm/ |
H A D | pwm-sifive.c | 45 struct mutex lock; /* lock to protect user_count and approx_period */ 51 int user_count; member in struct:pwm_sifive_ddata 65 ddata->user_count++; 76 ddata->user_count--; 171 if (ddata->user_count != 1 && ddata->approx_period) {
|
H A D | pwm-imx-tpm.c | 63 u32 user_count; member in struct:imx_tpm_pwm_chip 190 if (tpm->user_count > 1) 314 tpm->user_count++; 325 tpm->user_count--;
|
H A D | pwm-rz-mtu3.c | 67 * @user_count: MTU3 usage count 77 u32 user_count[RZ_MTU3_MAX_HW_CHANNELS]; member in struct:rz_mtu3_pwm_chip 181 if (!rz_mtu3_pwm->user_count[ch]) { 189 rz_mtu3_pwm->user_count[ch]++; 205 rz_mtu3_pwm->user_count[ch]--; 206 if (!rz_mtu3_pwm->user_count[ch])
|
/linux-master/lib/ |
H A D | objagg.c | 84 objagg_obj->stats.user_count++; 92 objagg_obj->stats.user_count--; 584 return stats_info2->stats.user_count - stats_info1->stats.user_count; 653 unsigned int user_count = objagg_obj->stats.user_count; local 661 hnode->stats_info.stats.user_count = user_count; 662 hnode->stats_info.stats.delta_user_count = user_count; 664 parent_hnode->stats_info.stats.delta_user_count += user_count; [all...] |
H A D | test_objagg.c | 262 if (stats->stats_info[i].stats.user_count != 2) { 425 #define ROOT(key_id, user_count, delta_user_count) \ 426 {{user_count, delta_user_count}, true, key_id} 428 #define DELTA(key_id, user_count) \ 429 {{user_count, user_count}, false, key_id} 650 if (stats_info->stats.user_count != 651 expect_stats_info->stats.user_count) { 867 stats->stats_info[i].stats.user_count,
|
/linux-master/include/uapi/linux/ |
H A D | fscrypt.h | 157 __u32 user_count; member in struct:fscrypt_get_key_status_arg
|
/linux-master/tools/include/uapi/linux/ |
H A D | fscrypt.h | 157 __u32 user_count; member in struct:fscrypt_get_key_status_arg
|
/linux-master/drivers/hwtracing/intel_th/ |
H A D | msu.c | 119 * @user_count: number of users of the buffer 151 atomic_t user_count; member in struct:msc 387 * msc::user_count reference. 572 * Caller should have msc::user_count reference to make sure the buffer 729 atomic_inc(&win->msc->user_count); 731 atomic_dec(&win->msc->user_count); 871 if (!atomic_inc_unless_negative(&msc->user_count)) 883 atomic_dec(&msc->user_count); 895 atomic_dec(&msc->user_count); 1313 if (atomic_read(&msc->user_count) ! [all...] |
/linux-master/tools/tracing/rtla/src/ |
H A D | timerlat_top.c | 55 int user_count; member in struct:timerlat_top_cpu 145 cpu_data->user_count++; 273 if (!cpu_data->user_count) { 282 (cpu_data->sum_user / cpu_data->user_count) / divisor);
|
H A D | timerlat_hist.c | 64 int user_count; member in struct:timerlat_hist_cpu 198 data->hist[cpu].user_count++; 313 data->hist[cpu].user_count); 368 if (data->hist[cpu].user_count) 370 data->hist[cpu].sum_user / data->hist[cpu].user_count);
|
/linux-master/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_gem.c | 220 unsigned long user_count = vma_pages(vma); local 222 if (user_count == 0)
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | legacy.c | 69 atomic64_set(&esw->user_count, 0); 182 atomic64_set(&esw->user_count, 0);
|
/linux-master/fs/crypto/ |
H A D | keyring.c | 1134 * ->status_flags and ->user_count, whether the key has been added by the 1162 arg.user_count = 0; 1185 arg.user_count = mk->mk_users->keys.nr_leaves_on_tree;
|
/linux-master/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 2348 static atomic_t user_count = ATOMIC_INIT(0); variable 2352 if (atomic_dec_return(&user_count) == 0) 2363 if (atomic_inc_return(&user_count) == 1) {
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch.c | 2277 atomic64_inc(&esw->user_count); 2289 atomic64_dec_if_positive(&esw->user_count); 2309 atomic64_read(&esw->user_count) > 0) {
|
H A D | eswitch.h | 359 atomic64_t user_count; member in struct:mlx5_eswitch
|
H A D | eswitch_offloads.c | 1968 atomic64_set(&esw->user_count, 0); 3313 atomic64_set(&esw->user_count, 0);
|