Home
last modified time | relevance | path

Searched refs:writtenlen (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/fs/jffs2/
Ddir.c202 __u32 writtenlen; in jffs2_create() local
243 fn = jffs2_write_dnode(inode, ri, NULL, 0, phys_ofs, &writtenlen); in jffs2_create()
261 writtenlen = PAD(writtenlen); in jffs2_create()
262 phys_ofs += writtenlen; in jffs2_create()
263 alloclen -= writtenlen; in jffs2_create()
304 fd = jffs2_write_dirent(dir_i, rd, dentry->d_name.name, namelen, phys_ofs, &writtenlen); in jffs2_create()
521 __u32 writtenlen; in jffs2_symlink() local
567 fn = jffs2_write_dnode(inode, ri, target, strlen(target), phys_ofs, &writtenlen); in jffs2_symlink()
585 writtenlen = (writtenlen+3)&~3; in jffs2_symlink()
586 phys_ofs += writtenlen; in jffs2_symlink()
[all …]
Dfile.c425 ssize_t writtenlen = 0; in jffs2_commit_write() local
533 writtenlen += datalen; in jffs2_commit_write()
540 if (writtenlen < end) { in jffs2_commit_write()
548 if (writtenlen <= start) { in jffs2_commit_write()
551 …: Only %x bytes written to page. start (%x) not reached, returning %d\n", writtenlen, start, ret)); in jffs2_commit_write()
553 writtenlen = min(end-start, writtenlen-start); in jffs2_commit_write()
555 …D1(printk(KERN_DEBUG "jffs2_commit_write() returning %d. nrpages is %ld\n",writtenlen?writtenlen:r… in jffs2_commit_write()
556 return writtenlen?writtenlen:ret; in jffs2_commit_write()