Lines Matching defs:spbuf
2777 struct secpolicy *sp, **spbuf = NULL, **sp_ptr;
2792 KMALLOC_WAIT(spbuf, struct secpolicy**, bufcount * sizeof(struct secpolicy*));
2793 if (spbuf == NULL) {
2800 sp_ptr = spbuf;
2817 sp_ptr = spbuf;
2828 while (sp_ptr > spbuf)
2833 if (spbuf)
2834 KFREE(spbuf);
5186 struct secpolicy **spbuf = NULL, **spptr = NULL;
5197 KMALLOC_WAIT(spbuf, struct secpolicy **, spbufcount * sizeof(struct secpolicy *));
5198 if (spbuf)
5199 spptr = spbuf;
5212 if (spbuf) {
5231 if (spbuf && spcount < spbufcount) {
5534 if (spbuf && spcount > 0) {
5563 if (spbuf) {
5566 KFREE(spbuf);