Searched refs:clean_count (Results 1 – 3 of 3) sorted by relevance
355 int idpf_ctlq_clean_sq(struct idpf_ctlq_info *cq, u16 *clean_count, in idpf_ctlq_clean_sq() argument362 if (*clean_count == 0) in idpf_ctlq_clean_sq()364 if (*clean_count > cq->ring_size) in idpf_ctlq_clean_sq()371 num_to_clean = *clean_count; in idpf_ctlq_clean_sq()400 *clean_count = i; in idpf_ctlq_clean_sq()
162 int idpf_ctlq_clean_sq(struct idpf_ctlq_info *cq, u16 *clean_count,
850 int recv_pkts, recv_bds, clean_count, err; in hns_nic_rx_poll_one() local856 recv_pkts = 0, recv_bds = 0, clean_count = 0; in hns_nic_rx_poll_one()861 if (clean_count + unused_count >= RCB_NOF_ALLOC_RX_BUFF_ONCE) { in hns_nic_rx_poll_one()863 clean_count + unused_count); in hns_nic_rx_poll_one()864 clean_count = 0; in hns_nic_rx_poll_one()874 clean_count += bnum; in hns_nic_rx_poll_one()888 if (clean_count + unused_count > 0) in hns_nic_rx_poll_one()890 clean_count + unused_count); in hns_nic_rx_poll_one()