Searched refs:new_size (Results 1 – 4 of 4) sorted by relevance
86 local new_size=$191 devlink resource set "$DEVLINK_DEV" path "$path" size "$new_size"
700 size_t new_size = new_nr_records * sizeof(struct pkey_malloc_record); in record_pkey_malloc() local702 dprintf2("new_size: %zd\n", new_size); in record_pkey_malloc()703 pkey_malloc_records = realloc(pkey_malloc_records, new_size); in record_pkey_malloc()
103 size_t new_size = ff->size; in __do_write_buf() local109 while (size > (new_size - ff->offset)) in __do_write_buf()110 new_size <<= 1; in __do_write_buf()111 new_size = min(max_size, new_size); in __do_write_buf()113 if (ff->size < new_size) { in __do_write_buf()114 addr = realloc(ff->buf, new_size); in __do_write_buf()118 ff->size = new_size; in __do_write_buf()
48 __u32 expand_by, new_size; in btf_add_type() local54 new_size = min(BTF_MAX_NR_TYPES, btf->types_size + expand_by); in btf_add_type()56 new_types = realloc(btf->types, sizeof(*new_types) * new_size); in btf_add_type()64 btf->types_size = new_size; in btf_add_type()