| /linux/security/landlock/ |
| H A D | domain.h | 30 * Hierarchy whose creation event has not been emitted, so it is not yet 31 * observable from user space. A hierarchy is born in this state (the 32 * zero value, so a partially initialized hierarchy defaults to "not 36 * fires while a hierarchy is in this state, so a hierarchy that never 88 * struct landlock_hierarchy - Node in a domain hierarchy 151 int landlock_init_hierarchy_log(struct landlock_hierarchy *const hierarchy); 154 landlock_free_hierarchy_details(struct landlock_hierarchy *const hierarchy) 156 if (!hierarchy || !hierarchy in landlock_get_hierarchy() 130 landlock_free_hierarchy_details(struct landlock_hierarchy * const hierarchy) landlock_free_hierarchy_details() argument 142 landlock_init_hierarchy_log(struct landlock_hierarchy * const hierarchy) landlock_init_hierarchy_log() argument 148 landlock_free_hierarchy_details(struct landlock_hierarchy * const hierarchy) landlock_free_hierarchy_details() argument 155 landlock_get_hierarchy(struct landlock_hierarchy * const hierarchy) landlock_get_hierarchy() argument 161 landlock_put_hierarchy(struct landlock_hierarchy * hierarchy) landlock_put_hierarchy() argument [all...] |
| H A D | audit.c | 129 static void log_domain(struct landlock_hierarchy *const hierarchy) in log_domain() 134 if (READ_ONCE(hierarchy->log_status) == LANDLOCK_LOG_RECORDED) in log_domain() 143 WARN_ON_ONCE(hierarchy->id == 0); in get_hierarchy() 147 hierarchy->id, pid_nr(hierarchy->details->pid), in get_hierarchy() 148 hierarchy->details->uid); in get_hierarchy() 149 audit_log_untrustedstring(ab, hierarchy->details->exe_path); in get_hierarchy() 151 audit_log_untrustedstring(ab, hierarchy->details->comm); in get_hierarchy() 158 WRITE_ONCE(hierarchy->log_status, LANDLOCK_LOG_RECORDED); in test_get_hierarchy() 165 * @youngest_denied: The youngest hierarchy nod in test_get_hierarchy() 104 log_domain(struct landlock_hierarchy * const hierarchy) log_domain() argument 139 struct landlock_hierarchy *hierarchy = domain->hierarchy; get_hierarchy() local 445 landlock_log_drop_domain(const struct landlock_hierarchy * const hierarchy) landlock_log_drop_domain() argument [all...] |
| H A D | domain.c | 73 landlock_put_hierarchy(domain->hierarchy); in get_current_exe() 322 if (WARN_ON_ONCE(!dst || !dst->hierarchy)) 410 if (WARN_ON_ONCE(!parent->hierarchy)) 413 landlock_get_hierarchy(parent->hierarchy); 414 child->hierarchy->parent = parent->hierarchy; 459 new_dom->hierarchy = 460 kzalloc_obj(*new_dom->hierarchy, GFP_KERNEL_ACCOUNT); 461 if (!new_dom->hierarchy) 464 refcount_set(&new_dom->hierarchy 120 landlock_init_hierarchy_log(struct landlock_hierarchy * const hierarchy) landlock_init_hierarchy_log() argument [all...] |
| H A D | ruleset.c | |
| H A D | task.c | 56 for (walker = child->hierarchy; walker; walker = walker->parent) { in domain_scope_le() 57 if (walker == parent->hierarchy) in domain_scope_le() 58 /* @parent is in the scoped hierarchy of @child. */ in domain_scope_le() 105 tracee_domain_id = child_dom->hierarchy->id; in hook_ptrace_access_check() 160 tracee_domain_id = child_dom->hierarchy->id; in hook_ptrace_traceme() 205 client_walker = client->hierarchy; in domain_is_scoped() 216 server_walker = server ? server->hierarchy : NULL; in domain_is_scoped() 219 * Walks client's parent domains down to the same hierarchy level in domain_is_scoped() 230 * Walks server's parent domains down to the same hierarchy level as in domain_is_scoped() 240 * hierarchy in sock_is_scoped() [all...] |
| /linux/Documentation/admin-guide/media/ |
| H A D | dvb_intro.rst | 153 HIERARCHY = NONE 181 HIERARCHY = NONE 196 HIERARCHY = NONE 211 HIERARCHY = NONE 226 HIERARCHY = NONE 241 HIERARCHY = NONE 256 HIERARCHY = NONE 271 HIERARCHY = NONE 286 HIERARCHY = NONE 301 HIERARCHY = NONE [all …]
|
| /linux/net/shaper/ |
| H A D | shaper.c | 236 * Acquires the lock protecting the hierarchy (instance lock for netdev). 314 struct net_shaper_hierarchy *hierarchy; in net_shaper_lookup() local 317 hierarchy = net_shaper_hierarchy_rcu(binding); in net_shaper_lookup() 318 if (!hierarchy) in net_shaper_lookup() 321 cur = xa_load(&hierarchy->shapers, index); in net_shaper_lookup() 329 /* Allocate on demand the per device shaper's hierarchy container. 330 * Called under the lock protecting the hierarchy (instance lock for netdev) 335 struct net_shaper_hierarchy *hierarchy = net_shaper_hierarchy(binding); in net_shaper_hierarchy_setup() local 337 if (hierarchy) in net_shaper_hierarchy_setup() 338 return hierarchy; in net_shaper_hierarchy_setup() 363 struct net_shaper_hierarchy *hierarchy = net_shaper_hierarchy(binding); net_shaper_pre_insert() local 427 struct net_shaper_hierarchy *hierarchy = net_shaper_hierarchy(binding); net_shaper_commit() local 451 struct net_shaper_hierarchy *hierarchy = net_shaper_hierarchy(binding); net_shaper_rollback() local 862 struct net_shaper_hierarchy *hierarchy; net_shaper_nl_get_dumpit() local 894 struct net_shaper_hierarchy *hierarchy; net_shaper_nl_set_doit() local 942 struct net_shaper_hierarchy *hierarchy = net_shaper_hierarchy(binding); __net_shaper_delete() local 1153 struct net_shaper_hierarchy *hierarchy = net_shaper_hierarchy(binding); net_shaper_pre_del_node() local 1208 struct net_shaper_hierarchy *hierarchy; net_shaper_nl_delete_doit() local 1271 struct net_shaper_hierarchy *hierarchy; net_shaper_nl_group_doit() local 1468 struct net_shaper_hierarchy *hierarchy = net_shaper_hierarchy(binding); net_shaper_flush() local 1498 struct net_shaper_hierarchy *hierarchy; net_shaper_set_real_num_tx_queues() local [all...] |
| /linux/drivers/powercap/ |
| H A D | dtpm.c | 330 * dtpm_unregister - Unregister a dtpm node from the hierarchy tree 344 * dtpm_register - Register a dtpm node in the hierarchy tree 350 * is the root node of the hierarchy. If the root node already exists, 415 static struct dtpm *dtpm_setup_virtual(const struct dtpm_node *hierarchy, in dtpm_setup_virtual() argument 426 ret = dtpm_register(hierarchy->name, dtpm, parent); in dtpm_setup_virtual() 429 hierarchy->name, ret); in dtpm_setup_virtual() 437 static struct dtpm *dtpm_setup_dt(const struct dtpm_node *hierarchy, in dtpm_setup_dt() argument 443 np = of_find_node_by_path(hierarchy->name); in dtpm_setup_dt() 445 pr_err("Failed to find '%s'\n", hierarchy->name); in dtpm_setup_dt() 478 static int dtpm_for_each_child(const struct dtpm_node *hierarchy, in dtpm_for_each_child() argument [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H 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() 139 tune_args.hierarchy = HIER_UNKNOWN; in as102_fe_set_frontend() 149 * Detect a hierarchy selection in as102_fe_set_frontend() 152 if ((tune_args.hierarchy != HIER_NONE) && in as102_fe_set_frontend() 169 tune_args.hierarchy, in as102_fe_set_frontend() 209 /* extract hierarchy */ in as102_fe_get_frontend() [all …]
|
| H A D | as102_fe_types.h | 19 /* hierarchy priority selection values */ 30 /* hierarchy available values */ 101 uint8_t hierarchy; member 117 /* hierarchy selection */ 121 /* hierarchy */ 122 uint8_t hierarchy; member
|
| H A D | dib3000mb.c | 224 switch (c->hierarchy) { in dib3000mb_set_frontend() 226 deb_setf("hierarchy: none\n"); in dib3000mb_set_frontend() 229 deb_setf("hierarchy: alpha=1\n"); in dib3000mb_set_frontend() 233 deb_setf("hierarchy: alpha=2\n"); in dib3000mb_set_frontend() 237 deb_setf("hierarchy: alpha=4\n"); in dib3000mb_set_frontend() 241 deb_setf("hierarchy: alpha=auto\n"); 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() [all …]
|
| H 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() 335 printk("Unexpected value for hierarchy\n"); in get_frontend()
|
| H A D | stv0367_priv.h | 106 FE_TER_HIER_NONE, /*Hierarchy None*/ 107 FE_TER_HIER_LOW_PRIO, /*Hierarchy : Low Priority*/ 108 FE_TER_HIER_HIGH_PRIO, /*Hierarchy : High Priority*/ 109 FE_TER_HIER_PRIO_ANY /*Hierarchy :Any*/
|
| H 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()
|
| H 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()
|
| /linux/tools/perf/tests/shell/ |
| H A D | perf-report-hierarchy.sh | 2 # perf report --hierarchy 31 echo "perf report --hierarchy" 33 perf_data="${temp_dir}/perf-report-hierarchy-perf.data" 35 perf report --hierarchy -i "${perf_data}" > /dev/null 36 echo "perf report --hierarchy test [Success]"
|
| /linux/include/linux/ |
| H A D | cgroup-defs.h | 145 __CFTYPE_ONLY_ON_DFL = (1 << 16), /* only on default hierarchy */ 146 __CFTYPE_NOT_ON_DFL = (1 << 17), /* not on default hierarchy */ 326 * On the default hierarchy, ->subsys[ssid] may point to a css 388 * hierarchy on reads. 494 * step down the hierarchy increments the level. This along with 496 * descendant of another without traversing the hierarchy. 573 * On the default hierarchy, a css_set for a cgroup with some 654 * A cgroup_root represents the root of a cgroup hierarchy, and may be 655 * associated with a kernfs_root to form an active hierarchy. This is 661 /* The bitmask of subsystems attached to this hierarchy */ [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | rl.c | 37 bool mlx5_qos_tsar_type_supported(struct mlx5_core_dev *dev, int type, u8 hierarchy) in mlx5_qos_tsar_type_supported() argument 41 switch (hierarchy) { in mlx5_qos_tsar_type_supported() 66 bool mlx5_qos_element_type_supported(struct mlx5_core_dev *dev, int type, u8 hierarchy) in mlx5_qos_element_type_supported() argument 70 switch (hierarchy) { in mlx5_qos_element_type_supported() 100 int mlx5_create_scheduling_element_cmd(struct mlx5_core_dev *dev, u8 hierarchy, in mlx5_create_scheduling_element_cmd() argument 113 hierarchy); in mlx5_create_scheduling_element_cmd() 125 int mlx5_modify_scheduling_element_cmd(struct mlx5_core_dev *dev, u8 hierarchy, in mlx5_modify_scheduling_element_cmd() argument 141 hierarchy); in mlx5_modify_scheduling_element_cmd() 147 int mlx5_destroy_scheduling_element_cmd(struct mlx5_core_dev *dev, u8 hierarchy, in mlx5_destroy_scheduling_element_cmd() argument 157 hierarchy); in mlx5_destroy_scheduling_element_cmd()
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| H 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). 50 Then we create a hierarchy, set limits and attach processes to it:: 69 not be able to overcome the most stringent limit in the hierarchy (in this case,
|
| H A D | devices.rst | 57 4. Hierarchy 60 device cgroups maintain hierarchy by making sure a cgroup never has more 123 4.1 Hierarchy (internal implementation) 130 to devices will be propagated down the hierarchy.
|
| /linux/Documentation/admin-guide/ |
| H A D | cgroup-v2.rst | 117 distribute system resources along the hierarchy in a controlled and 123 distributing a specific type of system resource along the hierarchy 138 sub-hierarchy of the cgroup. When a controller is enabled on a nested 140 restrictions set closer to the root in the hierarchy can not be 150 Unlike v1, cgroup v2 has only single hierarchy. The cgroup v2 151 hierarchy can be mounted with the following mount command:: 156 controllers which support v2 and are not bound to a v1 hierarchy are 157 automatically bound to the v2 hierarchy and show up at the root. 158 Controllers which are not in active use in the v2 hierarchy can be 159 bound to other hierarchies. This allows mixing v2 hierarchy with the [all …]
|
| /linux/drivers/usb/gadget/function/ |
| H A D | uvc_configfs.c | 197 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \ 221 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \ 316 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \ 408 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ in uvcg_default_processing_bm_controls_show() 477 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \ 578 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ in uvcg_default_camera_bm_controls_show() 650 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ \ 685 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ in uvcg_default_output_b_source_id_show() 716 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ in uvcg_default_output_b_source_id_store() 1195 mutex_lock(su_mutex); /* for navigating configfs hierarchy */ in uvcg_extension_allow_link() [all …]
|
| /linux/security/landlock/errata/ |
| H A D | abi-1.h | 12 * hierarchy down to its filesystem root and those from the related mount point 13 * hierarchy. This prevents access right widening through rename or link
|
| /linux/drivers/soc/rockchip/ |
| H A D | Kconfig | 26 tristate "Rockchip DTPM hierarchy" 29 Describe the hierarchy for the Dynamic Thermal Power Management tree
|
| /linux/drivers/media/usb/dvb-usb-v2/ |
| H A D | mxl111sf-demod.c | 171 enum fe_hierarchy *hierarchy) in mxl1x1sf_demod_get_tps_hierarchy() argument 175 /* bit<6:4> - 000:Non hierarchy, 001:1, 010:2, 011:4 */ in mxl1x1sf_demod_get_tps_hierarchy() 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()
|