Home
last modified time | relevance | path

Searched refs:writelen (Results 1 – 3 of 3) sorted by relevance

/fs/ocfs2/dlmfs/
Ddlmfs.c293 ssize_t writelen; in dlmfs_file_write() local
311 writelen = i_size_read(inode) - *ppos; in dlmfs_file_write()
313 writelen = count - *ppos; in dlmfs_file_write()
315 lvb_buf = kmalloc(writelen, GFP_NOFS); in dlmfs_file_write()
319 bytes_left = copy_from_user(lvb_buf, buf, writelen); in dlmfs_file_write()
320 writelen -= bytes_left; in dlmfs_file_write()
321 if (writelen) in dlmfs_file_write()
322 user_dlm_write_lvb(inode, lvb_buf, writelen); in dlmfs_file_write()
326 *ppos = *ppos + writelen; in dlmfs_file_write()
327 mlog(0, "wrote %zd bytes\n", writelen); in dlmfs_file_write()
[all …]
/fs/jffs2/
Dwrite.c342 uint32_t offset, uint32_t writelen, uint32_t *retlen) in jffs2_write_inode_range() argument
348 __func__, f->inocache->ino, offset, writelen); in jffs2_write_inode_range()
350 while(writelen) { in jffs2_write_inode_range()
360 writelen, offset); in jffs2_write_inode_range()
369 datalen = min_t(uint32_t, writelen, in jffs2_write_inode_range()
434 writelen -= datalen; in jffs2_write_inode_range()
Dnodelist.h406 uint32_t offset, uint32_t writelen, uint32_t *retlen);