Lines Matching refs:outarg

1424 	struct fuse_notify_poll_wakeup_out outarg;  in fuse_notify_poll()  local
1427 if (size != sizeof(outarg)) in fuse_notify_poll()
1430 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_poll()
1435 return fuse_notify_poll_wakeup(fc, &outarg); in fuse_notify_poll()
1445 struct fuse_notify_inval_inode_out outarg; in fuse_notify_inval_inode() local
1448 if (size != sizeof(outarg)) in fuse_notify_inval_inode()
1451 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_inval_inode()
1457 err = fuse_reverse_inval_inode(fc, outarg.ino, in fuse_notify_inval_inode()
1458 outarg.off, outarg.len); in fuse_notify_inval_inode()
1470 struct fuse_notify_inval_entry_out outarg; in fuse_notify_inval_entry() local
1480 if (size < sizeof(outarg)) in fuse_notify_inval_entry()
1483 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_inval_entry()
1488 if (outarg.namelen > FUSE_NAME_MAX) in fuse_notify_inval_entry()
1492 if (size != sizeof(outarg) + outarg.namelen + 1) in fuse_notify_inval_entry()
1496 name.len = outarg.namelen; in fuse_notify_inval_entry()
1497 err = fuse_copy_one(cs, buf, outarg.namelen + 1); in fuse_notify_inval_entry()
1501 buf[outarg.namelen] = 0; in fuse_notify_inval_entry()
1504 err = fuse_reverse_inval_entry(fc, outarg.parent, 0, &name, outarg.flags); in fuse_notify_inval_entry()
1518 struct fuse_notify_delete_out outarg; in fuse_notify_delete() local
1528 if (size < sizeof(outarg)) in fuse_notify_delete()
1531 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_delete()
1536 if (outarg.namelen > FUSE_NAME_MAX) in fuse_notify_delete()
1540 if (size != sizeof(outarg) + outarg.namelen + 1) in fuse_notify_delete()
1544 name.len = outarg.namelen; in fuse_notify_delete()
1545 err = fuse_copy_one(cs, buf, outarg.namelen + 1); in fuse_notify_delete()
1549 buf[outarg.namelen] = 0; in fuse_notify_delete()
1552 err = fuse_reverse_inval_entry(fc, outarg.parent, outarg.child, &name, 0); in fuse_notify_delete()
1566 struct fuse_notify_store_out outarg; in fuse_notify_store() local
1578 if (size < sizeof(outarg)) in fuse_notify_store()
1581 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_store()
1586 if (size - sizeof(outarg) != outarg.size) in fuse_notify_store()
1589 nodeid = outarg.nodeid; in fuse_notify_store()
1599 index = outarg.offset >> PAGE_SHIFT; in fuse_notify_store()
1600 offset = outarg.offset & ~PAGE_MASK; in fuse_notify_store()
1602 end = outarg.offset + outarg.size; in fuse_notify_store()
1605 fuse_write_update_attr(inode, file_size, outarg.size); in fuse_notify_store()
1608 num = outarg.size; in fuse_notify_store()
1664 struct fuse_notify_retrieve_out *outarg) in fuse_retrieve() argument
1680 offset = outarg->offset & ~PAGE_MASK; in fuse_retrieve()
1683 num = min(outarg->size, fc->max_write); in fuse_retrieve()
1684 if (outarg->offset > file_size) in fuse_retrieve()
1686 else if (outarg->offset + num > file_size) in fuse_retrieve()
1687 num = file_size - outarg->offset; in fuse_retrieve()
1703 args->nodeid = outarg->nodeid; in fuse_retrieve()
1709 index = outarg->offset >> PAGE_SHIFT; in fuse_retrieve()
1730 ra->inarg.offset = outarg->offset; in fuse_retrieve()
1736 err = fuse_simple_notify_reply(fm, args, outarg->notify_unique); in fuse_retrieve()
1746 struct fuse_notify_retrieve_out outarg; in fuse_notify_retrieve() local
1753 if (size != sizeof(outarg)) in fuse_notify_retrieve()
1756 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_retrieve()
1764 nodeid = outarg.nodeid; in fuse_notify_retrieve()
1768 err = fuse_retrieve(fm, inode, &outarg); in fuse_notify_retrieve()