/openbmc/qemu/docs/devel/ |
H A D | style.rst | 24 can tell the difference between a tab and eight spaces from a distance 64 if (a == 1 && 67 while (a == 1 && 100 as a guard against obviously-overlength lines, not a target.) 158 If a function is a shim designed to deal with compatibility 176 if (a == 5) { 225 When comparing a variable for (in)equality with a constant, list the 230 if (a == 1) { 617 * If a variable declared with g_auto* holds a value which must 719 around a block inside a function. [all …]
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | atomic64-arcv2.h | 15 #define ATOMIC64_INIT(a) { (a) } argument 29 static inline void arch_atomic64_set(atomic64_t *v, s64 a) in arch_atomic64_set() argument 45 : "r"(a), "r"(&v->counter) in arch_atomic64_set() 50 static inline void arch_atomic64_##op(s64 a, atomic64_t *v) \ 62 : "r"(&v->counter), "ir"(a) \ 67 static inline s64 arch_atomic64_##op##_return_relaxed(s64 a, atomic64_t *v) \ 79 : "r"(&v->counter), "ir"(a) \ 89 static inline s64 arch_atomic64_fetch_##op##_relaxed(s64 a, atomic64_t *v) \ 101 : "r"(&v->counter), "ir"(a) \ 209 static inline s64 arch_atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) in arch_atomic64_fetch_add_unless() argument [all …]
|
/openbmc/linux/Documentation/livepatch/ |
H A D | callbacks.rst | 5 Livepatch (un)patch-callbacks provide a mechanism for livepatch modules 6 to execute callback functions when a kernel object is (un)patched. They 25 - Module init/exit code doesn't run when disabling and re-enabling a 28 - A module notifier can't stop a to-be-patched module from loading. 40 - before a klp_object is patched 43 - after a klp_object has been patched and is active 61 symmetry: pre-patch callbacks have a post-unpatch counterpart and 62 post-patch callbacks have a pre-unpatch counterpart. An unpatch 79 callback is provided, the transition is assumed to be safe.) If a 82 - Refuse to load a livepatch, if the livepatch is loaded after [all …]
|
/openbmc/openbmc/poky/meta/conf/machine/include/ |
H A D | README | 15 AVAILTUNES - This is a list of all of the tuning definitions currently 17 with the machine configuration, or each other in a multilib 21 DEFAULTTUNE - This specifies the tune to use for a particular build. 26 TUNEVALID[feature] - The <feature> is defined with a human readable 31 New sanity checks will try to reject combinations in which a single 37 TUNE_FEATURES:tune-<tune> - Specify the features used to describe a 38 specific tune. This is a list of features that a tune support, each 39 feature must be in the TUNEVALID list. Note: the tune and a given 48 files with a ".=". Spaces are not allowed in this variable. 62 define the architecture, abi and tuning of a particular package. [all …]
|
/openbmc/libmctp/ |
H A D | README.md | 3 This library is intended to be a portable implementation of the Management 26 To initialise the MCTP stack with a single hardware bus: 31 the core, using a predefined EID 33 Then, register a function call to be invoked when a message is received: 35 - `mctp_set_rx_all(mctp, function)`: Provide a callback to be invoked when a 38 Or transmit a message: 40 - `mctp_message_tx(mctp, message, len)`: Transmit a MCTP message 60 a local rx callback, and messages are bridged as-is. 80 or maybe the `foo` binding needs a path argument: 101 1. as a simple library (`libmctp.{a,so}`) which can be compiled separately and [all …]
|
/openbmc/linux/Documentation/security/ |
H A D | landlock.rst | 13 harden a whole system, this feature should be available to any process, 17 expose a minimal attack surface. 44 * Resources (e.g. file descriptors) directly obtained from the kernel by a 57 content of a listed inode. Indeed, a file name is local to its parent 59 (hard) links. Being able to unlink a file only has a direct impact on the 72 allowed to open a file for writing without being allowed to 112 A domain is a read-only ruleset tied to a set of subjects (i.e. tasks' 113 credentials). Each time a ruleset is enforced on a task, the current domain is 115 domain. Indeed, once in a domain, each rule is tied to a layer level. To 119 of a ruleset provided by the task. [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
H A D | overview.rst | 78 in creating a network interfaces. 103 From the point of view of an OS, a DPRC behaves similar to a plug and 242 is made via a DPRC command. 280 As described previously, a DPRC is a container that holds the other 283 Each object in the DPRC is a Linux "device" and is bound to a driver. 327 The MC-bus driver is a platform driver and is probed from a 378 To transmit a packet the Ethernet driver puts data on a queue and 380 a data availability notification callback. To dequeue a packet 381 a DPIO API is used. 401 plays a role of being a proxy between the PHY driver and the [all …]
|
/openbmc/linux/Documentation/process/ |
H A D | 3.Early-stage.rst | 6 When contemplating a Linux kernel development project, it can be tempting 16 Like any engineering project, a successful kernel enhancement starts with a 18 easy: when a driver is needed for a specific piece of hardware, for 44 There are a number of very good Linux kernel developers, but they 46 to communicate user requirements to these people is a waste of 56 creation of a body of code. 59 answers to a short set of questions: 76 communication can save time and trouble in a number of ways: 105 locking and such into code is a difficult task; as a result, the merging 131 the MAINTAINERS file for a relevant place to post. If there is a suitable [all …]
|
H A D | 4.Coding.rst | 6 While there is much to be said for a solid and community-oriented design 12 This section will examine the coding process. We'll start with a look at a 24 The kernel has long had a standard coding style, described in 27 advisory. As a result, there is a substantial amount of code in the kernel 43 giving up a degree of control in a number of ways - including control over 81 At a simple level, consider a function which has an argument which is 108 programmers, who see it as a way to efficiently encode a great deal of 112 is almost always a sign of code which needs some cleanup work. 291 paths had been exercised a few times. 396 needs, that may be a sign that the API needs to change. As a kernel [all …]
|
/openbmc/u-boot/doc/driver-model/ |
H A D | livetree.txt | 8 Traditionally U-Boot has used a 'flat' device tree. This means that it 35 the parent of a node is a slow process. Reading from nodes involves a 36 small amount parsing which takes a little time. 42 seems to save a little time. 49 after relocation. Therefore we need a mechanism to specify a device 57 a 'struct udevice *' which is attached to a device tree node. Therefore it 132 struct property - holds information about a property within a node 139 a node to be linked together in a chain. 144 code to work with a flat tree also. 162 ofnode_valid() return true if a given node is valid [all …]
|
/openbmc/linux/Documentation/driver-api/md/ |
H A D | raid5-ppl.rst | 5 Partial Parity Log (PPL) is a feature available for RAID5 arrays. The issue 6 addressed by PPL is that after a dirty shutdown, parity of a particular stripe 11 that have not been touched by a write request during the unclean shutdown can 13 this, md by default does not allow starting a dirty degraded array. 15 Partial parity for a write operation is the XOR of stripe data chunks not 26 When handling a write request PPL writes partial parity before new data and 27 parity are dispatched to disks. PPL is a distributed log - it is stored on 31 and the journaling drive does not become a bottleneck or a single point of 36 silent data corruption. If a dirty disk of a stripe is lost, no PPL recovery is 38 arbitrary data in the written part of a stripe if that disk is lost. In such [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.console | 39 putc (to put a char to stdout) 40 puts (to put a string to stdout) 41 printf (to format and put a string to stdout) 45 getc (to get a char from stdin) 48 eputc (to put a char to stderr) 49 eputs (to put a string to stderr) 50 eprintf (to format and put a string to stderr) 53 fputc (like putc but redirected to a file) 54 fputs (like puts but redirected to a file) 56 ftstc (like tstc but redirected to a file) [all …]
|
/openbmc/u-boot/lib/libavb/ |
H A D | avb_rsa.c | 91 A += (uint64_t)a[i] - key->n[i]; in subM() 92 a[i] = (uint32_t)A; in subM() 102 if (a[i] < key->n[i]) { in geM() 105 if (a[i] > key->n[i]) { in geM() 115 const uint32_t a, in montMulAdd() argument 117 uint64_t A = (uint64_t)a * b[0] + c[0]; in montMulAdd() 123 A = (A >> 32) + (uint64_t)a * b[i] + c[i]; in montMulAdd() 144 montMulAdd(key, c, a[i], b); in montMul() 168 a[i] = tmp; in modpowF4() 193 if (a != NULL) { in modpowF4() [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | fib_trie.rst | 10 An end node with data. This has a copy of the relevant key, along 16 indexed through a subset of the key. See Level Compression. 30 a segment of the key specified by the parent's "pos" and "bits" 33 in the key skipped over because they represent a single path with no 41 children of a full child (see "full_children") up one level, so that 42 instead of a pure binary tree, each internal node ("tnode") may 44 Conversely, a tnode with a mostly empty child array (see empty_children) 58 as the opposite of "empty", which might be a tad confusing.) 81 towards the root from a given tnode, doing a resize() at each step 127 If we find a match, we are done. [all …]
|
H A D | representors.rst | 24 controlled switch has a separate netdev, so does each virtual port of a virtual 33 Thus, a representor is both a control plane object (representing the function in 34 administrative commands) and a data plane object (one end of a virtual pipe). 45 Typically, this will be a PF, but conceivably a NIC could be configured to grant 47 Depending on NIC design, a multi-port NIC might have a single switchdev function 80 should be the same whether a TC filter is offloaded or not. E.g. a TC rule 83 the representee VF. Conversely, a mirred egress redirect to a VF representor 90 should be a representor. 106 not having a netdev. 122 the function provides) should *not* have a representor (even if it has a [all …]
|
/openbmc/linux/Documentation/core-api/ |
H A D | symbol-namespaces.rst | 22 Symbol Namespaces have been introduced as a means to structure the export 45 Please note that due to macro expansion that argument needs to be a 76 as this argument has preference over a default symbol namespace. 93 for the namespaces it uses symbols from. E.g. a module using the 95 using a statement like:: 111 5. for a way to create missing import statements automatically. 123 enable loading regardless, but will emit a warning. 129 modpost will emit a warning if a module uses a symbol from a namespace 140 - write code that depends on a symbol from a not imported namespace 142 - notice the warning of modpost telling about a missing import [all …]
|
H A D | watch_queue.rst | 25 This facility appears as a pipe that is opened in a special mode. The pipe's 81 and 255. Multiple watches may share a queue, and this provides a means to 97 A "watch list" is a list of watchers that are subscribed to a source of 98 notifications. A list may be attached to an object (say a key or a superblock) 99 or may be global (say for device events). From a userspace perspective, a 128 a watch. These can be managed with: 145 A "watch" is a subscription on a watch list, indicating the watch queue, and 180 Subscribe a watch to a watch list (notification source). The 190 Remove a watch from a watch list, where the watch must match the specified 244 Once a watch queue has been created, a set of filters can be applied to limit [all …]
|
/openbmc/linux/Documentation/locking/ |
H A D | ww-mutex-design.rst | 36 In the RDBMS literature, a reservation ticket is associated with a transaction. 50 Wait-Die when recovering from a backoff. Wound-Wait is also a preemptive 55 -EDEADLK) following a wound. 100 semantics as a normal mutex. This is done by calling ww_mutex_lock with a NULL 115 As a rough rule of thumb, use Wound-Wait iff you 238 mutexes are a natural fit for such a case for two reasons: 241 a graph from a starting point and then iteratively discovering new edges and 246 as a starting point). 313 /* locked a new object, add it to the list */ 330 api can be used with a NULL context. [all …]
|
/openbmc/linux/Documentation/driver-api/media/drivers/ |
H A D | vidtv.rst | 12 Vidtv is a virtual DVB driver that aims to serve as a reference for driver 19 frequency is too far away from a table of valid frequencies for a 23 returned by the tuner, simulating a device that can lose/reacquire a lock 33 For now, we have a single, audio-only channel containing a single MPEG 58 When compiled as a module, run:: 94 Simulate a tune delay. Default 0. 135 Implements a bridge driver. 351 For this, one should provide a configuration file known as a 'scan file', 451 used as a reference. 456 Add a way to test video [all …]
|
/openbmc/u-boot/Licenses/ |
H A D | lgpl-2.1.txt | 61 effectively restrict the users of a free program by obtaining a 74 a shared library, the combination of the two is legally speaking a 98 programs enables a greater number of people to use a large body of 131 copyright law: that is to say, a work containing the Library or a 158 You may charge a fee for the physical act of transferring a copy, 167 a) The modified work must itself be a software library. 175 d) If a facility in the modified Library refers to a function or a 225 the Library into a program that is not a library. 242 linked with it, is called a "work that uses the Library". Such a 272 link a "work that uses the Library" with the Library to produce a [all …]
|
/openbmc/linux/Documentation/translations/sp_SP/process/ |
H A D | adding-syscalls.rst | 23 a su interfaz. 36 - Sin embargo, operaciones que no mapean a operaciones similares a 43 podría ser más adecuado. Sin embargo, acceder a estos mecanismos 113 - Para hacer frente a programas antiguos del userspace haciendo llamadas a 209 - Conectar la nueva llamada a sistema a una arquitectura particular, 218 kernel, debería siempre ser copiado a linux-api@vger.kernel.org. 249 añadidas en la misma ventana unida, su nueva llamada de sistema podría 332 (Note que un argumento de una llamada a sistema que sea un puntero a un 344 convierte los valores a versiones de 64 bits y llama a la versión ``sys_`` 487 La mayoría del kernel trata las llamadas a sistema de manera genérica, pero [all …]
|
/openbmc/linux/LICENSES/preferred/ |
H A D | LGPL-2.1 | 76 restrict the users of a free program by obtaining a restrictive license 88 When a program is linked with a library, whether statically or using a 112 enables a greater number of people to use a large body of free 169 You may charge a fee for the physical act of transferring a copy, and 177 a) The modified work must itself be a software library. 185 d) If a facility in the modified Library refers to a function or a table 193 (For example, a function in a library to compute square roots has a 216 with the Library (or with a work based on the Library) on a volume of a 234 Library into a program that is not a library. 315 6a, above, for a charge no more than the cost of performing this [all …]
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | Kconfig | 21 to an ADC using a resistor ladder. 27 To compile this driver as a module, choose M here: the 130 Say N if you use a standard keyboard. 185 Sensor chip as a keyboard input. 243 setup logic must also provide a platform device, 397 connected to a key matrix. 407 a keyboard attached to its Maple bus. 483 Say Y here if you have a Newton keyboard on a serial port. 590 Say Y here if you have a Stowaway keyboard on a serial port. 614 (RS-232) port via a simple adapter. [all …]
|
/openbmc/entity-manager/ |
H A D | CONFIG_FORMAT.md | 9 1. Configuration files should be easy to write. If a tradeoff is to be made 10 between a config file being complex to write, and a reactor being complex to 38 of what changed for a specific platform. 40 for a user to determine if a piece of hardware is supported. 41 - Note: This is a "guideline" not a "rule". There are many cases of hardware 51 3. Configuration files are not a long-term stable ABI. Why? 86 Within a configuration file, there is a JSON object which consists of multiple 105 … a unique index value when the "probe" command is successful. This allows multiple identical devic… 215 Although fan connectors are considered a part of a baseboard, the physical fans 216 themselves are considered as a part of a chassis. In order for a fan to be [all …]
|
/openbmc/sdbusplus/test/message/ |
H A D | append.cpp | 105 const int a = 1; in TEST_F() local 109 new_message().append(a); in TEST_F() 114 int a = 1; in TEST_F() local 127 const bool a = false; in TEST_F() local 129 new_message().append(a); in TEST_F() 134 bool a = false; in TEST_F() local 147 const double a = 1.1; in TEST_F() local 149 new_message().append(a); in TEST_F() 154 double a = 1.1; in TEST_F() local 264 new_message().append(a); in TEST_F() [all …]
|