/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/mtools-4.0.10/ |
H A D | mformat.c | 59 unsigned long *tot_sectors, int keepBoot) 71 *tot_sectors = dev->heads * dev->sectors * dev->tracks - DWORD(nhs); 73 if (*tot_sectors < 0x10000){ 74 set_word(boot->psect, *tot_sectors); 78 set_dword(boot->bigsect, *tot_sectors); 157 unsigned long tot_sectors, int fat32) 167 if(tot_sectors > MAX_DISK_SIZE(12, FAT12-1)) 169 if(fat32 || tot_sectors > MAX_DISK_SIZE(16, FAT16-1)) 193 if(tot_sectors < min_fat16_size) 195 else if(tot_sectors > 57 init_geometry_boot(struct bootsector *boot, struct device *dev, int sectors0, int rate_0, int rate_any, unsigned long *tot_sectors, int keepBoot) argument 156 comp_fat_bits(Fs_t *Fs, int estimate, unsigned long tot_sectors, int fat32) argument 223 calc_fat_bits2(Fs_t *Fs, unsigned long tot_sectors, int fat_bits, int may_change_cluster_size, int may_change_root_size) argument 326 xdf_calc_fat_size(Fs_t *Fs, unsigned long tot_sectors, int fat_bits) argument 354 calc_fat_size(Fs_t *Fs, unsigned long tot_sectors) argument 516 calc_cluster_size(struct Fs_t *Fs, unsigned long tot_sectors, int fat_bits) argument 597 calc_fs_parameters(struct device *dev, unsigned long tot_sectors, struct Fs_t *Fs, struct bootsector *boot) argument 662 calc_fs_parameters_32(unsigned long tot_sectors, struct Fs_t *Fs, struct bootsector *boot) argument 781 unsigned long tot_sectors; local [all...] |
H A D | init.c | 230 size_t tot_sectors; local 285 tot_sectors = cylinder_size * old_dos[i].tracks; 301 tot_sectors = WORD(psect); 302 if(!tot_sectors) { 303 tot_sectors = DWORD(bigsect); 327 if (tot_sectors >= (maxSize >> This->sectorShift)) { 332 if(!mtools_skip_check && (tot_sectors % dev.sectors)){ 335 " sectors per track (%d)!\n", (int) tot_sectors, 389 if(fat_read(This, boot, dev.fat_bits, tot_sectors, dev.use_2m&0x7f)){
|
H A D | mpartition.c | 292 unsigned int tot_sectors=0; local 397 tot_sectors = strtoul(optarg,0,0); 466 tot_sectors = 0; 476 tot_sectors = 1 + 482 printf("%d sectors in total\n", tot_sectors); 486 if (tot_sectors == 0) { 487 ioctl(get_fd(Stream), BLKGETSIZE, &tot_sectors); local 605 if(tot_sectors) 606 setsize0(tot_sectors,&dummy2,&used_dev.heads, 616 used_dev.sectors, used_dev.heads, tot_sectors); [all...] |
H A D | minfo.c | 66 int tot_sectors; local 106 tot_sectors = DWORD(bigsect); 107 SET_INT(tot_sectors, WORD(psect));
|
H A D | fsP.h | 95 size_t tot_sectors, int nodups);
|
H A D | floppyd_io.c | 355 size_t tot_sectors; local 365 tot_sectors = DWORD(bigsect); 366 SET_INT(tot_sectors, WORD(psect)); 368 tot_sectors += sect_per_track - 1; /* round size up */ 369 dev->tracks = tot_sectors / sect_per_track;
|
H A D | fat.c | 629 unsigned int tot_sectors) 633 This->num_clus = (tot_sectors - This->clus_start) / This->cluster_size; 675 unsigned int tot_sectors) 704 return(check_media_type(This,boot, tot_sectors) || 711 size_t tot_sectors, int nodups) 722 if(check_media_type(This,boot, tot_sectors)) 741 size_t tot_sectors, int nodups) 751 return old_fat_read(This, boot, fat_bits, tot_sectors, nodups); 753 return fat_32_read(This, boot, tot_sectors); 628 check_media_type(Fs_t *This, struct bootsector *boot, unsigned int tot_sectors) argument 674 fat_32_read(Fs_t *This, struct bootsector *boot, unsigned int tot_sectors) argument 709 old_fat_read(Fs_t *This, struct bootsector *boot, int config_fat_bits, size_t tot_sectors, int nodups) argument 740 fat_read(Fs_t *This, struct bootsector *boot, int fat_bits, size_t tot_sectors, int nodups) argument
|
H A D | plain_io.c | 175 size_t tot_sectors; local 188 tot_sectors = DWORD(bigsect); 189 SET_INT(tot_sectors, WORD(psect)); 207 tot_sectors += sect_per_track - 1; /* round size up */ 208 dev->tracks = tot_sectors / sect_per_track;
|