Home
last modified time | relevance | path

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

/freebsd-14-stable/usr.bin/tail/
HDmisc.c80 (off_t)mip->maplen) { in mapprint()
84 n = (mip->mapoff + mip->maplen) - startoff; in mapprint()
103 if (mip->start != NULL && munmap(mip->start, mip->maplen) != 0) in maparound()
107 mip->maplen = TAILMAPLEN; in maparound()
108 if ((off_t)mip->maplen > mip->maxoff - mip->mapoff) in maparound()
109 mip->maplen = mip->maxoff - mip->mapoff; in maparound()
110 if (mip->maplen <= 0) in maparound()
112 if ((mip->start = mmap(NULL, mip->maplen, PROT_READ, MAP_SHARED, in maparound()
HDreverse.c124 map.maplen = 0; in r_reg()
134 curoff >= map.mapoff + (off_t)map.maplen) { in r_reg()
172 if (map.start != NULL && munmap(map.start, map.maplen)) in r_reg()
HDextern.h50 size_t maplen; member
HDforward.c234 if (map.start != NULL && munmap(map.start, map.maplen)) { in rlines()
/freebsd-14-stable/lib/libc/locale/
HDcollate.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()
HDcollate.h119 size_t maplen; member
/freebsd-14-stable/usr.sbin/bhyvectl/
HDbhyvectl.c1484 size_t maplen, seglen; in show_memmap() local
1492 error = vm_mmap_getnext(ctx, &gpa, &segid, &segoff, &maplen, in show_memmap()
1502 humanize_number(numbuf, sizeof(numbuf), maplen, "B", in show_memmap()
1523 gpa += maplen; in show_memmap()