Lines Matching defs:ruleptr
140 struct mac_bsdextended_rule temprule, *ruleptr;
153 ruleptr = NULL;
158 ruleptr = malloc(sizeof(*ruleptr), M_MACBSDEXTENDED,
175 KASSERT(ruleptr == NULL, ("sysctl_rule: ruleptr != NULL"));
176 ruleptr = rules[index];
177 if (ruleptr == NULL) {
188 *ruleptr = temprule;
189 rules[index] = ruleptr;
190 ruleptr = NULL;
199 if (ruleptr != NULL)
200 free(ruleptr, M_MACBSDEXTENDED);