Searched refs:total_cnt (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/infiniband/hw/irdma/ |
A D | pble.c | 354 lf4k = palloc->total_cnt >> 9; in get_lvl2_pble() 355 lflast = palloc->total_cnt % PBLE_PER_PAGE; in get_lvl2_pble() 417 palloc->total_cnt << 3, &lvl1->addr, in get_lvl1_pble() 424 lvl1->cnt = palloc->total_cnt; in get_lvl1_pble() 443 if (!status || level1_only || palloc->total_cnt <= PBLE_PER_PAGE) in get_lvl1_lvl2_pble() 466 palloc->total_cnt = pble_cnt; in irdma_get_pble() 478 max_sds = (palloc->total_cnt >> 18) + 1; in irdma_get_pble() 510 pble_rsrc->freedpbles += palloc->total_cnt; in irdma_free_pble()
|
A D | pble.h | 47 u32 total_cnt; member
|
A D | verbs.c | 2233 if (++pbl_cnt == palloc->total_cnt) in irdma_copy_user_pgaddrs() 2275 ret = irdma_check_mem_contiguous(arr, palloc->total_cnt, in irdma_check_mr_contiguous()
|
/linux/tools/testing/selftests/ |
A D | kselftest_deps.sh | 84 total_cnt=0 210 let total_cnt+=1 245 echo -e "$total_cnt Pass: $pass_cnt Fail: $fail_cnt";
|
/linux/fs/exfat/ |
A D | fatent.c | 326 unsigned int num_clusters = 0, total_cnt; in exfat_alloc_cluster() local 331 total_cnt = EXFAT_DATA_CLUSTER_COUNT(sbi); in exfat_alloc_cluster() 333 if (unlikely(total_cnt < sbi->used_clusters)) { in exfat_alloc_cluster() 336 __func__, total_cnt, sbi->used_clusters); in exfat_alloc_cluster() 340 if (num_alloc > total_cnt - sbi->used_clusters) in exfat_alloc_cluster()
|
/linux/drivers/i2c/busses/ |
A D | i2c-hisi.c | 362 u32 total_cnt, t_scl_hcnt, t_scl_lcnt, scl_fall_cnt, scl_rise_cnt; in hisi_i2c_set_scl() local 366 total_cnt = DIV_ROUND_UP_ULL(ctlr->clk_rate_khz * HZ_PER_KHZ, ctlr->t.bus_freq_hz); in hisi_i2c_set_scl() 368 t_scl_hcnt = DIV_ROUND_UP_ULL(total_cnt * divide, divisor); in hisi_i2c_set_scl() 370 t_scl_lcnt = total_cnt - t_scl_hcnt; in hisi_i2c_set_scl()
|
/linux/drivers/media/dvb-frontends/ |
A 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/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
A 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/drivers/infiniband/hw/hfi1/ |
A D | chip.c | 14436 u32 total_cnt; in init_fecn_handling() local 14444 total_cnt = dd->num_rcv_contexts - start; in init_fecn_handling() 14447 if (rmt->used + total_cnt >= NUM_MAP_ENTRIES) { in init_fecn_handling() 14500 rmt->used += total_cnt; in init_fecn_handling()
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_sli.c | 7497 int status, total_cnt; in lpfc_sli4_repost_sgl_list() local 7512 total_cnt = cnt; in lpfc_sli4_repost_sgl_list() 7542 if (num_posted == total_cnt) { in lpfc_sli4_repost_sgl_list() 7564 total_cnt--; in lpfc_sli4_repost_sgl_list() 7592 total_cnt -= post_cnt; in lpfc_sli4_repost_sgl_list() 7620 return total_cnt; in lpfc_sli4_repost_sgl_list()
|
Completed in 83 milliseconds