Searched refs:handles (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-13-stable/stand/efi/boot1/
H A Dproto.h28 void choice_protocol(EFI_HANDLE *handles, UINTN nhandles, EFI_DEVICE_PATH *imgpath);
H A Dboot1.c155 EFI_HANDLE *handles; local
209 /* Fetch all the block I/O handles, we have to search through them later */
213 handles = malloc(hsize);
214 if (handles == NULL)
215 efi_panic(EFI_OUT_OF_RESOURCES, "Failed to allocate %d handles\n",
218 NULL, &hsize, handles);
220 efi_panic(status, "Failed to get device handles\n");
221 nhandles = hsize / sizeof(*handles);
249 choice_protocol(handles, nhandles, imgpath);
H A Dproto.c157 choice_protocol(EFI_HANDLE *handles, UINTN nhandles, EFI_DEVICE_PATH *imgpath) argument
199 rv = probe_handle(handles[i], imgpath);
/freebsd-13-stable/stand/efi/libefi/
H A Defi_driver_utils.c42 EFI_HANDLE *handles; local
54 handles = malloc(hsize);
55 if (handles == NULL)
60 &hsize, handles);
67 BS->ConnectController(handles[i], NULL, NULL, true);
70 free(handles);
H A Definet.c363 EFI_HANDLE *handles, *handles2; local
370 handles = NULL;
373 handles = (EFI_HANDLE *)malloc(sz);
374 if (handles == NULL)
377 handles);
379 free(handles);
385 free(handles);
390 devpath = efi_lookup_devpath(handles[i]);
400 handles2[nifs] = handles[i];
403 free(handles);
[all...]
H A Dhandles.c45 efi_register_handles(struct devsw *sw, EFI_HANDLE *handles, argument
58 entry[idx].handle = handles[unit];
H A DMakefile21 handles.c \
/freebsd-13-stable/stand/efi/loader/
H A Defiserialio.c56 int ioaddr; /* index in handles array */
91 EFI_HANDLE *handles; local
97 handles = NULL;
98 status = BS->LocateHandle(ByProtocol, &serial, NULL, &bufsz, handles);
102 if ((handles = malloc(bufsz)) == NULL)
109 status = BS->LocateHandle(ByProtocol, &serial, NULL, &bufsz, handles);
111 free(handles);
114 *handlep = handles;
149 * The order of handles from LocateHandle() is not known, we need to
150 * iterate handles, pic
157 EFI_HANDLE *handles, handle; local
[all...]
/freebsd-13-stable/contrib/wpa/src/utils/
H A Deloop_win.c68 HANDLE *handles; member in struct:eloop_data
80 eloop.handles = os_malloc(eloop.num_handles *
81 sizeof(eloop.handles[0]));
82 if (eloop.handles == NULL)
89 os_free(eloop.handles);
103 n = os_realloc_array(eloop.handles, eloop.num_handles * 2,
104 sizeof(eloop.handles[0]));
107 eloop.handles = n;
554 eloop.handles[count++] = eloop.events[i].event;
557 eloop.handles[coun
[all...]
/freebsd-13-stable/contrib/subversion/subversion/svnserve/
H A Dwinservice.c90 an atexit handler, which handles cleaning up some of the service logic,
327 HANDLE handles[2];
365 handles[0] = winservice_start_event;
366 handles[1] = winservice_dispatcher_thread;
367 wait_status = WaitForMultipleObjects(2, handles, FALSE, INFINITE);
409 /* This should never happen! This indicates that our handles are
437 service has stopped. This function also handles cleaning up the
326 HANDLE handles[2]; local
/freebsd-13-stable/sys/fs/fuse/
H A Dfuse_file.c225 LIST_FOREACH(fufh, &fvdat->handles, next) {
237 LIST_FOREACH(fufh, &fvdat->handles, next) {
261 LIST_FOREACH(fufh, &fvdat->handles, next) {
271 LIST_FOREACH(fufh, &fvdat->handles, next) {
296 LIST_FOREACH(fufh, &fvdat->handles, next) {
305 fufh = LIST_FIRST(&fvdat->handles);
348 LIST_INSERT_HEAD(&fvdat->handles, fufh, next);
H A Dfuse_node.h104 /* List of file handles for all of the vnode's open file descriptors */
105 LIST_HEAD(, fuse_filehandle) handles; member in struct:fuse_vnode_data
/freebsd-13-stable/crypto/heimdal/appl/gssmask/
H A Dgssmask.c55 struct handle *handles; member in struct:client
113 h->next = c->handles;
114 c->handles = h;
286 struct handle *h = c->handles;
326 ctx = find_handle(c->handles, hContext, handle_context);
329 creds = find_handle(c->handles, hCred, handle_cred);
382 del_handle(&c->handles, hContext);
436 ctx = find_handle(c->handles, hContext, handle_context);
462 del_handle(&c->handles, hContext);
510 del_handle(&c->handles, handl
[all...]
/freebsd-13-stable/contrib/wpa/src/l2_packet/
H A Dl2_packet_ndis.c162 HANDLE handles[2]; local
189 handles[0] = l2_ndisuio_global->stop_request;
190 handles[1] = l2_ndisuio_global->rx_processed;
191 WaitForMultipleObjects(2, handles, FALSE, INFINITE);
200 HANDLE handles[2]; local
204 handles[0] = l2_ndisuio_global->stop_request;
205 handles[1] = l2_ndisuio_global->ready_for_read;
225 res = WaitForMultipleObjects(2, handles, FALSE, INFINITE);
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_mount.c1230 * Given a mountpoint specified by idx in the handles array, find the first
1236 non_descendant_idx(zfs_handle_t **handles, size_t num_handles, int idx) argument
1242 verify(zfs_prop_get(handles[idx], ZFS_PROP_MOUNTPOINT, parent,
1246 verify(zfs_prop_get(handles[i], ZFS_PROP_MOUNTPOINT, child,
1269 zfs_dispatch_mount(libzfs_handle_t *hdl, zfs_handle_t **handles, argument
1276 mnt_param->mnt_zhps = handles;
1343 zfs_handle_t **handles = mp->mnt_zhps; local
1347 verify(zfs_prop_get(handles[idx], ZFS_PROP_MOUNTPOINT, mountpoint,
1350 if (mp->mnt_func(handles[idx], mp->mnt_data) != 0)
1362 i = non_descendant_idx(handles, num_handle
1395 zfs_foreach_mountpoint(libzfs_handle_t *hdl, zfs_handle_t **handles, size_t num_handles, zfs_iter_f func, void *data, boolean_t parallel) argument
[all...]
/freebsd-13-stable/stand/efi/gptboot/
H A Dproto.c203 probe_handles(EFI_HANDLE *handles, UINTN nhandles, EFI_DEVICE_PATH *imgpath) argument
208 probe_handle(handles[i], imgpath);
225 choice_protocol(EFI_HANDLE *handles, UINTN nhandles, EFI_DEVICE_PATH *imgpath) argument
235 * Probe the provided handles to find the partitions that
238 probe_handles(handles, nhandles, imgpath);
/freebsd-13-stable/crypto/openssh/
H A Dsftp-server.c269 /* handle handles */
288 Handle *handles = NULL; variable
294 handles[i].use = HANDLE_UNUSED;
295 handles[i].next_unused = first_unused_handle;
308 handles = xreallocarray(handles, num_handles, sizeof(Handle));
313 first_unused_handle = handles[i].next_unused;
315 handles[i].use = use;
316 handles[i].dirp = dirp;
317 handles[
[all...]
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/
H A Dsysinfo.c1083 /* Get a list of handles of shared libs loaded by the current
1091 HMODULE *handles;
1116 handles = apr_palloc(pool, size + sizeof *handles);
1117 if (! EnumProcessModules_(current, handles, size, &size))
1119 handles[size / sizeof *handles] = NULL;
1120 return handles;
1169 HMODULE *handles = enum_loaded_modules(pool);
1172 for (module = handles; modul
1087 HMODULE *handles; local
1165 HMODULE *handles = enum_loaded_modules(pool); local
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Derr.copyoutbadaddr.ksh38 * Verify that copyout() handles bad addresses.
H A Derr.copyoutstrbadaddr.ksh37 * Verify that copyout() handles bad addresses.
/freebsd-13-stable/contrib/bmake/unit-tests/
H A Dvarname-dot-parsedir.mk14 # function PrintLocation, that explicitly handles this situation.
H A Dvarname-dot-parsefile.mk12 # function PrintLocation, that explicitly handles this situation.
/freebsd-13-stable/share/mk/
H A Dbsd.nls.mk3 # This include file <bsd.nls.mk> handles building and installing Native
/freebsd-13-stable/stand/efi/include/
H A Defilib.h102 EFI_HANDLE efi_devpath_to_handle(EFI_DEVICE_PATH *path, EFI_HANDLE *handles, unsigned nhandles);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Host/common/
H A DTCPSocket.cpp265 std::vector<MainLoopBase::ReadHandleUP> handles; local
270 handles.emplace_back(accept_loop.RegisterReadObject(

Completed in 228 milliseconds

12