Searched refs:num_alloc (Results 1 – 8 of 8) sorted by relevance
28 int num_alloc; member63 ret->num_alloc = 0; in OPENSSL_sk_dup()68 ret->data = OPENSSL_malloc(sizeof(*ret->data) * sk->num_alloc); in OPENSSL_sk_dup()102 ret->num_alloc = 0; in OPENSSL_sk_deep_copy()106 ret->num_alloc = sk->num > min_nodes ? sk->num : min_nodes; in OPENSSL_sk_deep_copy()107 ret->data = OPENSSL_zalloc(sizeof(*ret->data) * ret->num_alloc); in OPENSSL_sk_deep_copy()176 int num_alloc; in sk_reserve() local185 num_alloc = st->num + n; in sk_reserve()186 if (num_alloc < min_nodes) in sk_reserve()187 num_alloc = min_nodes; in sk_reserve()[all …]
74 int num_alloc; in allocate_free() local82 for (num_alloc = 0; num_alloc < MAXPTRS; num_alloc++) { in allocate_free()86 ptrs[num_alloc] = malloc(size); in allocate_free()88 if (!ptrs[num_alloc]) in allocate_free()90 ptrs[num_alloc][0] = num_alloc; in allocate_free()118 for (i = 0; i < num_alloc; i++) { in allocate_free()
121 int num_alloc; in allocate_offline() local124 for (num_alloc = 0; num_alloc < NUM_PAGES; num_alloc++) { in allocate_offline()126 ptrs[num_alloc] = allocate_write((tnum << NUM_PAGES_OFFSET) | num_alloc); in allocate_offline()127 if (ptrs[num_alloc] == NULL) in allocate_offline()130 if (madvise(ptrs[num_alloc], pagesize, MADV_SOFT_OFFLINE) == -1) { in allocate_offline()139 for (i = 0; i < num_alloc; i++) { in allocate_offline()
105 unsigned num_alloc = DIV_ROUND_UP(num, 32); in util_idalloc_alloc_range() local112 i < num_elements && i - base < num_alloc && !buf->data[i]; i++); in util_idalloc_alloc_range()114 if (i - base == num_alloc) in util_idalloc_alloc_range()125 util_idalloc_resize(buf, num_elements * 2 + num_alloc); in util_idalloc_alloc_range()129 for (unsigned i = base; i < base + num_alloc - (num % 32 != 0); i++) in util_idalloc_alloc_range()132 buf->data[base + num_alloc - 1] |= BITFIELD_MASK(num % 32); in util_idalloc_alloc_range()
48 stack->num_alloc = MIN_NODES; in OPENSSL_sk_new()
12 pub num_alloc: c_int,
106 int num_alloc; member