/titanic_50/usr/src/cmd/tail/ |
H A D | misc.c | 70 (off_t)mip->maplen) { in mapprint() 74 n = (mip->mapoff + mip->maplen) - startoff; in mapprint() 93 if (mip->start != NULL && munmap(mip->start, mip->maplen) != 0) in maparound() 97 mip->maplen = TAILMAPLEN; in maparound() 98 if ((off_t)mip->maplen > mip->maxoff - mip->mapoff) in maparound() 99 mip->maplen = mip->maxoff - mip->mapoff; in maparound() 100 if (mip->maplen == 0) in maparound() 102 if ((mip->start = mmap(NULL, mip->maplen, PROT_READ, MAP_SHARED, in maparound()
|
H A D | reverse.c | 120 curoff >= map.mapoff + (off_t)map.maplen) { in r_reg() 158 if (map.start != NULL && munmap(map.start, map.maplen)) in r_reg()
|
H A D | extern.h | 48 size_t maplen; member
|
/titanic_50/usr/src/lib/libnsl/yp/ |
H A D | yp_master.c | 61 size_t maplen; in yp_master() local 69 maplen = strlen(map); in yp_master() 72 (maplen == 0) || (maplen > YPMAXMAP) || in yp_master() 123 size_t maplen; in __yp_master_rsvdport() local 131 maplen = strlen(map); in __yp_master_rsvdport() 134 (maplen == 0) || (maplen > YPMAXMAP) || in __yp_master_rsvdport()
|
H A D | yp_all.c | 67 size_t maplen; in __yp_all_cflookup() local 80 maplen = strlen(map); in __yp_all_cflookup() 83 (maplen == 0) || (maplen > YPMAXMAP) || in __yp_all_cflookup() 191 size_t maplen; in __yp_all_rsvdport() local 204 maplen = strlen(map); in __yp_all_rsvdport() 207 (maplen == 0) || (maplen > YPMAXMAP) || in __yp_all_rsvdport()
|
H A D | yp_order.c | 61 size_t maplen; in yp_order() local 69 maplen = strlen(map); in yp_order() 72 (maplen == 0) || (maplen > YPMAXMAP) || in yp_order()
|
H A D | yp_enum.c | 74 size_t maplen; in __yp_first_cflookup() local 82 maplen = strlen(map); in __yp_first_cflookup() 85 (maplen == 0) || (maplen > YPMAXMAP)) in __yp_first_cflookup() 238 size_t maplen; in __yp_next_cflookup() local 247 maplen = strlen(map); in __yp_next_cflookup() 250 (maplen == 0) || (maplen > YPMAXMAP)) in __yp_next_cflookup()
|
H A D | yp_match.c | 180 size_t maplen; in __yp_match_cflookup() local 195 maplen = strlen(map); in __yp_match_cflookup() 198 (maplen == 0) || (maplen > YPMAXMAP) || in __yp_match_cflookup() 364 size_t maplen; in __yp_match_rsvdport_cflookup() local 379 maplen = strlen(map); in __yp_match_rsvdport_cflookup() 382 (maplen == 0) || (maplen > YPMAXMAP) || in __yp_match_rsvdport_cflookup()
|
/titanic_50/usr/src/cmd/fs.d/autofs/ |
H A D | ns_fnmount.c | 98 frontier(mapent *mapents, const FN_ref_t *ref, char *map, size_t maplen, 110 frontier_aux(mapent *mapents, const FN_ref_t *ref, char *map, size_t maplen, 143 append_mapname(char *map, size_t maplen, const char *name); 212 size_t maplen; in getmapent_fn() local 244 maplen = strlen(map); in getmapent_fn() 246 if ((maplen - FNPREFIXLEN + strlen(key)) >= COMPNAMESZ) { in getmapent_fn() 252 if (maplen == FNPREFIXLEN) { in getmapent_fn() 318 size_t maplen; in process_ref() local 407 if ((maplen = append_mapname(map, strlen(map), key)) == 0) { in process_ref() 410 return (frontier(mapents, ref, map, maplen, map + maplen, in process_ref() [all …]
|
/titanic_50/usr/src/cmd/audio/utilities/ |
H A D | AudioFile.cc | 71 hdrsize(0), seekpos(0), origlen(0.), mapaddr(0), maplen(0), in AudioFile() 82 hdrsize(0), seekpos(0), origlen(0.), mapaddr(0), maplen(0), in AudioFile() 341 maplen = st.st_size; in tryopen() 348 if ((mapaddr = (caddr_t)mmap(0, (int)maplen, PROT_READ, in tryopen() 351 (void) madvise(mapaddr, (unsigned int)maplen, in tryopen() 357 maplen = 0; in tryopen() 361 maplen = 0; in tryopen() 379 (void) madvise(mapaddr, (unsigned int)maplen, (int)vmacc); in SetAccessType() 414 munmap(mapaddr, (int)maplen); in Close() 416 maplen = 0; in Close() [all …]
|
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_umap.c | 54 hermon_rsrc_t *rsrcp, uint64_t offset, size_t *maplen, int *err); 56 hermon_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err); 58 hermon_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err); 60 hermon_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err); 62 hermon_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err); 132 size_t *maplen, uint_t model) in hermon_devmap() argument 190 maplen, &err); in hermon_devmap() 199 maplen, &err); in hermon_devmap() 208 maplen, &err); in hermon_devmap() 217 maplen, &err); in hermon_devmap() [all …]
|
/titanic_50/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_umap.c | 55 tavor_rsrc_t *rsrcp, size_t *maplen, int *err); 57 tavor_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err); 59 tavor_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err); 61 tavor_rsrc_t *rsrcp, offset_t off, size_t *maplen, int *err); 117 size_t *maplen, uint_t model) in tavor_devmap() argument 176 status = tavor_umap_uarpg(state, dhp, rsrcp, maplen, in tavor_devmap() 189 maplen, &err); in tavor_devmap() 201 maplen, &err); in tavor_devmap() 213 maplen, &err); in tavor_devmap() 246 tavor_rsrc_t *rsrcp, size_t *maplen, int *err) in tavor_umap_uarpg() argument [all …]
|
/titanic_50/usr/src/uts/common/io/drm/ |
H A D | drm_sunmod.c | 513 size_t len, size_t *maplen, uint_t model) in drm_sun_devmap() argument 547 ret = gfxp_vgatext_devmap(dev, dhp, offset, len, maplen, model, in drm_sun_devmap() 663 *maplen = 0; in drm_sun_devmap() 669 *maplen = len; in drm_sun_devmap() 681 *maplen = 0; in drm_sun_devmap() 684 *maplen = length; in drm_sun_devmap() 712 *maplen = length; in drm_sun_devmap() 738 *maplen = length; in drm_sun_devmap() 752 *maplen = map->size; in drm_sun_devmap()
|
/titanic_50/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_yp_util.c | 1166 int maplen = strlen(maps); in getfullmapname() local 1169 if (!maplen || !domainlen || in getfullmapname() 1170 maps[maplen - 1] == PERIOD_CHAR) in getfullmapname() 1177 maplen = strlen(maps); in getfullmapname() 1178 maps = realloc(maps, (maplen + domainlen + 1)); in getfullmapname() 1180 if (strlcat(maps, domainname, (maplen + domainlen + 1)) in getfullmapname() 1181 >= (maplen + domainlen + 1)) in getfullmapname()
|
/titanic_50/usr/src/uts/sun/io/ |
H A D | sbusmem.c | 386 size_t *maplen, uint_t model) in sbmem_devmap() argument 406 *maplen = ptob(btopr(len)); in sbmem_devmap()
|
/titanic_50/usr/src/cmd/audio/include/ |
H A D | AudioFile.h | 77 off_t maplen; // length of mmaped region variable
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | conf.h | 114 size_t len, size_t *maplen, uint_t model);
|
/titanic_50/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_tavor_ibtf_impl.h | 201 uint32_t *dapls_ib_get_dbp(uint64_t maplen, int fd, uint64_t mapoffset,
|
/titanic_50/usr/src/uts/i86pc/io/xsvc/ |
H A D | xsvc.c | 62 size_t *maplen, uint_t model); 812 size_t *maplen, uint_t model) in xsvc_devmap() argument 907 *maplen = psize; in xsvc_devmap() 918 *maplen = psize; in xsvc_devmap()
|
/titanic_50/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_isoch.c | 277 size_t len, size_t *maplen, uint_t model) in av1394_isoch_devmap() argument 283 *maplen = 0; in av1394_isoch_devmap() 301 *maplen = isp->is_umem_size; in av1394_isoch_devmap()
|
/titanic_50/usr/src/uts/common/sys/rsm/ |
H A D | rsmpi.h | 370 size_t *maplen, 602 #define RSM_MAP(controller, im_memseg, offset, length, maplen, dipp, \ argument 605 ((im_memseg), (offset), (length), (maplen), (dipp), (dev_register), \
|
/titanic_50/usr/src/cmd/format/ |
H A D | ix_altsctr.c | 569 int maplen = 0; in compress_map() local 574 (ap->ap_mapp)[maplen++] = mask; in compress_map() 584 (ap->ap_mapp)[maplen] = mask; in compress_map()
|
/titanic_50/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfx_private.h | 97 size_t len, size_t *maplen, uint_t model, void *ptr);
|
/titanic_50/usr/src/cmd/addbadsec/ |
H A D | ix_altsctr.c | 554 int maplen = 0; in compress_map() local 559 (ap->ap_mapp)[maplen++] = mask; in compress_map() 569 (ap->ap_mapp)[maplen] = mask; in compress_map()
|
/titanic_50/usr/src/uts/common/sys/1394/targets/dcam1394/ |
H A D | dcam.h | 146 size_t *maplen, uint_t model);
|