Subject: Last remaining insque / remque uses
To: NetBSD tech-kern mailing list <tech-kern@netbsd.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-net
Date: 10/23/2007 09:00:43
The last remaining uses of insque / remque in the kernel are:
C symbol: insque
File Function Line
0 coda_namecache.c <global> 96 #ifndef insque
1 systm.h <global> 139 #define insque(q,p) _insque(q, p)
2 coda_namecache.h CODA_NC_HSHINS 86 #define CODA_NC_HSHINS(elem, pred)
insque(elem,pred)
3 coda_namecache.h CODA_NC_LRUINS 91 #define CODA_NC_LRUINS(elem, pred)
insque(LRU_PART(elem),
LRU_PART(pred))
4 if_eon.c eonrtrequest 284 insque(&el->el_qhdr,
&eon_llinfo.el_qhdr);
5 iso_pcb.c iso_pcballoc 121 insque(isop, head);
6 tp_input.c tp_input 902 insque(tpcb, parent_tpcb);
7 tp_pcb.c tp_pcbbind 999 insque(tpcb, &tp_bound_pcbs);
C symbol: remque
File Function Line
0 systm.h <global> 140 #define remque(q) _remque(q)
1 coda_namecache.h CODA_NC_HSHREM 87 #define CODA_NC_HSHREM(elem)
remque(elem)
2 coda_namecache.h CODA_NC_LRUREM 92 #define CODA_NC_LRUREM(elem)
remque(LRU_PART(elem));
3 if_eon.c eonrtrequest 269 remque(&el->el_qhdr);
4 iso_pcb.c iso_pcbdetach 548 remque(isop);
5 tp_output.c tp_ctloutput 537 remque(tpcb);
6 tp_pcb.c tp_detach 812 remque(tpcb);
7 tp_subr2.c tp_route_to 659 remque(isop_new);
8 tp_usrreq.c tp_usrreq 458 remque(tpcb);
C symbol: _insque
File Function Line
0 macros.h <global> 79 #define _insque vax_insque
1 systm.h <global> 135 extern void _insque(void *, void *);
2 _que.c _insque 54 _insque(v1, v2)
3 systm.h insque 139 #define insque(q,p) _insque(q, p)
C symbol: _remque
File Function Line
0 macros.h <global> 69 #define _remque vax_remque
1 systm.h <global> 136 extern void _remque(void *);
2 _que.c _remque 73 _remque(v)
3 systm.h remque 140 #define remque(q) _remque(q)
It would be really cool if someone cleaned up Coda and netiso to
eliminate the use of these old routines so they could be purged from
libkern.
-- thorpej