Lines Matching defs:handle
36 * trouble, since the handle and IOCB pointer will be
40 static int (*cfe_dispfunc) (intptr_t handle, intptr_t xiocb);
43 int cfe_init(u64 handle, u64 ept)
46 cfe_handle = handle;
57 int cfe_close(int handle)
63 xiocb.xiocb_handle = handle;
290 int cfe_inpstat(int handle)
296 xiocb.xiocb_handle = handle;
309 cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer,
316 xiocb.xiocb_handle = handle;
351 int cfe_read(int handle, unsigned char *buffer, int length)
353 return cfe_readblk(handle, 0, buffer, length);
356 int cfe_readblk(int handle, s64 offset, unsigned char *buffer, int length)
362 xiocb.xiocb_handle = handle;
396 int cfe_write(int handle, const char *buffer, int length)
398 return cfe_writeblk(handle, 0, buffer, length);
401 int cfe_writeblk(int handle, s64 offset, const char *buffer, int length)
407 xiocb.xiocb_handle = handle;
426 int handle;
463 handle = cfe_getstdhandle(CFE_STDHANDLE_CONSOLE);
464 if (handle < 0)
467 cfe_write(handle, msg, strlen(msg));