/barrelfish-2018-10-04/lib/vfs/ |
H A D | fopen.c | 103 barrelfish_eof(void *handle) argument 111 err = vfs_stat(handle, &info); 122 barrelfish_read(void *data, long int position, size_t count, void *handle) argument 127 err = vfs_seek(handle, VFS_SEEK_SET, position); 132 err = vfs_read(handle, data, count, &readcount); 141 barrelfish_write(void *data, long int position, size_t count, void *handle) argument 146 err = vfs_seek(handle, VFS_SEEK_SET, position); 151 err = vfs_write(handle, data, count, &writecount); 160 barrelfish_close(void *handle) argument 162 errval_t err = vfs_close(handle); [all...] |
H A D | vfs_blockdevfs_ata.c | 63 errval_t blockdevfs_ata_open(void *handle) argument 67 struct ata_handle *h = handle; 104 errval_t blockdevfs_ata_flush(void *handle) argument 106 struct ata_handle *h = handle; 117 errval_t blockdevfs_ata_close(void *handle) argument 119 struct ata_handle *h = handle; 149 errval_t blockdevfs_ata_read(void *handle, size_t pos, void *buffer, argument 153 struct ata_handle *h = handle; 165 errval_t blockdevfs_ata_write(void *handle, size_t pos, const void *buffer, argument 169 struct ata_handle *h = handle; 227 struct ata_handle *handle = calloc(1, sizeof(struct ata_handle)); local [all...] |
H A D | vfs_ramfs.c | 90 USER_PANIC("vfs_ramfs: handle we just received is invalid?\n"); 139 struct ramfs_handle *handle = malloc(sizeof(struct ramfs_handle)); local 140 assert(handle != NULL); 142 handle->path = strdup(path); 143 assert(handle->path != NULL); 144 handle->fh = fh; 145 handle->pos = 0; 146 handle->isdir = false; 148 *rethandle = handle; 158 struct ramfs_handle *handle; local 229 read(void *st, vfs_handle_t handle, void *buffer, size_t bytes, size_t *bytes_read) argument 266 write(void *st, vfs_handle_t handle, const void *buffer, size_t bytes, size_t *bytes_written) argument 301 read_bulk(void *st, vfs_handle_t handle, void *buffer, size_t bytes, size_t *ret_bytes_read) argument 373 write_bulk(void *st, vfs_handle_t handle, const void *buffer, size_t bytes, size_t *ret_bytes_written) argument 436 ramfs_truncate(void *st, vfs_handle_t handle, size_t bytes) argument 465 tell(void *st, vfs_handle_t handle, size_t *pos) argument 507 seek(void *st, vfs_handle_t handle, enum vfs_seekpos whence, off_t offset) argument 543 struct ramfs_handle *handle = inhandle; local 553 struct ramfs_handle *handle; local 636 struct ramfs_handle *handle = dhandle; local [all...] |
/barrelfish-2018-10-04/lib/lwip2/src/apps/snmp/ |
H A D | snmp_netconn.c | 81 snmp_sendto(void *handle, struct pbuf *p, const ip_addr_t *dst, u16_t port) argument 88 result = netconn_sendto((struct netconn*)handle, &buf, dst, port); 94 snmp_get_local_ip_for_dst(void* handle, const ip_addr_t *dst, ip_addr_t *result) argument 96 struct netconn* conn = (struct netconn*)handle;
|
H A D | snmp_raw.c | 56 snmp_sendto(void *handle, struct pbuf *p, const ip_addr_t *dst, u16_t port) argument 58 return udp_sendto((struct udp_pcb*)handle, p, dst, port); 62 snmp_get_local_ip_for_dst(void* handle, const ip_addr_t *dst, ip_addr_t *result) argument 64 struct udp_pcb* udp_pcb = (struct udp_pcb*)handle;
|
/barrelfish-2018-10-04/lib/spawndomain/ |
H A D | arch.h | 23 dispatcher_handle_t handle,
|
/barrelfish-2018-10-04/include/barrelfish_kpi/ |
H A D | dispatcher_shared.h | 66 get_dispatcher_shared_generic(dispatcher_handle_t handle) argument 68 return (struct dispatcher_shared_generic*)handle; 71 static inline lvaddr_t get_dispatcher_vaddr(dispatcher_handle_t handle) argument 73 return (lvaddr_t)handle;
|
/barrelfish-2018-10-04/lib/barrelfish/ |
H A D | ump_endpoint.c | 64 dispatcher_handle_t handle = disp_try_disable(&wd); local 71 err = waitset_chan_trigger_closure_disabled(ws, &ep->waitset_state, closure, handle); 73 err = waitset_chan_register_polled_disabled(ws, &ep->waitset_state, closure, handle); 76 disp_enable(handle);
|
H A D | domain.c | 69 // XXX: Tell currently active interdisp-threads to handle default waitset 190 dispatcher_handle_t handle = disp_disable(); local 191 struct dispatcher_generic *disp_gen = get_dispatcher_generic(handle); 192 /* assert_disabled(wakeup->disp == handle); */ 194 wakeup->disp = handle; 196 disp_enable(handle); 493 /* XXX: create a thread that will handle the default waitset */ 687 dispatcher_handle_t handle = dispaddr; local 689 get_dispatcher_shared_generic(handle); 690 struct dispatcher_generic *disp_gen = get_dispatcher_generic(handle); 1060 dispatcher_handle_t handle = curdispatcher(); local 1075 dispatcher_handle_t handle = curdispatcher(); local 1094 dispatcher_handle_t handle = curdispatcher(); local 1109 dispatcher_handle_t handle = curdispatcher(); local 1119 dispatcher_handle_t handle = curdispatcher(); local 1129 dispatcher_handle_t handle = curdispatcher(); local 1137 disp_handle_get_core_id(dispatcher_handle_t handle) argument 1145 dispatcher_handle_t handle = curdispatcher(); local 1155 dispatcher_handle_t handle = curdispatcher(); local 1165 dispatcher_handle_t handle = curdispatcher(); local 1181 dispatcher_handle_t handle = curdispatcher(); local 1192 dispatcher_handle_t handle = curdispatcher(); local 1202 dispatcher_handle_t handle = curdispatcher(); local 1212 dispatcher_handle_t handle = curdispatcher(); local 1222 dispatcher_handle_t handle = curdispatcher(); local 1232 dispatcher_handle_t handle = curdispatcher(); local 1242 dispatcher_handle_t handle = curdispatcher(); local 1252 dispatcher_handle_t handle = curdispatcher(); local 1262 dispatcher_handle_t handle = curdispatcher(); local 1272 dispatcher_handle_t handle = curdispatcher(); local 1282 dispatcher_handle_t handle = curdispatcher(); local 1292 dispatcher_handle_t handle = curdispatcher(); local 1302 dispatcher_handle_t handle = curdispatcher(); local 1313 dispatcher_handle_t handle = curdispatcher(); local 1323 dispatcher_handle_t handle = curdispatcher(); local 1333 dispatcher_handle_t handle = curdispatcher(); local 1340 dispatcher_handle_t handle = curdispatcher(); local 1351 dispatcher_handle_t handle = curdispatcher(); local 1362 dispatcher_handle_t handle = curdispatcher(); local 1372 dispatcher_handle_t handle = curdispatcher(); local 1382 dispatcher_handle_t handle = curdispatcher(); local 1392 dispatcher_handle_t handle = curdispatcher(); local 1402 dispatcher_handle_t handle = curdispatcher(); local 1412 dispatcher_handle_t handle = curdispatcher(); local 1422 dispatcher_handle_t handle = curdispatcher(); local [all...] |
H A D | lmp_endpoints.c | 50 dispatcher_handle_t handle = disp_disable(); local 51 struct dispatcher_generic *dg = get_dispatcher_generic(handle); 55 disp_enable(handle); 62 disp_enable(handle); 170 void lmp_endpoints_poll_disabled(dispatcher_handle_t handle) argument 173 get_dispatcher_shared_generic(handle); 174 struct dispatcher_generic *dp = get_dispatcher_generic(handle); 187 ((char *)handle + disp->lmp_hint - offsetof(struct lmp_endpoint, k)); 203 err = waitset_chan_trigger_disabled(&ep->waitset_state, handle); 234 err = waitset_chan_trigger_disabled(&ep->waitset_state, handle); 283 dispatcher_handle_t handle = disp_disable(); local 321 dispatcher_handle_t handle = disp_disable(); local 372 dispatcher_handle_t handle = disp_disable(); local 487 dispatcher_handle_t handle = disp_disable(); local [all...] |
H A D | waitset.c | 228 void poll_channels_disabled(dispatcher_handle_t handle) { argument 229 struct dispatcher_generic *dp = get_dispatcher_generic(handle); 240 errval_t err = waitset_chan_trigger_disabled(chan, handle); 264 dispatcher_handle_t handle) 279 enqueue_polled(&get_dispatcher_generic(handle)->polled_channels, chan); 304 static void wake_up_other_thread(dispatcher_handle_t handle, struct waitset *ws) argument 309 t = thread_unblock_one_disabled(handle, &ws->waiting_threads, NULL); 331 * \param handle Dispatcher's handle 338 dispatcher_handle_t handle, boo 263 reregister_channel(struct waitset *ws, struct waitset_chanstate *chan, dispatcher_handle_t handle) argument 335 get_next_event_disabled(struct waitset *ws, struct waitset_chanstate **retchannel, struct event_closure *retclosure, struct waitset_chanstate *waitfor, struct waitset_chanstate *waitfor2, dispatcher_handle_t handle, bool debug) argument 406 dispatcher_handle_t handle = disp_disable(); local 426 check_for_event_disabled(struct waitset *ws, dispatcher_handle_t handle) argument 443 dispatcher_handle_t handle = disp_disable(); local 475 dispatcher_handle_t handle = disp_disable(); local 509 dispatcher_handle_t handle = disp_disable(); local 545 dispatcher_handle_t handle = disp_disable(); local 655 waitset_chan_register_polled_disabled(struct waitset *ws, struct waitset_chanstate *chan, struct event_closure closure, dispatcher_handle_t handle) argument 697 dispatcher_handle_t handle = disp_disable(); local 720 dispatcher_handle_t handle = disp_disable(); local 734 waitset_chan_deregister_disabled(struct waitset_chanstate *chan, dispatcher_handle_t handle) argument 783 dispatcher_handle_t handle = disp_disable(); local 845 waitset_chan_trigger_disabled(struct waitset_chanstate *chan, dispatcher_handle_t handle) argument 894 dispatcher_handle_t handle = disp_disable(); local 912 waitset_chan_trigger_closure_disabled(struct waitset *ws, struct waitset_chanstate *chan, struct event_closure closure, dispatcher_handle_t handle) argument [all...] |
/barrelfish-2018-10-04/lib/posixcompat/ |
H A D | fcntl.c | 46 struct _pty *state = e->handle; 85 struct _unix_socket *us = e->handle; 97 struct _pty *state = e->handle; 125 // XXX: We only handle non-blocking here 126 struct _unix_socket *us = e->handle; 135 struct _pty *state = e->handle;
|
H A D | fsync.c | 26 errval_t err = vfs_flush((vfs_handle_t)e->handle);
|
H A D | ttyname.c | 36 struct _pty *pty = e->handle;
|
/barrelfish-2018-10-04/lib/libc/iconv/ |
H A D | citrus_module.c | 262 _citrus_find_getops(_citrus_module_t handle, const char *modname, argument 270 p = dlsym((void *)handle, name); 279 void *handle; local 298 handle = libc_dlopen(p, RTLD_LAZY); 299 if (!handle) { 304 *rhandle = (_citrus_module_t)handle; 310 _citrus_unload_module(_citrus_module_t handle) argument 313 if (handle) 314 dlclose((void *)handle);
|
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ |
H A D | LPdir_win.c | 51 HANDLE handle; member in struct:LP_dir_context_st 95 (*ctx)->handle = FindFirstFile(wdir, &(*ctx)->ctx); 100 (*ctx)->handle = FindFirstFile((TCHAR *)directory, &(*ctx)->ctx); 102 if ((*ctx)->handle == INVALID_HANDLE_VALUE) 112 if (FindNextFile((*ctx)->handle, &(*ctx)->ctx) == FALSE) 146 FindClose((*ctx)->handle);
|
/barrelfish-2018-10-04/usr/acpi/ |
H A D | acpi_ec.c | 55 ACPI_HANDLE handle; ///< Handle to EC object member in struct:ec 137 as = AcpiEvaluateObject(ec->handle, method, NULL, NULL); 187 static ACPI_STATUS ec_probe(ACPI_HANDLE handle, uint32_t nestlevel, argument 195 ec->handle = handle; 198 as = acpi_eval_integer(handle, "_UID", &ec->uid); 205 as = acpi_eval_integer(handle, "_GLK", &tmp); 214 as = AcpiEvaluateObject(handle, "_GPE", NULL, &buf); 242 as = AcpiGetCurrentResources(handle, &buf); 284 as = AcpiInstallAddressSpaceHandler(handle, ACPI_ADR_SPACE_E [all...] |
/barrelfish-2018-10-04/lib/libc/rpc/ |
H A D | rpc_generic.c | 66 struct handle { struct 309 struct handle *handle; local 311 handle = (struct handle *) malloc(sizeof (struct handle)); 312 if (handle == NULL) { 315 switch (handle->nettype = getnettype(nettype)) { 319 if (!(handle->nhandle = setnetpath())) 321 handle 352 struct handle *handle; local 428 struct handle *handle; local [all...] |
/barrelfish-2018-10-04/include/storage/ |
H A D | vsic.h | 30 errval_t (*flush2)(struct storage_vsic *vsic, struct storage_vsa *vsa, void *handle); 32 errval_t (*poll)(struct storage_vsic *vsic, void **handle);
|
/barrelfish-2018-10-04/include/vm/ |
H A D | phys_pager.c | 63 phys_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot, argument 77 if (handle != NULL) { 83 object = vm_pager_object_lookup(&phys_pager_object_list, handle); 92 handle); 103 object->handle = handle; 127 if (object->handle != NULL) { 134 object->handle = NULL;
|
H A D | device_pager.c | 89 static int old_dev_pager_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot, 91 static void old_dev_pager_dtor(void *handle); 110 cdev_pager_lookup(void *handle) argument 115 object = vm_pager_object_lookup(&dev_pager_object_list, handle); 121 cdev_pager_allocate(void *handle, enum obj_type tp, struct cdev_pager_ops *ops, argument 140 if (ops->cdev_pg_ctor(handle, size, prot, foff, cred, &color) != 0) 148 object = vm_pager_object_lookup(&dev_pager_object_list, handle); 159 object1->handle = handle; 161 object1->un_pager.devp.dev = handle; 199 dev_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred) argument 389 old_dev_pager_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred, u_short *color) argument 430 old_dev_pager_dtor(void *handle) argument [all...] |
/barrelfish-2018-10-04/include/dma/ |
H A D | dma_service.h | 13 /// dma service handle 86 static inline void *dma_service_get_user_state(dma_svc_handle_t handle) argument 88 return (void *) *((lvaddr_t *)handle);
|
/barrelfish-2018-10-04/usr/bench/vfs/ |
H A D | vfs_bench.c | 29 vfs_handle_t handle; local 32 err = vfs_create(FILENAME, &handle); 46 err = vfs_write(handle, chunk, chunksize, &written); 50 err = vfs_close(handle);
|
/barrelfish-2018-10-04/include/barrelfish/ |
H A D | notificator.h | 23 void check_notificators_disabled(dispatcher_handle_t handle);
|
/barrelfish-2018-10-04/kernel/arch/armv8/ |
H A D | exec.c | 60 dispatcher_handle_t handle = dcb_current->disp; local 62 get_dispatcher_shared_aarch64(handle); 71 = get_dispatcher_shared_generic(handle);
|