VSF Documented
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)
 

Typedefs

typedef struct refcount_struct refcount_t
 

Macro Definition Documentation

◆ REFCOUNT_INIT

#define REFCOUNT_INIT ( __VALUE)
Value:
{ .refs = ATOMIC_INIT(__VALUE) }
#define ATOMIC_INIT(__VALUE)
Definition atomic.h:26

Typedef Documentation

◆ refcount_t

typedef struct refcount_struct refcount_t
Generated from commit: vsfteam/vsf@ceb53fd