Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/netfilter/
Dxt_cgroup.c117 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()
/kernel/linux/linux-5.10/drivers/base/power/
Dqos.c632 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()
/kernel/linux/linux-5.10/mm/
Dvmpressure.c160 bool ancestor, bool signalled) in vmpressure_event() argument
167 if (ancestor && ev->mode == VMPRESSURE_LOCAL) in vmpressure_event()
187 bool ancestor = false; in vmpressure_work_fn() local
213 if (vmpressure_event(vmpr, level, ancestor, signalled)) in vmpressure_work_fn()
215 ancestor = true; in vmpressure_work_fn()
/kernel/linux/linux-5.10/kernel/
Dpid_namespace.c386 struct pid_namespace *ancestor, *new = to_pid_ns(ns); in pidns_install() local
403 ancestor = new; in pidns_install()
404 while (ancestor->level > active->level) in pidns_install()
405 ancestor = ancestor->parent; in pidns_install()
406 if (ancestor != active) in pidns_install()
Duser_namespace.c1279 bool in_userns(const struct user_namespace *ancestor, in in_userns() argument
1283 for (ns = child; ns->level > ancestor->level; ns = ns->parent) in in_userns()
1285 return (ns == ancestor); in in_userns()
/kernel/linux/linux-5.10/include/linux/
Dcgroup.h573 struct cgroup *ancestor) in cgroup_is_descendant() argument
575 if (cgrp->root != ancestor->root || cgrp->level < ancestor->level) in cgroup_is_descendant()
577 return cgrp->ancestor_ids[ancestor->level] == cgroup_id(ancestor); in cgroup_is_descendant()
611 struct cgroup *ancestor) in task_under_cgroup_hierarchy() argument
615 return cgroup_is_descendant(cset->dfl_cgrp, ancestor); in task_under_cgroup_hierarchy()
740 struct cgroup *ancestor) in task_under_cgroup_hierarchy() argument
Duser_namespace.h139 extern bool in_userns(const struct user_namespace *ancestor,
172 static inline bool in_userns(const struct user_namespace *ancestor, in in_userns() argument
/kernel/linux/linux-5.10/fs/overlayfs/
Dexport.c496 struct dentry *ancestor = ERR_PTR(-EIO); in ovl_lookup_real_ancestor() local
510 ancestor = ovl_lookup_real_inode(sb, next, layer); in ovl_lookup_real_ancestor()
511 if (ancestor) in ovl_lookup_real_ancestor()
515 ancestor = dget(sb->s_root); in ovl_lookup_real_ancestor()
525 ancestor = ERR_PTR(-EXDEV); in ovl_lookup_real_ancestor()
536 return ancestor; in ovl_lookup_real_ancestor()
/kernel/linux/linux-5.10/kernel/bpf/
Dhelpers.c359 struct cgroup *ancestor; in BPF_CALL_1() local
361 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1()
362 if (!ancestor) in BPF_CALL_1()
364 return cgroup_id(ancestor); in BPF_CALL_1()
/kernel/linux/linux-5.10/Documentation/filesystems/
Ddirectory-locking.rst65 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.
/kernel/linux/linux-5.10/drivers/hv/
Dvmbus_drv.c2349 struct acpi_device *ancestor; in vmbus_acpi_add() local
2362 for (ancestor = device->parent; ancestor; ancestor = ancestor->parent) { in vmbus_acpi_add()
2363 result = acpi_walk_resources(ancestor->handle, METHOD_NAME__CRS, in vmbus_acpi_add()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm.c752 struct amdgpu_bo *ancestor = bo; in amdgpu_vm_clear_bo() local
758 if (ancestor->parent) { in amdgpu_vm_clear_bo()
760 while (ancestor->parent->parent) { in amdgpu_vm_clear_bo()
762 ancestor = ancestor->parent; in amdgpu_vm_clear_bo()
778 pt = container_of(ancestor->vm_bo, struct amdgpu_vm_pt, base); in amdgpu_vm_clear_bo()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/fpga/
Dfpga-region.txt156 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. A fpga-mgr property
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/
Denumeration.rst454 configuration information to the driver of the composite ancestor device.
458 the _DSD of the device object itself or the _DSD of its ancestor in the
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dcgroup-v2.rst275 of a threaded subtree, that is, the nearest ancestor which is not
514 common ancestor of the source and destination cgroups.
531 file; however, the common ancestor of the source cgroup C10 and the
828 common ancestor of the source and destination cgroups.
857 common ancestor of the source and destination cgroups.
941 of any ancestor cgroups. If any of ancestor cgroups is frozen, the
1116 all ancestor cgroups. If there is memory.min overcommitment
1142 all ancestor cgroups. If there is memory.low overcommitment
1200 memory.oom.group values of ancestor cgroups.
1925 setting as the nearest cgroup ancestor with a non-empty
[all …]
/kernel/linux/linux-5.10/Documentation/power/
Dpm_qos_interface.rst141 Add a PM QoS request for the first direct ancestor of the given device whose
/kernel/linux/linux-5.10/include/net/
Dsock.h1328 struct cgroup *ancestor) in sk_under_cgroup_hierarchy() argument
1332 ancestor); in sk_under_cgroup_hierarchy()
/kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/
Dmemory.rst680 limit, the reclaim algorithm reclaims from the tasks in the ancestor and the
681 children of the ancestor.
928 hierarchical, pass-through, notification for all ancestor memcgs. Notification
Dcpusets.rst244 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
/kernel/linux/linux-5.10/fs/btrfs/
Dsend.c3237 u64 ancestor; in apply_dir_move() local
3273 ret = path_loop(sctx, name, pm->ino, pm->gen, &ancestor); in apply_dir_move()
3278 ASSERT(ancestor > BTRFS_FIRST_FREE_OBJECTID); in apply_dir_move()
3279 ret = add_pending_dir_move(sctx, pm->ino, pm->gen, ancestor, in apply_dir_move()
/kernel/linux/linux-5.10/net/core/
Dfilter.c4505 struct cgroup *ancestor; in __bpf_sk_ancestor_cgroup_id() local
4513 ancestor = cgroup_ancestor(cgrp, ancestor_level); in __bpf_sk_ancestor_cgroup_id()
4514 if (!ancestor) in __bpf_sk_ancestor_cgroup_id()
4517 return cgroup_id(ancestor); in __bpf_sk_ancestor_cgroup_id()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch582 * Move tasks to the nearest ancestor with execution resources,
Dinclude.patch878 struct cgroup *ancestor)
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Dpower-management.rst664 ancestor XHCI device.
/kernel/linux/linux-5.10/Documentation/x86/
Dresctrl_ui.rst199 group that is their ancestor. These are called "MON" groups in the rest