Searched refs:MEMBER_VPTR (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/sched_ext/ |
| H A D | scx_pair.bpf.c | 290 cgq_len = MEMBER_VPTR(cgrp_q_len, [*q_idx]); in BPF_STRUCT_OPS() 444 cgq_len = MEMBER_VPTR(cgrp_q_len, [*q_idx]); in try_dispatch() 490 cgq_len = MEMBER_VPTR(cgrp_q_len, [q_idx]); in try_dispatch() 620 u64 *busy = MEMBER_VPTR(cgrp_q_idx_busy, [q_idx]); in BPF_STRUCT_OPS() 636 u64 *busy = MEMBER_VPTR(cgrp_q_idx_busy, [*q_idx]); in BPF_STRUCT_OPS()
|
| /linux/tools/sched_ext/include/scx/ |
| H A D | common.bpf.h | 258 * MEMBER_VPTR - Obtain the verified pointer to a struct or array member 274 * vptr = MEMBER_VPTR(my_array, [i][j]); 280 * be a pointer to the area. Use `MEMBER_VPTR(*ptr, .member)` instead of 281 * `MEMBER_VPTR(ptr, ->member)`. 283 #ifndef MEMBER_VPTR macro 284 #define MEMBER_VPTR(base, member) (typeof((base) member) *) \ 300 #endif /* MEMBER_VPTR */ 308 * Similar to MEMBER_VPTR() but is intended for use with arrays where the 312 * Without this version of the macro, MEMBER_VPTR() will use the compile time 972 lt = MEMBER_VPTR(lookup_tabl [all...] |