#include "hmm.h"
#include "ia_css_refcount.h"
#include "sh_css_defs.h"
#include "platform_support.h"
#include "assert_support.h"
#include "ia_css_debug.h"
struct ia_css_refcount_entry { … };
struct ia_css_refcount_list { … };
static struct ia_css_refcount_list myrefcount;
static struct ia_css_refcount_entry *refcount_find_entry(ia_css_ptr ptr,
bool firstfree)
{ … }
int ia_css_refcount_init(uint32_t size)
{ … }
void ia_css_refcount_uninit(void)
{ … }
ia_css_ptr ia_css_refcount_increment(s32 id, ia_css_ptr ptr)
{ … }
bool ia_css_refcount_decrement(s32 id, ia_css_ptr ptr)
{ … }
bool ia_css_refcount_is_single(ia_css_ptr ptr)
{ … }
void ia_css_refcount_clear(s32 id, clear_func clear_func_ptr)
{ … }
bool ia_css_refcount_is_valid(ia_css_ptr ptr)
{ … }