/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | runl.c | 38 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 …]
|
D | cgrp.c | 177 if (runl->cgid) in nvkm_cgrp_del() 178 nvkm_chid_put(runl->cgid, cgrp->id, &cgrp->lock); in nvkm_cgrp_del() 242 if (runl->cgid) { in nvkm_cgrp_new() 243 cgrp->id = nvkm_chid_get(runl->cgid, cgrp); in nvkm_cgrp_new()
|
D | runl.h | 16 int (*cxid)(struct nvkm_engn *, bool *cgid); 62 struct nvkm_chid *cgid; member 110 struct nvkm_cgrp *nvkm_runl_cgrp_get_cgid(struct nvkm_runl *, int cgid, unsigned long *irqflags);
|
D | gk110.c | 99 ret = nvkm_chid_new(&nvkm_chan_event, &fifo->engine.subdev, nr, 0, nr, &fifo->cgid); in gk110_fifo_chid_ctor()
|
D | gf100.c | 262 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-6.6.21/ipc/ |
D | compat.c | 68 to->cgid = from->cgid; in to_compat_ipc64_perm() 79 SET_GID(to->cgid, from->cgid); in to_compat_ipc_perm()
|
D | util.c | 301 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-6.6.21/tools/testing/selftests/bpf/progs/ |
D | cgroup_skb_sk_lookup_kern.c | 43 __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()
|
D | test_task_under_cgroup.c | 10 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()
|
D | cgrp_kfunc_common.h | 26 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
|
/linux-6.6.21/kernel/trace/ |
D | blktrace.c | 70 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 229 ssize_t cgid_len = cgid ? sizeof(cgid) : 0; in __blk_add_trace() [all …]
|
/linux-6.6.21/net/netfilter/ |
D | nft_socket.c | 43 u64 cgid; in nft_sock_get_eval_cgroupv2() local 52 cgid = cgroup_id(cgrp); in nft_sock_get_eval_cgroupv2() 53 memcpy(dest, &cgid, sizeof(u64)); in nft_sock_get_eval_cgroupv2()
|
/linux-6.6.21/arch/xtensa/include/uapi/asm/ |
D | ipcbuf.h | 33 __kernel_gid32_t cgid; member
|
/linux-6.6.21/arch/powerpc/include/uapi/asm/ |
D | ipcbuf.h | 27 __kernel_gid_t cgid; member
|
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvif/ |
D | if0021.h | 11 __u16 cgid; member
|
/linux-6.6.21/arch/sparc/include/uapi/asm/ |
D | ipcbuf.h | 24 __kernel_gid32_t cgid; member
|
/linux-6.6.21/arch/s390/include/uapi/asm/ |
D | ipcbuf.h | 23 __kernel_gid32_t cgid; member
|
/linux-6.6.21/arch/parisc/include/uapi/asm/ |
D | ipcbuf.h | 21 __kernel_gid_t cgid; member
|
/linux-6.6.21/include/uapi/asm-generic/ |
D | ipcbuf.h | 27 __kernel_gid32_t cgid; member
|
/linux-6.6.21/include/linux/ |
D | ipc.h | 20 kgid_t cgid; member
|
/linux-6.6.21/include/uapi/linux/ |
D | ipc.h | 16 __kernel_gid_t cgid; member
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | task_under_cgroup.c | 27 skel->rodata->cgid = get_cgroup_id(FOO); in test_task_under_cgroup()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | compat.h | 55 __compat_gid_t cgid; member
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | cgroup_helpers.c | 409 unsigned long long cgid; in get_cgroup_id() member 446 ret = id.cgid; in get_cgroup_id()
|
/linux-6.6.21/arch/sparc/include/asm/ |
D | compat.h | 93 __compat_gid32_t cgid; member
|