/freebsd/contrib/ldns/ |
H A D | edns.c | 188 ldns_edns_option_list *new_list; in ldns_edns_option_list_clone() local 194 new_list = ldns_edns_option_list_new(); in ldns_edns_option_list_clone() 195 if (!new_list) { in ldns_edns_option_list_clone() 200 return new_list; in ldns_edns_option_list_clone() 206 if (!ldns_edns_option_list_push(new_list, option)) { in ldns_edns_option_list_clone() 208 ldns_edns_option_list_deep_free(new_list); in ldns_edns_option_list_clone() 212 return new_list; in ldns_edns_option_list_clone() 316 ldns_edns_option **new_list; in ldns_edns_option_list_push() local 325 new_list = LDNS_XREALLOC(option_list->_options, in ldns_edns_option_list_push() 328 if (!new_list) { in ldns_edns_option_list_push() [all …]
|
H A D | rr.c | 1435 ldns_rr_list *new_list; in ldns_rr_list_clone() local 1442 new_list = ldns_rr_list_new(); in ldns_rr_list_clone() 1443 if (!new_list) { in ldns_rr_list_clone() 1452 ldns_rr_list_deep_free(new_list); in ldns_rr_list_clone() 1455 ldns_rr_list_push_rr(new_list, r); in ldns_rr_list_clone() 1457 return new_list; in ldns_rr_list_clone()
|
/freebsd/sys/netinet/ |
H A D | sctp_auth.c | 83 sctp_auth_chklist_t *new_list; in sctp_copy_chunklist() local 89 new_list = sctp_alloc_chunklist(); in sctp_copy_chunklist() 90 if (new_list == NULL) in sctp_copy_chunklist() 93 memcpy(new_list, list, sizeof(*new_list)); in sctp_copy_chunklist() 95 return (new_list); in sctp_copy_chunklist() 629 sctp_hmaclist_t *new_list; in sctp_alloc_hmaclist() local 632 alloc_size = sizeof(*new_list) + num_hmacs * sizeof(new_list->hmac[0]); in sctp_alloc_hmaclist() 633 SCTP_MALLOC(new_list, sctp_hmaclist_t *, alloc_size, in sctp_alloc_hmaclist() 635 if (new_list == NULL) { in sctp_alloc_hmaclist() 639 new_list->max_algo = num_hmacs; in sctp_alloc_hmaclist() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_eventhandler.c | 70 struct eventhandler_list *list, *new_list; in eventhandler_find_or_create_list() local 79 new_list = malloc(sizeof(*new_list) + strlen(name) + 1, in eventhandler_find_or_create_list() 86 free(new_list, M_EVENTHANDLER); in eventhandler_find_or_create_list() 89 list = new_list; in eventhandler_find_or_create_list()
|
H A D | init_main.c | 212 struct sysinitlist new_list; in sysinit_add() local 217 sysinit_mklist(&new_list, set, set_end); in sysinit_add() 221 STAILQ_MERGE(&sysinit_list, &new_list, NULL, sysinit_compar, sysinit, next); in sysinit_add()
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | init.c | 268 struct ibv_device **new_list; in add_device() local 272 new_list = realloc(*dev_list, *list_size * sizeof (struct ibv_device *)); in add_device() 273 if (!new_list) in add_device() 275 *dev_list = new_list; in add_device()
|
/freebsd/crypto/openssl/engines/ |
H A D | e_devcrypto.c | 1136 int *new_list; in devcrypto_ctrl() local 1167 new_list=OPENSSL_zalloc(sizeof(selected_ciphers)); in devcrypto_ctrl() 1168 if (!CONF_parse_list(p, ',', 1, cryptodev_select_cipher_cb, new_list)) { in devcrypto_ctrl() 1169 OPENSSL_free(new_list); in devcrypto_ctrl() 1172 memcpy(selected_ciphers, new_list, sizeof(selected_ciphers)); in devcrypto_ctrl() 1173 OPENSSL_free(new_list); in devcrypto_ctrl() 1187 new_list=OPENSSL_zalloc(sizeof(selected_digests)); in devcrypto_ctrl() 1188 if (!CONF_parse_list(p, ',', 1, cryptodev_select_digest_cb, new_list)) { in devcrypto_ctrl() 1189 OPENSSL_free(new_list); in devcrypto_ctrl() 1192 memcpy(selected_digests, new_list, sizeof(selected_digests)); in devcrypto_ctrl() [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | bcm_osal.h | 250 #define OSAL_LIST_SPLICE_TAIL_INIT(new_list, list) \ argument 252 ((new_list)->tail)->next = ((list)->head); \ 253 ((list)->head)->prev = ((new_list)->tail); \ 254 (list)->head = (new_list)->head; \ 255 (list)->cnt = (list)->cnt + (new_list)->cnt; \ 256 OSAL_LIST_INIT(new_list); \
|
/freebsd/usr.sbin/bsdconfig/share/packages/ |
H A D | packages.subr | 153 local new_list="" 158 new_list="$new_list${new_list:+ }$pkgsel" 160 SELECTED_PACKAGES="$new_list"
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_cc.c | 2484 dt_node_t *new_list = NULL; in dt_compile() local 2504 new_list = dt_node_link(new_list, dnp); in dt_compile() 2506 yypcb->pcb_root->dn_list = new_list; in dt_compile()
|
/freebsd/usr.sbin/bsdinstall/scripts/ |
H A D | zfsboot | 531 new_list="$new_list $disk" 533 disks="${new_list# }"
|