struct file
来源:互联网 发布:js页面加载完毕执行 编辑:程序博客网 时间:2024/05/01 12:33
include/linux/fs.h
struct file {
/** fu_list becomes invalid after file_free is called and queued via
* fu_rcuhead for RCU freeing
*/
union {
struct list_head fu_list;
struct rcu_head fu_rcuhead;
} f_u;
struct path f_path;
#define f_dentry f_path.dentry
#define f_vfsmnt f_path.mnt
const struct file_operations *f_op;
spinlock_t f_lock; /* f_ep_links, f_flags, no IRQ */
#ifdef CONFIG_SMP
int f_sb_list_cpu;
#endif
atomic_long_t f_count;
unsigned int f_flags;
fmode_t f_mode;
loff_t f_pos;
struct fown_struct f_owner;
const struct cred *f_cred;
struct file_ra_state f_ra;
u64 f_version;
#ifdef CONFIG_SECURITY
void *f_security;
#endif
/* needed for tty driver, and maybe others */
void *private_data;
#ifdef CONFIG_EPOLL
/* Used by fs/eventpoll.c to link all the hooks to this file */
struct list_head f_ep_links;
#endif /* #ifdef CONFIG_EPOLL */
struct address_space *f_mapping;
#ifdef CONFIG_DEBUG_WRITECOUNT
unsigned long f_mnt_write_state;
#endif
};
- struct file
- struct file
- struct FILE
- struct file
- struct file
- struct file struct inode
- struct file& struct inode
- struct file struct inode
- struct file struct inode
- struct file & struct inode解析
- struct inode 和 struct file
- struct inode 和 struct file
- struct inode 和 struct file
- struct inode 和 struct file
- struct inode 和 struct file
- struct inode 和 struct file
- struct node 和struct file
- struct inode和struct file
- ubuntu下中文乱码解决方案(全)
- 让Win7系统下的硬盘不在狂闪的诀窍【mfxp】
- HDU3590[树形SG博弈]反博弈
- Fixatdl(二)
- UISegmentControl
- struct file
- 内核配置zc301 uvc USB摄像头 android usb 摄像头
- BaseAdapter与SimpleAdapter的使用
- BeginWaitCursor()、EndWaitCursor()和RestoreWaitCursor()3个成员函数处理等待光标
- 记录一下android常用系统权限(permission)
- 面试题21:从上往下打印二叉树
- js获取鼠标位置
- c指针详解
- ARP协议的安全威胁问题解决技巧【mfxp】