Home
last modified time | relevance | path

Searched full:ancestor (Results 1 – 25 of 88) sorted by relevance

1234

/linux/drivers/gpu/drm/ci/
H A Dcheck-patch.py20 # ancestor between the user's branch and current git master.
28 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/include/linux/
H A Dcgroup.h593 * @ancestor: possible ancestor of @cgrp
595 * Test whether @cgrp is a descendant of @ancestor. It also returns %true
596 * if @cgrp == @ancestor. This function is safe to call as long as @cgrp
597 * and @ancestor are accessible.
600 struct cgroup *ancestor) in cgroup_is_descendant() argument
602 if (cgrp->root != ancestor->root || cgrp->level < ancestor->level) in cgroup_is_descendant()
604 return cgrp->ancestors[ancestor->level] == ancestor; in cgroup_is_descendant()
608 * cgroup_ancestor - find ancestor of cgroup
609 * @cgrp: cgroup to find ancestor of
610 * @ancestor_level: level of ancestor to find starting from root
[all …]
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
H A Dpci-ide.h41 * with the immediate ancestor downstream port memory ranges (i.e. Type 1
/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/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.c623 * dev_pm_qos_add_ancestor_request - Add PM QoS request for device's ancestor.
624 * @dev: Device whose ancestor to add the request for.
633 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/scripts/
H A Dsetlocalversion43 # Is it an ancestor of HEAD, and if so, how many commits are in $tag..HEAD?
47 # $1 is 0 if and only if $tag is an ancestor of HEAD. Use
93 # annotated tag exists and is an ancestor of HEAD, use
101 # KERNELVERSION exists and is an ancestor of HEAD, use
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/tools/lib/perf/Documentation/
H A Dmanpage-suppress-sp.xsl15 <xsl:if test="not(ancestor::authorblurb) and
16 not(ancestor::personblurb)">
/linux/tools/perf/Documentation/
H A Dmanpage-suppress-sp.xsl15 <xsl:if test="not(ancestor::authorblurb) and
16 not(ancestor::personblurb)">
/linux/kernel/cgroup/
H A Dfreezer.c41 * If the new state is frozen, some freezing ancestor cgroups may change in cgroup_propagate_frozen()
44 * Otherwise, all ancestor cgroups are forced into the non-frozen state. in cgroup_propagate_frozen()
78 /* If flags is updated, update the state of ancestor cgroups. */ in cgroup_update_frozen()
315 * The state can be enforced by an ancestor cgroup: the cgroup in cgroup_freeze()
/linux/mm/
H A 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/drivers/cpufreq/
H A Dspear-cpufreq.c72 * access a source clock (clk) which might not be ancestor of cpu at present.
130 * src clock to be altered is ancestor of cpu clock. Hence we in spear_cpufreq_target()
/linux/fs/kernfs/
H A Dmount.c191 * find the next ancestor in the path down to @child, where @parent was the
192 * ancestor whose descendant we want to find.
241 * the ancestor node outside of the RCU or locked section. in kernfs_node_dentry()
/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()
H A Dtest_cpuset_v1_hp.sh5 # CPUs will force migration of tasks out to an ancestor.
/linux/Documentation/devicetree/bindings/fpga/
H A Dfpga-region.yaml159 Manager specified by its ancestor FPGA Region. This supports both the case
163 FPGA Regions do not inherit their ancestor FPGA regions' bridges. This prevents
268 inherit this property from their ancestor regions. An fpga-mgr property
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm_pt.c367 struct amdgpu_bo *ancestor = &vmbo->bo; in amdgpu_vm_pt_clear() local
375 if (ancestor->parent) { in amdgpu_vm_pt_clear()
377 while (ancestor->parent->parent) { in amdgpu_vm_pt_clear()
379 ancestor = ancestor->parent; in amdgpu_vm_pt_clear()
/linux/security/landlock/
H A Dtask.c38 * Checks if the @parent domain is less or equal to (i.e. an ancestor, which
41 * Return: True if @parent is an ancestor of or equal to @child, false in domain_scope_le()
229 * ancestor. in domain_is_scoped()
/linux/kernel/
H A Duser_namespace.c886 * will be able to write fscaps that are valid in ancestor user namespaces.
1310 * @ancestor.
1312 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/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_ancestor.c106 "ancestor id at level %d", level); in check_ancestors_ids()

1234