Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/uipc_debug.c
Show First 20 Lines • Show All 282 Lines • ▼ Show 20 Lines | db_print_prflags(short pr_flags) | ||||
if (pr_flags & PR_RIGHTS) { | if (pr_flags & PR_RIGHTS) { | ||||
db_printf("%sPR_RIGHTS", comma ? ", " : ""); | db_printf("%sPR_RIGHTS", comma ? ", " : ""); | ||||
comma = 1; | comma = 1; | ||||
} | } | ||||
if (pr_flags & PR_IMPLOPCL) { | if (pr_flags & PR_IMPLOPCL) { | ||||
db_printf("%sPR_IMPLOPCL", comma ? ", " : ""); | db_printf("%sPR_IMPLOPCL", comma ? ", " : ""); | ||||
comma = 1; | comma = 1; | ||||
} | } | ||||
if (pr_flags & PR_LASTHDR) { | |||||
db_printf("%sPR_LASTHDR", comma ? ", " : ""); | |||||
comma = 1; | |||||
} | |||||
} | } | ||||
static void | static void | ||||
db_print_protosw(struct protosw *pr, const char *prname, int indent) | db_print_protosw(struct protosw *pr, const char *prname, int indent) | ||||
{ | { | ||||
db_print_indent(indent); | db_print_indent(indent); | ||||
db_printf("%s at %p\n", prname, pr); | db_printf("%s at %p\n", prname, pr); | ||||
▲ Show 20 Lines • Show All 223 Lines • Show Last 20 Lines |