odev 1534 drivers/block/drbd/drbd_worker.c struct drbd_device *odev = device; odev 1538 drivers/block/drbd/drbd_worker.c if (!odev->ldev || odev->state.disk == D_DISKLESS) odev 1541 drivers/block/drbd/drbd_worker.c resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; odev 1545 drivers/block/drbd/drbd_worker.c odev = minor_to_device(resync_after); odev 1546 drivers/block/drbd/drbd_worker.c if (!odev) odev 1548 drivers/block/drbd/drbd_worker.c if ((odev->state.conn >= C_SYNC_SOURCE && odev 1549 drivers/block/drbd/drbd_worker.c odev->state.conn <= C_PAUSED_SYNC_T) || odev 1550 drivers/block/drbd/drbd_worker.c odev->state.aftr_isp || odev->state.peer_isp || odev 1551 drivers/block/drbd/drbd_worker.c odev->state.user_isp) odev 1565 drivers/block/drbd/drbd_worker.c struct drbd_device *odev; odev 1569 drivers/block/drbd/drbd_worker.c idr_for_each_entry(&drbd_devices, odev, i) { odev 1570 drivers/block/drbd/drbd_worker.c if (odev->state.conn == C_STANDALONE && odev->state.disk == D_DISKLESS) odev 1572 drivers/block/drbd/drbd_worker.c if (!_drbd_may_sync_now(odev) && odev 1573 drivers/block/drbd/drbd_worker.c _drbd_set_state(_NS(odev, aftr_isp, 1), odev 1591 drivers/block/drbd/drbd_worker.c struct drbd_device *odev; odev 1595 drivers/block/drbd/drbd_worker.c idr_for_each_entry(&drbd_devices, odev, i) { odev 1596 drivers/block/drbd/drbd_worker.c if (odev->state.conn == C_STANDALONE && odev->state.disk == D_DISKLESS) odev 1598 drivers/block/drbd/drbd_worker.c if (odev->state.aftr_isp) { odev 1599 drivers/block/drbd/drbd_worker.c if (_drbd_may_sync_now(odev) && odev 1600 drivers/block/drbd/drbd_worker.c _drbd_set_state(_NS(odev, aftr_isp, 0), odev 1626 drivers/block/drbd/drbd_worker.c struct drbd_device *odev; odev 1635 drivers/block/drbd/drbd_worker.c odev = minor_to_device(o_minor); odev 1637 drivers/block/drbd/drbd_worker.c if (odev == device) odev 1646 drivers/block/drbd/drbd_worker.c if (!odev || !odev->ldev || odev->state.disk == D_DISKLESS) odev 1650 drivers/block/drbd/drbd_worker.c resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; odev 1657 drivers/block/drbd/drbd_worker.c odev = minor_to_device(resync_after); odev 697 drivers/net/usb/hso.c struct hso_net *odev = netdev_priv(net); odev 700 drivers/net/usb/hso.c if (!odev) { odev 705 drivers/net/usb/hso.c odev->skb_tx_buf = NULL; odev 708 drivers/net/usb/hso.c spin_lock_irqsave(&odev->net_lock, flags); odev 709 drivers/net/usb/hso.c odev->rx_parse_state = WAIT_IP; odev 710 drivers/net/usb/hso.c odev->rx_buf_size = 0; odev 711 drivers/net/usb/hso.c odev->rx_buf_missing = sizeof(struct iphdr); odev 712 drivers/net/usb/hso.c spin_unlock_irqrestore(&odev->net_lock, flags); odev 715 drivers/net/usb/hso.c set_bit(HSO_NET_RUNNING, &odev->flags); odev 716 drivers/net/usb/hso.c hso_start_net_device(odev->parent); odev 727 drivers/net/usb/hso.c struct hso_net *odev = netdev_priv(net); odev 732 drivers/net/usb/hso.c clear_bit(HSO_NET_RUNNING, &odev->flags); odev 734 drivers/net/usb/hso.c hso_stop_net_device(odev->parent); odev 743 drivers/net/usb/hso.c struct hso_net *odev = urb->context; odev 747 drivers/net/usb/hso.c if (!odev || !test_bit(HSO_NET_RUNNING, &odev->flags)) { odev 753 drivers/net/usb/hso.c if (!netif_device_present(odev->net)) { odev 762 drivers/net/usb/hso.c handle_usb_error(status, __func__, odev->parent); odev 764 drivers/net/usb/hso.c hso_put_activity(odev->parent); odev 767 drivers/net/usb/hso.c netif_wake_queue(odev->net); odev 774 drivers/net/usb/hso.c struct hso_net *odev = netdev_priv(net); odev 779 drivers/net/usb/hso.c if (hso_get_activity(odev->parent) == -EAGAIN) { odev 780 drivers/net/usb/hso.c odev->skb_tx_buf = skb; odev 787 drivers/net/usb/hso.c memcpy(odev->mux_bulk_tx_buf, skb->data, skb->len); odev 791 drivers/net/usb/hso.c usb_fill_bulk_urb(odev->mux_bulk_tx_urb, odev 792 drivers/net/usb/hso.c odev->parent->usb, odev 793 drivers/net/usb/hso.c usb_sndbulkpipe(odev->parent->usb, odev 794 drivers/net/usb/hso.c odev->out_endp-> odev 796 drivers/net/usb/hso.c odev->mux_bulk_tx_buf, skb->len, write_bulk_callback, odev 797 drivers/net/usb/hso.c odev); odev 800 drivers/net/usb/hso.c odev->mux_bulk_tx_urb->transfer_flags |= URB_ZERO_PACKET; odev 803 drivers/net/usb/hso.c result = usb_submit_urb(odev->mux_bulk_tx_urb, GFP_ATOMIC); odev 805 drivers/net/usb/hso.c dev_warn(&odev->parent->interface->dev, odev 825 drivers/net/usb/hso.c struct hso_net *odev = netdev_priv(net); odev 827 drivers/net/usb/hso.c if (!odev) odev 834 drivers/net/usb/hso.c if (odev->mux_bulk_tx_urb && odev 835 drivers/net/usb/hso.c (odev->mux_bulk_tx_urb->status == -EINPROGRESS)) odev 836 drivers/net/usb/hso.c usb_unlink_urb(odev->mux_bulk_tx_urb); odev 843 drivers/net/usb/hso.c static void packetizeRx(struct hso_net *odev, unsigned char *ip_pkt, odev 855 drivers/net/usb/hso.c switch (odev->rx_parse_state) { odev 861 drivers/net/usb/hso.c odev->rx_buf_missing) ? count : odev-> odev 864 drivers/net/usb/hso.c memcpy(((unsigned char *)(&odev->rx_ip_hdr)) + odev 865 drivers/net/usb/hso.c odev->rx_buf_size, ip_pkt + buffer_offset, odev 868 drivers/net/usb/hso.c odev->rx_buf_size += temp_bytes; odev 870 drivers/net/usb/hso.c odev->rx_buf_missing -= temp_bytes; odev 873 drivers/net/usb/hso.c if (!odev->rx_buf_missing) { odev 876 drivers/net/usb/hso.c frame_len = ntohs(odev->rx_ip_hdr.tot_len); odev 880 drivers/net/usb/hso.c dev_err(&odev->net->dev, odev 883 drivers/net/usb/hso.c odev->rx_parse_state = WAIT_SYNC; odev 887 drivers/net/usb/hso.c odev->skb_rx_buf = netdev_alloc_skb(odev->net, odev 889 drivers/net/usb/hso.c if (!odev->skb_rx_buf) { odev 892 drivers/net/usb/hso.c odev->rx_parse_state = WAIT_SYNC; odev 898 drivers/net/usb/hso.c skb_put_data(odev->skb_rx_buf, odev 899 drivers/net/usb/hso.c (char *)&(odev->rx_ip_hdr), odev 903 drivers/net/usb/hso.c odev->rx_buf_size = sizeof(struct iphdr); odev 906 drivers/net/usb/hso.c odev->rx_buf_missing = odev 908 drivers/net/usb/hso.c odev->rx_parse_state = WAIT_DATA; odev 913 drivers/net/usb/hso.c temp_bytes = (count < odev->rx_buf_missing) odev 914 drivers/net/usb/hso.c ? count : odev->rx_buf_missing; odev 919 drivers/net/usb/hso.c skb_put_data(odev->skb_rx_buf, odev 923 drivers/net/usb/hso.c odev->rx_buf_missing -= temp_bytes; odev 926 drivers/net/usb/hso.c odev->rx_buf_size += temp_bytes; odev 927 drivers/net/usb/hso.c if (!odev->rx_buf_missing) { odev 930 drivers/net/usb/hso.c odev->skb_rx_buf->protocol = cpu_to_be16(ETH_P_IP); odev 931 drivers/net/usb/hso.c skb_reset_mac_header(odev->skb_rx_buf); odev 934 drivers/net/usb/hso.c netif_rx(odev->skb_rx_buf); odev 936 drivers/net/usb/hso.c odev->skb_rx_buf = NULL; odev 939 drivers/net/usb/hso.c odev->net->stats.rx_packets++; odev 941 drivers/net/usb/hso.c odev->net->stats.rx_bytes += odev->rx_buf_size; odev 943 drivers/net/usb/hso.c odev->rx_buf_size = 0; odev 944 drivers/net/usb/hso.c odev->rx_buf_missing = sizeof(struct iphdr); odev 945 drivers/net/usb/hso.c odev->rx_parse_state = WAIT_IP; odev 962 drivers/net/usb/hso.c if (odev->rx_parse_state == WAIT_SYNC) { odev 963 drivers/net/usb/hso.c odev->rx_parse_state = WAIT_IP; odev 964 drivers/net/usb/hso.c odev->rx_buf_size = 0; odev 965 drivers/net/usb/hso.c odev->rx_buf_missing = sizeof(struct iphdr); odev 985 drivers/net/usb/hso.c struct hso_net *odev = urb->context; odev 993 drivers/net/usb/hso.c handle_usb_error(status, __func__, odev->parent); odev 998 drivers/net/usb/hso.c if (!odev || !test_bit(HSO_NET_RUNNING, &odev->flags)) { odev 1004 drivers/net/usb/hso.c net = odev->net; odev 1011 drivers/net/usb/hso.c if (odev->parent->port_spec & HSO_INFO_CRC_BUG) odev 1012 drivers/net/usb/hso.c fix_crc_bug(urb, odev->in_endp->wMaxPacketSize); odev 1018 drivers/net/usb/hso.c spin_lock_irqsave(&odev->net_lock, flags); odev 1019 drivers/net/usb/hso.c packetizeRx(odev, urb->transfer_buffer, urb->actual_length, odev 1022 drivers/net/usb/hso.c spin_unlock_irqrestore(&odev->net_lock, flags); odev 1028 drivers/net/usb/hso.c odev->parent->usb, odev 1029 drivers/net/usb/hso.c usb_rcvbulkpipe(odev->parent->usb, odev 1030 drivers/net/usb/hso.c odev->in_endp-> odev 1033 drivers/net/usb/hso.c read_bulk_callback, odev); odev 1039 drivers/net/usb/hso.c dev_warn(&odev->parent->interface->dev, odev 2616 drivers/usb/gadget/udc/omap_udc.c omap_udc_setup(struct platform_device *odev, struct usb_phy *xceiv) odev 530 drivers/video/fbdev/platinumfb.c static int platinumfb_probe(struct platform_device* odev) odev 532 drivers/video/fbdev/platinumfb.c struct device_node *dp = odev->dev.of_node; odev 538 drivers/video/fbdev/platinumfb.c dev_info(&odev->dev, "Found Apple Platinum video hardware\n"); odev 540 drivers/video/fbdev/platinumfb.c info = framebuffer_alloc(sizeof(*pinfo), &odev->dev); odev 548 drivers/video/fbdev/platinumfb.c dev_err(&odev->dev, "Can't get resources\n"); odev 552 drivers/video/fbdev/platinumfb.c dev_dbg(&odev->dev, " registers : 0x%llx...0x%llx\n", odev 555 drivers/video/fbdev/platinumfb.c dev_dbg(&odev->dev, " framebuffer: 0x%llx...0x%llx\n", odev 626 drivers/video/fbdev/platinumfb.c dev_set_drvdata(&odev->dev, info); odev 639 drivers/video/fbdev/platinumfb.c static int platinumfb_remove(struct platform_device* odev) odev 641 drivers/video/fbdev/platinumfb.c struct fb_info *info = dev_get_drvdata(&odev->dev); odev 900 drivers/video/fbdev/via/hw.c u32 odev = 0; odev 909 drivers/video/fbdev/via/hw.c odev |= device_mapping[i].device; odev 920 drivers/video/fbdev/via/hw.c return odev; odev 923 drivers/video/fbdev/via/hw.c void via_odev_to_seq(struct seq_file *m, u32 odev) odev 928 drivers/video/fbdev/via/hw.c if (odev & device_mapping[i].device) { odev 638 drivers/video/fbdev/via/hw.h void via_odev_to_seq(struct seq_file *m, u32 odev); odev 1465 drivers/video/fbdev/via/viafbdev.c static ssize_t odev_update(const char __user *buffer, size_t count, u32 *odev) odev 1486 drivers/video/fbdev/via/viafbdev.c *odev |= devices; odev 1488 drivers/video/fbdev/via/viafbdev.c *odev &= ~devices; odev 1490 drivers/video/fbdev/via/viafbdev.c *odev = devices; odev 48 fs/efs/efs.h __be16 odev; odev 116 fs/efs/inode.c rdev = be16_to_cpu(efs_inode->di_u.di_dev.odev); odev 789 kernel/bpf/devmap.c struct bpf_dtab_netdev *dev, *odev; odev 794 kernel/bpf/devmap.c odev = cmpxchg(&dtab->netdev_map[i], dev, NULL); odev 795 kernel/bpf/devmap.c if (dev == odev) odev 390 net/core/pktgen.c struct net_device *odev; /* The out-going device. odev 596 net/core/pktgen.c pkt_dev->odev->dev_addr : pkt_dev->src_mac); odev 1090 net/core/pktgen.c !(pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING))) odev 1146 net/core/pktgen.c (!(pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING))))) odev 1922 net/core/pktgen.c if (pkt_dev->odev != dev) odev 1991 net/core/pktgen.c struct net_device *odev; odev 1995 net/core/pktgen.c if (pkt_dev->odev) { odev 1996 net/core/pktgen.c dev_put(pkt_dev->odev); odev 1997 net/core/pktgen.c pkt_dev->odev = NULL; odev 2000 net/core/pktgen.c odev = pktgen_dev_get_by_name(pn, pkt_dev, ifname); odev 2001 net/core/pktgen.c if (!odev) { odev 2006 net/core/pktgen.c if (odev->type != ARPHRD_ETHER) { odev 2009 net/core/pktgen.c } else if (!netif_running(odev)) { odev 2013 net/core/pktgen.c pkt_dev->odev = odev; odev 2017 net/core/pktgen.c dev_put(odev); odev 2028 net/core/pktgen.c if (!pkt_dev->odev) { odev 2036 net/core/pktgen.c ntxq = pkt_dev->odev->real_num_tx_queues; odev 2054 net/core/pktgen.c ether_addr_copy(&(pkt_dev->hh[6]), pkt_dev->odev->dev_addr); odev 2085 net/core/pktgen.c idev = __in6_dev_get(pkt_dev->odev); odev 2119 net/core/pktgen.c in_dev = __in_dev_get_rcu(pkt_dev->odev); odev 2240 net/core/pktgen.c struct pktgen_net *pn = net_generic(dev_net(pkt_dev->odev), pg_net_id); odev 2286 net/core/pktgen.c pkt_dev->cur_queue_map = pkt_dev->cur_queue_map % pkt_dev->odev->real_num_tx_queues; odev 2501 net/core/pktgen.c struct net *net = dev_net(pkt_dev->odev); odev 2719 net/core/pktgen.c static struct sk_buff *fill_packet_ipv4(struct net_device *odev, odev 2747 net/core/pktgen.c skb = pktgen_alloc_skb(odev, pkt_dev); odev 2817 net/core/pktgen.c skb->dev = odev; odev 2824 net/core/pktgen.c } else if (odev->features & (NETIF_F_HW_CSUM | NETIF_F_IP_CSUM)) { odev 2847 net/core/pktgen.c static struct sk_buff *fill_packet_ipv6(struct net_device *odev, odev 2875 net/core/pktgen.c skb = pktgen_alloc_skb(odev, pkt_dev); odev 2952 net/core/pktgen.c skb->dev = odev; odev 2959 net/core/pktgen.c } else if (odev->features & (NETIF_F_HW_CSUM | NETIF_F_IPV6_CSUM)) { odev 2977 net/core/pktgen.c static struct sk_buff *fill_packet(struct net_device *odev, odev 2981 net/core/pktgen.c return fill_packet_ipv6(odev, pkt_dev); odev 2983 net/core/pktgen.c return fill_packet_ipv4(odev, pkt_dev); odev 3012 net/core/pktgen.c if (pkt_dev->odev) { odev 3302 net/core/pktgen.c struct net_device *odev = pkt_dev->odev; odev 3308 net/core/pktgen.c if (unlikely(!netif_running(odev) || !netif_carrier_ok(odev))) { odev 3327 net/core/pktgen.c pkt_dev->skb = fill_packet(odev, pkt_dev); odev 3400 net/core/pktgen.c txq = skb_get_tx_queue(odev, pkt_dev->skb); odev 3404 net/core/pktgen.c HARD_TX_LOCK(odev, txq, smp_processor_id()); odev 3414 net/core/pktgen.c ret = netdev_start_xmit(pkt_dev->skb, odev, txq, --burst > 0); odev 3443 net/core/pktgen.c HARD_TX_UNLOCK(odev, txq); odev 3638 net/core/pktgen.c if (pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING) odev 3659 net/core/pktgen.c pkt_dev->xdst.u.dst.dev = pkt_dev->odev; odev 3667 net/core/pktgen.c dev_put(pkt_dev->odev); odev 3760 net/core/pktgen.c if (pkt_dev->odev) { odev 3761 net/core/pktgen.c dev_put(pkt_dev->odev); odev 3762 net/core/pktgen.c pkt_dev->odev = NULL; odev 268 net/ipv6/seg6_local.c struct net_device *odev; odev 287 net/ipv6/seg6_local.c odev = dev_get_by_index_rcu(net, slwt->oif); odev 288 net/ipv6/seg6_local.c if (!odev) odev 294 net/ipv6/seg6_local.c if (odev->type != ARPHRD_ETHER) odev 297 net/ipv6/seg6_local.c if (!(odev->flags & IFF_UP) || !netif_carrier_ok(odev)) odev 307 net/ipv6/seg6_local.c if (skb->len - ETH_HLEN > odev->mtu) odev 310 net/ipv6/seg6_local.c skb->dev = odev; odev 104 net/netrom/nr_route.c struct net_device *odev; odev 106 net/netrom/nr_route.c if ((odev=nr_dev_get(nr)) != NULL) { /* Can't add routes to ourself */ odev 107 net/netrom/nr_route.c dev_put(odev); odev 484 net/sctp/protocol.c struct net_device *odev; odev 506 net/sctp/protocol.c odev = __ip_dev_find(sock_net(sk), laddr->a.v4.sin_addr.s_addr, odev 508 net/sctp/protocol.c if (!odev || odev->ifindex != fl4->flowi4_oif) {