Lines Matching defs:map_seg
2813 return (map_seg(hdp, idx, PROT_READ, DB_NODE));
2819 return (map_seg(hdp, idx, PROT_READ | PROT_WRITE, DB_NODE));
2825 return (map_seg(hdp, idx, PROT_READ, DB_MINOR));
2831 return (map_seg(hdp, idx, PROT_READ | PROT_WRITE, DB_MINOR));
2837 return (map_seg(hdp, idx, PROT_READ, DB_LINK));
2843 return (map_seg(hdp, idx, PROT_READ | PROT_WRITE, DB_LINK));
2849 return (map_seg(hdp, idx, PROT_READ, DB_STR));
2855 return (map_seg(hdp, idx, PROT_READ | PROT_WRITE, DB_STR));
2864 map_seg(
2880 (void) dprintf(DBG_ERR, "map_seg: seg(%d): invalid idx(%u)\n",
2891 (void) dprintf(DBG_ERR, "map_seg: illegal access: "
2910 (void) dprintf(DBG_ERR, "map_seg: seg[%d]: mmap failed: %s\n",
2912 (void) dprintf(DBG_ERR, "map_seg: args: len=%lu, prot=%d,"
2921 (void) dprintf(DBG_STEP, "map_seg: seg[%d]: len=%lu, prot=%d, fd=%d, "