Home
last modified time | relevance | path

Searched refs:md_size (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_memio.c37 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 Dldma_dio.c89 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 Dmach_descrip.c289 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 Dbootinfo64.c90 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 Dbootinfo32.c88 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 Di386_copy.c147 smaplen = md->md_size / sizeof (struct bios_smap); in i386_loadaddr()
H A Dlinux.c78 entries = md->md_size / sizeof (struct bios_smap); in find_real_addr()
H A Dmultiboot.c357 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 Dbootinfo.c168 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 Dlibv12n.c142 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 Dbootinfo.c197 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 Dmachdep.c86 mdlen = cmach.md_size - sizeof (csu_md_t); in cb_check_machdep()
/illumos-gate/usr/src/boot/common/
H A Dbootstrap.h206 size_t md_size; member
H A Dmultiboot2.c743 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 Dmodule.c310 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 Dcpr.h339 uint_t md_size; /* the size of the "opaque" data following */ member
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmap_core.c1273 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 Dcpr_impl.c564 cmach.md_size = sizeof (m_info) + sizeof (ustr); in i_cpr_write_machdep()