| /Linux-v5.4/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 …]
|
| /Linux-v5.4/drivers/infiniband/core/ |
| D | uverbs_std_types_device.c | 66 u32 *handles; in gather_objects_handle() local 71 handles = uverbs_zalloc(attrs, out_len); in gather_objects_handle() 72 if (IS_ERR(handles)) in gather_objects_handle() 73 return handles; in gather_objects_handle() 85 handles[count] = obj_id; in gather_objects_handle() 91 return handles; in gather_objects_handle() 101 u32 *handles; in UVERBS_HANDLER() local 116 handles = gather_objects_handle(attrs->ufile, uapi_object, attrs, in UVERBS_HANDLER() 118 if (IS_ERR(handles)) in UVERBS_HANDLER() 119 return PTR_ERR(handles); in UVERBS_HANDLER() [all …]
|
| /Linux-v5.4/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() 55 ctx = xa_erase(&mgr->handles, id); in lima_ctx_free() 69 ctx = xa_load(&mgr->handles, id); in lima_ctx_get() 84 xa_init_flags(&mgr->handles, XA_FLAGS_ALLOC); in lima_ctx_mgr_init() 92 xa_for_each(&mgr->handles, id, ctx) { in lima_ctx_mgr_fini() 96 xa_destroy(&mgr->handles); in lima_ctx_mgr_fini()
|
| /Linux-v5.4/drivers/xen/xenbus/ |
| D | xenbus_client.c | 68 grant_handle_t handles[XENBUS_MAX_RING_GRANTS]; member 461 grant_handle_t *handles, in __xenbus_map_ring() argument 478 handles[i] = INVALID_GRANT_HANDLE; in __xenbus_map_ring() 491 handles[i] = map[i].handle; in __xenbus_map_ring() 498 if (handles[i] != INVALID_GRANT_HANDLE) { in __xenbus_map_ring() 501 GNTMAP_host_map, handles[i]); in __xenbus_map_ring() 574 err = __xenbus_map_ring(dev, gnt_ref, nr_grefs, node->handles, in xenbus_map_ring_valloc_hvm() 599 xenbus_unmap_ring(dev, node->handles, nr_grefs, info.addrs); in xenbus_map_ring_valloc_hvm() 632 unsigned int nr_grefs, grant_handle_t *handles, in xenbus_map_ring() argument 644 return __xenbus_map_ring(dev, gnt_refs, nr_grefs, handles, in xenbus_map_ring() [all …]
|
| /Linux-v5.4/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()
|
| /Linux-v5.4/net/xdp/ |
| D | xsk_queue.c | 77 newq = kvmalloc(struct_size(newq, handles, nentries), GFP_KERNEL); in xsk_reuseq_prepare() 80 memset(newq, 0, offsetof(typeof(*newq), handles)); in xsk_reuseq_prepare() 100 memcpy(newq->handles, oldq->handles, in xsk_reuseq_swap()
|
| /Linux-v5.4/drivers/gpu/drm/ |
| D | drm_syncobj.c | 1083 uint32_t i, *handles; in drm_syncobj_array_find() local 1087 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); in drm_syncobj_array_find() 1088 if (handles == NULL) in drm_syncobj_array_find() 1091 if (copy_from_user(handles, user_handles, in drm_syncobj_array_find() 1104 syncobjs[i] = drm_syncobj_find(file_private, handles[i]); in drm_syncobj_array_find() 1111 kfree(handles); in drm_syncobj_array_find() 1120 kfree(handles); in drm_syncobj_array_find() 1153 u64_to_user_ptr(args->handles), in drm_syncobj_wait_ioctl() 1187 u64_to_user_ptr(args->handles), in drm_syncobj_timeline_wait_ioctl() 1221 u64_to_user_ptr(args->handles), in drm_syncobj_reset_ioctl() [all …]
|
| /Linux-v5.4/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
|
| /Linux-v5.4/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()
|
| /Linux-v5.4/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
|
| /Linux-v5.4/drivers/firmware/efi/libstub/ |
| D | gop.c | 123 u32 *handles = (u32 *)(unsigned long)gop_handle; in setup_gop32() local 135 efi_handle_t h = (efi_handle_t)(unsigned long)handles[i]; in setup_gop32() 241 u64 *handles = (u64 *)(unsigned long)gop_handle; in setup_gop64() local 253 efi_handle_t h = (efi_handle_t)(unsigned long)handles[i]; in setup_gop64()
|
| /Linux-v5.4/drivers/gpu/drm/panfrost/ |
| D | panfrost_drv.c | 157 u32 *handles; in panfrost_copy_in_sync() local 174 handles = kvmalloc_array(job->in_fence_count, sizeof(u32), GFP_KERNEL); in panfrost_copy_in_sync() 175 if (!handles) { in panfrost_copy_in_sync() 181 if (copy_from_user(handles, in panfrost_copy_in_sync() 190 ret = drm_syncobj_find_fence(file_priv, handles[i], 0, 0, in panfrost_copy_in_sync() 197 kvfree(handles); in panfrost_copy_in_sync()
|
| /Linux-v5.4/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.
|
| /Linux-v5.4/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 …]
|
| /Linux-v5.4/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()
|
| /Linux-v5.4/tools/testing/selftests/tpm2/ |
| D | tpm2_tests.py | 262 handles = space2.get_cap(tpm2.TPM2_CAP_HANDLES, tpm2.HR_TRANSIENT) 264 self.assertEqual(len(handles), 2) 266 log.debug("%08x" % (handles[0])) 267 log.debug("%08x" % (handles[1]))
|
| D | tpm2.py | 668 handles = [] 683 handles.append(handle) 686 return handles, more_data 689 handles = [] 694 handles += next_handles 697 return handles
|
| /Linux-v5.4/drivers/platform/x86/ |
| D | sony-laptop.c | 821 static struct sony_nc_handles *handles; variable 829 for (i = 0; i < ARRAY_SIZE(handles->cap); i++) { in sony_nc_handles_show() 831 handles->cap[i]); in sony_nc_handles_show() 842 handles = kzalloc(sizeof(*handles), GFP_KERNEL); in sony_nc_handles_setup() 843 if (!handles) in sony_nc_handles_setup() 846 for (i = 0; i < ARRAY_SIZE(handles->cap); i++) { in sony_nc_handles_setup() 853 handles->cap[i] = result; in sony_nc_handles_setup() 858 sysfs_attr_init(&handles->devattr.attr); in sony_nc_handles_setup() 859 handles->devattr.attr.name = "handles"; in sony_nc_handles_setup() 860 handles->devattr.attr.mode = S_IRUGO; in sony_nc_handles_setup() [all …]
|
| /Linux-v5.4/Documentation/scsi/ |
| D | ufs.txt | 57 * UCS: It handles SCSI commands supported by UFS specification. 58 * Task manager: It handles task management functions defined by the 60 * Device manager: It handles device level operations and device 83 UIC is the lowest layer of UFS layered architecture. It handles 116 Error handling module handles Host controller fatal errors,
|
| /Linux-v5.4/include/net/ |
| D | xdp_sock.h | 34 u64 handles[]; member 188 *addr = rq->handles[rq->length - 1]; in xsk_umem_peek_addr_rq() 206 rq->handles[rq->length++] = addr; in xsk_umem_fq_reuse()
|
| /Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_vce.c | 190 atomic_set(&adev->vce.handles[i], 0); in amdgpu_vce_sw_init() 267 if (atomic_read(&adev->vce.handles[i])) in amdgpu_vce_suspend() 407 uint32_t handle = atomic_read(&adev->vce.handles[i]); in amdgpu_vce_free_handles() 417 atomic_set(&adev->vce.handles[i], 0); in amdgpu_vce_free_handles() 680 if (atomic_read(&p->adev->vce.handles[i]) == handle) { in amdgpu_vce_validate_handle() 691 if (!atomic_cmpxchg(&p->adev->vce.handles[i], 0, handle)) { in amdgpu_vce_validate_handle() 934 atomic_set(&p->adev->vce.handles[i], 0); in amdgpu_vce_ring_parse_cs() 1024 atomic_set(&p->adev->vce.handles[i], 0); in amdgpu_vce_ring_parse_cs_vm()
|
| D | amdgpu_uvd.c | 268 atomic_set(&adev->uvd.handles[i], 0); in amdgpu_uvd_sw_init() 355 if (atomic_read(&adev->uvd.handles[i])) in amdgpu_uvd_suspend() 425 uint32_t handle = atomic_read(&adev->uvd.handles[i]); in amdgpu_uvd_free_handles() 441 atomic_set(&adev->uvd.handles[i], 0); in amdgpu_uvd_free_handles() 747 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg() 753 if (!atomic_cmpxchg(&adev->uvd.handles[i], 0, handle)) { in amdgpu_uvd_cs_msg() 771 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg() 786 atomic_cmpxchg(&adev->uvd.handles[i], handle, 0); in amdgpu_uvd_cs_msg() 1287 if (atomic_read(&adev->uvd.handles[i])) in amdgpu_uvd_used_handles()
|