Lines Matching refs:kernsp
290 struct secpolicy *kernsp = NULL; /* policy on kernel */
371 kernsp = key_allocsp(&currsp->spidx, dir);
374 if (kernsp != NULL) {
377 "to allocate SP:%p\n", kernsp));
380 return kernsp;
418 kernsp = key_allocsp(&currsp->spidx, dir);
421 if (kernsp != NULL) {
424 "to allocate SP:%p\n", kernsp));
427 return kernsp;
565 struct secpolicy *kernsp = NULL; /* policy on kernel */
618 kernsp = key_allocsp(&currsp->spidx, dir);
621 if (kernsp != NULL) {
624 "to allocate SP:%p\n", kernsp));
626 return kernsp;
661 kernsp = key_allocsp(&currsp->spidx, dir);
664 if (kernsp != NULL) {
667 "to allocate SP:%p\n", kernsp));
669 return kernsp;