Home
last modified time | relevance | path

Searched refs:new_size (Results 1 – 6 of 6) sorted by relevance

/tools/bootconfig/
Dtest-bootconfig.sh57 new_size=$(stat -c %s $INITRD)
66 xpass test $new_size -eq $total_size
72 xpass test $new_size -eq $(stat -c %s $INITRD)
78 new_size=$(stat -c %s $INITRD)
79 xpass test $new_size -eq $initrd_size
/tools/virtio/linux/
Dkernel.h122 static inline void *krealloc_array(void *p, size_t new_n, size_t new_size, gfp_t gfp) in krealloc_array() argument
126 if (unlikely(check_mul_overflow(new_n, new_size, &bytes))) in krealloc_array()
/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh101 local new_size=$1
106 devlink resource set "$DEVLINK_DEV" path "$path" size "$new_size"
/tools/testing/selftests/vm/
Dprotection_keys.c655 size_t new_size = new_nr_records * sizeof(struct pkey_malloc_record); in record_pkey_malloc() local
657 dprintf2("new_size: %zd\n", new_size); in record_pkey_malloc()
658 pkey_malloc_records = realloc(pkey_malloc_records, new_size); in record_pkey_malloc()
/tools/perf/util/
Dheader.c107 size_t new_size = ff->size; in __do_write_buf() local
113 while (size > (new_size - ff->offset)) in __do_write_buf()
114 new_size <<= 1; in __do_write_buf()
115 new_size = min(max_size, new_size); in __do_write_buf()
117 if (ff->size < new_size) { in __do_write_buf()
118 addr = realloc(ff->buf, new_size); in __do_write_buf()
122 ff->size = new_size; in __do_write_buf()
Dsymbol.c1363 u64 new_size = new_map->end - new_map->start; in dso__load_kcore() local
1374 if (!replacement_map || new_size < replacement_size) { in dso__load_kcore()
1376 replacement_size = new_size; in dso__load_kcore()