Home
last modified time | relevance | path

Searched refs:total_entries (Results 1 – 15 of 15) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dget_branch_snapshot.c13 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 Dratelimiter.c17 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 Dkfd_crat.c1911 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 Dkfd_crat.h59 uint32_t total_entries; member
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dget_branch_snapshot.c111 if (skel->bss->total_entries < 16) { in serial_test_get_branch_snapshot()
/linux/fs/smb/server/
H A Dauth.c1043 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 Dmhl.h320 u8 total_entries; member
/linux/drivers/net/wireguard/selftest/
H A Dratelimiter.c105 if (atomic_read(&total_entries)) in capacity_test()
/linux/fs/exfat/
H A Dnamei.c211 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 Ddir.c949 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 Dsmp2p.c71 u16 total_entries; member
484 out->total_entries = SMP2P_MAX_ENTRY; in qcom_smp2p_alloc_outbound_item()
/linux/net/batman-adv/
H A Dtranslation-table.c877 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 Drvu.h197 u16 total_entries; /* Total number of MCAM entries */ member
/linux/fs/ext4/
H A Dmballoc.c5844 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 Dsil-sii8620.c723 h->total_entries = 1; in sii8620_mhl_burst_hdr_set()