Home
last modified time | relevance | path

Searched refs:downcall (Results 1 – 20 of 20) sorted by relevance

/linux/fs/orangefs/
H A Dsuper.c189 if (new_op->downcall.status < 0) in orangefs_statfs()
197 (long)new_op->downcall.resp.statfs.blocks_avail, in orangefs_statfs()
198 (long)new_op->downcall.resp.statfs.blocks_total, in orangefs_statfs()
199 (long)new_op->downcall.resp.statfs.block_size, in orangefs_statfs()
200 (long)new_op->downcall.resp.statfs.files_total, in orangefs_statfs()
201 (long)new_op->downcall.resp.statfs.files_avail); in orangefs_statfs()
206 buf->f_bsize = new_op->downcall.resp.statfs.block_size; in orangefs_statfs()
209 buf->f_blocks = (sector_t) new_op->downcall.resp.statfs.blocks_total; in orangefs_statfs()
210 buf->f_bfree = (sector_t) new_op->downcall.resp.statfs.blocks_avail; in orangefs_statfs()
211 buf->f_bavail = (sector_t) new_op->downcall.resp.statfs.blocks_avail; in orangefs_statfs()
[all …]
H A Ddevorangefs-req.c423 if (!copy_from_iter_full(&op->downcall, downcall_size, iter)) { in orangefs_devreq_write_iter()
428 if (op->downcall.status) in orangefs_devreq_write_iter()
436 if ((head_size + downcall_size + op->downcall.trailer_size) != total) { in orangefs_devreq_write_iter()
443 op->downcall.trailer_size, in orangefs_devreq_write_iter()
449 if ((op->downcall.type != ORANGEFS_VFS_OP_READDIR) && in orangefs_devreq_write_iter()
450 (op->downcall.trailer_size != 0)) { in orangefs_devreq_write_iter()
453 op->downcall.type); in orangefs_devreq_write_iter()
458 if ((op->downcall.type == ORANGEFS_VFS_OP_READDIR) && in orangefs_devreq_write_iter()
459 (op->downcall.trailer_size == 0)) { in orangefs_devreq_write_iter()
462 op->downcall.type); in orangefs_devreq_write_iter()
[all …]
H A Dxattr.c188 length = new_op->downcall.resp.getxattr.val_sz; in orangefs_inode_getxattr()
206 memcpy(buffer, new_op->downcall.resp.getxattr.val, length); in orangefs_inode_getxattr()
449 total = new_op->downcall.resp.listxattr.returned_count * in orangefs_listxattr()
454 returned_count = new_op->downcall.resp.listxattr.returned_count; in orangefs_listxattr()
468 if (new_op->downcall.resp.listxattr.lengths[i] < 0 || in orangefs_listxattr()
469 new_op->downcall.resp.listxattr.lengths[i] > in orangefs_listxattr()
473 new_op->downcall.resp.listxattr.lengths[i]); in orangefs_listxattr()
477 if (total + new_op->downcall.resp.listxattr.lengths[i] > size) in orangefs_listxattr()
485 if (is_reserved_key(new_op->downcall.resp.listxattr.key + in orangefs_listxattr()
487 new_op->downcall.resp. in orangefs_listxattr()
[all …]
H A Ddir.c96 vfree(op->downcall.trailer_buf); in do_readdir()
99 vfree(op->downcall.trailer_buf); in do_readdir()
106 vfree(op->downcall.trailer_buf); in do_readdir()
109 } else if (op->downcall.status) { in do_readdir()
110 vfree(op->downcall.trailer_buf); in do_readdir()
111 od->error = op->downcall.status; in do_readdir()
112 return op->downcall.status; in do_readdir()
119 if (op->downcall.trailer_size > PART_SIZE) { in do_readdir()
120 vfree(op->downcall.trailer_buf); in do_readdir()
126 op->downcall.trailer_buf; in do_readdir()
[all …]
H A Dwaitqueue.c78 op->downcall.status = 0; in service_operation()
103 op->downcall.status = ret; in service_operation()
156 op->downcall.status = in service_operation()
157 orangefs_normalize_to_errno(op->downcall.status); in service_operation()
158 ret = op->downcall.status; in service_operation()
175 op->downcall.status = ret; in service_operation()
215 memset(&op->downcall, 0, sizeof(op->downcall)); in orangefs_cancel_op_in_progress()
218 op->downcall.type = ORANGEFS_VFS_OP_INVALID; in orangefs_cancel_op_in_progress()
219 op->downcall.status = -1; in orangefs_cancel_op_in_progress()
H A Dorangefs-utils.c302 &new_op->downcall.resp.getattr.attributes, in orangefs_inode_getattr()
303 new_op->downcall.resp.getattr.link_target); in orangefs_inode_getattr()
311 downcall.resp.getattr.attributes.objtype); in orangefs_inode_getattr()
315 downcall.resp.getattr.attributes); in orangefs_inode_getattr()
318 downcall.resp.getattr.attributes.size; in orangefs_inode_getattr()
320 inode->i_blkbits = ffs(new_op->downcall.resp.getattr. in orangefs_inode_getattr()
337 downcall.resp.getattr.link_target); in orangefs_inode_getattr()
339 new_op->downcall.resp.getattr.link_target, in orangefs_inode_getattr()
357 downcall.resp.getattr.attributes.owner); in orangefs_inode_getattr()
359 downcall.resp.getattr.attributes.group); in orangefs_inode_getattr()
[all …]
H A Dnamei.c52 &new_op->downcall.resp.create.refn.khandle, in orangefs_create()
53 new_op->downcall.resp.create.refn.fs_id, in orangefs_create()
60 ref = new_op->downcall.resp.create.refn; in orangefs_create()
152 &new_op->downcall.resp.lookup.refn.khandle, in orangefs_lookup()
153 new_op->downcall.resp.lookup.refn.fs_id, in orangefs_lookup()
158 inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn); in orangefs_lookup()
254 &new_op->downcall.resp.sym.refn.khandle, in orangefs_symlink()
255 new_op->downcall.resp.sym.refn.fs_id, ret); in orangefs_symlink()
264 ref = new_op->downcall.resp.sym.refn; in orangefs_symlink()
328 &new_op->downcall.resp.mkdir.refn.khandle, in orangefs_mkdir()
[all …]
H A Ddcache.c56 if (!match_handle(new_op->downcall.resp.lookup.refn.khandle, in orangefs_revalidate_lookup()
69 if (new_op->downcall.status != 0) in orangefs_revalidate_lookup()
H A Dorangefs-cache.c127 new_op->downcall.type = ORANGEFS_VFS_OP_INVALID; in op_alloc()
128 new_op->downcall.status = -1; in op_alloc()
H A Dfile.c245 if (type == ORANGEFS_IO_READ && new_op->downcall.resp.io.amt_complete) { in wait_for_direct_io()
252 copy_amount = new_op->downcall.resp.io.amt_complete; in wait_for_direct_io()
267 (int)new_op->downcall.resp.io.amt_complete); in wait_for_direct_io()
269 ret = new_op->downcall.resp.io.amt_complete; in wait_for_direct_io()
H A Dorangefs-sysfs.c501 (int)new_op->downcall.resp.param.u. in sysfs_service_op_show()
503 (int)new_op->downcall.resp.param.u. in sysfs_service_op_show()
507 (int)new_op->downcall.resp.param.u.value64); in sysfs_service_op_show()
514 new_op->downcall.resp.perf_count.buffer); in sysfs_service_op_show()
H A Dorangefs-kernel.h125 struct orangefs_downcall_s downcall; member
/linux/include/linux/sunrpc/
H A Drpc_pipe_fs.h37 ssize_t (*downcall)(struct file *, const char __user *, size_t); member
/linux/fs/nfs/blocklayout/
H A Drpc_pipefs.c140 .downcall = bl_pipe_downcall,
/linux/Documentation/filesystems/
H A Dorangefs.rst315 contains the "downcall" which expresses the results of the request.
330 - op is in progress (waiting for downcall)
332 - op has matching downcall; ok
370 Service operation returns to its caller with the op's downcall
H A Dcoda.rst192 information must be flushed or replaced. Venus then makes a downcall
260 * The message is a ``downcall``. A downcall is a request from Venus to
1430 no longer valid, it will make a downcall to the kernel. Downcalls are
1433 unless the downcall data could not be read into kernel memory.
1458 When this is done, this downcall is made.
1541 as in the arguments. This downcall is probably never issued.
/linux/net/sunrpc/
H A Drpc_pipe.c333 res = RPC_I(inode)->pipe->ops->downcall(filp, buf, len); in rpc_pipe_write()
797 * responses to upcalls. They will result in calls to @msg->downcall.
812 if (pipe->ops->downcall == NULL) in rpc_mkpipe_dentry()
1260 .downcall = dummy_downcall,
/linux/fs/nfs/
H A Dnfs4idmap.c406 .downcall = idmap_pipe_downcall,
/linux/net/sunrpc/auth_gss/
H A Dauth_gss.c2221 .downcall = gss_pipe_downcall,
2229 .downcall = gss_pipe_downcall,
/linux/fs/nfsd/
H A Dnfs4recover.c945 .downcall = cld_pipe_downcall,