Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
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 …]
A Dcgrp.c177 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 Drunl.h15 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 Dgk110.c99 ret = nvkm_chid_new(&nvkm_chan_event, &fifo->engine.subdev, nr, 0, nr, &fifo->cgid); in gk110_fifo_chid_ctor()
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()
A Ducgrp.c120 args->v0.cgid = ucgrp->cgrp->id; in nvkm_ucgrp_new()
/linux-6.3-rc2/ipc/
A Dcompat.c68 to->cgid = from->cgid; in to_compat_ipc64_perm()
79 SET_GID(to->cgid, from->cgid); in to_compat_ipc_perm()
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-6.3-rc2/tools/testing/selftests/bpf/progs/
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()
/linux-6.3-rc2/kernel/trace/
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()
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 Dnft_socket.c43 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 Dipcbuf.h33 __kernel_gid32_t cgid; member
/linux-6.3-rc2/arch/powerpc/include/uapi/asm/
A Dipcbuf.h27 __kernel_gid_t cgid; member
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvif/
A Dif0021.h11 __u16 cgid; member
/linux-6.3-rc2/arch/sparc/include/uapi/asm/
A Dipcbuf.h24 __kernel_gid32_t cgid; member
/linux-6.3-rc2/arch/s390/include/uapi/asm/
A Dipcbuf.h23 __kernel_gid32_t cgid; member
/linux-6.3-rc2/arch/parisc/include/uapi/asm/
A Dipcbuf.h21 __kernel_gid_t cgid; member
/linux-6.3-rc2/include/uapi/asm-generic/
A Dipcbuf.h27 __kernel_gid32_t cgid; member
/linux-6.3-rc2/include/linux/
A Dipc.h20 kgid_t cgid; member
/linux-6.3-rc2/include/uapi/linux/
A Dipc.h16 __kernel_gid_t cgid; member
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dcompat.h55 __compat_gid_t cgid; member
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dcgroup_helpers.c397 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 Dcompat.h93 __compat_gid32_t cgid; member
/linux-6.3-rc2/arch/parisc/include/asm/
A Dcompat.h70 __compat_gid_t cgid; member
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/engine/
A Dfifo.h51 struct nvkm_chid *cgid; member

Completed in 38 milliseconds

12