M0_INTERNAL int m0_capa_auth(struct m0_capa_ctxt *ctxt, struct m0_object_capa *capa, enum m0_capa_operation op)
static void m0_atomic64_inc(struct m0_atomic64 *a)
struct m0_capa_issuer * oc_owner
M0_INTERNAL void m0_capa_fini(struct m0_capa_ctxt *ctxt)
enum m0_capa_operation oc_opcode
struct m0_atomic64 oc_ref
M0_INTERNAL int m0_capa_init(struct m0_capa_ctxt *ctxt)
M0_INTERNAL int m0_capa_ctxt_init(struct m0_capa_ctxt *ctxt)
M0_INTERNAL void m0_capa_put(struct m0_capa_ctxt *ctxt, struct m0_object_capa *capa)
static void m0_atomic64_dec(struct m0_atomic64 *a)
static int64_t m0_atomic64_get(const struct m0_atomic64 *a)
M0_INTERNAL int m0_capa_new(struct m0_object_capa *capa, enum m0_capa_entity_type type, enum m0_capa_operation opcode, void *data)
struct m0_capa_ctxt * oc_ctxt
M0_INTERNAL int m0_capa_get(struct m0_capa_ctxt *ctxt, struct m0_capa_issuer *owner, struct m0_object_capa *capa)
M0_INTERNAL void m0_capa_ctxt_fini(struct m0_capa_ctxt *ctxt)
enum m0_capa_entity_type oc_type
static void m0_atomic64_set(struct m0_atomic64 *a, int64_t num)