Lines Matching refs:maxsize
229 pmcpl_ct_arc_grow(int cursize, int *maxsize, struct pmcpl_ct_arc **items) in pmcpl_ct_arc_grow() argument
233 if (cursize < *maxsize) in pmcpl_ct_arc_grow()
236 nmaxsize = *maxsize + max(cursize + 1 - *maxsize, PMCPL_CT_GROWSIZE); in pmcpl_ct_arc_grow()
240 bzero((char *)*items + *maxsize * sizeof(struct pmcpl_ct_arc), in pmcpl_ct_arc_grow()
241 (nmaxsize - *maxsize) * sizeof(struct pmcpl_ct_arc)); in pmcpl_ct_arc_grow()
242 *maxsize = nmaxsize; in pmcpl_ct_arc_grow()
250 pmcpl_ct_instr_grow(int cursize, int *maxsize, struct pmcpl_ct_instr **items) in pmcpl_ct_instr_grow() argument
254 if (cursize < *maxsize) in pmcpl_ct_instr_grow()
257 nmaxsize = *maxsize + max(cursize + 1 - *maxsize, PMCPL_CT_GROWSIZE); in pmcpl_ct_instr_grow()
261 bzero((char *)*items + *maxsize * sizeof(struct pmcpl_ct_instr), in pmcpl_ct_instr_grow()
262 (nmaxsize - *maxsize) * sizeof(struct pmcpl_ct_instr)); in pmcpl_ct_instr_grow()
263 *maxsize = nmaxsize; in pmcpl_ct_instr_grow()