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 | 422 struct kvec vecs[1]; in jffs2_mark_erased_block() local 433 vecs[0].iov_base = (unsigned char *) ▮ in jffs2_mark_erased_block() 434 vecs[0].iov_len = sizeof(marker); in jffs2_mark_erased_block() 435 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 812 vecs[0].iov_base = &isum; in jffs2_sum_write_data() 813 vecs[0].iov_len = sizeof(isum); in jffs2_sum_write_data() 814 vecs[1].iov_base = c->summary->sum_buf; in jffs2_sum_write_data() 815 vecs[1].iov_len = datasize; in jffs2_sum_write_data() 821 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/smb/client/ |
D | smbdirect.c | 1989 struct kvec vecs[SMBDIRECT_MAX_SEND_SGE - 1]; in smbd_send() local 2052 vecs[j].iov_base = iov[i].iov_base + offset; in smbd_send() 2054 vecs[j].iov_len = in smbd_send() 2057 offset = vecs[j].iov_len; in smbd_send() 2059 vecs[j].iov_len = in smbd_send() 2061 buflen += vecs[j].iov_len; in smbd_send() 2077 rc = smbd_post_send_data(info, vecs, j, remaining_data_length); in smbd_send()
|