Searched refs:balance (Results 1 - 3 of 3) sorted by relevance

/xnu-2782.1.97/osfmk/kern/
H A Dledger.c54 #define LF_CALLED_BACK 0x1000 /* callback was called for balance in deficit */
55 #define LF_WARNED 0x2000 /* callback was called for balance warning */
56 #define LF_TRACKING_MAX 0x4000 /* track max balance over user-specfied time */
128 * Use 2 "tocks" to track the rolling maximum balance of a ledger entry.
151 uint32_t le_max; /* Lower 32-bits of observed max balance */
463 ledger_amount_t balance; local
471 balance = le->le_credit - le->le_debit;
472 if ((le->le_warn_level != LEDGER_LIMIT_INFINITY) && (balance > le->le_warn_level))
483 ledger_amount_t balance; local
487 balance
535 ledger_amount_t balance, due; local
662 ledger_amount_t balance = le->le_credit - le->le_debit; local
1462 ledger_get_balance(ledger_t ledger, int entry, ledger_amount_t *balance) argument
[all...]
H A Dledger.h131 ledger_amount_t *balance);
/xnu-2782.1.97/osfmk/bank/
H A Dbank.c815 * Purpose: Walk throught the Accounts need to pay account list and get the current billing balance.
816 * Returns: balance.
821 int64_t balance = 0; local
827 return balance;
834 balance +=temp;
839 balance += temp;
843 return (uint64_t)balance;
848 * Purpose: Walk throught the Account need to charge account list and get the current balance to be charged.
849 * Returns: balance.
854 int64_t balance local
[all...]

Completed in 35 milliseconds