Lines Matching refs:outarg
1494 struct fuse_notify_poll_wakeup_out outarg; in fuse_notify_poll() local
1497 if (size != sizeof(outarg)) in fuse_notify_poll()
1500 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_poll()
1505 return fuse_notify_poll_wakeup(fc, &outarg); in fuse_notify_poll()
1515 struct fuse_notify_inval_inode_out outarg; in fuse_notify_inval_inode() local
1518 if (size != sizeof(outarg)) in fuse_notify_inval_inode()
1521 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_inval_inode()
1529 err = fuse_reverse_inval_inode(fc->sb, outarg.ino, in fuse_notify_inval_inode()
1530 outarg.off, outarg.len); in fuse_notify_inval_inode()
1543 struct fuse_notify_inval_entry_out outarg; in fuse_notify_inval_entry() local
1553 if (size < sizeof(outarg)) in fuse_notify_inval_entry()
1556 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_inval_entry()
1561 if (outarg.namelen > FUSE_NAME_MAX) in fuse_notify_inval_entry()
1565 if (size != sizeof(outarg) + outarg.namelen + 1) in fuse_notify_inval_entry()
1569 name.len = outarg.namelen; in fuse_notify_inval_entry()
1570 err = fuse_copy_one(cs, buf, outarg.namelen + 1); in fuse_notify_inval_entry()
1574 buf[outarg.namelen] = 0; in fuse_notify_inval_entry()
1580 err = fuse_reverse_inval_entry(fc->sb, outarg.parent, 0, &name); in fuse_notify_inval_entry()
1594 struct fuse_notify_delete_out outarg; in fuse_notify_delete() local
1604 if (size < sizeof(outarg)) in fuse_notify_delete()
1607 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_delete()
1612 if (outarg.namelen > FUSE_NAME_MAX) in fuse_notify_delete()
1616 if (size != sizeof(outarg) + outarg.namelen + 1) in fuse_notify_delete()
1620 name.len = outarg.namelen; in fuse_notify_delete()
1621 err = fuse_copy_one(cs, buf, outarg.namelen + 1); in fuse_notify_delete()
1625 buf[outarg.namelen] = 0; in fuse_notify_delete()
1631 err = fuse_reverse_inval_entry(fc->sb, outarg.parent, in fuse_notify_delete()
1632 outarg.child, &name); in fuse_notify_delete()
1646 struct fuse_notify_store_out outarg; in fuse_notify_store() local
1658 if (size < sizeof(outarg)) in fuse_notify_store()
1661 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_store()
1666 if (size - sizeof(outarg) != outarg.size) in fuse_notify_store()
1669 nodeid = outarg.nodeid; in fuse_notify_store()
1682 index = outarg.offset >> PAGE_CACHE_SHIFT; in fuse_notify_store()
1683 offset = outarg.offset & ~PAGE_CACHE_MASK; in fuse_notify_store()
1685 end = outarg.offset + outarg.size; in fuse_notify_store()
1691 num = outarg.size; in fuse_notify_store()
1735 struct fuse_notify_retrieve_out *outarg) in fuse_retrieve() argument
1747 offset = outarg->offset & ~PAGE_CACHE_MASK; in fuse_retrieve()
1750 num = min(outarg->size, fc->max_write); in fuse_retrieve()
1751 if (outarg->offset > file_size) in fuse_retrieve()
1753 else if (outarg->offset + num > file_size) in fuse_retrieve()
1754 num = file_size - outarg->offset; in fuse_retrieve()
1764 req->in.h.nodeid = outarg->nodeid; in fuse_retrieve()
1769 index = outarg->offset >> PAGE_CACHE_SHIFT; in fuse_retrieve()
1790 req->misc.retrieve_in.offset = outarg->offset; in fuse_retrieve()
1796 err = fuse_request_send_notify_reply(fc, req, outarg->notify_unique); in fuse_retrieve()
1808 struct fuse_notify_retrieve_out outarg; in fuse_notify_retrieve() local
1813 if (size != sizeof(outarg)) in fuse_notify_retrieve()
1816 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_retrieve()
1825 u64 nodeid = outarg.nodeid; in fuse_notify_retrieve()
1829 err = fuse_retrieve(fc, inode, &outarg); in fuse_notify_retrieve()