/freebsd-9.3-release/sbin/geom/class/virstor/ |
H A D | geom_virstor.c | 219 size_t map_size; /* In bytes. */ local 308 map_size = total_chunks * sizeof(*map); 311 ssize = map_size % secsize; 316 map_size = total_chunks * sizeof(*map); 351 if (msize < (off_t) MAX(md.md_chunk_size*4, map_size)) 370 map_chunks = map_size/md.md_chunk_size; 371 if (map_size % md.md_chunk_size != 0) 374 printf(" (%zu MB, %d chunks) ", map_size/(1024*1024), map_chunks); 393 map_size); 396 written = pwrite(fd, map, map_size, [all...] |
/freebsd-9.3-release/sys/geom/virstor/ |
H A D | g_virstor.h | 113 size_t chunk_count; /* governs map_size */ 115 size_t map_size; /* (in bytes) */ member in struct:g_virstor_softc
|
H A D | g_virstor.c | 1231 sc->map_size = sc->chunk_count * sizeof *(sc->map); 1233 sc->map = malloc(sc->map_size, M_GVIRSTOR, M_WAITOK); 1235 __func__, sc->map_size, sc->provider->name)); 1236 sc->map_sectors = sc->map_size / sc->sectorsize; 1257 while (count < sc->map_size) { 1261 bs = MIN(MAXPHYS, sc->map_size - count);
|
/freebsd-9.3-release/contrib/llvm/include/llvm-c/ |
H A D | lto.h | 158 size_t map_size, off_t offset);
|
/freebsd-9.3-release/tools/regression/fsx/ |
H A D | fsx.c | 535 unsigned map_size; local 567 map_size = pg_offset + size; 569 if ((p = (char *)mmap(0, map_size, PROT_READ, MAP_FILE | MAP_SHARED, fd, 578 if (munmap(p, map_size) != 0) { 658 unsigned map_size; local 703 map_size = pg_offset + size; 705 if ((p = (char *)mmap(0, map_size, PROT_READ | PROT_WRITE, 712 if (mapped_msync && msync(p, map_size, MS_SYNC) != 0) { 719 if (munmap(p, map_size) != 0) {
|
/freebsd-9.3-release/contrib/llvm/include/llvm/LTO/ |
H A D | LTOModule.h | 93 size_t map_size,
|
/freebsd-9.3-release/sys/gnu/fs/xfs/ |
H A D | xfs_dir2_leaf.c | 777 int map_size; /* total entries in *map */ local 810 map_size = 813 map = kmem_alloc(map_size * sizeof(*map), KM_SLEEP); 881 nmap = map_size - map_valid; 903 if (nmap == map_size - map_valid) 1131 kmem_free(map, map_size * sizeof(*map));
|
H A D | xfs_buf_item.c | 719 int map_size; local 740 * truncate any pieces. map_size is the size of the 744 map_size = (int)((chunks + NBWORD) >> BIT_TO_WORD_SHIFT); 755 bip->bli_format.blf_map_size = map_size;
|
H A D | xfs_log_recover.c | 1804 unsigned int map_size = 0; local 1809 map_size = buf_f->blf_map_size; 1815 map_size = obuf_f->blf_map_size; 1842 bit = xfs_next_bit(data_map, map_size, bit); 1852 nbits = xfs_contig_bits(data_map, map_size, 1917 unsigned int map_size = 0; local 1923 map_size = buf_f->blf_map_size; 1929 map_size = obuf_f->blf_map_size; 1935 bit = xfs_next_bit(data_map, map_size, bit); 1938 nbits = xfs_contig_bits(data_map, map_size, bi [all...] |
H A D | xfsidbg.c | 6647 unsigned int map_size; local 6660 map_size = buf_f->blf_map_size; 6662 buf_f->blf_blkno, buf_f->blf_len, data_map, map_size); 6666 bit = xfs_next_bit(data_map, map_size, bit); 6669 nbits = xfs_contig_bits(data_map, map_size, bit);
|
/freebsd-9.3-release/contrib/groff/src/roff/troff/ |
H A D | node.cpp | 5971 : map_size(10), nm(s) 5973 map = new int[map_size]; 5974 for (int i = 0; i < map_size; i++) 5986 if (i < map_size && map[i] >= 0) 5990 if (i >= map_size) { 5991 int old_map_size = map_size; 5993 map_size *= 3; 5994 map_size /= 2; 5995 if (i >= map_size) 5996 map_size [all...] |
H A D | node.h | 664 int map_size; member in class:font_family
|
/freebsd-9.3-release/contrib/llvm/lib/LTO/ |
H A D | LTOModule.cpp | 108 size_t map_size, 114 MemoryBuffer::getOpenFileSlice(fd, path, buffer, map_size, offset)) { 107 makeLTOModule(int fd, const char *path, size_t map_size, off_t offset, TargetOptions options, std::string &errMsg) argument
|