Lines Matching +full:under +full:-
1 .. SPDX-License-Identifier: GPL-2.0
33 --------------
41 .. code-block:: c
50 return -ENOMEM;
86 Device management under RTNL
87 ----------------------------
94 Example flow of netdev handling under ``rtnl_lock``:
96 .. code-block:: c
100 dev->needs_free_netdev = true;
105 some_obj_destroy(priv->obj);
118 return -ENOMEM;
126 priv->obj = some_obj_create();
127 if (!priv->obj) {
128 err = -ENOMEM;
132 dev->priv_destructor = my_destructor;
178 registration and de-registration, under ``rtnl_lock``. Drivers can use
179 those e.g. when parts of their init process need to run under ``rtnl_lock``.
182 runs during de-registering after device is closed but other subsystems
228 linux-5.14.
262 Context: atomic (can't sleep under RCU)
267 When the driver sets dev->lltx this will be
271 set_rx_mode. WARNING: use of dev->lltx is deprecated.
294 ``TC_SETUP_BLOCK`` and ``TC_SETUP_FT`` are running under NFT locks
296 ``tc_setup_type`` types run under netdev instance lock if the driver
300 under ``rtnl_lock``. In addition, netdev instance lock is taken as well if
305 napi->poll:
307 NAPI_STATE_SCHED bit in napi->state. Device
310 NAPI_STATE_SCHED napi->state bit, waiting for all pending
323 properties of individual netdev are increasingly protected by per-netdev locks.
326 operations will be performed under the netdev instance lock.
329 to drivers which have ops called under the instance lock as "ops locked".
334 operations directly under the netdev instance lock.
346 ---------------------
350 "Ops locked" drivers will have most of the ``ndos`` invoked under
354 ------------------
358 be called under the instance lock.
361 ----------------------
363 "qstat" ops are invoked under the instance lock for "ops locked" drivers,
364 and under rtnl_lock for all other drivers.
367 ---------------------
375 ----------------------------
384 ----------------------------------
387 some of the notifiers (``enum netdev_cmd``) are running under the netdev
390 The following netdev notifiers are always run under the instance lock:
394 running under the lock:
406 exceptions) notifiers run under the instance lock. Please extend this