HomeSort by relevance Sort by last modified time
    Searched full:g_sect_size (Results 1 - 1 of 1) sorted by null

  /external/toybox/toys/pending/
fdisk.c 86 static long g_cylinders, g_heads, g_sectors, g_sect_size; variable
151 if (ioctl(dev_fd, BLKSSZGET, &arg) == 0) g_sect_size = arg;
158 g_sect_size = TT.sect_sz;
253 sec_buf = xzalloc(g_sect_size);
260 xlseek(dev_fd, (off_t)(offset * g_sect_size), SEEK_SET);
262 if (g_sect_size != readall(dev_fd, sec_buf, g_sect_size)) {
376 sector_fac = g_sect_size/SECTOR_SIZE; //512 is hardware sector size.
480 if (g_sect_size < ONE_K) {
481 blocks /= (ONE_K/g_sect_size);
    [all...]

Completed in 69 milliseconds