/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
D | qxl_release.c | 329 int cur_idx; in qxl_alloc_release_reserved() local 333 cur_idx = 0; in qxl_alloc_release_reserved() 336 cur_idx = 1; in qxl_alloc_release_reserved() 339 cur_idx = 2; in qxl_alloc_release_reserved() 355 if (qdev->current_release_bo_offset[cur_idx] + 1 >= releases_per_bo[cur_idx]) { in qxl_alloc_release_reserved() 356 qxl_bo_unref(&qdev->current_release_bo[cur_idx]); in qxl_alloc_release_reserved() 357 qdev->current_release_bo_offset[cur_idx] = 0; in qxl_alloc_release_reserved() 358 qdev->current_release_bo[cur_idx] = NULL; in qxl_alloc_release_reserved() 360 if (!qdev->current_release_bo[cur_idx]) { in qxl_alloc_release_reserved() 361 ret = qxl_release_bo_alloc(qdev, &qdev->current_release_bo[cur_idx], priority); in qxl_alloc_release_reserved() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | dtl.c | 255 u64 cur_idx, last_idx, i; in dtl_file_read() local 270 cur_idx = dtl_current_index(dtl); in dtl_file_read() 273 if (last_idx + dtl->buf_entries <= cur_idx) in dtl_file_read() 274 last_idx = cur_idx - dtl->buf_entries + 1; in dtl_file_read() 276 if (last_idx + n_req > cur_idx) in dtl_file_read() 277 n_req = cur_idx - last_idx; in dtl_file_read()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fwsignal.c | 1671 u8 flow_id, max_idx, cur_idx, exp_idx, end_idx; in brcmf_fws_rxreorder() local 1739 rfi->cur_idx = reorder_data[BRCMF_RXREORDER_CURIDX_OFFSET]; in brcmf_fws_rxreorder() 1742 rfi->pktslots[rfi->cur_idx] = pkt; in brcmf_fws_rxreorder() 1745 flow_id, rfi->cur_idx, rfi->exp_idx, rfi->pend_pkts); in brcmf_fws_rxreorder() 1747 cur_idx = reorder_data[BRCMF_RXREORDER_CURIDX_OFFSET]; in brcmf_fws_rxreorder() 1750 if ((exp_idx == rfi->exp_idx) && (cur_idx != rfi->exp_idx)) { in brcmf_fws_rxreorder() 1753 if (rfi->pktslots[cur_idx] != NULL) { in brcmf_fws_rxreorder() 1755 brcmu_pkt_buf_free_skb(rfi->pktslots[cur_idx]); in brcmf_fws_rxreorder() 1756 rfi->pktslots[cur_idx] = NULL; in brcmf_fws_rxreorder() 1758 rfi->pktslots[cur_idx] = pkt; in brcmf_fws_rxreorder() [all …]
|
D | core.h | 55 u8 cur_idx; member
|
/kernel/linux/linux-5.10/arch/csky/mm/ |
D | asid.c | 82 static u32 cur_idx = 1; in new_context() local 111 asid = find_next_zero_bit(info->map, NUM_CTXT_ASIDS(info), cur_idx); in new_context() 125 cur_idx = asid; in new_context()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
D | context.c | 191 static u32 cur_idx = 1; in new_context() local 223 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context() 232 cur_idx = asid; in new_context()
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
D | context.c | 126 static u32 cur_idx = MMID_KERNEL_WIRED + 1; in get_new_mmid() local 156 mmid = find_next_zero_bit(mmid_map, num_mmids, cur_idx); in get_new_mmid() 172 cur_idx = mmid; in get_new_mmid()
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
D | context.c | 160 static u32 cur_idx = 1; in new_context() local 197 asid = find_next_zero_bit(asid_map, NUM_USER_ASIDS, cur_idx); in new_context() 211 cur_idx = asid; in new_context()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | mca_drv.c | 73 int cur_idx; /* Current index of section pointer list pool */ member 221 {slidx_list_t *hl = &slidx_pool.buffer[slidx_pool.cur_idx]; \ 224 slidx_pool.cur_idx = (slidx_pool.cur_idx + 1)%slidx_pool.max_idx; }
|
/kernel/linux/linux-5.10/drivers/usb/dwc2/ |
D | hcd_ddma.c | 586 u16 cur_idx; in dwc2_init_isoc_dma_desc() local 592 cur_idx = dwc2_frame_list_idx(hsotg->frame_number); in dwc2_init_isoc_dma_desc() 602 if (dwc2_frame_idx_num_gt(cur_idx, next_idx) || (cur_idx == next_idx)) { in dwc2_init_isoc_dma_desc() 606 qh->td_last = dwc2_desclist_idx_inc(cur_idx, inc, in dwc2_init_isoc_dma_desc() 1030 u16 cur_idx; in dwc2_complete_isoc_xfer_ddma() local 1050 cur_idx = dwc2_frame_list_idx(hsotg->frame_number); in dwc2_complete_isoc_xfer_ddma() 1054 if (dwc2_frame_idx_num_gt(cur_idx, in dwc2_complete_isoc_xfer_ddma()
|
/kernel/linux/linux-5.10/arch/x86/events/intel/ |
D | pt.c | 616 mask = (u64)buf->cur_idx; in pt_config_buffer() 809 buf->cur_idx++; in pt_buffer_advance() 811 if (buf->cur_idx == buf->cur->last) { in pt_buffer_advance() 817 buf->cur_idx = 0; in pt_buffer_advance() 841 for (topa_idx = 0; topa_idx < buf->cur_idx; topa_idx++) in pt_update_head() 862 return phys_to_virt(TOPA_ENTRY(buf->cur, buf->cur_idx)->base << TOPA_SHIFT); in pt_buffer_region() 871 return TOPA_ENTRY_SIZE(buf->cur, buf->cur_idx); in pt_buffer_region_size() 952 buf->cur_idx = (pt->output_mask & 0xffffff80) >> 7; in pt_read_offset() 1158 buf->cur_idx = te - TOPA_ENTRY(buf->cur, 0); in pt_buffer_reset_offsets()
|
D | pt.h | 78 unsigned int cur_idx; member
|
/kernel/linux/linux-5.10/drivers/md/bcache/ |
D | journal.c | 278 ja->cur_idx = i; in bch_journal_read() 646 while (ja->last_idx != ja->cur_idx && in journal_reclaim() 656 next = (ja->cur_idx + 1) % ca->sb.njournal_buckets; in journal_reclaim() 661 ja->cur_idx = next; in journal_reclaim() 663 bucket_to_sector(c, ca->sb.d[ja->cur_idx]), in journal_reclaim() 792 ca->journal.seq[ca->journal.cur_idx] = w->data->seq; in journal_write_unlocked()
|
D | writeback.c | 829 int cur_idx, prev_idx, skip_nr; in bch_dirty_init_thread() local 832 cur_idx = prev_idx = 0; in bch_dirty_init_thread() 842 cur_idx = state->key_idx; in bch_dirty_init_thread() 846 skip_nr = cur_idx - prev_idx; in bch_dirty_init_thread() 870 prev_idx = cur_idx; in bch_dirty_init_thread()
|
D | journal.h | 136 unsigned int cur_idx; member
|
D | btree.c | 1918 int cur_idx, prev_idx, skip_nr; in bch_btree_check_thread() local 1921 cur_idx = prev_idx = 0; in bch_btree_check_thread() 1937 cur_idx = check_state->key_idx; in bch_btree_check_thread() 1941 skip_nr = cur_idx - prev_idx; in bch_btree_check_thread() 1975 prev_idx = cur_idx; in bch_btree_check_thread()
|
/kernel/linux/linux-5.10/include/linux/ |
D | kmsg_dump.h | 48 u32 cur_idx; member
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | hid-input.c | 62 unsigned int cur_idx, unsigned int scancode) in match_scancode() argument 68 unsigned int cur_idx, unsigned int keycode) in match_keycode() argument 77 unsigned int cur_idx, unsigned int idx) in match_index() argument 79 return cur_idx == idx; in match_index() 83 unsigned int cur_idx, unsigned int val); 90 unsigned int i, j, k, cur_idx = 0; in hidinput_find_key() local 100 if (match(usage, cur_idx, value)) { in hidinput_find_key() 102 *usage_idx = cur_idx; in hidinput_find_key() 105 cur_idx++; in hidinput_find_key()
|
/kernel/linux/linux-5.10/drivers/perf/ |
D | arm_smmuv3_pmu.c | 278 unsigned int cur_idx, num_ctrs = smmu_pmu->num_counters; in smmu_pmu_apply_event_filter() local 286 cur_idx = find_first_bit(smmu_pmu->used_counters, num_ctrs); in smmu_pmu_apply_event_filter() 291 if (!smmu_pmu->global_filter || cur_idx == num_ctrs) { in smmu_pmu_apply_event_filter() 297 if (smmu_pmu_check_global_filter(smmu_pmu->events[cur_idx], event)) { in smmu_pmu_apply_event_filter()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/ |
D | mac.c | 70 int cur_idx, last_rate; in mt76_mac_fill_tx_status() local 78 cur_idx = rate[last_rate].idx + st->retry; in mt76_mac_fill_tx_status() 81 rate[i].idx = max_t(int, 0, cur_idx - i); in mt76_mac_fill_tx_status()
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | rc80211_minstrel_ht.c | 387 int cur_group, cur_idx, cur_tp_avg, cur_prob; in minstrel_ht_sort_best_tp_rates() local 392 cur_idx = index % MCS_GROUP_RATES; in minstrel_ht_sort_best_tp_rates() 393 cur_prob = mi->groups[cur_group].rates[cur_idx].prob_avg; in minstrel_ht_sort_best_tp_rates() 394 cur_tp_avg = minstrel_ht_get_tp_avg(mi, cur_group, cur_idx, cur_prob); in minstrel_ht_sort_best_tp_rates() 425 int max_tp_group, cur_tp_avg, cur_group, cur_idx; in minstrel_ht_set_best_prob_rate() local 430 cur_idx = index % MCS_GROUP_RATES; in minstrel_ht_set_best_prob_rate() 451 cur_tp_avg = minstrel_ht_get_tp_avg(mi, cur_group, cur_idx, in minstrel_ht_set_best_prob_rate()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800lib.c | 1221 unsigned int cur_idx = rt2800_drv_get_dma_done(queue); in rt2800_check_hung() local 1223 if (queue->wd_idx != cur_idx) in rt2800_check_hung()
|