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

/linux-master/tools/testing/selftests/
H A Dkselftest_deps.sh84 total_cnt=0
263 let total_cnt+=1
298 echo -e "$total_cnt Pass: $pass_cnt Fail: $fail_cnt";
/linux-master/drivers/infiniband/hw/irdma/
H A Dpble.c347 lf4k = palloc->total_cnt >> 9;
348 lflast = palloc->total_cnt % PBLE_PER_PAGE;
409 palloc->total_cnt << 3, &lvl1->addr,
416 lvl1->cnt = palloc->total_cnt;
434 if (!status || lvl == PBLE_LEVEL_1 || palloc->total_cnt <= PBLE_PER_PAGE)
457 palloc->total_cnt = pble_cnt;
469 max_sds = (palloc->total_cnt >> 18) + 1;
501 pble_rsrc->freedpbles += palloc->total_cnt;
H A Dpble.h47 u32 total_cnt; member in struct:irdma_pble_alloc
H A Dverbs.c2350 if (++pbl_cnt == palloc->total_cnt)
2392 ret = irdma_check_mem_contiguous(arr, palloc->total_cnt,
/linux-master/fs/exfat/
H A Dfatent.c310 unsigned int total_cnt; local
315 total_cnt = EXFAT_DATA_CLUSTER_COUNT(sbi);
317 if (unlikely(total_cnt < sbi->used_clusters)) {
320 __func__, total_cnt, sbi->used_clusters);
324 if (num_alloc > total_cnt - sbi->used_clusters)
/linux-master/drivers/net/wwan/t7xx/
H A Dt7xx_hif_dpmaif.h199 unsigned int t7xx_ring_buf_rd_wr_count(unsigned int total_cnt, unsigned int rd_idx,
H A Dt7xx_hif_dpmaif.c42 unsigned int t7xx_ring_buf_rd_wr_count(unsigned int total_cnt, unsigned int rd_idx, argument
53 pkt_cnt += total_cnt;
/linux-master/drivers/i2c/busses/
H A Di2c-hisi.c393 u32 total_cnt, t_scl_hcnt, t_scl_lcnt, scl_fall_cnt, scl_rise_cnt; local
397 total_cnt = DIV_ROUND_UP_ULL(ctlr->clk_rate_khz * HZ_PER_KHZ, ctlr->t.bus_freq_hz);
399 t_scl_hcnt = DIV_ROUND_UP_ULL(total_cnt * divide, divisor);
401 t_scl_lcnt = total_cnt - t_scl_hcnt;
/linux-master/drivers/media/dvb-frontends/
H A Dlgs8gxx.c925 u32 total_cnt = 0, err_cnt = 0; local
941 total_cnt <<= 8;
943 total_cnt |= t;
950 dprintk("error=%d total=%d\n", err_cnt, total_cnt);
952 if (total_cnt == 0)
955 *ber = err_cnt * 100 / total_cnt;
/linux-master/kernel/bpf/
H A Dcgroup.c1031 int total_cnt = 0; local
1057 total_cnt += bpf_prog_array_length(effective);
1059 total_cnt += prog_list_length(&cgrp->bpf.progs[atype]);
1067 if (copy_to_user(&uattr->query.prog_cnt, &total_cnt, sizeof(total_cnt)))
1069 if (attr->query.prog_cnt == 0 || !prog_ids || !total_cnt)
1073 if (attr->query.prog_cnt < total_cnt) {
1074 total_cnt = attr->query.prog_cnt;
1078 for (atype = from_atype; atype <= to_atype && total_cnt; atype++) {
1082 cnt = min_t(int, bpf_prog_array_length(effective), total_cnt);
[all...]
/linux-master/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Dhalbtc8723b1ant.c259 u32 total_cnt; local
301 total_cnt = coex_sta->crc_ok_cck + coex_sta->crc_ok_11g +
309 (total_cnt - coex_sta->crc_ok_cck)) {
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_sli.c7585 int status = 0, total_cnt; local
7600 total_cnt = cnt;
7630 if (num_posted == total_cnt) {
7652 total_cnt--;
7680 total_cnt -= post_cnt;
7705 status, block_cnt, total_cnt, post_cnt);
7710 return total_cnt;
/linux-master/drivers/infiniband/hw/hfi1/
H A Dchip.c14445 u32 total_cnt; local
14453 total_cnt = dd->num_rcv_contexts - start;
14456 if (rmt->used + total_cnt >= NUM_MAP_ENTRIES) {
14509 rmt->used += total_cnt;

Completed in 415 milliseconds