Lines Matching refs:uint32_t
17 int fat32_alloc_clusters(struct vfs_index_node_t *inode, uint32_t *clusters, int32_t num_clusters) in fat32_alloc_clusters()
27 uint32_t *buf = (uint32_t *)kzalloc(fsbi->bytes_per_sec, 0); in fat32_alloc_clusters()
126 uint32_t fat32_read_FAT_entry(struct block_device *blk, fat32_sb_info_t *fsbi, uint32_t cluster) in fat32_read_FAT_entry()
130 uint32_t fat_ent_per_sec = (fsbi->bytes_per_sec >> 2); // 该值应为2的n次幂 in fat32_read_FAT_entry()
132 uint32_t buf[256]; in fat32_read_FAT_entry()
152 …_write_FAT_entry(struct block_device *blk, fat32_sb_info_t *fsbi, uint32_t cluster, uint32_t value) in fat32_write_FAT_entry()
156 uint32_t fat_ent_per_sec = (fsbi->bytes_per_sec >> 2); // 该值应为2的n次幂 in fat32_write_FAT_entry()
157 uint32_t *buf = kzalloc(fsbi->bytes_per_sec, 0); in fat32_write_FAT_entry()
185 …tory_t *fat32_find_empty_dentry(struct vfs_index_node_t *parent_inode, uint32_t num, uint32_t mode, in fat32_find_empty_dentry()
186 uint32_t *res_sector, uint64_t *res_cluster, in fat32_find_empty_dentry()
198 uint32_t cluster = finode->first_clus; in fat32_find_empty_dentry()
213 uint32_t count_continuity = 0; in fat32_find_empty_dentry()
321 …_fill_shortname(struct vfs_dir_entry_t *dEntry, struct fat32_Directory_t *target, uint32_t cluster) in fat32_fill_shortname()
383 uint32_t cnt_longname) in fat32_fill_longname()
385 uint32_t current_name_index = 0; in fat32_fill_longname()
442 …int data_cluster = ((((uint32_t)de->DIR_FstClusHI) << 16) | ((uint32_t)de->DIR_FstClusLO)) & 0x0ff… in fat32_remove_entries()
460 uint32_t next_clus; in fat32_remove_entries()