Lines Matching defs:list
72 /* Structures for list of resource controls */
146 static prctl_value_t *store_value_entry(rctlblk_t *rblk, prctl_list_t *list);
180 " -i idtype of operand list\n"
197 " -i idtype of operand list\n";
619 /* validate for list mode */
620 /* -p is not valid in list mode */
1119 * Store resource controls for the given name in a linked list.
1131 prctl_list_t *list = NULL;
1172 if ((list = store_list_entry(rctlname)) == NULL) {
1177 if (store_value_entry(rblk1, list) == NULL) {
1205 /* May not have created the list yet. */
1206 if (list == NULL) {
1207 if ((list = store_list_entry(rctlname))
1214 if (store_value_entry(rblk2, list) == NULL) {
1229 if (list != NULL) {
1231 list->usage = (rctl_qty_t *)malloc(sizeof (rctl_qty_t));
1232 if (list->usage == NULL) {
1239 *list->usage = rctlblk_get_value(rblk2);
1241 list->usage = NULL;
1260 * Store an rblk for a given resource control into the global list.
1265 store_value_entry(rctlblk_t *rblk, prctl_list_t *list)
1269 prctl_value_t *iter = list->val_list;
1281 list->val_list = e;
1298 * Store a new resource control value in the global list. No checking
1377 * Print all resource controls from the global list that was