Home
last modified time | relevance | path

Searched refs:maplen (Results 1 – 7 of 7) sorted by relevance

/freebsd/usr.bin/tail/
H A Dmisc.c77 (off_t)mip->maplen) { in mapprint()
81 n = (mip->mapoff + mip->maplen) - startoff; in mapprint()
100 if (mip->start != NULL && munmap(mip->start, mip->maplen) != 0) in maparound()
104 mip->maplen = TAILMAPLEN; in maparound()
105 if ((off_t)mip->maplen > mip->maxoff - mip->mapoff) in maparound()
106 mip->maplen = mip->maxoff - mip->mapoff; in maparound()
107 if (mip->maplen <= 0) in maparound()
109 if ((mip->start = mmap(NULL, mip->maplen, PROT_READ, MAP_SHARED, in maparound()
H A Dreverse.c117 map.maplen = 0; in r_reg()
127 curoff >= map.mapoff + (off_t)map.maplen) { in r_reg()
165 if (map.start != NULL && munmap(map.start, map.maplen)) in r_reg()
H A Dextern.h48 size_t maplen; member
H A Dforward.c231 if (map.start != NULL && munmap(map.start, map.maplen)) { in rlines()
/freebsd/usr.sbin/bhyvectl/
H A Dbhyvectl.c180 size_t maplen, seglen; in show_memmap() local
188 error = vm_mmap_getnext(ctx, &gpa, &segid, &segoff, &maplen, in show_memmap()
198 humanize_number(numbuf, sizeof(numbuf), maplen, "B", in show_memmap()
221 gpa += maplen; in show_memmap()
/freebsd/lib/libc/locale/
H A Dcollate.c83 if (table->map && (table->maplen > 0)) { in destruct_collate()
84 (void) munmap(table->map, table->maplen); in destruct_collate()
202 if (table->map && (table->maplen > 0)) { in __collate_load_tables_l()
203 (void) munmap(table->map, table->maplen); in __collate_load_tables_l()
206 table->maplen = sbuf.st_size; in __collate_load_tables_l()
H A Dcollate.h119 size_t maplen; member