/linux-master/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-master/tools/testing/selftests/bpf/progs/ |
H A D | test_cgroup1_hierarchy.c | 19 struct cgroup *cgrp, *ancestor; local 36 /* Refuse it if its cgid or its ancestor's cgid is the target cgid */ 40 ancestor = bpf_cgroup_ancestor(cgrp, target_ancestor_level); 41 if (!ancestor) 44 if (ancestor->kn->id == target_ancestor_cgid) 46 bpf_cgroup_release(ancestor);
|
H A D | test_task_under_cgroup.c | 11 long bpf_task_under_cgroup(struct task_struct *task, struct cgroup *ancestor) __ksym;
|
/linux-master/net/netfilter/ |
H A D | xt_cgroup.c | 117 struct cgroup *ancestor = info->priv; local 123 if (ancestor) 124 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^ 135 struct cgroup *ancestor = info->priv; local 141 if (ancestor) 142 return cgroup_is_descendant(sock_cgroup_ptr(skcd), ancestor) ^
|
/linux-master/mm/ |
H A D | vmpressure.c | 159 bool ancestor, bool signalled) 166 if (ancestor && ev->mode == VMPRESSURE_LOCAL) 186 bool ancestor = false; local 212 if (vmpressure_event(vmpr, level, ancestor, signalled)) 214 ancestor = true; 157 vmpressure_event(struct vmpressure *vmpr, const enum vmpressure_levels level, bool ancestor, bool signalled) argument
|
/linux-master/kernel/ |
H A D | pid_namespace.c | 393 struct pid_namespace *ancestor, *new = to_pid_ns(ns); local 410 ancestor = new; 411 while (ancestor->level > active->level) 412 ancestor = ancestor->parent; 413 if (ancestor != active)
|
H A D | user_namespace.c | 877 * will be able to write fscaps that are valid in ancestor user namespaces. 1301 * @ancestor. 1303 bool in_userns(const struct user_namespace *ancestor, argument 1307 for (ns = child; ns->level > ancestor->level; ns = ns->parent) 1309 return (ns == ancestor);
|
/linux-master/include/linux/ |
H A D | cgroup.h | 505 * @ancestor: possible ancestor of @cgrp 507 * Test whether @cgrp is a descendant of @ancestor. It also returns %true 508 * if @cgrp == @ancestor. This function is safe to call as long as @cgrp 509 * and @ancestor are accessible. 512 struct cgroup *ancestor) 514 if (cgrp->root != ancestor->root || cgrp->level < ancestor->level) 516 return cgrp->ancestors[ancestor->level] == ancestor; 511 cgroup_is_descendant(struct cgroup *cgrp, struct cgroup *ancestor) argument 547 task_under_cgroup_hierarchy(struct task_struct *task, struct cgroup *ancestor) argument 676 task_under_cgroup_hierarchy(struct task_struct *task, struct cgroup *ancestor) argument [all...] |
H A D | user_namespace.h | 186 extern bool in_userns(const struct user_namespace *ancestor, 219 static inline bool in_userns(const struct user_namespace *ancestor, argument
|
/linux-master/drivers/base/power/ |
H A D | qos.c | 622 * 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; local 637 while (ancestor && !ancestor->power.ignore_children) 638 ancestor = ancestor->parent; 642 while (ancestor && !ancestor->power.set_latency_tolerance) 643 ancestor [all...] |
/linux-master/fs/bcachefs/ |
H A D | snapshot.h | 174 static inline bool bch2_snapshot_is_ancestor(struct bch_fs *c, u32 id, u32 ancestor) argument 176 return id == ancestor 178 : __bch2_snapshot_is_ancestor(c, id, ancestor);
|
H A D | snapshot.c | 95 static bool __bch2_snapshot_is_ancestor_early(struct snapshot_table *t, u32 id, u32 ancestor) argument 97 while (id && id < ancestor) { 101 return id == ancestor; 104 static bool bch2_snapshot_is_ancestor_early(struct bch_fs *c, u32 id, u32 ancestor) argument 107 bool ret = __bch2_snapshot_is_ancestor_early(rcu_dereference(c->snapshots), id, ancestor); 113 static inline u32 get_ancestor_below(struct snapshot_table *t, u32 id, u32 ancestor) argument 119 if (s->skip[2] <= ancestor) 121 if (s->skip[1] <= ancestor) 123 if (s->skip[0] <= ancestor) 128 static bool test_ancestor_bitmap(struct snapshot_table *t, u32 id, u32 ancestor) argument 137 __bch2_snapshot_is_ancestor(struct bch_fs *c, u32 id, u32 ancestor) argument [all...] |
H A D | fsck.c | 573 * key_visible_in_snapshot - returns true if @id is a descendent of @ancestor, 574 * and @ancestor hasn't been overwritten in @seen 579 * @ancestor: ancestor snapshot id 581 * Returns: whether key in @ancestor snapshot is visible in @id snapshot 584 u32 id, u32 ancestor) 588 EBUG_ON(id > ancestor); 590 EBUG_ON(!bch2_snapshot_is_equiv(c, ancestor)); 592 /* @ancestor should be the snapshot most recently added to @seen */ 593 EBUG_ON(ancestor ! 583 key_visible_in_snapshot(struct bch_fs *c, struct snapshots_seen *seen, u32 id, u32 ancestor) argument [all...] |
/linux-master/fs/overlayfs/ |
H A D | export.c | 39 * "layer N connected" ancestor and verifying that all parents along the way are 40 * "layer N connectable". If an ancestor that is NOT "layer N connectable" is 41 * found, we need to copy up an ancestor, which is "layer N connectable", thus 42 * making that ancestor "layer N connected". For example: 53 * To avoid this problem on decode time, we need to copy up an ancestor of 54 * /a/b/c, which is "layer 2 connectable", on encode time. That ancestor is 57 * ovl_lookup_real_ancestor() will find the indexed ancestor /a/b and decoding 93 * @dentry is "connected" if all ancestors up to root or a "connected" ancestor 95 * copy up a "connectable" ancestor to make it "connected". A "connected" dentry 115 /* Find the topmost origin layer connectable ancestor o 487 struct dentry *ancestor = ERR_PTR(-EIO); local [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm_pt.c | 365 struct amdgpu_bo *ancestor = &vmbo->bo; local 372 if (ancestor->parent) { 374 while (ancestor->parent->parent) { 376 ancestor = ancestor->parent;
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_cpu.c | 443 const char *ancestor; local 447 ancestor = parent; 450 ancestor = child; 453 leaf[i].cgroup = cg_name_indexed(ancestor, "cpucg_leaf", i);
|
/linux-master/scripts/ |
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-master/drivers/hv/ |
H A D | vmbus_drv.c | 2253 struct acpi_device *ancestor; local 2279 * Some ancestor of the vmbus acpi device (Gen1 or Gen2 2282 for (ancestor = acpi_dev_parent(device); 2283 ancestor && ancestor->handle != ACPI_ROOT_OBJECT; 2284 ancestor = acpi_dev_parent(ancestor)) { 2285 result = acpi_walk_resources(ancestor->handle, METHOD_NAME__CRS,
|
/linux-master/kernel/bpf/ |
H A D | helpers.c | 424 struct cgroup *ancestor; local 429 ancestor = cgroup_ancestor(cgrp, ancestor_level); 430 cgrp_id = ancestor ? cgroup_id(ancestor) : 0; 2194 * bpf_cgroup_ancestor - Perform a lookup on an entry in a cgroup's ancestor 2198 * @level: The level of ancestor to look up. 2202 struct cgroup *ancestor; local 2208 ancestor = cgrp->ancestors[level]; 2209 if (!cgroup_tryget(ancestor)) 2211 return ancestor; 2240 bpf_task_under_cgroup(struct task_struct *task, struct cgroup *ancestor) argument [all...] |
/linux-master/drivers/base/ |
H A D | core.c | 1923 * fwnode_is_ancestor_of - Test if @ancestor is ancestor of @child 1924 * @ancestor: Firmware which is tested for being an ancestor 1927 * A node is considered an ancestor of itself too. 1929 * Return: true if @ancestor is an ancestor of @child. Otherwise, returns false. 1931 static bool fwnode_is_ancestor_of(const struct fwnode_handle *ancestor, argument 1936 if (IS_ERR_OR_NULL(ancestor)) 1939 if (child == ancestor) [all...] |
/linux-master/lib/ |
H A D | maple_tree.c | 1054 struct maple_enode *a_enode; /* ancestor enode. */ 1055 struct maple_node *a_node; /* ancestor node. */ 3139 struct maple_enode *ancestor; local 3152 ancestor = mas_new_ma_node(mas, mast->bn); 3153 mas_set_parent(mas, mast->l->node, ancestor, mast->l->offset); 3154 mas_set_parent(mas, mast->r->node, ancestor, mast->r->offset); 3155 mte_to_node(ancestor)->parent = mas_mn(mas)->parent; 3157 mast->l->node = ancestor;
|
/linux-master/include/net/ |
H A D | sock.h | 1364 struct cgroup *ancestor) 1368 ancestor); 1363 sk_under_cgroup_hierarchy(struct sock *sk, struct cgroup *ancestor) argument
|
/linux-master/fs/btrfs/ |
H A D | send.c | 3537 u64 ancestor; local 3573 ret = path_loop(sctx, name, pm->ino, pm->gen, &ancestor); 3578 ASSERT(ancestor > BTRFS_FIRST_FREE_OBJECTID); 3579 ret = add_pending_dir_move(sctx, pm->ino, pm->gen, ancestor, 3731 * We might need to delay a directory rename even when no ancestor directory 3735 * delayed due to some ancestor with higher number that got renamed. 3885 * Check if inode ino1 is an ancestor of inode ino2 in the given root for any 3993 * ancestor (immediate or not) has to be renamed/moved first. So find if 3994 * such ancestor exists and make sure our own rename/move happens after 3995 * that ancestor i [all...] |
/linux-master/net/core/ |
H A D | filter.c | 4926 struct cgroup *ancestor; local 4934 ancestor = cgroup_ancestor(cgrp, ancestor_level); 4935 if (!ancestor) 4938 return cgroup_id(ancestor);
|