Lines Matching refs:ac_flow
1541 exacct_assemble_flow_usage(ac_info_t *ac_flow, flow_usage_t *fu, in exacct_assemble_flow_usage() argument
1552 mutex_enter(&ac_flow->ac_lock); in exacct_assemble_flow_usage()
1553 if (ac_flow->ac_state == AC_OFF) { in exacct_assemble_flow_usage()
1554 mutex_exit(&ac_flow->ac_lock); in exacct_assemble_flow_usage()
1557 bt_copy(&ac_flow->ac_mask[0], mask, AC_MASK_SZ); in exacct_assemble_flow_usage()
1558 mutex_exit(&ac_flow->ac_lock); in exacct_assemble_flow_usage()
1578 ret = callback(ac_flow, ubuf, ubufsize, buf, bufsize, actual); in exacct_assemble_flow_usage()
1595 ac_info_t *ac_flow; in exacct_commit_flow() local
1613 ac_flow = &acg->ac_flow; in exacct_commit_flow()
1615 mutex_enter(&ac_flow->ac_lock); in exacct_commit_flow()
1616 if (ac_flow->ac_state == AC_OFF) { in exacct_commit_flow()
1617 mutex_exit(&ac_flow->ac_lock); in exacct_commit_flow()
1620 bt_copy(&ac_flow->ac_mask[0], mask, AC_MASK_SZ); in exacct_commit_flow()
1621 mutex_exit(&ac_flow->ac_lock); in exacct_commit_flow()
1623 (void) exacct_assemble_flow_usage(ac_flow, f, exacct_commit_callback, in exacct_commit_flow()