Searched refs:handle (Results 101 - 125 of 283) sorted by relevance

1234567891011>>

/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/rand/
H A Drand_win.c322 * the open handle
400 /* window handle */
452 HANDLE handle; local
486 module_next && (handle = snap(TH32CS_SNAPALL,0))
501 if (heaplist_first(handle, &hlist))
539 } while (heaplist_next(handle, &hlist)
545 if (heaplist_first(handle, &hlist))
562 } while (heaplist_next(handle, &hlist)
575 if (process_first(handle, &p))
578 while (process_next(handle,
[all...]
/barrelfish-2018-10-04/lib/vfs/
H A Dvfs_fat.c619 // TODO: handle error
642 openhandle(struct fat_mount *mount, const char *path, struct fat_handle_common *handle) argument
647 err = find_path(mount, path, handle->dirent_data);
652 fat_direntry_initialize(&handle->dirent, (char*)handle->dirent_data);
655 /*DUMP_DEV(fat_direntry, &handle->dirent, 4096);*/
666 struct fat_handle *handle = NULL; local
669 handle = calloc(1, sizeof(*handle));
670 if (!handle) {
696 create(void *st, const char *path, vfs_handle_t *handle) argument
714 struct fat_handle *handle = fhandle; local
802 write(void *st, vfs_handle_t handle, const void *buffer, size_t bytes, size_t *bytes_written) argument
810 fat_truncate(void *st, vfs_handle_t handle, size_t bytes) argument
821 struct fat_handle *handle = fhandle; local
850 struct fat_handle *handle = fhandle; local
857 stat(void *st, vfs_handle_t handle, struct vfs_fileinfo *info) argument
879 struct fat_handle *handle = fhandle; local
950 struct fat_dirhandle *handle = dhandle; local
1019 struct fat_dirhandle *handle = dhandle; local
[all...]
H A Dcache.c459 static errval_t read(void *st, vfs_handle_t handle, void *buffer, size_t bytes, argument
481 err = bst->orig_ops->get_bcache_key(bst->orig_st, handle, &key,
496 err = bst->orig_ops->read_block(bst->orig_st, handle, blockptr,
525 errval_t r = bst->orig_ops->seek(bst->orig_st, handle, VFS_SEEK_CUR,
548 static errval_t write(void *st, vfs_handle_t handle, const void *buffer, argument
558 err = bst->orig_ops->tell(bst->orig_st, handle, &origpos);
572 err = bst->orig_ops->get_bcache_key(bst->orig_st, handle, &key,
589 err = bst->orig_ops->read_block(bst->orig_st, handle, blockptr,
607 err = bst->orig_ops->seek(bst->orig_st, handle, VFS_SEEK_CUR,
616 err = bst->orig_ops->seek(bst->orig_st, handle, VFS_SEEK_SE
647 truncate(void *st, vfs_handle_t handle, size_t bytes) argument
666 tell(void *st, vfs_handle_t handle, size_t *pos) argument
686 seek(void *st, vfs_handle_t handle, enum vfs_seekpos whence, off_t offset) argument
[all...]
/barrelfish-2018-10-04/lib/barrelfish/arch/x86_64/
H A Dldt.c473 void disp_pagefault(dispatcher_handle_t handle, lvaddr_t fault_address,
493 dispatcher_handle_t handle = disp_disable(); local
495 arch_registers_state_t *regs = dispatcher_get_enabled_save_area(handle);
504 disp_pagefault(handle, fault_address, error, regs->rip);
570 void ldt_init_disabled(dispatcher_handle_t handle) argument
575 get_dispatcher_shared_x86_64(handle);
576 struct dispatcher_x86_64 *disp_priv = get_dispatcher_x86_64(handle);
583 gdt_reset(get_dispatcher_generic(handle));
596 disp_priv->dummyseg[1] = handle;
597 err = ldt_alloc_segment_disabled(handle, disp_pri
622 ldt_alloc_segment_disabled(dispatcher_handle_t handle, void *segbase, uint16_t *ret_selector) argument
667 dispatcher_handle_t handle = disp_disable(); local
679 ldt_free_segment_ondisp(dispatcher_handle_t handle, uint16_t selector) argument
705 dispatcher_handle_t handle = disp_disable(); local
[all...]
/barrelfish-2018-10-04/lib/libc/net/
H A Dnsdispatch.c122 /* Placeholder for builtin modules' dlopen `handle'. */
340 void *handle; local
383 handle = libc_dlopen(NULL, RTLD_LAZY | RTLD_GLOBAL);
384 if (handle != NULL) {
385 nss_cache_cycle_prevention_func = dlsym(handle,
387 dlclose(handle);
482 /* The placeholder is required, as a NULL handle
485 mod.handle = nss_builtin_handle;
493 mod.handle = libc_dlopen(buf, RTLD_LOCAL|RTLD_LAZY);
494 if (mod.handle
[all...]
/barrelfish-2018-10-04/lib/libc/iconv/
H A Dcitrus_stdenc.c56 _citrus_module_t handle; local
74 ret = _citrus_load_module(&handle, encname);
78 ce->ce_module = handle;
/barrelfish-2018-10-04/lib/barrelfish/
H A Dlmp_chan.c143 dispatcher_handle_t handle = disp_disable(); local
144 struct dispatcher_generic *disp = get_dispatcher_generic(handle);
153 disp_enable(handle);
298 dispatcher_handle_t handle = disp_disable(); local
299 struct dispatcher_generic *dp = get_dispatcher_generic(handle);
309 disp_enable(handle);
329 dispatcher_handle_t handle = disp_disable(); local
330 struct dispatcher_generic *dp = get_dispatcher_generic(handle);
345 disp_enable(handle);
391 void lmp_channels_retry_send_disabled(dispatcher_handle_t handle) argument
[all...]
H A Dinit.c143 dispatcher_handle_t handle = curdispatcher();
144 struct dispatcher_generic *disp = get_dispatcher_generic(handle);
392 void barrelfish_init_disabled(dispatcher_handle_t handle, bool init_dom_arg);
393 void barrelfish_init_disabled(dispatcher_handle_t handle, bool init_dom_arg) argument
396 disp_init_disabled(handle);
397 thread_init_disabled(handle, init_dom_arg);
H A Ddeferred.c147 dispatcher_handle_t handle = disp_disable(); local
148 errval_t err = waitset_chan_deregister_disabled(&event->waitset_state, handle);
151 struct dispatcher_generic *disp = get_dispatcher_generic(handle);
160 update_wakeup_disabled(handle);
163 disp_enable(handle);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/store/
H A Dstore.h234 /* The following functions handle the storage. They return 0, a negative number
249 X509 *STORE_list_certificate_next(STORE *e, void *handle);
250 int STORE_list_certificate_end(STORE *e, void *handle);
251 int STORE_list_certificate_endp(STORE *e, void *handle);
267 EVP_PKEY *STORE_list_private_key_next(STORE *e, void *handle);
268 int STORE_list_private_key_end(STORE *e, void *handle);
269 int STORE_list_private_key_endp(STORE *e, void *handle);
283 EVP_PKEY *STORE_list_public_key_next(STORE *e, void *handle);
284 int STORE_list_public_key_end(STORE *e, void *handle);
285 int STORE_list_public_key_endp(STORE *e, void *handle);
[all...]
H A Dstr_lib.c370 void *handle; local
375 handle = s->meth->list_object_start(s,
377 if (!handle)
383 return handle;
386 X509 *STORE_list_certificate_next(STORE *s, void *handle) argument
394 object = s->meth->list_object_next(s, handle);
410 int STORE_list_certificate_end(STORE *s, void *handle) argument
415 if (!s->meth->list_object_end(s, handle))
424 int STORE_list_certificate_endp(STORE *s, void *handle) argument
429 if (!s->meth->list_object_endp(s, handle))
591 void *handle; local
607 STORE_list_private_key_next(STORE *s, void *handle) argument
631 STORE_list_private_key_end(STORE *s, void *handle) argument
645 STORE_list_private_key_endp(STORE *s, void *handle) argument
786 void *handle; local
802 STORE_list_public_key_next(STORE *s, void *handle) argument
826 STORE_list_public_key_end(STORE *s, void *handle) argument
840 STORE_list_public_key_endp(STORE *s, void *handle) argument
980 void *handle; local
996 STORE_list_crl_next(STORE *s, void *handle) argument
1020 STORE_list_crl_end(STORE *s, void *handle) argument
1034 STORE_list_crl_endp(STORE *s, void *handle) argument
1555 STORE_parse_attrs_next(void *handle) argument
1644 STORE_parse_attrs_end(void *handle) argument
1660 STORE_parse_attrs_endp(void *handle) argument
[all...]
/barrelfish-2018-10-04/lib/libc/resolv/
H A Dres_debug.c146 ns_msg *handle, ns_sect section,
168 opcode = (ns_opcode) ns_msg_getflag(*handle, ns_f_opcode);
171 if (ns_parserr(handle, section, rrnum, &rr)) {
240 n = ns_sprintrr(handle, &rr, NULL, NULL,
275 ns_msg handle; local
279 if (ns_initparse(msg, len, &handle) < 0) {
283 opcode = ns_msg_getflag(handle, ns_f_opcode);
284 rcode = ns_msg_getflag(handle, ns_f_rcode);
285 id = ns_msg_id(handle);
286 qdcount = ns_msg_count(handle, ns_s_q
145 do_section(const res_state statp, ns_msg *handle, ns_sect section, int pflag, FILE *file) argument
[all...]
/barrelfish-2018-10-04/include/vfs/
H A Dfdtab.h47 void *handle; member in struct:fdtab_entry
/barrelfish-2018-10-04/lib/posixcompat/
H A Dioctl.c39 struct _pty *state = e->handle;
H A Dtermios.c71 struct _pty *state = e->handle;
112 struct _pty *state = e->handle;
H A Dpty.c73 vfs_handle_t handle; local
114 err = vfs_create(state->ptsname, &handle);
122 e.handle = state;
182 struct _pty *state = e->handle;
192 struct _pty *state = e->handle;
222 struct _pty *state = e->handle;
316 struct _pty *state = e->handle;
381 struct _pty *state = e->handle;
412 es.handle = em_p->handle;
[all...]
/barrelfish-2018-10-04/usr/acpi/
H A Dacpi_shared.h37 ACPI_STATUS acpi_eval_integer(ACPI_HANDLE handle, const char *name,
H A Dacpi.c94 /* TODO: handle non-fixed regions. Does anything other than QEMU do this? */
249 ACPI_STATUS acpi_eval_integer(ACPI_HANDLE handle, const char *name, ACPI_INTEGER *ret) argument
256 as = AcpiEvaluateObjectTyped(handle, (CONST_CAST)name, NULL, &intbufobj, ACPI_TYPE_INTEGER);
286 static ACPI_STATUS reserve_resources(ACPI_HANDLE handle, UINT32 level, argument
292 as = AcpiWalkResources(handle, METHOD_NAME__CRS, fixed_resource_walker, NULL);
303 * \param handle Handle to _PRT method.
306 static void get_irq_routing(ACPI_HANDLE handle, uint8_t bus) argument
315 as = AcpiGetName(handle, ACPI_FULL_PATHNAME, &namebufobj);
324 as = AcpiGetIrqRoutingTable(handle, &bufobj);
347 as = AcpiGetHandle(handle, pr
500 add_pci_lnk_device(ACPI_HANDLE handle, UINT32 level, void *context, void **retval) argument
525 add_pci_device(ACPI_HANDLE handle, UINT32 level, void *context, void **retval) argument
[all...]
/barrelfish-2018-10-04/include/acpi_client/
H A Dacpi_client.h31 errval_t acpi_client_eval_integer(acpi_device_handle_t handle,
/barrelfish-2018-10-04/usr/tests/testdesc/
H A Dtestdesc.h60 // VFS handle to socket file (represented by filename)
77 void *handle; member in struct:fd_store
/barrelfish-2018-10-04/include/vm/
H A Ddefault_pager.c79 default_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot, argument
84 if (handle != NULL)
85 panic("default_pager_alloc: handle specified");
H A Dvm_pager.c107 dead_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot, argument
225 vm_pager_allocate(objtype_t type, void *handle, vm_ooffset_t size, argument
233 ret = (*ops->pgo_alloc) (handle, size, prot, off, cred);
331 * specified handle. If an object with the specified handle is found,
337 vm_pager_object_lookup(struct pagerlst *pg_list, void *handle) argument
342 if (object->handle == handle) {
/barrelfish-2018-10-04/usr/tests/devif/
H A Dbench.c91 vfs_handle_t handle; local
94 err = vfs_open(buffer, &handle);
103 err = vfs_write(handle, buffer, strlen(buffer), &bytes);
108 err = vfs_close(handle);
275 vfs_handle_t handle; local
285 err = vfs_create(fname, &handle);
289 err = vfs_create(fname, &handle);
294 err = vfs_create(fname, &handle);
299 err = vfs_create(fname, &handle);
/barrelfish-2018-10-04/doc/015-disk-driver-arch/
H A Dblockdevfs.tex16 handle. blockdevfs does not enforce any kind of order in this list. Therefore,
28 backend. \lstinline+backend_handle+ points to an internal handle private to the
46 \lstinline+backend_handle+ freely. This handle will be passed as an argument to
52 \item \lstinline+open(void *handle)+ to open an exported file. The backend does not have to check or manipulate any blockdevfs-specific structures. blockdevfs ensures that only one client has a file open concurrently.
53 \item \lstinline+close(void *handle)+ to close a previously opened file. As with open, blockdevfs takes care of manipulating its structures.
54 \item \lstinline+read(void *handle, size_t pos, void *buffer, size_t bytes,+\\
55 \lstinline+ size_t *bytes_read)+ to read from the file corresponding to the handle.
56 \item \lstinline+write(void *handle, size_t pos, void *buffer, size_t bytes,+\\
57 \lstinline+ size_t *bytes_written)+ to write to the file corresponding to the handle.
58 \item \lstinline+flush(void *handle)
[all...]
/barrelfish-2018-10-04/lib/lwip2/src/apps/httpd/
H A Dhttpd.c80 * and can handle up to 16 parameters encoded into the URI. The handler
127 #define HTTP_IS_DATA_VOLATILE(hs) (((hs->file != NULL) && (hs->handle != NULL) && (hs->file == \
128 (const char*)hs->handle->data + hs->handle->len - hs->left)) \
235 struct fs_file *handle; member in struct:http_state
466 if(hs->handle) {
471 ms_needed, hs->handle->len, ((((u32_t)hs->handle->len) * 10) / needed)));
473 fs_close(hs->handle);
474 hs->handle
[all...]

Completed in 294 milliseconds

1234567891011>>