Home
last modified time | relevance | path

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

1234

/dragonfly/contrib/wpa_supplicant/src/utils/
H A Deloop_win.c68 HANDLE *handles; member
80 eloop.handles = os_malloc(eloop.num_handles * in eloop_init()
81 sizeof(eloop.handles[0])); in eloop_init()
82 if (eloop.handles == NULL) in eloop_init()
89 os_free(eloop.handles); in eloop_init()
104 sizeof(eloop.handles[0])); in eloop_prepare_handles()
107 eloop.handles = n; in eloop_prepare_handles()
560 eloop.handles[count++] = eloop.term_event; in eloop_run()
621 eloop.handles, FALSE, 0); in eloop_run()
662 os_free(eloop.handles); in eloop_destroy()
[all …]
/dragonfly/stand/boot/efi/libefi/
H A Definet.c267 EFI_HANDLE *handles; in efinet_dev_init() local
273 handles = NULL; in efinet_dev_init()
276 handles = (EFI_HANDLE *)malloc(sz); in efinet_dev_init()
278 handles); in efinet_dev_init()
280 free(handles); in efinet_dev_init()
285 err = efi_register_handles(&efinet_dev, handles, NULL, nifs); in efinet_dev_init()
286 free(handles); in efinet_dev_init()
H A Dhandles.c45 efi_register_handles(struct devsw *sw, EFI_HANDLE *handles, in efi_register_handles() argument
56 entry[idx].handle = handles[unit]; in efi_register_handles()
H A DMakefile7 SRCS= delay.c efi_console.c efinet.c efipart.c errno.c handles.c \
/dragonfly/sys/dev/drm/
H A Ddrm_syncobj.c863 uint32_t i, *handles; in drm_syncobj_array_find() local
867 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); in drm_syncobj_array_find()
868 if (handles == NULL) in drm_syncobj_array_find()
871 if (copy_from_user(handles, user_handles, in drm_syncobj_array_find()
884 syncobjs[i] = drm_syncobj_find(file_private, handles[i]); in drm_syncobj_array_find()
891 kfree(handles); in drm_syncobj_array_find()
900 kfree(handles); in drm_syncobj_array_find()
934 u64_to_user_ptr(args->handles), in drm_syncobj_wait_ioctl()
969 u64_to_user_ptr(args->handles), in drm_syncobj_reset_ioctl()
1002 u64_to_user_ptr(args->handles), in drm_syncobj_signal_ioctl()
H A Ddrm_prime.c121 p = &prime_fpriv->handles.rb_node; in drm_prime_add_buf_handle()
133 rb_insert_color(&member->handle_rb, &prime_fpriv->handles); in drm_prime_add_buf_handle()
143 rb = prime_fpriv->handles.rb_node; in drm_prime_lookup_buf_by_handle()
242 rb_erase(&member->handle_rb, &prime_fpriv->handles); in drm_prime_remove_buf_handle_locked()
894 prime_fpriv->handles = LINUX_RB_ROOT; in drm_prime_init_file_private()
H A Ddrm_framebuffer.c119 r.handles[0] = or->handle; in drm_mode_addfb()
186 if (!r->handles[i]) { in framebuffer_check()
244 if (r->handles[i]) { in framebuffer_check()
H A Ddrm_gem_framebuffer_helper.c165 objs[i] = drm_gem_object_lookup(file, mode_cmd->handles[i]); in drm_gem_fb_create_with_funcs()
/dragonfly/crypto/openssh/
H A Dsftp-server.c326 static Handle *handles = NULL; variable
346 handles = xreallocarray(handles, num_handles, sizeof(Handle)); in handle_new()
353 handles[i].use = use; in handle_new()
354 handles[i].dirp = dirp; in handle_new()
355 handles[i].fd = fd; in handle_new()
356 handles[i].flags = flags; in handle_new()
358 handles[i].bytes_read = handles[i].bytes_write = 0; in handle_new()
399 return handles[handle].name; in handle_to_name()
415 return handles[handle].fd; in handle_to_fd()
464 free(handles[handle].name); in handle_close()
[all …]
H A DPROTOCOL534 uint64 max-open-handles
547 The 'max-open-handles' is the maximum number of active handles that the
548 server allows (e.g. handles created by SSH_FXP_OPEN and SSH_FXP_OPENDIR
549 packets). Servers MAY count internal file handles against this limit
551 open this many handles in practice.
555 (e.g. available memory or file handles), and such limits might be
/dragonfly/stand/boot/efi/boot1/
H A Dboot1.c595 EFI_HANDLE *handles; in efi_main() local
655 if ((status = BS->AllocatePool(EfiLoaderData, hsize, (void **)&handles)) in efi_main()
661 &hsize, handles); in efi_main()
666 (void)BS->FreePool(handles); in efi_main()
668 (void **)&handles)) != EFI_SUCCESS) { in efi_main()
670 sizeof(*handles), status); in efi_main()
673 NULL, &hsize, handles); in efi_main()
684 nhandles = hsize / sizeof(*handles); in efi_main()
703 probe_handle_status(handles[i], imgpath); in efi_main()
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_uvd.c220 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()
H A Dradeon_vce.c167 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()
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_vce.c190 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()
679 if (atomic_read(&p->adev->vce.handles[i]) == handle) { in amdgpu_vce_validate_handle()
690 if (!atomic_cmpxchg(&p->adev->vce.handles[i], 0, handle)) { in amdgpu_vce_validate_handle()
933 atomic_set(&p->adev->vce.handles[i], 0); in amdgpu_vce_ring_parse_cs()
1023 atomic_set(&p->adev->vce.handles[i], 0); in amdgpu_vce_ring_parse_cs_vm()
H A Damdgpu_uvd.c268 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()
745 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg()
751 if (!atomic_cmpxchg(&adev->uvd.handles[i], 0, handle)) { in amdgpu_uvd_cs_msg()
769 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg()
784 atomic_cmpxchg(&adev->uvd.handles[i], handle, 0); in amdgpu_uvd_cs_msg()
1295 if (atomic_read(&adev->uvd.handles[i])) in amdgpu_uvd_used_handles()
H A Damdgpu_uvd.h64 atomic_t handles[AMDGPU_MAX_UVD_HANDLES]; member
H A Damdgpu_vce.h42 atomic_t handles[AMDGPU_MAX_VCE_HANDLES]; member
/dragonfly/contrib/file/
H A DMAINT32 (handles statbuf modes for DEV)
33 (handles statbuf modes for executable &c.
/dragonfly/contrib/ncurses/ncurses/base/
H A Dlib_mouse.c126 #define pipe(handles) socketpair(AF_LOCAL, SOCK_STREAM, 0, handles) argument
610 int handles[2]; in initialize_mousetype() local
612 if (pipe(handles) < 0) { in initialize_mousetype()
632 sp->_emxmouse_wfd = handles[1]; in initialize_mousetype()
633 M_FD(sp) = handles[0]; in initialize_mousetype()
635 setmode(handles[0], O_BINARY); in initialize_mousetype()
636 setmode(handles[1], O_BINARY); in initialize_mousetype()
/dragonfly/sys/dev/drm/include/drm/
H A Ddrm_prime.h50 struct rb_root handles; member
/dragonfly/contrib/smbfs/
H A DHISTORY76 to implement 'smbiod' process which handles network traffic for each VC.
119 - Device handles wasn't freed under FreeBSD 3.4 - fixed.
/dragonfly/sys/dev/drm/include/uapi/drm/
H A Ddrm.h749 __u64 handles; member
759 __u64 handles; member
/dragonfly/usr.bin/kdump/
H A Dmksubr223 * simply handles the necessary "if" statement used in many lines
/dragonfly/etc/pam.d/
H A DREADME32 control-flag: How libpam handles success or failure of the module.
/dragonfly/contrib/gcc-4.7/gcc/doc/include/
H A Dgcc-common.texi24 @c Makeinfo handles the above macro OK, TeX needs manual line breaks;

1234