Lines Matching refs:iovec_cnt
216 unsigned long iovec_cnt, loff_t to) in flash_safe_writev() argument
226 res = MTD_WRITEV(mtd, vecs, iovec_cnt, to, &retlen); in flash_safe_writev()
235 for (i=0; !res && i<iovec_cnt; i++) { in flash_safe_writev()
239 if (i != iovec_cnt-1) in flash_safe_writev()
1747 unsigned long iovec_cnt; in jffs_write_node() local
1884 iovec_cnt = 1; in jffs_write_node()
1888 node_iovec[iovec_cnt].iov_base = (void *) name; in jffs_write_node()
1889 node_iovec[iovec_cnt].iov_len = (size_t) raw_inode->nsize; in jffs_write_node()
1890 iovec_cnt++; in jffs_write_node()
1895 node_iovec[iovec_cnt].iov_base = allff; in jffs_write_node()
1896 node_iovec[iovec_cnt].iov_len = in jffs_write_node()
1898 iovec_cnt++; in jffs_write_node()
1904 node_iovec[iovec_cnt].iov_base = (void *) data; in jffs_write_node()
1905 node_iovec[iovec_cnt].iov_len = (size_t) raw_inode->dsize; in jffs_write_node()
1906 iovec_cnt++; in jffs_write_node()
1912 if ((err = flash_safe_writev(fmc->mtd, node_iovec, iovec_cnt, in jffs_write_node()