openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/rsyslog/8.1903.0-r0/rsyslog-8.1903.0/runtime/batch.h
static inline rsRetVal __attribute__((unused))
batchInit(batch_t* const pBatch, const int maxElem)
{
    DEFiRet;
    pBatch->maxElem = maxElem;
    CHKmalloc(pBatch->pElem = calloc((size_t)maxElem, sizeof(batch_obj_t)));
    CHKmalloc(pBatch->eltState =
                  calloc((size_t)maxElem, sizeof(batch_state_t)));
finalize_it:
    RETiRet;
}
/* initialiaze a batch "object". The record must already exist,
 * we "just" initialize it. The max number of elements must be
 * provided. -- rgerhards, 2010-06-15
 */
initialiaze a batch "object". The record must already exist,
we "just" initialize it. The max number of elements must be
provided.
initialiaze a batch " object " . The record must already exist we " just " initialize it . The max number of elements must be provided .
static inline rsRetVal __attribute__((unused))
batchInit(batch_t* const pBatch, const int maxElem)
{
    DEFiRet;
    pBatch->maxElem = maxElem;
    CHKmalloc(pBatch->pElem = calloc((size_t)maxElem, sizeof(batch_obj_t)));
    CHKmalloc(pBatch->eltState =
                  calloc((size_t)maxElem, sizeof(batch_state_t)));
finalize_it:
    RETiRet;
}
static inline rsRetVal __attribute__ ( ( unused ) ) batchInit ( batch_t * const pBatch , const int maxElem ) { DEFiRet ; pBatch -> maxElem = maxElem ; CHKmalloc ( pBatch -> pElem = calloc ( ( size_t ) maxElem , sizeof ( batch_obj_t ) ) ) ; CHKmalloc ( pBatch -> eltState = calloc ( ( size_t ) maxElem , sizeof ( batch_state_t ) ) ) ; finalize_it : RETiRet ; }
initialiaze a batch "object".
initialiaze a batch " object " .