Home
last modified time | relevance | path

Searched refs:blk_dev (Results 1 – 7 of 7) sorted by relevance

/third_party/exfatprogs/include/
Dexfat_fs.h33 struct exfat_blk_dev *blk_dev; member
70 struct exfat *exfat_alloc_exfat(struct exfat_blk_dev *blk_dev, struct pbr *bs);
/third_party/exfatprogs/lib/
Dexfat_dir.c42 if (exfat_write(exfat->blk_dev->dev_fd, in write_block()
72 return posix_fadvise(exfat->blk_dev->dev_fd, in read_ahead_first_blocks()
110 ret = posix_fadvise(exfat->blk_dev->dev_fd, in read_ahead_next_blocks()
122 ret = posix_fadvise(exfat->blk_dev->dev_fd, in read_ahead_next_blocks()
153 return posix_fadvise(exfat->blk_dev->dev_fd, offset, in read_ahead_next_dir_blocks()
202 ret = exfat_read(exfat->blk_dev->dev_fd, desc->buffer, in read_block()
777 if (exfat_write(exfat->blk_dev->dev_fd, dset, first_half_len, in exfat_write_dentry_set()
783 if (exfat_write(exfat->blk_dev->dev_fd, dset, sec_half_len, in exfat_write_dentry_set()
819 if (exfat_write(exfat->blk_dev->dev_fd, exfat->zero_cluster, in exfat_alloc_cluster()
Dexfat_fs.c126 struct exfat *exfat_alloc_exfat(struct exfat_blk_dev *blk_dev, struct pbr *bs) in exfat_alloc_exfat() argument
135 exfat->blk_dev = blk_dev; in exfat_alloc_exfat()
Dlibexfat.c708 if (exfat_read(exfat->blk_dev->dev_fd, next, sizeof(*next), offset) in exfat_get_next_clus()
738 if (exfat_write(exfat->blk_dev->dev_fd, &next_clus, sizeof(next_clus), in exfat_set_fat()
/third_party/ltp/testcases/kernel/syscalls/fgetxattr/
Dfgetxattr02.c214 dev_t blk_dev = makedev(7, 3); in setup() local
224 SAFE_MKNOD(BLK, S_IFBLK | 0777, blk_dev); in setup()
/third_party/exfatprogs/fsck/
Dfsck.c355 if (exfat_write(exfat->blk_dev->dev_fd, exfat->bs, in exfat_mark_volume_dirty()
361 if (fsync(exfat->blk_dev->dev_fd) != 0) { in exfat_mark_volume_dirty()
1001 if (exfat_read(exfat->blk_dev->dev_fd, exfat->disk_bitmap, in read_bitmap()
1077 if (exfat_read(exfat->blk_dev->dev_fd, upcase, size, in read_upcase_table()
1232 if (exfat_write(exfat->blk_dev->dev_fd, in write_bitmap()
1487 bytes_to_human_readable(exfat->blk_dev->size)); in exfat_show_info()
1628 if (fsync(exfat_fsck.exfat->blk_dev->dev_fd) != 0) { in main()
/third_party/exfatprogs/exfat2img/
Dexfat2img.c182 ret = exfat_read(exfat->blk_dev->dev_fd, in dump_range()
571 ret = exfat_read(exfat->blk_dev->dev_fd, in dump_bytes_to_stdout()