Lines Matching refs:outarg

1291 	struct fuse_notify_poll_wakeup_out outarg;  in fuse_notify_poll()  local
1294 if (size != sizeof(outarg)) in fuse_notify_poll()
1297 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_poll()
1302 return fuse_notify_poll_wakeup(fc, &outarg); in fuse_notify_poll()
1312 struct fuse_notify_inval_inode_out outarg; in fuse_notify_inval_inode() local
1315 if (size != sizeof(outarg)) in fuse_notify_inval_inode()
1318 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_inval_inode()
1326 err = fuse_reverse_inval_inode(fc->sb, outarg.ino, in fuse_notify_inval_inode()
1327 outarg.off, outarg.len); in fuse_notify_inval_inode()
1340 struct fuse_notify_inval_entry_out outarg; in fuse_notify_inval_entry() local
1350 if (size < sizeof(outarg)) in fuse_notify_inval_entry()
1353 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_inval_entry()
1358 if (outarg.namelen > FUSE_NAME_MAX) in fuse_notify_inval_entry()
1362 name.len = outarg.namelen; in fuse_notify_inval_entry()
1363 err = fuse_copy_one(cs, buf, outarg.namelen + 1); in fuse_notify_inval_entry()
1367 buf[outarg.namelen] = 0; in fuse_notify_inval_entry()
1373 err = fuse_reverse_inval_entry(fc->sb, outarg.parent, &name); in fuse_notify_inval_entry()
1387 struct fuse_notify_store_out outarg; in fuse_notify_store() local
1399 if (size < sizeof(outarg)) in fuse_notify_store()
1402 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_store()
1407 if (size - sizeof(outarg) != outarg.size) in fuse_notify_store()
1410 nodeid = outarg.nodeid; in fuse_notify_store()
1423 index = outarg.offset >> PAGE_CACHE_SHIFT; in fuse_notify_store()
1424 offset = outarg.offset & ~PAGE_CACHE_MASK; in fuse_notify_store()
1426 end = outarg.offset + outarg.size; in fuse_notify_store()
1432 num = outarg.size; in fuse_notify_store()
1475 struct fuse_notify_retrieve_out *outarg) in fuse_retrieve() argument
1490 offset = outarg->offset & ~PAGE_CACHE_MASK; in fuse_retrieve()
1493 req->in.h.nodeid = outarg->nodeid; in fuse_retrieve()
1499 index = outarg->offset >> PAGE_CACHE_SHIFT; in fuse_retrieve()
1501 num = outarg->size; in fuse_retrieve()
1502 if (outarg->offset > file_size) in fuse_retrieve()
1504 else if (outarg->offset + num > file_size) in fuse_retrieve()
1505 num = file_size - outarg->offset; in fuse_retrieve()
1522 req->misc.retrieve_in.offset = outarg->offset; in fuse_retrieve()
1528 err = fuse_request_send_notify_reply(fc, req, outarg->notify_unique); in fuse_retrieve()
1538 struct fuse_notify_retrieve_out outarg; in fuse_notify_retrieve() local
1543 if (size != sizeof(outarg)) in fuse_notify_retrieve()
1546 err = fuse_copy_one(cs, &outarg, sizeof(outarg)); in fuse_notify_retrieve()
1555 u64 nodeid = outarg.nodeid; in fuse_notify_retrieve()
1559 err = fuse_retrieve(fc, inode, &outarg); in fuse_notify_retrieve()