Searched refs:total_entries (Results 1 – 15 of 15) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | get_branch_snapshot.c | 13 long total_entries = 0; variable 28 total_entries = bpf_get_branch_snapshot(entries, sizeof(entries), 0); in BPF_PROG() 29 total_entries /= sizeof(struct perf_branch_entry); in BPF_PROG() 32 if (i >= total_entries) in BPF_PROG()
|
/linux/drivers/net/wireguard/ |
H A D | ratelimiter.c | 17 static atomic_t total_entries = ATOMIC_INIT(0); variable 45 atomic_dec(&total_entries); in entry_free() 135 if (atomic_inc_return(&total_entries) > max_entries) in wg_ratelimiter_allow() 154 atomic_dec(&total_entries); in wg_ratelimiter_allow()
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_crat.c | 1911 crat_table->total_entries = 0; in kfd_create_vcrat_image_cpu() 1927 crat_table->total_entries++; in kfd_create_vcrat_image_cpu() 1939 crat_table->total_entries++; in kfd_create_vcrat_image_cpu() 1954 crat_table->total_entries += entries; in kfd_create_vcrat_image_cpu() 2256 crat_table->total_entries = 0; in kfd_create_vcrat_image_gpu() 2292 crat_table->total_entries++; in kfd_create_vcrat_image_gpu() 2325 crat_table->total_entries++; in kfd_create_vcrat_image_gpu() 2340 crat_table->total_entries++; in kfd_create_vcrat_image_gpu() 2370 crat_table->total_entries++; in kfd_create_vcrat_image_gpu()
|
H A D | kfd_crat.h | 59 uint32_t total_entries; member
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | get_branch_snapshot.c | 111 if (skel->bss->total_entries < 16) { in serial_test_get_branch_snapshot()
|
/linux/fs/smb/server/ |
H A D | auth.c | 1043 int i, *nr_entries, total_entries = 0, sg_idx = 0; in ksmbd_init_sg() local 1062 total_entries += nr_entries[i]; in ksmbd_init_sg() 1066 total_entries += 2; in ksmbd_init_sg() 1068 sg = kmalloc_array(total_entries, sizeof(struct scatterlist), in ksmbd_init_sg() 1075 sg_init_table(sg, total_entries); in ksmbd_init_sg()
|
/linux/include/drm/bridge/ |
H A D | mhl.h | 320 u8 total_entries; member
|
/linux/drivers/net/wireguard/selftest/ |
H A D | ratelimiter.c | 105 if (atomic_read(&total_entries)) in capacity_test()
|
/linux/fs/exfat/ |
H A D | namei.c | 211 int total_entries = EXFAT_CLU_TO_DEN(p_dir->size, sbi); in exfat_search_empty_slot() local 224 if (dentry + hint_femp->count == total_entries && in exfat_search_empty_slot() 235 while (dentry + num_entries <= total_entries && in exfat_search_empty_slot() 265 if (dentry == total_entries || clu.dir == EXFAT_EOF_CLUSTER) in exfat_search_empty_slot()
|
H A D | dir.c | 949 int total_entries = EXFAT_B_TO_DEN(i_size_read(&ei->vfs_inode)); in exfat_set_empty_hint() local 957 candi_empty->count += total_entries - dentry; in exfat_set_empty_hint() 962 candi_empty->count + candi_empty->eidx == total_entries) in exfat_set_empty_hint()
|
/linux/drivers/soc/qcom/ |
H A D | smp2p.c | 71 u16 total_entries; member 484 out->total_entries = SMP2P_MAX_ENTRY; in qcom_smp2p_alloc_outbound_item()
|
/linux/net/batman-adv/ |
H A D | translation-table.c | 877 u16 total_entries = 0; in batadv_tt_prepare_tvlv_local_data() local 889 total_entries += vlan_entries; in batadv_tt_prepare_tvlv_local_data() 896 *tt_len = batadv_tt_len(total_entries); in batadv_tt_prepare_tvlv_local_data()
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu.h | 197 u16 total_entries; /* Total number of MCAM entries */ member
|
/linux/fs/ext4/ |
H A D | mballoc.c | 5844 int order, int total_entries) in ext4_mb_discard_lg_preallocations() argument 5881 total_entries--; in ext4_mb_discard_lg_preallocations() 5882 if (total_entries <= 5) { in ext4_mb_discard_lg_preallocations()
|
/linux/drivers/gpu/drm/bridge/ |
H A D | sil-sii8620.c | 723 h->total_entries = 1; in sii8620_mhl_burst_hdr_set()
|