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

12

/netbsd-6-1-5-RELEASE/sbin/gpt/
H A Dmap.c55 m->map_size = size;
69 while (n != NULL && n->map_start + n->map_size <= start)
74 if (n->map_start + n->map_size < start + size) {
79 if (n->map_start == start && n->map_size == size) {
116 n->map_size -= size;
117 } else if (start + size == n->map_start + n->map_size) {
124 p->map_size -= size;
127 n->map_start += p->map_size + m->map_size;
128 n->map_size
[all...]
H A Dmap.h34 off_t map_size; member in struct:map
H A Drecover.c92 lbt = map_add(last - tbl->map_size, tbl->map_size,
103 tbl = map_add(2LL, lbt->map_size, MAP_TYPE_PRI_GPT_TBL,
H A Dadd.c136 ent->ent_lba_end = htole64(map->map_start + map->map_size - 1LL);
151 ent->ent_lba_end = htole64(map->map_start + map->map_size - 1LL);
167 " <type>\n", device_arg, map->map_start, map->map_size);
H A Dcreate.c151 if (map->map_size < blocks)
152 blocks = map->map_size;
H A Dremove.c107 if (size > 0 && size != m->map_size)
H A Dshow.c144 printf(" %*llu", lbawidth, (long long)m->map_size);
H A Dmigrate.c206 if (map->map_size < blocks)
207 blocks = map->map_size;
H A Dbiosboot.c201 m->map_start == start && m->map_size == (off_t)size)
H A Dlabel.c108 if (size > 0 && size != m->map_size)
/netbsd-6-1-5-RELEASE/sys/arch/shark/include/
H A Ddevmap.h68 size_t map_size; /* size to be given to mmap, page aligned */ member in struct:map_info::__anon6416::__anon6418
/netbsd-6-1-5-RELEASE/sys/dev/wscons/
H A Dwsksymvar.h52 int map_size; /* size of map */ member in struct:wscons_keydesc
H A Dwskbdutil.c433 while (mp->map_size > 0) {
440 if (mp->map_size <= 0)
443 for (kp = mp->map; kp < mp->map + mp->map_size; kp++)
452 for (l = 0; kp + l < mp->map + mp->map_size; l++)
500 while (mp->map_size > 0) {
510 if (mp->map_size <= 0)
519 for (kp = mp->map; kp < mp->map + mp->map_size; kp++)
528 for (kp = mp->map; kp < mp->map + mp->map_size; ) {
542 for (i = 0; kp + i < mp->map + mp->map_size; i++)
/netbsd-6-1-5-RELEASE/usr.sbin/pppd/pppd/
H A Dtdb.c205 if ((offset <= tdb->map_size) || (tdb->fd == -1)) return 0;
215 munmap(tdb->map_ptr, tdb->map_size);
220 tdb->map_size = st.st_size;
222 tdb->map_ptr = (void *)mmap(NULL, tdb->map_size,
339 tdb_oob(tdb,tdb->map_size + 1);
345 length = ((tdb->map_size + length + TDB_PAGE_SIZE) & ~(TDB_PAGE_SIZE - 1)) - tdb->map_size;
349 lseek(tdb->fd, tdb->map_size + length - 1, SEEK_SET);
363 munmap(tdb->map_ptr, tdb->map_size);
368 tdb->map_size
[all...]
H A Dtdb.h43 tdb_len map_size; /* how much space has been mapped */ member in struct:__anon10047
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dobjfiles.c1150 filter_debuginfo_sections (struct obj_section **map, int map_size)
1154 for (i = 0, j = 0; i < map_size - 1; i++)
1174 if (i < map_size)
1176 gdb_assert (i == map_size - 1);
1181 gdb_assert (map_size / 2 <= j);
1192 filter_overlapping_sections (struct obj_section **map, int map_size)
1196 for (i = 0, j = 0; i < map_size - 1; )
1201 for (k = i + 1; k < map_size; k++)
1246 if (i < map_size)
1248 gdb_assert (i == map_size
1148 filter_debuginfo_sections(struct obj_section **map, int map_size) argument
1190 filter_overlapping_sections(struct obj_section **map, int map_size) argument
1261 int alloc_size, map_size, i; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/arm/s3c2xx0/
H A Ds3c24x0_lcd.h49 size_t map_size; member in struct:s3c24x0_lcd_screen
/netbsd-6-1-5-RELEASE/sys/arch/arm/xscale/
H A Dpxa2x0_lcd.h63 size_t map_size; member in struct:pxa2x0_lcd_screen
H A Dpxa2x0_lcd.c623 scr->map_size = size; /* used when unmap this. */
858 bus_dmamem_unmap(sc->dma_tag, scr->buf_va, scr->map_size);
/netbsd-6-1-5-RELEASE/sys/arch/powerpc/booke/dev/
H A Dpq3etsec.c1185 size_t map_size,
1191 bus_dmamem_unmap(dmat, kvap, map_size);
1199 size_t map_size,
1210 error = bus_dmamem_alloc(dmat, map_size, PAGE_SIZE, 0,
1217 error = bus_dmamem_map(dmat, seg, nseg, map_size, (void **)kvap,
1220 error = bus_dmamap_create(dmat, map_size, 1, map_size, 0, 0,
1223 error = bus_dmamap_load(dmat, *map, *kvap, map_size,
1230 bus_dmamem_unmap(dmat, *kvap, map_size);
1619 size_t map_size local
1197 pq3etsec_dmamem_alloc( bus_dma_tag_t dmat, size_t map_size, bus_dma_segment_t *seg, bus_dmamap_t *map, void **kvap) argument
1666 size_t map_size = PAGE_SIZE; local
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/hpc/
H A Dhpckbd.c282 desc[i].map_size = mapsize;
/netbsd-6-1-5-RELEASE/external/mit/xorg/lib/libxcb/files/
H A Dxinput.c4155 return R->map_size;
4172 i.data = ((uint8_t *) (R + 1)) + (R->map_size);
4205 ** @param uint8_t map_size
4214 uint8_t map_size /**< */,
4229 xcb_out.map_size = map_size;
4237 xcb_parts[4].iov_len = map_size * sizeof(uint8_t);
4251 ** @param uint8_t map_size
4260 uint8_t map_size /**< */,
4275 xcb_out.map_size
[all...]
H A Dxinput.h1262 uint8_t map_size; /**< */ member in struct:xcb_input_get_device_button_mapping_reply_t
1284 uint8_t map_size; /**< */ member in struct:xcb_input_set_device_button_mapping_request_t
5527 ** @param uint8_t map_size
5536 uint8_t map_size /**< */,
5557 ** @param uint8_t map_size
5566 uint8_t map_size /**< */,
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/roff/troff/
H A Dnode.cpp5974 : map_size(10), nm(s)
5976 map = new int[map_size];
5977 for (int i = 0; i < map_size; i++)
5989 if (i < map_size && map[i] >= 0)
5993 if (i >= map_size) {
5994 int old_map_size = map_size;
5996 map_size *= 3;
5997 map_size /= 2;
5998 if (i >= map_size)
5999 map_size
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/pci/
H A Dazalia.c122 bus_size_t map_size; member in struct:azalia_t
317 &sc->iot, &sc->ioh, NULL, &sc->map_size)) {
430 if (az->map_size != 0) {
431 bus_space_unmap(az->iot, az->ioh, az->map_size);
432 az->map_size = 0;

Completed in 242 milliseconds

12