Lines Matching refs:mbp
206 static int dr_mem_find(dr_mem_blk_t *mbp);
723 dr_mem_query(dr_mem_blk_t *mbp, dr_mem_query_t *mqp) in dr_mem_query() argument
730 (void) kphysm_del_span_query(btop(mbp->addr), btop(mbp->size), &mq); in dr_mem_query()
735 mqp->addr = mbp->addr; in dr_mem_query()
881 dr_mem_configure(dr_mem_blk_t *mbp, int *status) in dr_mem_configure() argument
887 addr = mbp->addr; in dr_mem_configure()
888 size = mbp->size; in dr_mem_configure()
892 if (!MBLK_IS_VALID(mbp)) { in dr_mem_configure()
896 } else if (rv = dr_mem_find(mbp)) { in dr_mem_configure()
920 dr_mem_unconfigure(dr_mem_blk_t *mbp, int *status) in dr_mem_unconfigure() argument
926 if (!MBLK_IS_VALID(mbp)) { in dr_mem_unconfigure()
928 mbp->addr, mbp->size); in dr_mem_unconfigure()
931 } else if (rv = mem_del(btop(mbp->addr), btop(mbp->size))) { in dr_mem_unconfigure()
937 mbp->addr, mbp->size); in dr_mem_unconfigure()
1002 dr_mem_find(dr_mem_blk_t *mbp) in dr_mem_find() argument
1023 memnode = dr_mem_find_node_md(mbp, mdp, listp); in dr_mem_find()
1030 DR_DBG_MEM("mblk 0x%lx.0x%lx %s\n", mbp->addr, mbp->size, found); in dr_mem_find()
1046 dr_mem_find_node_md(dr_mem_blk_t *mbp, md_t *mdp, mde_cookie_t *listp) in dr_mem_find_node_md() argument
1088 if (base_prop <= mbp->addr && in dr_mem_find_node_md()
1089 (base_prop + size_prop) >= (mbp->addr + mbp->size)) { in dr_mem_find_node_md()
1092 "0x%lx.0x%lx in MD\n", mbp->addr, mbp->size); in dr_mem_find_node_md()
1100 mbp->addr, mbp->size); in dr_mem_find_node_md()