Home
last modified time | relevance | path

Searched full:layers (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/linux/security/landlock/
H A Druleset.c93 * LANDLOCK_MAX_NUM_LAYERS layers. in build_check_rule()
117 const struct landlock_layer (*layers)[], const u32 num_layers, in create_rule() argument
132 new_rule = kzalloc_flex(*new_rule, layers, new_num_layers, in create_rule()
146 memcpy(new_rule->layers, layers, in create_rule()
147 flex_array_size(new_rule, layers, num_layers)); in create_rule()
150 new_rule->layers[new_rule->num_layers - 1] = *new_layer; in create_rule()
183 * @layers: One or multiple layers to be copied into the new rule.
184 * @num_layers: The number of @layers entries.
186 * When user space requests to add a new rule to a ruleset, @layers only
191 * When merging a ruleset in a domain, or copying a domain, @layers will be
[all …]
H A Ddomain.c166 * layers for each inode, from the first added layer to the last one. in landlock_unmask_layers()
174 * is per-layer: access is granted iff masks->layers[l].access == 0 for in landlock_unmask_layers()
175 * all layers l. When two independent mechanisms can each grant access in landlock_unmask_layers()
179 * different layers grant via different mechanisms. in landlock_unmask_layers()
182 const struct landlock_layer *const layer = &rule->layers[i]; in landlock_unmask_layers()
185 masks->layers[layer->level - 1].access &= ~layer->access; in landlock_unmask_layers()
190 masks->layers[layer->level - 1].quiet = true; in landlock_unmask_layers()
194 for (size_t i = 0; i < ARRAY_SIZE(masks->layers); i++) { in landlock_unmask_layers()
195 if (masks->layers[i].access) in landlock_unmask_layers()
209 * for all the layers are set where this access right is handled. Rule flags
[all …]
H A Dfs.c457 for (size_t i = 0; i < ARRAY_SIZE(new_parent->layers); i++) { in may_refer()
458 access_mask_t child_access = src_parent->layers[i].access & in may_refer()
459 src_child->layers[i].access; in may_refer()
460 access_mask_t parent_access = new_parent->layers[i].access; in may_refer()
506 .layers[0].access = LANDLOCK_ACCESS_FS_EXECUTE | in test_no_more_access()
510 .layers[0].access = LANDLOCK_ACCESS_FS_EXECUTE | in test_no_more_access()
514 .layers[0].access = LANDLOCK_ACCESS_FS_EXECUTE, in test_no_more_access()
517 .layers[1].access = LANDLOCK_ACCESS_FS_EXECUTE, in test_no_more_access()
520 .layers[0].access = LANDLOCK_ACCESS_FS_EXECUTE, in test_no_more_access()
521 .layers[1].access = LANDLOCK_ACCESS_FS_EXECUTE, in test_no_more_access()
[all …]
H A Druleset.h111 * @num_layers: Number of entries in @layers.
115 * @layers: Stack of layers, from the latest to the newest, implemented
118 struct landlock_layer layers[] __counted_by(num_layers);
213 const struct landlock_layer (*layers)[],
H A Ddomain.h230 * @num_layers: Number of layers that are used in this
231 * domain. This enables to check that all the layers
238 * domain saves all layers of merged rulesets in a stack
240 * These layers are used when merging rulesets, for user
243 * overlapping access rights. These layers are set once
/linux/Documentation/devicetree/bindings/display/
H A Dxylon,logicvc-display.yaml14 The Xylon LogiCVC is a display controller that supports multiple layers.
24 Layers are declared in the "layers" sub-node and have dedicated configuration.
109 xylon,layers-configurable:
112 Configuration of layers' size, position and offset is enabled
115 layers:
187 The description of the display controller layers, containing layer
207 - layers
238 xylon,layers-configurable;
240 layers {
/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 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 Daspeed_edac.c280 struct edac_mc_layer layers[2]; in aspeed_probe() local
305 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in aspeed_probe()
306 layers[0].size = 1; in aspeed_probe()
307 layers[0].is_virt_csrow = true; in aspeed_probe()
308 layers[1].type = EDAC_MC_LAYER_CHANNEL; in aspeed_probe()
309 layers[1].size = 1; in aspeed_probe()
310 layers[1].is_virt_csrow = false; in aspeed_probe()
312 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, 0); in aspeed_probe()
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()
H A Dedac_mc.c70 edac_layer_name[mci->layers[i].type], in edac_dimm_info_location()
294 edac_layer_name[mci->layers[layer].type], in edac_mc_alloc_dimms()
307 if (mci->layers[0].is_virt_csrow) { in edac_mc_alloc_dimms()
324 if (pos[layer] < mci->layers[layer].size) in edac_mc_alloc_dimms()
335 struct edac_mc_layer *layers, in edac_mc_alloc() argument
352 tot_dimms *= layers[idx].size; in edac_mc_alloc()
354 if (layers[idx].is_virt_csrow) in edac_mc_alloc()
355 tot_csrows *= layers[idx].size; in edac_mc_alloc()
357 tot_channels *= layers[idx].size; in edac_mc_alloc()
359 if (layers[idx].type == EDAC_MC_LAYER_CHIP_SELECT) in edac_mc_alloc()
[all …]
H A Dal_mc_edac.c219 struct edac_mc_layer layers[1]; in al_mc_edac_probe() local
233 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in al_mc_edac_probe()
234 layers[0].size = 1; in al_mc_edac_probe()
235 layers[0].is_virt_csrow = false; in al_mc_edac_probe()
236 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, in al_mc_edac_probe()
H A Dfsl_ddr_edac.c496 struct edac_mc_layer layers[2]; in fsl_mc_err_probe() local
506 layers[0].type = EDAC_MC_LAYER_CHIP_SELECT; in fsl_mc_err_probe()
507 layers[0].size = 4; in fsl_mc_err_probe()
508 layers[0].is_virt_csrow = true; in fsl_mc_err_probe()
509 layers[1].type = EDAC_MC_LAYER_CHANNEL; in fsl_mc_err_probe()
510 layers[1].size = 1; in fsl_mc_err_probe()
511 layers[1].is_virt_csrow = false; in fsl_mc_err_probe()
512 mci = edac_mc_alloc(edac_mc_idx, ARRAY_SIZE(layers), layers, in fsl_mc_err_probe()
H A Dbluefield_edac.c356 struct edac_mc_layer layers[1]; in bluefield_edac_mc_probe() local
384 layers[0].type = EDAC_MC_LAYER_SLOT; in bluefield_edac_mc_probe()
385 layers[0].size = dimm_count; in bluefield_edac_mc_probe()
386 layers[0].is_virt_csrow = true; in bluefield_edac_mc_probe()
388 mci = edac_mc_alloc(mc_idx, ARRAY_SIZE(layers), layers, sizeof(*priv)); in bluefield_edac_mc_probe()
/linux/Documentation/filesystems/
H A Doverlayfs.rst32 In the special case of all overlay layers on the same underlying
39 On 64bit systems, even if all overlay layers are not on the same
66 | All layers | Y | Y | Y | Y | Y | Y | Y | Y |
69 | Layers not | N | N | Y | N | N | Y | N | Y |
330 Check (b) ensures that no task gains permissions to underlying layers that
358 how overlayfs accesses the underlying layers: those are still accessed with
365 Multiple lower layers
368 Multiple lower layers can now be given using the colon (":") as a
419 for untrusted layers like from a pen drive.
428 Data-only lower layers
[all …]
/linux/fs/overlayfs/
H A Dsuper.c425 * file handles, so they require that all layers support them. in ovl_lower_dir()
509 pr_err("upper fs is r/o, try multi-lower layers mount\n"); in ovl_get_upper()
934 * as all lower layers with null uuid are on the same fs. in ovl_lower_uuid_ok()
995 * The fsid after the last lower fsid is used for the data layers.
1024 struct ovl_fs_context *ctx, struct ovl_layer *layers) in ovl_get_layers() argument
1036 * and the last fsid is reserved for "null fs" of the data layers. in ovl_get_layers()
1041 * All lower layers that share the same fs as upper layer, use the same in ovl_get_layers()
1078 * Check if lower root conflicts with this overlay layers before in ovl_get_layers()
1105 * Make lower layers R/O. That way fchmod/fchown on lower file in ovl_get_layers()
1110 layers[ofs->numlayer].trap = trap; in ovl_get_layers()
[all …]
H A Dovl_entry.h60 /* Number of unique fs among layers including upper fs */
62 /* Number of data-only lower layers */
64 struct ovl_layer *layers; member
97 /* Number of lower layers, not including data-only layers */
105 return ofs->layers[0].mnt; in ovl_upper_mnt()
H A Dparams.c227 /* count layers, not colons */ in ovl_parse_param_split_lowerdirs()
336 return invalfc(fc, "regular lower layers cannot follow data layers"); in ovl_mount_dir_check()
516 * Set "/lower1", "/lower2", and "/lower3" as lower layers and
517 * "/data1" and "/data2" as data lower layers. Any existing lower
518 * layers are replaced.
533 /* drop all existing lower layers */ in ovl_parse_param_lowerdir()
587 * there are no data layers. in ovl_parse_param_lowerdir()
590 pr_err("regular lower layers cannot follow data lower layers\n"); in ovl_parse_param_lowerdir()
807 * By default we allocate for three lower layers. It's likely in ovl_init_fs_context()
858 iput(ofs->layers[i].trap); in ovl_free_fs()
[all …]
/linux/Documentation/scsi/
H A Dscsi_eh.rst152 Note that this does not mean lower layers are quiescent. If a LLDD
153 completed a scmd with error status, the LLDD and lower layers are
155 has timed out, unless hostt->eh_timed_out() made lower layers forget
157 active as long as lower layers are concerned and completion could
206 lower layers and lower layers are ready to process or fail the scmd
364 that lower layers have forgotten about the scmd and we can
373 and STU doesn't make lower layers forget about those
375 if STU succeeds leaving lower layers in an inconsistent
428 On completion, the handler should have made lower layers forget about
468 - Know that timed out scmds are still active on lower layers. Make
[all …]
H A Dufs.rst58 UFS communication architecture consists of the following layers.
79 layers. Device level configurations involve handling of query
87 the higher layers through Service Access Points. UTP defines 3
88 service access points for higher layers.
109 * UIO_SAP: To issue commands to Unipro layers.
/linux/Documentation/driver-api/fpga/
H A Dintro.rst9 * The FPGA subsystem separates upper layers (userspace interfaces and
10 enumeration) from lower layers that know how to program a specific
13 * Code should not be shared between upper and lower layers. This
/linux/drivers/gpu/drm/xlnx/
H A Dzynqmp_dpsub.h60 * @layers: Video and graphics layers
81 struct zynqmp_disp_layer *layers[ZYNQMP_DPSUB_NUM_LAYERS]; member
/linux/drivers/parisc/
H A Dpdc_stable.c358 for (i = 0; i < 6 && devpath->layers[i]; i++) in pdcspath_layer_read()
359 out += sprintf(out, "%u ", devpath->layers[i]); in pdcspath_layer_read()
373 * Layers are to be given '.'-delimited, without brackets.
381 unsigned int layers[6]; /* device-specific info (ctlr#, unit#, ...) */ in pdcspath_layer_write() local
393 memset(&layers, 0, sizeof(layers)); in pdcspath_layer_write()
398 layers[0] = simple_strtoul(in, NULL, 10); in pdcspath_layer_write()
399 DPRINTK("%s: layer[0]: %d\n", __func__, layers[0]); in pdcspath_layer_write()
405 layers[i] = simple_strtoul(temp, NULL, 10); in pdcspath_layer_write()
406 DPRINTK("%s: layer[%d]: %d\n", __func__, i, layers[i]); in pdcspath_layer_write()
412 /* First, overwrite the current layers with the new ones, not touching in pdcspath_layer_write()
[all …]
/linux/drivers/gpu/drm/imagination/
H A Dpvr_hwrt.c49 hwrt->max_rts = args->layers; in hwrt_init_kernel_structure()
387 rta_ctl->max_rts = args->layers; in hwrt_data_init_fw_structure()
389 if (args->layers > 1) { in hwrt_data_init_fw_structure()
390 err = pvr_fw_object_create(pvr_dev, args->layers * SRTC_ENTRY_SIZE, in hwrt_data_init_fw_structure()
398 err = pvr_fw_object_create(pvr_dev, args->layers * RAA_ENTRY_SIZE, in hwrt_data_init_fw_structure()
418 if (args->layers > 1) in hwrt_data_init_fw_structure()
422 if (args->layers > 1) in hwrt_data_init_fw_structure()
/linux/include/linux/mmc/
H A Dpm.h15 * the host system is being suspended. There are several layers of
19 * all those layers.

12345678910>>...15