Lines Matching refs:msm_obj
812 struct msm_gem_object *msm_obj; in msm_ioctl_gem_info() local
837 msm_obj = to_msm_bo(obj); in msm_ioctl_gem_info()
851 if (args->len >= sizeof(msm_obj->name)) { in msm_ioctl_gem_info()
855 if (copy_from_user(msm_obj->name, u64_to_user_ptr(args->value), in msm_ioctl_gem_info()
857 msm_obj->name[0] = '\0'; in msm_ioctl_gem_info()
861 msm_obj->name[args->len] = '\0'; in msm_ioctl_gem_info()
863 if (!isprint(msm_obj->name[i])) { in msm_ioctl_gem_info()
864 msm_obj->name[i] = '\0'; in msm_ioctl_gem_info()
870 if (args->value && (args->len < strlen(msm_obj->name))) { in msm_ioctl_gem_info()
874 args->len = strlen(msm_obj->name); in msm_ioctl_gem_info()
877 msm_obj->name, args->len)) in msm_ioctl_gem_info()