/linux/drivers/gpu/drm/ci/ |
H A D | check-patch.py | 20 # 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 D | cgroup_read_xattr.c | 121 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 D | test_cgroup1_hierarchy.c | 19 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 D | test_task_under_cgroup.c | 11 long bpf_task_under_cgroup(struct task_struct *task, struct cgroup *ancestor) __ksym;
|
/linux/Documentation/filesystems/ |
H A D | directory-locking.rst | 56 * 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 D | xt_cgroup.c | 137 struct cgroup *ancestor = info->priv; in cgroup_mt_v2() 143 if (ancestor) in cgroup_mt_v2() 144 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v2() 158 struct cgroup *ancestor = info->priv; in cgroup_mt_destroy_v2() 164 if (ancestor) 165 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ 117 struct cgroup *ancestor = info->priv; cgroup_mt_v1() local 135 struct cgroup *ancestor = info->priv; cgroup_mt_v2() local
|
/linux/scripts/ |
H A D | setlocalversion | 43 # 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 D | check-uapi.sh | 27 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 464 printf 'error - "%s" is not an ancestor of base ref "%s"\n' "$past_ref" "$base_ref"
|
/linux/tools/lib/perf/Documentation/ |
H A D | manpage-suppress-sp.xsl | 15 <xsl:if test="not(ancestor::authorblurb) and 16 not(ancestor::personblurb)">
|
/linux/tools/perf/Documentation/ |
H A D | manpage-suppress-sp.xsl | 15 <xsl:if test="not(ancestor::authorblurb) and 16 not(ancestor::personblurb)">
|
/linux/kernel/cgroup/ |
H A D | freezer.c | 41 * 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 D | vmpressure.c | 159 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/include/linux/ |
H A D | pid_namespace.h | 93 struct pid_namespace *ancestor); 131 struct pid_namespace *ancestor) in pidns_is_ancestor() argument
|
H A D | user_namespace.h | 203 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 D | cgroup-defs.h | 285 * to the matching cset of the nearest domain ancestor. The 313 * attached to an ancestor instead of the cgroup this css_set is 563 * the closest ancestor which has the subsys enabled. The 571 * domain ancestor. Inside a threaded subtree, cgroups are exempt
|
/linux/kernel/ |
H A D | pid_namespace.c | 390 struct pid_namespace *ancestor) in pidns_is_ancestor() argument 394 if (child->level < ancestor->level) in pidns_is_ancestor() 396 for (ns = child; ns->level > ancestor->level; ns = ns->parent) in pidns_is_ancestor() 398 return ns == ancestor; in pidns_is_ancestor()
|
H A D | user_namespace.c | 887 * will be able to write fscaps that are valid in ancestor user namespaces. 1311 * @ancestor. 1313 bool in_userns(const struct user_namespace *ancestor, in in_userns() argument 1317 for (ns = child; ns->level > ancestor->level; ns = ns->parent) in in_userns() 1319 return (ns == ancestor); in in_userns()
|
/linux/drivers/cpufreq/ |
H A D | spear-cpufreq.c | 72 * 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 D | mount.c | 191 * 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/Documentation/devicetree/bindings/fpga/ |
H A D | fpga-region.yaml | 163 Manager specified by its ancestor FPGA Region. This supports both the case 167 FPGA Regions do not inherit their ancestor FPGA regions' bridges. This prevents 273 inherit this property from their ancestor regions. An fpga-mgr property
|
/linux/tools/testing/selftests/cgroup/ |
H A D | test_cpuset_v1_hp.sh | 5 # CPUs will force migration of tasks out to an ancestor.
|
/linux/security/landlock/ |
H A D | task.c | 38 * Checks if the @parent domain is less or equal to (i.e. an ancestor, which in domain_scope_le() 225 * ancestor. in hook_unix_stream_connect()
|
/linux/kernel/bpf/ |
H A D | helpers.c | 431 struct cgroup *ancestor; in BPF_CALL_1() 436 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1() 437 cgrp_id = ancestor ? cgroup_id(ancestor) : 0; in BPF_CALL_1() 2518 * bpf_cgroup_ancestor - Perform a lookup on an entry in a cgroup's ancestor 2522 * @level: The level of ancestor to look up. in bpf_cgroup_ancestor() 2526 struct cgroup *ancestor; in bpf_cgroup_ancestor() 2532 ancestor = cgrp->ancestors[level]; 2533 if (!cgroup_tryget(ancestor)) 2535 return ancestor; 428 struct cgroup *ancestor; BPF_CALL_1() local 2521 struct cgroup *ancestor; bpf_cgroup_ancestor() local 2560 bpf_task_under_cgroup(struct task_struct * task,struct cgroup * ancestor) bpf_task_under_cgroup() argument [all...] |
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_ancestor.c | 106 "ancestor id at level %d", level); in check_ancestors_ids()
|
/linux/Documentation/admin-guide/ |
H A D | cgroup-v2.rst | 328 of a threaded subtree, that is, the nearest ancestor which is not 585 common ancestor of the source and destination cgroups. 602 file; however, the common ancestor of the source cgroup C10 and the 901 common ancestor of the source and destination cgroups. 930 common ancestor of the source and destination cgroups. 1015 thawing, regardless of whether by self or ancestor groups. 1040 of any ancestor cgroups. If any of ancestor cgroups is frozen, the 1320 all ancestor cgroups. If there is memory.min overcommitment 1346 all ancestor cgroups. If there is memory.low overcommitment 1471 memory.oom.group values of ancestor cgroups. [all …]
|