Searched refs:unit (Results 1 – 5 of 5) sorted by relevance
/net/irda/irnet/ |
D | irnet_ppp.c | 360 irnet_events.log[ap->event_index].unit); in irnet_ctrl_read() 366 irnet_events.log[ap->event_index].unit); in irnet_ctrl_read() 378 irnet_events.log[ap->event_index].unit); in irnet_ctrl_read() 384 irnet_events.log[ap->event_index].unit); in irnet_ctrl_read() 390 irnet_events.log[ap->event_index].unit); in irnet_ctrl_read()
|
D | irnet.h | 487 int unit; member
|
D | irnet_irda.c | 84 irnet_events.log[index].unit = ppp_unit_number(&ap->chan); in irnet_post_event() 86 irnet_events.log[index].unit = -1; in irnet_post_event()
|
/net/netlink/ |
D | af_netlink.c | 2230 __netlink_kernel_create(struct net *net, int unit, struct module *module, in __netlink_kernel_create() argument 2242 if (unit < 0 || unit >= MAX_LINKS) in __netlink_kernel_create() 2245 if (sock_create_lite(PF_NETLINK, SOCK_DGRAM, unit, &sock)) in __netlink_kernel_create() 2254 if (__netlink_create(&init_net, sock, cb_mutex, unit) < 0) in __netlink_kernel_create() 2280 if (!nl_table[unit].registered) { in __netlink_kernel_create() 2281 nl_table[unit].groups = groups; in __netlink_kernel_create() 2282 rcu_assign_pointer(nl_table[unit].listeners, listeners); in __netlink_kernel_create() 2283 nl_table[unit].cb_mutex = cb_mutex; in __netlink_kernel_create() 2284 nl_table[unit].module = module; in __netlink_kernel_create() 2286 nl_table[unit].bind = cfg->bind; in __netlink_kernel_create() [all …]
|
/net/core/ |
D | dev.c | 589 unsigned long netdev_boot_base(const char *prefix, int unit) in netdev_boot_base() argument 595 sprintf(name, "%s%d", prefix, unit); in netdev_boot_base()
|