Searched refs:size (Results 1 - 25 of 27) sorted by relevance

12

/scripts/
H A Dcheckstack.pl30 # $1 (first bracket) matches the size of the stack growth
128 my $size = $1;
129 $size = hex($size) if ($size =~ /^0x/);
131 if ($size > 0xf0000000) {
132 $size = - $size;
133 $size += 0x80000000;
134 $size
[all...]
H A Dbloat-o-meter18 for l in os.popen("nm --size-sort " + file).readlines():
19 size, type, name = l[:-1].split()
25 sym[name] = sym.get(name, 0) + int(size, 16)
H A Dkallsyms.c432 unsigned int i, len, size; local
447 size = len;
452 size -= (p2 - p1);
453 memmove(p2, p2 + 1, size);
457 if (size < 2) break;
460 p2 = find_token(p1, size, str);
H A Drecordmcount.c113 umalloc(size_t size) argument
115 void *const addr = malloc(size);
117 fprintf(stderr, "malloc failed: %zu bytes\n", size);
/scripts/mod/
H A Dmodpost.h70 static inline void __endian(const void *src, void *dest, unsigned int size) argument
73 for (i = 0; i < size; i++)
74 ((unsigned char*)dest)[i] = ((unsigned char*)src)[size - i-1];
96 int size; member in struct:buffer
120 unsigned long size; member in struct:elf_info
181 void *grab_file(const char *filename, unsigned long *size);
182 char* get_next_line(unsigned long *pos, void *file, unsigned long size);
183 void release_file(void *file, unsigned long size);
H A Dfile2alias.c121 * Check that sizeof(device_id type) are consistent with size of section
123 * on actual size which is a bug.
125 * Ignore both checks if build host differ from target host and size differs.
128 unsigned long size, unsigned long id_size,
133 if (size % id_size || size < id_size) {
137 "of the size of section __mod_%s_device_table=%lu.\n"
140 modname, device_id, id_size, device_id, size, device_id);
144 if (*(uint8_t*)(symval+size-id_size+i)) {
147 modname, device_id, id_size, size / id_siz
127 device_id_check(const char *modname, const char *device_id, unsigned long size, unsigned long id_size, void *symval) argument
319 do_usb_table(void *symval, unsigned long size, struct module *mod) argument
491 do_pnp_device_entry(void *symval, unsigned long size, struct module *mod) argument
518 do_pnp_card_entries(void *symval, unsigned long size, struct module *mod) argument
1066 do_table(void *symval, unsigned long size, unsigned long id_size, const char *device_id, void *function, struct module *mod) argument
[all...]
H A Dmodpost.c176 /* Set the initial value from the key size. */
337 void *grab_file(const char *filename, unsigned long *size) argument
347 *size = st.st_size;
348 map = mmap(NULL, *size, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0);
361 char *get_next_line(unsigned long *pos, void *file, unsigned long size) argument
369 for (; *pos < size ; (*pos)++) {
375 if (*p != '\n' && (*pos < size)) {
390 void release_file(void *file, unsigned long size) argument
392 munmap(file, size);
404 hdr = grab_file(filename, &info->size);
686 unsigned long size = modinfo_len; local
2023 unsigned long size, pos = 0; local
[all...]
/scripts/kconfig/
H A Dzconf.l49 static void append_string(const char *str, int size)
51 int new_size = text_size + size + 1;
58 memcpy(text + text_size, str, size);
59 text_size += size;
63 static void alloc_string(const char *str, int size)
65 text = malloc(size + 1);
66 memcpy(text, str, size);
67 text[size] = 0;
H A Dmconf.c141 "In order for this to work, the \"stty size\" command must be able to\n"
147 "the true screen size.\n"
291 int size; local
293 size = snprintf(menu_backtitle, sizeof(menu_backtitle),
295 if (size >= sizeof(menu_backtitle))
299 size = snprintf(filename, sizeof(filename), "%s", config_filename);
300 if (size >= sizeof(filename))
H A Dsymbol.c629 int size; local
656 size = strlen(newval) + 1;
658 size += 2;
659 sym->def[S_DEF_USER].val = val = malloc(size);
663 sym->def[S_DEF_USER].val = val = malloc(size);
949 int i, cnt, size; local
952 cnt = size = 0;
964 if (cnt + 1 >= size) {
966 size += 16;
967 sym_arr = realloc(sym_arr, size * sizeo
[all...]
H A Dconf.c21 static void xfgets(char *str, int size, FILE *in);
680 void xfgets(char *str, int size, FILE *in) argument
682 if (fgets(str, size, in) == NULL)
H A Dnconf.c119 "In order for this to work, the \"stty size\" command must be able to\n"
125 "the true screen size.\n"
269 /* the largest size of the menu window */
636 int size; local
638 size = snprintf(menu_backtitle, sizeof(menu_backtitle),
640 if (size >= sizeof(menu_backtitle))
643 size = snprintf(filename, sizeof(filename), "%s", config_filename);
644 if (size >= sizeof(filename))
H A Dconfdata.c693 int size = slash - name + 1; local
694 memcpy(dirname, name, size);
695 dirname[size] = 0;
H A Dqconf.cc1238 configSettings->writeEntry("/window width", size().width());
1239 configSettings->writeEntry("/window height", size().height());
1691 configSettings->writeEntry("/window width", size().width());
1692 configSettings->writeEntry("/window height", size().height());
/scripts/genksyms/
H A Dgenksyms.h81 #define xmalloc(size) ({ void *__ptr = malloc(size); \
82 if(!__ptr && size != 0) { \
H A Dparse.tab.c_shipped320 and a page size can be as small as 4096 bytes. So we cannot safely
368 /* The size of the maximum gap between one aligned stack and the next. */
371 /* The size of an array large to enough to hold all stacks, each with
1119 /* YYINITDEPTH -- initial size of the parser's stacks. */
1124 /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
1237 /* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message
1490 /* Buffer for error messages, and its allocated size. */
1536 /* Get the current used size of the three stacks, in elements. */
1547 /* Each stack pointer address is followed by the size of the
1588 YYDPRINTF ((stderr, "Stack size increase
[all...]
/scripts/dtc/libfdt/
H A Dfdt.h8 uint32_t totalsize; /* total size of DT block */
19 uint32_t size_dt_strings; /* size of the strings block */
22 uint32_t size_dt_struct; /* size of the structure block */
27 uint64_t size; member in struct:fdt_reserve_entry
44 #define FDT_MAGIC 0xd00dfeed /* 4: version, 4: total size */
50 size, content */
H A Dfdt_ro.c83 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size) argument
87 *size = fdt64_to_cpu(_fdt_mem_rsv(fdt, n)->size);
95 while (fdt64_to_cpu(_fdt_mem_rsv(fdt, i)->size) != 0)
H A Dfdt_sw.c110 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size) argument
126 re->size = cpu_to_fdt64(size);
H A Dlibfdt.h194 * @bufsize: size of the memory space at buf
197 * fdt to the buffer at buf of size bufsize. The buffer may overlap
245 * @address, @size: pointers to 64-bit variables
247 * On success, *address and *size will contain the address and size of
257 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size);
436 * @buflen: size of the character buffer at buf
665 * fdt_setprop_inplace - change a property's value, but not its size
674 * size of a property, and so will only work if len is equal to the
704 * big-endian if necessary. This function cannot change the size o
[all...]
H A Dfdt_rw.c172 int fdt_add_mem_rsv(void *fdt, uint64_t address, uint64_t size) argument
185 re->size = cpu_to_fdt64(size);
/scripts/dtc/
H A Dlivetree.c205 struct reserve_info *build_reserve_entry(uint64_t address, uint64_t size) argument
212 new->re.size = size;
485 else if (a->re.size < b->re.size)
487 else if (a->re.size > b->re.size)
H A Ddata.c260 bere.size = cpu_to_fdt64(re->size);
H A Dflattree.c400 "Warning: blob size %d >= minimum size %d\n",
518 * Each entry is an (address, size) pair of u64 values.
540 ASM_EMIT_BELONG(f, "0x%08x", (unsigned int)(re->re.size >> 32));
541 ASM_EMIT_BELONG(f, "0x%08x", (unsigned int)(re->re.size & 0xffffffff));
703 * Each entry is a pair of u64 (addr, size) values for 4 cell_t's.
704 * List terminates at an entry with size equal to zero.
711 re.size = fdt64_to_cpu(re.size);
712 if (re.size
[all...]
H A Dtreesource.c277 (unsigned long long)re->re.size);

Completed in 1405 milliseconds

12