Home
last modified time | relevance | path

Searched refs:sa_path (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/infiniband/core/
Ducm.c708 struct ib_sa_path_rec *sa_path; in ib_ucm_path_get() local
715 sa_path = kmalloc(sizeof(*sa_path), GFP_KERNEL); in ib_ucm_path_get()
716 if (!sa_path) in ib_ucm_path_get()
722 kfree(sa_path); in ib_ucm_path_get()
726 ib_copy_path_rec_from_user(sa_path, &upath); in ib_ucm_path_get()
727 *path = sa_path; in ib_ucm_path_get()
Ducma.c1199 struct ib_sa_path_rec sa_path; in ucma_set_ib_path() local
1215 memset(&sa_path, 0, sizeof(sa_path)); in ucma_set_ib_path()
1217 ib_sa_unpack_path(path_data->path_rec, &sa_path); in ucma_set_ib_path()
1218 ret = rdma_set_ib_paths(ctx->cm_id, &sa_path, 1); in ucma_set_ib_path()