Lines Matching refs:bhc
2459 bufctl_history_cb_t *bhc = arg; in bufctl_history_callback() local
2461 bhc->bhc_ret = in bufctl_history_callback()
2462 bufctl(addr, bhc->bhc_flags, bhc->bhc_argc, bhc->bhc_argv); in bufctl_history_callback()
2464 bhc->bhc_flags &= ~DCMD_LOOPFIRST; in bufctl_history_callback()
2466 return ((bhc->bhc_ret == DCMD_OK)? WALK_NEXT : WALK_DONE); in bufctl_history_callback()
2527 bufctl_history_cb_t bhc; in bufctl() local
2540 bhc.bhc_flags = flags | DCMD_LOOP | DCMD_LOOPFIRST; in bufctl()
2541 bhc.bhc_argc = argc + 1; in bufctl()
2542 bhc.bhc_argv = nargv; in bufctl()
2543 bhc.bhc_ret = DCMD_OK; in bufctl()
2545 if (mdb_pwalk("bufctl_history", bufctl_history_callback, &bhc, in bufctl()
2551 if (bhc.bhc_ret == DCMD_OK && !(flags & DCMD_PIPE_OUT)) in bufctl()
2554 return (bhc.bhc_ret); in bufctl()