/linux/tools/testing/selftests/landlock/ |
A D | ptrace_test.c | 62 FIXTURE(hierarchy) { }; in FIXTURE() argument 64 FIXTURE_VARIANT(hierarchy) { in FIXTURE_VARIANT() argument 86 FIXTURE_VARIANT_ADD(hierarchy, allow_without_domain) { in FIXTURE_VARIANT_ADD() argument 101 FIXTURE_VARIANT_ADD(hierarchy, allow_with_one_domain) { in FIXTURE_VARIANT_ADD() argument 115 FIXTURE_VARIANT_ADD(hierarchy, deny_with_parent_domain) { in FIXTURE_VARIANT_ADD() argument 130 FIXTURE_VARIANT_ADD(hierarchy, deny_with_sibling_domain) { in FIXTURE_VARIANT_ADD() argument 145 FIXTURE_VARIANT_ADD(hierarchy, allow_sibling_domain) { in FIXTURE_VARIANT_ADD() argument 195 FIXTURE_VARIANT_ADD(hierarchy, deny_with_forked_domain) { in FIXTURE_VARIANT_ADD() argument 201 FIXTURE_SETUP(hierarchy) in FIXTURE_SETUP() argument 204 FIXTURE_TEARDOWN(hierarchy) in FIXTURE_TEARDOWN() argument [all …]
|
/linux/security/landlock/ |
A D | ruleset.c | 245 if (hierarchy) in get_hierarchy() 246 refcount_inc(&hierarchy->usage); in get_hierarchy() 251 while (hierarchy && refcount_dec_and_test(&hierarchy->usage)) { in put_hierarchy() 254 hierarchy = hierarchy->parent; in put_hierarchy() 270 if (WARN_ON_ONCE(!dst || !dst->hierarchy)) in merge_ruleset() 343 if (WARN_ON_ONCE(!parent->hierarchy)) { in inherit_ruleset() 347 get_hierarchy(parent->hierarchy); in inherit_ruleset() 348 child->hierarchy->parent = parent->hierarchy; in inherit_ruleset() 364 put_hierarchy(ruleset->hierarchy); in free_ruleset() 424 new_dom->hierarchy = kzalloc(sizeof(*new_dom->hierarchy), in landlock_merge_ruleset() [all …]
|
A D | ptrace.c | 41 for (walker = child->hierarchy; walker; walker = walker->parent) { in domain_scope_le() 42 if (walker == parent->hierarchy) in domain_scope_le()
|
/linux/drivers/media/dvb-frontends/ |
A D | as102_fe.c | 125 switch (c->hierarchy) { in as102_fe_set_frontend() 127 tune_args.hierarchy = HIER_NONE; in as102_fe_set_frontend() 130 tune_args.hierarchy = HIER_ALPHA_1; in as102_fe_set_frontend() 133 tune_args.hierarchy = HIER_ALPHA_2; in as102_fe_set_frontend() 136 tune_args.hierarchy = HIER_ALPHA_4; in as102_fe_set_frontend() 169 tune_args.hierarchy, in as102_fe_set_frontend() 210 switch (tps.hierarchy) { in as102_fe_get_frontend() 212 c->hierarchy = HIERARCHY_NONE; in as102_fe_get_frontend() 215 c->hierarchy = HIERARCHY_1; in as102_fe_get_frontend() 218 c->hierarchy = HIERARCHY_2; in as102_fe_get_frontend() [all …]
|
A D | l64781.c | 157 if (p->hierarchy != HIERARCHY_NONE && in apply_frontend_param() 175 if ((int)p->hierarchy < HIERARCHY_NONE || in apply_frontend_param() 176 p->hierarchy > HIERARCHY_4) in apply_frontend_param() 200 if (p->hierarchy != HIERARCHY_NONE) in apply_frontend_param() 203 val0x06 = (p->hierarchy << 2) | p->modulation; in apply_frontend_param() 323 p->hierarchy = HIERARCHY_NONE; in get_frontend() 326 p->hierarchy = HIERARCHY_1; in get_frontend() 329 p->hierarchy = HIERARCHY_2; in get_frontend() 332 p->hierarchy = HIERARCHY_4; in get_frontend()
|
A D | mt352.c | 201 if (op->hierarchy == HIERARCHY_AUTO || in mt352_set_parameters() 202 op->hierarchy == HIERARCHY_NONE) in mt352_set_parameters() 251 switch (op->hierarchy) { in mt352_set_parameters() 373 op->hierarchy = HIERARCHY_NONE; in mt352_get_parameters() 376 op->hierarchy = HIERARCHY_1; in mt352_get_parameters() 379 op->hierarchy = HIERARCHY_2; in mt352_get_parameters() 382 op->hierarchy = HIERARCHY_4; in mt352_get_parameters() 385 op->hierarchy = HIERARCHY_AUTO; in mt352_get_parameters()
|
A D | dib3000mb.c | 224 switch (c->hierarchy) { in dib3000mb_set_frontend() 247 if (c->hierarchy == HIERARCHY_NONE) { in dib3000mb_set_frontend() 251 } else if (c->hierarchy != HIERARCHY_AUTO) { in dib3000mb_set_frontend() 328 c->hierarchy == HIERARCHY_AUTO || in dib3000mb_set_frontend() 504 c->hierarchy = HIERARCHY_NONE; in dib3000mb_get_frontend() 508 c->hierarchy = HIERARCHY_1; in dib3000mb_get_frontend() 512 c->hierarchy = HIERARCHY_2; in dib3000mb_get_frontend() 516 c->hierarchy = HIERARCHY_4; in dib3000mb_get_frontend() 529 c->hierarchy = HIERARCHY_NONE; in dib3000mb_get_frontend()
|
A D | zl10353.c | 258 if (c->hierarchy == HIERARCHY_AUTO || in zl10353_set_parameters() 259 c->hierarchy == HIERARCHY_NONE) in zl10353_set_parameters() 308 switch (c->hierarchy) { in zl10353_set_parameters() 427 c->hierarchy = HIERARCHY_NONE; in zl10353_get_parameters() 430 c->hierarchy = HIERARCHY_1; in zl10353_get_parameters() 433 c->hierarchy = HIERARCHY_2; in zl10353_get_parameters() 436 c->hierarchy = HIERARCHY_4; in zl10353_get_parameters() 439 c->hierarchy = HIERARCHY_AUTO; in zl10353_get_parameters()
|
A D | cx22702.c | 159 p->hierarchy = HIERARCHY_NONE; in cx22702_get_tps() 162 p->hierarchy = HIERARCHY_1; in cx22702_get_tps() 165 p->hierarchy = HIERARCHY_2; in cx22702_get_tps() 168 p->hierarchy = HIERARCHY_4; in cx22702_get_tps() 286 if ((p->hierarchy == HIERARCHY_AUTO) || in cx22702_set_tps() 321 switch (p->hierarchy) { /* mask 0x07 */ in cx22702_set_tps()
|
A D | cx22700.c | 143 if ((int)p->hierarchy < HIERARCHY_NONE || in cx22700_set_tps() 144 p->hierarchy > HIERARCHY_4) in cx22700_set_tps() 156 val |= p->hierarchy - HIERARCHY_NONE; in cx22700_set_tps() 196 p->hierarchy = HIERARCHY_AUTO; in cx22700_get_tps() 198 p->hierarchy = HIERARCHY_NONE + (val & 0x7); in cx22700_get_tps()
|
A D | rtl2830.c | 326 c->hierarchy = HIERARCHY_NONE; in rtl2830_get_frontend() 329 c->hierarchy = HIERARCHY_1; in rtl2830_get_frontend() 332 c->hierarchy = HIERARCHY_2; in rtl2830_get_frontend() 335 c->hierarchy = HIERARCHY_4; in rtl2830_get_frontend() 431 unsigned int hierarchy, constellation; in rtl2830_read_status() local 448 hierarchy = (u8tmp >> 4) & 0x07; /* [6:4] */ in rtl2830_read_status() 449 if (hierarchy > HIERARCHY_NUM - 1) in rtl2830_read_status() 458 stmp = (constant[constellation][hierarchy] - in rtl2830_read_status()
|
A D | cxd2820r_t.c | 179 c->hierarchy = HIERARCHY_NONE; in cxd2820r_get_frontend_t() 182 c->hierarchy = HIERARCHY_1; in cxd2820r_get_frontend_t() 185 c->hierarchy = HIERARCHY_2; in cxd2820r_get_frontend_t() 188 c->hierarchy = HIERARCHY_4; in cxd2820r_get_frontend_t()
|
A D | as102_fe_types.h | 101 uint8_t hierarchy; member 122 uint8_t hierarchy; member
|
A D | rtl2832.c | 582 c->hierarchy = HIERARCHY_NONE; in rtl2832_get_frontend() 585 c->hierarchy = HIERARCHY_1; in rtl2832_get_frontend() 588 c->hierarchy = HIERARCHY_2; in rtl2832_get_frontend() 591 c->hierarchy = HIERARCHY_4; in rtl2832_get_frontend() 687 unsigned hierarchy, constellation; in rtl2832_read_status() local 705 hierarchy = (u8tmp >> 4) & 0x07; /* [6:4] */ in rtl2832_read_status() 706 if (hierarchy > HIERARCHY_NUM - 1) in rtl2832_read_status() 715 tmp = (constant[constellation][hierarchy] - in rtl2832_read_status()
|
/linux/Documentation/admin-guide/cgroup-v1/ |
A D | cgroups.rst | 60 A *hierarchy* is a set of cgroups arranged in a tree, such that 63 state attached to each cgroup in the hierarchy. Each hierarchy has 108 separate hierarchy; at the other extreme, all subsystems 109 would be attached to the same hierarchy. 209 mount a hierarchy containing all registered subsystems. 214 hierarchy, the mount will fail with -EBUSY. Otherwise, a new hierarchy 225 child cgroups then the hierarchy will be deactivated. 300 a cgroup hierarchy's release_agent path is empty. 384 To Specify a hierarchy's release_agent:: 570 propagation along the hierarchy. See the comment on [all …]
|
A D | pids.rst | 8 The process number controller is used to allow a cgroup hierarchy to stop any 13 preventable in the scope of a cgroup hierarchy by allowing resource limiting of 32 limit in the hierarchy is followed). 49 Then we create a hierarchy, set limits and attach processes to it:: 68 not be able to overcome the most stringent limit in the hierarchy (in this case,
|
/linux/Documentation/core-api/irq/ |
A D | irq-domain.rst | 232 interrupt controller and those irq_domains are organized into hierarchy. 233 When building irq_domain hierarchy, the irq_domain near to the device is 245 There are four major interfaces to use hierarchy irq_domain: 256 Following changes are needed to support hierarchy irq_domain: 259 maintain irq_domain hierarchy information. 261 build hierarchy irq_data to match hierarchy irq_domains. The irq_data 266 With support of hierarchy irq_domain and hierarchy irq_data ready, an 269 IRQ. Now we could go one step further to support stacked(hierarchy) 271 the hierarchy. A child irq_chip may implement a required action by 279 For an interrupt controller driver to support hierarchy irq_domain, it [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | rl.c | 39 int mlx5_create_scheduling_element_cmd(struct mlx5_core_dev *dev, u8 hierarchy, in mlx5_create_scheduling_element_cmd() argument 52 hierarchy); in mlx5_create_scheduling_element_cmd() 64 int mlx5_modify_scheduling_element_cmd(struct mlx5_core_dev *dev, u8 hierarchy, in mlx5_modify_scheduling_element_cmd() argument 80 hierarchy); in mlx5_modify_scheduling_element_cmd() 86 int mlx5_destroy_scheduling_element_cmd(struct mlx5_core_dev *dev, u8 hierarchy, in mlx5_destroy_scheduling_element_cmd() argument 96 hierarchy); in mlx5_destroy_scheduling_element_cmd()
|
/linux/drivers/media/usb/dvb-usb-v2/ |
A D | mxl111sf-demod.c | 171 enum fe_hierarchy *hierarchy) in mxl1x1sf_demod_get_tps_hierarchy() argument 181 *hierarchy = HIERARCHY_NONE; in mxl1x1sf_demod_get_tps_hierarchy() 184 *hierarchy = HIERARCHY_1; in mxl1x1sf_demod_get_tps_hierarchy() 187 *hierarchy = HIERARCHY_2; in mxl1x1sf_demod_get_tps_hierarchy() 190 *hierarchy = HIERARCHY_4; in mxl1x1sf_demod_get_tps_hierarchy() 523 &p->hierarchy); in mxl111sf_demod_get_frontend()
|
/linux/Documentation/userspace-api/ |
A D | landlock.rst | 25 file hierarchy, and the related filesystem actions are defined with `access 65 file hierarchy ``/usr``. Without another rule, write actions would then be 151 A bind mount mirrors a source file hierarchy to a destination. The destination 152 hierarchy is then composed of the exact same files, on which Landlock rules can 159 combined in a merge directory, result of the mount point. This merge hierarchy 161 on the merge hierarchy only reflects on the upper layer. From a Landlock 165 restrict the resulted merged hierarchy, and vice versa. Landlock users should 238 to its hierarchy. Because files are identified and restricted by their 239 hierarchy, moving or linking a file from one directory to another implies to 240 propagate the hierarchy constraints. To protect against privilege escalations
|
/linux/Documentation/devicetree/bindings/arm/omap/ |
A D | prcm.txt | 4 a DT hierarchy. Each TI SoC can have multiple PRCM entities listed for it, 5 each describing one module and the clock hierarchy under it. see [1] for
|
/linux/Documentation/devicetree/bindings/cpu/ |
A D | cpu-topology.txt | 9 In a SMP system, the hierarchy of CPUs is defined through three entities that 17 The bottom hierarchy level sits at core or thread level depending on whether 21 threads existing in the system and map to the hierarchy level "thread" above. 23 in the system and map to the hierarchy level "core" above. 26 corresponding to the system hierarchy; syntactically they are defined as device 33 correspond to physical CPUs and are to be mapped to the hierarchy levels. 92 levels) since name uniqueness will be guaranteed by the device tree hierarchy.
|
/linux/drivers/media/usb/as102/ |
A D | as10x_cmd.c | 119 preq->body.set_tune.req.args.hierarchy = ptune->hierarchy; in as10x_cmd_set_tune() 245 ptps->hierarchy = prsp->body.get_tps.rsp.tps.hierarchy; in as10x_cmd_get_tps()
|
/linux/drivers/clk/baikal-t1/ |
A D | Kconfig | 11 in them are fed with clocks generated by a hierarchy of PLLs, 24 clocks hierarchy, right after an external reference oscillator
|
/linux/Documentation/admin-guide/ |
A D | cgroup-v2.rst | 143 Unlike v1, cgroup v2 has only single hierarchy. The cgroup v2 144 hierarchy can be mounted with the following mount command:: 159 the v2 hierarchy after the final umount of the previous hierarchy. 369 sub-hierarchy have exited. The populated state updates and 521 in from or push out to outside the sub-hierarchy. 529 ~ hierarchy ~ 832 When delegating a sub-hierarchy, write access to this file 861 When delegating a sub-hierarchy, write access to this file 1237 hierarchy. For the local events at the cgroup level see 2348 moved to a legacy hierarchy after v2 hierarchy is populated. [all …]
|