itop4412学习-超级块操作
学习 操作 超级
2023-09-14 08:57:21 时间
1. 先看下超级块支持的函数列表,文件路径\4412_SCP精英版\Android源码\iTop4412_Kernel_3.0_20140521\iTop4412_Kernel_3.0\include\linux
struct super_operations { struct inode *(*alloc_inode)(struct super_block *sb); void (*destroy_inode)(struct inode *); void (*dirty_inode) (struct inode *, int flags); int (*write_inode) (struct inode *, struct writeback_control *wbc); int (*drop_inode) (struct inode *); void (*evict_inode) (struct inode *); void (*put_super) (struct super_block *); void (*write_super) (struct super_block *); int (*sync_fs)(struct super_block *sb, int wait); int (*freeze_fs) (struct super_block *); int (*unfreeze_fs) (struct super_block *); int (*statfs) (struct dentry *, struct kstatfs *); int (*remount_fs) (struct super_block *, int *, char *); void (*umount_begin) (struct super_block *); int (*show_options)(struct seq_file *, struct vfsmount *); int (*show_devname)(struct seq_file *, struct vfsmount *); int (*show_path)(struct seq_file *, struct vfsmount *); int (*show_stats)(struct seq_file *, struct vfsmount *); #ifdef CONFIG_QUOTA ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t); ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t); #endif int (*bdev_try_to_free_page)(struct super_block*, struct page*, gfp_t); };
2. 学习一下文件的操作
相关文章
- 跟着牛人学习
- <yii 框架学习> yii 框架改为中文提示
- Python快速学习08:模块的操作
- Python快速学习07:文本文件的操作
- 【学习总结】GirlsInAI ML-diary day-21-初识 Numpy, Matplotlib, Seanborn [柱状图、折线图、箱图]
- Java 理论和实践: 了解泛型 识别和避免学习使用泛型过程中的陷阱
- SAP Spartacus SSR学习笔记 - 如何启用SAP Spartacus服务器端渲染模式
- C++:C++编程语言学习之数组/字符串/指针/引用/日期&I/O输入输出操作(I/O 库头文件/标准输出流cout/标准输入流cin/标准错误流/准日志流)的简介、案例应用之详细攻略
- 【go 科学计算】用于统计、机器学习和数据操作
- hive学习(二) hive操作
- git操作与原理学习
- FPGA-SDRAM设计学习(一)简单概念和操作介绍
- Android JNI学习-线程相关操作
- OpenCV-Python学习(15)—— OpenCV 鼠标操作和响应(cv.setMouseCallback)