| /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/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/tools/testing/selftests/cgroup/ |
| H A D | test_cpu.c | 520 const char *ancestor; in run_cpucg_nested_weight_test() local 524 ancestor = parent; in run_cpucg_nested_weight_test() 527 ancestor = child; in run_cpucg_nested_weight_test() 530 leaf[i].cgroup = cg_name_indexed(ancestor, "cpucg_leaf", i); in run_cpucg_nested_weight_test()
|
| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo.c | 631 struct dmem_cgroup_pool_state *limit_pool, *ancestor = NULL; in ttm_bo_evict_cb() local 662 ancestor = dmem_cgroup_get_common_ancestor(bo->resource->css, in ttm_bo_evict_cb() 664 limit_pool = ancestor; in ttm_bo_evict_cb() 670 if (ancestor) in ttm_bo_evict_cb() 671 dmem_cgroup_pool_state_put(ancestor); in ttm_bo_evict_cb()
|
| /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 | 2576 struct acpi_device *ancestor; in vmbus_acpi_add() local 2602 * Some ancestor of the vmbus acpi device (Gen1 or Gen2 in vmbus_acpi_add() 2605 for (ancestor = acpi_dev_parent(device); in vmbus_acpi_add() 2606 ancestor && ancestor->handle != ACPI_ROOT_OBJECT; in vmbus_acpi_add() 2607 ancestor = acpi_dev_parent(ancestor)) { in vmbus_acpi_add() 2608 result = acpi_walk_resources(ancestor->handle, METHOD_NAME__CRS, in vmbus_acpi_add()
|
| /linux/mm/ |
| H A D | memcontrol-v1.c | 1547 bool ancestor, bool signalled) in vmpressure_event() argument 1554 if (ancestor && ev->mode == VMPRESSURE_LOCAL) in vmpressure_event() 1574 bool ancestor = false; in vmpressure_work_fn() local 1600 if (vmpressure_event(vmpr, level, ancestor, signalled)) in vmpressure_work_fn() 1602 ancestor = true; in vmpressure_work_fn()
|
| /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/kernel/bpf/ |
| H A D | helpers.c | 428 struct cgroup *ancestor; in BPF_CALL_1() local 433 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1() 434 cgrp_id = ancestor ? cgroup_id(ancestor) : 0; in BPF_CALL_1() 2891 struct cgroup *ancestor; in bpf_cgroup_ancestor() local 2897 ancestor = cgrp->ancestors[level]; in bpf_cgroup_ancestor() 2898 if (!cgroup_tryget(ancestor)) in bpf_cgroup_ancestor() 2900 return ancestor; in bpf_cgroup_ancestor() 2930 struct cgroup *ancestor) in bpf_task_under_cgroup() argument 2935 ret = task_under_cgroup_hierarchy(task, ancestor); in bpf_task_under_cgroup()
|
| /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 1165 limit, not including throttling inherited from ancestor cgroups. 1179 which may include throttling inherited from ancestor 1345 ancestor cgroups. If there is memory.min overcommitment [all …]
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| H A D | memory.rst | 690 from the tasks in the ancestor and the children of the ancestor. 852 hierarchical, pass-through, notification for all ancestor memcgs. Notification
|
| /linux/kernel/sched/ext/ |
| H A D | internal.h | 553 * by the nearest common ancestor implementing this op, so the op may be 2150 bool scx_is_descendant(struct scx_sched *sch, struct scx_sched *ancestor); 2208 * by the nearest non-bypassing ancestor, or the root scheduler if all ancestors 2209 * are bypassing. In the former case, the ancestor is not itself bypassing but 2211 * the ancestor's bypass dispatch path must be active even though its own
|
| H A D | ext.c | 294 * @ancestor: ancestor sched to test against 296 * Test whether @sch is a descendant of @ancestor. 298 bool scx_is_descendant(struct scx_sched *sch, struct scx_sched *ancestor) in scx_is_descendant() argument 300 if (sch->level < ancestor->level) in scx_is_descendant() 302 return sch->ancestors[ancestor->level] == ancestor; in scx_is_descendant() 328 * the bypass DSQs of the nearest ancestor which is not bypassing. The in bypass_enq_target_dsq() 329 * not-bypassing ancestor is responsible for scheduling all tasks from in bypass_enq_target_dsq() 3517 * nearest common ancestor whic in scx_prio_less() [all...] |
| /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/bpf/ |
| H A D | kfuncs.rst | 816 the ancestor of a cgroup and find a cgroup by its ID, respectively. Both 833 * ancestor can be accessed using bpf_cgroup_ancestor().
|
| /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/fs/btrfs/ |
| H A D | send.c | 3456 u64 ancestor; in apply_dir_move() local 3490 ret = path_loop(sctx, name, pm->ino, pm->gen, &ancestor); in apply_dir_move() 3495 ASSERT(ancestor > BTRFS_FIRST_FREE_OBJECTID); in apply_dir_move() 3496 ret = add_pending_dir_move(sctx, pm->ino, pm->gen, ancestor, in apply_dir_move()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-cxl | 273 decode range of the cxl_port ancestor of the decoder's cxl_port,
|
| /linux/net/core/ |
| H A D | filter.c | 5208 struct cgroup *ancestor; in __bpf_sk_ancestor_cgroup_id() local 5216 ancestor = cgroup_ancestor(cgrp, ancestor_level); in __bpf_sk_ancestor_cgroup_id() 5217 if (!ancestor) in __bpf_sk_ancestor_cgroup_id() 5220 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.
|