Home
last modified time | relevance | path

Searched refs:new_table (Results 1 – 10 of 10) sorted by relevance

/freebsd-12-stable/contrib/ofed/opensm/opensm/
Dst.c382 st_table *new_table; local
386 new_table = alloc(st_table);
387 if (new_table == 0) {
391 *new_table = *old_table;
392 new_table->bins = (st_table_entry **)
395 if (new_table->bins == 0) {
396 free(new_table);
401 new_table->bins[i] = 0;
406 free(new_table->bins);
407 free(new_table);
[all …]
/freebsd-12-stable/contrib/libevent/
Dht-internal.h321 struct type **new_table; \
332 if ((new_table = mallocfn(new_len*sizeof(struct type*)))) { \
334 memset(new_table, 0, new_len*sizeof(struct type*)); \
342 elm->field.hte_next = new_table[b2]; \
343 new_table[b2] = elm; \
349 head->hth_table = new_table; \
352 new_table = reallocfn(head->hth_table, new_len*sizeof(struct type*)); \
353 if (!new_table) return -1; \
354 memset(new_table + head->hth_table_length, 0, \
358 for (pE = &new_table[b], e = *pE; e != NULL; e = *pE) { \
[all …]
/freebsd-12-stable/contrib/ntp/sntp/libevent/
Dht-internal.h321 struct type **new_table; \
332 if ((new_table = mallocfn(new_len*sizeof(struct type*)))) { \
334 memset(new_table, 0, new_len*sizeof(struct type*)); \
342 elm->field.hte_next = new_table[b2]; \
343 new_table[b2] = elm; \
349 head->hth_table = new_table; \
352 new_table = reallocfn(head->hth_table, new_len*sizeof(struct type*)); \
353 if (!new_table) return -1; \
354 memset(new_table + head->hth_table_length, 0, \
358 for (pE = &new_table[b], e = *pE; e != NULL; e = *pE) { \
[all …]
/freebsd-12-stable/contrib/com_err/
Dcom_err.c157 add_to_error_table(struct et_list *new_table) in add_to_error_table() argument
162 if (et->table->base == new_table->table->base) in add_to_error_table()
166 new_table->next = _et_list; in add_to_error_table()
167 _et_list = new_table; in add_to_error_table()
Dcom_err.h74 add_to_error_table (struct et_list *new_table);
/freebsd-12-stable/crypto/heimdal/lib/com_err/
Dcom_err.c160 add_to_error_table(struct et_list *new_table) in add_to_error_table() argument
165 if (et->table->base == new_table->table->base) in add_to_error_table()
169 new_table->next = _et_list; in add_to_error_table()
170 _et_list = new_table; in add_to_error_table()
Dcom_err.h74 add_to_error_table (struct et_list *new_table);
/freebsd-12-stable/lib/libc/db/hash/
Dhash.c106 int bpages, hdrsize, new_table, nsegs, save_errno; in __hash_open() local
128 new_table = _fstat(hashp->fp, &statbuf) == 0 && in __hash_open()
131 new_table = 1; in __hash_open()
133 if (new_table) { in __hash_open()
187 hashp->new_file = new_table; in __hash_open()
/freebsd-12-stable/sys/cam/scsi/
Dscsi_sa.c634 struct sa_prot_map *new_table,
1211 sapopulateprots(struct sa_prot_state *cur_state, struct sa_prot_map *new_table, in sapopulateprots() argument
1216 bcopy(sa_prot_table, new_table, min(table_ents * sizeof(*new_table), in sapopulateprots()
1222 new_table[i].value = (uint32_t *)((uint8_t *)cur_state + in sapopulateprots()
1223 new_table[i].offset); in sapopulateprots()
/freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/
Dkmp_lock.cpp3124 kmp_indirect_lock_t **new_table = (kmp_indirect_lock_t **)__kmp_allocate( in __kmp_allocate_indirect_lock() local
3126 KMP_MEMCPY(new_table, __kmp_i_lock_table.table, in __kmp_allocate_indirect_lock()
3129 __kmp_i_lock_table.table = new_table; in __kmp_allocate_indirect_lock()