Searched refs:scns_last (Results 1 – 7 of 7) sorted by relevance
54 assert (offsetof (Elf, state.elf.scns_last) in elf_newscn()55 == offsetof (Elf, state.elf32.scns_last)); in elf_newscn()56 assert (offsetof (Elf, state.elf.scns_last) in elf_newscn()57 == offsetof (Elf, state.elf64.scns_last)); in elf_newscn()64 if (elf->state.elf.scns_last->cnt < elf->state.elf.scns_last->max) in elf_newscn()66 result = &elf->state.elf.scns_last->data[elf->state.elf.scns_last->cnt]; in elf_newscn()68 if (++elf->state.elf.scns_last->cnt == 1 in elf_newscn()69 && (elf->state.elf.scns_last in elf_newscn()78 assert (elf->state.elf.scns_last->cnt > 1); in elf_newscn()116 = 1 + elf->state.elf.scns_last->data[elf->state.elf.scns_last->max - 1].index; in elf_newscn()[all …]
57 idx = elf->state.elf.scns_last->cnt; in __elf_getshdrnum_rdlock()59 || (elf->state.elf.scns_last in __elf_getshdrnum_rdlock()65 *dst = 1 + elf->state.elf.scns_last->data[idx - 1].index; in __elf_getshdrnum_rdlock()
202 shnum = (elf->state.elf.scns_last->cnt == 0 in elf_update()204 : 1 + elf->state.elf.scns_last->data[elf->state.elf.scns_last->cnt - 1].index); in elf_update()
325 Elf_ScnList *scns_last; /* Last element in the section list. member344 Elf_ScnList *scns_last; /* Last element in the section list. member369 Elf_ScnList *scns_last; /* Last element in the section list. member
70 retval->state.elf.scns_last = &retval->state.elf32.scns; in elf_clone()
89 scn0->list = elf->state.elf.scns_last; in elf_getscn()
428 elf->state.elf32.scns_last = &elf->state.elf32.scns; in file_read_elf()525 elf->state.elf64.scns_last = &elf->state.elf64.scns; in file_read_elf()1084 result->state.elf.scns_last = &result->state.elf32.scns; in write_file()