Searched refs:ss (Results 1 – 1 of 1) sorted by relevance
5677 WORD ss; local5684 if (disk_ioctl(drv, GET_SECTOR_SIZE, &ss) != RES_OK) return FR_DISK_ERR; /* Get sector size */5685 if (ss > FF_MAX_SS || ss < FF_MIN_SS || (ss & (ss - 1))) return FR_DISK_ERR;5687 ss = FF_MAX_SS;5690 align = GPT_ALIGN / ss; /* Partition alignment for GPT [sector] */5691 sz_ptbl = GPT_ITEMS * SZ_GPTE / ss; /* Size of partition table [sector] */5698 if (pi * SZ_GPTE % ss == 0) memset(buf, 0, ss); /* Clean the buffer if needed */5711 ofs = pi * SZ_GPTE % ss;5718 if ((pi + 1) * SZ_GPTE % ss == 0) { /* Write the buffer if it is filled up */5719 for (i = 0; i < ss; bcc = crc32(bcc, buf[i++])) ; /* Calculate table check sum */[all …]