/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
A 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 …]
|
A 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()
|
A D | runl.h | 15 int (*cxid)(struct nvkm_engn *, bool *cgid); 61 struct nvkm_chid *cgid; member 104 struct nvkm_cgrp *nvkm_runl_cgrp_get_cgid(struct nvkm_runl *, int cgid, unsigned long *irqflags);
|
A D | gk110.c | 99 ret = nvkm_chid_new(&nvkm_chan_event, &fifo->engine.subdev, nr, 0, nr, &fifo->cgid); in gk110_fifo_chid_ctor()
|
A 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()
|
A D | ucgrp.c | 120 args->v0.cgid = ucgrp->cgrp->id; in nvkm_ucgrp_new()
|
/linux-6.3-rc2/ipc/ |
A 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()
|
A 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.3-rc2/tools/testing/selftests/bpf/progs/ |
A 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()
|
/linux-6.3-rc2/kernel/trace/ |
A 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() 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() 245 if (cgid) in __blk_add_trace() [all …]
|
/linux-6.3-rc2/net/netfilter/ |
A 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.3-rc2/arch/xtensa/include/uapi/asm/ |
A D | ipcbuf.h | 33 __kernel_gid32_t cgid; member
|
/linux-6.3-rc2/arch/powerpc/include/uapi/asm/ |
A D | ipcbuf.h | 27 __kernel_gid_t cgid; member
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvif/ |
A D | if0021.h | 11 __u16 cgid; member
|
/linux-6.3-rc2/arch/sparc/include/uapi/asm/ |
A D | ipcbuf.h | 24 __kernel_gid32_t cgid; member
|
/linux-6.3-rc2/arch/s390/include/uapi/asm/ |
A D | ipcbuf.h | 23 __kernel_gid32_t cgid; member
|
/linux-6.3-rc2/arch/parisc/include/uapi/asm/ |
A D | ipcbuf.h | 21 __kernel_gid_t cgid; member
|
/linux-6.3-rc2/include/uapi/asm-generic/ |
A D | ipcbuf.h | 27 __kernel_gid32_t cgid; member
|
/linux-6.3-rc2/include/linux/ |
A D | ipc.h | 20 kgid_t cgid; member
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | ipc.h | 16 __kernel_gid_t cgid; member
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | compat.h | 55 __compat_gid_t cgid; member
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | cgroup_helpers.c | 397 unsigned long long cgid; in get_cgroup_id() member 434 ret = id.cgid; in get_cgroup_id()
|
/linux-6.3-rc2/arch/sparc/include/asm/ |
A D | compat.h | 93 __compat_gid32_t cgid; member
|
/linux-6.3-rc2/arch/parisc/include/asm/ |
A D | compat.h | 70 __compat_gid_t cgid; member
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
A D | fifo.h | 51 struct nvkm_chid *cgid; member
|