Lines Matching refs:msm_bo
35 static int bo_allocate(struct msm_bo *msm_bo) in bo_allocate() argument
37 struct fd_bo *bo = &msm_bo->base; in bo_allocate()
38 if (!msm_bo->offset) { in bo_allocate()
55 msm_bo->offset = req.offset; in bo_allocate()
63 struct msm_bo *msm_bo = to_msm_bo(bo); in msm_bo_offset() local
64 int ret = bo_allocate(msm_bo); in msm_bo_offset()
67 *offset = msm_bo->offset; in msm_bo_offset()
94 struct msm_bo *msm_bo = to_msm_bo(bo); in msm_bo_destroy() local
95 free(msm_bo); in msm_bo_destroy()
130 struct msm_bo *msm_bo; in msm_bo_from_handle() local
133 msm_bo = calloc(1, sizeof(*msm_bo)); in msm_bo_from_handle()
134 if (!msm_bo) in msm_bo_from_handle()
137 bo = &msm_bo->base; in msm_bo_from_handle()