Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.h62 uint32_t total_entries; member
311 uint32_t total_entries; member
Dkfd_crat.c1962 crat_table->total_entries = 0; in kfd_create_vcrat_image_cpu()
1978 crat_table->total_entries++; in kfd_create_vcrat_image_cpu()
1990 crat_table->total_entries++; in kfd_create_vcrat_image_cpu()
2005 crat_table->total_entries += entries; in kfd_create_vcrat_image_cpu()
2288 crat_table->total_entries = 0; in kfd_create_vcrat_image_gpu()
2333 crat_table->total_entries++; in kfd_create_vcrat_image_gpu()
2366 crat_table->total_entries++; in kfd_create_vcrat_image_gpu()
2384 crat_table->total_entries += num_of_cache_entries; in kfd_create_vcrat_image_gpu()
2400 crat_table->total_entries++; in kfd_create_vcrat_image_gpu()
2428 crat_table->total_entries++; in kfd_create_vcrat_image_gpu()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dget_branch_snapshot.c111 if (skel->bss->total_entries < 16) { in serial_test_get_branch_snapshot()
/linux-6.1.9/fs/ksmbd/
Dauth.c1028 int i, nr_entries[3] = {0}, total_entries = 0, sg_idx = 0; in ksmbd_init_sg() local
1043 total_entries += nr_entries[i]; in ksmbd_init_sg()
1047 total_entries += 2; in ksmbd_init_sg()
1049 sg = kmalloc_array(total_entries, sizeof(struct scatterlist), GFP_KERNEL); in ksmbd_init_sg()
1053 sg_init_table(sg, total_entries); in ksmbd_init_sg()
/linux-6.1.9/include/drm/bridge/
Dmhl.h320 u8 total_entries; member
/linux-6.1.9/drivers/net/wireguard/selftest/
Dratelimiter.c105 if (atomic_read(&total_entries)) in capacity_test()
/linux-6.1.9/drivers/soc/qcom/
Dsmp2p.c70 u16 total_entries; member
467 out->total_entries = SMP2P_MAX_ENTRY; in qcom_smp2p_alloc_outbound_item()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c989 if (index >= mcam->total_entries) in rvu_npc_update_flowkey_alg_idx()
1790 mcam->total_entries = (mcam->banks / BIT_ULL(cfg)) * mcam->banksize; in npc_mcam_rsrcs_init()
1810 if (mcam->total_entries <= rsvd) { in npc_mcam_rsrcs_init()
1813 mcam->total_entries); in npc_mcam_rsrcs_init()
1817 mcam->bmap_entries = mcam->total_entries - rsvd; in npc_mcam_rsrcs_init()
1879 mcam->entry2target_pffunc = devm_kcalloc(rvu->dev, mcam->total_entries, in npc_mcam_rsrcs_init()
Drvu.h173 u16 total_entries; /* Total number of MCAM entries */ member
Drvu_debugfs.c2694 seq_printf(filp, "\n\t\t MCAM entries \t: %d\n", mcam->total_entries); in rvu_dbg_npc_mcam_info_display()
2696 mcam->total_entries - mcam->bmap_entries); in rvu_dbg_npc_mcam_info_display()
/linux-6.1.9/net/batman-adv/
Dtranslation-table.c925 u16 total_entries = 0; in batadv_tt_prepare_tvlv_local_data() local
937 total_entries += vlan_entries; in batadv_tt_prepare_tvlv_local_data()
945 *tt_len = batadv_tt_len(total_entries); in batadv_tt_prepare_tvlv_local_data()
/linux-6.1.9/fs/ext4/
Dmballoc.c5263 int order, int total_entries) in ext4_mb_discard_lg_preallocations() argument
5302 total_entries--; in ext4_mb_discard_lg_preallocations()
5303 if (total_entries <= 5) { in ext4_mb_discard_lg_preallocations()
/linux-6.1.9/drivers/gpu/drm/bridge/
Dsil-sii8620.c723 h->total_entries = 1; in sii8620_mhl_burst_hdr_set()