/kernel/linux/linux-5.10/fs/orangefs/ |
H A D | orangefs-sysfs.c | 351 new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_GET; in sysfs_service_op_show() 365 new_op->upcall.req.param.op = in sysfs_service_op_show() 369 new_op->upcall.req.param.op = in sysfs_service_op_show() 373 new_op->upcall.req.param.op = in sysfs_service_op_show() 378 new_op->upcall.req.param.op = in sysfs_service_op_show() 383 new_op->upcall.req.param.op = in sysfs_service_op_show() 388 new_op->upcall.req.param.op = in sysfs_service_op_show() 393 new_op->upcall.req.param.op = in sysfs_service_op_show() 397 new_op->upcall.req.param.op = in sysfs_service_op_show() 401 new_op->upcall in sysfs_service_op_show() [all...] |
H A D | orangefs-utils.c | 19 switch (op->upcall.type) { in fsid_of_op() 21 fsid = op->upcall.req.io.refn.fs_id; in fsid_of_op() 24 fsid = op->upcall.req.lookup.parent_refn.fs_id; in fsid_of_op() 27 fsid = op->upcall.req.create.parent_refn.fs_id; in fsid_of_op() 30 fsid = op->upcall.req.getattr.refn.fs_id; in fsid_of_op() 33 fsid = op->upcall.req.remove.parent_refn.fs_id; in fsid_of_op() 36 fsid = op->upcall.req.mkdir.parent_refn.fs_id; in fsid_of_op() 39 fsid = op->upcall.req.readdir.refn.fs_id; in fsid_of_op() 42 fsid = op->upcall.req.setattr.refn.fs_id; in fsid_of_op() 45 fsid = op->upcall in fsid_of_op() [all...] |
H A D | namei.c | 38 new_op->upcall.req.create.parent_refn = parent->refn; in orangefs_create() 40 fill_default_sys_attrs(new_op->upcall.req.create.attributes, in orangefs_create() 43 strncpy(new_op->upcall.req.create.d_name, in orangefs_create() 130 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_lookup() 137 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_lookup() 139 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, in orangefs_lookup() 145 new_op->upcall.req.lookup.d_name, in orangefs_lookup() 146 &new_op->upcall.req.lookup.parent_refn.khandle, in orangefs_lookup() 147 new_op->upcall.req.lookup.parent_refn.fs_id); in orangefs_lookup() 193 new_op->upcall in orangefs_unlink() [all...] |
H A D | xattr.c | 152 new_op->upcall.req.getxattr.refn = orangefs_inode->refn; in orangefs_inode_getxattr() 153 strcpy(new_op->upcall.req.getxattr.key, name); in orangefs_inode_getxattr() 160 new_op->upcall.req.getxattr.key_sz = strlen(name) + 1; in orangefs_inode_getxattr() 171 (char *)new_op->upcall.req.getxattr.key); in orangefs_inode_getxattr() 213 upcall.req.getxattr.key, in orangefs_inode_getxattr() 215 upcall.req.getxattr.key_sz, in orangefs_inode_getxattr() 262 new_op->upcall.req.removexattr.refn = orangefs_inode->refn; in orangefs_inode_removexattr() 268 strcpy(new_op->upcall.req.removexattr.key, name); in orangefs_inode_removexattr() 269 new_op->upcall.req.removexattr.key_sz = strlen(name) + 1; in orangefs_inode_removexattr() 273 (char *)new_op->upcall in orangefs_inode_removexattr() [all...] |
H A D | waitqueue.c | 74 op->upcall.tgid = current->tgid; in service_operation() 75 op->upcall.pid = current->pid; in service_operation() 136 if (op->upcall.type == ORANGEFS_VFS_OP_FS_UMOUNT) in service_operation() 213 op->slot_to_free = op->upcall.req.io.buf_index; in orangefs_cancel_op_in_progress() 214 memset(&op->upcall, 0, sizeof(op->upcall)); in orangefs_cancel_op_in_progress() 216 op->upcall.type = ORANGEFS_VFS_OP_CANCEL; in orangefs_cancel_op_in_progress() 217 op->upcall.req.cancel.op_tag = tag; in orangefs_cancel_op_in_progress() 273 * upcall hasn't been read; remove op from upcall reques [all...] |
H A D | orangefs-cache.c | 11 /* tags assigned to kernel upcall operations */ 17 /* a cache for orangefs upcall/downcall operations */ 49 __s32 type = new_op->upcall.type; in get_opname_string() 126 new_op->upcall.type = ORANGEFS_VFS_OP_INVALID; in op_alloc() 132 /* initialize the op specific tag and upcall credentials */ in op_alloc() 134 new_op->upcall.type = type; in op_alloc() 142 new_op->upcall.uid = from_kuid(&init_user_ns, in op_alloc() 145 new_op->upcall.gid = from_kgid(&init_user_ns, in op_alloc()
|
H A D | file.c | 33 new_op->upcall.req.ra_cache_flush.refn = orangefs_inode->refn; in flush_racache() 46 * Post and wait for the I/O upcall to finish 67 new_op->upcall.req.io.readahead_size = readahead_size; in wait_for_direct_io() 68 new_op->upcall.req.io.io_type = type; in wait_for_direct_io() 69 new_op->upcall.req.io.refn = orangefs_inode->refn; in wait_for_direct_io() 89 new_op->upcall.req.io.buf_index = buffer_index; in wait_for_direct_io() 90 new_op->upcall.req.io.count = total_size; in wait_for_direct_io() 91 new_op->upcall.req.io.offset = *offset; in wait_for_direct_io() 93 new_op->upcall.uid = from_kuid(&init_user_ns, wr->uid); in wait_for_direct_io() 94 new_op->upcall in wait_for_direct_io() [all...] |
H A D | super.c | 181 new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_statfs() 255 strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_remount() 261 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_remount() 289 new_op->upcall.req.features.features = 0; in orangefs_remount() 400 op->upcall.req.fs_umount.id = id; in orangefs_unmount() 401 op->upcall.req.fs_umount.fs_id = fs_id; in orangefs_unmount() 402 strncpy(op->upcall.req.fs_umount.orangefs_config_server, in orangefs_unmount() 496 strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_mount() 502 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_mount() 571 new_op->upcall in orangefs_mount() [all...] |
H A D | dcache.c | 34 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_revalidate_lookup() 35 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_revalidate_lookup() 36 strncpy(new_op->upcall.req.lookup.d_name, in orangefs_revalidate_lookup()
|
H A D | dir.c | 75 op->upcall.req.readdir.refn = oi->refn; in do_readdir() 76 op->upcall.req.readdir.token = od->token; in do_readdir() 77 op->upcall.req.readdir.max_dirent_count = in do_readdir() 87 op->upcall.req.readdir.buf_index = bufi; in do_readdir()
|
H A D | devorangefs-req.c | 224 !(op->upcall.type == in orangefs_devreq_read() 226 op->upcall.type == in orangefs_devreq_read() 228 op->upcall.type == in orangefs_devreq_read() 280 /* Push the upcall out. */ in orangefs_devreq_read() 293 &cur_op->upcall, in orangefs_devreq_read() 634 * upcall/downcall waiting. also, the request mutex is in dispatch_ioctl_command()
|
/kernel/linux/linux-6.6/fs/orangefs/ |
H A D | orangefs-sysfs.c | 351 new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_GET; in sysfs_service_op_show() 365 new_op->upcall.req.param.op = in sysfs_service_op_show() 369 new_op->upcall.req.param.op = in sysfs_service_op_show() 373 new_op->upcall.req.param.op = in sysfs_service_op_show() 378 new_op->upcall.req.param.op = in sysfs_service_op_show() 383 new_op->upcall.req.param.op = in sysfs_service_op_show() 388 new_op->upcall.req.param.op = in sysfs_service_op_show() 393 new_op->upcall.req.param.op = in sysfs_service_op_show() 397 new_op->upcall.req.param.op = in sysfs_service_op_show() 401 new_op->upcall in sysfs_service_op_show() [all...] |
H A D | orangefs-utils.c | 19 switch (op->upcall.type) { in fsid_of_op() 21 fsid = op->upcall.req.io.refn.fs_id; in fsid_of_op() 24 fsid = op->upcall.req.lookup.parent_refn.fs_id; in fsid_of_op() 27 fsid = op->upcall.req.create.parent_refn.fs_id; in fsid_of_op() 30 fsid = op->upcall.req.getattr.refn.fs_id; in fsid_of_op() 33 fsid = op->upcall.req.remove.parent_refn.fs_id; in fsid_of_op() 36 fsid = op->upcall.req.mkdir.parent_refn.fs_id; in fsid_of_op() 39 fsid = op->upcall.req.readdir.refn.fs_id; in fsid_of_op() 42 fsid = op->upcall.req.setattr.refn.fs_id; in fsid_of_op() 45 fsid = op->upcall in fsid_of_op() [all...] |
H A D | xattr.c | 152 new_op->upcall.req.getxattr.refn = orangefs_inode->refn; in orangefs_inode_getxattr() 153 strcpy(new_op->upcall.req.getxattr.key, name); in orangefs_inode_getxattr() 160 new_op->upcall.req.getxattr.key_sz = strlen(name) + 1; in orangefs_inode_getxattr() 171 (char *)new_op->upcall.req.getxattr.key); in orangefs_inode_getxattr() 213 upcall.req.getxattr.key, in orangefs_inode_getxattr() 215 upcall.req.getxattr.key_sz, in orangefs_inode_getxattr() 262 new_op->upcall.req.removexattr.refn = orangefs_inode->refn; in orangefs_inode_removexattr() 268 strcpy(new_op->upcall.req.removexattr.key, name); in orangefs_inode_removexattr() 269 new_op->upcall.req.removexattr.key_sz = strlen(name) + 1; in orangefs_inode_removexattr() 273 (char *)new_op->upcall in orangefs_inode_removexattr() [all...] |
H A D | namei.c | 39 new_op->upcall.req.create.parent_refn = parent->refn; in orangefs_create() 41 fill_default_sys_attrs(new_op->upcall.req.create.attributes, in orangefs_create() 44 strncpy(new_op->upcall.req.create.d_name, in orangefs_create() 131 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_lookup() 138 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_lookup() 140 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, in orangefs_lookup() 146 new_op->upcall.req.lookup.d_name, in orangefs_lookup() 147 &new_op->upcall.req.lookup.parent_refn.khandle, in orangefs_lookup() 148 new_op->upcall.req.lookup.parent_refn.fs_id); in orangefs_lookup() 194 new_op->upcall in orangefs_unlink() [all...] |
H A D | waitqueue.c | 74 op->upcall.tgid = current->tgid; in service_operation() 75 op->upcall.pid = current->pid; in service_operation() 136 if (op->upcall.type == ORANGEFS_VFS_OP_FS_UMOUNT) in service_operation() 213 op->slot_to_free = op->upcall.req.io.buf_index; in orangefs_cancel_op_in_progress() 214 memset(&op->upcall, 0, sizeof(op->upcall)); in orangefs_cancel_op_in_progress() 216 op->upcall.type = ORANGEFS_VFS_OP_CANCEL; in orangefs_cancel_op_in_progress() 217 op->upcall.req.cancel.op_tag = tag; in orangefs_cancel_op_in_progress() 273 * upcall hasn't been read; remove op from upcall reques [all...] |
H A D | orangefs-cache.c | 11 /* tags assigned to kernel upcall operations */ 17 /* a cache for orangefs upcall/downcall operations */ 49 __s32 type = new_op->upcall.type; in get_opname_string() 126 new_op->upcall.type = ORANGEFS_VFS_OP_INVALID; in op_alloc() 132 /* initialize the op specific tag and upcall credentials */ in op_alloc() 134 new_op->upcall.type = type; in op_alloc() 142 new_op->upcall.uid = from_kuid(&init_user_ns, in op_alloc() 145 new_op->upcall.gid = from_kgid(&init_user_ns, in op_alloc()
|
H A D | file.c | 34 new_op->upcall.req.ra_cache_flush.refn = orangefs_inode->refn; in flush_racache() 47 * Post and wait for the I/O upcall to finish 68 new_op->upcall.req.io.readahead_size = readahead_size; in wait_for_direct_io() 69 new_op->upcall.req.io.io_type = type; in wait_for_direct_io() 70 new_op->upcall.req.io.refn = orangefs_inode->refn; in wait_for_direct_io() 90 new_op->upcall.req.io.buf_index = buffer_index; in wait_for_direct_io() 91 new_op->upcall.req.io.count = total_size; in wait_for_direct_io() 92 new_op->upcall.req.io.offset = *offset; in wait_for_direct_io() 94 new_op->upcall.uid = from_kuid(&init_user_ns, wr->uid); in wait_for_direct_io() 95 new_op->upcall in wait_for_direct_io() [all...] |
H A D | super.c | 182 new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_statfs() 256 strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_remount() 262 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_remount() 290 new_op->upcall.req.features.features = 0; in orangefs_remount() 401 op->upcall.req.fs_umount.id = id; in orangefs_unmount() 402 op->upcall.req.fs_umount.fs_id = fs_id; in orangefs_unmount() 403 strncpy(op->upcall.req.fs_umount.orangefs_config_server, in orangefs_unmount() 497 strncpy(new_op->upcall.req.fs_mount.orangefs_config_server, in orangefs_mount() 503 new_op->upcall.req.fs_mount.orangefs_config_server); in orangefs_mount() 572 new_op->upcall in orangefs_mount() [all...] |
H A D | dcache.c | 34 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_revalidate_lookup() 35 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_revalidate_lookup() 36 strncpy(new_op->upcall.req.lookup.d_name, in orangefs_revalidate_lookup()
|
H A D | dir.c | 75 op->upcall.req.readdir.refn = oi->refn; in do_readdir() 76 op->upcall.req.readdir.token = od->token; in do_readdir() 77 op->upcall.req.readdir.max_dirent_count = in do_readdir() 87 op->upcall.req.readdir.buf_index = bufi; in do_readdir()
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | nfs4idmap.c | 405 .upcall = rpc_pipe_generic_upcall, 632 struct idmap_msg *upcall, in nfs_idmap_read_and_verify_message() 640 if (upcall->im_type != im->im_type || upcall->im_conv != im->im_conv) in nfs_idmap_read_and_verify_message() 644 if (strcmp(upcall->im_name, im->im_name) != 0) in nfs_idmap_read_and_verify_message() 652 if (upcall->im_id != im->im_id) in nfs_idmap_read_and_verify_message() 631 nfs_idmap_read_and_verify_message(struct idmap_msg *im, struct idmap_msg *upcall, struct key *key, struct key *authkey) nfs_idmap_read_and_verify_message() argument
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | nfs4idmap.c | 405 .upcall = rpc_pipe_generic_upcall, 632 struct idmap_msg *upcall, in nfs_idmap_read_and_verify_message() 640 if (upcall->im_type != im->im_type || upcall->im_conv != im->im_conv) in nfs_idmap_read_and_verify_message() 644 if (strcmp(upcall->im_name, im->im_name) != 0) in nfs_idmap_read_and_verify_message() 652 if (upcall->im_id != im->im_id) in nfs_idmap_read_and_verify_message() 631 nfs_idmap_read_and_verify_message(struct idmap_msg *im, struct idmap_msg *upcall, struct key *key, struct key *authkey) nfs_idmap_read_and_verify_message() argument
|
/kernel/linux/linux-5.10/fs/coda/ |
H A D | Makefile | 8 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
|
/kernel/linux/linux-6.6/fs/coda/ |
H A D | Makefile | 8 coda-objs := psdev.o cache.o cnode.o inode.o dir.o file.o upcall.o \
|