Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/gpu/drm/ci/
Dcheck-patch.py28 ancestor = subprocess.check_output(["git", "merge-base", variable
32 ancestor = ancestor.strip() variable
35 ancestor + "..."],
41 print("\nNo commits since %s, skipping checks\n" % ancestor)
46 print("\nChecking all commits since %s...\n" % ancestor, flush=True)
51 "--git", ancestor + "..."])
/linux-6.6.21/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.6.21/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.6.21/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.6.21/kernel/
Dpid_namespace.c398 struct pid_namespace *ancestor, *new = to_pid_ns(ns); in pidns_install() local
415 ancestor = new; in pidns_install()
416 while (ancestor->level > active->level) in pidns_install()
417 ancestor = ancestor->parent; in pidns_install()
418 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.6.21/include/linux/
Dcgroup.h514 struct cgroup *ancestor) in cgroup_is_descendant() argument
516 if (cgrp->root != ancestor->root || cgrp->level < ancestor->level) in cgroup_is_descendant()
518 return cgrp->ancestors[ancestor->level] == ancestor; in cgroup_is_descendant()
550 struct cgroup *ancestor) in task_under_cgroup_hierarchy() argument
554 return cgroup_is_descendant(cset->dfl_cgrp, ancestor); in task_under_cgroup_hierarchy()
679 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.h123 bool fwnode_is_ancestor_of(const struct fwnode_handle *ancestor, const struct fwnode_handle *child);
/linux-6.6.21/fs/overlayfs/
Dexport.c513 struct dentry *ancestor = ERR_PTR(-EIO); in ovl_lookup_real_ancestor() local
527 ancestor = ovl_lookup_real_inode(sb, next, layer); in ovl_lookup_real_ancestor()
528 if (ancestor) in ovl_lookup_real_ancestor()
532 ancestor = dget(sb->s_root); in ovl_lookup_real_ancestor()
542 ancestor = ERR_PTR(-EXDEV); in ovl_lookup_real_ancestor()
553 return ancestor; in ovl_lookup_real_ancestor()
/linux-6.6.21/Documentation/filesystems/
Ddirectory-locking.rst49 * lock parents in "ancestors first" order. If one is not ancestor of
66 If no directory is its own ancestor, the scheme above is deadlock-free.
72 objects - A < B iff (A is an ancestor of B) or (B is not an ancestor
124 try to acquire lock on descendent before the lock on ancestor.
/linux-6.6.21/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.6.21/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.6.21/tools/testing/selftests/bpf/progs/
Dtest_task_under_cgroup.c11 long bpf_task_under_cgroup(struct task_struct *task, struct cgroup *ancestor) __ksym;
/linux-6.6.21/drivers/base/
Dproperty.c721 bool fwnode_is_ancestor_of(const struct fwnode_handle *ancestor, const struct fwnode_handle *child) in fwnode_is_ancestor_of() argument
725 if (IS_ERR_OR_NULL(ancestor)) in fwnode_is_ancestor_of()
728 if (child == ancestor) in fwnode_is_ancestor_of()
732 if (parent == ancestor) { in fwnode_is_ancestor_of()
/linux-6.6.21/kernel/bpf/
Dhelpers.c423 struct cgroup *ancestor; in BPF_CALL_1() local
428 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1()
429 cgrp_id = ancestor ? cgroup_id(ancestor) : 0; in BPF_CALL_1()
2172 struct cgroup *ancestor; in bpf_cgroup_ancestor() local
2178 ancestor = cgrp->ancestors[level]; in bpf_cgroup_ancestor()
2179 if (!cgroup_tryget(ancestor)) in bpf_cgroup_ancestor()
2181 return ancestor; in bpf_cgroup_ancestor()
2211 struct cgroup *ancestor) in bpf_task_under_cgroup() argument
2216 ret = task_under_cgroup_hierarchy(task, ancestor); in bpf_task_under_cgroup()
/linux-6.6.21/drivers/hv/
Dvmbus_drv.c2261 struct acpi_device *ancestor; in vmbus_acpi_add() local
2290 for (ancestor = acpi_dev_parent(device); in vmbus_acpi_add()
2291 ancestor && ancestor->handle != ACPI_ROOT_OBJECT; in vmbus_acpi_add()
2292 ancestor = acpi_dev_parent(ancestor)) { in vmbus_acpi_add()
2293 result = acpi_walk_resources(ancestor->handle, METHOD_NAME__CRS, in vmbus_acpi_add()
/linux-6.6.21/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.6.21/Documentation/arch/arm64/
Dasymmetric-32bit.rst83 ancestor is found containing at least one 32-bit-capable CPU. The
/linux-6.6.21/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
841 common ancestor of the source and destination cgroups.
870 common ancestor of the source and destination cgroups.
954 of any ancestor cgroups. If any of ancestor cgroups is frozen, the
1177 all ancestor cgroups. If there is memory.min overcommitment
1203 all ancestor cgroups. If there is memory.low overcommitment
1294 memory.oom.group values of ancestor cgroups.
2156 setting as the nearest cgroup ancestor with a non-empty
[all …]
/linux-6.6.21/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.6.21/Documentation/power/
Dpm_qos_interface.rst141 Add a PM QoS request for the first direct ancestor of the given device whose
/linux-6.6.21/lib/
Dmaple_tree.c3173 struct maple_enode *ancestor; in mas_split_final_node() local
3186 ancestor = mas_new_ma_node(mas, mast->bn); in mas_split_final_node()
3187 mas_set_parent(mas, mast->l->node, ancestor, mast->l->offset); in mas_split_final_node()
3188 mas_set_parent(mas, mast->r->node, ancestor, mast->r->offset); in mas_split_final_node()
3189 mte_to_node(ancestor)->parent = mas_mn(mas)->parent; in mas_split_final_node()
3191 mast->l->node = ancestor; in mas_split_final_node()
/linux-6.6.21/Documentation/bpf/
Dkfuncs.rst615 the ancestor of a cgroup and find a cgroup by its ID, respectively. Both
632 * ancestor can be accessed using bpf_cgroup_ancestor().
/linux-6.6.21/Documentation/admin-guide/cgroup-v1/
Dmemory.rst682 from the tasks in the ancestor and the children of the ancestor.
940 hierarchical, pass-through, notification for all ancestor memcgs. Notification

12