Home
last modified time | relevance | path

Searched refs:handles (Results 1 – 25 of 467) sorted by relevance

12345678910>>...19

/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_framebuffer_test.c31 .handles = { 1, 0, 0 }, .pitches = { 4 * 600, 0, 0 },
36 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
41 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH + 1, 0, 0 },
46 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH - 1, 0, 0 },
51 .handles = { 1, 0, 0 }, .pitches = { 4 * (MAX_WIDTH + 1), 0, 0 },
56 .handles = { 0, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
61 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
66 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
71 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
76 .handles = { 1, 0, 0 }, .offsets = { UINT_MAX - 1, 0, 0 },
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/rmgr/src/
H A Drmgr_vbuf.c143 pool->handles = kvmalloc(bytes_needed, GFP_KERNEL); in ia_css_rmgr_init_vbuf()
144 if (pool->handles) in ia_css_rmgr_init_vbuf()
145 memset(pool->handles, 0, bytes_needed); in ia_css_rmgr_init_vbuf()
151 pool->handles = NULL; in ia_css_rmgr_init_vbuf()
170 if (pool->handles) { in ia_css_rmgr_uninit_vbuf()
173 if (pool->handles[i]) { in ia_css_rmgr_uninit_vbuf()
176 pool->handles[i]->vptr, in ia_css_rmgr_uninit_vbuf()
177 pool->handles[i]->count); in ia_css_rmgr_uninit_vbuf()
179 hmm_free(pool->handles[i]->vptr); in ia_css_rmgr_uninit_vbuf()
181 ia_css_rmgr_refcount_release_vbuf(&pool->handles[i]); in ia_css_rmgr_uninit_vbuf()
[all …]
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dmemory_mgr.c25 buf = idr_find(&mmg->handles, lower_32_bits(handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_get()
67 idr_remove(&buf->mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_release()
86 idr_remove(&buf->mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_remove_idr_locked()
118 buf = idr_find(&mmg->handles, lower_32_bits(handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_put_handle()
160 rc = idr_alloc(&mmg->handles, buf, 1, 0, GFP_ATOMIC); in hl_mmap_mem_buf_alloc()
185 idr_remove(&mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_alloc()
318 idr_init(&mmg->handles);
335 idp = &mmg->handles;
355 if (!idr_is_empty(&mmg->handles))
358 idr_destroy(&mmg->handles);
H A Dcontext.c21 idr_remove(&mgr->handles, handle->id); in encaps_handle_do_release()
57 idr_init(&mgr->handles); in hl_encaps_sig_mgr_init()
66 idp = &mgr->handles; in hl_encaps_sig_mgr_fini()
78 idr_destroy(&mgr->handles); in hl_encaps_sig_mgr_fini()
164 rc = idr_alloc(&ctx_mgr->handles, ctx, 1, 0, GFP_KERNEL); in hl_ctx_create()
191 idr_remove(&ctx_mgr->handles, ctx->handle); in hl_ctx_create()
420 idr_init(&ctx_mgr->handles); in hl_ctx_mgr_init()
438 idp = &ctx_mgr->handles; in hl_ctx_mgr_fini()
443 idr_destroy(&ctx_mgr->handles); in hl_ctx_mgr_fini()
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_hii.c159 efi_hii_handle_t handle1 = NULL, handle2 = NULL, *handles; in test_hii_database_list_package_lists() local
184 handles = NULL; in test_hii_database_list_package_lists()
188 &handles_size, handles); in test_hii_database_list_package_lists()
195 (void **)&handles); in test_hii_database_list_package_lists()
202 &handles_size, handles); in test_hii_database_list_package_lists()
208 ret = boottime->free_pool(handles); in test_hii_database_list_package_lists()
215 handles = NULL; in test_hii_database_list_package_lists()
219 &handles_size, handles); in test_hii_database_list_package_lists()
227 (void **)&handles); in test_hii_database_list_package_lists()
235 &handles_size, handles); in test_hii_database_list_package_lists()
[all …]
H A Defi_selftest_block_device.c300 efi_handle_t *handles; in execute() local
323 &no_handles, &handles); in execute()
330 ret = boottime->open_protocol(handles[i], &guid_device_path, in execute()
342 handle_partition = handles[i]; in execute()
345 ret = boottime->free_pool(handles); in execute()
H A Defi_selftest_devicepath.c278 efi_handle_t *handles; in execute() local
284 NULL, &no_handles, &handles); in execute()
292 ret = boottime->open_protocol(handles[i], &guid_device_path, in execute()
316 ret = boottime->free_pool(handles); in execute()
/openbmc/linux/drivers/gpu/drm/lima/
H A Dlima_ctx.c26 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()
/openbmc/u-boot/cmd/
H A Defidebug.c66 efi_handle_t *handles; in do_efi_show_devices() local
72 &num, &handles)); in do_efi_show_devices()
82 if (!efi_get_device_handle_info(handles[i], &dev_path_text)) { in do_efi_show_devices()
83 printf("%p %ls\n", handles[i], dev_path_text); in do_efi_show_devices()
88 EFI_CALL(BS->free_pool(handles)); in do_efi_show_devices()
145 efi_handle_t *handles; in do_efi_show_drivers() local
152 NULL, &num, &handles)); in do_efi_show_drivers()
164 if (!efi_get_driver_handle_info(handles[i], &driver_name, in do_efi_show_drivers()
167 printf("%p %-20ls %ls\n", handles[i], in do_efi_show_drivers()
171 handles[i], driver_name); in do_efi_show_drivers()
[all …]
/openbmc/linux/drivers/gpu/drm/armada/
H A Darmada_fb.c101 (mode->handles[0] != mode->handles[1] || in armada_fb_create()
102 mode->handles[0] != mode->handles[2])) { in armada_fb_create()
107 obj = armada_gem_object_lookup(dfile, mode->handles[0]); in armada_fb_create()
/openbmc/linux/drivers/xen/xenbus/
H A Dxenbus_client.c68 grant_handle_t handles[XENBUS_MAX_RING_GRANTS]; member
548 grant_handle_t *handles, in __xenbus_map_ring() argument
561 handles[i] = INVALID_GRANT_HANDLE; in __xenbus_map_ring()
573 handles[i] = info->map[i].handle; in __xenbus_map_ring()
580 if (handles[i] != INVALID_GRANT_HANDLE) { in __xenbus_map_ring()
583 GNTMAP_host_map, handles[i]); in __xenbus_map_ring()
612 static int xenbus_unmap_ring(struct xenbus_device *dev, grant_handle_t *handles, in xenbus_unmap_ring() argument
624 GNTMAP_host_map, handles[i]); in xenbus_unmap_ring()
633 handles[i], unmap[i].status); in xenbus_unmap_ring()
676 err = __xenbus_map_ring(dev, gnt_ref, nr_grefs, node->handles, in xenbus_map_ring_hvm()
[all …]
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dplatform_oem_ibm.cpp22 const std::vector<uint16_t>& handles, in sendBiosAttributeUpdateEvent() argument
68 1 + (handles.size() * sizeof(uint16_t)), in sendBiosAttributeUpdateEvent()
75 handles.size(), reinterpret_cast<const uint8_t*>(handles.data()), in sendBiosAttributeUpdateEvent()
/openbmc/linux/drivers/infiniband/core/
H A Duverbs_std_types_device.c73 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 …]
/openbmc/openbmc/poky/meta/recipes-extended/quota/quota/
H A D0001-Fix-building-on-musl.patch70 @@ -176,7 +177,7 @@ static void copy_prototype(int argc, char **argv, struct quota_handle **handles)
71 protoprivs = getprivs(protoid, handles, 0);
74 - curprivs = getprivs(id, handles, !dirname);
75 + curprivs = getprivs(id, handles, !dir_name);
83 - handles = create_handle_list(dirname ? 1 : 0, dirname ? &dirname : NULL, quotatype, fmt,
84 + handles = create_handle_list(dir_name ? 1 : 0, dir_name ? &dir_name : NULL, quotatype, fmt,
87 if (!handles[0]) {
92 - curprivs = getprivs(id, handles, !dirname);
93 + curprivs = getprivs(id, handles, !dir_name);
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_framebuffer.c137 r.handles[0] = or->handle; in drm_mode_addfb()
209 if (!r->handles[i]) { in framebuffer_check()
267 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 …]
H A Ddrm_syncobj.c1245 uint32_t i, *handles; in drm_syncobj_array_find() local
1249 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); in drm_syncobj_array_find()
1250 if (handles == NULL) in drm_syncobj_array_find()
1253 if (copy_from_user(handles, user_handles, in drm_syncobj_array_find()
1266 syncobjs[i] = drm_syncobj_find(file_private, handles[i]); in drm_syncobj_array_find()
1273 kfree(handles); in drm_syncobj_array_find()
1282 kfree(handles); in drm_syncobj_array_find()
1316 u64_to_user_ptr(args->handles), in drm_syncobj_wait_ioctl()
1350 u64_to_user_ptr(args->handles), in drm_syncobj_timeline_wait_ioctl()
1486 u64_to_user_ptr(args->handles), in drm_syncobj_reset_ioctl()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/busybox/busybox/
H A D0001-testsuite-use-www.example.org-for-wget-test-cases.patch14 testsuite/wget/wget-handles-empty-path | 2 +-
30 diff --git a/testsuite/wget/wget-handles-empty-path b/testsuite/wget/wget-handles-empty-path
32 --- a/testsuite/wget/wget-handles-empty-path
33 +++ b/testsuite/wget/wget-handles-empty-path
/openbmc/openbmc/meta-security/recipes-scanners/arpwatch/files/
H A Dhost_contam_fix.patch20 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that $CC handles ansi prototypes" >&5
21 $as_echo_n "checking that $CC handles ansi prototypes... " >&6; }
/openbmc/openbmc/poky/meta-poky/conf/templates/default/
H A Dconf-notes.txt18 - 'bitbake-layers' handles common layer tasks
19 - 'oe-pkgdata-util' handles common target package tasks
/openbmc/linux/Documentation/dev-tools/
H A Dkcov.rst236 ``KCOV_REMOTE_ENABLE`` ioctl accept handles that identify particular coverage
254 this handle to ``KCOV_REMOTE_ENABLE`` in the ``handles`` array field of the
256 section referenced by this handle. Multiple global handles identifying
266 KCOV follows a predefined format for both global and common handles. Each
270 For global handles, the top byte of the handle denotes the id of a subsystem
276 For common handles, a reserved value ``0`` is used as a subsystem id, as such
277 handles don't belong to a particular subsystem. The lower 4 bytes of a common
283 common handles are used by multiple processes, unique instance ids must be
288 local tasks spawned by the process and the global task that handles USB bus #1:
299 __aligned_u64 handles[0];
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_uvd.c222 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_init()
259 uint32_t handle = atomic_read(&rdev->uvd.handles[i]); in radeon_uvd_suspend()
276 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_suspend()
334 uint32_t handle = atomic_read(&rdev->uvd.handles[i]); in radeon_uvd_free_handles()
351 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_free_handles()
509 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) { in radeon_uvd_cs_msg()
514 if (!atomic_cmpxchg(&p->rdev->uvd.handles[i], 0, handle)) { in radeon_uvd_cs_msg()
535 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) { in radeon_uvd_cs_msg()
550 atomic_cmpxchg(&p->rdev->uvd.handles[i], handle, 0); in radeon_uvd_cs_msg()
850 if (!atomic_read(&rdev->uvd.handles[i])) in radeon_uvd_count_handles()
H A Dradeon_vce.c166 atomic_set(&rdev->vce.handles[i], 0); in radeon_vce_init()
204 if (atomic_read(&rdev->vce.handles[i])) in radeon_vce_suspend()
319 uint32_t handle = atomic_read(&rdev->vce.handles[i]); in radeon_vce_free_handles()
331 atomic_set(&rdev->vce.handles[i], 0); in radeon_vce_free_handles()
527 if (atomic_read(&p->rdev->vce.handles[i]) == handle) { in radeon_vce_validate_handle()
538 if (!atomic_cmpxchg(&p->rdev->vce.handles[i], 0, handle)) { in radeon_vce_validate_handle()
679 atomic_cmpxchg(&p->rdev->vce.handles[i], handle, 0); in radeon_vce_cs_parse()
/openbmc/libpldm/tests/dsp/
H A Dbios_table.cpp587 uint8_t handles[] = {0, 1}; in TEST() local
589 encodeEntry.data(), encodeEntry.size(), 0, 0, 2, handles), in TEST()
594 encodeEntry.data(), encodeEntry.size() - 1, 0, 0, 2, handles), in TEST()
599 handles); in TEST()
608 PLDM_BIOS_ENUMERATION_READ_ONLY, 2, handles); in TEST()
613 handles); in TEST()
617 handles); in TEST()
637 std::vector<uint8_t> handles(2, 0); in TEST() local
639 entry, handles.data(), handles.size()); in TEST()
641 EXPECT_EQ(handles[0], 0); in TEST()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/display/ti/
H A Dti,omap5-dss.txt51 - clocks: handles to fclk and iclk
69 - clocks: handles to fclk and pll clock
92 - clocks: handles to fclk and pll clock
/openbmc/linux/Documentation/admin-guide/sysctl/
H A Dfs.rst78 handles that the Linux kernel will allocate. When you get lots
79 of error messages about running out of file handles, you might
82 Historically,the kernel was able to allocate file handles
84 ``file-nr`` denote the number of allocated file handles, the number
85 of allocated but unused file handles, and the maximum number of
86 file handles. Linux 2.6 and later always reports 0 as the number of free
87 file handles -- this is not an error, it just means that the
88 number of allocated file handles exactly matches the number of
89 used file handles.
102 As with file handles, the kernel allocates the inode structures
[all …]

12345678910>>...19