Lines Matching defs:map_seg
2809 return (map_seg(hdp, idx, PROT_READ, DB_NODE));
2815 return (map_seg(hdp, idx, PROT_READ | PROT_WRITE, DB_NODE));
2821 return (map_seg(hdp, idx, PROT_READ, DB_MINOR));
2827 return (map_seg(hdp, idx, PROT_READ | PROT_WRITE, DB_MINOR));
2833 return (map_seg(hdp, idx, PROT_READ, DB_LINK));
2839 return (map_seg(hdp, idx, PROT_READ | PROT_WRITE, DB_LINK));
2845 return (map_seg(hdp, idx, PROT_READ, DB_STR));
2851 return (map_seg(hdp, idx, PROT_READ | PROT_WRITE, DB_STR));
2860 map_seg(
2876 (void) dprintf(DBG_ERR, "map_seg: seg(%d): invalid idx(%u)\n",
2887 (void) dprintf(DBG_ERR, "map_seg: illegal access: "
2906 (void) dprintf(DBG_ERR, "map_seg: seg[%d]: mmap failed: %s\n",
2908 (void) dprintf(DBG_ERR, "map_seg: args: len=%lu, prot=%d,"
2917 (void) dprintf(DBG_STEP, "map_seg: seg[%d]: len=%lu, prot=%d, fd=%d, "