/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_benchmark.c | 75 struct amdgpu_bo *sobj = NULL; in amdgpu_benchmark_move() local 89 r = amdgpu_bo_create(adev, &bp, &sobj); in amdgpu_benchmark_move() 93 r = amdgpu_bo_reserve(sobj, false); in amdgpu_benchmark_move() 96 r = amdgpu_bo_pin(sobj, sdomain); in amdgpu_benchmark_move() 98 amdgpu_bo_unreserve(sobj); in amdgpu_benchmark_move() 101 r = amdgpu_ttm_alloc_gart(&sobj->tbo); in amdgpu_benchmark_move() 102 amdgpu_bo_unreserve(sobj); in amdgpu_benchmark_move() 106 saddr = amdgpu_bo_gpu_offset(sobj); in amdgpu_benchmark_move() 117 amdgpu_bo_unreserve(sobj); in amdgpu_benchmark_move() 142 if (sobj) { in amdgpu_benchmark_move() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | radeon_benchmark.c | 91 struct radeon_bo *sobj = NULL; in radeon_benchmark_move() local 97 r = radeon_bo_create(rdev, size, PAGE_SIZE, true, sdomain, 0, NULL, NULL, &sobj); in radeon_benchmark_move() 101 r = radeon_bo_reserve(sobj, false); in radeon_benchmark_move() 104 r = radeon_bo_pin(sobj, sdomain, &saddr); in radeon_benchmark_move() 105 radeon_bo_unreserve(sobj); in radeon_benchmark_move() 145 if (sobj) { in radeon_benchmark_move() 146 r = radeon_bo_reserve(sobj, false); in radeon_benchmark_move() 148 radeon_bo_unpin(sobj); in radeon_benchmark_move() 149 radeon_bo_unreserve(sobj); in radeon_benchmark_move() 151 radeon_bo_unref(&sobj); in radeon_benchmark_move() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | radeon_benchmark.c | 91 struct radeon_bo *sobj = NULL; in radeon_benchmark_move() local 97 r = radeon_bo_create(rdev, size, PAGE_SIZE, true, sdomain, 0, NULL, NULL, &sobj); in radeon_benchmark_move() 101 r = radeon_bo_reserve(sobj, false); in radeon_benchmark_move() 104 r = radeon_bo_pin(sobj, sdomain, &saddr); in radeon_benchmark_move() 105 radeon_bo_unreserve(sobj); in radeon_benchmark_move() 145 if (sobj) { in radeon_benchmark_move() 146 r = radeon_bo_reserve(sobj, false); in radeon_benchmark_move() 148 radeon_bo_unpin(sobj); in radeon_benchmark_move() 149 radeon_bo_unreserve(sobj); in radeon_benchmark_move() 151 radeon_bo_unref(&sobj); in radeon_benchmark_move() [all...] |
/kernel/linux/linux-6.6/drivers/iommu/iommufd/ |
H A D | selftest.c | 408 struct selftest_obj *sobj; in iommufd_test_mock_domain() local 413 sobj = iommufd_object_alloc(ucmd->ictx, sobj, IOMMUFD_OBJ_SELFTEST); in iommufd_test_mock_domain() 414 if (IS_ERR(sobj)) in iommufd_test_mock_domain() 415 return PTR_ERR(sobj); in iommufd_test_mock_domain() 417 sobj->idev.ictx = ucmd->ictx; in iommufd_test_mock_domain() 418 sobj->type = TYPE_IDEV; in iommufd_test_mock_domain() 420 sobj->idev.mock_dev = mock_dev_create(); in iommufd_test_mock_domain() 421 if (IS_ERR(sobj->idev.mock_dev)) { in iommufd_test_mock_domain() 422 rc = PTR_ERR(sobj in iommufd_test_mock_domain() 465 struct selftest_obj *sobj; iommufd_test_mock_domain_replace() local 982 struct selftest_obj *sobj = container_of(obj, struct selftest_obj, obj); iommufd_selftest_destroy() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_benchmark.c | 79 struct amdgpu_bo *sobj = NULL; in amdgpu_benchmark_move() local 88 &sobj, in amdgpu_benchmark_move() 115 if (sobj) in amdgpu_benchmark_move() 116 amdgpu_bo_free_kernel(&sobj, &saddr, NULL); in amdgpu_benchmark_move()
|
/kernel/liteos_a/fs/fat/virpart/src/ |
H A D | virpartff.c | 261 pfs->sobj = fs->sobj;
in FatfsSetParentFs()
|
/kernel/liteos_a/fs/fat/os_adapt/ |
H A D | fatfs.c | 1119 ret = ff_cre_syncobj(0, &fs->sobj); in fatfs_mount() 1222 ff_del_syncobj(&fs->sobj); in fatfs_mount() 1285 ret = ff_del_syncobj(&fs->sobj); in fatfs_umount()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 1009 struct attribute_set_obj *sobj; in create_attr_set() local 1015 sobj = kzalloc(sizeof(struct attribute_set_obj) + in create_attr_set() 1018 if (!sobj) in create_attr_set() 1020 sobj->s.max_members = max_members; in create_attr_set() 1021 sobj->s.group.attrs = &sobj->a; in create_attr_set() 1022 sobj->s.group.name = name; in create_attr_set() 1024 return &sobj->s; in create_attr_set()
|