Home
last modified time | relevance | path

Searched refs:finode (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.2/kernel/src/filesystem/fat32/
Dfat32.c59 … struct fat32_inode_info_t *finode = (struct fat32_inode_info_t *)parent_inode->private_inode_info; in __fat32_search_long_short() local
66 uint32_t cluster = finode->first_clus; in __fat32_search_long_short()
320 struct fat32_inode_info_t *finode = NULL; in fat32_lookup() local
341 finode = (fat32_inode_info_t *)p->private_inode_info; in fat32_lookup()
343 finode->first_clus = ((sinfo.de->DIR_FstClusHI << 16) | sinfo.de->DIR_FstClusLO) & 0x0fffffff; in fat32_lookup()
344finode->dEntry_location_clus = __fat32_LBA_to_cluster(fsbi->first_data_sector, fsbi->sec_per_clus,… in fat32_lookup()
345 finode->dEntry_location_clus_offset = sinfo.slot_off; // 计算dentry的偏移量 in fat32_lookup()
348 finode->create_date = sinfo.de->DIR_CrtDate; in fat32_lookup()
349 finode->create_time = sinfo.de->DIR_CrtTime; in fat32_lookup()
350 finode->write_date = sinfo.de->DIR_WrtDate; in fat32_lookup()
[all …]
Dfat_ent.c22 struct fat32_inode_info_t *finode = (struct fat32_inode_info_t *)inode->private_inode_info; in fat32_alloc_clusters() local
58 if (finode->first_clus == 0) in fat32_alloc_clusters()
61 finode->first_clus = clusters[0]; in fat32_alloc_clusters()
62 cluster = finode->first_clus; in fat32_alloc_clusters()
71 int tmp_clus = finode->first_clus; in fat32_alloc_clusters()
190 … struct fat32_inode_info_t *finode = (struct fat32_inode_info_t *)parent_inode->private_inode_info; in fat32_find_empty_dentry() local
198 uint32_t cluster = finode->first_clus; in fat32_find_empty_dentry()
/DragonOS-0.1.2/kernel/src/filesystem/procfs/
Dprocfs.c112 struct procfs_inode_info_t *finode = inode->private_inode_info; in procfs_open() local
113 if (finode == NULL) in procfs_open()
119 struct process_control_block *pcb_t = process_find_pcb_by_pid(finode->pid); in procfs_open()
121 int mode = finode->type; in procfs_open()
391 …struct procfs_inode_info_t *finode = (struct procfs_inode_info_t *)kzalloc(sizeof(struct procfs_in… in procfs_mkdir() local
392 finode->pid = 0; in procfs_mkdir()
393 finode->type = 0; in procfs_mkdir()
400 inode->private_inode_info = (void *)finode; in procfs_mkdir()
485 …struct procfs_inode_info_t *finode = (struct procfs_inode_info_t *)kzalloc(sizeof(struct procfs_in… in proc_create_file() local
486 finode->pid = pid; in proc_create_file()
[all …]