Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qemu-iotests/
H A Dfat16.py21 SECTOR_SIZE = 512 variable
252 current_sector = start_sector + (i // SECTOR_SIZE)
253 current_offset = i % SECTOR_SIZE
296 self.fats_dirty_sectors.add(fat_offset // SECTOR_SIZE)
303 data = self.fats[sector * SECTOR_SIZE : (sector + 1) * SECTOR_SIZE]
446 + (offset // SECTOR_SIZE))
447 new_entry.offset = offset % SECTOR_SIZE
/openbmc/u-boot/include/
H A Dusb_mass_storage.h10 #define SECTOR_SIZE 0x200 macro
H A Dreiserfs.h18 #define SECTOR_SIZE 0x200 macro
H A Dzfs_common.h25 #define SECTOR_SIZE 0x200 macro
H A Dext_common.h23 #define SECTOR_SIZE 0x200 macro
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0001-linux-syslinux-support-ext2-3-4-device.patch48 static unsigned char sectbuf[SECTOR_SIZE];
71 xpread(dev_fd, sectbuf, SECTOR_SIZE, opt.offset);
H A D0012-libinstaller-Fix-build-with-glibc-2.36.patch55 #undef SECTOR_SIZE /* Defined in msdos_fs.h for no good reason */
H A D0008-libinstaller-syslinuxext-implement-syslinux_patch_bo.patch237 - set_16(&sbs->bsBytesPerSec, SECTOR_SIZE);
423 + set_16(&sbs->bsBytesPerSec, SECTOR_SIZE);
H A D0006-linux-syslinux-implement-write_to_ext-and-add-syslin.patch186 + nsect = (boot_image_len + SECTOR_SIZE - 1) >> SECTOR_SHIFT;
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dvvfat34 SECTOR_SIZE = 512 variable
120 rows = num * SECTOR_SIZE // 16
128 self.assertEqual(len(bytes_content), num * SECTOR_SIZE)
139 self.assertEqual(len(data) % SECTOR_SIZE, 0)
/openbmc/u-boot/drivers/usb/gadget/
H A 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()
/openbmc/u-boot/cmd/
H A Dusb_mass_storage.c87 if (block_dev->blksz != SECTOR_SIZE) in ums_init()
H A Dfdc.c61 #define SECTOR_SIZE 5 macro
272 pCMD->cmd[SECTOR_SIZE]=pFG->sect_code; /* sector size code */ in fdc_issue_cmd()
/openbmc/openbmc/poky/scripts/lib/wic/plugins/imager/
H A Ddirect.py296 SECTOR_SIZE = 512 variable
329 self.sector_size = SECTOR_SIZE
331 self.sector_size = SECTOR_SIZE
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/cdrkit/files/
H A D0001-add-new-option-eltorito-platform.patch86 - if (offset >= SECTOR_SIZE) {
95 + if (offset >= (SECTOR_SIZE - sizeof (boot_desc_record))) {
/openbmc/u-boot/fs/reiserfs/
H A Dreiserfs_private.h407 #define FSYSREISER_MIN_BLOCKSIZE SECTOR_SIZE
H A Dreiserfs.c326 || (SECTOR_SIZE << INFO->blocksize_shift) != sb_blocksize(&super)) in reiserfs_mount()