Lines Matching refs:handle
142 Handle *handle = Console_OpenHandle();
143 Handle_Add(proc, handle);
144 handle = Console_OpenHandle();
145 Handle_Add(proc, handle);
146 handle = Console_OpenHandle();
147 Handle_Add(proc, handle);
223 Handle *handle = Handle_Lookup(cur->proc, fd);
225 if (handle == NULL) {
228 status = (handle->read)(handle, (void *)addr, off, length);
241 Handle *handle = Handle_Lookup(cur->proc, fd);
243 if (handle == NULL) {
246 status = (handle->write)(handle, (void *)addr, off, length);
259 Handle *handle = Handle_Lookup(cur->proc, fd);
261 if (handle == NULL) {
264 status = (handle->flush)(handle);
291 Handle *handle = Console_OpenHandle();
292 handleNo = Handle_Add(cur->proc, handle);
301 Handle *handle;
302 status = VFSUIO_Open(path, &handle);
308 handleNo = Handle_Add(cur->proc, handle);
318 Handle *handle = Handle_Lookup(cur->proc, fd);
320 if (handle == NULL) {
323 status = (handle->close)(handle);
362 Handle *handle = Handle_Lookup(cur->proc, fd);
365 if (handle == NULL) {
376 if (handle->type != HANDLE_TYPE_FILE) {
381 rstatus = VFS_ReadDir(handle->vnode, user_buf, len, &offset);