/kernel/linux/linux-5.10/fs/orangefs/ |
H A D | namei.c | 24 struct orangefs_kernel_op_s *new_op; in orangefs_create() local 34 new_op = op_alloc(ORANGEFS_VFS_OP_CREATE); in orangefs_create() 35 if (!new_op) in orangefs_create() 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() 46 ret = service_operation(new_op, __func__, get_interruptible_flag(dir)); in orangefs_create() 49 "%s: %pd: handle:%pU: fsid:%d: new_op:%p: ret:%d:\n", in orangefs_create() 52 &new_op->downcall.resp.create.refn.khandle, in orangefs_create() 53 new_op in orangefs_create() 108 struct orangefs_kernel_op_s *new_op; orangefs_lookup() local 176 struct orangefs_kernel_op_s *new_op; orangefs_unlink() local 223 struct orangefs_kernel_op_s *new_op; orangefs_symlink() local 309 struct orangefs_kernel_op_s *new_op; orangefs_mkdir() local 381 struct orangefs_kernel_op_s *new_op; orangefs_rename() local [all...] |
H A D | xattr.c | 97 struct orangefs_kernel_op_s *new_op = NULL; in orangefs_inode_getxattr() local 148 new_op = op_alloc(ORANGEFS_VFS_OP_GETXATTR); in orangefs_inode_getxattr() 149 if (!new_op) in orangefs_inode_getxattr() 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() 162 ret = service_operation(new_op, "orangefs_inode_getxattr", in orangefs_inode_getxattr() 171 (char *)new_op->upcall.req.getxattr.key); in orangefs_inode_getxattr() 188 length = new_op->downcall.resp.getxattr.val_sz; in orangefs_inode_getxattr() 206 memcpy(buffer, new_op in orangefs_inode_getxattr() 248 struct orangefs_kernel_op_s *new_op = NULL; orangefs_inode_removexattr() local 318 struct orangefs_kernel_op_s *new_op; orangefs_inode_setxattr() local 410 struct orangefs_kernel_op_s *new_op; orangefs_listxattr() local [all...] |
H A D | orangefs-cache.c | 46 char *get_opname_string(struct orangefs_kernel_op_s *new_op) in get_opname_string() argument 48 if (new_op) { in get_opname_string() 49 __s32 type = new_op->upcall.type; in get_opname_string() 118 struct orangefs_kernel_op_s *new_op = NULL; in op_alloc() local 120 new_op = kmem_cache_zalloc(op_cache, GFP_KERNEL); in op_alloc() 121 if (new_op) { in op_alloc() 122 INIT_LIST_HEAD(&new_op->list); in op_alloc() 123 spin_lock_init(&new_op->lock); in op_alloc() 124 init_completion(&new_op->waitq); in op_alloc() 126 new_op in op_alloc() [all...] |
H A D | super.c | 166 struct orangefs_kernel_op_s *new_op = NULL; in orangefs_statfs() local 178 new_op = op_alloc(ORANGEFS_VFS_OP_STATFS); in orangefs_statfs() 179 if (!new_op) in orangefs_statfs() 181 new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_statfs() 186 ret = service_operation(new_op, "orangefs_statfs", flags); in orangefs_statfs() 188 if (new_op->downcall.status < 0) in orangefs_statfs() 196 (long)new_op->downcall.resp.statfs.blocks_avail, in orangefs_statfs() 197 (long)new_op->downcall.resp.statfs.blocks_total, in orangefs_statfs() 198 (long)new_op->downcall.resp.statfs.block_size, in orangefs_statfs() 199 (long)new_op in orangefs_statfs() 247 struct orangefs_kernel_op_s *new_op; orangefs_remount() local 480 struct orangefs_kernel_op_s *new_op; orangefs_mount() local [all...] |
H A D | orangefs-sysfs.c | 323 struct orangefs_kernel_op_s *new_op = NULL; in sysfs_service_op_show() local 337 new_op = op_alloc(op_alloc_type); in sysfs_service_op_show() 338 if (!new_op) in sysfs_service_op_show() 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 in sysfs_service_op_show() 538 struct orangefs_kernel_op_s *new_op = NULL; sysfs_service_op_store() local [all...] |
H A D | orangefs-utils.c | 239 struct orangefs_kernel_op_s *new_op; in orangefs_inode_getattr() local 261 new_op = op_alloc(ORANGEFS_VFS_OP_GETATTR); in orangefs_inode_getattr() 262 if (!new_op) in orangefs_inode_getattr() 264 new_op->upcall.req.getattr.refn = orangefs_inode->refn; in orangefs_inode_getattr() 270 new_op->upcall.req.getattr.mask = ORANGEFS_ATTR_SYS_ALL_NOHINT; in orangefs_inode_getattr() 272 new_op->upcall.req.getattr.mask = in orangefs_inode_getattr() 275 ret = service_operation(new_op, __func__, in orangefs_inode_getattr() 302 &new_op->downcall.resp.getattr.attributes, in orangefs_inode_getattr() 303 new_op->downcall.resp.getattr.link_target); in orangefs_inode_getattr() 310 type = orangefs_inode_type(new_op in orangefs_inode_getattr() 387 struct orangefs_kernel_op_s *new_op; orangefs_inode_check_changed() local 420 struct orangefs_kernel_op_s *new_op; orangefs_inode_setattr() local [all...] |
H A D | file.c | 22 struct orangefs_kernel_op_s *new_op; in flush_racache() local 30 new_op = op_alloc(ORANGEFS_VFS_OP_RA_FLUSH); in flush_racache() 31 if (!new_op) in flush_racache() 33 new_op->upcall.req.ra_cache_flush.refn = orangefs_inode->refn; in flush_racache() 35 ret = service_operation(new_op, "orangefs_flush_racache", in flush_racache() 41 op_release(new_op); in flush_racache() 55 struct orangefs_kernel_op_s *new_op = NULL; in wait_for_direct_io() local 62 new_op = op_alloc(ORANGEFS_VFS_OP_FILE_IO); in wait_for_direct_io() 63 if (!new_op) in wait_for_direct_io() 67 new_op in wait_for_direct_io() 550 struct orangefs_kernel_op_s *new_op = NULL; orangefs_fsync() local [all...] |
H A D | dcache.c | 22 struct orangefs_kernel_op_s *new_op; in orangefs_revalidate_lookup() local 28 new_op = op_alloc(ORANGEFS_VFS_OP_LOOKUP); in orangefs_revalidate_lookup() 29 if (!new_op) { in orangefs_revalidate_lookup() 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() 47 err = service_operation(new_op, "orangefs_lookup", in orangefs_revalidate_lookup() 58 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() 82 op_release(new_op); in orangefs_revalidate_lookup() [all...] |
H A D | orangefs-debugfs.c | 381 struct orangefs_kernel_op_s *new_op = NULL; in orangefs_debug_write() local 442 new_op = op_alloc(ORANGEFS_VFS_OP_PARAM); in orangefs_debug_write() 443 if (!new_op) { in orangefs_debug_write() 448 new_op->upcall.req.param.op = in orangefs_debug_write() 450 new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_SET; in orangefs_debug_write() 451 memset(new_op->upcall.req.param.s_value, in orangefs_debug_write() 454 sprintf(new_op->upcall.req.param.s_value, in orangefs_debug_write() 460 rc = service_operation(new_op, in orangefs_debug_write() 470 op_release(new_op); in orangefs_debug_write()
|
/kernel/linux/linux-6.6/fs/orangefs/ |
H A D | namei.c | 25 struct orangefs_kernel_op_s *new_op; in orangefs_create() local 35 new_op = op_alloc(ORANGEFS_VFS_OP_CREATE); in orangefs_create() 36 if (!new_op) in orangefs_create() 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() 47 ret = service_operation(new_op, __func__, get_interruptible_flag(dir)); in orangefs_create() 50 "%s: %pd: handle:%pU: fsid:%d: new_op:%p: ret:%d:\n", in orangefs_create() 53 &new_op->downcall.resp.create.refn.khandle, in orangefs_create() 54 new_op in orangefs_create() 109 struct orangefs_kernel_op_s *new_op; orangefs_lookup() local 177 struct orangefs_kernel_op_s *new_op; orangefs_unlink() local 225 struct orangefs_kernel_op_s *new_op; orangefs_symlink() local 312 struct orangefs_kernel_op_s *new_op; orangefs_mkdir() local 385 struct orangefs_kernel_op_s *new_op; orangefs_rename() local [all...] |
H A D | xattr.c | 97 struct orangefs_kernel_op_s *new_op = NULL; in orangefs_inode_getxattr() local 148 new_op = op_alloc(ORANGEFS_VFS_OP_GETXATTR); in orangefs_inode_getxattr() 149 if (!new_op) in orangefs_inode_getxattr() 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() 162 ret = service_operation(new_op, "orangefs_inode_getxattr", in orangefs_inode_getxattr() 171 (char *)new_op->upcall.req.getxattr.key); in orangefs_inode_getxattr() 188 length = new_op->downcall.resp.getxattr.val_sz; in orangefs_inode_getxattr() 206 memcpy(buffer, new_op in orangefs_inode_getxattr() 248 struct orangefs_kernel_op_s *new_op = NULL; orangefs_inode_removexattr() local 318 struct orangefs_kernel_op_s *new_op; orangefs_inode_setxattr() local 410 struct orangefs_kernel_op_s *new_op; orangefs_listxattr() local [all...] |
H A D | orangefs-cache.c | 46 char *get_opname_string(struct orangefs_kernel_op_s *new_op) in get_opname_string() argument 48 if (new_op) { in get_opname_string() 49 __s32 type = new_op->upcall.type; in get_opname_string() 118 struct orangefs_kernel_op_s *new_op = NULL; in op_alloc() local 120 new_op = kmem_cache_zalloc(op_cache, GFP_KERNEL); in op_alloc() 121 if (new_op) { in op_alloc() 122 INIT_LIST_HEAD(&new_op->list); in op_alloc() 123 spin_lock_init(&new_op->lock); in op_alloc() 124 init_completion(&new_op->waitq); in op_alloc() 126 new_op in op_alloc() [all...] |
H A D | super.c | 167 struct orangefs_kernel_op_s *new_op = NULL; in orangefs_statfs() local 179 new_op = op_alloc(ORANGEFS_VFS_OP_STATFS); in orangefs_statfs() 180 if (!new_op) in orangefs_statfs() 182 new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_statfs() 187 ret = service_operation(new_op, "orangefs_statfs", flags); in orangefs_statfs() 189 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 in orangefs_statfs() 248 struct orangefs_kernel_op_s *new_op; orangefs_remount() local 481 struct orangefs_kernel_op_s *new_op; orangefs_mount() local [all...] |
H A D | orangefs-sysfs.c | 323 struct orangefs_kernel_op_s *new_op = NULL; in sysfs_service_op_show() local 337 new_op = op_alloc(op_alloc_type); in sysfs_service_op_show() 338 if (!new_op) in sysfs_service_op_show() 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 in sysfs_service_op_show() 538 struct orangefs_kernel_op_s *new_op = NULL; sysfs_service_op_store() local [all...] |
H A D | orangefs-utils.c | 239 struct orangefs_kernel_op_s *new_op; in orangefs_inode_getattr() local 261 new_op = op_alloc(ORANGEFS_VFS_OP_GETATTR); in orangefs_inode_getattr() 262 if (!new_op) in orangefs_inode_getattr() 264 new_op->upcall.req.getattr.refn = orangefs_inode->refn; in orangefs_inode_getattr() 270 new_op->upcall.req.getattr.mask = ORANGEFS_ATTR_SYS_ALL_NOHINT; in orangefs_inode_getattr() 272 new_op->upcall.req.getattr.mask = in orangefs_inode_getattr() 275 ret = service_operation(new_op, __func__, in orangefs_inode_getattr() 302 &new_op->downcall.resp.getattr.attributes, in orangefs_inode_getattr() 303 new_op->downcall.resp.getattr.link_target); in orangefs_inode_getattr() 310 type = orangefs_inode_type(new_op in orangefs_inode_getattr() 387 struct orangefs_kernel_op_s *new_op; orangefs_inode_check_changed() local 420 struct orangefs_kernel_op_s *new_op; orangefs_inode_setattr() local [all...] |
H A D | file.c | 23 struct orangefs_kernel_op_s *new_op; in flush_racache() local 31 new_op = op_alloc(ORANGEFS_VFS_OP_RA_FLUSH); in flush_racache() 32 if (!new_op) in flush_racache() 34 new_op->upcall.req.ra_cache_flush.refn = orangefs_inode->refn; in flush_racache() 36 ret = service_operation(new_op, "orangefs_flush_racache", in flush_racache() 42 op_release(new_op); in flush_racache() 56 struct orangefs_kernel_op_s *new_op = NULL; in wait_for_direct_io() local 63 new_op = op_alloc(ORANGEFS_VFS_OP_FILE_IO); in wait_for_direct_io() 64 if (!new_op) in wait_for_direct_io() 68 new_op in wait_for_direct_io() 464 struct orangefs_kernel_op_s *new_op = NULL; orangefs_fsync() local [all...] |
H A D | dcache.c | 22 struct orangefs_kernel_op_s *new_op; in orangefs_revalidate_lookup() local 28 new_op = op_alloc(ORANGEFS_VFS_OP_LOOKUP); in orangefs_revalidate_lookup() 29 if (!new_op) { in orangefs_revalidate_lookup() 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() 47 err = service_operation(new_op, "orangefs_lookup", in orangefs_revalidate_lookup() 58 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() 82 op_release(new_op); in orangefs_revalidate_lookup() [all...] |
H A D | orangefs-debugfs.c | 381 struct orangefs_kernel_op_s *new_op = NULL; in orangefs_debug_write() local 442 new_op = op_alloc(ORANGEFS_VFS_OP_PARAM); in orangefs_debug_write() 443 if (!new_op) { in orangefs_debug_write() 448 new_op->upcall.req.param.op = in orangefs_debug_write() 450 new_op->upcall.req.param.type = ORANGEFS_PARAM_REQUEST_SET; in orangefs_debug_write() 451 memset(new_op->upcall.req.param.s_value, in orangefs_debug_write() 454 sprintf(new_op->upcall.req.param.s_value, in orangefs_debug_write() 460 rc = service_operation(new_op, in orangefs_debug_write() 470 op_release(new_op); in orangefs_debug_write()
|
/kernel/linux/linux-6.6/tools/perf/arch/arm64/util/ |
H A D | perf_regs.c | 95 int arch_sdt_arg_parse_op(char *old_op, char **new_op) in arch_sdt_arg_parse_op() argument 109 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op() 110 if (!*new_op) in arch_sdt_arg_parse_op() 113 scnprintf(*new_op, new_len, "%%%.*s", in arch_sdt_arg_parse_op() 125 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op() 126 if (!*new_op) in arch_sdt_arg_parse_op() 130 scnprintf(*new_op, new_len, "+0(%%sp)"); in arch_sdt_arg_parse_op() 132 scnprintf(*new_op, new_len, "+%.*s(%%sp)", in arch_sdt_arg_parse_op()
|
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/util/ |
H A D | perf_regs.c | 126 int arch_sdt_arg_parse_op(char *old_op, char **new_op) in arch_sdt_arg_parse_op() argument 148 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op() 149 if (!*new_op) in arch_sdt_arg_parse_op() 152 scnprintf(*new_op, new_len, "%%gpr%.*s", in arch_sdt_arg_parse_op() 165 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op() 166 if (!*new_op) in arch_sdt_arg_parse_op() 169 scnprintf(*new_op, new_len, "%c%.*s(%%gpr%.*s)", prefix, in arch_sdt_arg_parse_op()
|
/kernel/linux/linux-6.6/tools/perf/arch/powerpc/util/ |
H A D | perf_regs.c | 135 int arch_sdt_arg_parse_op(char *old_op, char **new_op) in arch_sdt_arg_parse_op() argument 157 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op() 158 if (!*new_op) in arch_sdt_arg_parse_op() 161 scnprintf(*new_op, new_len, "%%gpr%.*s", in arch_sdt_arg_parse_op() 174 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op() 175 if (!*new_op) in arch_sdt_arg_parse_op() 178 scnprintf(*new_op, new_len, "%c%.*s(%%gpr%.*s)", prefix, in arch_sdt_arg_parse_op()
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/ |
H A D | perf_regs.c | 192 int arch_sdt_arg_parse_op(char *old_op, char **new_op) in arch_sdt_arg_parse_op() argument 262 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op() 263 if (!*new_op) in arch_sdt_arg_parse_op() 266 scnprintf(*new_op, new_len, "%.*s%.*s%.*s%.*s%.*s", in arch_sdt_arg_parse_op()
|
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/ |
H A D | perf_regs.c | 195 int arch_sdt_arg_parse_op(char *old_op, char **new_op) in arch_sdt_arg_parse_op() argument 265 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op() 266 if (!*new_op) in arch_sdt_arg_parse_op() 269 scnprintf(*new_op, new_len, "%.*s%.*s%.*s%.*s%.*s", in arch_sdt_arg_parse_op()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | perf_regs.c | 7 char **new_op __maybe_unused) in arch_sdt_arg_parse_op()
|
H A D | perf_regs.h | 23 int arch_sdt_arg_parse_op(char *old_op, char **new_op);
|