Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/ci/
H A 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/tools/testing/selftests/bpf/progs/
H A Dcgroup_read_xattr.c121 struct cgroup *cgrp, *ancestor; in BPF_PROG() local
127 ancestor = bpf_cgroup_ancestor(cgrp, 1); in BPF_PROG()
128 if (!ancestor) in BPF_PROG()
132 bpf_cgroup_release(ancestor); in BPF_PROG()
143 struct cgroup *cgrp, *ancestor; in BPF_PROG() local
149 ancestor = bpf_cgroup_ancestor(cgrp, 1); in BPF_PROG()
150 if (!ancestor) in BPF_PROG()
154 bpf_cgroup_release(ancestor); in BPF_PROG()
H A Dtest_cgroup1_hierarchy.c19 struct cgroup *cgrp, *ancestor; in bpf_link_create_verify() local
36 /* Refuse it if its cgid or its ancestor's cgid is the target cgid */ in bpf_link_create_verify()
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()
H A Dtest_task_under_cgroup.c11 long bpf_task_under_cgroup(struct task_struct *task, struct cgroup *ancestor) __ksym;
/linux/net/netfilter/
H A Dxt_cgroup.c143 struct cgroup *ancestor = info->priv; in cgroup_mt_v1() local
149 if (ancestor) in cgroup_mt_v1()
150 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v1()
164 struct cgroup *ancestor = info->priv; in cgroup_mt_v2() local
170 if (ancestor) in cgroup_mt_v2()
171 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v2()
/linux/drivers/base/power/
H A Dqos.c633 struct device *ancestor = dev->parent; in dev_pm_qos_add_ancestor_request() local
638 while (ancestor && !ancestor->power.ignore_children) in dev_pm_qos_add_ancestor_request()
639 ancestor = ancestor->parent; in dev_pm_qos_add_ancestor_request()
643 while (ancestor && !ancestor->power.set_latency_tolerance) in dev_pm_qos_add_ancestor_request()
644 ancestor = ancestor->parent; in dev_pm_qos_add_ancestor_request()
648 ancestor = NULL; in dev_pm_qos_add_ancestor_request()
650 if (ancestor) in dev_pm_qos_add_ancestor_request()
651 ret = dev_pm_qos_add_request(ancestor, req, type, value); in dev_pm_qos_add_ancestor_request()
/linux/Documentation/filesystems/
H A 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/include/linux/
H A Duser_namespace.h206 extern bool in_userns(const struct user_namespace *ancestor,
239 static inline bool in_userns(const struct user_namespace *ancestor, in in_userns()
236 in_userns(const struct user_namespace * ancestor,const struct user_namespace * child) in_userns() argument
/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c520 const char *ancestor; in run_cpucg_nested_weight_test() local
524 ancestor = parent; in run_cpucg_nested_weight_test()
527 ancestor = child; in run_cpucg_nested_weight_test()
530 leaf[i].cgroup = cg_name_indexed(ancestor, "cpucg_leaf", i); in run_cpucg_nested_weight_test()
/linux/scripts/
H A Dcheck-uapi.sh27 will use BASE_REF^1. Must be an ancestor of BASE_REF. Only headers
468 if ! git merge-base --is-ancestor "$past_ref" "$base_ref" > /dev/null 2>&1; then
469 printf 'error - "%s" is not an ancestor of base ref "%s"\n' "$past_ref" "$base_ref"
/linux/kernel/
H A Duser_namespace.c1312 bool in_userns(const struct user_namespace *ancestor, in in_userns() argument
1316 for (ns = child; ns->level > ancestor->level; ns = ns->parent) in in_userns()
1318 return (ns == ancestor); in in_userns()
/linux/kernel/bpf/
H A Dhelpers.c428 struct cgroup *ancestor; in BPF_CALL_1() local
433 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1()
434 cgrp_id = ancestor ? cgroup_id(ancestor) : 0; in BPF_CALL_1()
2891 struct cgroup *ancestor; in bpf_cgroup_ancestor() local
2897 ancestor = cgrp->ancestors[level]; in bpf_cgroup_ancestor()
2898 if (!cgroup_tryget(ancestor)) in bpf_cgroup_ancestor()
2900 return ancestor; in bpf_cgroup_ancestor()
2930 struct cgroup *ancestor) in bpf_task_under_cgroup() argument
2935 ret = task_under_cgroup_hierarchy(task, ancestor); in bpf_task_under_cgroup()
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst329 of a threaded subtree, that is, the nearest ancestor which is not
586 common ancestor of the source and destination cgroups.
603 file; however, the common ancestor of the source cgroup C10 and the
899 common ancestor of the source and destination cgroups.
928 common ancestor of the source and destination cgroups.
1013 thawing, regardless of whether by self or ancestor groups.
1038 of any ancestor cgroups. If any of ancestor cgroups is frozen, the
1165 limit, not including throttling inherited from ancestor cgroups.
1179 which may include throttling inherited from ancestor
1345 ancestor cgroups. If there is memory.min overcommitment
[all …]
/linux/kernel/sched/ext/
H A Dinternal.h2094 bool scx_is_descendant(struct scx_sched *sch, struct scx_sched *ancestor);
H A Dext.c298 bool scx_is_descendant(struct scx_sched *sch, struct scx_sched *ancestor) in scx_is_descendant() argument
300 if (sch->level < ancestor->level) in scx_is_descendant()
302 return sch->ancestors[ancestor->level] == ancestor; in scx_is_descendant()
/linux/Documentation/bpf/
H A Dkfuncs.rst806 the ancestor of a cgroup and find a cgroup by its ID, respectively. Both
823 * ancestor can be accessed using bpf_cgroup_ancestor().
/linux/Documentation/dev-tools/
H A Dcheckuapi.rst27 will use BASE_REF^1. Must be an ancestor of BASE_REF. Only headers
/linux/fs/btrfs/
H A Dsend.c3456 u64 ancestor; in apply_dir_move() local
3490 ret = path_loop(sctx, name, pm->ino, pm->gen, &ancestor); in apply_dir_move()
3495 ASSERT(ancestor > BTRFS_FIRST_FREE_OBJECTID); in apply_dir_move()
3496 ret = add_pending_dir_move(sctx, pm->ino, pm->gen, ancestor, in apply_dir_move()
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-cxl273 decode range of the cxl_port ancestor of the decoder's cxl_port,
/linux/net/core/
H A Dfilter.c5209 struct cgroup *ancestor; in __bpf_sk_ancestor_cgroup_id() local
5217 ancestor = cgroup_ancestor(cgrp, ancestor_level); in __bpf_sk_ancestor_cgroup_id()
5218 if (!ancestor) in __bpf_sk_ancestor_cgroup_id()
5221 return cgroup_id(ancestor); in __bpf_sk_ancestor_cgroup_id()
/linux/Documentation/driver-api/usb/
H A Dpower-management.rst664 ancestor XHCI device.