1: #include "DEFS.h"
2: ENTRY(_splnet)
3: movb $40*2,177776
4: rts pc
5:
6: / C call "_splnet();" will set processor priority to 2
7:
8: / The entry is not implemented in 2.11BSD by an explicit routine but
9: / translated into inline code equivalent to the routine above by a sed
10: / script during the compilation of kernel code.
11:
12: ENTRY(splnet)
13: movb 177776,r0
14: movb $40*2,177776
15: rts pc
16:
17: / C call "opri = splnet();" will set processor priority to 2
18: / and return the current processor priority
19:
20: / The entry is not implemented in 2.11BSD by an explicit routine but
21: / translated into inline code equivalent to the routine above by a sed
22: / script during the compilation of kernel code.
Defined functions
_splnet
defined in line
12; used 29 times
- in /usr/src/sys/net/route.c line
54
- in /usr/src/sys/netinet/ip_input.c line
486
- in /usr/src/sys/netinet/tcp_timer.c line
50,
74
- in /usr/src/sys/netinet/tcp_usrreq.c line
75
- in /usr/src/sys/netinet/udp_usrreq.c line
213,
310,
325,
339,
359,
416
- in /usr/src/sys/netns/idp_usrreq.c line
455
- in /usr/src/sys/netns/spp_usrreq.c line
1183,
1549,
1573
- in /usr/src/sys/sys/sys_socket.c line
88
- in /usr/src/sys/sys/uipc_socket.c line
82,
96,
141,
199,
226,
260,
272,
324,
388,
463,
551
- in /usr/src/sys/sys/uipc_syscalls.c line
149,
226