Lines Matching refs:outarg
1471 struct fuse_notify_poll_wakeup_out outarg; in fuse_notify_poll() local
1474 if (size != sizeof(outarg)) in fuse_notify_poll()
1477 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_poll()
1482 return fuse_notify_poll_wakeup(fc, &outarg); in fuse_notify_poll()
1492 struct fuse_notify_inval_inode_out outarg; in fuse_notify_inval_inode() local
1495 if (size != sizeof(outarg)) in fuse_notify_inval_inode()
1498 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_inval_inode()
1504 err = fuse_reverse_inval_inode(fc, outarg.ino, in fuse_notify_inval_inode()
1505 outarg.off, outarg.len); in fuse_notify_inval_inode()
1517 struct fuse_notify_inval_entry_out outarg; in fuse_notify_inval_entry() local
1527 if (size < sizeof(outarg)) in fuse_notify_inval_entry()
1530 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_inval_entry()
1535 if (outarg.namelen > FUSE_NAME_MAX) in fuse_notify_inval_entry()
1539 if (size != sizeof(outarg) + outarg.namelen + 1) in fuse_notify_inval_entry()
1543 name.len = outarg.namelen; in fuse_notify_inval_entry()
1544 err = fuse_copy_one(cs, buf, outarg.namelen + 1); in fuse_notify_inval_entry()
1548 buf[outarg.namelen] = 0; in fuse_notify_inval_entry()
1551 err = fuse_reverse_inval_entry(fc, outarg.parent, 0, &name, outarg.flags); in fuse_notify_inval_entry()
1565 struct fuse_notify_delete_out outarg; in fuse_notify_delete() local
1575 if (size < sizeof(outarg)) in fuse_notify_delete()
1578 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_delete()
1583 if (outarg.namelen > FUSE_NAME_MAX) in fuse_notify_delete()
1587 if (size != sizeof(outarg) + outarg.namelen + 1) in fuse_notify_delete()
1591 name.len = outarg.namelen; in fuse_notify_delete()
1592 err = fuse_copy_one(cs, buf, outarg.namelen + 1); in fuse_notify_delete()
1596 buf[outarg.namelen] = 0; in fuse_notify_delete()
1599 err = fuse_reverse_inval_entry(fc, outarg.parent, outarg.child, &name, 0); in fuse_notify_delete()
1613 struct fuse_notify_store_out outarg; in fuse_notify_store() local
1625 if (size < sizeof(outarg)) in fuse_notify_store()
1628 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_store()
1633 if (size - sizeof(outarg) != outarg.size) in fuse_notify_store()
1636 nodeid = outarg.nodeid; in fuse_notify_store()
1646 index = outarg.offset >> PAGE_SHIFT; in fuse_notify_store()
1647 offset = outarg.offset & ~PAGE_MASK; in fuse_notify_store()
1649 end = outarg.offset + outarg.size; in fuse_notify_store()
1652 fuse_write_update_attr(inode, file_size, outarg.size); in fuse_notify_store()
1655 num = outarg.size; in fuse_notify_store()
1711 struct fuse_notify_retrieve_out *outarg) in fuse_retrieve() argument
1727 offset = outarg->offset & ~PAGE_MASK; in fuse_retrieve()
1730 num = min(outarg->size, fc->max_write); in fuse_retrieve()
1731 if (outarg->offset > file_size) in fuse_retrieve()
1733 else if (outarg->offset + num > file_size) in fuse_retrieve()
1734 num = file_size - outarg->offset; in fuse_retrieve()
1750 args->nodeid = outarg->nodeid; in fuse_retrieve()
1756 index = outarg->offset >> PAGE_SHIFT; in fuse_retrieve()
1777 ra->inarg.offset = outarg->offset; in fuse_retrieve()
1783 err = fuse_simple_notify_reply(fm, args, outarg->notify_unique); in fuse_retrieve()
1793 struct fuse_notify_retrieve_out outarg; in fuse_notify_retrieve() local
1800 if (size != sizeof(outarg)) in fuse_notify_retrieve()
1803 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_retrieve()
1811 nodeid = outarg.nodeid; in fuse_notify_retrieve()
1815 err = fuse_retrieve(fm, inode, &outarg); in fuse_notify_retrieve()