Home
last modified time | relevance | path

Searched refs:open_for_read (Results 1 – 2 of 2) sorted by relevance

/linux/fs/orangefs/
H A Dfile.c60 int open_for_read; in wait_for_direct_io() local
120 open_for_read = file->f_mode & FMODE_READ; in wait_for_direct_io()
123 open_for_read = 0; /* not relevant? */ in wait_for_direct_io()
127 if ((type == ORANGEFS_IO_READ) && open_for_read) in wait_for_direct_io()
/linux/drivers/char/xillybus/
H A Dxillyusb.c149 unsigned open_for_read:1; member
1286 if (((filp->f_mode & FMODE_READ) && chan->open_for_read) || in xillyusb_open()
1291 chan->open_for_read = 1; in xillyusb_open()
1414 chan->open_for_read = 0; in xillyusb_open()
1739 chan->open_for_read = 0; in xillyusb_release()