Searched refs:bwp (Results 1 – 2 of 2) sorted by relevance
53 buf_walk_t *bwp; in buf_walk_init() local79 bwp = mdb_alloc(sizeof (buf_walk_t), UM_SLEEP); in buf_walk_init()81 bwp->bw_hbufbase = hbuf_addr; in buf_walk_init()82 bwp->bw_hbufs = hbufs; in buf_walk_init()83 bwp->bw_nhbufs = v.v_hbuf; in buf_walk_init()84 bwp->bw_hbufi = 0; in buf_walk_init()85 bwp->bw_bufp = mdb_alloc(sizeof (buf_t), UM_SLEEP); in buf_walk_init()88 wsp->walk_data = bwp; in buf_walk_init()96 buf_walk_t *bwp = wsp->walk_data; in buf_walk_step() local104 while (wsp->walk_addr == NULL || wsp->walk_addr == (bwp->bw_hbufbase + in buf_walk_step()[all …]
269 static int acpi_drv_set_warn(acpi_drv_warn_t *bwp);1163 acpi_drv_set_warn(acpi_drv_warn_t *bwp) in acpi_drv_set_warn() argument1167 warn = acpi_drv_syn_last_cap * bwp->bw_charge_warn / 100; in acpi_drv_set_warn()1168 low = acpi_drv_syn_last_cap * bwp->bw_charge_low / 100; in acpi_drv_set_warn()1171 if (bwp->bw_enabled) { in acpi_drv_set_warn()1181 acpi_drv_syn_warn_per = bwp->bw_charge_warn; in acpi_drv_set_warn()1182 acpi_drv_syn_low_per = bwp->bw_charge_low; in acpi_drv_set_warn()