/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A 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()
|
H A D | pble.h | 47 u32 total_cnt; member
|
H A D | verbs.c | 2350 if (++pbl_cnt == palloc->total_cnt) in irdma_copy_user_pgaddrs() 2392 ret = irdma_check_mem_contiguous(arr, palloc->total_cnt, in irdma_check_mr_contiguous()
|
/kernel/linux/linux-5.10/fs/exfat/ |
H A D | fatent.c | 275 unsigned int num_clusters = 0, total_cnt; in exfat_alloc_cluster() local 280 total_cnt = EXFAT_DATA_CLUSTER_COUNT(sbi); in exfat_alloc_cluster() 282 if (unlikely(total_cnt < sbi->used_clusters)) { in exfat_alloc_cluster() 285 __func__, total_cnt, sbi->used_clusters); in exfat_alloc_cluster() 289 if (num_alloc > total_cnt - sbi->used_clusters) in exfat_alloc_cluster()
|
/kernel/linux/linux-5.10/drivers/staging/hisysevent/ |
H A D | hisysevent_builder.c | 95 return params->total_cnt < MAX_PARAM_NUMBER; in is_valid_num_of_param() 165 params->total_cnt = 0; in hisysevent_init_params() 264 builder->params.total_cnt++; in hisysevent_builder_put_integer() 309 builder->params.total_cnt++; in hisysevent_builder_put_string() 340 if (raw_data_append(raw_data, (u8 *)(&builder->params.total_cnt), in hisysevent_builder_build()
|
H A D | hisysevent_builder.h | 58 s32 total_cnt; member
|
/kernel/linux/linux-6.6/drivers/staging/hisysevent/ |
H A D | hisysevent_builder.c | 95 return params->total_cnt < MAX_PARAM_NUMBER; in is_valid_num_of_param() 165 params->total_cnt = 0; in hisysevent_init_params() 264 builder->params.total_cnt++; in hisysevent_builder_put_integer() 309 builder->params.total_cnt++; in hisysevent_builder_put_string() 340 if (raw_data_append(raw_data, (u8 *)(&builder->params.total_cnt), in hisysevent_builder_build()
|
H A D | hisysevent_builder.h | 58 s32 total_cnt; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/ |
H A D | kselftest_deps.sh | 84 total_cnt=0 265 let total_cnt+=1 300 echo -e "$total_cnt Pass: $pass_cnt Fail: $fail_cnt";
|
/kernel/linux/linux-6.6/tools/testing/selftests/ |
H A D | kselftest_deps.sh | 84 total_cnt=0 263 let total_cnt+=1 298 echo -e "$total_cnt Pass: $pass_cnt Fail: $fail_cnt";
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
H A D | i40iw_pble.c | 463 lf4k = palloc->total_cnt >> 9; in get_lvl2_pble() 464 lflast = palloc->total_cnt % PBLE_PER_PAGE; in get_lvl2_pble() 517 addr = (u64 *)gen_pool_alloc(pool, (palloc->total_cnt << 3)); in get_lvl1_pble() 526 lvl1->cnt = palloc->total_cnt; in get_lvl1_pble() 546 if (status && (palloc->total_cnt > PBLE_PER_PAGE)) in get_lvl1_lvl2_pble() 569 palloc->total_cnt = pble_cnt; in i40iw_get_pble() 575 max_sds = (palloc->total_cnt >> 18) + 1; in i40iw_get_pble()
|
H A D | i40iw_pble.h | 68 u32 total_cnt; member
|
H A D | i40iw_verbs.c | 1352 ret = i40iw_check_mem_contiguous(arr, palloc->total_cnt, pg_size); in i40iw_check_mr_contiguous()
|
/kernel/linux/linux-6.6/fs/exfat/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-hisi.c | 382 u32 total_cnt, t_scl_hcnt, t_scl_lcnt, scl_fall_cnt, scl_rise_cnt; in hisi_i2c_set_scl() local 386 total_cnt = DIV_ROUND_UP_ULL(ctlr->clk_rate_khz * HZ_PER_KHZ, ctlr->t.bus_freq_hz); in hisi_i2c_set_scl() 388 t_scl_hcnt = DIV_ROUND_UP_ULL(total_cnt * divide, divisor); in hisi_i2c_set_scl() 390 t_scl_lcnt = total_cnt - t_scl_hcnt; in hisi_i2c_set_scl()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H 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()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | cgroup.c | 1031 int total_cnt = 0; in __cgroup_bpf_query() local 1057 total_cnt += bpf_prog_array_length(effective); in __cgroup_bpf_query() 1059 total_cnt += prog_list_length(&cgrp->bpf.progs[atype]); in __cgroup_bpf_query() 1067 if (copy_to_user(&uattr->query.prog_cnt, &total_cnt, sizeof(total_cnt))) in __cgroup_bpf_query() 1069 if (attr->query.prog_cnt == 0 || !prog_ids || !total_cnt) in __cgroup_bpf_query() 1073 if (attr->query.prog_cnt < total_cnt) { in __cgroup_bpf_query() 1074 total_cnt = attr->query.prog_cnt; in __cgroup_bpf_query() 1078 for (atype = from_atype; atype <= to_atype && total_cnt; atype++) { in __cgroup_bpf_query() 1082 cnt = min_t(int, bpf_prog_array_length(effective), total_cnt); in __cgroup_bpf_query() [all...] |
/kernel/linux/linux-6.6/drivers/net/wwan/t7xx/ |
H A D | t7xx_hif_dpmaif.h | 199 unsigned int t7xx_ring_buf_rd_wr_count(unsigned int total_cnt, unsigned int rd_idx,
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/scsi/lpfc/ |
H A D | lpfc_sli.c | 7580 int status, total_cnt; in lpfc_sli4_repost_sgl_list() local 7595 total_cnt = cnt; in lpfc_sli4_repost_sgl_list() 7625 if (num_posted == total_cnt) { in lpfc_sli4_repost_sgl_list() 7647 total_cnt--; in lpfc_sli4_repost_sgl_list() 7675 total_cnt -= post_cnt; in lpfc_sli4_repost_sgl_list() 7700 status, block_cnt, total_cnt, post_cnt); in lpfc_sli4_repost_sgl_list() 7705 return total_cnt; in lpfc_sli4_repost_sgl_list()
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
H A D | lpfc_sli.c | 7051 int status, total_cnt; in lpfc_sli4_repost_sgl_list() local 7066 total_cnt = cnt; in lpfc_sli4_repost_sgl_list() 7096 if (num_posted == total_cnt) { in lpfc_sli4_repost_sgl_list() 7118 total_cnt--; in lpfc_sli4_repost_sgl_list() 7146 total_cnt -= post_cnt; in lpfc_sli4_repost_sgl_list() 7174 return total_cnt; in lpfc_sli4_repost_sgl_list()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | chip.c | 14483 u32 total_cnt; in init_fecn_handling() local 14491 total_cnt = dd->num_rcv_contexts - start; in init_fecn_handling() 14494 if (rmt->used + total_cnt >= NUM_MAP_ENTRIES) { in init_fecn_handling() 14547 rmt->used += total_cnt; in init_fecn_handling()
|