Lines Matching refs:ax25_dev
218 typedef struct ax25_dev { struct
219 struct ax25_dev *next; argument
232 } ax25_dev; argument
238 ax25_dev *ax25_dev; member
287 static inline void ax25_dev_hold(ax25_dev *ax25_dev) in ax25_dev_hold() argument
289 refcount_inc(&ax25_dev->refcount); in ax25_dev_hold()
292 static inline void ax25_dev_put(ax25_dev *ax25_dev) in ax25_dev_put() argument
294 if (refcount_dec_and_test(&ax25_dev->refcount)) { in ax25_dev_put()
295 kfree(ax25_dev); in ax25_dev_put()
317 void ax25_fillin_cb(ax25_cb *, ax25_dev *);
318 struct sock *ax25_make_new(struct sock *, struct ax25_dev *);
336 extern ax25_dev *ax25_dev_list;
340 static inline ax25_dev *ax25_dev_ax25dev(struct net_device *dev) in ax25_dev_ax25dev()
346 ax25_dev *ax25_addr_ax25dev(ax25_address *);
360 void ax25_dev_dama_off(ax25_dev *);
365 void ax25_ds_setup_timer(ax25_dev *);
366 void ax25_ds_set_timer(ax25_dev *);
367 void ax25_ds_del_timer(ax25_dev *);
482 int ax25_register_dev_sysctl(ax25_dev *ax25_dev);
483 void ax25_unregister_dev_sysctl(ax25_dev *ax25_dev);
485 static inline int ax25_register_dev_sysctl(ax25_dev *ax25_dev) { return 0; } in ax25_register_dev_sysctl() argument
486 static inline void ax25_unregister_dev_sysctl(ax25_dev *ax25_dev) {} in ax25_unregister_dev_sysctl() argument