Home
last modified time | relevance | path

Searched refs:start_sector (Results 1 – 10 of 10) sorted by relevance

/third_party/NuttX/drivers/usbdev/gadget/
Df_mass_storage_ram.c71 uint64_t start_sector, uint32_t nsectors) in ram_read() argument
78 if (start_sector + nsectors > sc->len / sector_size) in ram_read()
80 usb_err("start_sector = %llu, nsectors = %u\n", start_sector, nsectors); in ram_read()
85 start_sector * sector_size, nsectors * sector_size); in ram_read()
95 uint64_t start_sector, uint32_t nsectors) in ram_write() argument
102 if (start_sector + nsectors > sc->len / sector_size) in ram_write()
104 usb_err("start_sector = %llu, nsectors = %u\n", start_sector, nsectors); in ram_write()
108 status = usbd_copy_from_user(start_addr + start_sector * sector_size, in ram_write()
/third_party/NuttX/fs/vfs/include/
Ddriver.h75 unsigned long long start_sector, unsigned int nsectors);
77 unsigned long long start_sector, unsigned int nsectors);
/third_party/ffmpeg/libavformat/
Dwtvenc.c585 static void write_fat(AVIOContext *pb, int start_sector, int nb_sectors, int shift) in write_fat() argument
589 avio_wl32(pb, start_sector + (i << shift)); in write_fat()
597 int64_t start_sector = start_pos >> WTV_SECTOR_BITS; in write_fat_sector() local
601 write_fat(s->pb, start_sector, nb_sectors, shift); in write_fat_sector()
/third_party/f2fs-tools/lib/
Dlibf2fs.c995 c.start_sector = 0; in get_device_info()
997 c.start_sector = geom.start; in get_device_info()
999 c.start_sector = 0; in get_device_info()
1181 c.start_sector = 0; in get_device_info()
/third_party/f2fs-tools/mkfs/
Df2fs_format.c258 ((uint64_t) c.start_sector * DEFAULT_SECTOR_SIZE + in f2fs_prepare_super_block()
261 (uint64_t) c.start_sector * DEFAULT_SECTOR_SIZE; in f2fs_prepare_super_block()
266 if (c.start_sector % DEFAULT_SECTORS_PER_BLOCK) { in f2fs_prepare_super_block()
270 c.start_sector, in f2fs_prepare_super_block()
271 c.start_sector % DEFAULT_SECTORS_PER_BLOCK, in f2fs_prepare_super_block()
289 (get_sb(segment0_blkaddr) + c.start_sector / in f2fs_prepare_super_block()
/third_party/f2fs-tools/fsck/
Dresize.c31 ((uint64_t) c.start_sector * DEFAULT_SECTOR_SIZE + in get_new_sb()
34 (uint64_t) c.start_sector * DEFAULT_SECTOR_SIZE; in get_new_sb()
/third_party/FreeBSD/sys/dev/usb/storage/
Dumass.c3171 uint64_t start_sector, unsigned int nsectors) in umass_read() argument
3178 status = umass_read16(sc, start_sector, (uint16_t)sc->info.sectorsize, nsectors, buffer); in umass_read()
3180 status = umass_read10(sc, (size_t)start_sector, (uint16_t)sc->info.sectorsize, nsectors, buffer); in umass_read()
3192 uint64_t start_sector, unsigned int nsectors) in umass_write() argument
3199 status = umass_write16(sc, start_sector, (uint16_t)sc->info.sectorsize, nsectors, buffer); in umass_write()
3201 status = umass_write10(sc, (size_t)start_sector, (uint16_t)sc->info.sectorsize, nsectors, buffer); in umass_write()
/third_party/FatFs/source/
Dff.c3106 FRESULT init_fatobj(FATFS *fs, BYTE fmt, QWORD start_sector) in init_fatobj() argument
3152 fs->volbase = start_sector; /* Volume start sector */ in init_fatobj()
3153 fs->fatbase = start_sector + nrsv; /* FAT start sector */ in init_fatobj()
3154 fs->database = start_sector + sysect; /* Data start sector */ in init_fatobj()
3178 && move_window(fs, start_sector + 1) == FR_OK) { in init_fatobj()
3207 FRESULT find_fat_partition(FATFS *fs, los_part *part, BYTE *format, QWORD *start_sector) in find_fat_partition() argument
3263 *start_sector = bsect; in find_fat_partition()
/third_party/f2fs-tools/include/
Df2fs_fs.h473 uint32_t start_sector; member
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h57603 u8 start_sector; member