Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 29) sorted by relevance

12

/scripts/
A Dcheckstack.pl128 my $size = $1;
129 $size = hex($size) if ($size =~ /^0x/);
131 if ($size > 0xf0000000) {
132 $size = - $size;
133 $size += 0x80000000;
134 $size += 0x80000000;
136 next if ($size > 0x10000000);
149 next if ($size < 100);
150 push @stack, "$intro$size\n";
153 my $size = "Dynamic ($1)";
[all …]
A Dbuild_OID_registry56 my $size = $#components;
63 $size += $tmp;
65 push @lengths, $size;
67 $total_length += $size;
A Devent_dump.py46 sym_data = data[sym.offset:sym.offset + sym.size]
49 func_size = 4 if sym.size < 16 else 8
60 has_id = sym.size in [12, 24]
A DMakefile.gcc-plugins35 += -fplugin-arg-stackleak_plugin-track-min-size=$(CONFIG_STACKLEAK_TRACK_MIN_SIZE)
/scripts/kconfig/
A Dutil.c83 void *xmalloc(size_t size) in xmalloc() argument
85 void *p = malloc(size); in xmalloc()
92 void *xcalloc(size_t nmemb, size_t size) in xcalloc() argument
94 void *p = calloc(nmemb, size); in xcalloc()
101 void *xrealloc(void *p, size_t size) in xrealloc() argument
103 p = realloc(p, size); in xrealloc()
A Dzconf.l51 static void append_string(const char *str, int size) in append_string() argument
53 int new_size = text_size + size + 1; in append_string()
60 memcpy(text + text_size, str, size); in append_string()
61 text_size += size; in append_string()
65 static void alloc_string(const char *str, int size) in alloc_string() argument
67 text = xmalloc(size + 1); in alloc_string()
68 memcpy(text, str, size); in alloc_string()
69 text[size] = 0; in alloc_string()
A Dlkc.h100 void *xmalloc(size_t size);
101 void *xcalloc(size_t nmemb, size_t size);
102 void *xrealloc(void *p, size_t size);
A Dsymbol.c644 int size; in sym_set_string_value() local
671 size = strlen(newval) + 1; in sym_set_string_value()
673 size += 2; in sym_set_string_value()
674 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
678 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
955 int i, cnt, size; in sym_re_search() local
959 cnt = size = 0; in sym_re_search()
971 if (cnt >= size) { in sym_re_search()
973 size += 16; in sym_re_search()
974 tmp = realloc(sym_match_arr, size * sizeof(struct sym_match)); in sym_re_search()
A Dmconf.c299 int size; in set_config_filename() local
301 size = snprintf(menu_backtitle, sizeof(menu_backtitle), in set_config_filename()
303 if (size >= sizeof(menu_backtitle)) in set_config_filename()
307 size = snprintf(filename, sizeof(filename), "%s", config_filename); in set_config_filename()
308 if (size >= sizeof(filename)) in set_config_filename()
A Dnconf.c632 int size; in set_config_filename() local
634 size = snprintf(menu_backtitle, sizeof(menu_backtitle), in set_config_filename()
636 if (size >= sizeof(menu_backtitle)) in set_config_filename()
639 size = snprintf(filename, sizeof(filename), "%s", config_filename); in set_config_filename()
640 if (size >= sizeof(filename)) in set_config_filename()
A Dconf.c74 static void xfgets(char *str, int size, FILE *in) in xfgets() argument
76 if (!fgets(str, size, in)) in xfgets()
/scripts/dtc/libfdt/
A Dfdt_addresses.c58 const char *name, uint64_t addr, uint64_t size) in fdt_appendprop_addrrange() argument
76 if ((addr > UINT32_MAX) || ((UINT32_MAX + 1 - addr) < size)) in fdt_appendprop_addrrange()
89 if (size > UINT32_MAX) in fdt_appendprop_addrrange()
92 fdt32_st(prop, (uint32_t)size); in fdt_appendprop_addrrange()
94 fdt64_st(prop, size); in fdt_appendprop_addrrange()
A Dfdt.c51 uint32_t base, uint32_t size) in check_block_() argument
55 if ((base + size) < base) in check_block_()
57 if (!check_off_(hdrsize, totalsize, base + size)) in check_block_()
A Dfdt.h33 fdt64_t size; member
A Dfdt_sw.c190 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size) in fdt_add_reservemap_entry() argument
203 re->size = cpu_to_fdt64(size); in fdt_add_reservemap_entry()
A Dlibfdt.h405 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size);
1400 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size);
1472 int fdt_add_mem_rsv(void *fdt, uint64_t address, uint64_t size);
1903 const char *name, uint64_t addr, uint64_t size);
A Dfdt_rw.c156 int fdt_add_mem_rsv(void *fdt, uint64_t address, uint64_t size) in fdt_add_mem_rsv() argument
169 re->size = cpu_to_fdt64(size); in fdt_add_mem_rsv()
A Dfdt_ro.c175 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size) in fdt_get_mem_rsv() argument
185 *size = fdt64_to_cpu(re->size); in fdt_get_mem_rsv()
195 if (fdt64_to_cpu(re->size) == 0) in fdt_num_mem_rsv()
/scripts/dtc/
A Dutil.c63 int n, size = 128; /* start with 128 bytes */ in xasprintf() local
70 p = xrealloc(p, size); in xasprintf()
74 n = vsnprintf(p, size, fmt, ap); in xasprintf()
78 if (n > -1 && n < size) in xasprintf()
82 size = n + 1; /* precisely what is needed */ in xasprintf()
84 size *= 2; /* twice the old size */ in xasprintf()
350 int utilfdt_decode_type(const char *fmt, int *type, int *size) in utilfdt_decode_type() argument
358 *size = -1; in utilfdt_decode_type()
377 *size = qualifier == 'b' ? 1 : in utilfdt_decode_type()
A Ddata.c200 struct data data_append_re(struct data d, uint64_t address, uint64_t size) in data_append_re() argument
205 re.size = cpu_to_fdt64(size); in data_append_re()
A Dflattree.c316 d = data_append_re(d, re->address, re->size); in flatten_reserve_list()
541 ASM_EMIT_BELONG(f, "0x%08x", (unsigned int)(re->size >> 32)); in dt_to_asm()
542 ASM_EMIT_BELONG(f, "0x%08x", (unsigned int)(re->size & 0xffffffff)); in dt_to_asm()
711 uint64_t address, size; in flat_read_mem_reserve() local
715 size = fdt64_to_cpu(re.size); in flat_read_mem_reserve()
716 if (size == 0) in flat_read_mem_reserve()
719 new = build_reserve_entry(address, size); in flat_read_mem_reserve()
A Dlivetree.c359 struct reserve_info *build_reserve_entry(uint64_t address, uint64_t size) in build_reserve_entry() argument
366 new->size = size; in build_reserve_entry()
685 else if (a->size < b->size) in cmp_reserve_info()
687 else if (a->size > b->size) in cmp_reserve_info()
A Dutil.h175 int utilfdt_decode_type(const char *fmt, int *type, int *size);
A Ddtc.h116 struct data data_append_re(struct data d, uint64_t address, uint64_t size);
240 uint64_t address, size; member
/scripts/dtc/pylibfdt/
A Dlibfdt.i_shipped217 Total tree size in bytes
511 data = bytearray(size)
517 def resize(self, size, quiet=()):
520 This creates a new device tree of size @size and moves the existing
526 size: Required new size of device tree in bytes
528 fdt = bytearray(size)
755 The size hint provides a starting size for the space to be used by the
815 def resize(self, size):
819 size: New size of tree
824 fdt = bytearray(size)
[all …]

Completed in 318 milliseconds

12