Home
last modified time | relevance | path

Searched refs:SECTOR_SIZE (Results 1 – 17 of 17) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/
Df_mass_storage_ram.c48 #define SECTOR_SIZE 512 macro
170 fat32_part_buf = memalign(SECTOR_SIZE, FAT_PART_SIZE); in ram_mass_storage_init()
196 sc->sector_size = SECTOR_SIZE; in ram_mass_storage_init()
/third_party/uboot/u-boot-2020.01/include/
Dusb_mass_storage.h10 #define SECTOR_SIZE 0x200 macro
Dreiserfs.h18 #define SECTOR_SIZE 0x200 macro
Dzfs_common.h25 #define SECTOR_SIZE 0x200 macro
Dext_common.h23 #define SECTOR_SIZE 0x200 macro
/third_party/gptfdisk/
Dsupport.h53 #define SECTOR_SIZE UINT32_C(512) macro
Ddiskio-unix.cc179 blockSize = SECTOR_SIZE; in GetBlockSize()
186 << SECTOR_SIZE << "\n"; in GetBlockSize()
Ddiskio-windows.cc142 blockSize = SECTOR_SIZE; in GetBlockSize()
Dsupport.cc168 sSize = SECTOR_SIZE; in IeeeToInt()
Dgpt.cc68 blockSize = SECTOR_SIZE; // set a default in GPTData()
132 blockSize = SECTOR_SIZE; // set a default in GPTData()
2003 sectorAlignment = DEFAULT_ALIGNMENT * SECTOR_SIZE / blockSize; in ClearGPTData()
2455 align = DEFAULT_ALIGNMENT * SECTOR_SIZE / blockSize; in ComputeAlignment()
Dbasicmbr.cc36 blockSize = SECTOR_SIZE; in BasicMBRData()
79 blockSize = SECTOR_SIZE; in BasicMBRData()
/third_party/uboot/u-boot-2020.01/drivers/usb/gadget/
Df_mass_storage.c758 file_offset / SECTOR_SIZE, in do_read()
759 amount / SECTOR_SIZE, in do_read()
764 nread = rc * SECTOR_SIZE; in do_read()
932 file_offset / SECTOR_SIZE, in do_write()
933 amount / SECTOR_SIZE, in do_write()
937 nwritten = rc * SECTOR_SIZE; in do_write()
1048 file_offset / SECTOR_SIZE, in do_verify()
1049 amount / SECTOR_SIZE, in do_verify()
1053 nread = rc * SECTOR_SIZE; in do_verify()
/third_party/toybox/toys/pending/
Dfdisk.c42 #define SECTOR_SIZE 512 macro
361 if (SECTOR_SIZE != readall(dev_fd, MBRbuf, SECTOR_SIZE)) { in read_mbr()
376 sector_fac = g_sect_size/SECTOR_SIZE; //512 is hardware sector size. in read_mbr()
509 xprintf(", total %lld sectors\n", total_number_sectors/(g_sect_size/SECTOR_SIZE)); in print_mbr()
523 g_sect_size = SECTOR_SIZE; in init_members()
/third_party/uboot/u-boot-2020.01/cmd/
Dusb_mass_storage.c88 if (block_dev->blksz != SECTOR_SIZE) in ums_init()
Dfdc.c62 #define SECTOR_SIZE 5 macro
273 pCMD->cmd[SECTOR_SIZE]=pFG->sect_code; /* sector size code */ in fdc_issue_cmd()
/third_party/uboot/u-boot-2020.01/fs/reiserfs/
Dreiserfs_private.h407 #define FSYSREISER_MIN_BLOCKSIZE SECTOR_SIZE
Dreiserfs.c326 || (SECTOR_SIZE << INFO->blocksize_shift) != sb_blocksize(&super)) in reiserfs_mount()