Home
last modified time | relevance | path

Searched refs:pvc_device (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/net/wan/
Dhdlc_fr.c122 static inline pvc_device* find_pvc(hdlc_device *hdlc, u16 dlci) in find_pvc()
124 pvc_device *pvc = hdlc->state.fr.first_pvc; in find_pvc()
138 static inline pvc_device* add_pvc(hdlc_device *hdlc, u16 dlci) in add_pvc()
140 pvc_device *pvc, **pvc_p = &hdlc->state.fr.first_pvc; in add_pvc()
150 pvc = kmalloc(sizeof(pvc_device), GFP_ATOMIC); in add_pvc()
154 memset(pvc, 0, sizeof(pvc_device)); in add_pvc()
163 static inline int pvc_is_used(pvc_device *pvc) in pvc_is_used()
171 pvc_device **pvc_p = &hdlc->state.fr.first_pvc; in delete_unused_pvcs()
175 pvc_device *pvc = *pvc_p; in delete_unused_pvcs()
185 static inline struct net_device** get_dev_p(pvc_device *pvc, int type) in get_dev_p()
[all …]
/linux-2.4.37.9/include/linux/
Dhdlc.h93 }pvc_device; typedef
123 pvc_device *first_pvc;
193 static __inline__ pvc_device* dev_to_pvc(struct net_device *dev) in dev_to_pvc()
195 return (pvc_device*)dev->priv; in dev_to_pvc()