Lines Matching refs:MDL
137 if (!buffer_allocate (&bp, length, MDL)) {
184 &code, 0, MDL)) {
192 option_dereference(&option, MDL);
199 buffer_dereference (&bp, MDL);
224 option_dereference(&option, MDL);
237 buffer_dereference(&bp, MDL);
239 option_dereference(&option, MDL);
248 MDL)) {
250 buffer_dereference(&bp, MDL);
252 option_dereference(&option, MDL);
264 data_string_forget(&op->data, MDL);
265 data_string_copy(&op->data, &new, MDL);
266 data_string_forget(&new, MDL);
274 if (!option_cache_allocate(&nop, MDL)) {
276 buffer_dereference(&bp, MDL);
278 option_dereference(&option, MDL);
282 option_reference(&nop->option, op->option, MDL);
285 buffer_reference(&nop->data.buffer, bp, MDL);
289 option_cache_reference(&op->next, nop, MDL);
290 option_cache_dereference(&nop, MDL);
294 option_dereference(&option, MDL);
297 buffer_dereference (&bp, MDL);
391 if (!buffer_allocate (&bp, length + 4, MDL)) {
404 buffer_dereference (&bp, MDL);
540 buffer_dereference (&bp, MDL);
589 cfg_options, scope, op, MDL) != 0)) {
595 data_string_forget(&ds, MDL);
916 &global_scope, oc, MDL)) {
947 data_string_forget(&ds, MDL);
1046 data_string_forget(&ds, MDL);
1111 oc, MDL)) {
1114 data_string_forget(&ds, MDL);
1170 MDL)) {
1173 data_string_forget(&ds, MDL);
1189 &code_int, 0, MDL);
1193 option_dereference(&encap_opt, MDL);
1283 log_fatal("%s:%d:store_options: Invalid first cutoff.", MDL);
1289 MDL);
1294 log_fatal("%s:%d:store_options: Invalid second cutoff.", MDL);
1355 option_dereference(&option, MDL);
1370 option_reference(&option, oc->option, MDL);
1372 option_code_hash_lookup(&option, u->code_hash, &code, 0, MDL);
1408 scope, tmp, MDL);
1427 data_string_forget (&name, MDL);
1450 cfg_options, scope, oc, MDL);
1461 data_string_forget (&encapsulation, MDL);
1462 data_string_forget (&od, MDL);
1477 data_string_copy (&od, &encapsulation, MDL);
1478 data_string_forget (&encapsulation, MDL);
1481 if (!buffer_allocate (&bp, length, MDL)) {
1482 option_cache_dereference (&oc, MDL);
1483 data_string_forget (&od, MDL);
1484 data_string_forget (&encapsulation, MDL);
1490 data_string_forget (&od, MDL);
1491 data_string_forget (&encapsulation, MDL);
1493 buffer_reference (&od.buffer, bp, MDL);
1494 buffer_dereference (&bp, MDL);
1597 data_string_forget (&od, MDL);
1601 option_dereference(&option, MDL);
1841 "%s:%d", MDL);
2189 MDL);
2365 data_string_forget(&d1, MDL);
2411 if (!expression_allocate (&oc -> expression, MDL)) {
2418 &oc -> data, MDL);
2419 data_string_forget (&oc -> data, MDL);
2422 if (!option_cache_allocate (&noc, MDL))
2428 option_cache_dereference (&noc, MDL);
2435 option_cache_dereference (&noc, MDL);
2452 option_cache_dereference (&noc, MDL);
2463 option_reference(&(noc->option), oc->option, MDL);
2465 option_cache_dereference (&noc, MDL);
2529 option_cache_dereference(&op, MDL);
2553 option_cache_dereference(&op, MDL);
2585 log_fatal("Inconsistent universe tag size at %s:%d.", MDL);
2588 option_code_hash_lookup(&option, universe->code_hash, &code, 0, MDL);
2602 option = new_option(nbuf, MDL);
2615 if (!option_cache_allocate (opp, MDL)) {
2625 option_reference(&op->option, option, MDL);
2630 if (!buffer_allocate (&lbp, length + terminatep, MDL)) {
2643 buffer_reference (&op -> data.buffer, bp, MDL);
2678 buffer_dereference(&lbp, MDL);
2679 option_dereference(&option, MDL);
2752 if (!buffer_allocate(&server_oro->buffer, num_opts * 2, MDL)) {
2822 hash = (pair *)dmalloc (OPTION_HASH_SIZE * sizeof *hash, MDL);
2853 option_cache_dereference(ocloc, MDL);
2856 option_cache_reference(ocloc, oc, MDL);
2862 bptr = new_pair (MDL);
2869 option_cache_reference ((struct option_cache **)&bptr -> car, oc, MDL);
2913 ((struct option_cache **)(&bptr -> car), MDL);
2914 free_pair (bptr, MDL);
2941 option_dereference(&(*ptr)->option, MDL);
3023 universe->tag_size + src->len), MDL)) {
3030 data_string_forget(dst, MDL);
3051 data_string_forget(dst, MDL);
3052 data_string_copy(dst, &tmp, MDL);
3053 data_string_forget(&tmp, MDL);
3072 in_options, cfg_options, scope, oc, MDL)) {
3095 start, end - start, MDL);
3120 data_string_forget(&tmp, MDL);
3143 (const char *)name->data, name->len, MDL);
3194 log_fatal("Impossible condition at %s:%d.", MDL);
3209 data_string_forget(&sub, MDL);
3302 if (option_cache_allocate (&no_nwip, MDL))
3303 data_string_copy (&no_nwip -> data, &ds, MDL);
3306 &one, 0, MDL))
3308 "1 (%s:%d).", MDL);
3321 if (!buffer_allocate (&ds.buffer, result -> len + 2, MDL)) {
3322 data_string_forget (result, MDL);
3329 data_string_forget (result, MDL);
3330 data_string_copy (result, &ds, MDL);
3331 data_string_forget (&ds, MDL);
3421 oc, MDL);
3431 if (!buffer_allocate (&bp, len, MDL)) {
3436 buffer_reference (&result -> buffer, bp, MDL);
3489 data_string_forget (&results[i], MDL);
3491 buffer_dereference (&bp, MDL);
3493 data_string_forget(result, MDL);
3504 log_fatal("Impossible condition at %s:%d.", MDL);
3515 log_fatal("Impossible condition at %s:%d.", MDL);
3525 log_fatal("Impossible condition at %s:%d.", MDL);
3584 log_fatal("Impossible condition at %s:%d.", MDL);
3588 cfg_options, scope, oc, MDL);
3597 if (!buffer_allocate(&result->buffer, len, MDL)) {
3636 data_string_forget(result, MDL);
3648 data_string_forget(&results[i], MDL);
3680 if (!buffer_allocate(&bp, bp_size, MDL)) {
3748 buffer_dereference(&bp, MDL);
3752 buffer_dereference(&bp, MDL);
3850 [universe -> index]), MDL))
3866 option_cache_dereference(ocloc, MDL);
3868 option_cache_reference(ocloc, oc, MDL);
3876 (&(*tail) -> car), oc, MDL);
3937 (&(*tail) -> car), MDL);
3938 dfree (*tail, MDL);
3978 (&state -> universes [universe -> index]), MDL));
4031 if (!packet_allocate(&decoded_packet, MDL)) {
4039 interface_reference(&decoded_packet->interface, interface, MDL);
4043 packet_dereference(&decoded_packet, MDL);
4050 if (!option_state_allocate (&decoded_packet->options, MDL)) {
4051 packet_dereference(&decoded_packet, MDL);
4058 packet_dereference (&decoded_packet, MDL);
4070 NULL, op, MDL);
4075 data_string_forget(&dp, MDL);
4087 packet_dereference(&decoded_packet, MDL);
4146 if (!packet_allocate(&decoded_packet, MDL)) {
4151 if (!option_state_allocate(&decoded_packet->options, MDL)) {
4153 packet_dereference(&decoded_packet, MDL);
4168 interface_reference(&decoded_packet->interface, interface, MDL);
4191 packet_dereference(&decoded_packet, MDL);
4212 packet_dereference(&decoded_packet, MDL);
4231 packet_dereference(&decoded_packet, MDL);
4238 packet_dereference(&decoded_packet, MDL);
4460 &option_num, 0, MDL)) {
4466 if (!option_cache_allocate(&oc, MDL)) {
4470 option_dereference(&option, MDL);
4479 MDL)) {
4483 option_dereference(&option, MDL);
4484 option_cache_dereference(&oc, MDL);
4488 option_reference(&(oc->option), option, MDL);
4490 option_cache_dereference(&oc, MDL);
4493 option_dereference(&option, MDL);
4602 in_options, out_options, scope, oc, MDL);
4606 data_string_forget(&name, MDL);
4615 data_string_forget(&name, MDL);
4621 &code, 0, MDL);
4633 data_string_forget(&name, MDL);
4634 option_dereference(&option, MDL);