Home
last modified time | relevance | path

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

/xen/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/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.c228 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s) in _fdt_find_string() argument
231 const char *last = strtab + tabsize - len; in _fdt_find_string()
234 for (p = strtab; p <= last; p++) in _fdt_find_string()
A Dfdt_rw.c151 char *strtab = (char *)fdt + fdt_off_dt_strings(fdt); in _fdt_find_add_string() local
157 p = _fdt_find_string(strtab, fdt_size_dt_strings(fdt), s); in _fdt_find_add_string()
160 return (p - strtab); in _fdt_find_add_string()
162 new = strtab + fdt_size_dt_strings(fdt); in _fdt_find_add_string()
168 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/xen/include/xen/
A Dlivepatch_elf.h36 const struct livepatch_elf_sec *strtab;/* Pointer to .strtab section. */ member
A Dlivepatch_payload.h58 const char *strtab; /* Pointer to .strtab. */ member
/xen/xen/arch/x86/boot/
A Dbuild32.lds60 .strtab : {
61 *(.strtab)
/xen/xen/common/
A Dlivepatch.c920 char *strtab; in build_symbol_table() local
933 strtab = xzalloc_array(char, strtab_len); in build_symbol_table()
935 if ( !strtab || !symtab ) in build_symbol_table()
937 xfree(strtab); in build_symbol_table()
948 symtab[nsyms].name = strtab + strtab_len; in build_symbol_table()
952 strtab_len += strlcpy(strtab + strtab_len, elf->sym[i].name, in build_symbol_table()
979 xfree(strtab); in build_symbol_table()
995 payload->strtab = strtab; in build_symbol_table()
1009 xfree((void *)data->strtab); in free_payload()
1116 xfree((void *)data->strtab); in livepatch_upload()
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()

Completed in 20 milliseconds