Lines Matching refs:lsp
462 struct sysctl_oid_list *lsp = &sysctl__children, *lsp2;
466 if (!lsp) {
479 SLIST_FOREACH(oid, lsp, oid_link) {
503 lsp = lsp2;
511 sysctl_sysctl_next_ls (struct sysctl_oid_list *lsp, int *name, u_int namelen,
517 SLIST_FOREACH(oidp, lsp, oid_link) {
527 lsp = (struct sysctl_oid_list *)oidp->oid_arg1;
529 if (!SLIST_FIRST(lsp))
533 if (!sysctl_sysctl_next_ls (lsp, 0, 0, next+1,
547 lsp = (struct sysctl_oid_list *)oidp->oid_arg1;
548 if (!sysctl_sysctl_next_ls (lsp, name+1, namelen-1,
559 lsp = (struct sysctl_oid_list *)oidp->oid_arg1;
560 if (!sysctl_sysctl_next_ls (lsp, name+1, namelen-1, next+1,
578 struct sysctl_oid_list *lsp = &sysctl__children;
581 i = sysctl_sysctl_next_ls (lsp, name, namelen, newoid, &j, 1, &oid);
595 struct sysctl_oid_list *lsp = &sysctl__children;
613 oidp = SLIST_FIRST(lsp);
635 lsp = (struct sysctl_oid_list *)oidp->oid_arg1;
636 oidp = SLIST_FIRST(lsp);
695 struct sysctl_oid_list *lsp = &sysctl__children;
697 oid = SLIST_FIRST(lsp);
708 lsp = (struct sysctl_oid_list *)oid->oid_arg1;
709 oid = SLIST_FIRST(lsp);
969 struct sysctl_oid_list *lsp = &sysctl__children;
977 oid = SLIST_FIRST(lsp);
998 lsp = (struct sysctl_oid_list *)oid->oid_arg1;
999 oid = SLIST_FIRST(lsp);