Home
last modified time | relevance | path

Searched refs:cgid (Results 1 – 25 of 50) sorted by relevance

12

/linux/tools/sched_ext/
H A Dscx_flatcg.bpf.c104 __u64 cgid; member
284 u64 cgid = cgrp->kn->id; in cgrp_enqueued() local
292 stash = bpf_map_lookup_elem(&cgv_node_stash, &cgid); in cgrp_enqueued()
294 scx_bpf_error("cgv_node lookup failed for cgid %llu", cgid); in cgrp_enqueued()
619 u64 cgid; in try_pick_next_cgroup() local
646 cgid = cgv_node->cgid; in try_pick_next_cgroup()
655 cgrp = bpf_cgroup_from_id(cgid); in try_pick_next_cgroup()
668 if (!scx_bpf_dsq_move_to_local(cgid)) { in try_pick_next_cgroup()
694 *cgidp = cgid; in try_pick_next_cgroup()
699 stash = bpf_map_lookup_elem(&cgv_node_stash, &cgid); in try_pick_next_cgroup()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Drunl.c38 bool cgid; in nvkm_engn_cgrp_get() local
41 id = engn->func->cxid(engn, &cgid); in nvkm_engn_cgrp_get()
45 if (!cgid) { in nvkm_engn_cgrp_get()
230 struct nvkm_chid *cgid = runl->cgid; in nvkm_runl_cgrp_get_cgid() local
234 spin_lock_irqsave(&cgid->lock, flags); in nvkm_runl_cgrp_get_cgid()
235 if (!WARN_ON(id >= cgid->nr)) { in nvkm_runl_cgrp_get_cgid()
236 cgrp = cgid->data[id]; in nvkm_runl_cgrp_get_cgid()
240 spin_unlock(&cgid->lock); in nvkm_runl_cgrp_get_cgid()
244 spin_unlock_irqrestore(&cgid->lock, flags); in nvkm_runl_cgrp_get_cgid()
330 nvkm_chid_unref(&runl->cgid); in nvkm_runl_del()
[all …]
H A Dcgrp.c180 if (runl->cgid) in nvkm_cgrp_del()
181 nvkm_chid_put(runl->cgid, cgrp->id, &cgrp->lock); in nvkm_cgrp_del()
245 if (runl->cgid) { in nvkm_cgrp_new()
246 cgrp->id = nvkm_chid_get(runl->cgid, cgrp); in nvkm_cgrp_new()
H A Drunl.h16 int (*cxid)(struct nvkm_engn *, bool *cgid);
68 struct nvkm_chid *cgid; member
116 struct nvkm_cgrp *nvkm_runl_cgrp_get_cgid(struct nvkm_runl *, int cgid, unsigned long *irqflags);
H A Dgf100.c262 gf100_engn_cxid(struct nvkm_engn *engn, bool *cgid) in gf100_engn_cxid() argument
268 *cgid = false; in gf100_engn_cxid()
622 bool cgid, cgid2; in gf100_fifo_intr_ctxsw_timeout() local
630 id = engn->func->cxid(engn, &cgid); in gf100_fifo_intr_ctxsw_timeout()
635 if (cgid2 == cgid && id2 == id) in gf100_fifo_intr_ctxsw_timeout()
/linux/ipc/
H A Dcompat.c68 to->cgid = from->cgid; in to_compat_ipc64_perm()
79 SET_GID(to->cgid, from->cgid); in to_compat_ipc_perm()
H A Dutil.c301 new->gid = new->cgid = egid; in ipc_addid()
564 else if (in_group_p(ipcp->cgid) || in_group_p(ipcp->gid)) in ipcperms()
593 out->cgid = from_kgid_munged(current_user_ns(), in->cgid); in kernel_to_ipc64_perm()
612 SET_GID(out->cgid, in->cgid); in ipc64_perm_to_ipc_perm()
/linux/tools/testing/selftests/bpf/progs/
H A Dcgroup_skb_sk_lookup_kern.c43 __u64 cgid, acgid, peer_cgid, peer_acgid; in is_allowed_peer_cg() local
55 cgid = bpf_skb_cgroup_id(skb); in is_allowed_peer_cg()
63 return cgid && cgid == peer_cgid && acgid && acgid == peer_acgid; in is_allowed_peer_cg()
H A Dtest_task_under_cgroup.c10 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
17 const volatile __u64 cgid; variable
36 cgrp = bpf_cgroup_from_id(cgid); in BPF_PROG()
H A Diters_css.c18 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
H A Dcgrp_kfunc_common.h26 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
H A Diters_task_failure.c12 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
/linux/kernel/trace/
H A Dblktrace.c70 const void *data, size_t len, u64 cgid) in trace_note() argument
78 ssize_t cgid_len = cgid ? sizeof(cgid) : 0; in trace_note()
101 t->action = action | (cgid ? __BLK_TN_CGROUP : 0); in trace_note()
106 memcpy((void *)t + sizeof(*t), &cgid, cgid_len); in trace_note()
155 u64 cgid = 0; in __blk_trace_note_message() local
176 cgid = cgroup_id(css->cgroup); in __blk_trace_note_message()
178 cgid = 1; in __blk_trace_note_message()
180 trace_note(bt, current->pid, BLK_TN_MESSAGE, buf, n, cgid); in __blk_trace_note_message()
217 int pdu_len, void *pdu_data, u64 cgid) in __blk_add_trace() argument
828 blk_add_trace_rq(struct request * rq,blk_status_t error,unsigned int nr_bytes,u32 what,u64 cgid) blk_add_trace_rq() argument
[all...]
/linux/net/netfilter/
H A Dnft_socket.c44 u64 cgid; in nft_sock_get_eval_cgroupv2() local
53 cgid = cgroup_id(cgrp); in nft_sock_get_eval_cgroupv2()
54 memcpy(dest, &cgid, sizeof(u64)); in nft_sock_get_eval_cgroupv2()
/linux/arch/xtensa/include/uapi/asm/
H A Dipcbuf.h33 __kernel_gid32_t cgid; member
/linux/arch/powerpc/include/uapi/asm/
H A Dipcbuf.h27 __kernel_gid_t cgid; member
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dif0021.h11 __u16 cgid; member
/linux/arch/s390/include/uapi/asm/
H A Dipcbuf.h23 __kernel_gid32_t cgid; member
/linux/arch/sparc/include/uapi/asm/
H A Dipcbuf.h24 __kernel_gid32_t cgid; member
/linux/arch/parisc/include/uapi/asm/
H A Dipcbuf.h21 __kernel_gid_t cgid; member
/linux/include/uapi/asm-generic/
H A Dipcbuf.h27 __kernel_gid32_t cgid; member
/linux/include/linux/
H A Dipc.h20 kgid_t cgid; member
/linux/include/uapi/linux/
H A Dipc.h16 __kernel_gid_t cgid; member
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtask_under_cgroup.c27 skel->rodata->cgid = get_cgroup_id(FOO); in test_task_under_cgroup()
/linux/arch/powerpc/include/asm/
H A Dcompat.h55 __compat_gid_t cgid; member

12