| /linux/net/netfilter/ |
| A D | xt_cgroup.c | 117 struct cgroup *ancestor = info->priv; in cgroup_mt_v1() local 123 if (ancestor) in cgroup_mt_v1() 124 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v1() 135 struct cgroup *ancestor = info->priv; in cgroup_mt_v2() local 141 if (ancestor) in cgroup_mt_v2() 142 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v2()
|
| /linux/drivers/base/power/ |
| A D | qos.c | 632 struct device *ancestor = dev->parent; in dev_pm_qos_add_ancestor_request() local 637 while (ancestor && !ancestor->power.ignore_children) in dev_pm_qos_add_ancestor_request() 638 ancestor = ancestor->parent; in dev_pm_qos_add_ancestor_request() 642 while (ancestor && !ancestor->power.set_latency_tolerance) in dev_pm_qos_add_ancestor_request() 643 ancestor = ancestor->parent; in dev_pm_qos_add_ancestor_request() 647 ancestor = NULL; in dev_pm_qos_add_ancestor_request() 649 if (ancestor) in dev_pm_qos_add_ancestor_request() 650 ret = dev_pm_qos_add_request(ancestor, req, type, value); in dev_pm_qos_add_ancestor_request()
|
| /linux/kernel/ |
| A D | pid_namespace.c | 379 struct pid_namespace *ancestor, *new = to_pid_ns(ns); in pidns_install() local 396 ancestor = new; in pidns_install() 397 while (ancestor->level > active->level) in pidns_install() 398 ancestor = ancestor->parent; in pidns_install() 399 if (ancestor != active) in pidns_install()
|
| A D | user_namespace.c | 1283 bool in_userns(const struct user_namespace *ancestor, in in_userns() argument 1287 for (ns = child; ns->level > ancestor->level; ns = ns->parent) in in_userns() 1289 return (ns == ancestor); in in_userns()
|
| /linux/mm/ |
| A D | vmpressure.c | 159 bool ancestor, bool signalled) in vmpressure_event() argument 166 if (ancestor && ev->mode == VMPRESSURE_LOCAL) in vmpressure_event() 186 bool ancestor = false; in vmpressure_work_fn() local 212 if (vmpressure_event(vmpr, level, ancestor, signalled)) in vmpressure_work_fn() 214 ancestor = true; in vmpressure_work_fn()
|
| /linux/include/linux/ |
| A D | cgroup.h | 572 struct cgroup *ancestor) in cgroup_is_descendant() argument 574 if (cgrp->root != ancestor->root || cgrp->level < ancestor->level) in cgroup_is_descendant() 576 return cgrp->ancestor_ids[ancestor->level] == cgroup_id(ancestor); in cgroup_is_descendant() 610 struct cgroup *ancestor) in task_under_cgroup_hierarchy() argument 614 return cgroup_is_descendant(cset->dfl_cgrp, ancestor); in task_under_cgroup_hierarchy() 747 struct cgroup *ancestor) in task_under_cgroup_hierarchy() argument
|
| A D | user_namespace.h | 169 extern bool in_userns(const struct user_namespace *ancestor, 202 static inline bool in_userns(const struct user_namespace *ancestor, in in_userns() argument
|
| /linux/fs/overlayfs/ |
| A D | export.c | 498 struct dentry *ancestor = ERR_PTR(-EIO); in ovl_lookup_real_ancestor() local 512 ancestor = ovl_lookup_real_inode(sb, next, layer); in ovl_lookup_real_ancestor() 513 if (ancestor) in ovl_lookup_real_ancestor() 517 ancestor = dget(sb->s_root); in ovl_lookup_real_ancestor() 527 ancestor = ERR_PTR(-EXDEV); in ovl_lookup_real_ancestor() 538 return ancestor; in ovl_lookup_real_ancestor()
|
| /linux/Documentation/filesystems/ |
| A D | directory-locking.rst | 65 If no directory is its own ancestor, the scheme above is deadlock-free. 70 objects - A < B iff A is an ancestor of B. 121 try to acquire lock on descendent before the lock on ancestor.
|
| /linux/kernel/bpf/ |
| A D | helpers.c | 386 struct cgroup *ancestor; in BPF_CALL_1() local 391 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1() 392 cgrp_id = ancestor ? cgroup_id(ancestor) : 0; in BPF_CALL_1()
|
| /linux/drivers/hv/ |
| A D | vmbus_drv.c | 2420 struct acpi_device *ancestor; in vmbus_acpi_add() local 2433 for (ancestor = device->parent; ancestor; ancestor = ancestor->parent) { in vmbus_acpi_add() 2434 result = acpi_walk_resources(ancestor->handle, METHOD_NAME__CRS, in vmbus_acpi_add()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_vm.c | 799 struct amdgpu_bo *ancestor = &vmbo->bo; in amdgpu_vm_clear_bo() local 806 if (ancestor->parent) { in amdgpu_vm_clear_bo() 808 while (ancestor->parent->parent) { in amdgpu_vm_clear_bo() 810 ancestor = ancestor->parent; in amdgpu_vm_clear_bo() 826 pt = ancestor->vm_bo; in amdgpu_vm_clear_bo()
|
| /linux/Documentation/devicetree/bindings/fpga/ |
| A D | fpga-region.txt | 156 Manager specified by its ancestor FPGA Region. This supports both the case 160 FPGA Regions do not inherit their ancestor FPGA regions' bridges. This prevents 169 inherit this property from their ancestor regions. An fpga-mgr property
|
| /linux/Documentation/ABI/testing/ |
| A D | sysfs-bus-cxl | 82 address is bounded by the decode range of the cxl_port ancestor
|
| /linux/Documentation/admin-guide/ |
| A D | cgroup-v2.rst | 278 of a threaded subtree, that is, the nearest ancestor which is not 517 common ancestor of the source and destination cgroups. 830 common ancestor of the source and destination cgroups. 859 common ancestor of the source and destination cgroups. 943 of any ancestor cgroups. If any of ancestor cgroups is frozen, the 1143 all ancestor cgroups. If there is memory.min overcommitment 1169 all ancestor cgroups. If there is memory.low overcommitment 1227 memory.oom.group values of ancestor cgroups. 2021 setting as the nearest cgroup ancestor with a non-empty 2060 setting as the nearest cgroup ancestor with a non-empty [all …]
|
| /linux/Documentation/arm64/ |
| A D | asymmetric-32bit.rst | 83 ancestor is found containing at least one 32-bit-capable CPU. The
|
| /linux/Documentation/firmware-guide/acpi/ |
| A D | enumeration.rst | 486 configuration information to the driver of the composite ancestor device. 490 the _DSD of the device object itself or the _DSD of its ancestor in the
|
| /linux/Documentation/power/ |
| A D | pm_qos_interface.rst | 141 Add a PM QoS request for the first direct ancestor of the given device whose
|
| /linux/include/net/ |
| A D | sock.h | 1335 struct cgroup *ancestor) in sk_under_cgroup_hierarchy() argument 1339 ancestor); in sk_under_cgroup_hierarchy()
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| A D | memory.rst | 667 from the tasks in the ancestor and the children of the ancestor. 907 hierarchical, pass-through, notification for all ancestor memcgs. Notification
|
| A D | cpusets.rst | 244 a direct ancestor or descendant, may share any of the same CPUs or 670 then all the tasks in that cpuset will be moved to the nearest ancestor
|
| /linux/fs/btrfs/ |
| A D | send.c | 3215 u64 ancestor; in apply_dir_move() local 3251 ret = path_loop(sctx, name, pm->ino, pm->gen, &ancestor); in apply_dir_move() 3256 ASSERT(ancestor > BTRFS_FIRST_FREE_OBJECTID); in apply_dir_move() 3257 ret = add_pending_dir_move(sctx, pm->ino, pm->gen, ancestor, in apply_dir_move()
|
| /linux/net/core/ |
| A D | filter.c | 4486 struct cgroup *ancestor; in __bpf_sk_ancestor_cgroup_id() local 4494 ancestor = cgroup_ancestor(cgrp, ancestor_level); in __bpf_sk_ancestor_cgroup_id() 4495 if (!ancestor) in __bpf_sk_ancestor_cgroup_id() 4498 return cgroup_id(ancestor); in __bpf_sk_ancestor_cgroup_id()
|
| /linux/Documentation/driver-api/usb/ |
| A D | power-management.rst | 664 ancestor XHCI device.
|
| /linux/Documentation/x86/ |
| A D | resctrl.rst | 199 group that is their ancestor. These are called "MON" groups in the rest
|