Home
last modified time | relevance | path

Searched refs:wc_list (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/infiniband/hw/mlx5/
H A Dcq.c591 list_for_each_entry_safe(soft_wc, next, &cq->wc_list, list) { in poll_soft_wc()
623 if (unlikely(!list_empty(&cq->wc_list))) in mlx5_ib_poll_cq()
631 if (unlikely(!list_empty(&cq->wc_list))) in mlx5_ib_poll_cq()
659 if ((flags & IB_CQ_REPORT_MISSED_EVENTS) && !list_empty(&cq->wc_list)) in mlx5_ib_arm_cq()
1034 INIT_LIST_HEAD(&cq->wc_list); in mlx5_ib_create_cq()
1444 list_add_tail(&soft_wc->list, &cq->wc_list); in mlx5_ib_generate_wc()
H A Dmlx5_ib.h580 struct list_head wc_list; member
/linux/drivers/md/
H A Ddm-writecache.c226 struct wc_entry **wc_list; member
1698 e = wb->wc_list[i]; in __writecache_endio_pmem()
1715 if (wb->wc_list != wb->wc_list_inline) in __writecache_endio_pmem()
1716 kfree(wb->wc_list); in __writecache_endio_pmem()
1852 wb->wc_list = kmalloc_array(max_pages, sizeof(struct wc_entry *), in __writecache_writeback_pmem()
1856 if (likely(max_pages <= WB_LIST_INLINE) || unlikely(!wb->wc_list)) { in __writecache_writeback_pmem()
1857 wb->wc_list = wb->wc_list_inline; in __writecache_writeback_pmem()
1863 wb->wc_list[0] = e; in __writecache_writeback_pmem()
1875 wb->wc_list[wb->wc_list_n++] = f; in __writecache_writeback_pmem()