Home
last modified time | relevance | path

Searched refs:total_cnt (Results 1 – 13 of 13) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/
A Dkselftest_deps.sh84 total_cnt=0
210 let total_cnt+=1
245 echo -e "$total_cnt Pass: $pass_cnt Fail: $fail_cnt";
/linux-6.3-rc2/drivers/infiniband/hw/irdma/
A Dpble.c347 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 || level1_only || 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()
A Dpble.h47 u32 total_cnt; member
A Dverbs.c2267 if (++pbl_cnt == palloc->total_cnt) in irdma_copy_user_pgaddrs()
2309 ret = irdma_check_mem_contiguous(arr, palloc->total_cnt, in irdma_check_mr_contiguous()
/linux-6.3-rc2/fs/exfat/
A Dfatent.c310 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.3-rc2/drivers/i2c/busses/
A Di2c-hisi.c363 u32 total_cnt, t_scl_hcnt, t_scl_lcnt, scl_fall_cnt, scl_rise_cnt; in hisi_i2c_set_scl() local
367 total_cnt = DIV_ROUND_UP_ULL(ctlr->clk_rate_khz * HZ_PER_KHZ, ctlr->t.bus_freq_hz); in hisi_i2c_set_scl()
369 t_scl_hcnt = DIV_ROUND_UP_ULL(total_cnt * divide, divisor); in hisi_i2c_set_scl()
371 t_scl_lcnt = total_cnt - t_scl_hcnt; in hisi_i2c_set_scl()
/linux-6.3-rc2/drivers/media/dvb-frontends/
A Dlgs8gxx.c925 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.3-rc2/kernel/bpf/
A Dcgroup.c1030 int total_cnt = 0; in __cgroup_bpf_query() local
1056 total_cnt += bpf_prog_array_length(effective); in __cgroup_bpf_query()
1058 total_cnt += prog_list_length(&cgrp->bpf.progs[atype]); in __cgroup_bpf_query()
1066 if (copy_to_user(&uattr->query.prog_cnt, &total_cnt, sizeof(total_cnt))) in __cgroup_bpf_query()
1068 if (attr->query.prog_cnt == 0 || !prog_ids || !total_cnt) in __cgroup_bpf_query()
1072 if (attr->query.prog_cnt < total_cnt) { in __cgroup_bpf_query()
1073 total_cnt = attr->query.prog_cnt; in __cgroup_bpf_query()
1077 for (atype = from_atype; atype <= to_atype && total_cnt; atype++) { in __cgroup_bpf_query()
1081 cnt = min_t(int, bpf_prog_array_length(effective), total_cnt); in __cgroup_bpf_query()
1090 cnt = min_t(int, prog_list_length(progs), total_cnt); in __cgroup_bpf_query()
[all …]
/linux-6.3-rc2/drivers/net/wwan/t7xx/
A Dt7xx_hif_dpmaif.h199 unsigned int t7xx_ring_buf_rd_wr_count(unsigned int total_cnt, unsigned int rd_idx,
A Dt7xx_hif_dpmaif.c42 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.3-rc2/drivers/net/wireless/realtek/rtlwifi/btcoexist/
A Dhalbtc8723b1ant.c259 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.3-rc2/drivers/infiniband/hw/hfi1/
A Dchip.c14441 u32 total_cnt; in init_fecn_handling() local
14449 total_cnt = dd->num_rcv_contexts - start; in init_fecn_handling()
14452 if (rmt->used + total_cnt >= NUM_MAP_ENTRIES) { in init_fecn_handling()
14505 rmt->used += total_cnt; in init_fecn_handling()
/linux-6.3-rc2/drivers/scsi/lpfc/
A Dlpfc_sli.c7613 int status, total_cnt; in lpfc_sli4_repost_sgl_list() local
7628 total_cnt = cnt; in lpfc_sli4_repost_sgl_list()
7658 if (num_posted == total_cnt) { in lpfc_sli4_repost_sgl_list()
7680 total_cnt--; in lpfc_sli4_repost_sgl_list()
7708 total_cnt -= post_cnt; in lpfc_sli4_repost_sgl_list()
7736 return total_cnt; in lpfc_sli4_repost_sgl_list()

Completed in 91 milliseconds