Lines Matching refs:pno
116 unsigned char *pno) in scan_partition_table() argument
120 if(*pno != 0xFF && *pno >= 5) in scan_partition_table()
123 if(*pno != 0xFF) in scan_partition_table()
125 if(pentry[*pno].type == LINUX_EXT2FS) in scan_partition_table()
126 return &pentry[*pno]; in scan_partition_table()
129 if(!pentry[*pno].type) in scan_partition_table()
130 *pno = 0xFE; in scan_partition_table()
131 else if(pentry[*pno].type == LINUX_SWAP) in scan_partition_table()
132 *pno = 0xFD; in scan_partition_table()
140 *pno = i; in scan_partition_table()
246 part->pno = isdigit((int)tmp[3]) ? tmp[3] - '0' - 1: 0; in dos_open()
248 part->pno = 0xFF; in dos_open()
312 pent = scan_partition_table(pent, part->phys, &part->pno); in dos_open()
316 _dio_error = part->pno == 0xFE ? ERR_EMPTYPART : in dos_open()
317 part->pno == 0xFD ? ERR_LINUXSWAP : ERR_NOTEXT2FS; in dos_open()