Searched refs:dlp (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/net/wan/
H A Ddlci.c193 struct dlci_local *dlp = netdev_priv(dev); dlci_transmit() local
197 netdev_start_xmit(skb, dlp->slave, txq, false); dlci_transmit()
205 struct dlci_local *dlp; dlci_config() local
209 dlp = netdev_priv(dev); dlci_config()
211 flp = netdev_priv(dlp->slave); dlci_config()
219 memcpy(&dlp->config, &config, sizeof(struct dlci_conf)); dlci_config()
220 dlp->configured = 1; dlci_config()
223 err = (*flp->dlci_conf)(dlp->slave, dev, get); dlci_config()
229 if (copy_to_user(conf, &dlp->config, sizeof(struct dlci_conf))) dlci_config()
238 struct dlci_local *dlp; dlci_dev_ioctl() local
243 dlp = netdev_priv(dev); dlci_dev_ioctl()
251 strncpy(ifr->ifr_slave, dlp->slave->name, sizeof(ifr->ifr_slave)); dlci_dev_ioctl()
269 struct dlci_local *dlp = netdev_priv(dev); dlci_change_mtu() local
271 return dev_set_mtu(dlp->slave, new_mtu); dlci_change_mtu()
276 struct dlci_local *dlp; dlci_open() local
280 dlp = netdev_priv(dev); dlci_open()
285 if (!netif_running(dlp->slave)) dlci_open()
288 flp = netdev_priv(dlp->slave); dlci_open()
289 err = (*flp->activate)(dlp->slave, dev); dlci_open()
300 struct dlci_local *dlp; dlci_close() local
306 dlp = netdev_priv(dev); dlci_close()
308 flp = netdev_priv(dlp->slave); dlci_close()
309 err = (*flp->deactivate)(dlp->slave, dev); dlci_close()
317 struct dlci_local *dlp; dlci_add() local
340 list_for_each_entry(dlp, &dlci_devs, list) { dlci_add()
341 if (dlp->slave == slave) { dlci_add()
349 dlp = netdev_priv(master); dlci_add()
350 dlp->slave = slave; dlci_add()
351 dlp->master = master; dlci_add()
364 list_add(&dlp->list, &dlci_devs); dlci_add()
379 struct dlci_local *dlp; dlci_del() local
394 list_for_each_entry(dlp, &dlci_devs, list) { dlci_del()
395 if (dlp->master == master) { dlci_del()
410 dlp = netdev_priv(master); dlci_del()
411 slave = dlp->slave; dlci_del()
416 list_del(&dlp->list); dlci_del()
473 struct dlci_local *dlp = netdev_priv(dev); dlci_setup() local
480 dlp->receive = dlci_receive; dlci_setup()
498 struct dlci_local *dlp; dlci_dev_event() local
500 list_for_each_entry(dlp, &dlci_devs, list) { dlci_dev_event()
501 if (dlp->slave == dev) { dlci_dev_event()
502 list_del(&dlp->list); dlci_dev_event()
503 unregister_netdevice(dlp->master); dlci_dev_event()
504 dev_put(dlp->slave); dlci_dev_event()
528 struct dlci_local *dlp, *nxt; dlci_exit() local
534 list_for_each_entry_safe(dlp, nxt, &dlci_devs, list) { dlci_exit()
535 unregister_netdevice(dlp->master); dlci_exit()
536 dev_put(dlp->slave); dlci_exit()
H A Dsdla.c623 struct dlci_local *dlp; sdla_dlci_conf() local
636 dlp = netdev_priv(master); sdla_dlci_conf()
643 NULL, 0, &dlp->config, &len); sdla_dlci_conf()
646 &dlp->config, sizeof(struct dlci_conf) - 4 * sizeof(short), NULL, NULL); sdla_dlci_conf()
755 struct dlci_local *dlp; sdla_receive() local
872 dlp = netdev_priv(master); sdla_receive()
873 (*dlp->receive)(skb, master); sdla_receive()
1007 struct dlci_local *dlp; sdla_open() local
1090 dlp = netdev_priv(flp->master[i]); sdla_open()
1091 if (dlp->configured) sdla_open()
1092 sdla_cmd(dev, SDLA_SET_DLCI_CONFIGURATION, abs(flp->dlci[i]), 0, &dlp->config, sizeof(struct dlci_conf), NULL, NULL); sdla_open()
/linux-4.1.27/fs/hpfs/
H A Ddnode.c633 dnode_secno dlp; delete_empty_dnode() local
645 dlp = del->down ? de_down_pointer(del) : 0; delete_empty_dnode()
646 if (!dlp && down) { delete_empty_dnode()
663 if (dlp && !down) { delete_empty_dnode()
694 hpfs_add_to_dnode(i, ndown, de_cp->name, de_cp->namelen, de_cp, dlp); delete_empty_dnode()

Completed in 156 milliseconds