Home
last modified time | relevance | path

Searched refs:strtab (Results 1 – 11 of 11) sorted by relevance

/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_core.c84 strtab = malloc(sizeof(*strtab)); in xc_core_strtab_init()
85 if ( strtab == NULL ) in xc_core_strtab_init()
92 free(strtab); in xc_core_strtab_init()
100 strtab->length = 1; in xc_core_strtab_init()
102 return strtab; in xc_core_strtab_init()
109 free(strtab); in xc_core_strtab_free()
125 if ( strtab->length + len > strtab->max ) in xc_core_strtab_get()
135 tmp = realloc(strtab->strings, strtab->max * 2); in xc_core_strtab_get()
143 strtab->max *= 2; in xc_core_strtab_get()
147 strcpy(strtab->strings + strtab->length, name); in xc_core_strtab_get()
[all …]
A Dxc_core_arm.h42 struct xc_core_strtab *strtab, in xc_core_arch_context_get_shdr() argument
A Dxc_core_x86.h43 struct xc_core_strtab *strtab, in xc_core_arch_context_get_shdr() argument
A Dxc_core.h124 struct xc_core_strtab *strtab,
/xen-4.10.0-shim-comet/xen/common/libfdt/
A Dfdt_sw.c168 char *strtab = (char *)fdt + fdt_totalsize(fdt); in _fdt_find_add_string() local
174 p = _fdt_find_string(strtab - strtabsize, strtabsize, s); in _fdt_find_add_string()
176 return p - strtab; in _fdt_find_add_string()
184 memcpy(strtab + offset, s, len); in _fdt_find_add_string()
A Dfdt.c227 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s) in _fdt_find_string() argument
230 const char *last = strtab + tabsize - len; in _fdt_find_string()
233 for (p = strtab; p <= last; p++) in _fdt_find_string()
A Dfdt_rw.c150 char *strtab = (char *)fdt + fdt_off_dt_strings(fdt); in _fdt_find_add_string() local
156 p = _fdt_find_string(strtab, fdt_size_dt_strings(fdt), s); in _fdt_find_add_string()
159 return (p - strtab); in _fdt_find_add_string()
161 new = strtab + fdt_size_dt_strings(fdt); in _fdt_find_add_string()
167 return (new - strtab); in _fdt_find_add_string()
A Dlibfdt_internal.h65 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s);
/xen-4.10.0-shim-comet/xen/common/
A Dlivepatch.c71 const char *strtab; /* Pointer to .strtab. */ member
761 char *strtab; in build_symbol_table() local
776 strtab = xzalloc_array(char, strtab_len); in build_symbol_table()
778 if ( !strtab || !symtab ) in build_symbol_table()
780 xfree(strtab); in build_symbol_table()
791 symtab[nsyms].name = strtab + strtab_len; in build_symbol_table()
795 strtab_len += strlcpy(strtab + strtab_len, elf->sym[i].name, in build_symbol_table()
822 xfree(strtab); in build_symbol_table()
838 payload->strtab = strtab; in build_symbol_table()
852 xfree((void *)data->strtab); in free_payload()
[all …]
A Dlivepatch_elf.c158 elf->strtab = &sec[elf->symtab->sec->sh_link]; in elf_resolve_sections()
160 rc = elf_verify_strtab(elf->strtab); in elf_resolve_sections()
226 strtab_sec = elf->strtab; in elf_get_sym()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dlivepatch_elf.h36 const struct livepatch_elf_sec *strtab;/* Pointer to .strtab section. */ member

Completed in 13 milliseconds