Home
last modified time | relevance | path

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

/linux-4.19.296/fs/orangefs/
Dxattr.c127 length = new_op->downcall.resp.getxattr.val_sz; in orangefs_inode_getxattr()
145 memcpy(buffer, new_op->downcall.resp.getxattr.val, length); in orangefs_inode_getxattr()
345 total = new_op->downcall.resp.listxattr.returned_count * in orangefs_listxattr()
350 returned_count = new_op->downcall.resp.listxattr.returned_count; in orangefs_listxattr()
364 if (new_op->downcall.resp.listxattr.lengths[i] < 0 || in orangefs_listxattr()
365 new_op->downcall.resp.listxattr.lengths[i] > in orangefs_listxattr()
369 new_op->downcall.resp.listxattr.lengths[i]); in orangefs_listxattr()
373 if (total + new_op->downcall.resp.listxattr.lengths[i] > size) in orangefs_listxattr()
381 if (is_reserved_key(new_op->downcall.resp.listxattr.key + in orangefs_listxattr()
383 new_op->downcall.resp. in orangefs_listxattr()
[all …]
Dsuper.c174 if (new_op->downcall.status < 0) in orangefs_statfs()
182 (long)new_op->downcall.resp.statfs.blocks_avail, in orangefs_statfs()
183 (long)new_op->downcall.resp.statfs.blocks_total, in orangefs_statfs()
184 (long)new_op->downcall.resp.statfs.block_size, in orangefs_statfs()
185 (long)new_op->downcall.resp.statfs.files_total, in orangefs_statfs()
186 (long)new_op->downcall.resp.statfs.files_avail); in orangefs_statfs()
190 buf->f_bsize = new_op->downcall.resp.statfs.block_size; in orangefs_statfs()
193 buf->f_blocks = (sector_t) new_op->downcall.resp.statfs.blocks_total; in orangefs_statfs()
194 buf->f_bfree = (sector_t) new_op->downcall.resp.statfs.blocks_avail; in orangefs_statfs()
195 buf->f_bavail = (sector_t) new_op->downcall.resp.statfs.blocks_avail; in orangefs_statfs()
[all …]
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 …]
Dwaitqueue.c78 op->downcall.status = 0; in service_operation()
103 op->downcall.status = ret; in service_operation()
158 op->downcall.status = in service_operation()
159 orangefs_normalize_to_errno(op->downcall.status); in service_operation()
160 ret = op->downcall.status; in service_operation()
177 op->downcall.status = ret; in service_operation()
217 memset(&op->downcall, 0, sizeof(op->downcall)); in orangefs_cancel_op_in_progress()
220 op->downcall.type = ORANGEFS_VFS_OP_INVALID; in orangefs_cancel_op_in_progress()
221 op->downcall.status = -1; in orangefs_cancel_op_in_progress()
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 …]
Dorangefs-utils.c318 &new_op->downcall.resp.getattr.attributes, in orangefs_inode_getattr()
319 new_op->downcall.resp.getattr.link_target); in orangefs_inode_getattr()
327 downcall.resp.getattr.attributes.objtype); in orangefs_inode_getattr()
331 downcall.resp.getattr.attributes); in orangefs_inode_getattr()
334 downcall.resp.getattr.attributes.size; in orangefs_inode_getattr()
336 inode->i_blkbits = ffs(new_op->downcall.resp.getattr. in orangefs_inode_getattr()
357 downcall.resp.getattr.link_target); in orangefs_inode_getattr()
359 new_op->downcall.resp.getattr.link_target, in orangefs_inode_getattr()
377 downcall.resp.getattr.attributes.owner); in orangefs_inode_getattr()
379 downcall.resp.getattr.attributes.group); in orangefs_inode_getattr()
[all …]
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()
156 &new_op->downcall.resp.lookup.refn.khandle, in orangefs_lookup()
157 new_op->downcall.resp.lookup.refn.fs_id, in orangefs_lookup()
162 inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn); in orangefs_lookup()
261 &new_op->downcall.resp.sym.refn.khandle, in orangefs_symlink()
262 new_op->downcall.resp.sym.refn.fs_id, ret); in orangefs_symlink()
271 ref = new_op->downcall.resp.sym.refn; in orangefs_symlink()
338 &new_op->downcall.resp.mkdir.refn.khandle, in orangefs_mkdir()
[all …]
Ddcache.c58 if (!match_handle(new_op->downcall.resp.lookup.refn.khandle, in orangefs_revalidate_lookup()
71 if (new_op->downcall.status != 0) in orangefs_revalidate_lookup()
Dorangefs-cache.c127 new_op->downcall.type = ORANGEFS_VFS_OP_INVALID; in op_alloc()
128 new_op->downcall.status = -1; in op_alloc()
Dfile.c201 if (type == ORANGEFS_IO_READ && new_op->downcall.resp.io.amt_complete) { in wait_for_direct_io()
208 new_op->downcall.resp.io.amt_complete); in wait_for_direct_io()
220 (int)new_op->downcall.resp.io.amt_complete); in wait_for_direct_io()
222 ret = new_op->downcall.resp.io.amt_complete; in wait_for_direct_io()
Dorangefs-sysfs.c483 (int)new_op->downcall.resp.param.u. in sysfs_service_op_show()
485 (int)new_op->downcall.resp.param.u. in sysfs_service_op_show()
489 (int)new_op->downcall.resp.param.u.value64); in sysfs_service_op_show()
496 new_op->downcall.resp.perf_count.buffer); in sysfs_service_op_show()
Dorangefs-kernel.h132 struct orangefs_downcall_s downcall; member
/linux-4.19.296/include/linux/sunrpc/
Drpc_pipe_fs.h39 ssize_t (*downcall)(struct file *, const char __user *, size_t); member
/linux-4.19.296/fs/nfs/blocklayout/
Drpc_pipefs.c141 .downcall = bl_pipe_downcall,
/linux-4.19.296/fs/nfs/
Dnfs4idmap.c396 .downcall = idmap_pipe_downcall,
/linux-4.19.296/fs/nfsd/
Dnfs4recover.c772 .downcall = cld_pipe_downcall,