Lines Matching refs:frags
1731 } frags[]; member
1739 if (atomic_dec_and_test(&work->frags[i].mr->num_deferred_work)) in destroy_prefetch_work()
1740 wake_up(&work->frags[i].mr->q_deferred_work); in destroy_prefetch_work()
1786 dev = work->frags[0].mr->dev; in mlx5_ib_prefetch_mr_work()
1790 ret = pagefault_mr(work->frags[i].mr, work->frags[i].io_virt, in mlx5_ib_prefetch_mr_work()
1791 work->frags[i].length, &bytes_mapped, in mlx5_ib_prefetch_mr_work()
1795 mlx5_update_odp_stats(work->frags[i].mr, prefetch, ret); in mlx5_ib_prefetch_mr_work()
1813 work->frags[i].io_virt = sg_list[i].addr; in init_prefetch_work()
1814 work->frags[i].length = sg_list[i].length; in init_prefetch_work()
1815 work->frags[i].mr = in init_prefetch_work()
1817 if (!work->frags[i].mr) { in init_prefetch_work()
1823 atomic_inc(&work->frags[i].mr->num_deferred_work); in init_prefetch_work()
1881 work = kvzalloc(struct_size(work, frags, num_sge), GFP_KERNEL); in mlx5_ib_advise_mr_prefetch()