Searched refs:vecs (Results 1 – 8 of 8) sorted by relevance
/fs/jffs2/ |
D | writev.c | 16 int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs, in jffs2_flash_direct_writev() argument 22 res = jffs2_sum_add_kvec(c, vecs, count, (uint32_t) to); in jffs2_flash_direct_writev() 29 return mtd_writev(c->mtd, vecs, count, to, retlen); in jffs2_flash_direct_writev() 39 struct kvec vecs[1]; in jffs2_flash_direct_write() local 42 vecs[0].iov_base = (unsigned char *) buf; in jffs2_flash_direct_write() 43 vecs[0].iov_len = len; in jffs2_flash_direct_write() 45 res = jffs2_sum_add_kvec(c, vecs, 1, (uint32_t) ofs); in jffs2_flash_direct_write()
|
D | write.c | 67 struct kvec vecs[2]; in jffs2_write_dnode() local 77 vecs[0].iov_base = ri; in jffs2_write_dnode() 78 vecs[0].iov_len = sizeof(*ri); in jffs2_write_dnode() 79 vecs[1].iov_base = (unsigned char *)data; in jffs2_write_dnode() 80 vecs[1].iov_len = datalen; in jffs2_write_dnode() 98 jffs2_dbg_prewrite_paranoia_check(c, flash_ofs, vecs[0].iov_len + vecs[1].iov_len); in jffs2_write_dnode() 109 ret = jffs2_flash_writev(c, vecs, cnt, flash_ofs, &retlen, in jffs2_write_dnode() 211 struct kvec vecs[2]; in jffs2_write_dirent() local 237 vecs[0].iov_base = rd; in jffs2_write_dirent() 238 vecs[0].iov_len = sizeof(*rd); in jffs2_write_dirent() [all …]
|
D | erase.c | 424 struct kvec vecs[1]; in jffs2_mark_erased_block() local 435 vecs[0].iov_base = (unsigned char *) ▮ in jffs2_mark_erased_block() 436 vecs[0].iov_len = sizeof(marker); in jffs2_mark_erased_block() 437 ret = jffs2_flash_direct_writev(c, vecs, 1, jeb->offset, &retlen); in jffs2_mark_erased_block()
|
D | xattr.c | 288 struct kvec vecs[2]; in save_xattr_datum() local 296 vecs[0].iov_base = ℞ in save_xattr_datum() 297 vecs[0].iov_len = sizeof(rx); in save_xattr_datum() 298 vecs[1].iov_base = xd->xname; in save_xattr_datum() 299 vecs[1].iov_len = xd->name_len + 1 + xd->value_len; in save_xattr_datum() 300 totlen = vecs[0].iov_len + vecs[1].iov_len; in save_xattr_datum() 314 rx.data_crc = cpu_to_je32(crc32(0, vecs[1].iov_base, vecs[1].iov_len)); in save_xattr_datum() 317 rc = jffs2_flash_writev(c, vecs, 2, phys_ofs, &length, 0); in save_xattr_datum()
|
D | summary.c | 680 struct kvec vecs[2]; in jffs2_sum_write_data() local 809 vecs[0].iov_base = &isum; in jffs2_sum_write_data() 810 vecs[0].iov_len = sizeof(isum); in jffs2_sum_write_data() 811 vecs[1].iov_base = c->summary->sum_buf; in jffs2_sum_write_data() 812 vecs[1].iov_len = datasize; in jffs2_sum_write_data() 818 ret = jffs2_flash_writev(c, vecs, 2, sum_ofs, &retlen, 0); in jffs2_sum_write_data()
|
D | os-linux.h | 116 int jffs2_flash_writev(struct jffs2_sb_info *c, const struct kvec *vecs, unsigned long count, loff_… 190 int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs,
|
D | wbuf.c | 944 struct kvec vecs[1]; in jffs2_flash_write() local 949 vecs[0].iov_base = (unsigned char *) buf; in jffs2_flash_write() 950 vecs[0].iov_len = len; in jffs2_flash_write() 951 return jffs2_flash_writev(c, vecs, 1, ofs, retlen, 0); in jffs2_flash_write()
|
/fs/ |
D | block_dev.c | 207 struct bio_vec inline_vecs[DIO_INLINE_BIO_VECS], *vecs; in __blkdev_direct_IO_simple() local 219 vecs = inline_vecs; in __blkdev_direct_IO_simple() 221 vecs = kmalloc_array(nr_pages, sizeof(struct bio_vec), in __blkdev_direct_IO_simple() 223 if (!vecs) in __blkdev_direct_IO_simple() 227 bio_init(&bio, vecs, nr_pages); in __blkdev_direct_IO_simple() 267 if (vecs != inline_vecs) in __blkdev_direct_IO_simple() 268 kfree(vecs); in __blkdev_direct_IO_simple()
|