Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.12.1/tools/testing/selftests/bpf/progs/
Dtest_cgroup1_hierarchy.c19 struct cgroup *cgrp, *ancestor; in bpf_link_create_verify() local
40 ancestor = bpf_cgroup_ancestor(cgrp, target_ancestor_level); in bpf_link_create_verify()
41 if (!ancestor) in bpf_link_create_verify()
44 if (ancestor->kn->id == target_ancestor_cgid) in bpf_link_create_verify()
46 bpf_cgroup_release(ancestor); in bpf_link_create_verify()
Dtest_task_under_cgroup.c11 long bpf_task_under_cgroup(struct task_struct *task, struct cgroup *ancestor) __ksym;
/linux-6.12.1/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.12.1/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.12.1/kernel/
Dpid_namespace.c376 struct pid_namespace *ancestor, *new = to_pid_ns(ns); in pidns_install() local
393 ancestor = new; in pidns_install()
394 while (ancestor->level > active->level) in pidns_install()
395 ancestor = ancestor->parent; in pidns_install()
396 if (ancestor != active) in pidns_install()
Duser_namespace.c1302 bool in_userns(const struct user_namespace *ancestor, in in_userns() argument
1306 for (ns = child; ns->level > ancestor->level; ns = ns->parent) in in_userns()
1308 return (ns == ancestor); in in_userns()
/linux-6.12.1/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.12.1/include/linux/
Dcgroup.h512 struct cgroup *ancestor) in cgroup_is_descendant() argument
514 if (cgrp->root != ancestor->root || cgrp->level < ancestor->level) in cgroup_is_descendant()
516 return cgrp->ancestors[ancestor->level] == ancestor; in cgroup_is_descendant()
548 struct cgroup *ancestor) in task_under_cgroup_hierarchy() argument
552 return cgroup_is_descendant(cset->dfl_cgrp, ancestor); in task_under_cgroup_hierarchy()
677 struct cgroup *ancestor) in task_under_cgroup_hierarchy() argument
Duser_namespace.h189 extern bool in_userns(const struct user_namespace *ancestor,
222 static inline bool in_userns(const struct user_namespace *ancestor, in in_userns() argument
/linux-6.12.1/fs/bcachefs/
Dsnapshot.c94 static bool __bch2_snapshot_is_ancestor_early(struct snapshot_table *t, u32 id, u32 ancestor) in __bch2_snapshot_is_ancestor_early() argument
96 while (id && id < ancestor) { in __bch2_snapshot_is_ancestor_early()
100 return id == ancestor; in __bch2_snapshot_is_ancestor_early()
103 static bool bch2_snapshot_is_ancestor_early(struct bch_fs *c, u32 id, u32 ancestor) in bch2_snapshot_is_ancestor_early() argument
106 bool ret = __bch2_snapshot_is_ancestor_early(rcu_dereference(c->snapshots), id, ancestor); in bch2_snapshot_is_ancestor_early()
112 static inline u32 get_ancestor_below(struct snapshot_table *t, u32 id, u32 ancestor) in get_ancestor_below() argument
118 if (s->skip[2] <= ancestor) in get_ancestor_below()
120 if (s->skip[1] <= ancestor) in get_ancestor_below()
122 if (s->skip[0] <= ancestor) in get_ancestor_below()
127 static bool test_ancestor_bitmap(struct snapshot_table *t, u32 id, u32 ancestor) in test_ancestor_bitmap() argument
[all …]
Dsnapshot.h169 static inline bool bch2_snapshot_is_ancestor(struct bch_fs *c, u32 id, u32 ancestor) in bch2_snapshot_is_ancestor() argument
171 return id == ancestor in bch2_snapshot_is_ancestor()
173 : __bch2_snapshot_is_ancestor(c, id, ancestor); in bch2_snapshot_is_ancestor()
Dfsck.c698 u32 id, u32 ancestor) in key_visible_in_snapshot() argument
702 EBUG_ON(id > ancestor); in key_visible_in_snapshot()
705 EBUG_ON(ancestor != seen->pos.snapshot); in key_visible_in_snapshot()
706 EBUG_ON(ancestor != darray_last(seen->ids)); in key_visible_in_snapshot()
708 if (id == ancestor) in key_visible_in_snapshot()
711 if (!bch2_snapshot_is_ancestor(c, id, ancestor)) in key_visible_in_snapshot()
/linux-6.12.1/Documentation/filesystems/
Ddirectory-locking.rst56 * if the parents don't have a common ancestor, fail the operation.
58 ancestor of the other, lock the parent of source first.
95 First of all, we verify that it is *not* an ancestor of our directory
106 if two dentries have been found to have a common ancestor after taking
111 parents have a common ancestor.
133 If no directory is its own ancestor, the scheme above is deadlock-free.
210 a common ancestor, which guarantees that ancestry relationships between
218 It can't be the parents - indeed, since D1 is an ancestor of Dn,
239 Note that the check for having a common ancestor in cross-directory
243 an unrelated lookup splice a distant ancestor of source to some distant
[all …]
/linux-6.12.1/fs/overlayfs/
Dexport.c491 struct dentry *ancestor = ERR_PTR(-EIO); in ovl_lookup_real_ancestor() local
505 ancestor = ovl_lookup_real_inode(sb, next, layer); in ovl_lookup_real_ancestor()
506 if (ancestor) in ovl_lookup_real_ancestor()
510 ancestor = dget(sb->s_root); in ovl_lookup_real_ancestor()
520 ancestor = ERR_PTR(-EXDEV); in ovl_lookup_real_ancestor()
531 return ancestor; in ovl_lookup_real_ancestor()
/linux-6.12.1/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.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm_pt.c365 struct amdgpu_bo *ancestor = &vmbo->bo; in amdgpu_vm_pt_clear() local
372 if (ancestor->parent) { in amdgpu_vm_pt_clear()
374 while (ancestor->parent->parent) { in amdgpu_vm_pt_clear()
376 ancestor = ancestor->parent; in amdgpu_vm_pt_clear()
/linux-6.12.1/kernel/bpf/
Dhelpers.c425 struct cgroup *ancestor; in BPF_CALL_1() local
430 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1()
431 cgrp_id = ancestor ? cgroup_id(ancestor) : 0; in BPF_CALL_1()
2413 struct cgroup *ancestor; in bpf_cgroup_ancestor() local
2419 ancestor = cgrp->ancestors[level]; in bpf_cgroup_ancestor()
2420 if (!cgroup_tryget(ancestor)) in bpf_cgroup_ancestor()
2422 return ancestor; in bpf_cgroup_ancestor()
2452 struct cgroup *ancestor) in bpf_task_under_cgroup() argument
2457 ret = task_under_cgroup_hierarchy(task, ancestor); in bpf_task_under_cgroup()
/linux-6.12.1/scripts/
Dcheck-uapi.sh27 will use BASE_REF^1. Must be an ancestor of BASE_REF. Only headers
463 if ! git merge-base --is-ancestor "$past_ref" "$base_ref" > /dev/null 2>&1; then
/linux-6.12.1/drivers/hv/
Dvmbus_drv.c2282 struct acpi_device *ancestor; in vmbus_acpi_add() local
2311 for (ancestor = acpi_dev_parent(device); in vmbus_acpi_add()
2312 ancestor && ancestor->handle != ACPI_ROOT_OBJECT; in vmbus_acpi_add()
2313 ancestor = acpi_dev_parent(ancestor)) { in vmbus_acpi_add()
2314 result = acpi_walk_resources(ancestor->handle, METHOD_NAME__CRS, in vmbus_acpi_add()
/linux-6.12.1/Documentation/arch/arm64/
Dasymmetric-32bit.rst83 ancestor is found containing at least one 32-bit-capable CPU. The
/linux-6.12.1/drivers/base/
Dcore.c1924 static bool fwnode_is_ancestor_of(const struct fwnode_handle *ancestor, in fwnode_is_ancestor_of() argument
1929 if (IS_ERR_OR_NULL(ancestor)) in fwnode_is_ancestor_of()
1932 if (child == ancestor) in fwnode_is_ancestor_of()
1936 if (parent == ancestor) { in fwnode_is_ancestor_of()
/linux-6.12.1/Documentation/admin-guide/
Dcgroup-v2.rst322 of a threaded subtree, that is, the nearest ancestor which is not
570 common ancestor of the source and destination cgroups.
587 file; however, the common ancestor of the source cgroup C10 and the
886 common ancestor of the source and destination cgroups.
915 common ancestor of the source and destination cgroups.
1007 of any ancestor cgroups. If any of ancestor cgroups is frozen, the
1247 all ancestor cgroups. If there is memory.min overcommitment
1273 all ancestor cgroups. If there is memory.low overcommitment
1371 memory.oom.group values of ancestor cgroups.
2322 setting as the nearest cgroup ancestor with a non-empty
[all …]
/linux-6.12.1/Documentation/power/
Dpm_qos_interface.rst141 Add a PM QoS request for the first direct ancestor of the given device whose
/linux-6.12.1/lib/
Dmaple_tree.c3126 struct maple_enode *ancestor; in mas_split_final_node() local
3139 ancestor = mas_new_ma_node(mas, mast->bn); in mas_split_final_node()
3140 mas_set_parent(mas, mast->l->node, ancestor, mast->l->offset); in mas_split_final_node()
3141 mas_set_parent(mas, mast->r->node, ancestor, mast->r->offset); in mas_split_final_node()
3142 mte_to_node(ancestor)->parent = mas_mn(mas)->parent; in mas_split_final_node()
3144 mast->l->node = ancestor; in mas_split_final_node()

12