Searched refs:mapsize (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-9.3-release/contrib/binutils/bfd/
H A Darchive64.c154 unsigned int mapsize = stringsize + ranlibsize; local
162 padding = BFD_ALIGN (mapsize, 8) - mapsize;
163 mapsize += padding;
166 archive_member_file_ptr = (mapsize
174 mapsize);
H A Darchive.c1942 unsigned int mapsize = ranlibsize + stringsize + 8;
1951 firstreal = mapsize + elength + sizeof (struct ar_hdr) + SARMAG;
1964 _bfd_ar_spacepad (hdr.ar_size, sizeof (hdr.ar_size), "%-10ld", mapsize);
2095 unsigned int mapsize = stringsize + ranlibsize;
2100 int padit = mapsize & 1;
2103 mapsize++;
2106 archive_member_file_ptr = (mapsize
2114 mapsize);
1933 unsigned int mapsize = ranlibsize + stringsize + 8; local
2085 unsigned int mapsize = stringsize + ranlibsize; local
/freebsd-9.3-release/sys/dev/safe/
H A Dsafevar.h85 bus_size_t mapsize; member in struct:safe_operand
126 #define re_src_mapsize re_src.mapsize
133 #define re_dst_mapsize re_dst.mapsize
H A Dsafe.c833 safe_op_cb(void *arg, bus_dma_segment_t *seg, int nsegs, bus_size_t mapsize, int error) argument
837 DPRINTF(("%s: mapsize %u nsegs %d error %d\n", __func__,
838 (u_int) mapsize, nsegs, error));
841 op->mapsize = mapsize;
1392 if (re->re_src.mapsize > oplen) {
1401 (re->re_src.mapsize-oplen) == 12 &&
1506 safestats.st_obytes += re->re_dst.mapsize;
/freebsd-9.3-release/sbin/hastctl/
H A Dhastctl.c95 size_t mapsize; local
133 mapsize = activemap_calc_ondisk_size(mediasize - METADATA_SIZE,
137 res->hr_datasize = mediasize - METADATA_SIZE - mapsize;
141 res->hr_localoff = METADATA_SIZE + mapsize;
147 buf = calloc(1, mapsize);
150 mapsize);
154 if (pwrite(res->hr_localfd, buf, mapsize, METADATA_SIZE) !=
155 (ssize_t)mapsize) {
/freebsd-9.3-release/sbin/hastd/
H A Dsecondary.c223 size_t mapsize; local
239 mapsize = activemap_calc_ondisk_size(res->hr_local_mediasize -
241 map = malloc(mapsize);
245 mapsize);
299 mapsize = 0;
301 memset(map, 0xff, mapsize);
338 if (pread(res->hr_localfd, map, mapsize, METADATA_SIZE) !=
339 (ssize_t)mapsize) {
379 mapsize = activemap_calc_ondisk_size(res->hr_local_mediasize -
382 memset(map, 0xff, mapsize);
760 size_t mapsize; local
[all...]
H A Dprimary.c527 size_t mapsize; local
543 mapsize = activemap_ondisk_size(res->hr_amp);
544 buf = calloc(1, mapsize);
549 if (pread(res->hr_localfd, buf, mapsize, METADATA_SIZE) !=
550 (ssize_t)mapsize) {
553 activemap_copyin(res->hr_amp, buf, mapsize);
642 uint32_t mapsize; local
817 mapsize = nv_get_uint32(nvin, "mapsize");
818 if (mapsize >
[all...]
H A Dactivemap.c546 uint64_t nextents, mapsize; local
555 mapsize = sizeof(bitstr_t) * bitstr_size(nextents);
556 return (roundup2(mapsize, sectorsize));
/freebsd-9.3-release/sys/dev/vt/
H A Dvt_font.c166 size_t glyphsize, mapsize; local
202 mapsize = f->map_count[i] * sizeof(struct vt_font_map);
203 vf->vf_map[i] = malloc(mapsize, M_VTFONT, M_WAITOK);
204 error = copyin(f->map[i], vf->vf_map[i], mapsize);
/freebsd-9.3-release/libexec/rtld-elf/
H A Dmap_object.c67 size_t mapsize; local
177 mapsize = base_vlimit - base_vaddr;
180 mapbase = mmap(base_addr, mapsize, PROT_NONE, MAP_ANON | MAP_PRIVATE |
259 obj->mapsize = mapsize;
299 munmap(mapbase, mapsize);
H A Drtld.h163 size_t mapsize; /* Size of mapped region in bytes */ member in struct:Struct_Obj_Entry
H A Drtld.c267 size_t mapsize; member in struct:utrace_rtld
278 ld_utrace_log(int event, void *handle, void *mapbase, size_t mapsize, argument
290 ut.mapsize = mapsize;
1264 obj->mapsize = round_page(ph->p_vaddr + ph->p_memsz) -
2149 munmap(obj->mapbase, obj->mapsize);
2162 obj->mapbase + obj->mapsize - 1, obj->path);
2165 LD_UTRACE(UTRACE_LOAD_OBJECT, obj, obj->mapbase, obj->mapsize, 0,
2179 if (addr < (void *) (obj->mapbase + obj->mapsize))
4090 LD_UTRACE(UTRACE_UNLOAD_OBJECT, obj, obj->mapbase, obj->mapsize,
[all...]
/freebsd-9.3-release/sys/dev/hifn/
H A Dhifn7751var.h266 bus_size_t mapsize; member in struct:hifn_operand
288 #define src_mapsize src.mapsize
295 #define dst_mapsize dst.mapsize
/freebsd-9.3-release/sys/dev/ubsec/
H A Dubsecvar.h144 bus_size_t mapsize; member in struct:ubsec_operand
168 #define q_src_mapsize q_src.mapsize
175 #define q_dst_mapsize q_dst.mapsize
/freebsd-9.3-release/sbin/fsck_ffs/
H A Dpass5.c59 int c, i, j, blk, frags, basesize, mapsize; local
145 mapsize = newcg->cg_nextfreeoff - newcg->cg_iusedoff;
214 memset(cg_inosused(newcg), 0, (size_t)(mapsize));
340 memcmp(cg_inosused(newcg), cg_inosused(cg), mapsize) != 0 &&
343 (size_t)mapsize);
449 int mapsize, /* size of above two maps */
468 for (i = 0; i < mapsize; i++) {
446 check_maps( u_char *map1, u_char *map2, int mapsize, ufs2_daddr_t startvalue, const char *name, int *opcode, int skip, int limit, int usesysctl) argument
/freebsd-9.3-release/usr.sbin/kldxref/
H A Def_obj.c337 size_t mapsize, alignmask, max_addralign; local
470 mapsize = 0;
478 mapsize += alignmask;
479 mapsize &= ~alignmask;
480 mapsize += shdr[i].sh_size;
486 ef->size = mapsize;
487 if (posix_memalign((void **)&ef->address, max_addralign, mapsize)) {
/freebsd-9.3-release/sbin/dump/
H A Dmain.c459 mapsize = roundup(howmany(maxino, CHAR_BIT), TP_BSIZE);
460 usedinomap = (char *)calloc((unsigned) mapsize, sizeof(char));
461 dumpdirmap = (char *)calloc((unsigned) mapsize, sizeof(char));
462 dumpinomap = (char *)calloc((unsigned) mapsize, sizeof(char));
463 tapesize = 3 * (howmany(mapsize * sizeof(char), TP_BSIZE) + 1);
519 (howmany(mapsize * sizeof(char), TP_BSIZE) + 1);
H A Ddump.h37 int mapsize; /* size of the state maps */ variable
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzil.h117 #define ZIL_XVAT_SIZE(mapsize) \
118 sizeof (lr_attr_t) + (sizeof (uint32_t) * (mapsize - 1)) + \
/freebsd-9.3-release/sys/kern/
H A Dlink_elf_obj.c441 size_t mapsize; local
457 mapsize = 0;
663 mapsize += alignmask;
664 mapsize &= ~alignmask;
665 mapsize += shdr[i].sh_size;
676 round_page(mapsize) >> PAGE_SHIFT);
690 round_page(mapsize), TRUE, VM_PROT_ALL, VM_PROT_ALL, FALSE);
699 mapbase + round_page(mapsize),
708 lf->size = mapsize;
835 if (mapbase != (vm_offset_t)ef->address + mapsize)
[all...]
H A Dlink_elf.c739 size_t mapsize; local
889 mapsize = base_vlimit - base_vaddr;
899 ef->object = vm_object_allocate(OBJT_DEFAULT, mapsize >> PAGE_SHIFT);
906 (vm_offset_t *) &ef->address, mapsize, 1,
914 ef->address = malloc(mapsize, M_LINKER, M_WAITOK);
958 lf->size = mapsize;
/freebsd-9.3-release/sys/dev/pci/
H A Dpci.c2683 int barlen, basezero, flags, maprange, mapsize, type; local
2705 mapsize = pci_mapsize(testval);
2724 if ((type == SYS_RES_MEMORY && mapsize < 4) ||
2725 (type == SYS_RES_IOPORT && mapsize < 2))
2729 pm = pci_add_bar(dev, reg, map, mapsize);
2732 reg, pci_maptype(map), maprange, (uintmax_t)base, mapsize);
2788 count = (pci_addr_t)1 << mapsize;
2789 flags = RF_ALIGNMENT_LOG2(mapsize);
4101 int mapsize; local
4107 mapsize
[all...]
/freebsd-9.3-release/sys/dev/isp/
H A Disp_pci.c1760 bus_size_t mapsize; member in struct:__anon8057
1770 tdma2_2(void *arg, bus_dma_segment_t *dm_segs, int nseg, bus_size_t mapsize, int error) argument
1774 mp->mapsize = mapsize;
1845 dma2_2(void *arg, bus_dma_segment_t *dm_segs, int nseg, bus_size_t mapsize, int error) argument
1849 mp->mapsize = mapsize;
1930 mp->mapsize = 0;
/freebsd-9.3-release/sys/vm/
H A Dmemguard.c113 SYSCTL_ULONG(_vm_memguard, OID_AUTO, mapsize, CTLFLAG_RD,
/freebsd-9.3-release/sys/dev/patm/
H A Dif_patm_tx.c559 bus_size_t mapsize, int error)
565 u_int rest = mapsize;
598 w3 = mapsize;
558 patm_load_txbuf(void *uarg, bus_dma_segment_t *segs, int nseg, bus_size_t mapsize, int error) argument

Completed in 202 milliseconds

12