Lines Matching refs:q_skba
443 struct ehea_q_skb_arr *q_skba, int rq_nr, in ehea_refill_rq_def() argument
448 struct sk_buff **skb_arr = q_skba->arr; in ehea_refill_rq_def()
454 fill_wqes = q_skba->os_skbs + num_wqes; in ehea_refill_rq_def()
455 q_skba->os_skbs = 0; in ehea_refill_rq_def()
458 q_skba->os_skbs = fill_wqes; in ehea_refill_rq_def()
462 index = q_skba->index; in ehea_refill_rq_def()
463 max_index_mask = q_skba->len - 1; in ehea_refill_rq_def()
470 q_skba->os_skbs = fill_wqes - i; in ehea_refill_rq_def()
471 if (q_skba->os_skbs == q_skba->len - 2) { in ehea_refill_rq_def()
484 q_skba->os_skbs = fill_wqes - i; in ehea_refill_rq_def()
502 q_skba->index = index; in ehea_refill_rq_def()
1425 static int ehea_init_q_skba(struct ehea_q_skb_arr *q_skba, int max_q_entries) in ehea_init_q_skba() argument
1429 q_skba->arr = vzalloc(arr_size); in ehea_init_q_skba()
1430 if (!q_skba->arr) in ehea_init_q_skba()
1433 q_skba->len = max_q_entries; in ehea_init_q_skba()
1434 q_skba->index = 0; in ehea_init_q_skba()
1435 q_skba->os_skbs = 0; in ehea_init_q_skba()