Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/mm/
Dvmpressure.c159 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-6.1.9/kernel/
Dpid_namespace.c379 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()
Duser_namespace.c1300 bool in_userns(const struct user_namespace *ancestor, in in_userns() argument
1304 for (ns = child; ns->level > ancestor->level; ns = ns->parent) in in_userns()
1306 return (ns == ancestor); in in_userns()
/linux-6.1.9/include/linux/
Dcgroup.h587 struct cgroup *ancestor) in cgroup_is_descendant() argument
589 if (cgrp->root != ancestor->root || cgrp->level < ancestor->level) in cgroup_is_descendant()
591 return cgrp->ancestors[ancestor->level] == ancestor; in cgroup_is_descendant()
623 struct cgroup *ancestor) in task_under_cgroup_hierarchy() argument
627 return cgroup_is_descendant(cset->dfl_cgrp, ancestor); in task_under_cgroup_hierarchy()
752 struct cgroup *ancestor) in task_under_cgroup_hierarchy() argument
Duser_namespace.h178 extern bool in_userns(const struct user_namespace *ancestor,
211 static inline bool in_userns(const struct user_namespace *ancestor, in in_userns() argument
Dproperty.h98 bool fwnode_is_ancestor_of(struct fwnode_handle *ancestor, struct fwnode_handle *child);
/linux-6.1.9/fs/overlayfs/
Dexport.c503 struct dentry *ancestor = ERR_PTR(-EIO); in ovl_lookup_real_ancestor() local
517 ancestor = ovl_lookup_real_inode(sb, next, layer); in ovl_lookup_real_ancestor()
518 if (ancestor) in ovl_lookup_real_ancestor()
522 ancestor = dget(sb->s_root); in ovl_lookup_real_ancestor()
532 ancestor = ERR_PTR(-EXDEV); in ovl_lookup_real_ancestor()
543 return ancestor; in ovl_lookup_real_ancestor()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm_pt.c381 struct amdgpu_bo *ancestor = &vmbo->bo; in amdgpu_vm_pt_clear() local
388 if (ancestor->parent) { in amdgpu_vm_pt_clear()
390 while (ancestor->parent->parent) { in amdgpu_vm_pt_clear()
392 ancestor = ancestor->parent; in amdgpu_vm_pt_clear()
408 pt = ancestor->vm_bo; in amdgpu_vm_pt_clear()
/linux-6.1.9/tools/testing/selftests/cgroup/
Dtest_cpu.c443 const char *ancestor; in run_cpucg_nested_weight_test() local
447 ancestor = parent; in run_cpucg_nested_weight_test()
450 ancestor = child; in run_cpucg_nested_weight_test()
453 leaf[i].cgroup = cg_name_indexed(ancestor, "cpucg_leaf", i); in run_cpucg_nested_weight_test()
/linux-6.1.9/drivers/base/
Dproperty.c697 bool fwnode_is_ancestor_of(struct fwnode_handle *ancestor, struct fwnode_handle *child) in fwnode_is_ancestor_of() argument
701 if (IS_ERR_OR_NULL(ancestor)) in fwnode_is_ancestor_of()
704 if (child == ancestor) in fwnode_is_ancestor_of()
708 if (parent == ancestor) { in fwnode_is_ancestor_of()
/linux-6.1.9/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.
/linux-6.1.9/kernel/bpf/
Dhelpers.c413 struct cgroup *ancestor; in BPF_CALL_1() local
418 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1()
419 cgrp_id = ancestor ? cgroup_id(ancestor) : 0; in BPF_CALL_1()
/linux-6.1.9/drivers/hv/
Dvmbus_drv.c2428 struct acpi_device *ancestor; in vmbus_acpi_add() local
2456 for (ancestor = acpi_dev_parent(device); ancestor; in vmbus_acpi_add()
2457 ancestor = acpi_dev_parent(ancestor)) { in vmbus_acpi_add()
2458 result = acpi_walk_resources(ancestor->handle, METHOD_NAME__CRS, in vmbus_acpi_add()
/linux-6.1.9/lib/
Dmaple_tree.c2428 struct maple_enode *ancestor = NULL; in mast_spanning_rebalance() local
2438 if (!ancestor && in mast_spanning_rebalance()
2440 ancestor = mast->orig_r->node; in mast_spanning_rebalance()
2446 if (!ancestor) { in mast_spanning_rebalance()
2447 ancestor = mast->orig_r->node; in mast_spanning_rebalance()
2464 if (ancestor == r_tmp.node) in mast_spanning_rebalance()
2477 } while (r_tmp.node != ancestor); in mast_spanning_rebalance()
2483 if (!ancestor) { in mast_spanning_rebalance()
2484 ancestor = mast->orig_l->node; in mast_spanning_rebalance()
2502 if (ancestor == l_tmp.node) in mast_spanning_rebalance()
[all …]
/linux-6.1.9/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. An fpga-mgr property
/linux-6.1.9/Documentation/arm64/
Dasymmetric-32bit.rst83 ancestor is found containing at least one 32-bit-capable CPU. The
/linux-6.1.9/Documentation/admin-guide/
Dcgroup-v2.rst286 of a threaded subtree, that is, the nearest ancestor which is not
525 common ancestor of the source and destination cgroups.
542 file; however, the common ancestor of the source cgroup C10 and the
838 common ancestor of the source and destination cgroups.
867 common ancestor of the source and destination cgroups.
951 of any ancestor cgroups. If any of ancestor cgroups is frozen, the
1174 all ancestor cgroups. If there is memory.min overcommitment
1200 all ancestor cgroups. If there is memory.low overcommitment
1293 memory.oom.group values of ancestor cgroups.
2136 setting as the nearest cgroup ancestor with a non-empty
[all …]
/linux-6.1.9/Documentation/firmware-guide/acpi/
Denumeration.rst526 configuration information to the driver of the composite ancestor device.
530 the _DSD of the device object itself or the _DSD of its ancestor in the
/linux-6.1.9/Documentation/power/
Dpm_qos_interface.rst141 Add a PM QoS request for the first direct ancestor of the given device whose
/linux-6.1.9/Documentation/admin-guide/cgroup-v1/
Dmemory.rst667 from the tasks in the ancestor and the children of the ancestor.
907 hierarchical, pass-through, notification for all ancestor memcgs. Notification
/linux-6.1.9/include/net/
Dsock.h1421 struct cgroup *ancestor) in sk_under_cgroup_hierarchy() argument
1425 ancestor); in sk_under_cgroup_hierarchy()
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-bus-cxl130 decode range of the cxl_port ancestor of the decoder's cxl_port,
/linux-6.1.9/fs/btrfs/
Dsend.c3271 u64 ancestor; in apply_dir_move() local
3307 ret = path_loop(sctx, name, pm->ino, pm->gen, &ancestor); in apply_dir_move()
3312 ASSERT(ancestor > BTRFS_FIRST_FREE_OBJECTID); in apply_dir_move()
3313 ret = add_pending_dir_move(sctx, pm->ino, pm->gen, ancestor, in apply_dir_move()

12