Searched refs:strtab (Results 1 – 13 of 13) sorted by relevance
/xen/tools/libxc/ |
A D | xc_core.c | 84 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 D | xc_core_arm.h | 42 struct xc_core_strtab *strtab, in xc_core_arch_context_get_shdr() argument
|
A D | xc_core_x86.h | 43 struct xc_core_strtab *strtab, in xc_core_arch_context_get_shdr() argument
|
A D | xc_core.h | 124 struct xc_core_strtab *strtab,
|
/xen/xen/common/libfdt/ |
A D | fdt_sw.c | 168 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 D | fdt.c | 228 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 D | fdt_rw.c | 151 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 D | libfdt_internal.h | 65 const char *_fdt_find_string(const char *strtab, int tabsize, const char *s);
|
/xen/xen/include/xen/ |
A D | livepatch_elf.h | 36 const struct livepatch_elf_sec *strtab;/* Pointer to .strtab section. */ member
|
A D | livepatch_payload.h | 58 const char *strtab; /* Pointer to .strtab. */ member
|
/xen/xen/arch/x86/boot/ |
A D | build32.lds | 60 .strtab : { 61 *(.strtab)
|
/xen/xen/common/ |
A D | livepatch.c | 920 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 D | livepatch_elf.c | 158 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