// SPDX-License-Identifier: GPL-2.0 /* * (C) 2001 Clemson University and The University of Chicago * * See COPYING in top-level directory. */ #include "protocol.h" #include "orangefs-kernel.h" /* tags assigned to kernel upcall operations */ static __u64 next_tag_value; static DEFINE_SPINLOCK(next_tag_value_lock); /* the orangefs memory caches */ /* a cache for orangefs upcall/downcall operations */ static struct kmem_cache *op_cache; int op_cache_initialize(void) { … } int op_cache_finalize(void) { … } char *get_opname_string(struct orangefs_kernel_op_s *new_op) { … } void orangefs_new_tag(struct orangefs_kernel_op_s *op) { … } struct orangefs_kernel_op_s *op_alloc(__s32 type) { … } void op_release(struct orangefs_kernel_op_s *orangefs_op) { … }