Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/filesystem/fat32/
Dfat_ent.c27 uint32_t *buf = (uint32_t *)kzalloc(fsbi->bytes_per_sec, 0); in fat32_alloc_clusters()
28 int ent_per_sec = (fsbi->bytes_per_sec >> 2); in fat32_alloc_clusters()
34 memset(buf, 0, fsbi->bytes_per_sec); in fat32_alloc_clusters()
130 uint32_t fat_ent_per_sec = (fsbi->bytes_per_sec >> 2); // 该值应为2的n次幂 in fat32_read_FAT_entry()
133 memset(buf, 0, fsbi->bytes_per_sec); in fat32_read_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()
Dfat32.h144 uint64_t bytes_per_sec; // 每扇区字节数 member
Dfat32.c333 p->blocks = (p->file_size + fsbi->bytes_per_clus - 1) / fsbi->bytes_per_sec; in fat32_lookup()
395 fsbi->bytes_per_sec = 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()