Searched refs:pfault (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/infiniband/hw/mlx5/ |
D | odp.c | 293 struct mlx5_pagefault *pfault, in mlx5_ib_page_fault_resume() argument 296 int wq_num = pfault->event_subtype == MLX5_PFAULT_SUBTYPE_WQE ? in mlx5_ib_page_fault_resume() 297 pfault->wqe.wq_num : pfault->token; in mlx5_ib_page_fault_resume() 299 pfault->token, in mlx5_ib_page_fault_resume() 301 pfault->type, in mlx5_ib_page_fault_resume() 781 struct mlx5_pagefault *pfault, in pagefault_data_segments() argument 826 pfault->bytes_committed); in pagefault_data_segments() 833 if (inline_segment || bcnt <= pfault->bytes_committed) { in pagefault_data_segments() 834 pfault->bytes_committed -= in pagefault_data_segments() 836 pfault->bytes_committed); in pagefault_data_segments() [all …]
|
D | mlx5_ib.h | 1139 struct mlx5_pagefault *pfault);
|
D | main.c | 6386 .pfault = mlx5_ib_pfault,
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eq.c | 214 struct mlx5_pagefault *pfault = container_of(work, in eqe_pf_action() local 217 struct mlx5_eq *eq = pfault->eq; in eqe_pf_action() 219 mlx5_core_page_fault(eq->dev, pfault); in eqe_pf_action() 220 mempool_free(pfault, eq->pf_ctx.pool); in eqe_pf_action() 227 struct mlx5_pagefault *pfault; in eq_pf_process() local 232 pfault = mempool_alloc(eq->pf_ctx.pool, GFP_ATOMIC); in eq_pf_process() 233 if (!pfault) { in eq_pf_process() 240 pfault->event_subtype = eqe->sub_type; in eq_pf_process() 241 pfault->bytes_committed = be32_to_cpu(pf_eqe->bytes_committed); in eq_pf_process() 245 eqe->sub_type, pfault->bytes_committed); in eq_pf_process() [all …]
|
D | dev.c | 144 if (dev_ctx->intf->pfault) { in mlx5_add_device() 145 if (priv->pfault) { in mlx5_add_device() 149 priv->pfault = dev_ctx->intf->pfault; in mlx5_add_device() 184 if (priv->pfault == dev_ctx->intf->pfault) in mlx5_remove_device() 185 priv->pfault = NULL; in mlx5_remove_device() 452 struct mlx5_pagefault *pfault) in mlx5_core_page_fault() argument 458 if (priv->pfault) in mlx5_core_page_fault() 459 priv->pfault(dev, priv->pfault_ctx, pfault); in mlx5_core_page_fault()
|
D | mlx5_core.h | 101 struct mlx5_pagefault *pfault);
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
D | gp100.c | 66 struct nvkm_fault **pfault) in gp100_fault_new() argument 68 return nvkm_fault_new_(&gp100_fault, device, index, pfault); in gp100_fault_new()
|
D | base.c | 177 int index, struct nvkm_fault **pfault) in nvkm_fault_new_() argument 180 if (!(fault = *pfault = kzalloc(sizeof(*fault), GFP_KERNEL))) in nvkm_fault_new_()
|
D | gv100.c | 202 struct nvkm_fault **pfault) in gv100_fault_new() argument 204 return nvkm_fault_new_(&gv100_fault, device, index, pfault); in gv100_fault_new()
|
/Linux-v4.19/include/linux/mlx5/ |
D | driver.h | 710 void (*pfault)(struct mlx5_core_dev *dev, member 712 struct mlx5_pagefault *pfault); 1213 void (*pfault)(struct mlx5_core_dev *dev, member 1215 struct mlx5_pagefault *pfault);
|