Lines Matching refs:mhd
79 /* Total size of the mhd (element header). */
848 /* Initial next_block. Extracted when the MHD is read. */
850 /* Initial blk_off, once the MHD is read. */
1295 struct vms_mhd *mhd;
1322 /* Read Record length + MHD + align byte. */
1333 /* Get info from mhd. */
1334 mhd = (struct vms_mhd *)buf;
1336 if (mhd->id != MHD__C_MHDID)
1339 el->selective_search = (mhd->objstat & MHD__M_SELSRC) ? 1 : 0;
1340 el->mtime = vms_rawtime_to_time_t (mhd->datim);
1344 the mhd. */
1398 struct vms_mhd *mhd;
1401 /* Sanity check. The MHD must be big enough to contain module size. */
1405 /* Read the MHD now. */
1411 mhd = (struct vms_mhd *) buf;
1412 if (mhd->id != MHD__C_MHDID)
1426 /* Get info from mhd. */
1428 res->selective_search = (mhd->objstat & MHD__M_SELSRC) ? 1 : 0;
1429 res->mtime = vms_rawtime_to_time_t (mhd->datim);
1432 arelt->parsed_size = bfd_getl32 (mhd->modsize);
1435 Just skip the MHD. */
2207 struct vms_mhd *mhd;
2217 /* Write the MHD as a record (ie, size first). */
2221 mhd = (struct vms_mhd *)(blk + sz);
2222 memset (mhd, 0, sizeof (struct vms_mhd));
2223 mhd->lbrflag = 0;
2224 mhd->id = MHD__C_MHDID;
2225 mhd->objidlng = 4;
2226 memcpy (mhd->objid, "V1.0", 4);
2227 bfd_putl32 (modules[i].ref, mhd->refcnt);
2254 bfd_putl32 (modsize, mhd->modsize);
2256 /* Write the first block (which contains an mhd). */
2286 bfd_putl32 (modsize, mhd->modsize);
2296 /* Write the MHD. */