Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/progs/
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-6.6.21/drivers/net/wireguard/
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-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c1720 crat_table->total_entries = 0; in kfd_create_vcrat_image_cpu()
1736 crat_table->total_entries++; in kfd_create_vcrat_image_cpu()
1748 crat_table->total_entries++; in kfd_create_vcrat_image_cpu()
1763 crat_table->total_entries += entries; in kfd_create_vcrat_image_cpu()
2067 crat_table->total_entries = 0; in kfd_create_vcrat_image_gpu()
2107 crat_table->total_entries++; in kfd_create_vcrat_image_gpu()
2140 crat_table->total_entries++; in kfd_create_vcrat_image_gpu()
2155 crat_table->total_entries++; in kfd_create_vcrat_image_gpu()
2183 crat_table->total_entries++; in kfd_create_vcrat_image_gpu()
Dkfd_crat.h61 uint32_t total_entries; member
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dget_branch_snapshot.c111 if (skel->bss->total_entries < 16) { in serial_test_get_branch_snapshot()
/linux-6.6.21/fs/smb/server/
Dauth.c1035 int i, *nr_entries, total_entries = 0, sg_idx = 0; in ksmbd_init_sg() local
1054 total_entries += nr_entries[i]; in ksmbd_init_sg()
1058 total_entries += 2; in ksmbd_init_sg()
1060 sg = kmalloc_array(total_entries, sizeof(struct scatterlist), GFP_KERNEL); in ksmbd_init_sg()
1066 sg_init_table(sg, total_entries); in ksmbd_init_sg()
/linux-6.6.21/include/drm/bridge/
Dmhl.h320 u8 total_entries; member
/linux-6.6.21/drivers/net/wireguard/selftest/
Dratelimiter.c105 if (atomic_read(&total_entries)) in capacity_test()
/linux-6.6.21/drivers/soc/qcom/
Dsmp2p.c70 u16 total_entries; member
467 out->total_entries = SMP2P_MAX_ENTRY; in qcom_smp2p_alloc_outbound_item()
/linux-6.6.21/fs/exfat/
Ddir.c946 int total_entries = EXFAT_B_TO_DEN(i_size_read(&ei->vfs_inode)); in exfat_set_empty_hint() local
954 candi_empty->count += total_entries - dentry; in exfat_set_empty_hint()
959 candi_empty->count + candi_empty->eidx == total_entries) in exfat_set_empty_hint()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c1053 if (index >= mcam->total_entries) in rvu_npc_update_flowkey_alg_idx()
1855 mcam->total_entries = (mcam->banks / BIT_ULL(cfg)) * mcam->banksize; in npc_mcam_rsrcs_init()
1875 if (mcam->total_entries <= rsvd) { in npc_mcam_rsrcs_init()
1878 mcam->total_entries); in npc_mcam_rsrcs_init()
1882 mcam->bmap_entries = mcam->total_entries - rsvd; in npc_mcam_rsrcs_init()
1944 mcam->entry2target_pffunc = devm_kcalloc(rvu->dev, mcam->total_entries, in npc_mcam_rsrcs_init()
Drvu.h178 u16 total_entries; /* Total number of MCAM entries */ member
Drvu_debugfs.c2699 seq_printf(filp, "\n\t\t MCAM entries \t: %d\n", mcam->total_entries); in rvu_dbg_npc_mcam_info_display()
2701 mcam->total_entries - mcam->bmap_entries); in rvu_dbg_npc_mcam_info_display()
/linux-6.6.21/net/batman-adv/
Dtranslation-table.c924 u16 total_entries = 0; in batadv_tt_prepare_tvlv_local_data() local
936 total_entries += vlan_entries; in batadv_tt_prepare_tvlv_local_data()
944 *tt_len = batadv_tt_len(total_entries); in batadv_tt_prepare_tvlv_local_data()
/linux-6.6.21/fs/ext4/
Dmballoc.c5855 int order, int total_entries) in ext4_mb_discard_lg_preallocations() argument
5892 total_entries--; in ext4_mb_discard_lg_preallocations()
5893 if (total_entries <= 5) { in ext4_mb_discard_lg_preallocations()
/linux-6.6.21/drivers/gpu/drm/bridge/
Dsil-sii8620.c723 h->total_entries = 1; in sii8620_mhl_burst_hdr_set()