Home
last modified time | relevance | path

Searched refs:cur_idx (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/qxl/
Dqxl_release.c335 int cur_idx; in qxl_alloc_release_reserved() local
338 cur_idx = 0; in qxl_alloc_release_reserved()
340 cur_idx = 1; in qxl_alloc_release_reserved()
342 cur_idx = 2; in qxl_alloc_release_reserved()
356 if (qdev->current_release_bo_offset[cur_idx] + 1 >= releases_per_bo[cur_idx]) { in qxl_alloc_release_reserved()
357 qxl_bo_unref(&qdev->current_release_bo[cur_idx]); in qxl_alloc_release_reserved()
358 qdev->current_release_bo_offset[cur_idx] = 0; in qxl_alloc_release_reserved()
359 qdev->current_release_bo[cur_idx] = NULL; in qxl_alloc_release_reserved()
361 if (!qdev->current_release_bo[cur_idx]) { in qxl_alloc_release_reserved()
362 ret = qxl_release_bo_alloc(qdev, &qdev->current_release_bo[cur_idx]); in qxl_alloc_release_reserved()
[all …]
/drivers/net/wireless/brcm80211/brcmfmac/
Ddhd_linux.c342 u8 flow_id, max_idx, cur_idx, exp_idx, end_idx; in brcmf_rxreorder_process_info() local
409 rfi->cur_idx = reorder_data[BRCMF_RXREORDER_CURIDX_OFFSET]; in brcmf_rxreorder_process_info()
412 rfi->pktslots[rfi->cur_idx] = pkt; in brcmf_rxreorder_process_info()
415 flow_id, rfi->cur_idx, rfi->exp_idx, rfi->pend_pkts); in brcmf_rxreorder_process_info()
417 cur_idx = reorder_data[BRCMF_RXREORDER_CURIDX_OFFSET]; in brcmf_rxreorder_process_info()
420 if ((exp_idx == rfi->exp_idx) && (cur_idx != rfi->exp_idx)) { in brcmf_rxreorder_process_info()
423 if (rfi->pktslots[cur_idx] != NULL) { in brcmf_rxreorder_process_info()
425 brcmu_pkt_buf_free_skb(rfi->pktslots[cur_idx]); in brcmf_rxreorder_process_info()
426 rfi->pktslots[cur_idx] = NULL; in brcmf_rxreorder_process_info()
428 rfi->pktslots[cur_idx] = pkt; in brcmf_rxreorder_process_info()
[all …]
Ddhd.h65 u8 cur_idx; member
/drivers/staging/lustre/lustre/ptlrpc/
Dllog_client.c182 int *cur_idx, int next_idx, in llog_client_next_block() argument
205 body->lgd_saved_index = *cur_idx; in llog_client_next_block()
228 *cur_idx = body->lgd_saved_index; in llog_client_next_block()
/drivers/hid/
Dhid-input.c74 unsigned int cur_idx, unsigned int scancode) in match_scancode() argument
80 unsigned int cur_idx, unsigned int keycode) in match_keycode() argument
89 unsigned int cur_idx, unsigned int idx) in match_index() argument
91 return cur_idx == idx; in match_index()
95 unsigned int cur_idx, unsigned int val);
102 unsigned int i, j, k, cur_idx = 0; in hidinput_find_key() local
112 if (match(usage, cur_idx, value)) { in hidinput_find_key()
114 *usage_idx = cur_idx; in hidinput_find_key()
117 cur_idx++; in hidinput_find_key()
/drivers/md/bcache/
Djournal.c250 ja->cur_idx = i; in bch_journal_read()
485 while (ja->last_idx != ja->cur_idx && in journal_reclaim()
504 unsigned next = (ja->cur_idx + 1) % ca->sb.njournal_buckets; in journal_reclaim()
510 ja->cur_idx = next; in journal_reclaim()
512 bucket_to_sector(c, ca->sb.d[ja->cur_idx]), in journal_reclaim()
639 ca->journal.seq[ca->journal.cur_idx] = w->data->seq; in journal_write_unlocked()
Djournal.h133 unsigned cur_idx; member
/drivers/staging/lustre/lustre/include/
Dlustre_log.h460 struct llog_handle *loghandle, int *cur_idx, in llog_next_block() argument
473 rc = lop->lop_next_block(env, loghandle, cur_idx, next_idx, in llog_next_block()