| /linux/drivers/gpu/drm/ci/ |
| H A D | check-patch.py | 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/net/netfilter/ |
| H A D | xt_cgroup.c | 143 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 D | qos.c | 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/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/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/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_vm_pt.c | 367 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/include/linux/ |
| 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
|
| /linux/tools/testing/selftests/cgroup/ |
| H A D | test_cpu.c | 518 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 D | check-uapi.sh | 27 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/drivers/hv/ |
| H A D | vmbus_drv.c | 2565 struct acpi_device *ancestor; in vmbus_acpi_add() local 2594 for (ancestor = acpi_dev_parent(device); in vmbus_acpi_add() 2595 ancestor && ancestor->handle != ACPI_ROOT_OBJECT; in vmbus_acpi_add() 2596 ancestor = acpi_dev_parent(ancestor)) { in vmbus_acpi_add() 2597 result = acpi_walk_resources(ancestor->handle, METHOD_NAME__CRS, in vmbus_acpi_add()
|
| /linux/kernel/ |
| H A D | user_namespace.c | 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/Documentation/admin-guide/ |
| H A D | cgroup-v2.rst | 329 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 1318 ancestor cgroups. If there is memory.min overcommitment 1341 ancestor cgroups. If there is memory.low overcommitment 1466 memory.oom.group values of ancestor cgroups. [all …]
|
| /linux/drivers/base/ |
| H A D | core.c | 1921 static bool fwnode_is_ancestor_of(const struct fwnode_handle *ancestor, in fwnode_is_ancestor_of() argument 1926 if (IS_ERR_OR_NULL(ancestor)) in fwnode_is_ancestor_of() 1929 if (child == ancestor) in fwnode_is_ancestor_of() 1933 if (parent == ancestor) { in fwnode_is_ancestor_of()
|
| /linux/include/net/ |
| H A D | sock.h | 1440 struct cgroup *ancestor) in sk_under_cgroup_hierarchy() argument 1444 ancestor); in sk_under_cgroup_hierarchy()
|
| /linux/Documentation/dev-tools/ |
| H A D | checkuapi.rst | 27 will use BASE_REF^1. Must be an ancestor of BASE_REF. Only headers
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| H A D | cpusets.rst | 244 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/kernel/sched/ |
| H A D | ext.c | 311 static bool scx_is_descendant(struct scx_sched *sch, struct scx_sched *ancestor) in scx_is_descendant() argument 313 if (sch->level < ancestor->level) in scx_is_descendant() 315 return sch->ancestors[ancestor->level] == ancestor; in scx_is_descendant()
|
| /linux/net/core/ |
| H A D | filter.c | 5036 struct cgroup *ancestor; in __bpf_sk_ancestor_cgroup_id() local 5044 ancestor = cgroup_ancestor(cgrp, ancestor_level); in __bpf_sk_ancestor_cgroup_id() 5045 if (!ancestor) in __bpf_sk_ancestor_cgroup_id() 5048 return cgroup_id(ancestor); in __bpf_sk_ancestor_cgroup_id()
|
| /linux/Documentation/driver-api/usb/ |
| H A D | power-management.rst | 664 ancestor XHCI device.
|