Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/driver/disk/ahci/
Dahci.c119 …ahci_gendisk0.partition = (struct block_device *)kzalloc(ahci_gendisk0.part_cnt * sizeof(struct bl… in ahci_init_gendisk()
128 ahci_gendisk0.partition[cnt].bd_disk = &ahci_gendisk0; in ahci_init_gendisk()
129 ahci_gendisk0.partition[cnt].bd_partno = cnt; in ahci_init_gendisk()
130 ahci_gendisk0.partition[cnt].bd_queue = &ahci_req_queue; in ahci_init_gendisk()
131 ahci_gendisk0.partition[cnt].bd_sectors_num = ptable->DPTE[i].total_sectors; in ahci_init_gendisk()
132 ahci_gendisk0.partition[cnt].bd_start_sector = ptable->DPTE[i].starting_sector; in ahci_init_gendisk()
133 ahci_gendisk0.partition[cnt].bd_superblock = NULL; // 挂载文件系统时才会初始化superblock in ahci_init_gendisk()
134 ahci_gendisk0.partition[cnt].bd_start_LBA = ptable->DPTE[i].starting_LBA; in ahci_init_gendisk()
/DragonOS-0.1.2/kernel/src/common/
Dblk_types.h88 struct block_device *partition; // 磁盘分区数组 member
/DragonOS-0.1.2/kernel/src/filesystem/fat32/
Dfat32.c1416 fat32_register_partition(ahci_gendisk0.partition + 0, 0); in fat32_init()