/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
D | test-drm_framebuffer.c | 30 .handles = { 1, 0, 0 }, .pitches = { 4 * 600, 0, 0 }, 35 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, 40 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH + 1, 0, 0 }, 45 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH - 1, 0, 0 }, 50 .handles = { 1, 0, 0 }, .pitches = { 4 * (MAX_WIDTH + 1), 0, 0 }, 55 .handles = { 0, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, 60 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, 65 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, 70 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, 75 .handles = { 1, 0, 0 }, .offsets = { UINT_MAX - 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/rmgr/src/ |
D | rmgr_vbuf.c | 156 pool->handles = kvmalloc(bytes_needed, GFP_KERNEL); in ia_css_rmgr_init_vbuf() 157 if (pool->handles) in ia_css_rmgr_init_vbuf() 158 memset(pool->handles, 0, bytes_needed); in ia_css_rmgr_init_vbuf() 164 pool->handles = NULL; in ia_css_rmgr_init_vbuf() 184 if (pool->handles) { in ia_css_rmgr_uninit_vbuf() 187 if (pool->handles[i]) { in ia_css_rmgr_uninit_vbuf() 190 pool->handles[i]->vptr, in ia_css_rmgr_uninit_vbuf() 191 pool->handles[i]->count); in ia_css_rmgr_uninit_vbuf() 193 hmm_free(pool->handles[i]->vptr); in ia_css_rmgr_uninit_vbuf() 196 &pool->handles[i]); in ia_css_rmgr_uninit_vbuf() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
D | lima_ctx.c | 26 err = xa_alloc(&mgr->handles, id, ctx, xa_limit_32b, GFP_KERNEL); in lima_ctx_create() 58 ctx = xa_erase(&mgr->handles, id); in lima_ctx_free() 72 ctx = xa_load(&mgr->handles, id); in lima_ctx_get() 87 xa_init_flags(&mgr->handles, XA_FLAGS_ALLOC); in lima_ctx_mgr_init() 95 xa_for_each(&mgr->handles, id, ctx) { in lima_ctx_mgr_fini() 99 xa_destroy(&mgr->handles); in lima_ctx_mgr_fini()
|
/kernel/linux/linux-5.10/drivers/xen/xenbus/ |
D | xenbus_client.c | 68 grant_handle_t handles[XENBUS_MAX_RING_GRANTS]; member 503 grant_handle_t *handles, in __xenbus_map_ring() argument 516 handles[i] = INVALID_GRANT_HANDLE; in __xenbus_map_ring() 528 handles[i] = info->map[i].handle; in __xenbus_map_ring() 535 if (handles[i] != INVALID_GRANT_HANDLE) { in __xenbus_map_ring() 538 GNTMAP_host_map, handles[i]); in __xenbus_map_ring() 568 static int xenbus_unmap_ring(struct xenbus_device *dev, grant_handle_t *handles, in xenbus_unmap_ring() argument 580 GNTMAP_host_map, handles[i]); in xenbus_unmap_ring() 590 handles[i], unmap[i].status); in xenbus_unmap_ring() 633 err = __xenbus_map_ring(dev, gnt_ref, nr_grefs, node->handles, in xenbus_map_ring_hvm() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/ |
D | armada_fb.c | 102 (mode->handles[0] != mode->handles[1] || in armada_fb_create() 103 mode->handles[0] != mode->handles[2])) { in armada_fb_create() 108 obj = armada_gem_object_lookup(dfile, mode->handles[0]); in armada_fb_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_framebuffer.c | 137 r.handles[0] = or->handle; in drm_mode_addfb() 212 if (!r->handles[i]) { in framebuffer_check() 270 if (r->handles[i]) { in framebuffer_check() 600 for (i = 0; i < ARRAY_SIZE(r->handles); i++) { in drm_mode_getfb2_ioctl() 601 r->handles[i] = 0; in drm_mode_getfb2_ioctl() 632 r->handles[i] = r->handles[j]; in drm_mode_getfb2_ioctl() 637 if (r->handles[i]) in drm_mode_getfb2_ioctl() 642 &r->handles[i]); in drm_mode_getfb2_ioctl() 646 &r->handles[i]); in drm_mode_getfb2_ioctl() 656 for (i = 0; i < ARRAY_SIZE(r->handles); i++) { in drm_mode_getfb2_ioctl() [all …]
|
D | drm_syncobj.c | 1156 uint32_t i, *handles; in drm_syncobj_array_find() local 1160 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); in drm_syncobj_array_find() 1161 if (handles == NULL) in drm_syncobj_array_find() 1164 if (copy_from_user(handles, user_handles, in drm_syncobj_array_find() 1177 syncobjs[i] = drm_syncobj_find(file_private, handles[i]); in drm_syncobj_array_find() 1184 kfree(handles); in drm_syncobj_array_find() 1193 kfree(handles); in drm_syncobj_array_find() 1227 u64_to_user_ptr(args->handles), in drm_syncobj_wait_ioctl() 1261 u64_to_user_ptr(args->handles), in drm_syncobj_timeline_wait_ioctl() 1295 u64_to_user_ptr(args->handles), in drm_syncobj_reset_ioctl() [all …]
|
D | drm_prime.c | 128 p = &prime_fpriv->handles.rb_node; in drm_prime_add_buf_handle() 140 rb_insert_color(&member->handle_rb, &prime_fpriv->handles); in drm_prime_add_buf_handle() 150 rb = prime_fpriv->handles.rb_node; in drm_prime_lookup_buf_by_handle() 197 rb = prime_fpriv->handles.rb_node; in drm_prime_remove_buf_handle() 203 rb_erase(&member->handle_rb, &prime_fpriv->handles); in drm_prime_remove_buf_handle() 223 prime_fpriv->handles = RB_ROOT; in drm_prime_init_file_private()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | uverbs_std_types_device.c | 73 u32 *handles; in gather_objects_handle() local 78 handles = uverbs_zalloc(attrs, out_len); in gather_objects_handle() 79 if (IS_ERR(handles)) in gather_objects_handle() 80 return handles; in gather_objects_handle() 92 handles[count] = obj_id; in gather_objects_handle() 98 return handles; in gather_objects_handle() 108 u32 *handles; in UVERBS_HANDLER() local 123 handles = gather_objects_handle(attrs->ufile, uapi_object, attrs, in UVERBS_HANDLER() 125 if (IS_ERR(handles)) in UVERBS_HANDLER() 126 return PTR_ERR(handles); in UVERBS_HANDLER() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
D | mediatek-net.txt | 33 - mediatek,ethsys: phandle to the syscon node that handles the port setup 34 - mediatek,infracfg: phandle to the syscon node that handles the path from 36 - mediatek,sgmiisys: a list of phandles to the syscon node that handles the 41 - mediatek,pctl: phandle to the syscon node that handles the ports slew rate
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_uvd.c | 220 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_init() 257 uint32_t handle = atomic_read(&rdev->uvd.handles[i]); in radeon_uvd_suspend() 274 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_suspend() 332 uint32_t handle = atomic_read(&rdev->uvd.handles[i]); in radeon_uvd_free_handles() 349 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_free_handles() 517 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) { in radeon_uvd_cs_msg() 522 if (!atomic_cmpxchg(&p->rdev->uvd.handles[i], 0, handle)) { in radeon_uvd_cs_msg() 543 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) { in radeon_uvd_cs_msg() 558 atomic_cmpxchg(&p->rdev->uvd.handles[i], handle, 0); in radeon_uvd_cs_msg() 860 if (!atomic_read(&rdev->uvd.handles[i])) in radeon_uvd_count_handles()
|
D | radeon_vce.c | 167 atomic_set(&rdev->vce.handles[i], 0); in radeon_vce_init() 205 if (atomic_read(&rdev->vce.handles[i])) in radeon_vce_suspend() 320 uint32_t handle = atomic_read(&rdev->vce.handles[i]); in radeon_vce_free_handles() 332 atomic_set(&rdev->vce.handles[i], 0); in radeon_vce_free_handles() 528 if (atomic_read(&p->rdev->vce.handles[i]) == handle) { in radeon_vce_validate_handle() 539 if (!atomic_cmpxchg(&p->rdev->vce.handles[i], 0, handle)) { in radeon_vce_validate_handle() 680 atomic_cmpxchg(&p->rdev->vce.handles[i], handle, 0); in radeon_vce_cs_parse()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ti/ |
D | ti,omap5-dss.txt | 51 - clocks: handles to fclk and iclk 69 - clocks: handles to fclk and pll clock 92 - clocks: handles to fclk and pll clock
|
D | ti,omap4-dss.txt | 51 - clocks: handles to fclk and iclk 88 - clocks: handles to fclk and pll clock 111 - clocks: handles to fclk and pll clock
|
D | ti,omap3-dss.txt | 52 - clocks: handles to fclk and iclk 82 - clocks: handles to fclk and pll clock
|
/kernel/linux/linux-5.10/arch/c6x/kernel/ |
D | vectors.S | 8 ; This section handles all the interrupt vector routines. 10 ; branches to the label _c_int00 which handles initialization for the C code.
|
/kernel/linux/linux-5.10/Documentation/admin-guide/sysctl/ |
D | fs.rst | 112 handles that the Linux kernel will allocate. When you get lots 113 of error messages about running out of file handles, you might 116 Historically,the kernel was able to allocate file handles 118 file-nr denote the number of allocated file handles, the number 119 of allocated but unused file handles, and the maximum number of 120 file handles. Linux 2.6 always reports 0 as the number of free 121 file handles -- this is not an error, it just means that the 122 number of allocated file handles exactly matches the number of 123 used file handles. 133 This denotes the maximum number of file-handles a process can [all …]
|
/kernel/linux/linux-5.10/Documentation/dev-tools/ |
D | kcov.rst | 226 a list of such handles to the KCOV_REMOTE_ENABLE ioctl in the handles 228 device to the code sections, that are referenced by those handles. 238 Internally kcov stores handles as u64 integers. The top byte of a handle 242 handles as they don't belong to a particular subsystem. The bytes 4-7 are 249 task_struct. However non common handles allow to collect coverage 259 __aligned_u64 handles[0]; 311 arg->handles[0] = kcov_remote_handle(KCOV_SUBSYSTEM_USB,
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | sony-laptop.c | 814 static struct sony_nc_handles *handles; variable 822 for (i = 0; i < ARRAY_SIZE(handles->cap); i++) { in sony_nc_handles_show() 824 handles->cap[i]); in sony_nc_handles_show() 835 handles = kzalloc(sizeof(*handles), GFP_KERNEL); in sony_nc_handles_setup() 836 if (!handles) in sony_nc_handles_setup() 839 for (i = 0; i < ARRAY_SIZE(handles->cap); i++) { in sony_nc_handles_setup() 846 handles->cap[i] = result; in sony_nc_handles_setup() 851 sysfs_attr_init(&handles->devattr.attr); in sony_nc_handles_setup() 852 handles->devattr.attr.name = "handles"; in sony_nc_handles_setup() 853 handles->devattr.attr.mode = S_IRUGO; in sony_nc_handles_setup() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
D | panfrost_drv.c | 203 u32 *handles; in panfrost_copy_in_sync() local 220 handles = kvmalloc_array(job->in_fence_count, sizeof(u32), GFP_KERNEL); in panfrost_copy_in_sync() 221 if (!handles) { in panfrost_copy_in_sync() 227 if (copy_from_user(handles, in panfrost_copy_in_sync() 236 ret = drm_syncobj_find_fence(file_priv, handles[i], 0, 0, in panfrost_copy_in_sync() 243 kvfree(handles); in panfrost_copy_in_sync()
|
/kernel/linux/linux-5.10/tools/testing/selftests/tpm2/ |
D | tpm2.py | 689 handles = [] 704 handles.append(handle) 707 return handles, more_data 710 handles = [] 715 handles += next_handles 718 return handles
|
D | tpm2_tests.py | 263 handles = space2.get_cap(tpm2.TPM2_CAP_HANDLES, tpm2.HR_TRANSIENT) 265 self.assertEqual(len(handles), 2) 267 log.debug("%08x" % (handles[0])) 268 log.debug("%08x" % (handles[1]))
|
/kernel/linux/linux-5.10/Documentation/scsi/ |
D | ufs.rst | 69 It handles SCSI commands supported by UFS specification. 71 It handles task management functions defined by the 74 It handles device level operations and device 101 UIC is the lowest layer of UFS layered architecture. It handles 138 Error handling module handles Host controller fatal errors,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/ |
D | v3d_gem.c | 293 u32 *handles; in v3d_lookup_bos() local 315 handles = kvmalloc_array(job->bo_count, sizeof(u32), GFP_KERNEL); in v3d_lookup_bos() 316 if (!handles) { in v3d_lookup_bos() 322 if (copy_from_user(handles, in v3d_lookup_bos() 333 handles[i]); in v3d_lookup_bos() 336 i, handles[i]); in v3d_lookup_bos() 347 kvfree(handles); in v3d_lookup_bos()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vce.c | 195 atomic_set(&adev->vce.handles[i], 0); in amdgpu_vce_sw_init() 274 if (atomic_read(&adev->vce.handles[i])) in amdgpu_vce_suspend() 414 uint32_t handle = atomic_read(&adev->vce.handles[i]); in amdgpu_vce_free_handles() 424 atomic_set(&adev->vce.handles[i], 0); in amdgpu_vce_free_handles() 690 if (atomic_read(&p->adev->vce.handles[i]) == handle) { in amdgpu_vce_validate_handle() 701 if (!atomic_cmpxchg(&p->adev->vce.handles[i], 0, handle)) { in amdgpu_vce_validate_handle() 944 atomic_set(&p->adev->vce.handles[i], 0); in amdgpu_vce_ring_parse_cs() 1034 atomic_set(&p->adev->vce.handles[i], 0); in amdgpu_vce_ring_parse_cs_vm()
|