VSF Documented
Data Structures | Macros | Typedefs
refcount.h File Reference
#include <linux/types.h>
#include <linux/atomic.h>

Go to the source code of this file.

Data Structures

struct  refcount_struct
 

Macros

#define REFCOUNT_INIT(__VALUE)   { .refs = ATOMIC_INIT(__VALUE) }
 

Typedefs

typedef struct refcount_struct refcount_t
 

Macro Definition Documentation

◆ REFCOUNT_INIT

#define REFCOUNT_INIT (   __VALUE)    { .refs = ATOMIC_INIT(__VALUE) }

Typedef Documentation

◆ refcount_t

typedef struct refcount_struct refcount_t