Searched refs:scns_last (Results 1 – 6 of 6) 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()
184 shnum = (elf->state.elf.scns_last->cnt == 0 in elf_update()186 : 1 + elf->state.elf.scns_last->data[elf->state.elf.scns_last->cnt - 1].index); in elf_update()
70 retval->state.elf.scns_last = &retval->state.elf32.scns; in elf_clone()
322 Elf_ScnList *scns_last; /* Last element in the section list. member341 Elf_ScnList *scns_last; /* Last element in the section list. member366 Elf_ScnList *scns_last; /* Last element in the section list. member
400 elf->state.elf32.scns_last = &elf->state.elf32.scns; in file_read_elf()497 elf->state.elf64.scns_last = &elf->state.elf64.scns; in file_read_elf()1037 result->state.elf.scns_last = &result->state.elf32.scns; in write_file()