/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jffs2/ |
H A D | writev.c | 19 static inline int mtd_fake_writev(struct mtd_info *mtd, const struct kvec *vecs, argument 27 if (!vecs[i].iov_len) 29 ret = mtd->write(mtd, to, vecs[i].iov_len, &thislen, vecs[i].iov_base); 31 if (ret || thislen != vecs[i].iov_len) 33 to += vecs[i].iov_len; 40 int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs, argument 46 res = jffs2_sum_add_kvec(c, vecs, count, (uint32_t) to); 54 return c->mtd->writev(c->mtd, vecs, count, to, retlen); 56 return mtd_fake_writev(c->mtd, vecs, coun 67 struct kvec vecs[1]; local [all...] |
H A D | write.c | 65 struct kvec vecs[2]; local 75 vecs[0].iov_base = ri; 76 vecs[0].iov_len = sizeof(*ri); 77 vecs[1].iov_base = (unsigned char *)data; 78 vecs[1].iov_len = datalen; 88 /* check number of valid vecs */ 94 jffs2_dbg_prewrite_paranoia_check(c, flash_ofs, vecs[0].iov_len + vecs[1].iov_len); 105 ret = jffs2_flash_writev(c, vecs, cnt, flash_ofs, &retlen, 198 struct kvec vecs[ local [all...] |
H A D | erase.c | 388 struct kvec vecs[1]; local 399 vecs[0].iov_base = (unsigned char *) ▮ 400 vecs[0].iov_len = sizeof(marker); 401 ret = jffs2_flash_direct_writev(c, vecs, 1, jeb->offset, &retlen);
|
H A D | os-linux.h | 120 int jffs2_flash_writev(struct jffs2_sb_info *c, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen, uint32_t ino); 202 int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs,
|
H A D | summary.c | 659 struct kvec vecs[2]; local 768 vecs[0].iov_base = &isum; 769 vecs[0].iov_len = sizeof(isum); 770 vecs[1].iov_base = c->summary->sum_buf; 771 vecs[1].iov_len = datasize; 778 ret = jffs2_flash_writev(c, vecs, 2, sum_ofs, &retlen, 0);
|
H A D | xattr.c | 283 struct kvec vecs[2]; local 291 vecs[0].iov_base = ℞ 292 vecs[0].iov_len = sizeof(rx); 293 vecs[1].iov_base = xd->xname; 294 vecs[1].iov_len = xd->name_len + 1 + xd->value_len; 295 totlen = vecs[0].iov_len + vecs[1].iov_len; 309 rx.data_crc = cpu_to_je32(crc32(0, vecs[1].iov_base, vecs[1].iov_len)); 312 rc = jffs2_flash_writev(c, vecs, [all...] |
H A D | wbuf.c | 893 struct kvec vecs[1]; local 898 vecs[0].iov_base = (unsigned char *) buf; 899 vecs[0].iov_len = len; 900 return jffs2_flash_writev(c, vecs, 1, ofs, retlen, 0);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/ |
H A D | mtdcore.c | 303 int default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, argument 314 if (!vecs[i].iov_len) 316 ret = mtd->write(mtd, to, vecs[i].iov_len, &thislen, vecs[i].iov_base); 318 if (ret || thislen != vecs[i].iov_len) 320 to += vecs[i].iov_len;
|
H A D | mtdpart.c | 183 static int part_writev (struct mtd_info *mtd, const struct kvec *vecs, argument 189 return part->master->writev (part->master, vecs, count,
|
H A D | mtdconcat.c | 156 concat_writev(struct mtd_info *mtd, const struct kvec *vecs, argument 173 total_len += vecs[i].iov_len; 186 /* make a copy of vecs */ 190 memcpy(vecs_copy, vecs, sizeof(struct kvec) * count);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/mtd/ |
H A D | mtd.h | 172 int (*writev) (struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen); 231 int default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, 234 int default_mtd_readv(struct mtd_info *mtd, struct kvec *vecs,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/ |
H A D | sun3_scsi_vme.c | 146 unsigned long vecs[3] = { SUN3_VEC_VMESCSI0, local 185 irq = vecs[i];
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/cnid/dbd/ |
H A D | cnid_dbd.c | 199 * @param vecs (r) number of iovecs in array 203 static int write_vec(int fd, struct iovec *iov, ssize_t towrite, int vecs) argument 210 if (((len = writev(fd, iov, vecs)) == -1 && errno == EINTR)) 272 int vecs; local 277 vecs = 1; 283 vecs++; 286 if (write_vec(db->fd, iov, towrite, vecs) != towrite) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/cnid/dbd/ |
H A D | cnid_dbd.c | 197 * @param vecs (r) number of iovecs in array 201 static int write_vec(int fd, struct iovec *iov, ssize_t towrite, int vecs) argument 208 if (((len = writev(fd, iov, vecs)) == -1 && errno == EINTR)) 270 int vecs; local 275 vecs = 1; 281 vecs++; 284 if (write_vec(db->fd, iov, towrite, vecs) != towrite) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/chips/ |
H A D | cfi_cmdset_0020.c | 43 static int cfi_staa_writev(struct mtd_info *mtd, const struct kvec *vecs, 662 cfi_staa_writev(struct mtd_info *mtd, const struct kvec *vecs, argument 682 size_t elem_len = vecs[i].iov_len; 683 void *elem_base = vecs[i].iov_base;
|
H A D | cfi_cmdset_0001.c | 1634 static int cfi_intelext_writev (struct mtd_info *mtd, const struct kvec *vecs, argument 1646 len += vecs[i].iov_len; 1663 ofs, &vecs, &vec_seek, size);
|