Searched refs:ud_info (Results 1 – 1 of 1) sorted by relevance
49 static struct userdisk_info *ud_info; variable88 ud_info = malloc(sizeof(*ud_info) * userdisk_maxunit); in userdisk_init()89 if (ud_info == NULL) in userdisk_init()96 ud_info[i].mediasize = mediasize; in userdisk_init()97 ud_info[i].sectorsize = sectorsize; in userdisk_init()98 ud_info[i].ud_open = 0; in userdisk_init()99 ud_info[i].ud_bcache = NULL; in userdisk_init()111 free(ud_info); in userdisk_cleanup()141 if (disk_open(&dev, ud_info[i].mediasize, in userdisk_print()142 ud_info[i].sectorsize) == 0) { in userdisk_print()[all …]