Lines Matching refs:ledger
43 struct ledger {
48 struct ledger *ledger_ledger;
49 struct ledger *ledger_parent;
53 typedef struct ledger ledger_data_t;
55 #define ledger_lock(ledger) simple_lock(&(ledger)->lock)
56 #define ledger_unlock(ledger) simple_unlock(&(ledger)->lock)
57 #define ledger_lock_init(ledger) \
58 simple_lock_init(&(ledger)->lock, 0)