Lines Matching refs:from
5 * Derived from the non IP parts of dev.c 1.0.19
420 /* Unlink dev from the device chain */
543 * MUST start from promiscuous ptype_all chain in net_bh.
567 * removed from the kernel lists.
590 * from the kernel lists and can be freed or reused once this function
623 * from the kernel lists and can be freed or reused once this function
799 * Find an interface by name. This can be called from any
932 * @ifindex: the ifindex of the interface to get the name from.
1085 * Verify the string as this thing may have come from
1240 netdev_info(dev, "renamed from %s%s\n", oldname,
1295 * @len: limit of bytes to copy from info
1458 /* Block netpoll from trying to do any rx path servicing.
1496 * Takes a device from down to up state. The device's private open
1902 * register_netdevice_notifier_net(). The notifier is unlinked from the
2003 * recovering from an error on @val_up
2207 * dev_forward_skb can be used for injecting an skb from the
2297 * they originated from - MvS (miquels@drinkel.ow.org)
2577 /* fill in the new device map from the old device map */
2741 /* removes tx-queue from unused CPUs/rx-queues */
3017 /* Start from increases, so the error path only does decreases -
3066 * Set the limit on the number of TCP segments the device can generate from
3079 * netif_inherit_tso_max() - copy all TSO limits from a lower device to an upper
3081 * @from: netdev from which to copy the limits
3083 void netif_inherit_tso_max(struct net_device *to, const struct net_device *from)
3085 netif_set_tso_max_size(to, from->tso_max_size);
3086 netif_set_tso_max_segs(to, from->tso_max_segs);
3206 * Mark device as removed from system and therefore no longer available.
3221 * Mark device as attached from system and restart if needed.
3792 * of q->seqlock to protect from racing with requeuing.
4266 * this function. The function can be called from an interrupt.
4351 * Check this and shot the lock. It is not prone from deadlocks.
4479 * if the thread is explicitly woken from here.
4490 /* If not called from net_rx_action()
4556 * get_rps_cpu is called from netif_receive_skb and returns the target
4557 * CPU from the RPS map of the receiving queue for a given skb.
4603 * This READ_ONCE() pairs with WRITE_ONCE() from rps_record_sock_flow().
4619 * different from current CPU (one in the rx-queue flow
4697 /* Called from hardirq (IPI) context */
4708 /* Called from hardirq (IPI) context */
4722 * and make sure we will process rps_ipi_list from net_rx_action().
4736 /* If not called from net_rx_action() or napi_threaded_poll()
4950 /* Reinjected packets coming from act_mirred or similar should
5095 * As a result this function may only be invoked from the interrupt context
5115 * This function receives a packet from a device driver and queues it for
5121 * This function can used from interrupt and from process context. The
5122 * caller from process context must not disable interrupts before invoking
5259 * called from __netif_receive_skb. A negative errno code is returned
5286 * @dev: device to unregister a handler from
5288 * Unregister a receive handler from a device.
5568 * This function may only be called from softirq context and interrupts
5659 * - stay away from userspace
5662 * Use PF_MEMALLOC as this saves us from propagating the allocation
5782 /* Will be handled, remove from list */
5794 * netif_receive_skb - process receive buffer from network
5801 * This function may only be called from softirq context and interrupts
5822 * netif_receive_skb_list - process many receive buffers from network
5828 * This function may only be called from softirq context and interrupts
6101 * 1) Don't let napi dequeue from the cpu poll list
6495 * Resume NAPI from being scheduled on this context.
6954 * netdev_upper_get_next_dev_rcu - Get the next dev from upper list
6958 * Gets the next device from the dev's upper list, starting from iter
7124 * netdev_lower_get_next_private - Get the next ->private from the
7129 * Gets the next netdev_adjacent->private from the dev's lower neighbour
7130 * list, starting from iter position. The caller must hold either hold the
7151 * netdev_lower_get_next_private_rcu - Get the next ->private from the
7157 * Gets the next netdev_adjacent->private from the dev's lower neighbour
7158 * list, starting from iter position. The caller must hold RCU read lock.
7179 * netdev_lower_get_next - Get the next device from the lower neighbour
7184 * Gets the next netdev_adjacent from the dev's lower neighbour
7185 * list, starting from iter position. The caller must hold RTNL lock or
7469 * netdev_lower_get_first_private_rcu - Get the first ->private from the
7474 * Gets the first netdev_adjacent->private from the dev's lower neighbour
7614 pr_err("Adjacency does not exist for device %s from %s\n",
7635 pr_debug("adjacency: dev_put for %s, because link removed from %s to %s\n",
8450 * Add or remove promiscuity from a device. While the count in the device
9201 * to prevent drivers from underflowing it.
9238 /* auto-detach link from net device */
9932 * @rootdev: the root or lower level device to transfer state from
9935 * Transfer operational state from root to device. This is normally
10585 * @dev: device to get statistics from
10588 * Get network statistics from device. Return @storage.
10629 * @netstats: per-cpu network stats to read from
10662 * @dev: device to get statistics from
10665 * Populate @s from dev->stats and dev->tstats. Can be used as
10929 * Does not block later packets from starting.
10942 * unregister_netdevice_queue - remove device from the kernel
10947 * from the kernel tables.
11004 /* And unlink it from device chain. */
11057 /* Remove entries from kobject tree */
11089 * unregister_netdev - remove device from the kernel
11093 * from the kernel tables.
11187 /* And unlink it from device chain */
11239 * namespace is different from the original one.
11279 /* Append completion queue from offline CPU. */
11283 /* Append output queue from offline CPU. */
11290 /* Append NAPI poll list from offline CPU, with one exception :
11539 /* At exit all network devices most be removed from a network