- 博客(1)
- 收藏
- 关注
原创 PMFS文件系统:读写文件过程详解
一 主要的函数功能介绍 1. do_xip_mapping_read mapping用于管理文件映射到内存页面的,每个file都有这么一个结构,将文件系统中这个file对应的数据与这个file对应的内存绑定到一起。 ra 函数功能:从ppos位置读取文件filp长度为len的数据,返回实际读取的数据的字节数。下面也给出了代码注释 static ssize_t do_xip_mapping_read(struct address_space *mapping, struct file_ra_st
2022-03-07 17:27:03
1210
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人