read_write
status_t (*read_write)(scsi_periph_device_info *device, scsi_ccb *request,
bool read_write, size_t offset, size_t buf_size, void* buf) EFIAPI;
status_t status = sSCSIPeripheral->read_write(info->scsi_periph_device,
return read_write(device, request, NULL, offset, numBlocks, vecs, vecCount,
status_t status = read_write(device, request, operation,
posix_mode |= O_APPEND, read_write |= _IO_IS_APPENDING;
read_write, 0))
xsetflags(read_write, _IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING);
int read_write;
read_write = 0;
posix_mode = O_WRONLY, read_write = _IO_NO_READS;
posix_mode = O_RDONLY, read_write = _IO_NO_WRITES;
posix_mode = 0, read_write = _IO_NO_READS+_IO_NO_WRITES;
_IO_file_open (fp, filename, posix_mode, prot, read_write, is32not64)
int read_write;
_IO_mask_flags (fp, read_write,_IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING);
if ((read_write & (_IO_IS_APPENDING | _IO_NO_READS))
int read_write;
read_write = _IO_NO_WRITES;
read_write = _IO_NO_READS;
read_write = _IO_NO_READS|_IO_IS_APPENDING;
read_write &= _IO_IS_APPENDING;
result = _IO_file_open (fp, filename, omode|oflags, oprot, read_write,
if (((fd_flags & O_ACCMODE) == O_RDONLY && !(read_write & _IO_NO_WRITES))
|| ((fd_flags & O_ACCMODE) == O_WRONLY && !(read_write & _IO_NO_READS)))
(use_mmap && (read_write & _IO_NO_WRITES))
(use_mmap && (read_write & _IO_NO_WRITES)) ? &_IO_file_jumps_maybe_mmap :
_IO_mask_flags (&new_f->fp.file, read_write,
if (do_seek && ((read_write & (_IO_IS_APPENDING | _IO_NO_READS))
int read_write;
read_write = _IO_NO_WRITES;
read_write = _IO_NO_READS;
read_write = _IO_NO_READS|_IO_IS_APPENDING;
read_write &= _IO_IS_APPENDING;
_IO_cookie_init (struct _IO_cookie_file *cfile, int read_write,
_IO_mask_flags (&cfile->__fp.file, read_write,
int read_write;
read_write = _IO_NO_WRITES;
read_write = _IO_NO_READS;
read_write = _IO_NO_READS|_IO_IS_APPENDING;
read_write &= _IO_IS_APPENDING;
_IO_cookie_init (&new_f->cfile, read_write, cookie, io_functions);