/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_memio.c | 37 size_t md_size; member 47 if (mdp->md_off + nbytes > mdp->md_size) in memio_read() 48 nbytes = (mdp->md_size - mdp->md_off); in memio_read() 71 mdp->md_off = mdp->md_size + offset; in memio_seek() 72 if (mdp->md_off > mdp->md_size) in memio_seek() 73 mdp->md_off = mdp->md_size; in memio_seek() 106 mdp->md_size = size; in mdb_memio_create()
|
/illumos-gate/usr/src/cmd/ldmad/ |
H A D | ldma_dio.c | 89 size_t md_size; in ldma_dio_pcidev_info_handler() local 93 rv = get_devinfo(&md_bufp, &md_size); in ldma_dio_pcidev_info_handler() 98 reply = ldma_alloc_result_msg(request, md_size); in ldma_dio_pcidev_info_handler() 105 reply->msg_info = md_size; in ldma_dio_pcidev_info_handler() 107 (void) memcpy(data, md_bufp, md_size); in ldma_dio_pcidev_info_handler() 109 *reply_dlenp = md_size; in ldma_dio_pcidev_info_handler() 341 size_t md_size; in get_devinfo() local 358 md_size = (int)md_gen_bin(mdp, &md_bufp); in get_devinfo() 360 if (md_size == 0) { in get_devinfo() 365 *size = md_size; in get_devinfo()
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | mach_descrip.c | 289 uint64_t md_size0, md_size; in mach_descrip_update() local 333 md_size = md_space; in mach_descrip_update() 334 hvret = hv_mach_desc(tbuf_pa, &md_size); in mach_descrip_update() 348 } while (md_space < md_size); in mach_descrip_update() 363 (curr_mach_descrip->size == md_size))) { in mach_descrip_update() 370 if (bcmp(curr_mach_descrip->va, tbuf, md_size) != 0) { in mach_descrip_update() 431 curr_mach_descrip->size = md_size; in mach_descrip_update() 435 dump_buf((uint8_t *)curr_mach_descrip->va, md_size); in mach_descrip_update()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | bootinfo64.c | 90 COPY32(mm->md_size, a, c); \ 92 i386_copyin(mm->md_data, a, mm->md_size); \ 93 a += roundup(mm->md_size, sizeof(u_int64_t));\
|
H A D | bootinfo32.c | 88 COPY32(mm->md_size, a, c); \ 90 i386_copyin(mm->md_data, a, mm->md_size); \ 91 a += roundup(mm->md_size, sizeof(u_long));\
|
H A D | i386_copy.c | 147 smaplen = md->md_size / sizeof (struct bios_smap); in i386_loadaddr()
|
H A D | linux.c | 78 entries = md->md_size / sizeof (struct bios_smap); in find_real_addr()
|
H A D | multiboot.c | 357 num = md->md_size / sizeof(struct bios_smap); /* number of entries */ in multiboot_exec()
|
/illumos-gate/usr/src/boot/efi/loader/arch/i386/ |
H A D | bootinfo.c | 168 COPY32(mm->md_size, a); \ 169 i386_copyin(mm->md_data, a, mm->md_size); \ 170 a += roundup(mm->md_size, sizeof(u_int64_t));\
|
/illumos-gate/usr/src/lib/libv12n/sparc/ |
H A D | libv12n.c | 142 int md_size; in v12n_md_init() local 156 md_size = sizeof (md_header_t) + mdh.node_blk_sz + mdh.name_blk_sz + in v12n_md_init() 159 if ((buf = malloc(md_size)) == NULL) in v12n_md_init() 164 md_size - sizeof (md_header_t)) != md_size - sizeof (md_header_t)) { in v12n_md_init()
|
/illumos-gate/usr/src/boot/efi/loader/ |
H A D | bootinfo.c | 197 COPY32(mm->md_size, a, c); \ 199 archsw.arch_copyin(mm->md_data, a, mm->md_size); \ 200 a += roundup(mm->md_size, sizeof (ulong_t)); \
|
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | machdep.c | 86 mdlen = cmach.md_size - sizeof (csu_md_t); in cb_check_machdep()
|
/illumos-gate/usr/src/boot/common/ |
H A D | bootstrap.h | 207 size_t md_size; member
|
H A D | multiboot2.c | 743 num = md->md_size / sizeof (struct bios_smap); /* number of entries */ in biossmap_size() 1063 num = md->md_size / sizeof (struct bios_smap); /* number of entries */ in multiboot2_exec()
|
H A D | module.c | 310 md->md_type, (long)md->md_size); in command_lsmod() 903 md->md_size = size; in file_addmetadata()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cpr.h | 339 uint_t md_size; /* the size of the "opaque" data following */ member
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | map_core.c | 1273 size_t md_size; /* strlen(md_name) */ in cdir_process() member 1321 mdptr->md_size) != 0) in cdir_process() 1323 tail = mf->mf_next + mdptr->md_size; in cdir_process()
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | cpr_impl.c | 564 cmach.md_size = sizeof (m_info) + sizeof (ustr); in i_cpr_write_machdep()
|