Searched refs:sa_path (Results 1 – 2 of 2) sorted by relevance
708 struct ib_sa_path_rec *sa_path; in ib_ucm_path_get() local715 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()
1199 struct ib_sa_path_rec sa_path; in ucma_set_ib_path() local1215 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()