Lines Matching defs:area
310 namedmem_t area[3];
373 area[0].nm_name = "data";
374 area[0].nm_addr = addr + io2.data;
375 area[0].nm_len = io2.data_len;
377 area[1].nm_name = direct2name(io2.direct_type);
378 area[1].nm_addr = addr + io2.direct;
379 area[1].nm_len = io2.direct_len;
381 area[2].nm_name = "trailer";
382 area[2].nm_addr = addr + io2.trailer;
383 area[2].nm_len = io2.trailer_len;
385 for (i = 0; i < sizeof (area) / sizeof (area[0]); i++) {
386 if (area[i].nm_len <= 0)
389 mdb_printf("%d byte %s area at %p (", area[i].nm_len,
390 area[i].nm_name, area[i].nm_addr);
392 if (area[i].nm_len > payload_output_max) {
394 area[i].nm_len = (int)payload_output_max;
398 mdb_printf(" %u bytes follow):\n", area[i].nm_len);
399 if (mdb_vread(buf, area[i].nm_len, area[i].nm_addr) == -1)
400 mdb_warn("cannot read %s area at %p", area[i].nm_name,
401 area[i].nm_addr);
404 printbuf(buf, area[i].nm_len);
422 mdb_printf("\t\teach payload area\n");