Searched refs:bytes_per_clus (Results 1 – 3 of 3) sorted by relevance
63 uint8_t *buf = kzalloc(fsbi->bytes_per_clus, 0); in __fat32_search_long_short()85 for (int i = 0; i < fsbi->bytes_per_clus; i += 32, ++tmp_dEntry) in __fat32_search_long_short()333 p->blocks = (p->file_size + fsbi->bytes_per_clus - 1) / fsbi->bytes_per_sec; in fat32_lookup()394 fsbi->bytes_per_clus = fbs->BPB_SecPerClus * fbs->BPB_BytesPerSec; in fat32_read_superblock()432 (sb_ptr->root->dir_inode->file_size + fsbi->bytes_per_clus - 1) / fsbi->bytes_per_sec; in fat32_read_superblock()495 struct fat32_Directory_t *buf = (struct fat32_Directory_t *)kmalloc(fsbi->bytes_per_clus, 0); in fat32_write_inode()496 memset(buf, 0, fsbi->bytes_per_clus); in fat32_write_inode()588 uint64_t clus_offset_in_file = (*position) / fsbi->bytes_per_clus; in fat32_read()590 uint64_t bytes_offset = (*position) % fsbi->bytes_per_clus; in fat32_read()607 void *tmp_buffer = kmalloc(fsbi->bytes_per_clus, 0); in fat32_read()[all …]
193 uint8_t *buf = kzalloc(fsbi->bytes_per_clus, 0); in fat32_find_empty_dentry()216 for (int i = 0; (i < fsbi->bytes_per_clus) && count_continuity < num; i += 32, ++tmp_dEntry) in fat32_find_empty_dentry()258 void *tmp_buf = kzalloc(fsbi->bytes_per_clus, 0); in fat32_find_empty_dentry()
145 uint64_t bytes_per_clus; // 每簇字节数 member