Lines Matching refs:msm_obj
789 struct msm_gem_object *msm_obj; in msm_ioctl_gem_info() local
813 msm_obj = to_msm_bo(obj); in msm_ioctl_gem_info()
824 if (args->len >= sizeof(msm_obj->name)) { in msm_ioctl_gem_info()
828 if (copy_from_user(msm_obj->name, u64_to_user_ptr(args->value), in msm_ioctl_gem_info()
830 msm_obj->name[0] = '\0'; in msm_ioctl_gem_info()
834 msm_obj->name[args->len] = '\0'; in msm_ioctl_gem_info()
836 if (!isprint(msm_obj->name[i])) { in msm_ioctl_gem_info()
837 msm_obj->name[i] = '\0'; in msm_ioctl_gem_info()
843 if (args->value && (args->len < strlen(msm_obj->name))) { in msm_ioctl_gem_info()
847 args->len = strlen(msm_obj->name); in msm_ioctl_gem_info()
850 msm_obj->name, args->len)) in msm_ioctl_gem_info()