Searched refs:partition (Results 1 – 3 of 3) sorted by relevance
88 struct block_device *partition; // 磁盘分区数组 member
119 …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()
1416 fat32_register_partition(ahci_gendisk0.partition + 0, 0); in fat32_init()