Home | History | Annotate | Download | only in bfd

Lines Matching refs:vbn

171   unsigned int vbn;
176 vbn = bfd_getl32 (rfa->vbn);
177 if (vbn == 0)
181 off = (vbn - 1) * VMS_BLOCK_SIZE + bfd_getl16 (rfa->offset);
187 bfd_getl32 (lns.modrfa.vbn),
195 /* Read block VBN from ABFD and store it into BLK. Return FALSE in case of error. */
198 vms_read_block (bfd *abfd, unsigned int vbn, void *blk)
202 off = (vbn - 1) * VMS_BLOCK_SIZE;
210 /* Write the content of BLK to block VBN of ABFD. Return FALSE in case of error. */
213 vms_write_block (bfd *abfd, unsigned int vbn, void *blk)
217 off = (vbn - 1) * VMS_BLOCK_SIZE;
225 /* Read index block VBN and put the entry in **IDX (which is updated).
229 vms_traverse_index (bfd *abfd, unsigned int vbn, struct carsym_mem *cs)
238 if (!vms_read_block (abfd, vbn, &indexdef))
257 idx_vbn = bfd_getl32 (ridx->rfa.vbn);
268 idx_vbn = bfd_getl32 (ridx->rfa.vbn);
315 kvbn = bfd_getl32 (kbn->rfa.vbn);
327 kvbn = bfd_getl32 (kbn->rfa.vbn);
388 unsigned int vbn;
413 vbn = bfd_getl32 (idd.vbn);
414 if (vbn != 0 && !vms_traverse_index (abfd, vbn, &csm))
1580 VBN is the first vbn to be used, and will contain on return the last vbn.
1582 If not null, TOPVBN will be assigned to the vbn of the root index tree.
1588 struct lib_index *idx, unsigned int nbr, unsigned int *vbn,
1603 unsigned int vbn; /* VBN of the block. */
1612 unsigned int kbn_vbn = 0; /* VBN of the kbn block. */
1633 blk[0].vbn = (*vbn)++;
1676 kbn_vbn = (*vbn)++;
1702 bfd_putl32 (0, kbn->rfa.vbn);
1708 bfd_putl32 (*vbn, kbn->rfa.vbn);
1742 bfd_putl32 (*vbn, rblk[j]->parent);
1744 blk[level].vbn = (*vbn)++;
1765 bfd_putl32 (blk[j].vbn, rfa->vbn);
1782 if (vms_write_block (abfd, blk[j].vbn, rblk[j]) != TRUE)
1789 blk[j].vbn = (*vbn)++;
1804 rfa->vbn);
1822 bfd_putl32 (key_vbn, k->rfa.vbn);
1847 /* Save VBN of the root. */
1849 *topvbn = blk[level - 1].vbn;
1867 bfd_putl32 (blk[j - 1].vbn, rfa->vbn);
1875 if (vms_write_block (abfd, blk[j].vbn, rblk[j]) != TRUE)
2041 unsigned int vbn;
2089 vbn = 0;
2090 if (!vms_write_index (NULL, modules, nbr_modules, &vbn, NULL, is_elfidx))
2092 nbr_mod_iblk = vbn;
2098 vbn = 0;
2099 if (!vms_write_index (NULL, symbols, nbr_symbols, &vbn, NULL, is_elfidx))
2101 nbr_sym_iblk = vbn;
2224 vbn = 2;
2225 if (vms_write_index (arch, modules, nbr_modules, &vbn, &mod_idx_vbn,
2228 if (vms_write_index (arch, symbols, nbr_symbols, &vbn, &sym_idx_vbn,
2278 bfd_putl32 (vbn - 1, lhd->hipreal);
2279 bfd_putl32 (vbn - 1, lhd->hiprusd);
2281 /* VBN of the next free block. */
2291 bfd_putl16 (mod_idx_vbn, idd->vbn);
2297 bfd_putl16 (sym_idx_vbn, idd->vbn);