Lines Matching defs:res
303 ap_slotmem_instance_t *res;
417 res = (ap_slotmem_instance_t *) apr_pcalloc(gpool,
419 res->name = apr_pstrdup(gpool, fname);
420 res->fbased = fbased;
421 res->shm = shm;
422 res->num_free = (unsigned int *)ptr;
424 *res->num_free = item_num;
426 res->persist = (void *)ptr;
428 res->base = (void *)ptr;
429 res->desc = desc;
430 res->gpool = gpool;
431 res->next = NULL;
432 res->inuse = ptr + basesize;
434 globallistmem = res;
437 next->next = res;
440 *new = res;
450 ap_slotmem_instance_t *res;
501 res = (ap_slotmem_instance_t *) apr_pcalloc(gpool,
503 res->name = apr_pstrdup(gpool, fname);
504 res->fbased = 1;
505 res->shm = shm;
506 res->num_free = (unsigned int *)ptr;
507 res->persist = (void *)ptr;
509 res->base = (void *)ptr;
510 res->desc = desc;
511 res->gpool = gpool;
512 res->inuse = ptr + (desc.size * desc.num);
513 res->next = NULL;
515 globallistmem = res;
518 next->next = res;
521 *new = res;