Home
last modified time | relevance | path

Searched refs:layers (Results 1 – 25 of 413) sorted by relevance

12345678910>>...17

/openbmc/linux/security/landlock/
H A Druleset.c73 const struct landlock_layer (*const layers)[], const u32 num_layers, in create_rule() argument
88 new_rule = kzalloc(struct_size(new_rule, layers, new_num_layers), in create_rule()
97 memcpy(new_rule->layers, layers, in create_rule()
98 flex_array_size(new_rule, layers, num_layers)); in create_rule()
101 new_rule->layers[new_rule->num_layers - 1] = *new_layer; in create_rule()
147 const struct landlock_layer (*const layers)[], in insert_rule() argument
156 if (WARN_ON_ONCE(!object || !layers)) in insert_rule()
177 if ((*layers)[0].level == 0) { in insert_rule()
184 if (WARN_ON_ONCE(this->layers[0].level != 0)) in insert_rule()
186 this->layers[0].access |= (*layers)[0].access; in insert_rule()
[all …]
/openbmc/openbmc/poky/scripts/
H A Dyocto-check-layer101 layers = detect_layers(args.layers, args.no_auto)
102 if not layers:
111 dep_layers = dep_layers + layers
113 dep_layers = layers
127 for layer in layers:
132 layers.remove(layer)
136 layers.remove(layer)
140 if not layers:
146 for layer in layers:
154 if d not in layers:
[all …]
/openbmc/openbmc/poky/documentation/test-manual/
H A Dyocto-project-compatible.rst11 After the introduction of layers to OpenEmbedded, it quickly became clear
12 that while some layers were popular and worked well, others developed a
13 reputation for being "problematic". Those were layers which didn't
16 because such layers are often created by developers with a particular focus
21 As a result of noticing such patterns and friction between layers, the project
22 developed the "Yocto Project Compatible" badge program, allowing layers
25 questions where layers can declare if they meet the appropriate criteria.
30 See :ref:`dev-manual/layers:making sure your layer is compatible with yocto project`
42 Over time, the project identified characteristics in layers that allow them
43 to operate well together. "anti-patterns" were also found, preventing layers
[all …]
/openbmc/openbmc/poky/scripts/lib/checklayer/
H A D__init__.py130 layers = []
142 layers.append(layer)
150 layers.append(layer)
152 return layers
154 def _find_layer(depend, layers): argument
155 for layer in layers:
164 def sanity_check_layers(layers, logger): argument
175 for layer in layers:
185 def get_layer_dependencies(layer, layers, logger): argument
186 def recurse_dependencies(depends, layer, layers, logger, ret = []): argument
[all …]
/openbmc/linux/drivers/edac/
H A Dpasemi_edac.c183 struct edac_mc_layer layers[2]; in pasemi_edac_probe() local
200 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in pasemi_edac_probe()
201 layers[0].size = PASEMI_EDAC_NR_CSROWS; in pasemi_edac_probe()
202 layers[0].is_virt_csrow = true; in pasemi_edac_probe()
203 layers[1].type = EDAC_MC_LAYER_CHANNEL; in pasemi_edac_probe()
204 layers[1].size = PASEMI_EDAC_NR_CHANS; in pasemi_edac_probe()
205 layers[1].is_virt_csrow = false; in pasemi_edac_probe()
206 mci = edac_mc_alloc(system_mmc_id++, ARRAY_SIZE(layers), layers, in pasemi_edac_probe()
H A Damd76x_edac.c237 struct edac_mc_layer layers[2]; in amd76x_probe1() local
246 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in amd76x_probe1()
247 layers[0].size = AMD76X_NR_CSROWS; in amd76x_probe1()
248 layers[0].is_virt_csrow = true; in amd76x_probe1()
249 layers[1].type = EDAC_MC_LAYER_CHANNEL; in amd76x_probe1()
250 layers[1].size = 1; in amd76x_probe1()
251 layers[1].is_virt_csrow = false; in amd76x_probe1()
252 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in amd76x_probe1()
H A Di82860_edac.c187 struct edac_mc_layer layers[2]; in i82860_probe1() local
200 layers[0].type = EDAC_MC_LAYER_CHANNEL; in i82860_probe1()
201 layers[0].size = 2; in i82860_probe1()
202 layers[0].is_virt_csrow = true; in i82860_probe1()
203 layers[1].type = EDAC_MC_LAYER_SLOT; in i82860_probe1()
204 layers[1].size = 8; in i82860_probe1()
205 layers[1].is_virt_csrow = true; in i82860_probe1()
206 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in i82860_probe1()
H A Dr82600_edac.c271 struct edac_mc_layer layers[2]; in r82600_probe1() local
285 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in r82600_probe1()
286 layers[0].size = R82600_NR_CSROWS; in r82600_probe1()
287 layers[0].is_virt_csrow = true; in r82600_probe1()
288 layers[1].type = EDAC_MC_LAYER_CHANNEL; in r82600_probe1()
289 layers[1].size = R82600_NR_CHANS; in r82600_probe1()
290 layers[1].is_virt_csrow = false; in r82600_probe1()
291 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in r82600_probe1()
H A Dhighbank_mc_edac.c149 struct edac_mc_layer layers[2]; in highbank_mc_probe() local
163 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in highbank_mc_probe()
164 layers[0].size = 1; in highbank_mc_probe()
165 layers[0].is_virt_csrow = true; in highbank_mc_probe()
166 layers[1].type = EDAC_MC_LAYER_CHANNEL; in highbank_mc_probe()
167 layers[1].size = 1; in highbank_mc_probe()
168 layers[1].is_virt_csrow = false; in highbank_mc_probe()
169 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, in highbank_mc_probe()
H A Dcell_edac.c172 struct edac_mc_layer layers[2]; in cell_edac_probe() local
202 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in cell_edac_probe()
203 layers[0].size = 1; in cell_edac_probe()
204 layers[0].is_virt_csrow = true; in cell_edac_probe()
205 layers[1].type = EDAC_MC_LAYER_CHANNEL; in cell_edac_probe()
206 layers[1].size = num_chans; in cell_edac_probe()
207 layers[1].is_virt_csrow = false; in cell_edac_probe()
208 mci = edac_mc_alloc(pdev->id, ARRAY_SIZE(layers), layers, in cell_edac_probe()
H A Daspeed_edac.c282 struct edac_mc_layer layers[2]; in aspeed_probe() local
307 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in aspeed_probe()
308 layers[0].size = 1; in aspeed_probe()
309 layers[0].is_virt_csrow = true; in aspeed_probe()
310 layers[1].type = EDAC_MC_LAYER_CHANNEL; in aspeed_probe()
311 layers[1].size = 1; in aspeed_probe()
312 layers[1].is_virt_csrow = false; in aspeed_probe()
314 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in aspeed_probe()
H A Di82443bxgx_edac.c234 struct edac_mc_layer layers[2]; in i82443bxgx_edacmc_probe1() local
248 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in i82443bxgx_edacmc_probe1()
249 layers[0].size = I82443BXGX_NR_CSROWS; in i82443bxgx_edacmc_probe1()
250 layers[0].is_virt_csrow = true; in i82443bxgx_edacmc_probe1()
251 layers[1].type = EDAC_MC_LAYER_CHANNEL; in i82443bxgx_edacmc_probe1()
252 layers[1].size = I82443BXGX_NR_CHANS; in i82443bxgx_edacmc_probe1()
253 layers[1].is_virt_csrow = false; in i82443bxgx_edacmc_probe1()
254 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in i82443bxgx_edacmc_probe1()
H A Dx38_edac.c322 struct edac_mc_layer layers[2]; in x38_probe1() local
338 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in x38_probe1()
339 layers[0].size = X38_RANKS; in x38_probe1()
340 layers[0].is_virt_csrow = true; in x38_probe1()
341 layers[1].type = EDAC_MC_LAYER_CHANNEL; in x38_probe1()
342 layers[1].size = x38_channel_num; in x38_probe1()
343 layers[1].is_virt_csrow = false; in x38_probe1()
344 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in x38_probe1()
H A Di3200_edac.c340 struct edac_mc_layer layers[2]; in i3200_probe1() local
355 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in i3200_probe1()
356 layers[0].size = I3200_DIMMS; in i3200_probe1()
357 layers[0].is_virt_csrow = true; in i3200_probe1()
358 layers[1].type = EDAC_MC_LAYER_CHANNEL; in i3200_probe1()
359 layers[1].size = nr_channels; in i3200_probe1()
360 layers[1].is_virt_csrow = false; in i3200_probe1()
361 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, in i3200_probe1()
H A Di82875p_edac.c391 struct edac_mc_layer layers[2]; in i82875p_probe1() local
406 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in i82875p_probe1()
407 layers[0].size = I82875P_NR_CSROWS(nr_chans); in i82875p_probe1()
408 layers[0].is_virt_csrow = true; in i82875p_probe1()
409 layers[1].type = EDAC_MC_LAYER_CHANNEL; in i82875p_probe1()
410 layers[1].size = nr_chans; in i82875p_probe1()
411 layers[1].is_virt_csrow = false; in i82875p_probe1()
412 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); in i82875p_probe1()
H A Di3000_edac.c313 struct edac_mc_layer layers[2]; in i3000_probe1() local
356 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in i3000_probe1()
357 layers[0].size = I3000_RANKS / nr_channels; in i3000_probe1()
358 layers[0].is_virt_csrow = true; in i3000_probe1()
359 layers[1].type = EDAC_MC_LAYER_CHANNEL; in i3000_probe1()
360 layers[1].size = nr_channels; in i3000_probe1()
361 layers[1].is_virt_csrow = false; in i3000_probe1()
362 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in i3000_probe1()
H A Dedac_mc.c70 edac_layer_name[mci->layers[i].type], in edac_dimm_info_location()
205 kfree(mci->layers); in mci_release()
295 edac_layer_name[mci->layers[layer].type], in edac_mc_alloc_dimms()
308 if (mci->layers[0].is_virt_csrow) { in edac_mc_alloc_dimms()
325 if (pos[layer] < mci->layers[layer].size) in edac_mc_alloc_dimms()
336 struct edac_mc_layer *layers, in edac_mc_alloc() argument
353 tot_dimms *= layers[idx].size; in edac_mc_alloc()
355 if (layers[idx].is_virt_csrow) in edac_mc_alloc()
356 tot_csrows *= layers[idx].size; in edac_mc_alloc()
358 tot_channels *= layers[idx].size; in edac_mc_alloc()
[all …]
H A Docteon_edac-lmc.c228 struct edac_mc_layer layers[1]; in octeon_lmc_edac_probe() local
233 layers[0].type = EDAC_MC_LAYER_CHANNEL; in octeon_lmc_edac_probe()
234 layers[0].size = 1; in octeon_lmc_edac_probe()
235 layers[0].is_virt_csrow = false; in octeon_lmc_edac_probe()
246 mci = edac_mc_alloc(mc, ARRAY_SIZE(layers), layers, sizeof(struct octeon_lmc_pvt)); in octeon_lmc_edac_probe()
278 mci = edac_mc_alloc(mc, ARRAY_SIZE(layers), layers, sizeof(struct octeon_lmc_pvt)); in octeon_lmc_edac_probe()
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/
H A Dtypeaheads.py22 layers = prj.get_all_compatible_layer_versions()
23 layers = layers.order_by('layer__name')
30 layers = layers.exclude(
33 primary_results = layers.filter(layer__name__istartswith=search_term)
34 secondary_results = layers.filter(
/openbmc/linux/drivers/media/dvb-frontends/
H A Dtc90522.c201 int layers; in tc90522s_get_frontend() local
209 layers = 0; in tc90522s_get_frontend()
236 layers = (v > 0) ? 2 : 1; in tc90522s_get_frontend()
284 stats->len = layers; in tc90522s_get_frontend()
287 for (i = 0; i < layers; i++) in tc90522s_get_frontend()
290 for (i = 0; i < layers; i++) { in tc90522s_get_frontend()
298 stats->len = layers; in tc90522s_get_frontend()
300 for (i = 0; i < layers; i++) in tc90522s_get_frontend()
303 for (i = 0; i < layers; i++) { in tc90522s_get_frontend()
336 int layers; in tc90522t_get_frontend() local
[all …]
/openbmc/openbmc/poky/meta/lib/bblayers/
H A Dbuildconf.py61 layers = oe.buildcfg.get_layer_revisions(self.tinfoil.config_data)
65 for l in layers:
72 …ne of the currently enabled layers:\n{}".format(args.layerpath, "\n".join([l[0] for l in layers])))
74 …ed-core not in one of the currently enabled layers:\n{}".format("\n".join([l[0] for l in layers])))
76 relpaths_to_oecore = [(l[0], os.path.relpath(l[0], start=oecore)) for l in layers]
/openbmc/openbmc/poky/documentation/dev-manual/
H A Dlayers.rst7 :term:`Metadata` into multiple layers.
19 It is very easy to create your own layers to use with the OpenEmbedded
21 layers. This section describes the steps you perform by hand to create
22 layers so that you can better understand them. For information about the
24 ":ref:`bsp-guide/bsp:creating a new bsp layer using the \`\`bitbake-layers\`\` script`"
26 …Guide and the ":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` s…
34 for a list of layers from the OpenEmbedded community that can be used in
113 layers.
123 Lists all layers on which this layer depends (if any).
135 ``.bbappend``. Generally, developers create layers using
[all …]
/openbmc/openbmc/poky/meta/lib/bblayers/templates/
H A Dexample.bb1 SUMMARY = "bitbake-layers recipe"
2 DESCRIPTION = "Recipe created by bitbake-layers"
8 bb.plain("* Example recipe created by bitbake-layers *");
/openbmc/openbmc/poky/scripts/contrib/
H A Dpatchreview.py225 def gather_patches(layers): argument
227 for directory in layers:
232 def count_recipes(layers): argument
234 for directory in layers:
248 layers = find_layers(args.directory) variable
250 patches = gather_patches(layers)
265 row['recipe_count'] = count_recipes(layers)
/openbmc/openbmc/poky/documentation/
H A Dtransitioning-to-a-custom-environment.rst20 You will be finding layers with recipes and other metadata that support these
32 </software-overview/layers/>` or even the :oe_layerindex:`OpenEmbedded
44 layers to that. Here is the information :ref:`about adding layers
45 <dev-manual/layers:Understanding and Creating Layers>`.
47 #. **Based on the layers you've chosen, make needed changes in your
57 Use the ``bitbake-layers create-layer`` tool for Yocto Project 2.4+
59 ``yocto-layer create`` tool. The ``bitbake-layers`` tool also provides a number
61 :ref:`dev-manual/layers:creating a general layer using the
62 \`\`bitbake-layers\`\` script` section.
68 bsp layer using the \`\`bitbake-layers\`\` script>`. For example, given a
[all …]

12345678910>>...17