Searched refs:cgrp_id (Results 1 – 10 of 10) sorted by relevance
/linux/tools/perf/util/bpf_skel/ |
H A D | bperf_cgroup.bpf.c | 101 __u64 cgrp_id; in get_cgroup_v1_idx() local 107 cgrp_id = get_cgroup_v1_ancestor_id(cgrp, i); in get_cgroup_v1_idx() 108 elem = bpf_map_lookup_elem(&cgrp_idx, &cgrp_id); in get_cgroup_v1_idx() 127 __u64 cgrp_id = bpf_get_current_ancestor_cgroup_id(i); in get_cgroup_v2_idx() local 129 if (cgrp_id == 0) in get_cgroup_v2_idx() 133 elem = bpf_map_lookup_elem(&cgrp_idx, &cgrp_id); in get_cgroup_v2_idx()
|
H A D | off_cpu.bpf.c | 176 __u64 cgrp_id = get_cgroup_id(t); in can_record() local 178 ok = bpf_map_lookup_elem(&cgroup_filter, &cgrp_id); in can_record()
|
/linux/block/ |
H A D | blk-cgroup-fc-appid.c | 11 int blkcg_set_fc_appid(char *app_id, u64 cgrp_id, size_t app_id_len) in blkcg_set_fc_appid() argument 21 cgrp = cgroup_get_from_id(cgrp_id); in blkcg_set_fc_appid()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | iters_css_task.c | 88 u64 cgrp_id = bpf_get_current_cgroup_id(); in BPF_PROG() local 89 struct cgroup *cgrp = bpf_cgroup_from_id(cgrp_id); in BPF_PROG()
|
H A D | profiler.inc.h | 259 int cgrp_id = bpf_core_enum_value(enum cgroup_subsys_id___local, in populate_cgroup_info() local 269 if (subsys_id == cgrp_id) { in populate_cgroup_info()
|
/linux/include/linux/ |
H A D | blk-cgroup.h | 48 int blkcg_set_fc_appid(char *app_id, u64 cgrp_id, size_t app_id_len);
|
/linux/tools/perf/util/ |
H A D | cgroup.c | 624 u64 cgrp_id; in read_all_cgroups() 631 cgrp_id = __read_cgroup_id(cn->name); in read_all_cgroups() 632 __cgroup__findnew(root, cgrp_id, /*create=*/true, name); in read_all_cgroups() 622 u64 cgrp_id; read_all_cgroups() local
|
H A D | bpf_lock_contention.c | 372 u64 cgrp_id = key->lock_addr_or_cgroup; in lock_contention_get_name() local 373 struct cgroup *cgrp = __cgroup__find(&con->cgroups, cgrp_id); in lock_contention_get_name() 378 snprintf(name_buf, sizeof(name_buf), "cgroup:%" PRIu64 "", cgrp_id); in lock_contention_get_name()
|
/linux/kernel/bpf/ |
H A D | helpers.c | 406 u64 cgrp_id; in BPF_CALL_0() local 410 cgrp_id = cgroup_id(cgrp); in BPF_CALL_0() 413 return cgrp_id; in BPF_CALL_0() 426 u64 cgrp_id; in BPF_CALL_1() local 431 cgrp_id = ancestor ? cgroup_id(ancestor) : 0; in BPF_CALL_1() 434 return cgrp_id; in BPF_CALL_1()
|
/linux/drivers/nvme/host/ |
H A D | fc.c | 3826 char cgrp_id[16+1]; in fc_parse_cgrpid() local 3829 memset(cgrp_id, 0x0, sizeof(cgrp_id)); in fc_parse_cgrpid() 3832 cgrp_id[cgrpid_len] = buf[cgrpid_len]; in fc_parse_cgrpid() 3840 if (kstrtou64(cgrp_id, 16, id) < 0) in fc_parse_cgrpid() 3852 u64 cgrp_id; in fc_appid_store() local 3864 cgrpid_len = fc_parse_cgrpid(buf, &cgrp_id); in fc_appid_store() 3873 ret = blkcg_set_fc_appid(app_id, cgrp_id, sizeof(app_id)); in fc_appid_store()
|