Home
last modified time | relevance | path

Searched refs:ahci_gendisk0 (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.3/kernel/src/driver/disk/ahci/
Dahci.c16 struct blk_gendisk ahci_gendisk0 = {0}; // 暂时硬性指定一个ahci_device variable
90 memset(&ahci_gendisk0, 0, sizeof(ahci_gendisk0)); in ahci_init_gendisk()
91 strcpy(ahci_gendisk0.disk_name, "ahci0"); in ahci_init_gendisk()
92 ahci_gendisk0.flags = BLK_GF_AHCI; in ahci_init_gendisk()
93 ahci_gendisk0.fops = &ahci_operation; in ahci_init_gendisk()
94 mutex_init(&ahci_gendisk0.open_mutex); in ahci_init_gendisk()
95 ahci_gendisk0.request_queue = &ahci_req_queue; in ahci_init_gendisk()
97 ahci_gendisk0.private_data = __alloc_private_data(); in ahci_init_gendisk()
102 ((struct ahci_blk_private_data *)ahci_gendisk0.private_data)->ahci_ctrl_num = 0; in ahci_init_gendisk()
103 ((struct ahci_blk_private_data *)ahci_gendisk0.private_data)->ahci_port_num = __first_port; in ahci_init_gendisk()
[all …]
/DragonOS-0.1.3/kernel/src/filesystem/fat32/
Dfat32.c17 extern struct blk_gendisk ahci_gendisk0;
1416 fat32_register_partition(ahci_gendisk0.partition + 0, 0); in fat32_init()