Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
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 …]
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()
Drunl.h16 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);
Dgk110.c99 ret = nvkm_chid_new(&nvkm_chan_event, &fifo->engine.subdev, nr, 0, nr, &fifo->cgid); in gk110_fifo_chid_ctor()
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-6.6.21/ipc/
Dcompat.c68 to->cgid = from->cgid; in to_compat_ipc64_perm()
79 SET_GID(to->cgid, from->cgid); in to_compat_ipc_perm()
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.6.21/tools/testing/selftests/bpf/progs/
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()
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()
Dcgrp_kfunc_common.h26 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
/linux-6.6.21/kernel/trace/
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
229 ssize_t cgid_len = cgid ? sizeof(cgid) : 0; in __blk_add_trace()
[all …]
/linux-6.6.21/net/netfilter/
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.6.21/arch/xtensa/include/uapi/asm/
Dipcbuf.h33 __kernel_gid32_t cgid; member
/linux-6.6.21/arch/powerpc/include/uapi/asm/
Dipcbuf.h27 __kernel_gid_t cgid; member
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvif/
Dif0021.h11 __u16 cgid; member
/linux-6.6.21/arch/sparc/include/uapi/asm/
Dipcbuf.h24 __kernel_gid32_t cgid; member
/linux-6.6.21/arch/s390/include/uapi/asm/
Dipcbuf.h23 __kernel_gid32_t cgid; member
/linux-6.6.21/arch/parisc/include/uapi/asm/
Dipcbuf.h21 __kernel_gid_t cgid; member
/linux-6.6.21/include/uapi/asm-generic/
Dipcbuf.h27 __kernel_gid32_t cgid; member
/linux-6.6.21/include/linux/
Dipc.h20 kgid_t cgid; member
/linux-6.6.21/include/uapi/linux/
Dipc.h16 __kernel_gid_t cgid; member
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dtask_under_cgroup.c27 skel->rodata->cgid = get_cgroup_id(FOO); in test_task_under_cgroup()
/linux-6.6.21/arch/powerpc/include/asm/
Dcompat.h55 __compat_gid_t cgid; member
/linux-6.6.21/tools/testing/selftests/bpf/
Dcgroup_helpers.c409 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/
Dcompat.h93 __compat_gid32_t cgid; member

12