Searched refs:handle (Results 76 - 100 of 283) sorted by relevance

1234567891011>>

/barrelfish-2018-10-04/lib/barrelfish/
H A Devent_mutex.c75 dispatcher_handle_t handle = disp_disable(); local
76 thread_mutex_unlock_disabled(handle, &em->tmutex);
77 void *wakeup_reason = thread_block_and_release_spinlock_disabled(handle, &em->tqueue, NULL);
H A Dthread_sync.c180 dispatcher_handle_t handle = disp_disable(); local
181 struct dispatcher_generic *disp_gen = get_dispatcher_generic(handle);
188 thread_block_and_release_spinlock_disabled(handle, &mutex->queue,
194 disp_enable(handle);
210 dispatcher_handle_t handle = disp_disable(); local
211 struct dispatcher_generic *disp_gen = get_dispatcher_generic(handle);
219 thread_block_and_release_spinlock_disabled(handle, &mutex->queue,
225 disp_enable(handle);
252 dispatcher_handle_t handle = disp_disable(); local
253 struct dispatcher_generic *disp_gen = get_dispatcher_generic(handle);
280 thread_mutex_unlock_disabled(dispatcher_handle_t handle, struct thread_mutex *mutex) argument
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/icparc_solvers/ilog/
H A Dscheduler.cc45 return unify(EC_arg(3), handle(schedule_method, schedule.getImpl()));
61 return unify(EC_arg(5), handle(activity_method, activity.getImpl()));
80 return unify(EC_arg(3), handle(constraint_method, constraint.getImpl()));
117 return unify(EC_arg(3), handle(resource_method, resource.getImpl()));
146 return unify(EC_arg(3), handle(altresset_method, resource.getImpl()));
H A Dscheduler.pl67 :- define_struct(activity(handle, start, end, duration)).
68 :- define_struct(schedule(handle, timemin, timemax, activities, resources)).
122 Schedule = schedule with [handle:S, resources:Rs],
127 alt_res_set(schedule with handle:S, Resources, Resource) :-
144 starts_after_end(activity with handle:A1, activity with handle:A2, Constraint) :-
148 starts_after_end(activity with handle:A1, (activity with handle:A2)+Delay, Constraint) :-
162 consumes(activity with handle:A, Capacity of resource(Resource, ilc('CapResource')), Constraint) :-
169 consumes(activity with handle
[all...]
H A Dstdecil.h62 #define ReturnTryPushTrailCatchPop(to_do, handle) \
66 trail_undo(handle, ilog_fail); \
/barrelfish-2018-10-04/lib/tenaciousd/
H A Dram_vsic.c43 void *handle; member in struct:ramcb
93 cb->handle = NULL;
113 cb->handle = NULL;
128 cb->handle = NULL;
133 static errval_t vsic_flush2(struct storage_vsic *vsic, struct storage_vsa *vsa, void *handle) argument
143 cb->handle = handle;
148 static errval_t vsic_poll(struct storage_vsic *vsic, void **handle) argument
166 *handle = cb->handle;
[all...]
/barrelfish-2018-10-04/lib/lwip2/src/apps/tftp/
H A Dtftp_server.c81 void *handle; member in struct:tftp_state
110 if (tftp_state.handle) {
111 tftp_state.ctx->close(tftp_state.handle);
112 tftp_state.handle = NULL;
192 ret = tftp_state.ctx->read(tftp_state.handle, &payload[2], TFTP_MAX_PAYLOAD_SIZE);
234 if(tftp_state.handle != NULL) {
257 tftp_state.handle = tftp_state.ctx->open(filename, mode, opcode == PP_HTONS(TFTP_WRQ));
260 if (!tftp_state.handle) {
288 if (tftp_state.handle == NULL) {
301 ret = tftp_state.ctx->write(tftp_state.handle,
[all...]
/barrelfish-2018-10-04/lib/vfs/
H A Dvfs_blockdevfs_ahci.c58 errval_t blockdevfs_ahci_open(void *handle) argument
62 struct ahci_handle *h = handle;
89 errval_t blockdevfs_ahci_close(void *handle) argument
91 struct ahci_handle *h = handle;
113 errval_t blockdevfs_ahci_flush(void *handle) argument
116 struct ahci_handle *h = handle;
127 // set handle to waiting
162 errval_t blockdevfs_ahci_read(void *handle, size_t pos, void *buffer, size_t argument
166 struct ahci_handle *h = handle;
190 // set handle t
239 blockdevfs_ahci_write(void *handle, size_t pos, const void *buffer, size_t bytes, size_t *bytes_written) argument
335 struct ahci_handle *handle = calloc(1, sizeof(struct ahci_handle)); local
[all...]
H A Dvfs_fd.c78 .handle = vh,
99 errval_t err = vfs_read((vfs_handle_t)e->handle, buf, len, &retlen);
131 errval_t err = vfs_write((vfs_handle_t)e->handle, buf, len, &retlen);
172 err = vfs_close((vfs_handle_t)e->handle);
223 err = vfs_seek((vfs_handle_t)e->handle, vfs_whence, offset);
229 err = vfs_tell((vfs_handle_t)e->handle, &retpos);
/barrelfish-2018-10-04/lib/libc/locale/
H A DmbrtocXX_iconv.h63 struct _citrus_iconv *handle; local
71 handle = &cs->iconv;
75 if (_citrus_iconv_open(&handle,
81 handle->cv_shared->ci_discard_ilseq = true;
82 handle->cv_shared->ci_hooks = NULL;
112 err = _citrus_iconv_convert(handle, &src, &srcleft,
/barrelfish-2018-10-04/include/vm/
H A Dsg_pager.c67 sg_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot, argument
86 sg = handle;
112 object->handle = sglist_hold(sg);
131 sg = object->handle;
133 object->handle = NULL;
152 sg = object->handle;
H A Dvm_pager.h180 int (*cdev_pg_ctor)(void *handle, vm_ooffset_t size, vm_prot_t prot,
182 void (*cdev_pg_dtor)(void *handle);
185 vm_object_t cdev_pager_allocate(void *handle, enum obj_type tp,
188 vm_object_t cdev_pager_lookup(void *handle);
/barrelfish-2018-10-04/include/barrelfish/
H A Dwaitset.h106 void poll_channels_disabled(dispatcher_handle_t handle);
114 struct waitset_chanstate *waitfor2, dispatcher_handle_t handle, bool debug);
118 errval_t event_dispatch_disabled(struct waitset *ws, dispatcher_handle_t handle);
/barrelfish-2018-10-04/lib/lwip2/src/apps/snmp/
H A Dsnmp_msg.h94 /* Communication handle */
95 void *handle; member in struct:snmp_request
179 /** handle for sending traps */
182 void snmp_receive(void *handle, struct pbuf *p, const ip_addr_t *source_ip, u16_t port);
183 err_t snmp_sendto(void *handle, struct pbuf *p, const ip_addr_t *dst, u16_t port);
184 u8_t snmp_get_local_ip_for_dst(void* handle, const ip_addr_t *dst, ip_addr_t *result);
/barrelfish-2018-10-04/include/
H A Dstdio_file.h96 void *handle; // Handle to pass to file handling functions member in struct:__file
/barrelfish-2018-10-04/lib/posixcompat/
H A Dfstat.c28 errval_t err = vfs_stat((vfs_handle_t)e->handle, &info);
H A Ddlfcn.c32 void *dlsym(void *handle, const char *symbol) argument
52 int dlclose(void *handle) argument
H A Dinheritance.c23 void *handle; member in struct:fd_store
71 printf("copying %zu bytes from %p to %p\n", size, &fds->handle, dest);
73 fds->handle = (void *)(uintptr_t)(offset);
74 printf("fd %d fixed handle is: %d\n", fds->num, fds->fd);
111 * uint8_t buf[] // store of actual handle data. entries in fdtab above
113 * TODO: add the actual handle data!
129 fds->handle = fde->handle;
134 "type: %d, (unfixed)handle: %p)\n",
136 fds->handle);
[all...]
/barrelfish-2018-10-04/include/arpa/
H A Dnameser.h121 * This is a message handle. It is caller allocated and has no dynamic data.
135 * This is a newmsg handle, used when constructing new messages with
151 #define ns_msg_id(handle) ((handle)._id + 0)
152 #define ns_msg_base(handle) ((handle)._msg + 0)
153 #define ns_msg_end(handle) ((handle)._eom + 0)
154 #define ns_msg_size(handle) ((handle)
[all...]
/barrelfish-2018-10-04/tools/ds5/configdb/OS/Barrelfish/
H A Dprovider.py47 # Get the handle to the shared dispatcher structure
50 handle = fields['disp'].readAsNumber()
52 # Cast and dereference the handle to find the ARM shared structure
53 dispatcher_shared_arm = debugger.evaluateExpression('*((struct dispatcher_shared_arm *)0x%x)' % handle)
113 # Cast and dereference the handle to find the ARM shared structure
114 handle = fields['disp'].readAsNumber()
115 dispatcher_shared_arm = debugger.evaluateExpression('*((struct dispatcher_shared_arm *)0x%x)' % handle)
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/store/
H A Dstr_mem.c127 static STORE_OBJECT *mem_list_next(STORE *s, void *handle);
128 static int mem_list_end(STORE *s, void *handle);
129 static int mem_list_endp(STORE *s, void *handle);
269 static STORE_OBJECT *mem_list_next(STORE *s, void *handle) argument
272 struct mem_ctx_st *context = (struct mem_ctx_st *)handle;
328 static int mem_list_end(STORE *s, void *handle) argument
330 struct mem_ctx_st *context = (struct mem_ctx_st *)handle;
342 static int mem_list_endp(STORE *s, void *handle) argument
344 struct mem_ctx_st *context = (struct mem_ctx_st *)handle;
/barrelfish-2018-10-04/usr/acpi/
H A Dacpi_service.c127 static void get_path_name(ACPI_HANDLE handle, char* name, size_t len) argument
132 s = AcpiGetName(handle, ACPI_FULL_PATHNAME, &buf);
144 ACPI_HANDLE handle; local
146 as = AcpiGetHandle(NULL, (CONST_CAST)pathname, &handle);
149 err = acpi_get_irqtable_device(handle, addr, &child, bus);
242 debug_printf("Looking up handle for device '%s'\n", dev_id);
245 ACPI_HANDLE handle = NULL; local
247 s = AcpiGetDevices(NULL, get_handle_handler_callback, (CONST_CAST)dev_id, &handle);
249 debug_printf("Looking up handle failed: %d\n", s);
251 } else if (handle
260 eval_integer_handler(struct acpi_binding *b, uint64_t handle, const char *path) argument
[all...]
/barrelfish-2018-10-04/kernel/arch/arm/
H A Dexec.c65 dispatcher_handle_t handle = dcb_current->disp; local
66 struct dispatcher_shared_arm *disp_arm = get_dispatcher_shared_arm(handle);
/barrelfish-2018-10-04/kernel/arch/x86_64/
H A Dvmkit.c40 dispatcher_handle_t handle = dcb->disp; local
41 struct dispatcher_shared_generic *disp = get_dispatcher_shared_generic(handle);
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/linux/
H A Ddmapool.h69 dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, dma_addr_t *handle) argument
75 *handle = vtophys(vaddr);

Completed in 1542 milliseconds

1234567891011>>