Lines Matching full:namespace
25 documentation purposes (think of the SUBSYSTEM_DEBUG namespace) as well as for
28 are required to import the namespace. Otherwise the kernel will, depending on
31 Additionally, it is possible to put symbols into a module namespace, strictly
37 Symbols can be exported into namespace using different methods. All of them are
46 available to export symbols into a certain namespace: EXPORT_SYMBOL_NS() and
47 EXPORT_SYMBOL_NS_GPL(). They take one additional argument: the namespace.
50 namespace ``USB_STORAGE``, use::
55 ``namespace`` set accordingly. A symbol that is exported without a namespace will
56 refer to ``NULL``. There is no default namespace if none is defined. ``modpost``
57 and kernel/module/main.c make use the namespace at build time or module load
66 and EXPORT_SYMBOL_GPL() macro expansions that do not specify a namespace.
70 is to define the default namespace in the ``Makefile`` of the subsystem. E.g. to
71 export all symbols defined in usb-common into the namespace USB_COMMON, add a
78 still be exported into the namespace that is passed as the namespace argument
79 as this argument has preference over a default symbol namespace.
81 A second option to define the default namespace is directly in the compilation
93 Symbols exported using this macro are put into a module namespace. This
94 namespace cannot be imported.
113 usb_stor_suspend symbol from above, needs to import the namespace USB_STORAGE
118 This will create a ``modinfo`` tag in the module for each imported namespace.
136 referenced from the module for its availability and whether the namespace it
148 modpost will emit a warning if a module uses a symbol from a namespace
159 - write code that depends on a symbol from a not imported namespace
164 For subsystem maintainers introducing a namespace, the steps are very similar.
165 Again, ``make nsdeps`` will eventually add the missing namespace imports for
168 - move or add symbols to a namespace (e.g. with EXPORT_SYMBOL_NS())
178 Note: it will happily generate an import statement for the module namespace;