Lines Matching refs:bhc
2820 bufctl_history_cb_t *bhc = arg; in bufctl_history_callback() local
2822 bhc->bhc_ret = in bufctl_history_callback()
2823 bufctl(addr, bhc->bhc_flags, bhc->bhc_argc, bhc->bhc_argv); in bufctl_history_callback()
2825 bhc->bhc_flags &= ~DCMD_LOOPFIRST; in bufctl_history_callback()
2827 return ((bhc->bhc_ret == DCMD_OK)? WALK_NEXT : WALK_DONE); in bufctl_history_callback()
2887 bufctl_history_cb_t bhc; in bufctl() local
2900 bhc.bhc_flags = flags | DCMD_LOOP | DCMD_LOOPFIRST; in bufctl()
2901 bhc.bhc_argc = argc + 1; in bufctl()
2902 bhc.bhc_argv = nargv; in bufctl()
2903 bhc.bhc_ret = DCMD_OK; in bufctl()
2905 if (mdb_pwalk("bufctl_history", bufctl_history_callback, &bhc, in bufctl()
2911 if (bhc.bhc_ret == DCMD_OK && !(flags & DCMD_PIPE_OUT)) in bufctl()
2914 return (bhc.bhc_ret); in bufctl()