Home
last modified time | relevance | path

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

/drivers/infiniband/core/
Dumem_odp.c382 struct task_struct *owning_process = NULL; in ib_umem_odp_release() local
385 owning_process = get_pid_task(context->tgid, in ib_umem_odp_release()
387 if (owning_process == NULL) in ib_umem_odp_release()
394 owning_mm = get_task_mm(owning_process); in ib_umem_odp_release()
406 put_task_struct(owning_process); in ib_umem_odp_release()
524 struct task_struct *owning_process = NULL; in ib_umem_odp_map_dma_pages() local
548 owning_process = get_pid_task(umem->context->tgid, PIDTYPE_PID); in ib_umem_odp_map_dma_pages()
549 if (owning_process == NULL) { in ib_umem_odp_map_dma_pages()
554 owning_mm = get_task_mm(owning_process); in ib_umem_odp_map_dma_pages()
579 npages = get_user_pages_remote(owning_process, owning_mm, in ib_umem_odp_map_dma_pages()
[all …]
/drivers/infiniband/hw/mlx5/
Dmain.c1285 struct task_struct *owning_process = NULL; in mlx5_ib_disassociate_ucontext() local
1288 owning_process = get_pid_task(ibcontext->tgid, PIDTYPE_PID); in mlx5_ib_disassociate_ucontext()
1289 if (!owning_process) in mlx5_ib_disassociate_ucontext()
1292 owning_mm = get_task_mm(owning_process); in mlx5_ib_disassociate_ucontext()
1296 put_task_struct(owning_process); in mlx5_ib_disassociate_ucontext()
1298 owning_process = get_pid_task(ibcontext->tgid, in mlx5_ib_disassociate_ucontext()
1300 if (!owning_process || in mlx5_ib_disassociate_ucontext()
1301 owning_process->state == TASK_DEAD) { in mlx5_ib_disassociate_ucontext()
1306 if (owning_process) in mlx5_ib_disassociate_ucontext()
1307 put_task_struct(owning_process); in mlx5_ib_disassociate_ucontext()
[all …]
/drivers/infiniband/hw/mlx4/
Dmain.c1138 struct task_struct *owning_process = NULL; in mlx4_ib_disassociate_ucontext() local
1141 owning_process = get_pid_task(ibcontext->tgid, PIDTYPE_PID); in mlx4_ib_disassociate_ucontext()
1142 if (!owning_process) in mlx4_ib_disassociate_ucontext()
1145 owning_mm = get_task_mm(owning_process); in mlx4_ib_disassociate_ucontext()
1153 put_task_struct(owning_process); in mlx4_ib_disassociate_ucontext()
1155 owning_process = get_pid_task(ibcontext->tgid, in mlx4_ib_disassociate_ucontext()
1157 if (!owning_process || in mlx4_ib_disassociate_ucontext()
1158 owning_process->state == TASK_DEAD) { in mlx4_ib_disassociate_ucontext()
1161 if (owning_process) in mlx4_ib_disassociate_ucontext()
1162 put_task_struct(owning_process); in mlx4_ib_disassociate_ucontext()
[all …]