Opened file description.
More...
#include <file.h>
|
|
off_t | pos |
| | Current offset into the file.
|
| |
|
void * | priv |
| | Private data used by the driver.
|
| |
|
struct vnode * | vnode |
| | The file's vnode in the VFS.
|
| |
| const struct file_operations * | ops |
| |
|
atomic_t | refcount |
| | Number of references to this file.
|
| |
|
spinlock_t | lock |
| | Synchronization lock.
|
| |
| int | flags |
| | Parameter flags (. More...
|
| |
- Note
- This struct is also used by pseudo-filesystems, such as the sockfs, to allocated sockets or other objects. According to the UNIX philosophy, everything is a file.
◆ flags
◆ ops
The documentation for this struct was generated from the following file: