/linux-6.12.1/drivers/infiniband/hw/irdma/ |
D | pble.c | 347 lf4k = palloc->total_cnt >> 9; in get_lvl2_pble() 348 lflast = palloc->total_cnt % PBLE_PER_PAGE; in get_lvl2_pble() 409 palloc->total_cnt << 3, &lvl1->addr, in get_lvl1_pble() 416 lvl1->cnt = palloc->total_cnt; in get_lvl1_pble() 434 if (!status || lvl == PBLE_LEVEL_1 || palloc->total_cnt <= PBLE_PER_PAGE) in get_lvl1_lvl2_pble() 457 palloc->total_cnt = pble_cnt; in irdma_get_pble() 469 max_sds = (palloc->total_cnt >> 18) + 1; in irdma_get_pble() 501 pble_rsrc->freedpbles += palloc->total_cnt; in irdma_free_pble()
|
D | pble.h | 47 u32 total_cnt; member
|
D | verbs.c | 2351 if (++pbl_cnt == palloc->total_cnt) in irdma_copy_user_pgaddrs() 2393 ret = irdma_check_mem_contiguous(arr, palloc->total_cnt, in irdma_check_mr_contiguous()
|
/linux-6.12.1/tools/testing/selftests/ |
D | kselftest_deps.sh | 84 total_cnt=0 264 let total_cnt+=1 299 echo -e "$total_cnt Pass: $pass_cnt Fail: $fail_cnt";
|
/linux-6.12.1/fs/exfat/ |
D | fatent.c | 310 unsigned int total_cnt; in exfat_alloc_cluster() local 315 total_cnt = EXFAT_DATA_CLUSTER_COUNT(sbi); in exfat_alloc_cluster() 317 if (unlikely(total_cnt < sbi->used_clusters)) { in exfat_alloc_cluster() 320 __func__, total_cnt, sbi->used_clusters); in exfat_alloc_cluster() 324 if (num_alloc > total_cnt - sbi->used_clusters) in exfat_alloc_cluster()
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-hisi.c | 393 u32 total_cnt, t_scl_hcnt, t_scl_lcnt, scl_fall_cnt, scl_rise_cnt; in hisi_i2c_set_scl() local 397 total_cnt = DIV_ROUND_UP_ULL(ctlr->clk_rate_khz * HZ_PER_KHZ, ctlr->t.bus_freq_hz); in hisi_i2c_set_scl() 399 t_scl_hcnt = DIV_ROUND_UP_ULL(total_cnt * divide, divisor); in hisi_i2c_set_scl() 401 t_scl_lcnt = total_cnt - t_scl_hcnt; in hisi_i2c_set_scl()
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | lgs8gxx.c | 925 u32 total_cnt = 0, err_cnt = 0; in lgs8gxx_read_ber() local 941 total_cnt <<= 8; in lgs8gxx_read_ber() 943 total_cnt |= t; in lgs8gxx_read_ber() 950 dprintk("error=%d total=%d\n", err_cnt, total_cnt); in lgs8gxx_read_ber() 952 if (total_cnt == 0) in lgs8gxx_read_ber() 955 *ber = err_cnt * 100 / total_cnt; in lgs8gxx_read_ber()
|
/linux-6.12.1/kernel/bpf/ |
D | cgroup.c | 1048 int total_cnt = 0; in __cgroup_bpf_query() local 1074 total_cnt += bpf_prog_array_length(effective); in __cgroup_bpf_query() 1076 total_cnt += prog_list_length(&cgrp->bpf.progs[atype]); in __cgroup_bpf_query() 1084 if (copy_to_user(&uattr->query.prog_cnt, &total_cnt, sizeof(total_cnt))) in __cgroup_bpf_query() 1086 if (attr->query.prog_cnt == 0 || !prog_ids || !total_cnt) in __cgroup_bpf_query() 1090 if (attr->query.prog_cnt < total_cnt) { in __cgroup_bpf_query() 1091 total_cnt = attr->query.prog_cnt; in __cgroup_bpf_query() 1095 for (atype = from_atype; atype <= to_atype && total_cnt; atype++) { in __cgroup_bpf_query() 1099 cnt = min_t(int, bpf_prog_array_length(effective), total_cnt); in __cgroup_bpf_query() 1108 cnt = min_t(int, prog_list_length(progs), total_cnt); in __cgroup_bpf_query() [all …]
|
D | verifier.c | 21307 u32 *total_cnt) in inline_bpf_loop() argument 21364 *total_cnt = cnt; in inline_bpf_loop()
|
/linux-6.12.1/drivers/net/wwan/t7xx/ |
D | t7xx_hif_dpmaif.h | 199 unsigned int t7xx_ring_buf_rd_wr_count(unsigned int total_cnt, unsigned int rd_idx,
|
D | t7xx_hif_dpmaif.c | 42 unsigned int t7xx_ring_buf_rd_wr_count(unsigned int total_cnt, unsigned int rd_idx, in t7xx_ring_buf_rd_wr_count() argument 53 pkt_cnt += total_cnt; in t7xx_ring_buf_rd_wr_count()
|
/linux-6.12.1/sound/soc/mediatek/mt8365/ |
D | mt8365-afe-pcm.c | 355 unsigned int total_cnt, div_cnt, ch_pair, best_cnt; in mt8365_afe_get_cm_update_cnt() local 368 total_cnt = MT8365_CLK_26M / rate; in mt8365_afe_get_cm_update_cnt() 371 total_cnt = MT8365_CLK_24M / rate; in mt8365_afe_get_cm_update_cnt() 373 total_cnt = MT8365_CLK_22M / rate; in mt8365_afe_get_cm_update_cnt() 383 div_cnt = total_cnt / ch_pair; in mt8365_afe_get_cm_update_cnt()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtc8723b1ant.c | 259 u32 total_cnt; in halbtc8723b1ant_monitor_wifi_ctr() local 301 total_cnt = coex_sta->crc_ok_cck + coex_sta->crc_ok_11g + in halbtc8723b1ant_monitor_wifi_ctr() 309 (total_cnt - coex_sta->crc_ok_cck)) { in halbtc8723b1ant_monitor_wifi_ctr()
|
/linux-6.12.1/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 7597 int status = 0, total_cnt; in lpfc_sli4_repost_sgl_list() local 7612 total_cnt = cnt; in lpfc_sli4_repost_sgl_list() 7642 if (num_posted == total_cnt) { in lpfc_sli4_repost_sgl_list() 7664 total_cnt--; in lpfc_sli4_repost_sgl_list() 7692 total_cnt -= post_cnt; in lpfc_sli4_repost_sgl_list() 7717 status, block_cnt, total_cnt, post_cnt); in lpfc_sli4_repost_sgl_list() 7722 return total_cnt; in lpfc_sli4_repost_sgl_list()
|
/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | chip.c | 14445 u32 total_cnt; in init_fecn_handling() local 14453 total_cnt = dd->num_rcv_contexts - start; in init_fecn_handling() 14456 if (rmt->used + total_cnt >= NUM_MAP_ENTRIES) { in init_fecn_handling() 14509 rmt->used += total_cnt; in init_fecn_handling()
|