Lines Matching refs:maxres
334 ac_res_set(ac_info_t *info, void *buf, size_t bufsz, int maxres)
360 while ((id = tmp->ar_id) != AC_NONE && counter < maxres + 1) {
361 if (id > maxres || id < 0) {
384 ac_res_get(ac_info_t *info, void *buf, size_t bufsz, int maxres)
389 size_t ressz = sizeof (ac_res_t) * (maxres + 1);
399 for (id = 1; id <= maxres; id++) {
431 int maxres;
447 maxres = AC_TASK_MAX_RES;
451 maxres = AC_PROC_MAX_RES;
462 maxres = AC_FLOW_MAX_RES;
466 maxres = AC_NET_MAX_RES;
507 error = ac_res_set(info, buf, bufsz, maxres);
510 error = ac_res_get(info, buf, bufsz, maxres);