Searched refs:maplen (Results 1 – 8 of 8) sorted by relevance
| /freebsd/usr.bin/tail/ |
| H A D | misc.c | 77 (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 D | reverse.c | 117 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 D | extern.h | 48 size_t maplen; member
|
| H A D | forward.c | 231 if (map.start != NULL && munmap(map.start, map.maplen)) { in rlines()
|
| /freebsd/usr.sbin/bhyvectl/ |
| H A D | bhyvectl.c | 181 size_t maplen, seglen; in show_memmap() local 189 error = vm_mmap_getnext(ctx, &gpa, &segid, &segoff, &maplen, in show_memmap() 199 humanize_number(numbuf, sizeof(numbuf), maplen, "B", in show_memmap() 222 gpa += maplen; in show_memmap()
|
| /freebsd/lib/libc/locale/ |
| H A D | collate.c | 84 if (table->map && (table->maplen > 0)) { in destruct_collate() 85 (void) munmap(table->map, table->maplen); in destruct_collate() 203 if (table->map && (table->maplen > 0)) { in __collate_load_tables_l() 204 (void) munmap(table->map, table->maplen); in __collate_load_tables_l() 207 table->maplen = sbuf.st_size; in __collate_load_tables_l()
|
| H A D | collate.h | 123 size_t maplen; member
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | acpi.c | 787 size_t maplen; in build_srat() local 807 ret = vm_mmap_getnext(ctx, &gpa, &segid, &_off, &maplen, &_prot, in build_srat() 825 srat_mem_affinity.Length = htole64(maplen); in build_srat() 829 gpa += maplen; in build_srat()
|