Home
last modified time | relevance | path

Searched refs:ancestor (Results 1 – 14 of 14) 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.h203 extern bool in_userns(const struct user_namespace *ancestor,
236 static inline bool in_userns(const struct user_namespace *ancestor, in in_userns() argument
/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c518 const char *ancestor; in run_cpucg_nested_weight_test() local
522 ancestor = parent; in run_cpucg_nested_weight_test()
525 ancestor = child; in run_cpucg_nested_weight_test()
528 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/Documentation/dev-tools/
H A Dcheckuapi.rst27 will use BASE_REF^1. Must be an ancestor of BASE_REF. Only headers
/linux/Documentation/admin-guide/cgroup-v1/
H A Dcpusets.rst244 a direct ancestor or descendant, may share any of the same CPUs or
675 then all the tasks in that cpuset will be moved to the nearest ancestor
/linux/Documentation/driver-api/usb/
H A Dpower-management.rst664 ancestor XHCI device.