Searched refs:map_size (Results 1 - 13 of 13) sorted by relevance

/freebsd-9.3-release/sbin/geom/class/virstor/
H A Dgeom_virstor.c219 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 Dg_virstor.h113 size_t chunk_count; /* governs map_size */
115 size_t map_size; /* (in bytes) */ member in struct:g_virstor_softc
H A Dg_virstor.c1231 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 Dlto.h158 size_t map_size, off_t offset);
/freebsd-9.3-release/tools/regression/fsx/
H A Dfsx.c535 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 DLTOModule.h93 size_t map_size,
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_dir2_leaf.c777 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 Dxfs_buf_item.c719 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 Dxfs_log_recover.c1804 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 Dxfsidbg.c6647 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 Dnode.cpp5971 : 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 Dnode.h664 int map_size; member in class:font_family
/freebsd-9.3-release/contrib/llvm/lib/LTO/
H A DLTOModule.cpp108 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

Completed in 143 milliseconds