Home
last modified time | relevance | path

Searched refs:ancestor (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-6.6/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 + "..."])
/kernel/linux/linux-5.10/net/netfilter/
H A Dxt_cgroup.c117 struct cgroup *ancestor = info->priv; in cgroup_mt_v1() local
123 if (ancestor) in cgroup_mt_v1()
124 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v1()
135 struct cgroup *ancestor = info->priv; in cgroup_mt_v2() local
141 if (ancestor) in cgroup_mt_v2()
142 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v2()
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_cgroup.c117 struct cgroup *ancestor = info->priv; in cgroup_mt_v1() local
123 if (ancestor) in cgroup_mt_v1()
124 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v1()
135 struct cgroup *ancestor = info->priv; in cgroup_mt_v2() local
141 if (ancestor) in cgroup_mt_v2()
142 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ in cgroup_mt_v2()
/kernel/linux/linux-5.10/drivers/base/power/
H A Dqos.c622 * dev_pm_qos_add_ancestor_request - Add PM QoS request for device's ancestor.
623 * @dev: Device whose ancestor to add the request for.
632 struct device *ancestor = dev->parent; in dev_pm_qos_add_ancestor_request() local
637 while (ancestor && !ancestor->power.ignore_children) in dev_pm_qos_add_ancestor_request()
638 ancestor = ancestor->parent; in dev_pm_qos_add_ancestor_request()
642 while (ancestor && !ancestor->power.set_latency_tolerance) in dev_pm_qos_add_ancestor_request()
643 ancestor in dev_pm_qos_add_ancestor_request()
[all...]
/kernel/linux/linux-6.6/drivers/base/power/
H A Dqos.c622 * dev_pm_qos_add_ancestor_request - Add PM QoS request for device's ancestor.
623 * @dev: Device whose ancestor to add the request for.
632 struct device *ancestor = dev->parent; in dev_pm_qos_add_ancestor_request() local
637 while (ancestor && !ancestor->power.ignore_children) in dev_pm_qos_add_ancestor_request()
638 ancestor = ancestor->parent; in dev_pm_qos_add_ancestor_request()
642 while (ancestor && !ancestor->power.set_latency_tolerance) in dev_pm_qos_add_ancestor_request()
643 ancestor in dev_pm_qos_add_ancestor_request()
[all...]
/kernel/linux/linux-5.10/mm/
H A Dvmpressure.c160 bool ancestor, bool signalled) in vmpressure_event()
167 if (ancestor && ev->mode == VMPRESSURE_LOCAL) in vmpressure_event()
187 bool ancestor = false; in vmpressure_work_fn() local
213 if (vmpressure_event(vmpr, level, ancestor, signalled)) in vmpressure_work_fn()
215 ancestor = true; in vmpressure_work_fn()
158 vmpressure_event(struct vmpressure *vmpr, const enum vmpressure_levels level, bool ancestor, bool signalled) vmpressure_event() argument
/kernel/linux/linux-6.6/mm/
H A Dvmpressure.c159 bool ancestor, bool signalled) in vmpressure_event()
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()
157 vmpressure_event(struct vmpressure *vmpr, const enum vmpressure_levels level, bool ancestor, bool signalled) vmpressure_event() argument
/kernel/linux/linux-5.10/kernel/
H A Dpid_namespace.c403 struct pid_namespace *ancestor, *new = to_pid_ns(ns); in pidns_install() local
420 ancestor = new; in pidns_install()
421 while (ancestor->level > active->level) in pidns_install()
422 ancestor = ancestor->parent; in pidns_install()
423 if (ancestor != active) in pidns_install()
H A Duser_namespace.c853 * will be able to write fscaps that are valid in ancestor user namespaces.
1277 * @ancestor.
1279 bool in_userns(const struct user_namespace *ancestor, in in_userns() argument
1283 for (ns = child; ns->level > ancestor->level; ns = ns->parent) in in_userns()
1285 return (ns == ancestor); in in_userns()
/kernel/linux/linux-6.6/kernel/
H A Dpid_namespace.c398 struct pid_namespace *ancestor, *new = to_pid_ns(ns); in pidns_install() local
415 ancestor = new; in pidns_install()
416 while (ancestor->level > active->level) in pidns_install()
417 ancestor = ancestor->parent; in pidns_install()
418 if (ancestor != active) in pidns_install()
/kernel/linux/linux-5.10/include/linux/
H A Dcgroup.h567 * @ancestor: possible ancestor of @cgrp
569 * Test whether @cgrp is a descendant of @ancestor. It also returns %true
570 * if @cgrp == @ancestor. This function is safe to call as long as @cgrp
571 * and @ancestor are accessible.
574 struct cgroup *ancestor) in cgroup_is_descendant()
576 if (cgrp->root != ancestor->root || cgrp->level < ancestor->level) in cgroup_is_descendant()
578 return cgrp->ancestor_ids[ancestor->level] == cgroup_id(ancestor); in cgroup_is_descendant()
573 cgroup_is_descendant(struct cgroup *cgrp, struct cgroup *ancestor) cgroup_is_descendant() argument
611 task_under_cgroup_hierarchy(struct task_struct *task, struct cgroup *ancestor) task_under_cgroup_hierarchy() argument
740 task_under_cgroup_hierarchy(struct task_struct *task, struct cgroup *ancestor) task_under_cgroup_hierarchy() argument
[all...]
H A Duser_namespace.h139 extern bool in_userns(const struct user_namespace *ancestor,
172 static inline bool in_userns(const struct user_namespace *ancestor, in in_userns() argument
/kernel/linux/linux-6.6/include/linux/
H A Dcgroup.h507 * @ancestor: possible ancestor of @cgrp
509 * Test whether @cgrp is a descendant of @ancestor. It also returns %true
510 * if @cgrp == @ancestor. This function is safe to call as long as @cgrp
511 * and @ancestor are accessible.
514 struct cgroup *ancestor) in cgroup_is_descendant()
516 if (cgrp->root != ancestor->root || cgrp->level < ancestor->level) in cgroup_is_descendant()
518 return cgrp->ancestors[ancestor->level] == ancestor; in cgroup_is_descendant()
513 cgroup_is_descendant(struct cgroup *cgrp, struct cgroup *ancestor) cgroup_is_descendant() argument
549 task_under_cgroup_hierarchy(struct task_struct *task, struct cgroup *ancestor) task_under_cgroup_hierarchy() argument
678 task_under_cgroup_hierarchy(struct task_struct *task, struct cgroup *ancestor) task_under_cgroup_hierarchy() argument
[all...]
H A Duser_namespace.h178 extern bool in_userns(const struct user_namespace *ancestor,
211 static inline bool in_userns(const struct user_namespace *ancestor, in in_userns() argument
/kernel/linux/linux-5.10/fs/overlayfs/
H A Dexport.c44 * "layer N connected" ancestor and verifying that all parents along the way are
45 * "layer N connectable". If an ancestor that is NOT "layer N connectable" is
46 * found, we need to copy up an ancestor, which is "layer N connectable", thus
47 * making that ancestor "layer N connected". For example:
58 * To avoid this problem on decode time, we need to copy up an ancestor of
59 * /a/b/c, which is "layer 2 connectable", on encode time. That ancestor is
62 * ovl_lookup_real_ancestor() will find the indexed ancestor /a/b and decoding
98 * @dentry is "connected" if all ancestors up to root or a "connected" ancestor
100 * copy up a "connectable" ancestor to make it "connected". A "connected" dentry
119 /* Find the topmost origin layer connectable ancestor o in ovl_connect_layer()
495 struct dentry *ancestor = ERR_PTR(-EIO); ovl_lookup_real_ancestor() local
[all...]
/kernel/linux/linux-6.6/fs/overlayfs/
H A Dexport.c44 * "layer N connected" ancestor and verifying that all parents along the way are
45 * "layer N connectable". If an ancestor that is NOT "layer N connectable" is
46 * found, we need to copy up an ancestor, which is "layer N connectable", thus
47 * making that ancestor "layer N connected". For example:
58 * To avoid this problem on decode time, we need to copy up an ancestor of
59 * /a/b/c, which is "layer 2 connectable", on encode time. That ancestor is
62 * ovl_lookup_real_ancestor() will find the indexed ancestor /a/b and decoding
98 * @dentry is "connected" if all ancestors up to root or a "connected" ancestor
100 * copy up a "connectable" ancestor to make it "connected". A "connected" dentry
120 /* Find the topmost origin layer connectable ancestor o in ovl_connect_layer()
513 struct dentry *ancestor = ERR_PTR(-EIO); ovl_lookup_real_ancestor() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dtest_cpu.c443 const char *ancestor; in run_cpucg_nested_weight_test() local
447 ancestor = parent; in run_cpucg_nested_weight_test()
450 ancestor = child; in run_cpucg_nested_weight_test()
453 leaf[i].cgroup = cg_name_indexed(ancestor, "cpucg_leaf", i); in run_cpucg_nested_weight_test()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_task_under_cgroup.c11 long bpf_task_under_cgroup(struct task_struct *task, struct cgroup *ancestor) __ksym;
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm_pt.c381 struct amdgpu_bo *ancestor = &vmbo->bo; in amdgpu_vm_pt_clear() local
388 if (ancestor->parent) { in amdgpu_vm_pt_clear()
390 while (ancestor->parent->parent) { in amdgpu_vm_pt_clear()
392 ancestor = ancestor->parent; in amdgpu_vm_pt_clear()
408 pt = ancestor->vm_bo; in amdgpu_vm_pt_clear()
/kernel/linux/linux-5.10/kernel/bpf/
H A Dhelpers.c359 struct cgroup *ancestor; in BPF_CALL_1() local
361 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1()
362 if (!ancestor) in BPF_CALL_1()
364 return cgroup_id(ancestor); in BPF_CALL_1()
/kernel/linux/linux-6.6/drivers/base/
H A Dproperty.c639 * fwnode_get_next_parent_dev - Find device of closest ancestor fwnode
642 * Given a firmware node (@fwnode), this function finds its closest ancestor
649 * Return: a pointer to the device of the @fwnode's closest ancestor.
713 * fwnode_is_ancestor_of - Test if @ancestor is ancestor of @child
714 * @ancestor: Firmware which is tested for being an ancestor
717 * A node is considered an ancestor of itself too.
719 * Return: true if @ancestor is an ancestor o
721 fwnode_is_ancestor_of(const struct fwnode_handle *ancestor, const struct fwnode_handle *child) fwnode_is_ancestor_of() argument
[all...]
/kernel/linux/linux-6.6/kernel/bpf/
H A Dhelpers.c423 struct cgroup *ancestor; in BPF_CALL_1() local
428 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1()
429 cgrp_id = ancestor ? cgroup_id(ancestor) : 0; in BPF_CALL_1()
2164 * bpf_cgroup_ancestor - Perform a lookup on an entry in a cgroup's ancestor
2168 * @level: The level of ancestor to look up.
2172 struct cgroup *ancestor; in bpf_cgroup_ancestor() local
2178 ancestor = cgrp->ancestors[level]; in bpf_cgroup_ancestor()
2179 if (!cgroup_tryget(ancestor)) in bpf_cgroup_ancestor()
2181 return ancestor; in bpf_cgroup_ancestor()
2210 bpf_task_under_cgroup(struct task_struct *task, struct cgroup *ancestor) bpf_task_under_cgroup() argument
[all...]
/kernel/linux/linux-6.6/drivers/hv/
H A Dvmbus_drv.c2261 struct acpi_device *ancestor; in vmbus_acpi_add() local
2287 * Some ancestor of the vmbus acpi device (Gen1 or Gen2 in vmbus_acpi_add()
2290 for (ancestor = acpi_dev_parent(device); in vmbus_acpi_add()
2291 ancestor && ancestor->handle != ACPI_ROOT_OBJECT; in vmbus_acpi_add()
2292 ancestor = acpi_dev_parent(ancestor)) { in vmbus_acpi_add()
2293 result = acpi_walk_resources(ancestor->handle, METHOD_NAME__CRS, in vmbus_acpi_add()
/kernel/linux/linux-5.10/drivers/hv/
H A Dvmbus_drv.c2349 struct acpi_device *ancestor; in vmbus_acpi_add() local
2359 * Some ancestor of the vmbus acpi device (Gen1 or Gen2 in vmbus_acpi_add()
2362 for (ancestor = device->parent; ancestor; ancestor = ancestor->parent) { in vmbus_acpi_add()
2363 result = acpi_walk_resources(ancestor->handle, METHOD_NAME__CRS, in vmbus_acpi_add()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm.c752 struct amdgpu_bo *ancestor = bo; in amdgpu_vm_clear_bo() local
758 if (ancestor->parent) { in amdgpu_vm_clear_bo()
760 while (ancestor->parent->parent) { in amdgpu_vm_clear_bo()
762 ancestor = ancestor->parent; in amdgpu_vm_clear_bo()
778 pt = container_of(ancestor->vm_bo, struct amdgpu_vm_pt, base); in amdgpu_vm_clear_bo()

Completed in 41 milliseconds

12