Symbol: typeof
arch/alpha/include/asm/rwonce.h
26
(*(volatile typeof(__x) *)(&(x))); \
arch/alpha/include/asm/rwonce.h
28
(typeof(x))__x; \
arch/arc/kernel/unwind.c
313
BUILD_BUG_ON(offsetof(typeof(*header), fde_count)
arch/arc/kernel/unwind.c
314
% __alignof(typeof(header->fde_count)));
arch/arc/kernel/unwind.c
317
BUILD_BUG_ON(offsetof(typeof(*header), table)
arch/arc/kernel/unwind.c
318
% __alignof(typeof(*header->table)));
arch/arm/common/mcpm_entry.c
237
typedef typeof(cpu_reset) phys_reset_t;
arch/arm/include/asm/fncpy.h
61
typeof(funcp) __result; \
arch/arm/include/asm/uaccess.h
184
register typeof(*(p)) __user *__p asm("r0") = (p); \
arch/arm/include/asm/uaccess.h
219
x = (typeof(*(p))) __r2; \
arch/arm/include/asm/uaccess.h
237
register typeof(__pu_val) __r2 asm("r2") = __pu_val; \
arch/arm/mach-sunxi/mc_smp.c
649
typedef typeof(cpu_reset) phys_reset_t;
arch/arm/mm/cache-l2x0-pmu.c
345
lattr = container_of(attr, typeof(*lattr), attr);
arch/arm/mm/cache-l2x0-pmu.c
357
lattr = container_of(attr, typeof(*lattr), attr.attr);
arch/arm64/include/asm/barrier.h
132
typeof(p) __p = (p); \
arch/arm64/include/asm/barrier.h
168
typeof(p) __p = (p); \
arch/arm64/include/asm/barrier.h
193
(typeof(*p))__u.__val; \
arch/arm64/include/asm/barrier.h
198
typeof(ptr) __PTR = (ptr); \
arch/arm64/include/asm/barrier.h
206
(typeof(*ptr))VAL; \
arch/arm64/include/asm/barrier.h
211
typeof(ptr) __PTR = (ptr); \
arch/arm64/include/asm/barrier.h
219
(typeof(*ptr))VAL; \
arch/arm64/include/asm/kvm_asm.h
125
base ? (typeof(CHOOSE_NVHE_SYM(sym))*)(base + off) : NULL; \
arch/arm64/include/asm/kvm_host.h
1002
typeof(v->arch.flagset) set; \
arch/arm64/include/asm/kvm_host.h
1264
typeof(f(__VA_ARGS__)) ret; \
arch/arm64/include/asm/kvm_host.h
946
typeof(v->arch.flagset) *_fset; \
arch/arm64/include/asm/kvm_host.h
976
typeof(v->arch.flagset) *fset; \
arch/arm64/include/asm/kvm_host.h
990
typeof(v->arch.flagset) *fset; \
arch/arm64/include/asm/kvm_mmu.h
141
#define kern_hyp_va(v) ((typeof(v))(__kern_hyp_va((unsigned long)(v))))
arch/arm64/include/asm/percpu.h
165
typeof(pcp) __retval; \
arch/arm64/include/asm/percpu.h
167
__retval = (typeof(pcp))op(raw_cpu_ptr(&(pcp)), ##args); \
arch/arm64/include/asm/percpu.h
248
typedef typeof(pcp) pcp_op_T__; \
arch/arm64/include/asm/rqspinlock.h
35
typeof(ptr) __PTR = (ptr); \
arch/arm64/include/asm/rqspinlock.h
49
(typeof(*ptr))VAL; \
arch/arm64/include/asm/rqspinlock.h
55
typeof(ptr) __PTR = (ptr); \
arch/arm64/include/asm/rqspinlock.h
65
(typeof(*ptr))VAL; \
arch/arm64/include/asm/rqspinlock.h
84
(typeof(*ptr))_val; \
arch/arm64/include/asm/runtime-const.h
15
typeof(sym) __ret; \
arch/arm64/include/asm/rwonce.h
34
typeof(&(x)) __x = &(x); \
arch/arm64/include/asm/rwonce.h
61
atomic ? (typeof(*__x))__u.__val : (*(volatile typeof(*__x) *)__x);\
arch/arm64/include/asm/tlbflush.h
433
typeof(start) __flush_start = start; \
arch/arm64/include/asm/tlbflush.h
434
typeof(pages) __flush_pages = pages; \
arch/arm64/kernel/machine_kexec.c
191
typeof(cpu_soft_restart) *restart;
arch/arm64/kernel/pi/pi.h
11
#define prel64_pointer(__d) (typeof(__d))prel64_to_pointer(&__d##_prel)
arch/arm64/kvm/config.c
1536
resx = (typeof(resx)){};
arch/arm64/kvm/hyp/nvhe/gen-hyprel.c
182
typeof(lhs) _lhs = (lhs); \
arch/arm64/kvm/hyp/nvhe/gen-hyprel.c
183
typeof(rhs) _rhs = (rhs); \
arch/arm64/kvm/hyp/nvhe/setup.c
349
typeof(__pkvm_init_switch_pgd) *fn;
arch/arm64/kvm/hyp/nvhe/setup.c
372
fn = (typeof(fn))__hyp_pa(__pkvm_init_switch_pgd);
arch/arm64/kvm/hypercalls.c
259
run->hypercall = (typeof(run->hypercall)) {
arch/arm64/kvm/mmu.c
994
mmu->last_vcpu_ran = alloc_percpu(typeof(*mmu->last_vcpu_ran));
arch/arm64/kvm/nested.c
1717
resx = (typeof(resx)){};
arch/arm64/kvm/vgic/vgic-its.c
55
typeof(val) __v = (val); \
arch/arm64/kvm/vgic/vgic.c
854
*als = (typeof(*als)){};
arch/loongarch/include/asm/barrier.h
108
union { typeof(p) __val; char __c[1]; } __u = \
arch/loongarch/include/asm/barrier.h
109
{ .__val = (__force typeof(p)) (v) }; \
arch/loongarch/include/asm/barrier.h
93
typeof(*p) ___p1 = READ_ONCE(*p); \
arch/loongarch/include/asm/local.h
104
(typeof(l->a.counter) *) old, new);
arch/loongarch/include/asm/percpu.h
111
typeof(*raw_cpu_ptr(&(pcp))) __ret; \
arch/loongarch/include/asm/percpu.h
120
typeof(pcp) __retval; \
arch/loongarch/include/asm/percpu.h
122
__retval = (typeof(pcp))operation(raw_cpu_ptr(&(pcp)), \
arch/loongarch/include/asm/percpu.h
169
#define _percpu_xchg(pcp, val) ((typeof(pcp)) \
arch/loongarch/include/asm/percpu.h
84
typeof(_pcp) __pcp_ret; \
arch/loongarch/kernel/relocate.c
98
const typeof(hash) *ptr = PTR_ALIGN(area, sizeof(hash));
arch/m68k/include/asm/uaccess.h
123
(x) = (__force typeof(*(ptr)))(__force unsigned long)__gu_val; \
arch/m68k/include/asm/uaccess.h
81
typeof(*(ptr)) __pu_val = (x); \
arch/microblaze/include/asm/uaccess.h
118
(x) = (typeof(x))(typeof((x) - (x)))__x; \
arch/microblaze/include/asm/uaccess.h
188
typeof(*(ptr)) volatile __pu_val = x; \
arch/microblaze/include/asm/uaccess.h
189
typeof(*(ptr)) __user *__pu_addr = (ptr); \
arch/microblaze/include/asm/uaccess.h
96
const typeof(*(ptr)) __user *__gu_ptr = (ptr); \
arch/mips/include/asm/local.h
105
(typeof(l->a.counter) *) old, new);
arch/mips/kernel/relocate.c
197
const typeof(hash) *ptr = PTR_ALIGN(area, sizeof(hash));
arch/nios2/include/asm/uaccess.h
176
auto __pu_val = (typeof(*__pu_ptr))(x); \
arch/nios2/include/asm/uaccess.h
183
auto __pu_val = (typeof(*__pu_ptr))(x); \
arch/nios2/include/asm/uaccess.h
92
val = (typeof(val))(typeof((val) - (val)))__val; \
arch/parisc/include/asm/barrier.h
35
typeof(p) __p = (p); \
arch/parisc/include/asm/barrier.h
36
union { typeof(*p) __val; char __c[1]; } __u = \
arch/parisc/include/asm/barrier.h
37
{ .__val = (__force typeof(*p)) (v) }; \
arch/parisc/include/asm/barrier.h
66
union { typeof(*p) __val; char __c[1]; } __u; \
arch/parisc/include/asm/barrier.h
67
typeof(p) __p = (p); \
arch/powerpc/boot/ops.h
116
typeof(val) x = (val); \
arch/powerpc/boot/page.h
21
#define _ALIGN_UP(addr, size) (((addr)+((size)-1))&(~((typeof(addr))(size)-1)))
arch/powerpc/boot/page.h
22
#define _ALIGN_DOWN(addr, size) ((addr)&(~((typeof(addr))(size)-1)))
arch/powerpc/boot/stdio.c
51
(void)(((typeof((n)) *)0) == ((unsigned long long *)0)); \
arch/powerpc/boot/types.h
29
typeof(x) _x = (x); \
arch/powerpc/boot/types.h
30
typeof(y) _y = (y); \
arch/powerpc/boot/types.h
35
typeof(x) _x = (x); \
arch/powerpc/boot/types.h
36
typeof(y) _y = (y); \
arch/powerpc/include/asm/barrier.h
81
typeof(*p) ___p1 = READ_ONCE(*p); \
arch/powerpc/include/asm/delay.h
55
typeof(condition) __ret; \
arch/powerpc/include/asm/kvm_book3s_64.h
89
for ((pos) = llist_entry((node), typeof(*(pos)), list); \
arch/powerpc/include/asm/kvm_book3s_64.h
96
(pos) = llist_entry((node), typeof(*(pos)), list))
arch/powerpc/include/asm/setup.h
19
#define PTRRELOC(x) ((typeof(x)) add_reloc_offset((unsigned long)(x)))
arch/powerpc/include/asm/vas.h
48
(((v) & ~(m)) | ((((typeof(v))(val)) << MASK_LSH(m)) & (m)))
arch/powerpc/platforms/powermac/pfunc_core.c
798
list_entry(dev->functions.next, typeof(*func), link);
arch/powerpc/sysdev/fsl_pci.c
1192
dev = list_first_entry(&hose->bus->devices, typeof(*dev), bus_list);
arch/riscv/include/asm/barrier.h
63
typeof(*p) ___p1 = READ_ONCE(*p); \
arch/riscv/include/asm/barrier.h
71
typeof(ptr) __PTR = (ptr); \
arch/riscv/include/asm/barrier.h
79
(typeof(*ptr))VAL; \
arch/riscv/include/asm/bitops.h
154
typeof(x) x_ = (x); \
arch/riscv/include/asm/insn.h
458
({typeof(x) x_ = (x); \
arch/riscv/include/asm/insn.h
463
({typeof(x) x_ = (x); \
arch/riscv/include/asm/insn.h
467
({typeof(x) x_ = (x); \
arch/riscv/include/asm/insn.h
471
({typeof(x) x_ = (x); \
arch/riscv/include/asm/insn.h
475
({typeof(x) x_ = (x); \
arch/riscv/include/asm/insn.h
479
({typeof(x) x_ = (x); \
arch/riscv/include/asm/insn.h
486
({typeof(x) x_ = (x); \
arch/riscv/include/asm/insn.h
491
({typeof(x) x_ = (x); \
arch/riscv/include/asm/insn.h
498
({typeof(x) x_ = (x); \
arch/riscv/include/asm/insn.h
502
({typeof(x) x_ = (x); \
arch/riscv/include/asm/insn.h
513
({typeof(x) x_ = (x); \
arch/riscv/include/asm/insn.h
521
({typeof(x) x_ = (x); RV_X_MASK(x_, RVG_SYSTEM_CSR_OFF, RVG_SYSTEM_CSR_MASK); })
arch/riscv/include/asm/insn.h
524
({typeof(x) x_ = (x); RV_X_MASK(x_, RVFDQ_FL_FS_WIDTH_OFF, \
arch/riscv/include/asm/runtime-const.h
106
typeof(sym) __ret, __tmp; \
arch/riscv/include/asm/runtime-const.h
120
typeof(sym) __ret, __tmp; \
arch/riscv/include/asm/runtime-const.h
134
typeof(sym) __ret, __tmp; \
arch/riscv/include/asm/runtime-const.h
21
typeof(sym) __ret; \
arch/riscv/include/asm/runtime-const.h
90
typeof(sym) __ret, __tmp; \
arch/riscv/include/asm/vector.h
26
typeof(_val) _res = _val; \
arch/s390/include/asm/barrier.h
49
typeof(*p) ___p1 = READ_ONCE(*p); \
arch/s390/include/asm/fpu.h
231
typeof(state) s = (state); \
arch/s390/include/asm/fpu.h
240
typeof(state) s = (state); \
arch/s390/include/asm/percpu.h
106
typedef typeof(pcp) pcp_op_T__; \
arch/s390/include/asm/percpu.h
128
typedef typeof(pcp) pcp_op_T__; \
arch/s390/include/asm/percpu.h
147
typedef typeof(pcp) pcp_op_T__; \
arch/s390/include/asm/percpu.h
161
typeof(pcp) *ptr__; \
arch/s390/include/asm/percpu.h
162
typeof(pcp) ret__; \
arch/s390/include/asm/percpu.h
21
typedef typeof(pcp) pcp_op_T__; \
arch/s390/include/asm/percpu.h
60
typedef typeof(pcp) pcp_op_T__; \
arch/s390/include/asm/percpu.h
87
typedef typeof(pcp) pcp_op_T__; \
arch/s390/include/asm/runtime-const.h
9
typeof(sym) __ret; \
arch/s390/include/asm/rwonce.h
16
typeof(x) __x; \
arch/s390/kvm/pv.c
581
cur = list_first_entry(&kvm->arch.pv.need_cleanup, typeof(*cur), list);
arch/s390/pci/pci_bus.c
298
next = list_first_entry(&zbus_list, typeof(*curp), bus_next);
arch/sh/math-emu/math.c
56
#define MWRITE(d,a) ({if(put_user(d, (typeof (d) __user *)a)) return -EFAULT;})
arch/sh/math-emu/math.c
57
#define MREAD(d,a) ({if(get_user(d, (typeof (d) __user *)a)) return -EFAULT;})
arch/sparc/include/asm/barrier_64.h
50
typeof(*p) ___p1 = READ_ONCE(*p); \
arch/sparc/vdso/vdso2c.h
57
typeof(dyn[i].d_tag) tag = GET_BE(&dyn[i].d_tag);
arch/sparc/vdso/vdso2c.h
58
typeof(dyn[i].d_un.d_val) val = GET_BE(&dyn[i].d_un.d_val);
arch/um/drivers/cow_user.c
296
if (n < offsetof(typeof(header->v1), backing_file)) {
arch/um/drivers/virtio_uml.c
649
.header.size = offsetof(typeof(msg.payload.mem_regions), regions[1]),
arch/x86/events/intel/uncore_nhmex.c
189
#define __BITS_VALUE(x, i, n) ((typeof(x))(((x) >> ((i) * (n))) & \
arch/x86/events/intel/uncore_snbep.c
168
#define __BITS_VALUE(x, i, n) ((typeof(x))(((x) >> ((i) * (n))) & \
arch/x86/events/perf_event.h
790
typeof(&x86_pmu._field) __Fp = &x86_pmu._field; \
arch/x86/events/perf_event.h
800
typeof(&_var) __Fp = &_var; \
arch/x86/include/asm/barrier.h
37
typeof((idx)+(sz)) __idx = (idx); \
arch/x86/include/asm/barrier.h
38
typeof(__idx) __sz = (sz); \
arch/x86/include/asm/barrier.h
68
typeof(*p) ___p1 = READ_ONCE(*p); \
arch/x86/include/asm/irq_stack.h
124
static_assert(__builtin_types_compatible_p(typeof(&func), proto))
arch/x86/include/asm/irq_stack.h
127
static_assert(__builtin_types_compatible_p(typeof(arg), proto))
arch/x86/include/asm/linkage.h
151
#define SYM_PIC_ALIAS(sym) extern typeof(sym) __PASTE(__pi_, sym) __alias(sym)
arch/x86/include/asm/local.h
131
(typeof(l->a.counter) *) old, new);
arch/x86/include/asm/paravirt_types.h
510
extern typeof(func) __raw_callee_save_##func; \
arch/x86/include/asm/percpu.h
161
(typeof(_var))(unsigned long) pfo_val__; \
arch/x86/include/asm/percpu.h
183
#define __raw_cpu_read_const(pcp) ({ BUILD_BUG(); (typeof(pcp))0; })
arch/x86/include/asm/percpu.h
196
(typeof(_var))(unsigned long) pfo_val__; \
arch/x86/include/asm/percpu.h
228
(val) == (typeof(val))-1)) ? (int)(val) : 0; \
arch/x86/include/asm/percpu.h
255
(typeof(_var))(unsigned long) (paro_tmp__ + _val); \
arch/x86/include/asm/percpu.h
301
(typeof(_var))(unsigned long) pco_old__; \
arch/x86/include/asm/percpu.h
554
#define this_cpu_read_stable_8(pcp) ({ BUILD_BUG(); (typeof(pcp))0; })
arch/x86/include/asm/percpu.h
92
# define __my_cpu_type(var) typeof(var)
arch/x86/include/asm/percpu.h
98
# define __my_cpu_type(var) typeof(var) __percpu_seg_override
arch/x86/include/asm/runtime-const.h
22
typeof(sym) __ret; \
arch/x86/include/asm/runtime-const.h
36
typeof(0u+(val)) __ret = (val); \
arch/x86/include/asm/static_call.h
72
typeof(&STATIC_CALL_TRAMP(name)) __F = (_func); \
arch/x86/kernel/apic/vector.c
1084
struct vector_cleanup *cl = container_of(tmr, typeof(*cl), timer);
arch/x86/kernel/early-quirks.c
613
early_ops = (typeof(early_ops))driver_data;
arch/x86/kernel/kvm.c
108
hlist_entry(p, typeof(*n), link);
arch/x86/kernel/kvm.c
199
n = hlist_entry(p, typeof(*n), link);
arch/x86/kernel/sys_ia32.c
134
typeof(ubuf->st_uid) uid = 0;
arch/x86/kernel/sys_ia32.c
135
typeof(ubuf->st_gid) gid = 0;
arch/x86/kvm/mmu/tdp_mmu.c
138
typeof(*prev_root), link);
arch/x86/kvm/mmu/tdp_mmu.c
141
typeof(*next_root), link);
arch/x86/kvm/mmu/tdp_mmu.c
149
&next_root->link, typeof(*next_root), link);
arch/x86/kvm/trace.h
16
typeof(vcpu) __vcpu = vcpu; \
arch/x86/kvm/vmx/vmx.c
2722
typeof(entry_controls) n_ctrl = pairs[i].entry_control; \
arch/x86/kvm/vmx/vmx.c
2723
typeof(exit_controls) x_ctrl = pairs[i].exit_control; \
arch/x86/kvm/vmx/vmx_onhyperv.c
17
typeof(vmcs_conf->field) unsupported; \
arch/x86/pci/mmconfig-shared.c
338
cfgx = list_entry(cfg->list.next, typeof(*cfg), list);
arch/x86/platform/efi/quirks.c
738
quirk_handler = (typeof(quirk_handler))id->driver_data;
arch/x86/tools/vdso2c.h
96
typeof(dyn[i].d_tag) tag = GET_LE(&dyn[i].d_tag);
block/blk-ioprio.c
111
struct ioprio_blkcg *blkcg = container_of(cpd, typeof(*blkcg), cpd);
block/genhd.c
1238
struct device *dev = container_of(kobj, typeof(*dev), kobj);
crypto/asymmetric_keys/restrict.c
25
static_assert(offsetof(typeof(cakey), id.data) == offsetof(typeof(cakey), data));
drivers/accel/amdxdna/aie2_pci.h
32
typeof(ndev) _ndev = ndev; \
drivers/accel/amdxdna/aie2_pci.h
37
typeof(ndev) _ndev = ndev; \
drivers/accel/amdxdna/aie2_pci.h
44
typeof(ndev) _ndev = (ndev); \
drivers/accel/amdxdna/aie2_smu.c
27
typeof(ndev) _ndev = ndev; \
drivers/accel/amdxdna/amdxdna_mailbox.c
21
typeof(chann) _chann = chann; \
drivers/accel/amdxdna/amdxdna_mailbox.c
27
typeof(chann) _chann = chann; \
drivers/accel/amdxdna/amdxdna_mailbox.c
33
typeof(chann) _chann = chann; \
drivers/accel/amdxdna/amdxdna_pci_drv.c
265
xdna = devm_drm_dev_alloc(dev, &amdxdna_drm_drv, typeof(*xdna), ddev);
drivers/accel/habanalabs/common/command_buffer.c
200
typeof(*cb), pool_list);
drivers/accel/qaic/qaic_data.c
1949
bo = list_first_entry(&dbc->xfer_list, typeof(*bo), xfer_list);
drivers/acpi/nfit/core.c
1148
struct nfit_mem *a = container_of(_a, typeof(*a), list);
drivers/acpi/nfit/core.c
1149
struct nfit_mem *b = container_of(_b, typeof(*b), list);
drivers/acpi/nfit/core.c
2931
acpi_desc = container_of(work, typeof(*acpi_desc), dwork.work);
drivers/acpi/property.c
1165
typeof(items) __items = items; \
drivers/acpi/property.c
1166
typeof(val) __val = val; \
drivers/acpi/property.c
1167
typeof(nval) __nval = nval; \
drivers/android/binder_alloc.c
1139
struct binder_shrinker_mdata *mdata = container_of(item, typeof(*mdata), lru);
drivers/base/attribute_container.c
183
n ? container_of(n, typeof(*pos), member) : \
drivers/base/dd.c
101
typeof(*dev->p), deferred_probe);
drivers/base/platform.c
1317
struct device *dev = container_of(kobj, typeof(*dev), kobj);
drivers/base/swnode.c
58
typeof(__fwnode) __to_swnode_fwnode = __fwnode; \
drivers/block/drbd/drbd_polymorph_printk.h
52
(__builtin_types_compatible_p(typeof(obj), struct struct_name *) || \
drivers/block/drbd/drbd_polymorph_printk.h
53
__builtin_types_compatible_p(typeof(obj), const struct struct_name *))
drivers/block/rnbd/rnbd-clt.c
1744
dev = container_of(work, typeof(*dev), unmap_on_rmmod_work);
drivers/block/rnbd/rnbd-clt.c
221
typeof(*q), requeue_list);
drivers/block/xen-blkback/blkback.c
151
for ((pos) = container_of(rb_first((rbtree)), typeof(*(pos)), node), \
drivers/block/xen-blkback/blkback.c
154
(pos) = container_of(n, typeof(*(pos)), node), \
drivers/block/xen-blkback/blkback.c
296
struct xen_blkif_ring *ring = container_of(work, typeof(*ring), persistent_purge_work);
drivers/bluetooth/btintel_pcie.c
2211
typeof(*tmp), list))) {
drivers/cdrom/cdrom.c
2818
if (ret < (int)(offsetof(typeof(di), last_track_lsb)
drivers/cdrom/cdrom.c
2825
if (ti_size < (int)offsetof(typeof(ti), track_start))
drivers/cdrom/cdrom.c
2836
if (ti_size < (int)(offsetof(typeof(ti), track_size)
drivers/cdrom/cdrom.c
2841
if (ti.lra_v && ti_size >= (int)(offsetof(typeof(ti), last_rec_address)
drivers/cdrom/cdrom.c
2884
if (ret < 0 || ret < offsetof(typeof(di), last_track_lsb)
drivers/cdrom/cdrom.c
2891
if (ti_size < 0 || ti_size < offsetof(typeof(ti), track_start))
drivers/cdrom/cdrom.c
2905
if (ti.nwa_v && ti_size >= offsetof(typeof(ti), next_writable)
drivers/cdrom/cdrom.c
539
if (ret < 0 || ret < (int)offsetof(typeof(di),disc_type))
drivers/cdrom/cdrom.c
751
if (ret < 0 || ret < offsetof(typeof(di), n_first_track))
drivers/cdrom/cdrom.c
788
if (ret < 0 || ret < offsetof(typeof(di),disc_type))
drivers/char/hw_random/histb-rng.c
62
struct histb_rng_priv *priv = container_of(rng, typeof(*priv), rng);
drivers/char/tpm/tpm_tis_core.c
910
struct tpm_tis_data *priv = container_of(work, typeof(*priv), free_irq_work);
drivers/clocksource/arm_arch_timer.c
676
typeof(clk->set_next_event) sne;
drivers/counter/counter-chrdev.c
417
typeof(*counter),
drivers/counter/interrupt-cnt.c
109
if (val != (typeof(priv->count.counter))val)
drivers/crypto/caam/caamalg.c
3730
container_of(alg, typeof(*caam_alg), skcipher.base);
drivers/crypto/caam/caamalg.c
750
container_of(crypto_skcipher_alg(skcipher), typeof(*alg),
drivers/crypto/caam/caamalg_qi.c
1228
edesc = container_of(drv_req, typeof(*edesc), drv_req);
drivers/crypto/caam/caamalg_qi.c
2509
container_of(alg, typeof(*caam_alg), skcipher);
drivers/crypto/caam/caamalg_qi.c
2541
struct caam_aead_alg *caam_alg = container_of(alg, typeof(*caam_alg),
drivers/crypto/caam/caamalg_qi.c
627
container_of(crypto_skcipher_alg(skcipher), typeof(*alg),
drivers/crypto/caam/caamalg_qi.c
88
typeof(*alg), aead);
drivers/crypto/caam/caamalg_qi.c
931
edesc = container_of(drv_req, typeof(*edesc), drv_req);
drivers/crypto/caam/caamalg_qi.c
947
typeof(*alg), aead);
drivers/crypto/caam/caamalg_qi2.c
1609
container_of(alg, typeof(*caam_alg), skcipher);
drivers/crypto/caam/caamalg_qi2.c
1646
struct caam_aead_alg *caam_alg = container_of(alg, typeof(*caam_alg),
drivers/crypto/caam/caamalg_qi2.c
176
typeof(*alg), aead);
drivers/crypto/caam/caamalg_qi2.c
361
typeof(*alg), aead);
drivers/crypto/hisilicon/sec/sec_algs.c
499
typeof(*backlog_req),
drivers/crypto/hisilicon/sec/sec_drv.h
348
DECLARE_KFIFO_PTR(softqueue, typeof(struct sec_request_el *));
drivers/crypto/intel/qat/qat_common/adf_tl_debugfs.c
85
typeof(&(array)[0]) _array = (array); \
drivers/crypto/intel/qat/qat_common/adf_tl_debugfs.c
89
typeof(len) _len = (len); \
drivers/cxl/core/memdev.c
643
cxlmd = container_of(work, typeof(*cxlmd), detach_work);
drivers/cxl/core/memdev.c
732
container_of(inode->i_cdev, typeof(*cxlmd), cdev);
drivers/cxl/core/memdev.c
743
container_of(inode->i_cdev, typeof(*cxlmd), cdev);
drivers/cxl/core/region.c
1814
struct cxl_endpoint_decoder *cxled_a = *(typeof(cxled_a) *)a;
drivers/cxl/core/region.c
1815
struct cxl_endpoint_decoder *cxled_b = *(typeof(cxled_b) *)b;
drivers/cxl/pci.c
155
container_of(work, typeof(*mds), security.poll_dwork.work);
drivers/dio/dio.c
114
struct dio_dev *ddev = container_of(dev, typeof(struct dio_dev), dev);
drivers/dma-buf/dma-buf.c
903
copy = container_of(*sg_table, typeof(*copy), wrapper);
drivers/dma-buf/dma-fence-array.c
47
struct dma_fence_array *array = container_of(wrk, typeof(*array), work);
drivers/dma-buf/dma-fence-chain.c
126
chain = container_of(work, typeof(*chain), work);
drivers/dma-buf/dma-fence-chain.c
139
chain = container_of(cb, typeof(*chain), cb);
drivers/dma-buf/dma-resv.c
111
list->max_fences = (size - offsetof(typeof(*list), table)) /
drivers/dma-buf/st-dma-fence-unwrap.c
63
fences[i] = va_arg(valist, typeof(*fences));
drivers/dma-buf/st-dma-fence-unwrap.c
79
dma_fence_put(va_arg(valist, typeof(*fences)));
drivers/dma-buf/sw_sync.c
274
other = rb_entry(parent, typeof(*pt), node);
drivers/dma-buf/sw_sync.c
295
parent ? &rb_entry(parent, typeof(*pt), node)->link : &obj->pt_list);
drivers/dma/amd/qdma/qdma.c
733
vd = list_first_entry(&vc->desc_submitted, typeof(*vd), node);
drivers/dma/at_hdmac.c
184
({ typeof(id) _id = (id); \
drivers/dma/at_hdmac.c
188
({ typeof(id) _id = (id); \
drivers/dma/dmaengine.c
1075
chan->local = alloc_percpu(typeof(*chan->local));
drivers/dma/dmaengine.c
1384
struct dmaengine_unmap_data *unmap = container_of(kref, typeof(*unmap), kref);
drivers/dma/dmaengine.c
160
chan_dev = container_of(dev, typeof(*chan_dev), device);
drivers/dma/dmaengine.c
238
chan_dev = container_of(dev, typeof(*chan_dev), device);
drivers/dma/idxd/cdev.c
98
struct device *dev = container_of(kobj, typeof(*dev), kobj);
drivers/dma/idxd/perfmon.h
84
typeof(_idxd) __idxd = (_idxd); \
drivers/dma/idxd/registers.h
440
typeof(_idxd_dev) __idxd_dev = (_idxd_dev); \
drivers/dma/stm32/stm32-dma.c
52
#define STM32_DMA_FLAGS_SHIFT(n) ({ typeof(n) (_n) = (n); \
drivers/dma/stm32/stm32-dma3.c
235
#define port_is_ahb(maxdw) ({ typeof(maxdw) (_maxdw) = (maxdw); \
drivers/dma/stm32/stm32-dma3.c
237
#define port_is_axi(maxdw) ({ typeof(maxdw) (_maxdw) = (maxdw); \
drivers/dma/tegra20-apb-dma.c
1330
dma_desc = list_first_entry(&dma_desc_list, typeof(*dma_desc),
drivers/dma/tegra20-apb-dma.c
1337
sg_req = list_first_entry(&sg_req_list, typeof(*sg_req), node);
drivers/dma/tegra20-apb-dma.c
316
sg_req = list_first_entry(&tdc->free_sg_req, typeof(*sg_req),
drivers/dma/tegra20-apb-dma.c
493
sg_req = list_first_entry(&tdc->pending_sg_req, typeof(*sg_req), node);
drivers/dma/tegra20-apb-dma.c
504
hsgreq = list_first_entry(&tdc->pending_sg_req, typeof(*hsgreq), node);
drivers/dma/tegra20-apb-dma.c
506
hnsgreq = list_first_entry(&hsgreq->node, typeof(*hnsgreq),
drivers/dma/tegra20-apb-dma.c
526
sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq),
drivers/dma/tegra20-apb-dma.c
554
hsgreq = list_first_entry(&tdc->pending_sg_req, typeof(*hsgreq), node);
drivers/dma/tegra20-apb-dma.c
577
sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), node);
drivers/dma/tegra20-apb-dma.c
611
sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), node);
drivers/dma/tegra20-apb-dma.c
645
dma_desc = list_first_entry(&tdc->cb_desc, typeof(*dma_desc),
drivers/dma/tegra20-apb-dma.c
768
sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq),
drivers/dma/tegra20-apb-dma.c
782
dma_desc = list_first_entry(&tdc->cb_desc, typeof(*dma_desc),
drivers/dma/ti/k3-udma.c
1088
struct udma_chan *uc = container_of(work, typeof(*uc),
drivers/dma/ti/k3-udma.c
557
struct udma_dev *ud = container_of(work, typeof(*ud), purge_work);
drivers/dma/txx9dmac.c
183
desc = list_entry(desc->tx_list.prev, typeof(*desc), desc_node);
drivers/dma/xilinx/xdma.c
142
typeof(_xd) (xd) = (_xd); \
drivers/edac/skx_base.c
271
struct skx_dev *d = list_first_entry(skx_edac_list, typeof(*d), list);
drivers/firewire/core-cdev.c
600
if (rsp->length <= sizeof(*rsp) - offsetof(typeof(*rsp), data))
drivers/firmware/arm_scmi/clock.c
125
typeof(X) x = (X); \
drivers/firmware/arm_scmi/common.h
132
typeof(__k) k_ = __k; \
drivers/firmware/arm_scmi/notify.c
128
typeof(__k) k_ = __k; \
drivers/firmware/arm_scmi/notify.c
129
typeof(__obj) obj_; \
drivers/firmware/arm_scmi/notify.c
149
typeof(__ni) ni_ = __ni; \
drivers/firmware/arm_scmi/notify.c
159
typeof(__pd) pd_ = __pd; \
drivers/firmware/arm_scmi/notify.c
160
typeof(__eid) eid_ = __eid; \
drivers/firmware/arm_scmi/notify.c
181
typeof(revt) r = revt; \
drivers/firmware/arm_scmi/notify.c
194
typeof(revt) r = revt; \
drivers/firmware/arm_scmi/transports/virtio.c
192
msg = list_first_entry(&vioch->free_list, typeof(*msg), list);
drivers/firmware/efi/apple-properties.c
64
key_len = *(typeof(key_len) *)ptr;
drivers/firmware/efi/apple-properties.c
73
val_len = *(typeof(val_len) *)(ptr + key_len);
drivers/firmware/efi/sysfb_efi.c
86
typeof(fwvalue) _ret_ = fwvalue; \
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
2434
adev = devm_drm_dev_alloc(&pdev->dev, &amdgpu_kms_driver, typeof(*adev), ddev);
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
377
typeof(adev) _adev = (adev); \
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
201
struct amdgpu_device *adev = container_of(mgr, typeof(*adev), mman.gtt_mgr);
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
241
adev = container_of(mgr, typeof(*adev), mman.gtt_mgr);
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
247
node = container_of(mm_node, typeof(*node), mm_nodes[0]);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
1036
tlb_cb = container_of(cb, typeof(*tlb_cb), cb);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
486
bo_va = list_entry(prev->next, typeof(*bo_va), base.vm_status);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_tlb_fence.c
53
struct amdgpu_tlb_fence *f = container_of(work, typeof(*f), work);
drivers/gpu/drm/amd/amdkfd/kfd_crat.c
1413
sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr +
drivers/gpu/drm/amd/amdkfd/kfd_crat.c
1932
sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr +
drivers/gpu/drm/amd/amdkfd/kfd_crat.c
1944
sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr +
drivers/gpu/drm/amd/amdkfd/kfd_crat.c
1959
sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr +
drivers/gpu/drm/amd/amdkfd/kfd_crat.c
2308
sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr +
drivers/gpu/drm/amd/amdkfd/kfd_crat.c
2339
sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr +
drivers/gpu/drm/amd/amdkfd/kfd_crat.c
2368
sub_type_hdr = (typeof(sub_type_hdr))(
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
94
((typeof(ptr_to_struct)) kzalloc_obj(*ptr_to_struct))
drivers/gpu/drm/amd/display/dc/sspl/spl_os_types.h
50
do { typeof(a) __tmp = (a); (a) = (b); (b) = __tmp; } while (0)
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
1771
size_t __src_offset = offsetof(typeof(*(src)), first_src_member); \
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
1773
size_t __dst_offset = offsetof(typeof(*(dst)), first_dst_member); \
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
1774
size_t __dst_size = offsetofend(typeof(*(dst)), last_dst_member) - \
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
1333
high = min_t(typeof(high),
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
1348
high = min_t(typeof(high),
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c
1003
high = min_t(typeof(high),
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c
988
high = min_t(typeof(high),
drivers/gpu/drm/arm/display/komeda/komeda_kms.c
121
NULL : list_last_entry(zorder_list, typeof(*last), zlist_node);
drivers/gpu/drm/arm/hdlcd_drv.c
247
hdlcd = devm_drm_dev_alloc(dev, &hdlcd_driver, typeof(*hdlcd), base);
drivers/gpu/drm/arm/malidp_drv.c
717
malidp = devm_drm_dev_alloc(dev, &malidp_driver, typeof(*malidp), base);
drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c
2297
mhdp = container_of(work, typeof(*mhdp), modeset_retry_work);
drivers/gpu/drm/display/drm_dp_tunnel.c
374
struct drm_dp_tunnel *tunnel = container_of(kref, typeof(*tunnel), kref);
drivers/gpu/drm/drm_atomic.c
327
struct drm_atomic_state *state = container_of(ref, typeof(*state), ref);
drivers/gpu/drm/drm_atomic_helper.c
2428
typeof(*commit),
drivers/gpu/drm/drm_buddy.c
1229
block = list_last_entry(&allocated, typeof(*block), link);
drivers/gpu/drm/drm_drv.c
137
typeof(t) _t = (t); \
drivers/gpu/drm/drm_edid.c
3075
BUILD_BUG_ON(offsetof(typeof(*descriptor), pixel_clock) != 0);
drivers/gpu/drm/drm_edid.c
3076
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.pad1) != 2);
drivers/gpu/drm/drm_edid.c
3077
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.type) != 3);
drivers/gpu/drm/drm_edid.c
3086
BUILD_BUG_ON(offsetof(typeof(*descriptor), pixel_clock) != 0);
drivers/gpu/drm/drm_edid.c
3158
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.flags) != 10);
drivers/gpu/drm/drm_edid.c
3159
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.cvt.flags) != 15);
drivers/gpu/drm/drm_edid.c
3188
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.flags) != 10);
drivers/gpu/drm/drm_edid.c
3202
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.hfreq_start_khz) != 12);
drivers/gpu/drm/drm_edid.c
3214
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.c) != 13);
drivers/gpu/drm/drm_edid.c
3226
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.m) != 14);
drivers/gpu/drm/drm_edid.c
3238
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.k) != 16);
drivers/gpu/drm/drm_edid.c
3250
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.j) != 17);
drivers/gpu/drm/drm_edid.c
3263
BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.flags) != 10);
drivers/gpu/drm/drm_framebuffer.c
385
struct drm_mode_rmfb_work *arg = container_of(w, typeof(*arg), work);
drivers/gpu/drm/drm_framebuffer.c
389
list_first_entry(&arg->fbs, typeof(*fb), filp_head);
drivers/gpu/drm/drm_gem.c
1640
obj = list_first_entry_or_null(&lru->list, typeof(*obj), lru_node);
drivers/gpu/drm/drm_gpusvm.c
337
container_of(mni, typeof(*notifier), notifier);
drivers/gpu/drm/drm_pagemap.c
807
struct drm_pagemap *dpagemap = container_of(ref, typeof(*dpagemap), ref);
drivers/gpu/drm/drm_pagemap_util.c
370
dpagemap = list_first_entry_or_null(&shrinker->dpagemaps, typeof(*dpagemap),
drivers/gpu/drm/hisilicon/hibmc/dp/dp_comm.h
58
typeof(dp) _dp = dp; \
drivers/gpu/drm/hisilicon/hibmc/dp/dp_comm.h
59
typeof(_dp->base) addr = (_dp->base + (offset)); \
drivers/gpu/drm/i915/display/intel_bo.c
63
container_of(_front, typeof(*front), base);
drivers/gpu/drm/i915/display/intel_bo.c
71
container_of(_front, typeof(*front), base);
drivers/gpu/drm/i915/display/intel_bo.c
79
container_of(_front, typeof(*front), base);
drivers/gpu/drm/i915/display/intel_connector.c
43
struct intel_connector *connector = container_of(work, typeof(*connector),
drivers/gpu/drm/i915/display/intel_crtc.c
460
container_of(work, typeof(*crtc_state), vblank_work);
drivers/gpu/drm/i915/display/intel_cursor.c
792
container_of(work, typeof(*plane_state), unpin_work);
drivers/gpu/drm/i915/display/intel_display_irq.c
1774
container_of(work, typeof(*display), irq.vblank_notify_work);
drivers/gpu/drm/i915/display/intel_display_rps.c
28
struct wait_rps_boost *wait = container_of(_wait, typeof(*wait), wait);
drivers/gpu/drm/i915/display/intel_display_utils.h
16
typeof(*ptr) __T = *(ptr); \
drivers/gpu/drm/i915/display/intel_display_utils.h
17
*(ptr) = (typeof(*ptr))0; \
drivers/gpu/drm/i915/display/intel_dmc.c
1349
struct intel_dmc *dmc = container_of(work, typeof(*dmc), work);
drivers/gpu/drm/i915/display/intel_drrs.c
214
struct intel_crtc *crtc = container_of(work, typeof(*crtc), drrs.work.work);
drivers/gpu/drm/i915/display/intel_encoder.c
16
container_of(work, typeof(*encoder), link_check_work.work);
drivers/gpu/drm/i915/display/intel_fb.c
2146
struct frontbuffer_fence_cb *cb = container_of(data, typeof(*cb), base);
drivers/gpu/drm/i915/display/intel_fbc.c
2138
struct intel_fbc *fbc = container_of(work, typeof(*fbc), underrun_work);
drivers/gpu/drm/i915/display/intel_global_state.c
68
container_of(kref, typeof(*commit), ref);
drivers/gpu/drm/i915/display/intel_hotplug.c
272
container_of(work, typeof(*display), hotplug.reenable_work.work);
drivers/gpu/drm/i915/display/intel_hotplug.c
785
container_of(work, typeof(*display), hotplug.poll_init_work);
drivers/gpu/drm/i915/display/intel_overlay.c
396
container_of(active, typeof(*overlay), last_flip);
drivers/gpu/drm/i915/display/intel_panel.c
288
typeof(*fixed_mode), head);
drivers/gpu/drm/i915/display/intel_psr.c
1200
container_of(work, typeof(*intel_dp), psr.dc3co_work.work);
drivers/gpu/drm/i915/display/intel_psr.c
3457
container_of(work, typeof(*intel_dp), psr.work);
drivers/gpu/drm/i915/display/intel_psr.c
3988
struct intel_display *display = container_of(work, typeof(*display),
drivers/gpu/drm/i915/gem/i915_gem_clflush.c
30
struct clflush *clflush = container_of(base, typeof(*clflush), base);
drivers/gpu/drm/i915/gem/i915_gem_clflush.c
37
struct clflush *clflush = container_of(base, typeof(*clflush), base);
drivers/gpu/drm/i915/gem/i915_gem_context.c
1076
container_of(fence, typeof(*engines), fence);
drivers/gpu/drm/i915/gem/i915_gem_context.c
1282
struct i915_gem_context *ctx = container_of(work, typeof(*ctx),
drivers/gpu/drm/i915/gem/i915_gem_context.c
1317
struct i915_gem_context *ctx = container_of(ref, typeof(*ctx), ref);
drivers/gpu/drm/i915/gem/i915_gem_context.c
404
container_of_user(base, typeof(*ext), base);
drivers/gpu/drm/i915/gem/i915_gem_context.c
491
container_of_user(base, typeof(*ext), base);
drivers/gpu/drm/i915/gem/i915_gem_context.c
584
container_of_user(base, typeof(*ext), base);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1602
u64_to_ptr(typeof(*relocs), entry->relocs_ptr);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1721
relocs = u64_to_ptr(typeof(*relocs), eb->exec[i].relocs_ptr);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1884
relocs = u64_to_ptr(typeof(*relocs), entry->relocs_ptr);
drivers/gpu/drm/i915/gem/i915_gem_mman.c
667
rb_entry(rb, typeof(*mmo), offset);
drivers/gpu/drm/i915/gem/i915_gem_mman.c
696
pos = rb_entry(rb, typeof(*pos), offset);
drivers/gpu/drm/i915/gem/i915_gem_object.c
103
BUILD_BUG_ON(offsetof(typeof(*obj), base) !=
drivers/gpu/drm/i915/gem/i915_gem_object.c
104
offsetof(typeof(*obj), __do_not_access.base));
drivers/gpu/drm/i915/gem/i915_gem_object.c
299
container_of(head, typeof(*obj), rcu);
drivers/gpu/drm/i915/gem/i915_gem_object_frontbuffer.c
10
container_of(ref, typeof(*front), write);
drivers/gpu/drm/i915/gem/i915_gem_object_frontbuffer.c
19
container_of(ref, typeof(*front), write);
drivers/gpu/drm/i915/gem/i915_gem_object_frontbuffer.c
78
container_of(ref, typeof(*front), ref);
drivers/gpu/drm/i915/gem/i915_gem_pages.c
609
GEM_BUG_ON(range_overflows_t(typeof(obj->base.size),
drivers/gpu/drm/i915/gem/i915_gem_region.c
173
obj = list_first_entry_or_null(&mr->objects.list, typeof(*obj),
drivers/gpu/drm/i915/gem/i915_gem_shrinker.c
198
typeof(*obj),
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
187
struct drm_i915_private *i915 = container_of(bdev, typeof(*i915), bdev);
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
189
struct i915_ttm_tt *i915_tt = container_of(ttm, typeof(*i915_tt), ttm);
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
245
struct i915_ttm_tt *i915_tt = container_of(ttm, typeof(*i915_tt), ttm);
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
256
container_of(ref, typeof(*i915_tt), cached_rsgt.kref);
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
271
struct drm_i915_private *i915 = container_of(bo->bdev, typeof(*i915),
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
322
struct i915_ttm_tt *i915_tt = container_of(ttm, typeof(*i915_tt), ttm);
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
332
struct i915_ttm_tt *i915_tt = container_of(ttm, typeof(*i915_tt), ttm);
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
348
struct i915_ttm_tt *i915_tt = container_of(ttm, typeof(*i915_tt), ttm);
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
423
container_of(bo->ttm, typeof(*i915_tt), ttm);
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
463
container_of(bo->ttm, typeof(*i915_tt), ttm);
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
524
struct i915_ttm_tt *i915_tt = container_of(ttm, typeof(*i915_tt), ttm);
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
930
container_of(bo->ttm, typeof(*i915_tt), ttm);
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
194
struct drm_i915_private *i915 = container_of(bo->bdev, typeof(*i915),
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
351
container_of(work, typeof(*copy_work), work);
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
395
container_of(irq_work, typeof(*copy_work), irq_work);
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
407
container_of(cb, typeof(*copy_work), cb);
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
64
struct drm_i915_private *i915 = container_of(bdev, typeof(*i915), bdev);
drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c
173
container_of(apply, typeof(*pm_apply), base);
drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c
47
container_of(apply, typeof(*pm_apply), base);
drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c
51
container_of(bo->bdev, typeof(*i915), bdev);
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
193
container_of(work, typeof(*arg), work);
drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
242
container_of(work, typeof(*arg), work);
drivers/gpu/drm/i915/gt/gen8_ppgtt.c
145
#define as_pd(x) container_of((x), typeof(struct i915_page_directory), pt)
drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
174
struct intel_breadcrumbs *b = container_of(work, typeof(*b), irq_work);
drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
253
llist_entry(signal, typeof(*rq), signal_node);
drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
330
struct intel_breadcrumbs *b = container_of(kref, typeof(*b), ref);
drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
390
list_entry(pos, typeof(*it), signal_link);
drivers/gpu/drm/i915/gt/intel_context.c
27
struct intel_context *ce = container_of(rcu, typeof(*ce), rcu);
drivers/gpu/drm/i915/gt/intel_context.c
352
struct intel_context *ce = container_of(active, typeof(*ce), active);
drivers/gpu/drm/i915/gt/intel_context.c
365
struct intel_context *ce = container_of(active, typeof(*ce), active);
drivers/gpu/drm/i915/gt/intel_engine_cs.c
2263
.offset = offsetof(typeof(engine->props), x), \
drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c
143
container_of(wrk, typeof(*engine), heartbeat.work.work);
drivers/gpu/drm/i915/gt/intel_engine_pm.c
252
typeof(*cb), node);
drivers/gpu/drm/i915/gt/intel_engine_pm.c
261
container_of(wf, typeof(*engine), wakeref);
drivers/gpu/drm/i915/gt/intel_engine_pm.c
61
container_of(wf, typeof(*engine), wakeref);
drivers/gpu/drm/i915/gt/intel_engine_user.c
220
container_of(it, typeof(*engine), uabi_list);
drivers/gpu/drm/i915/gt/intel_engine_user.c
25
rb_entry(p, typeof(*it), uabi_node);
drivers/gpu/drm/i915/gt/intel_engine_user.c
61
container_of(A, typeof(*a), uabi_list);
drivers/gpu/drm/i915/gt/intel_engine_user.c
63
container_of(B, typeof(*b), uabi_list);
drivers/gpu/drm/i915/gt/intel_engine_user.c
90
container_of(pos, typeof(*engine), uabi_llist);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
1029
rb_entry(rb, typeof(*ve), nodes[engine->id].rb);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
1091
container_of(p->waiter, typeof(*w), sched);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
1116
rq = list_first_entry_or_null(&list, typeof(*rq), sched.link);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2071
container_of(p->waiter, typeof(*w), sched);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2092
rq = list_first_entry_or_null(&list, typeof(*rq), sched.link);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2137
container_of(p->signaler, typeof(*s), sched);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2172
container_of(p->waiter, typeof(*w), sched);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2190
rq = list_first_entry_or_null(&list, typeof(*rq), sched.link);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2221
struct execlists_capture *cap = container_of(work, typeof(*cap), work);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
2528
container_of(execlists, typeof(*engine), execlists);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
3200
rb_entry(rb, typeof(*ve), nodes[engine->id].rb);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
3601
container_of(wrk, typeof(*ve), rcu.work);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
3665
container_of(kref, typeof(*ve), context.ref);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
3707
struct virtual_engine *ve = container_of(ce, typeof(*ve), context);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
3716
struct virtual_engine *ve = container_of(ce, typeof(*ve), context);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
3724
struct virtual_engine *ve = container_of(ce, typeof(*ve), context);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
3731
struct virtual_engine *ve = container_of(ce, typeof(*ve), context);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
3742
struct virtual_engine *ve = container_of(ce, typeof(*ve), context);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
3863
other = rb_entry(rb, typeof(*other), rb);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
4114
struct i915_priolist *p = rb_entry(rb, typeof(*p), node);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
4136
rb_entry(rb, typeof(*ve), nodes[engine->id].rb);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
559
struct virtual_engine *ve = container_of(ce, typeof(*ve), context);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
758
container_of(execlists, typeof(*engine), execlists);
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
780
container_of(execlists, typeof(*engine), execlists);
drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c
102
container_of(ref, typeof(*node), active);
drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c
58
node = list_entry(pos, typeof(*node), link);
drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c
91
container_of(wrk, typeof(*pool), work.work);
drivers/gpu/drm/i915/gt/intel_gt_pm.c
106
struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref);
drivers/gpu/drm/i915/gt/intel_gt_pm.c
73
struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref);
drivers/gpu/drm/i915/gt/intel_gt_requests.c
208
container_of(work, typeof(*gt), requests.retire_work.work);
drivers/gpu/drm/i915/gt/intel_gt_requests.c
242
container_of(work, typeof(*gt), watchdog.work);
drivers/gpu/drm/i915/gt/intel_gt_requests.c
63
container_of(work, typeof(*engine), retire_work);
drivers/gpu/drm/i915/gt/intel_gtt.c
226
container_of(kref, typeof(*vm), resv_ref);
drivers/gpu/drm/i915/gt/intel_gtt.h
194
__builtin_types_compatible_p(typeof(x), type) || \
drivers/gpu/drm/i915/gt/intel_gtt.h
195
__builtin_types_compatible_p(typeof(x), const type), \
drivers/gpu/drm/i915/gt/intel_lrc.c
1250
struct intel_context *ce = container_of(kref, typeof(*ce), ref);
drivers/gpu/drm/i915/gt/intel_ppgtt.c
77
container_of(pt, typeof(*pd), pt);
drivers/gpu/drm/i915/gt/intel_reset.c
1100
tl = list_entry(&timelines->active_list, typeof(*tl), link);
drivers/gpu/drm/i915/gt/intel_reset.c
1679
struct intel_wedge_me *w = container_of(work, typeof(*w), work.work);
drivers/gpu/drm/i915/gt/intel_ring.c
186
struct intel_ring *ring = container_of(ref, typeof(*ring), ref);
drivers/gpu/drm/i915/gt/intel_ring.h
62
typecheck(typeof(ring->size), next);
drivers/gpu/drm/i915/gt/intel_ring.h
63
typecheck(typeof(ring->size), prev);
drivers/gpu/drm/i915/gt/intel_ring_submission.c
492
struct intel_context *ce = container_of(ref, typeof(*ce), ref);
drivers/gpu/drm/i915/gt/intel_rps.c
1497
struct intel_rps *rps = container_of(ips, typeof(*rps), ips);
drivers/gpu/drm/i915/gt/intel_rps.c
1822
struct intel_rps *rps = container_of(work, typeof(*rps), work);
drivers/gpu/drm/i915/gt/intel_sseu.h
66
#define XEHP_BITMAP_BITS(mask) ((int)BITS_PER_TYPE(typeof(mask.xehp)))
drivers/gpu/drm/i915/gt/intel_timeline.c
395
container_of(kref, typeof(*timeline), kref);
drivers/gpu/drm/i915/gt/intel_timeline.c
42
container_of(active, typeof(*tl), active);
drivers/gpu/drm/i915/gt/intel_timeline.c
51
container_of(active, typeof(*tl), active);
drivers/gpu/drm/i915/gt/mock_engine.c
150
struct intel_context *ce = container_of(ref, typeof(*ce), ref);
drivers/gpu/drm/i915/gt/mock_engine.c
239
container_of(request->engine, typeof(*engine), base);
drivers/gpu/drm/i915/gt/mock_engine.c
296
container_of(engine, typeof(*mock), base);
drivers/gpu/drm/i915/gt/mock_engine.c
328
container_of(engine, typeof(*mock), base);
drivers/gpu/drm/i915/gt/mock_engine.c
432
container_of(engine, typeof(*mock), base);
drivers/gpu/drm/i915/gt/selftest_context.c
59
rq = list_last_entry(&tl->requests, typeof(*rq), link);
drivers/gpu/drm/i915/gt/selftest_engine.c
16
typeof(*tests) *fn;
drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c
55
struct pulse *p = container_of(kref, typeof(*p), kref);
drivers/gpu/drm/i915/gt/selftest_engine_pm.c
367
const typeof(*igt_atomic_phases) *p;
drivers/gpu/drm/i915/gt/selftest_execlists.c
3538
struct preempt_smoke *smoke = container_of(work, typeof(*smoke), work);
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
1269
typeof(*phases) *p;
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
1964
const typeof(*igt_atomic_phases) *p;
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
894
struct active_engine *arg = container_of(work, typeof(*arg), work);
drivers/gpu/drm/i915/gt/selftest_reset.c
263
const typeof(*igt_atomic_phases) *p;
drivers/gpu/drm/i915/gt/selftest_reset.c
308
const typeof(*igt_atomic_phases) *p;
drivers/gpu/drm/i915/gt/selftest_slpc.c
490
struct slpc_thread *thread = container_of(work, typeof(*thread), work);
drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.c
18
struct intel_gsc_uc *gsc = container_of(work, typeof(*gsc), work);
drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c
1296
struct intel_uc *uc = container_of(guc, typeof(*uc), guc);
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c
673
typeof(f) f_ = (f); \
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h
129
typeof(len) len_ = (len); \
drivers/gpu/drm/i915/gt/uc/intel_guc_log.h
29
typeof(x) _x = (x); \
drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c
257
struct intel_guc_slpc *slpc = container_of(work, typeof(*slpc), boost_work);
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
1522
struct intel_guc *guc = container_of(wrk, typeof(*guc),
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
1524
struct intel_uc *uc = container_of(guc, typeof(*uc), guc);
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
3344
container_of(wrk, typeof(*ce), guc_state.sched_disable_delay_work.work);
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
3486
container_of(ce, typeof(*ve), context);
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
3582
struct intel_context *ce = container_of(kref, typeof(*ce), ref);
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
3811
struct i915_request *rq = container_of(wrk, typeof(*rq), submit_work);
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
4144
struct intel_context *ce = container_of(kref, typeof(*ce), ref);
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
4620
container_of(kref, typeof(*sched_engine), ref);
drivers/gpu/drm/i915/gvt/gtt.c
1890
struct intel_vgpu_mm *mm = container_of(mm_ref, typeof(*mm), ref);
drivers/gpu/drm/i915/gvt/kvmgt.c
1677
struct gvt_dma *entry = container_of(ref, typeof(*entry), ref);
drivers/gpu/drm/i915/gvt/reg.h
66
typeof(_pipe) (p) = (_pipe); \
drivers/gpu/drm/i915/gvt/reg.h
67
typeof(_plane) (q) = (_plane); \
drivers/gpu/drm/i915/gvt/reg.h
77
typeof(_reg) (reg) = (_reg); \
drivers/gpu/drm/i915/gvt/reg.h
84
typeof(_reg) (reg) = (_reg); \
drivers/gpu/drm/i915/i915_active.c
1127
struct auto_active *aa = container_of(ref, typeof(*aa), base);
drivers/gpu/drm/i915/i915_active.c
1135
struct auto_active *aa = container_of(ref, typeof(*aa), ref);
drivers/gpu/drm/i915/i915_active.c
1143
struct auto_active *aa = container_of(ref, typeof(*aa), base);
drivers/gpu/drm/i915/i915_active.c
179
struct i915_active *ref = container_of(wrk, typeof(*ref), work);
drivers/gpu/drm/i915/i915_active.c
213
container_of(cb, typeof(*active), cb);
drivers/gpu/drm/i915/i915_active.c
266
BUILD_BUG_ON(offsetof(typeof(*it), node));
drivers/gpu/drm/i915/i915_active.c
33
#define fetch_node(x) rb_entry(READ_ONCE(x), typeof(struct active_node), node)
drivers/gpu/drm/i915/i915_active.c
638
struct wait_barrier *wb = container_of(wq, typeof(*wb), base);
drivers/gpu/drm/i915/i915_debugfs_params.c
21
params = container_of(((void *)(ptr)), typeof(*params), name); \
drivers/gpu/drm/i915/i915_debugfs_params.c
22
(i915) = container_of(params, typeof(*(i915)), params); \
drivers/gpu/drm/i915/i915_drm_client.c
42
container_of(kref, typeof(*client), kref);
drivers/gpu/drm/i915/i915_drm_client.c
93
obj = i915_gem_object_get_rcu(list_entry(pos, typeof(*obj),
drivers/gpu/drm/i915/i915_gem_evict.c
380
vma = container_of(node, typeof(*vma), node);
drivers/gpu/drm/i915/i915_gpu_error.c
1123
container_of(error_ref, typeof(*error), ref);
drivers/gpu/drm/i915/i915_gpu_error.c
637
if (page == list_last_entry(&vma->page_list, typeof(*page), lru))
drivers/gpu/drm/i915/i915_gpu_error.c
93
sgl = (typeof(sgl))__get_free_page(ALLOW_FAIL);
drivers/gpu/drm/i915/i915_irq.c
159
container_of(work, typeof(*dev_priv), l3_parity.error_work);
drivers/gpu/drm/i915/i915_perf.c
3488
container_of(hrtimer, typeof(*stream), poll_check_timer);
drivers/gpu/drm/i915/i915_perf.c
401
container_of(ref, typeof(*oa_config), ref);
drivers/gpu/drm/i915/i915_perf.c
4548
container_of(attr, typeof(*oa_config), sysfs_metric_id);
drivers/gpu/drm/i915/i915_ptr_util.h
11
(typeof(ptr))(__v & -BIT(n)); \
drivers/gpu/drm/i915/i915_ptr_util.h
19
(typeof(ptr))(__v & -BIT(n)); \
drivers/gpu/drm/i915/i915_ptr_util.h
25
((typeof(ptr))((unsigned long)(ptr) | __bits)); \
drivers/gpu/drm/i915/i915_ptr_util.h
30
(typeof(ptr))(__v - 1); \
drivers/gpu/drm/i915/i915_ptr_util.h
35
(typeof(ptr))(__v + 1); \
drivers/gpu/drm/i915/i915_reg_defs.h
102
((u16)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \
drivers/gpu/drm/i915/i915_reg_defs.h
118
#define _MASKED_BIT_ENABLE(a) ({ typeof(a) _a = (a); _MASKED_FIELD(_a, _a); })
drivers/gpu/drm/i915/i915_reg_defs.h
42
((u32)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \
drivers/gpu/drm/i915/i915_reg_defs.h
59
((u8)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \
drivers/gpu/drm/i915/i915_request.c
1040
rq = list_first_entry(&tl->requests, typeof(*rq), link);
drivers/gpu/drm/i915/i915_request.c
1100
prev = list_entry(pos, typeof(*prev), link);
drivers/gpu/drm/i915/i915_request.c
186
struct execute_cb *cb = container_of(wrk, typeof(*cb), work);
drivers/gpu/drm/i915/i915_request.c
1957
struct request_wait *wait = container_of(cb, typeof(*wait), cb);
drivers/gpu/drm/i915/i915_request.c
429
tmp = list_first_entry(&tl->requests, typeof(*tmp), link);
drivers/gpu/drm/i915/i915_request.c
777
container_of(fence, typeof(*request), submit);
drivers/gpu/drm/i915/i915_request.c
812
struct i915_request *rq = container_of(fence, typeof(*rq), semaphore);
drivers/gpu/drm/i915/i915_request.c
855
rq = list_first_entry(&tl->requests, typeof(*rq), link);
drivers/gpu/drm/i915/i915_request.c
864
rq = list_last_entry(&tl->requests, typeof(*rq), link);
drivers/gpu/drm/i915/i915_scatterlist.c
46
container_of(ref, typeof(*rsgt), kref);
drivers/gpu/drm/i915/i915_scheduler.c
440
container_of(kref, typeof(*sched_engine), ref);
drivers/gpu/drm/i915/i915_sw_fence.c
421
struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base);
drivers/gpu/drm/i915/i915_sw_fence.c
458
container_of(data, typeof(*cb), base.base);
drivers/gpu/drm/i915/i915_sw_fence.c
473
container_of(wrk, typeof(*cb), work);
drivers/gpu/drm/i915/i915_sw_fence.c
520
container_of(cb, typeof(*timer), base);
drivers/gpu/drm/i915/i915_sw_fence.c
547
struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base);
drivers/gpu/drm/i915/i915_sw_fence_work.c
18
struct dma_fence_work *f = container_of(work, typeof(*f), work);
drivers/gpu/drm/i915/i915_sw_fence_work.c
29
struct dma_fence_work *f = container_of(fence, typeof(*f), chain);
drivers/gpu/drm/i915/i915_sw_fence_work.c
62
struct dma_fence_work *f = container_of(fence, typeof(*f), dma);
drivers/gpu/drm/i915/i915_sw_fence_work.c
69
struct dma_fence_work *f = container_of(fence, typeof(*f), dma);
drivers/gpu/drm/i915/i915_sw_fence_work.c
73
BUILD_BUG_ON(offsetof(typeof(*f), dma));
drivers/gpu/drm/i915/i915_utils.h
49
typeof(*ptr) __T = *(ptr); \
drivers/gpu/drm/i915/i915_utils.h
50
*(ptr) = (typeof(*ptr))0; \
drivers/gpu/drm/i915/i915_utils.h
68
typeof(*(U)) mbz__; \
drivers/gpu/drm/i915/i915_vma.c
104
return container_of(ref, typeof(struct i915_vma), active);
drivers/gpu/drm/i915/i915_vma.c
359
struct i915_vma_work *vw = container_of(work, typeof(*vw), base);
drivers/gpu/drm/i915/i915_vma.c
377
struct i915_vma_work *vw = container_of(work, typeof(*vw), base);
drivers/gpu/drm/i915/i915_vma.c
802
alignment = max_t(typeof(alignment), alignment, vma->display_alignment);
drivers/gpu/drm/i915/i915_vma.c
804
size = max_t(typeof(size), size, vma->fence_size);
drivers/gpu/drm/i915/i915_vma.c
805
alignment = max_t(typeof(alignment),
drivers/gpu/drm/i915/i915_vma.h
244
BUILD_BUG_ON(offsetof(typeof(*view), rotated) !=
drivers/gpu/drm/i915/i915_vma.h
245
offsetof(typeof(*view), partial));
drivers/gpu/drm/i915/i915_vma.h
246
BUILD_BUG_ON(offsetof(typeof(*view), rotated) !=
drivers/gpu/drm/i915/i915_vma.h
247
offsetof(typeof(*view), remapped));
drivers/gpu/drm/i915/i915_vma_resource.c
176
container_of(work, typeof(*vma_res), work);
drivers/gpu/drm/i915/i915_vma_resource.c
194
container_of(fence, typeof(*vma_res), chain);
drivers/gpu/drm/i915/i915_vma_resource.c
82
container_of(head, typeof(*vma_res), unbind_fence.rcu);
drivers/gpu/drm/i915/i915_vma_resource.c
90
container_of(fence, typeof(*vma_res), unbind_fence);
drivers/gpu/drm/i915/intel_uncore.c
937
typeof(base) result__ = NULL; \
drivers/gpu/drm/i915/intel_wakeref.c
92
struct intel_wakeref *wf = container_of(wrk, typeof(*wf), work.work);
drivers/gpu/drm/i915/pxp/intel_pxp_session.c
152
struct intel_pxp *pxp = container_of(work, typeof(*pxp), session_work);
drivers/gpu/drm/i915/selftests/i915_active.c
39
struct live_active *active = container_of(ref, typeof(*active), ref);
drivers/gpu/drm/i915/selftests/i915_active.c
51
struct live_active *active = container_of(base, typeof(*active), base);
drivers/gpu/drm/i915/selftests/i915_active.c
59
struct live_active *active = container_of(base, typeof(*active), base);
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
1274
struct drm_mm_node *a = list_entry(A, typeof(*a), hole_stack);
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
1275
struct drm_mm_node *b = list_entry(B, typeof(*b), hole_stack);
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
64
typeof(obj->base.size) rem;
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
84
unsigned long len = min_t(typeof(rem), rem, BIT(31));
drivers/gpu/drm/i915/selftests/i915_request.c
1468
container_of(work, typeof(*thread), work);
drivers/gpu/drm/i915/selftests/i915_request.c
1506
container_of(work, typeof(*thread), work);
drivers/gpu/drm/i915/selftests/i915_request.c
1558
container_of(work, typeof(*thread), work);
drivers/gpu/drm/i915/selftests/i915_request.c
2563
struct signal_cb *s = container_of(cb, typeof(*s), base);
drivers/gpu/drm/i915/selftests/i915_request.c
2965
struct p_thread *thread = container_of(work, typeof(*thread), work);
drivers/gpu/drm/i915/selftests/i915_request.c
3039
struct p_thread *thread = container_of(work, typeof(*thread), work);
drivers/gpu/drm/i915/selftests/i915_request.c
3116
struct p_thread *thread = container_of(work, typeof(*thread), work);
drivers/gpu/drm/i915/selftests/i915_request.c
313
struct smoke_thread *thread = container_of(work, typeof(*thread), work);
drivers/gpu/drm/i915/selftests/i915_sw_fence.c
514
struct task_ipc *ipc = container_of(work, typeof(*ipc), work);
drivers/gpu/drm/i915/selftests/intel_memory_region.c
1003
typeof(*engine), uabi_node))
drivers/gpu/drm/i915/selftests/lib_sw_fence.c
124
struct heap_fence *h = container_of(ref, typeof(*h), ref);
drivers/gpu/drm/i915/selftests/lib_sw_fence.c
133
struct heap_fence *h = container_of(fence, typeof(*h), fence);
drivers/gpu/drm/i915/selftests/lib_sw_fence.c
95
struct heap_fence *h = container_of(fence, typeof(*h), fence);
drivers/gpu/drm/i915/selftests/mock_request.c
47
container_of(request->engine, typeof(*engine), base);
drivers/gpu/drm/imagination/pvr_device.h
763
typeof(struct_instance_) __instance = (struct_instance_); \
drivers/gpu/drm/imagination/pvr_device.h
765
offsetof(typeof(*__instance), union_)); \
drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.h
130
typeof(intf_type) __val = (intf_type); \
drivers/gpu/drm/nouveau/dispnv04/crtc.c
1076
struct nv04_display *disp = container_of(event, typeof(*disp), flip);
drivers/gpu/drm/nouveau/dispnv50/disp.c
136
struct nv50_dmac *dmac = container_of(push, typeof(*dmac), push);
drivers/gpu/drm/nouveau/dispnv50/disp.c
195
struct nv50_dmac *dmac = container_of(push, typeof(*dmac), push);
drivers/gpu/drm/nouveau/dispnv50/disp.c
2422
container_of(work, typeof(*state), commit_work);
drivers/gpu/drm/nouveau/dispnv50/wndw.h
105
struct nv50_wndw *wndw = container_of(dmac, typeof(*wndw), wimm);
drivers/gpu/drm/nouveau/include/nvif/object.h
61
typeof(a) __object = (a); \
drivers/gpu/drm/nouveau/include/nvif/object.h
77
typeof(m[0]) *mclass = (m); \
drivers/gpu/drm/nouveau/include/nvif/object.h
99
const typeof(m[0]) *_mclass = (m); \
drivers/gpu/drm/nouveau/include/nvkm/core/firmware.h
50
typeof(l[0]) *_list = (l), *_next, *_fwif = NULL; \
drivers/gpu/drm/nouveau/include/nvkm/core/os.h
20
typeof(p) _p = NULL; \
drivers/gpu/drm/nouveau/include/nvkm/core/os.h
30
(p = container_of((h), typeof(*p), m), nvkm_list_find_next(p, (h), m, (c)))
drivers/gpu/drm/nouveau/nouveau_bo.c
1346
typeof(*nvbo),
drivers/gpu/drm/nouveau/nouveau_chan.c
119
struct nouveau_channel *chan = container_of(push, typeof(*chan), chan.push);
drivers/gpu/drm/nouveau/nouveau_chan.c
128
struct nouveau_channel *chan = container_of(push, typeof(*chan), chan.push);
drivers/gpu/drm/nouveau/nouveau_chan.c
54
struct nouveau_channel *chan = container_of(event, typeof(*chan), kill);
drivers/gpu/drm/nouveau/nouveau_connector.c
1208
struct nouveau_connector *nv_connector = container_of(event, typeof(*nv_connector), irq);
drivers/gpu/drm/nouveau/nouveau_connector.c
1217
struct nouveau_connector *nv_connector = container_of(event, typeof(*nv_connector), hpd);
drivers/gpu/drm/nouveau/nouveau_connector.c
1228
container_of(obj, typeof(*nv_connector), aux);
drivers/gpu/drm/nouveau/nouveau_display.c
424
struct nouveau_drm *drm = container_of(work, typeof(*drm), hpd_work);
drivers/gpu/drm/nouveau/nouveau_display.c
509
struct nouveau_drm *drm = container_of(nb, typeof(*drm), acpi_nb);
drivers/gpu/drm/nouveau/nouveau_dp.c
486
container_of(work, typeof(*nv_connector), irq_work);
drivers/gpu/drm/nouveau/nouveau_drm.c
174
struct nouveau_cli *cli = container_of(w, typeof(*cli), work);
drivers/gpu/drm/nouveau/nouveau_drm.c
189
struct nouveau_cli_work *work = container_of(cb, typeof(*work), cb);
drivers/gpu/drm/nouveau/nouveau_drm.c
547
struct nouveau_drm *drm = container_of(object->parent, typeof(*drm), parent);
drivers/gpu/drm/nouveau/nouveau_drm.c
561
struct nouveau_drm *drm = container_of(object->parent, typeof(*drm), parent);
drivers/gpu/drm/nouveau/nouveau_fence.c
151
fence = list_first_entry_or_null(&fctx->pending, typeof(*fence), head);
drivers/gpu/drm/nouveau/nouveau_fence.c
162
struct nouveau_fence_chan *fctx = container_of(event, typeof(*fctx), event);
drivers/gpu/drm/nouveau/nouveau_gem.c
153
container_of(w, typeof(*work), work);
drivers/gpu/drm/nouveau/nouveau_nvif.c
81
struct nvif_event *event = container_of(object, typeof(*event), object);
drivers/gpu/drm/nouveau/nouveau_svm.c
719
struct nouveau_svm_fault_buffer *buffer = container_of(work, typeof(*buffer), work);
drivers/gpu/drm/nouveau/nouveau_svm.c
720
struct nouveau_svm *svm = container_of(buffer, typeof(*svm), buffer[buffer->id]);
drivers/gpu/drm/nouveau/nouveau_svm.c
886
struct nouveau_svm_fault_buffer *buffer = container_of(event, typeof(*buffer), notify);
drivers/gpu/drm/nouveau/nvif/chan.c
10
struct nvif_chan *chan = container_of(push, typeof(*chan), push);
drivers/gpu/drm/nouveau/nvif/chan.c
30
struct nvif_chan *chan = container_of(push, typeof(*chan), push);
drivers/gpu/drm/nouveau/nvkm/core/intr.c
263
struct nvkm_subdev *subdev = container_of(inth, typeof(*subdev), inth);
drivers/gpu/drm/nouveau/nvkm/core/memory.c
110
struct nvkm_memory *memory = container_of(kref, typeof(*memory), kref);
drivers/gpu/drm/nouveau/nvkm/core/mm.c
246
prev = list_last_entry(&mm->nodes, typeof(*node), nl_entry);
drivers/gpu/drm/nouveau/nvkm/core/object.c
39
object = rb_entry(node, typeof(*object), node);
drivers/gpu/drm/nouveau/nvkm/core/object.c
83
struct nvkm_object *this = rb_entry(*ptr, typeof(*this), node);
drivers/gpu/drm/nouveau/nvkm/core/uevent.c
115
struct nvkm_uevent *uevent = container_of(ntfy, typeof(*uevent), ntfy);
drivers/gpu/drm/nouveau/nvkm/engine/ce/ga100.c
32
struct nvkm_subdev *subdev = container_of(inth, typeof(*subdev), inth);
drivers/gpu/drm/nouveau/nvkm/engine/device/acpi.c
33
struct nvkm_device *device = container_of(nb, typeof(*device), acpi.nb);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
191
conn = list_first_entry(&disp->conns, typeof(*conn), head);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
197
outp = list_first_entry(&disp->outps, typeof(*outp), head);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
203
ior = list_first_entry(&disp->iors, typeof(*ior), head);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
208
head = list_first_entry(&disp->heads, typeof(*head), head);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
41
struct nvkm_disp *disp = container_of(event, typeof(*disp), vblank);
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
50
struct nvkm_disp *disp = container_of(event, typeof(*disp), vblank);
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
68
struct nvkm_disp_chan_object *object = container_of(base, typeof(*object), oproxy);
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
482
struct nvkm_disp *disp = container_of(event, typeof(*disp), uevent);
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
491
struct nvkm_disp *disp = container_of(event, typeof(*disp), uevent);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
522
struct nvkm_disp *disp = container_of(event, typeof(*disp), uevent);
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
531
struct nvkm_disp *disp = container_of(event, typeof(*disp), uevent);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/cgrp.c
177
struct nvkm_cgrp *cgrp = container_of(kref, typeof(*cgrp), kref);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/chid.c
56
struct nvkm_chid *chid = container_of(kref, typeof(*chid), kref);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c
164
struct nvkm_fifo *fifo = container_of(event, typeof(*fifo), nonstall.event);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/g84.c
175
struct nvkm_fifo *fifo = container_of(event, typeof(*fifo), nonstall.event);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ga100.c
333
struct nvkm_runl *runl = container_of(inth, typeof(*runl), inth);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ga100.c
511
struct nvkm_runl *runl = container_of(inth, typeof(*runl), nonstall.inth);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/ga100.c
542
struct nvkm_engn *engn = list_first_entry(&runl->engns, typeof(*engn), head);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
442
struct nvkm_fifo *fifo = container_of(event, typeof(*fifo), nonstall.event);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
453
struct nvkm_fifo *fifo = container_of(event, typeof(*fifo), nonstall.event);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c
808
struct nvkm_fifo *fifo = container_of(inth, typeof(*fifo), engine.subdev.inth);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c
654
struct nvkm_fifo *fifo = container_of(inth, typeof(*fifo), engine.subdev.inth);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c
408
struct nvkm_fifo *fifo = container_of(inth, typeof(*fifo), engine.subdev.inth);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c
174
struct nvkm_runl *runl = container_of(work, typeof(*runl), work);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c
200
struct nvkm_fifo *fifo = container_of(inth, typeof(*fifo), engine.subdev.inth);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
100
struct nvkm_uobj *uobj = container_of(oproxy, typeof(*uobj), oproxy);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
133
struct nvkm_uobj *uobj = container_of(oproxy, typeof(*uobj), oproxy);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
77
struct nvkm_uobj *uobj = container_of(oproxy, typeof(*uobj), oproxy);
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
1609
struct gf100_gr *gr = container_of(inth, typeof(*gr), base.engine.subdev.inth);
drivers/gpu/drm/nouveau/nvkm/engine/sec2/ga102.c
78
container_of(hdr, typeof(*msg), msg.hdr);
drivers/gpu/drm/nouveau/nvkm/engine/sec2/ga102.c
95
struct nvkm_sec2 *sec2 = container_of(falcon, typeof(*sec2), falcon);
drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp102.c
155
struct nvkm_sec2 *sec2 = container_of(inth, typeof(*sec2), engine.subdev.inth);
drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp102.c
43
container_of(hdr, typeof(*msg), msg.hdr);
drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp102.c
62
struct nvkm_sec2 *sec2 = container_of(falcon, typeof(*sec2), falcon);
drivers/gpu/drm/nouveau/nvkm/engine/sw/gf100.c
42
container_of(notify, typeof(*chan), vblank.notify[notify->id]);
drivers/gpu/drm/nouveau/nvkm/engine/sw/nv50.c
42
container_of(notify, typeof(*chan), vblank.notify[notify->id]);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
149
return list_last_entry(&pstate->list, typeof(*cstate), head);
drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c
302
struct nvkm_clk *clk = container_of(work, typeof(*clk), work);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
29
struct nvkm_fault *fault = container_of(event, typeof(*fault), event);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c
36
struct nvkm_fault *fault = container_of(event, typeof(*fault), event);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c
122
struct nvkm_fault *fault = container_of(ntfy, typeof(*fault), nrpfb);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c
33
struct nvkm_fault *fault = container_of(work, typeof(*fault), nrpfb_work);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c
36
struct nvkm_fault_buffer *buffer = container_of(inth, typeof(*buffer), inth);
drivers/gpu/drm/nouveau/nvkm/subdev/fault/tu102.c
88
struct nvkm_fault *fault = container_of(inth, typeof(*fault), info_fault);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c
109
struct gf100_ram *ram = container_of(fuc, typeof(*ram), fuc);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c
143
struct gk104_ram *ram = container_of(fuc, typeof(*ram), fuc);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c
1451
p = &list_last_entry(&ram->cfg, typeof(*cfg), head)->bios;
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c
159
struct gk104_ram *ram = container_of(fuc, typeof(*ram), fuc);
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c
209
struct gk104_ram *ram = container_of(fuc, typeof(*ram), fuc);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
114
struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event);
drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c
121
struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
25
struct nvkm_rm_engine_obj *obj = container_of(object, typeof(*obj), object);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
14
struct r535_gr_chan *chan = container_of(oclass->parent, typeof(*chan), object);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
23
struct r535_gr *gr = container_of(base, typeof(*gr), base);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/gr.c
35
struct r535_gr *gr = container_of(base, typeof(*gr), base);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1370
struct nvkm_disp *disp = container_of(event, typeof(*disp), rm.irq);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1385
struct nvkm_disp *disp = container_of(event, typeof(*disp), rm.hpd);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1428
struct nvkm_disp *disp = container_of(inth, typeof(*disp), engine.subdev.inth);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gr.c
274
struct r535_gr *gr = container_of(base, typeof(*gr), base);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gr.c
42
struct r535_gr_chan *grc = container_of(object, typeof(*grc), object);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
1171
cmdq->tx.rxHdrOff = offsetof(typeof(*cmdq), rx.readPtr);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
51
struct nvkm_gsp *gsp = container_of(work, typeof(*gsp), msgq.work);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
62
struct nvkm_gsp *gsp = container_of(inth, typeof(*gsp), subdev.inth);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
905
struct nvkm_device_pci *pdev = container_of(device, typeof(*pdev), device);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
122
container_of((void *)p, typeof(*header), data)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
125
container_of((void *)p, typeof(*header), params)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
607
struct nvfw_gsp_rpc *rpc = container_of(repv, typeof(*rpc), data);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/rpc.h
10
container_of((void *)p, typeof(*header), params)
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/auxch.c
33
struct nvkm_i2c_aux *aux = container_of(adap, typeof(*aux), i2c);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
100
struct nvkm_i2c *i2c = container_of(event, typeof(*i2c), event);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
217
list_first_entry(&i2c->aux, typeof(*aux), head);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
223
list_first_entry(&i2c->bus, typeof(*bus), head);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
229
list_first_entry(&i2c->pad, typeof(*pad), head);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
91
struct nvkm_i2c *i2c = container_of(event, typeof(*i2c), event);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
35
struct nvkm_i2c_bus *bus = container_of(adap, typeof(*bus), i2c);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
42
struct nvkm_i2c_bus *bus = container_of(adap, typeof(*bus), i2c);
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c
80
struct nvkm_i2c_bus *bus = container_of(adap, typeof(*bus), i2c);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
143
eobj = list_first_entry_or_null(&imem->lru, typeof(*eobj), lru);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp100.c
50
struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gp100.c
58
struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c
59
struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/gt215.c
67
struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c
74
struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c
84
struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr);
drivers/gpu/drm/nouveau/nvkm/subdev/mc/nv04.c
96
struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
190
pt = list_first_entry_or_null(&ptc->item, typeof(*pt), head);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c
74
ptp = list_first_entry_or_null(&mmu->ptp.list, typeof(*ptp), head);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1064
struct nvkm_vma *vma = rb_entry(node, typeof(*vma), tree);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1079
vma = list_first_entry(&vmm->list, typeof(*vma), head);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1778
struct nvkm_vma *this = rb_entry(temp, typeof(*this), tree);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1794
struct nvkm_vma *this = rb_entry(node, typeof(*this), tree);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
1966
struct nvkm_vmm *vmm = container_of(kref, typeof(*vmm), kref);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
880
struct nvkm_vma *this = rb_entry(*ptr, typeof(*this), tree);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
922
struct nvkm_vma *this = rb_entry(*ptr, typeof(*this), tree);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c
942
struct nvkm_vma *vma = rb_entry(node, typeof(*vma), tree);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c
57
struct nvkm_pmu *pmu = container_of(work, typeof(*pmu), recv.work);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c
128
container_of(hdr, typeof(*msg), msg.hdr);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c
34
container_of(hdr, typeof(*msg), msg.hdr);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c
42
struct nvkm_pmu *pmu = container_of(falcon, typeof(*pmu), falcon);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp10b.c
34
container_of(hdr, typeof(*msg), msg.hdr);
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp10b.c
40
struct nvkm_pmu *pmu = container_of(falcon, typeof(*pmu), falcon);
drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c
130
list = list_first_entry(&tmr->alarms, typeof(*list), head);
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/tu102.c
31
struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr);
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/tu102.c
39
struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr);
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/tu102.c
47
struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr);
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/tu102.c
55
struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr);
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/tu102.c
63
struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr);
drivers/gpu/drm/nouveau/nvkm/subdev/vfn/tu102.c
71
struct nvkm_vfn *vfn = container_of(intr, typeof(*vfn), intr);
drivers/gpu/drm/panel/panel-sitronix-st7701.c
94
(((typeof(_mask))(_val) << (__builtin_ffsll(_mask) - 1)) & (_mask))
drivers/gpu/drm/panthor/panthor_drv.c
208
typeof(_dest_array) _tmp; \
drivers/gpu/drm/radeon/mkregtable.c
102
for (pos = list_entry((head)->next, typeof(*pos), member); \
drivers/gpu/drm/radeon/mkregtable.c
104
pos = list_entry(pos->member.next, typeof(*pos), member))
drivers/gpu/drm/radeon/mkregtable.c
29
const typeof(((type *)0)->member)*__mptr = (ptr); \
drivers/gpu/drm/radeon/radeon_drv.c
332
rdev = devm_drm_dev_alloc(dev, &kms_driver, typeof(*rdev), ddev);
drivers/gpu/drm/scheduler/sched_entity.c
181
struct drm_sched_job *job = container_of(wrk, typeof(*job), work);
drivers/gpu/drm/scheduler/sched_main.c
1146
typeof(*next), list);
drivers/gpu/drm/scheduler/tests/mock_scheduler.c
143
container_of(fence, typeof(*job), hw_fence);
drivers/gpu/drm/scheduler/tests/mock_scheduler.c
151
container_of(fence, typeof(*job), hw_fence);
drivers/gpu/drm/scheduler/tests/mock_scheduler.c
184
list_last_entry(&sched->job_list, typeof(*prev),
drivers/gpu/drm/scheduler/tests/mock_scheduler.c
75
container_of(hrtimer, typeof(*job), timer);
drivers/gpu/drm/stm/lvds.c
284
typeof(lvds) __lvds = (lvds); \
drivers/gpu/drm/tests/drm_buddy_test.c
630
block = list_first_entry_or_null(&blocks, typeof(*block), link);
drivers/gpu/drm/tests/drm_buddy_test.c
739
block = list_last_entry(&blocks, typeof(*block), link);
drivers/gpu/drm/tests/drm_framebuffer_test.c
369
struct drm_framebuffer_test_priv *priv = container_of(dev, typeof(*priv), dev);
drivers/gpu/drm/tests/drm_framebuffer_test.c
388
priv = drm_kunit_helper_alloc_drm_device(test, parent, typeof(*priv),
drivers/gpu/drm/tests/drm_framebuffer_test.c
656
struct drm_framebuffer_test_priv *priv = container_of(fb->dev, typeof(*priv), dev);
drivers/gpu/drm/ttm/ttm_bo.c
1112
container_of(walk, typeof(*swapout_walk), walk);
drivers/gpu/drm/ttm/ttm_bo.c
240
bo = container_of(work, typeof(*bo), delayed_delete);
drivers/gpu/drm/ttm/ttm_bo.c
518
container_of(walk, typeof(*evict_walk), walk);
drivers/gpu/drm/ttm/ttm_pool.c
308
p = list_first_entry_or_null(&pt->pages, typeof(*p), lru);
drivers/gpu/drm/ttm/ttm_pool.c
389
pt = list_first_entry(&shrinker_list, typeof(*pt), shrinker_list);
drivers/gpu/drm/ttm/ttm_resource.c
725
container_of(iter, typeof(*iter_io), base);
drivers/gpu/drm/ttm/ttm_resource.c
807
container_of(iter, typeof(*iter_io), base);
drivers/gpu/drm/ttm/ttm_tt.c
492
container_of(iter, typeof(*iter_tt), base);
drivers/gpu/drm/v3d/v3d_regs.h
20
typeof(ver) _ver = (ver); \
drivers/gpu/drm/vgem/vgem_fence.c
50
struct vgem_fence *fence = container_of(base, typeof(*fence), base);
drivers/gpu/drm/vmwgfx/vmwgfx_binding.c
1280
container_of(bi, typeof(*binding), bi);
drivers/gpu/drm/vmwgfx/vmwgfx_binding.c
1332
container_of(bi, typeof(*binding), bi);
drivers/gpu/drm/vmwgfx/vmwgfx_binding.c
575
container_of(bi, typeof(*binding), bi);
drivers/gpu/drm/vmwgfx/vmwgfx_binding.c
607
container_of(bi, typeof(*binding), bi);
drivers/gpu/drm/vmwgfx/vmwgfx_binding.c
643
container_of(bi, typeof(*binding), bi);
drivers/gpu/drm/vmwgfx/vmwgfx_binding.c
677
container_of(bi, typeof(*binding), bi);
drivers/gpu/drm/vmwgfx/vmwgfx_binding.c
706
container_of(bi, typeof(*binding), bi);
drivers/gpu/drm/vmwgfx/vmwgfx_context.c
784
union drm_vmw_extended_context_arg *arg = (typeof(arg)) data;
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1245
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1278
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1307
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1326
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1362
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1392
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1438
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1466
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1508
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1574
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1623
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1767
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1786
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1805
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1824
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1844
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1864
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1884
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1907
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1946
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1985
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2063
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2089
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2119
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2172
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2199
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2238
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2295
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2346
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2377
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2410
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2432
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2467
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2515
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2568
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2596
BUILD_BUG_ON(offsetof(typeof(*cmd), r_body.sid) !=
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2597
offsetof(typeof(*cmd), sid));
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2598
BUILD_BUG_ON(offsetof(typeof(*cmd), i_body.sid) !=
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2599
offsetof(typeof(*cmd), sid));
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2600
BUILD_BUG_ON(offsetof(typeof(*cmd), u_body.sid) !=
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2601
offsetof(typeof(*cmd), sid));
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2603
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2640
} *cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2679
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2710
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2736
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2786
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2820
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2846
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2893
} *cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2912
} *cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2931
} *cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2963
} *cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
2997
} *cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3029
} *cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3065
} *cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3107
} *cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3160
} *cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3177
} *cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3194
} *cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
811
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
855
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
900
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
920
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
939
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
958
cmd = container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
975
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
987
container_of(header, typeof(*cmd), header);
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
1762
container_of(update->vfb, typeof(*vfbbo), base);
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
1780
container_of(update->vfb, typeof(*vfbs), base);
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
109
entry = list_entry(lds->active.next, typeof(*entry), active);
drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c
124
items = (typeof(items))&cmds[1];
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
1051
container_of(dirty, typeof(*sdirty), base);
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
1105
container_of(framebuffer, typeof(*vfbs), base);
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
473
container_of(update->vfb, typeof(*vfbbo), base);
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
569
srf_update = container_of(update, typeof(*srf_update), base);
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
588
vfbs = container_of(update->vfb, typeof(*vfbs), base);
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
643
srf_update = container_of(update, typeof(*srf_update), base);
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
993
container_of(dirty, typeof(*sdirty), base);
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
226
usimple = container_of(base, typeof(*usimple), base);
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
1146
container_of(update, typeof(*bo_update), base);
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
1159
container_of(update, typeof(*bo_update), base);
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
1182
bo_update = container_of(update, typeof(*bo_update), base);
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
1183
stdu = container_of(update->du, typeof(*stdu), base);
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
1184
vfbbo = container_of(update->vfb, typeof(*vfbbo), base);
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
1299
stdu = container_of(update->du, typeof(*stdu), base);
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
1300
vfbs = container_of(update->vfb, typeof(*vfbs), base);
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
1364
vfbs = container_of(vfb, typeof(*vfbs), base);
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
502
container_of(dirty->unit, typeof(*stdu), base);
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
627
container_of(dirty->unit, typeof(*stdu), base);
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
665
container_of(dirty->unit, typeof(*stdu), base);
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
734
container_of(framebuffer, typeof(*vfbs), base);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1178
cmd2 = (typeof(cmd2))cmd;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1179
cmd3 = (typeof(cmd3))cmd;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1180
cmd4 = (typeof(cmd4))cmd;
drivers/gpu/drm/vmwgfx/vmwgfx_validation.c
171
bo_node = container_of(hash, typeof(*bo_node), hash);
drivers/gpu/drm/vmwgfx/vmwgfx_validation.c
213
res_node = container_of(hash, typeof(*res_node), hash);
drivers/gpu/drm/vmwgfx/vmwgfx_validation.c
365
val = container_of(val_private, typeof(*val), private);
drivers/gpu/drm/vmwgfx/vmwgfx_validation.c
389
val = container_of(val_private, typeof(*val), private);
drivers/gpu/drm/xe/display/intel_bo.c
77
container_of(_front, typeof(*front), base);
drivers/gpu/drm/xe/display/intel_bo.c
85
container_of(ref, typeof(*front), ref);
drivers/gpu/drm/xe/display/intel_bo.c
97
container_of(_front, typeof(*front), base);
drivers/gpu/drm/xe/tests/xe_bo.c
507
xe_tt = container_of(bo->ttm.ttm, typeof(*xe_tt), ttm);
drivers/gpu/drm/xe/tests/xe_bo.c
568
xe_tt = container_of(bo->ttm.ttm, typeof(*xe_tt), ttm);
drivers/gpu/drm/xe/tests/xe_dma_buf.c
93
attach = list_first_entry_or_null(&dmabuf->attachments, typeof(*attach), node);
drivers/gpu/drm/xe/xe_bo.c
1479
struct xe_ttm_tt *xe_tt = container_of(tt, typeof(*xe_tt), ttm);
drivers/gpu/drm/xe/xe_bo.c
331
struct xe_device *xe = container_of(tbo->bdev, typeof(*xe), ttm);
drivers/gpu/drm/xe/xe_bo.c
3576
struct xe_bo_dev *bo_dev = container_of(work, typeof(*bo_dev), async_free);
drivers/gpu/drm/xe/xe_bo_evict.c
26
bo = list_first_entry_or_null(pinned_list, typeof(*bo),
drivers/gpu/drm/xe/xe_dep_scheduler.c
41
container_of(drm_job, typeof(*dep_job), drm);
drivers/gpu/drm/xe/xe_dep_scheduler.c
49
container_of(drm_job, typeof(*dep_job), drm);
drivers/gpu/drm/xe/xe_devcoredump.c
275
struct xe_devcoredump_snapshot *ss = container_of(work, typeof(*ss), work);
drivers/gpu/drm/xe/xe_devcoredump.c
276
struct xe_devcoredump *coredump = container_of(ss, typeof(*coredump), snapshot);
drivers/gpu/drm/xe/xe_drm_client.c
116
container_of(kref, typeof(*client), kref);
drivers/gpu/drm/xe/xe_eu_stall.c
717
container_of(work, typeof(*stream), buf_poll_work.work);
drivers/gpu/drm/xe/xe_ggtt.c
438
struct xe_ggtt_node *node = container_of(work, typeof(*node),
drivers/gpu/drm/xe/xe_gsc.c
352
struct xe_gsc *gsc = container_of(work, typeof(*gsc), work);
drivers/gpu/drm/xe/xe_gt.c
868
struct xe_gt *gt = container_of(w, typeof(*gt), reset.worker);
drivers/gpu/drm/xe/xe_gt.h
36
typeof(gt) gt_ = (gt); \
drivers/gpu/drm/xe/xe_gt_sriov_pf.c
233
struct xe_gt *gt = container_of(w, typeof(*gt), sriov.pf.workers.restart);
drivers/gpu/drm/xe/xe_gt_sriov_vf.c
1337
BUILD_BUG_ON(1 + ((typeof(gt->sriov.vf.migration.resfix_marker))~0) >
drivers/gpu/drm/xe/xe_guc_capture.c
1376
struct xe_uc *uc = container_of(guc, typeof(*uc), guc);
drivers/gpu/drm/xe/xe_guc_log.h
47
typeof(x) _x = (x); \
drivers/gpu/drm/xe/xe_guc_relay.c
62
typeof(relay) _r = (relay); \
drivers/gpu/drm/xe/xe_hw_error.c
56
struct xe_tile *tile = container_of(work, typeof(*tile), csc_hw_error_work);
drivers/gpu/drm/xe/xe_hw_fence.c
237
container_of(fence, typeof(*hw_fence), dma);
drivers/gpu/drm/xe/xe_hw_fence.c
52
struct xe_hw_fence_irq *irq = container_of(work, typeof(*irq), work);
drivers/gpu/drm/xe/xe_oa.c
162
container_of(ref, typeof(*oa_config), ref);
drivers/gpu/drm/xe/xe_oa.c
2305
container_of(attr, typeof(*oa_config), sysfs_metric_id);
drivers/gpu/drm/xe/xe_oa.c
304
container_of(hrtimer, typeof(*stream), poll_check_timer);
drivers/gpu/drm/xe/xe_oa.c
956
struct xe_oa_fence *ofence = container_of(w, typeof(*ofence), work.work);
drivers/gpu/drm/xe/xe_oa.c
968
struct xe_oa_fence *ofence = container_of(cb, typeof(*ofence), cb);
drivers/gpu/drm/xe/xe_pagefault.c
253
container_of(w, typeof(*pf_queue), worker);
drivers/gpu/drm/xe/xe_pmu.c
101
struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base);
drivers/gpu/drm/xe/xe_pmu.c
135
struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base);
drivers/gpu/drm/xe/xe_pmu.c
163
struct xe_device *xe = container_of(pmu, typeof(*xe), pmu);
drivers/gpu/drm/xe/xe_pmu.c
175
struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base);
drivers/gpu/drm/xe/xe_pmu.c
216
struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base);
drivers/gpu/drm/xe/xe_pmu.c
234
struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base);
drivers/gpu/drm/xe/xe_pmu.c
338
struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base);
drivers/gpu/drm/xe/xe_pmu.c
361
struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base);
drivers/gpu/drm/xe/xe_pmu.c
373
struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base);
drivers/gpu/drm/xe/xe_pmu.c
385
struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base);
drivers/gpu/drm/xe/xe_pmu.c
448
pmu_attr = container_of(attr, typeof(*pmu_attr), attr.attr); \
drivers/gpu/drm/xe/xe_pmu.c
450
typeof(*pmu), base); \
drivers/gpu/drm/xe/xe_pmu.c
499
struct xe_device *xe = container_of(pmu, typeof(*xe), pmu);
drivers/gpu/drm/xe/xe_pmu.c
530
struct xe_device *xe = container_of(pmu, typeof(*xe), pmu);
drivers/gpu/drm/xe/xe_pmu.c
549
struct xe_device *xe = container_of(pmu, typeof(*xe), pmu);
drivers/gpu/drm/xe/xe_pmu.c
93
struct xe_device *xe = container_of(event->pmu, typeof(*xe), pmu.base);
drivers/gpu/drm/xe/xe_preempt_fence.c
19
container_of(w, typeof(*pfence), preempt_work);
drivers/gpu/drm/xe/xe_preempt_fence.c
73
container_of(fence, typeof(*pfence), base);
drivers/gpu/drm/xe/xe_pt.c
1557
container_of(walk, typeof(*xe_walk), base);
drivers/gpu/drm/xe/xe_pt.c
1647
struct xe_pt *xe_child = container_of(*child, typeof(*xe_child), base);
drivers/gpu/drm/xe/xe_pt.c
1649
container_of(walk, typeof(*xe_walk), base);
drivers/gpu/drm/xe/xe_pt.c
1752
container_of(walk, typeof(*xe_walk), base);
drivers/gpu/drm/xe/xe_pt.c
1753
struct xe_pt *xe_child = container_of(*child, typeof(*xe_child), base);
drivers/gpu/drm/xe/xe_pt.c
522
container_of(walk, typeof(*xe_walk), base);
drivers/gpu/drm/xe/xe_pt.c
524
struct xe_pt *xe_parent = container_of(parent, typeof(*xe_parent), base);
drivers/gpu/drm/xe/xe_pt.c
860
container_of(walk, typeof(*xe_walk), base);
drivers/gpu/drm/xe/xe_pt.c
861
struct xe_pt *xe_child = container_of(*child, typeof(*xe_child), base);
drivers/gpu/drm/xe/xe_pxp.c
252
struct xe_pxp *pxp = container_of(work, typeof(*pxp), irq.work);
drivers/gpu/drm/xe/xe_range_fence.c
23
struct xe_range_fence *rfence = container_of(cb, typeof(*rfence), cb);
drivers/gpu/drm/xe/xe_shrinker.c
260
container_of(work, typeof(*shrinker), pm_worker);
drivers/gpu/drm/xe/xe_svm.c
1027
struct xe_pagemap *xpagemap = container_of(dpagemap, typeof(*xpagemap), dpagemap);
drivers/gpu/drm/xe/xe_svm.c
1690
struct xe_pagemap *xpagemap = container_of(work, typeof(*xpagemap), destroy_work);
drivers/gpu/drm/xe/xe_svm.c
1713
struct xe_pagemap *xpagemap = container_of(dpagemap, typeof(*xpagemap), dpagemap);
drivers/gpu/drm/xe/xe_svm.c
1843
xpagemap = container_of(dpagemap, typeof(*xpagemap), dpagemap);
drivers/gpu/drm/xe/xe_svm.c
389
typeof(*range),
drivers/gpu/drm/xe/xe_svm.c
745
struct xe_pagemap *xpagemap = container_of(dpagemap, typeof(*xpagemap), dpagemap);
drivers/gpu/drm/xe/xe_tlb_inval_job.c
176
struct xe_tlb_inval_job *job = container_of(ref, typeof(*job),
drivers/gpu/drm/xe/xe_tlb_inval_job.c
179
container_of(job->fence, typeof(*ifence), base);
drivers/gpu/drm/xe/xe_tlb_inval_job.c
238
container_of(job->fence, typeof(*ifence), base);
drivers/gpu/drm/xe/xe_tlb_inval_job.c
51
container_of(dep_job, typeof(*job), dep);
drivers/gpu/drm/xe/xe_tlb_inval_job.c
53
container_of(job->fence, typeof(*ifence), base);
drivers/gpu/drm/xe/xe_tlb_inval_job.c
71
container_of(dep_job, typeof(*job), dep);
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
162
typeof(*block),
drivers/gpu/drm/xe/xe_userptr.c
130
struct xe_userptr_vma *uvma = container_of(mni, typeof(*uvma), userptr.notifier);
drivers/hid/bpf/progs/hid_bpf_async.h
49
typeof(cb(0, 0, 0)) cb(void *map, int *key, void *value) \
drivers/hid/bpf/progs/hid_bpf_async.h
89
typeof(fun(0)) fun
drivers/hv/mshv.h
15
0, sizeof_field(typeof(STRUCT), MEMBER))
drivers/hwmon/nct6694-hwmon.c
32
({ typeof(x) (_x) = (x); \
drivers/hwmon/nct7363.c
27
#define FANIN_SEL(_x) ({typeof(_x) (x) = (_x); \
drivers/hwtracing/coresight/coresight-trbe.c
1382
drvdata->cpudata = alloc_percpu(typeof(*drvdata->cpudata));
drivers/i3c/master/dw-i3c-master.c
1580
container_of(work, typeof(*master), hj_work);
drivers/iio/accel/msa311.c
339
typeof(&(msa311_reg_fields)[0]) _field; \
drivers/infiniband/core/multicast.c
432
group = container_of(work, typeof(*group), work);
drivers/infiniband/core/sa_query.c
2376
container_of(handler, typeof(*sa_dev), event_handler);
drivers/infiniband/core/ucma.c
1128
if (in_len < offsetofend(typeof(cmd), reserved))
drivers/infiniband/core/ucma.c
1142
if (offsetofend(typeof(cmd), ece) <= in_size) {
drivers/infiniband/core/ucma.c
1189
if (in_len < offsetofend(typeof(cmd), reserved))
drivers/infiniband/core/ucma.c
1199
if (offsetofend(typeof(cmd), ece) <= in_size) {
drivers/infiniband/core/uverbs_std_types_cq.c
66
typeof(*obj), uevent.uobject);
drivers/infiniband/core/uverbs_std_types_qp.c
87
typeof(*obj), uevent.uobject);
drivers/infiniband/core/uverbs_std_types_srq.c
41
typeof(*obj), uevent.uobject);
drivers/infiniband/core/uverbs_std_types_wq.c
32
typeof(*obj), uevent.uobject);
drivers/infiniband/hw/bnxt_re/ib_verbs.c
257
if ((offsetofend(typeof(resp), packet_pacing_caps) <= outlen) &&
drivers/infiniband/hw/bnxt_re/qplib_fp.c
783
((offsetof(typeof(*srqe), data) + 15) >> 4);
drivers/infiniband/hw/efa/efa_common_defs.h
18
typeof(ptr) _ptr = ptr; \
drivers/infiniband/hw/efa/efa_verbs.c
1164
if (offsetofend(typeof(cmd), num_sub_cqs) > udata->inlen) {
drivers/infiniband/hw/efa/efa_verbs.c
702
if (offsetofend(typeof(cmd), driver_qp_type) > udata->inlen) {
drivers/infiniband/hw/hfi1/file_ops.c
231
uctxt->poll_type = (typeof(uctxt->poll_type))uval;
drivers/infiniband/hw/hns/hns_roce_cq.c
289
udata->outlen >= offsetofend(typeof(*resp), cap_flags)) {
drivers/infiniband/hw/hns/hns_roce_cq.c
394
if (udata->inlen >= offsetofend(typeof(*ucmd), cqe_size)) {
drivers/infiniband/hw/hns/hns_roce_qp.c
839
udata->outlen >= offsetofend(typeof(*resp), cap_flags) &&
drivers/infiniband/hw/hns/hns_roce_qp.c
841
udata->inlen >= offsetofend(typeof(*ucmd), sdb_addr));
drivers/infiniband/hw/hns/hns_roce_qp.c
850
udata->outlen >= offsetofend(typeof(*resp), cap_flags) &&
drivers/infiniband/hw/mlx4/main.c
1341
offsetof(typeof(filter), field) -\
drivers/infiniband/hw/mlx4/main.c
462
resp.response_length = offsetof(typeof(resp), response_length) +
drivers/infiniband/hw/mlx4/main.c
595
if (offsetofend(typeof(resp), rss_caps) <= uhw->outlen) {
drivers/infiniband/hw/mlx4/main.c
615
resp.response_length = offsetof(typeof(resp), rss_caps) +
drivers/infiniband/hw/mlx4/main.c
619
if (offsetofend(typeof(resp), tso_caps) <= uhw->outlen) {
drivers/infiniband/hw/mlx4/main.c
629
resp.response_length = offsetof(typeof(resp), tso_caps) +
drivers/infiniband/hw/mlx4/mcg.c
545
group = container_of(delay, typeof(*group), timeout_work);
drivers/infiniband/hw/mlx4/mcg.c
652
group = container_of(work, typeof(*group), work);
drivers/infiniband/hw/mlx4/qp.c
4139
required_cmd_sz = offsetof(typeof(ucmd), comp_mask) +
drivers/infiniband/hw/mlx4/qp.c
4276
required_cmd_sz = offsetof(typeof(ucmd), reserved) +
drivers/infiniband/hw/mlx4/qp.c
4353
min_resp_len = offsetof(typeof(resp), reserved) + sizeof(resp.reserved);
drivers/infiniband/hw/mlx4/qp.c
4381
resp.response_length = offsetof(typeof(resp), response_length) +
drivers/infiniband/hw/mlx4/qp.c
724
required_cmd_sz = offsetof(typeof(ucmd), reserved1) +
drivers/infiniband/hw/mlx5/fs.c
147
sizeof(filter) - offsetofend(typeof(filter), field))
drivers/infiniband/hw/mlx5/mad.c
119
counter_var = MLX5_GET_BE(typeof(counter_var), \
drivers/infiniband/hw/mlx5/main.c
1031
if (offsetofend(typeof(resp), tso_caps) <= uhw_outlen) {
drivers/infiniband/hw/mlx5/main.c
1041
if (offsetofend(typeof(resp), rss_caps) <= uhw_outlen) {
drivers/infiniband/hw/mlx5/main.c
1057
if (offsetofend(typeof(resp), tso_caps) <= uhw_outlen)
drivers/infiniband/hw/mlx5/main.c
1059
if (offsetofend(typeof(resp), rss_caps) <= uhw_outlen)
drivers/infiniband/hw/mlx5/main.c
1197
if (offsetofend(typeof(resp), cqe_comp_caps) <= uhw_outlen) {
drivers/infiniband/hw/mlx5/main.c
1215
if (offsetofend(typeof(resp), packet_pacing_caps) <= uhw_outlen &&
drivers/infiniband/hw/mlx5/main.c
1233
if (offsetofend(typeof(resp), mlx5_ib_support_multi_pkt_send_wqes) <=
drivers/infiniband/hw/mlx5/main.c
1247
if (offsetofend(typeof(resp), flags) <= uhw_outlen) {
drivers/infiniband/hw/mlx5/main.c
1271
if (offsetofend(typeof(resp), sw_parsing_caps) <= uhw_outlen) {
drivers/infiniband/hw/mlx5/main.c
1291
if (offsetofend(typeof(resp), striding_rq_caps) <= uhw_outlen &&
drivers/infiniband/hw/mlx5/main.c
1314
if (offsetofend(typeof(resp), tunnel_offloads_caps) <= uhw_outlen) {
drivers/infiniband/hw/mlx5/main.c
1333
if (offsetofend(typeof(resp), dci_streams_caps) <= uhw_outlen) {
drivers/infiniband/hw/mlx5/main.c
1343
if (offsetofend(typeof(resp), reserved) <= uhw_outlen)
drivers/infiniband/hw/mlx5/main.c
1346
if (offsetofend(typeof(resp), reg_c0) <= uhw_outlen) {
drivers/infiniband/hw/mlx5/mlx5_ib.h
1624
if ((offsetofend(typeof(*ucmd), uidx) <= inlen) && !cqe_version &&
drivers/infiniband/hw/mlx5/mlx5_ib.h
1628
if ((offsetofend(typeof(*ucmd), uidx) <= inlen) != !!cqe_version)
drivers/infiniband/hw/mlx5/mlx5_ib.h
1641
if ((offsetofend(typeof(*ucmd), uidx) <= inlen) && !cqe_version &&
drivers/infiniband/hw/mlx5/mlx5_ib.h
1645
if ((offsetofend(typeof(*ucmd), uidx) <= inlen) != !!cqe_version)
drivers/infiniband/hw/mlx5/mr.c
2591
min(offsetofend(typeof(resp), response_length), udata->outlen);
drivers/infiniband/hw/mlx5/qp.c
4592
u32 min_resp_len = offsetofend(typeof(resp), dctn);
drivers/infiniband/hw/mlx5/qp.c
4710
if (udata->inlen < offsetofend(typeof(ucmd), ece_options))
drivers/infiniband/sw/rxe/rxe_cq.c
126
struct rxe_cq *cq = container_of(elem, typeof(*cq), elem);
drivers/infiniband/sw/rxe/rxe_mcast.c
262
struct rxe_mcg *mcg = container_of(kref, typeof(*mcg), ref_cnt);
drivers/infiniband/sw/rxe/rxe_mr.c
809
struct rxe_mr *mr = container_of(elem, typeof(*mr), elem);
drivers/infiniband/sw/rxe/rxe_mw.c
314
struct rxe_mw *mw = container_of(elem, typeof(*mw), elem);
drivers/infiniband/sw/rxe/rxe_pool.c
172
struct rxe_pool_elem *elem = container_of(kref, typeof(*elem), ref_cnt);
drivers/infiniband/sw/rxe/rxe_qp.c
855
struct rxe_qp *qp = container_of(work, typeof(*qp), cleanup_work.work);
drivers/infiniband/sw/rxe/rxe_qp.c
922
struct rxe_qp *qp = container_of(elem, typeof(*qp), elem);
drivers/infiniband/sw/rxe/rxe_srq.c
187
struct rxe_srq *srq = container_of(elem, typeof(*srq), elem);
drivers/infiniband/ulp/ipoib/ipoib_cm.c
1355
p = list_entry(priv->cm.start_list.next, typeof(*p), list);
drivers/infiniband/ulp/ipoib/ipoib_cm.c
1409
p = list_entry(priv->cm.reap_list.next, typeof(*p), list);
drivers/infiniband/ulp/ipoib/ipoib_cm.c
1488
p = list_entry(priv->cm.passive_ids.prev, typeof(*p), list);
drivers/infiniband/ulp/ipoib/ipoib_cm.c
225
p = list_entry(priv->cm.rx_flush_list.next, typeof(*p), list);
drivers/infiniband/ulp/ipoib/ipoib_cm.c
942
p = list_entry(priv->cm.passive_ids.next, typeof(*p), list);
drivers/infiniband/ulp/rtrs/rtrs-clt-stats.c
187
stats->pcpu_stats = alloc_percpu(typeof(*stats->pcpu_stats));
drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c
339
clt_path = container_of(kobj, typeof(*clt_path), kobj);
drivers/infiniband/ulp/rtrs/rtrs-clt.c
1496
struct rtrs_clt_con *con = container_of(c, typeof(*con), c);
drivers/infiniband/ulp/rtrs/rtrs-clt.c
1584
clt_path->mp_skip_entry = alloc_percpu(typeof(*clt_path->mp_skip_entry));
drivers/infiniband/ulp/rtrs/rtrs-clt.c
2733
clt->pcpu_path = alloc_percpu(typeof(*clt->pcpu_path));
drivers/infiniband/ulp/rtrs/rtrs-clt.c
350
container_of(wc->wr_cqe, typeof(*req), inv_cqe);
drivers/infiniband/ulp/rtrs/rtrs-clt.c
764
return list_next_or_null_rcu(head, &clt_path->s.entry, typeof(*clt_path), s.entry) ?:
drivers/infiniband/ulp/rtrs/rtrs-clt.c
767
typeof(*clt_path), s.entry);
drivers/infiniband/ulp/rtrs/rtrs-clt.c
802
typeof(*path), s.entry);
drivers/infiniband/ulp/rtrs/rtrs-srv-sysfs.c
73
srv_path = container_of(kobj, typeof(*srv_path), kobj);
drivers/infiniband/ulp/rtrs/rtrs-srv.c
1184
container_of(wc->wr_cqe, typeof(*mr), inv_cqe);
drivers/infiniband/ulp/rtrs/rtrs-srv.c
1591
srv_path = container_of(work, typeof(*srv_path), close_work);
drivers/infiniband/ulp/rtrs/rtrs-srv.c
692
struct rtrs_srv_con *con = container_of(c, typeof(*con), c);
drivers/infiniband/ulp/rtrs/rtrs.c
360
path = container_of(to_delayed_work(work), typeof(*path), hb_dwork);
drivers/infiniband/ulp/rtrs/rtrs.c
583
dev = container_of(ref, typeof(*dev), ref);
drivers/infiniband/ulp/srp/ib_srp.c
1031
container_of(*attr, typeof(*dev_attr), attr);
drivers/infiniband/ulp/srp/ib_srp.c
469
d = list_first_entry(&pool->free_list, typeof(*d), entry);
drivers/infiniband/ulp/srpt/ib_srpt.c
3189
struct srpt_device *sdev = container_of(refcnt, typeof(*sdev), refcnt);
drivers/infiniband/ulp/srpt/ib_srpt.c
3383
struct srpt_tpg *stpg = container_of(tpg, typeof(*stpg), tpg);
drivers/infiniband/ulp/srpt/ib_srpt.c
3814
struct srpt_tpg *stpg = container_of(tpg, typeof(*stpg), tpg);
drivers/infiniband/ulp/srpt/ib_srpt.c
3870
struct srpt_port_id *port_id = container_of(wwn, typeof(*port_id), wwn);
drivers/input/mouse/byd.c
230
typeof(jiffies) last_touch_time;
drivers/input/mouse/byd.c
292
typeof(jiffies) tap_time =
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
1441
typeof(&pgtbl_cfg->arm_lpae_s1_cfg.tcr) tcr =
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
1725
typeof(&pgtbl_cfg->arm_lpae_s2_cfg.vtcr) vtcr =
drivers/iommu/dma-iommu.c
500
struct resource_entry *res_a = list_entry(a, typeof(*res_a), node);
drivers/iommu/dma-iommu.c
501
struct resource_entry *res_b = list_entry(b, typeof(*res_b), node);
drivers/iommu/io-pgtable-arm.c
1069
typeof(&cfg->arm_lpae_s2_cfg.vtcr) vtcr = &cfg->arm_lpae_s2_cfg.vtcr;
drivers/iommu/io-pgtable-arm.c
963
typeof(&cfg->arm_lpae_s1_cfg.tcr) tcr = &cfg->arm_lpae_s1_cfg.tcr;
drivers/iommu/iommufd/iommufd_private.h
283
offsetof(typeof(*(ptr)), \
drivers/iommu/iommufd/iommufd_private.h
286
typeof(*(ptr)), obj)
drivers/iommu/iommufd/iommufd_private.h
303
offsetof(typeof(*(ptr)), \
drivers/iommu/iommufd/iommufd_private.h
306
typeof(*(ptr)), obj)
drivers/iommu/iommufd/pages.c
1466
typeof(&vfio_pci_dma_buf_iommufd_map) fn;
drivers/iommu/iommufd/pages.c
284
enum { MAX_NPFNS = type_max(typeof(((struct pfn_batch *)0)->npfns[0])) };
drivers/iommu/iova.c
697
struct iova_rcache *rcache = container_of(work, typeof(*rcache), work.work);
drivers/irqchip/irq-gic-v3.c
2013
gic_data.rdists.rdist = alloc_percpu(typeof(*gic_data.rdists.rdist));
drivers/irqchip/irq-renesas-rzv2h.c
71
typeof(field_width) (_field_width) = (field_width); \
drivers/irqchip/irq-renesas-rzv2h.c
77
typeof(field_width) (_field_width) = (field_width); \
drivers/irqchip/irq-riscv-imsic-state.c
494
imsic->lpriv = alloc_percpu(typeof(*imsic->lpriv));
drivers/irqchip/irq-riscv-imsic-state.c
819
global->local = alloc_percpu(typeof(*global->local));
drivers/mailbox/arm_mhuv3.c
216
typeof(_regptr) _rptr = _regptr; \
drivers/mailbox/arm_mhuv3.c
217
typeof(_bitmask) _bmask = _bitmask; \
drivers/mailbox/mtk-cmdq-mailbox.c
260
&thread->task_busy_list, typeof(*task), list_entry);
drivers/md/bcache/sysfs.h
61
__builtin_types_compatible_p(typeof(var), int) \
drivers/md/bcache/sysfs.h
63
__builtin_types_compatible_p(typeof(var), unsigned int) \
drivers/md/bcache/sysfs.h
65
__builtin_types_compatible_p(typeof(var), long) \
drivers/md/bcache/sysfs.h
67
__builtin_types_compatible_p(typeof(var), unsigned long)\
drivers/md/bcache/sysfs.h
69
__builtin_types_compatible_p(typeof(var), int64_t) \
drivers/md/bcache/sysfs.h
71
__builtin_types_compatible_p(typeof(var), uint64_t) \
drivers/md/bcache/sysfs.h
73
__builtin_types_compatible_p(typeof(var), const char *) \
drivers/md/bcache/util.h
227
typeof(*((dest)->data)) _t; \
drivers/md/bcache/util.h
253
typeof((array)->freelist) _ret = (array)->freelist; \
drivers/md/bcache/util.h
256
(array)->freelist = *((typeof((array)->freelist) *) _ret);\
drivers/md/bcache/util.h
263
typeof((array)->freelist) _ptr = ptr; \
drivers/md/bcache/util.h
265
*((typeof((array)->freelist) *) _ptr) = (array)->freelist; \
drivers/md/bcache/util.h
271
typeof((array)->freelist) _i; \
drivers/md/bcache/util.h
311
(__builtin_types_compatible_p(typeof(*res), int) \
drivers/md/bcache/util.h
313
: __builtin_types_compatible_p(typeof(*res), long) \
drivers/md/bcache/util.h
315
: __builtin_types_compatible_p(typeof(*res), long long) \
drivers/md/bcache/util.h
317
: __builtin_types_compatible_p(typeof(*res), unsigned int) \
drivers/md/bcache/util.h
319
: __builtin_types_compatible_p(typeof(*res), unsigned long) \
drivers/md/bcache/util.h
321
: __builtin_types_compatible_p(typeof(*res), unsigned long long)\
drivers/md/bcache/util.h
338
var = clamp_t(typeof(var), _v, min, max); \
drivers/md/bcache/util.h
437
typeof(n) _n = (n); \
drivers/md/bcache/util.h
438
typeof(d) _d = (d); \
drivers/md/bcache/util.h
446
typeof(ptr) _ptr = ptr; \
drivers/md/bcache/util.h
454
typeof(new) this; \
drivers/md/bcache/util.h
459
this = container_of(*n, typeof(*(new)), member); \
drivers/md/bcache/util.h
478
typeof(&(search)) this, ret = NULL; \
drivers/md/bcache/util.h
482
this = container_of(n, typeof(search), member); \
drivers/md/bcache/util.h
498
typeof(&(search)) this, ret = NULL; \
drivers/md/bcache/util.h
502
this = container_of(n, typeof(search), member); \
drivers/md/bcache/util.h
520
container_of_or_null(rb_next(&(ptr)->member), typeof(*ptr), member)
drivers/md/bcache/util.h
523
container_of_or_null(rb_prev(&(ptr)->member), typeof(*ptr), member)
drivers/md/dm-clone-target.c
1276
struct clone *clone = container_of(work, typeof(*clone), worker);
drivers/md/dm-writecache.c
47
typeof(dest) uniq = (src); \
drivers/md/raid5.c
5562
sh = list_entry(handle_list->next, typeof(*sh), lru);
drivers/media/firewire/firedtv-dvb.c
94
dvbdmxfeed->priv = (typeof(dvbdmxfeed->priv))(unsigned long)c;
drivers/media/mc/mc-entity.c
1667
: list_first_entry(&entity->links, typeof(*link), list);
drivers/media/mc/mc-entity.c
365
link = list_entry(link_top(graph), typeof(*link), list);
drivers/media/mc/mc-entity.c
619
link = list_entry(entry->links, typeof(*link), list);
drivers/media/mc/mc-entity.c
712
ppad = list_first_entry(&pipe->pads, typeof(*ppad), list);
drivers/media/pci/dt3155/dt3155.c
202
vb = list_first_entry(&pd->dmaq, typeof(*vb), done_entry);
drivers/media/pci/dt3155/dt3155.c
261
ivb = list_first_entry(&ipd->dmaq, typeof(*ivb), done_entry);
drivers/media/pci/ttpci/budget-ci.c
107
struct budget_ci *budget_ci = container_of(ir, typeof(*budget_ci), ir);
drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.h
14
typeof(mask) (m) = (mask); \
drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.h
26
typeof(cmd) (c) = (cmd); \
drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.h
27
typeof(evt) (e) = (evt); \
drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.h
33
typeof(cmd) (c) = (cmd); \
drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.h
34
typeof(evt) (e) = (evt); \
drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.h
40
typeof(cmd) (c) = (cmd); \
drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.h
41
typeof(evt) (e) = (evt); \
drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.h
47
typeof(cmd) (c) = (cmd); \
drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.h
48
typeof(evt) (e) = (evt); \
drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.h
54
typeof(_mask) (_m) = (_mask); \
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
30
typeof(n) _n = n; \
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
31
typeof(value) _value = value; \
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
37
typeof(n) _n_ = n; \
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
38
typeof(value) _value_ = value; \
drivers/media/platform/qcom/camss/camss.c
4460
typeof(*csd));
drivers/media/platform/qcom/iris/iris_resources.c
32
bw_kbps = clamp_t(typeof(bw_kbps), bw_kbps,
drivers/media/platform/renesas/vsp1/vsp1_video.c
588
struct vsp1_pipeline *pipe = container_of(kref, typeof(*pipe), kref);
drivers/media/platform/samsung/exynos4-is/media-dev.c
391
p = list_entry(fmd->pipelines.next, typeof(*p), list);
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_common.h
768
((f && f->op) ? f->op(args) : (typeof(f->op(args)))(-ENODEV))
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-bytecap.c
438
vcap->next = list_first_entry(&vcap->buffers, typeof(*buf), list);
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
62
typeof(n) _n = n; \
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
63
typeof(value) _value = value; \
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
69
typeof(n) _n_ = n; \
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
70
typeof(value) _value_ = value; \
drivers/media/test-drivers/vimc/vimc-capture.c
362
typeof(*vimc_buf), list);
drivers/media/usb/gspca/gspca.c
396
typeof(*buf), list);
drivers/media/usb/uvc/uvc_v4l2.c
1099
if (copy_to_user(up, kp, offsetof(typeof(*up), menu_info)) ||
drivers/media/usb/uvc/uvc_v4l2.c
1138
if (copy_to_user(up, kp, offsetof(typeof(*up), data)))
drivers/media/v4l2-core/tuner-core.c
190
typeof(&FUNCTION) __a = symbol_request(FUNCTION); \
drivers/media/v4l2-core/v4l2-compat-ioctl32.c
339
typeof(p64->m) m = {};
drivers/media/v4l2-core/v4l2-ctrls-core.c
476
val = clamp_t(typeof(val), val, \
drivers/misc/vcpu_stall_detector.c
149
typeof(struct vcpu_stall_priv));
drivers/mmc/core/block.c
2672
size = (typeof(sector_t))card->csd.capacity
drivers/mmc/core/sd.c
179
csd->capacity = (1 + (typeof(sector_t))m) << 10;
drivers/mmc/host/renesas_sdhi_internal_dmac.c
493
struct renesas_sdhi *priv = container_of(dma_priv, typeof(*priv), dma_priv);
drivers/most/core.c
776
typeof(c->iface->enqueue) enqueue = c->iface->enqueue;
drivers/most/most_cdev.c
41
DECLARE_KFIFO_PTR(fifo, typeof(struct mbo *));
drivers/mtd/devices/block2mtd.c
515
struct block2mtd_dev *dev = list_entry(pos, typeof(*dev), list);
drivers/mtd/ubi/ubi.h
1055
pos = (rb ? container_of(rb, typeof(*pos), member) : NULL); \
drivers/mtd/ubi/ubi.h
1058
pos = (rb ? container_of(rb, typeof(*pos), member) : NULL))
drivers/net/can/rcar/rcar_canfd.c
221
typeof(gpriv) (_gpriv) = (gpriv); \
drivers/net/can/rcar/rcar_canfd.c
86
typeof(gpriv) (_gpriv) = (gpriv); \
drivers/net/can/usb/etas_es58x/es581_4.c
32
offsetof(typeof(msg), data[can_cc_dlc2len((msg).dlc)])
drivers/net/can/usb/etas_es58x/es581_4.c
375
tx_can_msg = (typeof(tx_can_msg))&es581_4_urb_cmd->raw_msg[msg_len];
drivers/net/can/usb/etas_es58x/es58x_fd.c
35
typeof(msg) __msg = (msg); \
drivers/net/can/usb/etas_es58x/es58x_fd.c
361
tx_can_msg = (typeof(tx_can_msg))&es58x_fd_urb_cmd->raw_msg[msg_len];
drivers/net/can/usb/etas_es58x/es58x_fd.c
43
offsetof(typeof(__msg), data[__msg_len]); \
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
560
tx_level += ((typeof(pdata->tx_level[index]))~0U);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
6636
bp->strm->next_in = (typeof(bp->strm->next_in))zbuf + n;
drivers/net/ethernet/cavium/liquidio/octeon_device.h
622
typeof(oct) _oct = (oct); \
drivers/net/ethernet/engleder/tsnep_hw.h
92
#define TSNEP_QUEUE(n) ({ typeof(n) __n = (n); \
drivers/net/ethernet/hisilicon/hibmcge/hbg_hw.h
38
typeof(priv) _priv = (priv); \
drivers/net/ethernet/hisilicon/hibmcge/hbg_hw.h
39
typeof(addr) _addr = (addr); \
drivers/net/ethernet/hisilicon/hibmcge/hbg_txrx.c
20
typeof(ring) _ring = (ring); \
drivers/net/ethernet/hisilicon/hibmcge/hbg_txrx.c
23
typeof(ring) _r = (ring); \
drivers/net/ethernet/hisilicon/hibmcge/hbg_txrx.c
31
typeof(ring) _ring = (ring); \
drivers/net/ethernet/hisilicon/hibmcge/hbg_txrx.c
35
typeof(ring) _ring = (ring); \
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
678
typeof(ring) (tmp) = (ring); \
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
2875
({ typeof(vf_num) vf_num_ = (vf_num); \
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
2876
typeof(num_ports) num_ports_ = (num_ports); \
drivers/net/ethernet/intel/ice/ice_common.c
101
for (u32 i = 0; i < BITS_PER_TYPE(typeof(low)); i++) {
drivers/net/ethernet/intel/ice/ice_common.c
109
for (u32 i = 0; i < BITS_PER_TYPE(typeof(high)); i++) {
drivers/net/ethernet/intel/ice/ice_eswitch_br.c
568
fdb_info = container_of(info, typeof(*fdb_info), info);
drivers/net/ethernet/intel/ice/ice_gnss.c
125
data_len = min_t(typeof(data_len), data_len, PAGE_SIZE);
drivers/net/ethernet/intel/ice/ice_gnss.c
137
bytes_read = min_t(typeof(bytes_left), bytes_left,
drivers/net/ethernet/intel/ice/ice_switch.c
2778
rx_tx = (typeof(rx_tx))((u8 *)lg_act + lg_act_size);
drivers/net/ethernet/intel/ice/ice_txrx_lib.c
528
rx_ring = libeth_xdp_buff_to_rq(xdp_ext, typeof(*rx_ring), xdp_rxq);
drivers/net/ethernet/intel/ice/ice_txrx_lib.c
584
rx_ring = libeth_xdp_buff_to_rq(xdp_ext, typeof(*rx_ring), xdp_rxq);
drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c
1009
rxq = libeth_xdp_buff_to_rq(xdp, typeof(*rxq), xdp_rxq);
drivers/net/ethernet/intel/idpf/idpf_txrx.c
3433
rxq = libeth_xdp_buff_to_rq(xdp, typeof(*rxq), xdp_rxq);
drivers/net/ethernet/intel/idpf/xdp.c
387
const struct libeth_xdp_buff *xdp = (typeof(xdp))ctx;
drivers/net/ethernet/intel/idpf/xdp.c
392
rxq = libeth_xdp_buff_to_rq(xdp, typeof(*rxq), xdp_rxq);
drivers/net/ethernet/intel/idpf/xdp.c
408
const struct libeth_xdp_buff *xdp = (typeof(xdp))ctx;
drivers/net/ethernet/intel/idpf/xdp.c
414
rxq = libeth_xdp_buff_to_rq(xdp, typeof(*rxq), xdp_rxq);
drivers/net/ethernet/intel/idpf/xdp.h
141
desc->qw0 = ((const typeof(desc))rxd)->qw0;
drivers/net/ethernet/intel/idpf/xdp.h
153
desc->qw1 = ((const typeof(desc))rxd)->qw1;
drivers/net/ethernet/intel/idpf/xdp.h
168
desc->qw2 = ((const typeof(desc))rxd)->qw2;
drivers/net/ethernet/intel/idpf/xdp.h
181
desc->qw3 = ((const typeof(desc))rxd)->qw3;
drivers/net/ethernet/intel/libeth/xsk.c
139
xsk = container_of(&xdp->base, typeof(*xsk), xdp);
drivers/net/ethernet/jme.c
1570
if (unlikely(intrstat == ~((typeof(intrstat))0)))
drivers/net/ethernet/marvell/octeon_ep/octep_main.h
50
#define IQ_INSTR_PENDING(iq) ({ typeof(iq) iq__ = (iq); \
drivers/net/ethernet/marvell/octeon_ep/octep_main.h
54
#define IQ_INSTR_SPACE(iq) ({ typeof(iq) iq_ = (iq); \
drivers/net/ethernet/marvell/octeon_ep/octep_regs_cnxk_pf.h
401
#define CNXK_PEMX_PFX_CSX_PFCFGX(pem, pf, offset) ({ typeof(offset) _off = (offset); \
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.h
35
#define IQ_INSTR_PENDING(iq) ({ typeof(iq) iq__ = (iq); \
drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.h
39
#define IQ_INSTR_SPACE(iq) ({ typeof(iq) iq_ = (iq); \
drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c
31
typeof(rsp) _rsp = rsp; \
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
3295
typeof(_pkt) (pkt) = (_pkt); \
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
3296
typeof(_mask) (mask) = (_mask); \
drivers/net/ethernet/mediatek/mtk_eth_soc.h
121
#define MTK_GDMA_FWD_CFG(x) ({ typeof(x) _x = (x); (_x == MTK_GMAC3_ID) ? \
drivers/net/ethernet/mediatek/mtk_eth_soc.h
132
#define MTK_GDMA_EG_CTRL(x) ({ typeof(x) _x = (x); (_x == MTK_GMAC3_ID) ? \
drivers/net/ethernet/mediatek/mtk_eth_soc.h
137
#define MTK_GDMA_MAC_ADRL(x) ({ typeof(x) _x = (x); (_x == MTK_GMAC3_ID) ? \
drivers/net/ethernet/mediatek/mtk_eth_soc.h
141
#define MTK_GDMA_MAC_ADRH(x) ({ typeof(x) _x = (x); (_x == MTK_GMAC3_ID) ? \
drivers/net/ethernet/mellanox/mlx4/alloc.c
293
typeof(*next),
drivers/net/ethernet/mellanox/mlx4/alloc.c
397
typeof(*curr_node),
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
1325
((field) == 0 || (field) == (__force typeof(field))-1)
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
1914
msg = list_entry(ch->head.next, typeof(*msg), list);
drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c
94
PRINT_MASKED_VALP(src_ipv4, typeof(&src_ipv4.v), p,
drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c
96
PRINT_MASKED_VALP(dst_ipv4, typeof(&dst_ipv4.v), p,
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
554
#define all_ones(field) (field == (__force typeof(field))-1)
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
556
((field) == 0 || (field) == (__force typeof(field))-1)
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
2242
typeof(dst) __dst = dst;\
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2786
typeof(*ns),
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
380
#define fs_get_obj(v, _node) {v = container_of((_node), typeof(*v), node); }
drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c
16
({ typeof(a) _a = (a); \
drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c
23
({ typeof(bulk) _bulk = (bulk); \
drivers/net/ethernet/mellanox/mlxsw/reg.h
9487
#define MLXSW_REG_MTMP_TEMP_TO_MC(val) ({ typeof(val) v_ = (val); \
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
1271
typeof(*ventry), list);
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
1339
typeof(*vchunk), list);
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
351
typeof(*vchunk), list);
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
363
typeof(*vchunk), list);
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
375
typeof(*vregion), list);
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
378
typeof(*vregion), list);
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
407
region2 = list_entry(pos, typeof(*region2), list);
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
456
vregion2 = list_entry(pos, typeof(*vregion2), list);
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
497
vregion = list_entry(pos, typeof(*vregion), list);
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
503
vregion2 = list_entry(pos->next, typeof(*vregion2),
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
977
vchunk2 = list_entry(pos, typeof(*vchunk2), list);
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
1990
chup = container_of(info, typeof(*chup), info);
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
2022
chup = container_of(info, typeof(*chup), info);
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
2209
typeof(*neigh_entry),
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
3311
typeof(*nh), router_list_node);
drivers/net/ethernet/meta/fbnic/fbnic_fw_log.c
90
head = list_first_entry(&log->entries, typeof(*head), list);
drivers/net/ethernet/netronome/nfp/bpf/jit.c
23
for (pos = list_first_entry(&(nfp_prog)->insns, typeof(*pos), l), \
drivers/net/ethernet/netronome/nfp/bpf/jit.c
31
for (pos = list_first_entry(&(nfp_prog)->insns, typeof(*pos), l), \
drivers/net/ethernet/netronome/nfp/flower/conntrack.h
14
typeof(__match1) _match1 = (__match1); \
drivers/net/ethernet/netronome/nfp/flower/conntrack.h
15
typeof(__match2) _match2 = (__match2); \
drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c
1170
typeof(var) *__p_var = &(var); \
drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c
1171
typeof(offset) __offset = offset; \
drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c
90
typeof(rate) __rate = (rate); \
drivers/net/ethernet/qlogic/qed/qed_mcp.h
814
({ typeof(params) __params = (params); \
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
506
typeof(cmd->link_modes) *link_modes = &cmd->link_modes;
drivers/net/ethernet/sfc/mae.c
1893
typeof(_value) _v = _value; \
drivers/net/ethernet/sfc/tc.h
19
#define IS_ALL_ONES(v) (!(typeof (v))~(v))
drivers/net/ethernet/stmicro/stmmac/stmmac_est.h
41
typeof(val) _val = (val); \
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
1487
dissector->offset[FLOW_DISSECTOR_KEY_PORTS] = offsetof(typeof(keys), key);
drivers/net/ethernet/synopsys/dwc-xlgmac.h
102
typeof(pos) _pos = (pos); \
drivers/net/ethernet/synopsys/dwc-xlgmac.h
103
typeof(len) _len = (len); \
drivers/net/ethernet/synopsys/dwc-xlgmac.h
108
typeof(pos) _pos = (pos); \
drivers/net/ethernet/synopsys/dwc-xlgmac.h
109
typeof(len) _len = (len); \
drivers/net/ethernet/synopsys/dwc-xlgmac.h
110
typeof(var) _var = le32_to_cpu((var)); \
drivers/net/ethernet/synopsys/dwc-xlgmac.h
115
typeof(var) _var = (var); \
drivers/net/ethernet/synopsys/dwc-xlgmac.h
116
typeof(pos) _pos = (pos); \
drivers/net/ethernet/synopsys/dwc-xlgmac.h
117
typeof(len) _len = (len); \
drivers/net/ethernet/synopsys/dwc-xlgmac.h
118
typeof(val) _val = (val); \
drivers/net/ethernet/synopsys/dwc-xlgmac.h
124
typeof(var) _var = (var); \
drivers/net/ethernet/synopsys/dwc-xlgmac.h
125
typeof(pos) _pos = (pos); \
drivers/net/ethernet/synopsys/dwc-xlgmac.h
126
typeof(len) _len = (len); \
drivers/net/ethernet/synopsys/dwc-xlgmac.h
127
typeof(val) _val = (val); \
drivers/net/ethernet/synopsys/dwc-xlgmac.h
96
typeof(ring) _ring = (ring); \
drivers/net/ethernet/wangxun/libwx/wx_vf.h
50
typeof(v) _v = (v); \
drivers/net/fddi/skfp/smt.c
1068
sif = smtod(mb, typeof(sif));
drivers/net/hyperv/rndis_filter.c
1044
set->info_buf_offset = offsetof(typeof(*set), info_buf);
drivers/net/ipvlan/ipvlan_core.c
558
skb->mac_header = (typeof(skb->mac_header))~0U;
drivers/net/ovpn/peer.c
178
typeof(_tbl) *__tbl2 = &(_tbl); \
drivers/net/ovpn/peer.c
183
typeof(_tbl) *__tbl1 = &(_tbl); \
drivers/net/thunderbolt/main.c
573
struct tbnet_frame *tf = container_of(frame, typeof(*tf), frame);
drivers/net/thunderbolt/main.c
625
struct tbnet *net = container_of(work, typeof(*net), connected_work);
drivers/net/thunderbolt/main.c
692
struct tbnet *net = container_of(work, typeof(*net), login_work.work);
drivers/net/thunderbolt/main.c
727
struct tbnet *net = container_of(work, typeof(*net), disconnect_work);
drivers/net/thunderbolt/main.c
836
tf = container_of(frame, typeof(*tf), frame);
drivers/net/virtio_net.c
1685
typeof(vi) v = (vi); \
drivers/net/virtio_net.c
1703
typeof(vi) v = (vi); \
drivers/net/wireless/ath/ath10k/debug.c
1775
arvif = list_first_entry(&ar->arvifs, typeof(*arvif), list);
drivers/net/wireless/ath/ath10k/spectral.c
176
return list_first_entry(&ar->arvifs, typeof(*arvif), list);
drivers/net/wireless/ath/ath11k/dp_rx.c
1536
typeof(*ppdu_info), list);
drivers/net/wireless/ath/ath11k/spectral.c
172
return list_first_entry(&ar->arvifs, typeof(*arvif), list);
drivers/net/wireless/ath/ath12k/debug.h
68
typeof(dbg_mask) mask = (dbg_mask); \
drivers/net/wireless/ath/ath12k/dp.h
239
#define DP_HW2SW_MACID(mac_id) ({ typeof(mac_id) x = (mac_id); x ? x - 1 : 0; })
drivers/net/wireless/ath/ath12k/dp_htt.c
381
typeof(*ppdu_info), list);
drivers/net/wireless/ath/ath12k/wifi7/hal.h
75
#define HAL_TCL1_RING_MSI1_BASE_LSB_OFFSET(hal) ({ typeof(hal) _hal = (hal); \
drivers/net/wireless/ath/ath12k/wifi7/hal.h
77
#define HAL_TCL1_RING_MSI1_BASE_MSB_OFFSET(hal) ({ typeof(hal) _hal = (hal); \
drivers/net/wireless/ath/ath12k/wifi7/hal.h
79
#define HAL_TCL1_RING_MSI1_DATA_OFFSET(hal) ({ typeof(hal) _hal = (hal); \
drivers/net/wireless/ath/ath12k/wifi7/hal.h
81
#define HAL_TCL1_RING_BASE_MSB_OFFSET(hal) ({ typeof(hal) _hal = (hal); \
drivers/net/wireless/ath/ath12k/wifi7/hal.h
83
#define HAL_TCL1_RING_ID_OFFSET(hal) ({ typeof(hal) _hal = (hal); \
drivers/net/wireless/ath/ath12k/wifi7/hal.h
85
#define HAL_TCL1_RING_CONSR_INT_SETUP_IX0_OFFSET(hal) ({ typeof(hal) _hal = (hal); \
drivers/net/wireless/ath/ath12k/wifi7/hal.h
87
#define HAL_TCL1_RING_CONSR_INT_SETUP_IX1_OFFSET(hal) ({ typeof(hal) _hal = (hal); \
drivers/net/wireless/ath/ath12k/wifi7/hal.h
89
#define HAL_TCL1_RING_TP_ADDR_LSB_OFFSET(hal) ({ typeof(hal) _hal = (hal); \
drivers/net/wireless/ath/ath12k/wifi7/hal.h
91
#define HAL_TCL1_RING_TP_ADDR_MSB_OFFSET(hal) ({ typeof(hal) _hal = (hal); \
drivers/net/wireless/ath/ath12k/wifi7/hal.h
93
#define HAL_TCL1_RING_MISC_OFFSET(hal) ({ typeof(hal) _hal = (hal); \
drivers/net/wireless/broadcom/b43/dma.c
954
typeof(a) __a = a; \
drivers/net/wireless/broadcom/b43/dma.c
960
typeof(a) __a = a; \
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
2850
list_entry(list->next, typeof(*entry), list);
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
3249
container_of(work, typeof(*wks), wk.work);
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
3251
container_of(wks, typeof(*fwrt), dump.wks[wks->idx]);
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
735
if (length < offsetof(typeof(*region), special_mem) +
drivers/net/wireless/intel/iwlwifi/iwl-trans.c
206
struct iwl_trans *trans = container_of(wk, typeof(*trans),
drivers/net/wireless/intel/iwlwifi/iwl-trans.c
77
typeof(*tmp), list))) {
drivers/net/wireless/intel/iwlwifi/iwl-trans.c
92
reprobe = container_of(wk, typeof(*reprobe), work.work);
drivers/net/wireless/intel/iwlwifi/mld/mld.h
540
if (__builtin_types_compatible_p(typeof(*mac80211_ptr), \
drivers/net/wireless/intel/iwlwifi/mld/mld.h
543
if (__builtin_types_compatible_p(typeof(*mac80211_ptr), \
drivers/net/wireless/intel/iwlwifi/mld/regulatory.c
337
int cmd_size = offsetof(typeof(cmd), oem_11bn_allow_bitmap);
drivers/net/wireless/intel/iwlwifi/mld/rx.c
805
typeof(enc_bits) _enc_bits = enc_bits; \
drivers/net/wireless/intel/iwlwifi/mld/rx.c
806
typeof(usig) _usig = usig; \
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
2562
BUILD_BUG_ON(offsetof(typeof(sta_ctxt_cmd), pkt_ext) !=
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
2563
offsetof(typeof(sta_ctxt_cmd_v2), pkt_ext));
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
2565
offsetof(typeof(sta_ctxt_cmd), pkt_ext));
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
2587
offsetofend(typeof(sta_ctxt_cmd), pkt_ext) !=
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
2589
offsetofend(typeof(sta_ctxt_cmd_v2), pkt_ext));
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
2591
offsetofend(typeof(sta_ctxt_cmd_v2), pkt_ext),
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
2593
offsetofend(typeof(sta_ctxt_cmd), pkt_ext),
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c
2595
offsetofend(typeof(sta_ctxt_cmd), pkt_ext));
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c
623
memset(lq_sta, 0, offsetof(typeof(*lq_sta), pers));
drivers/net/wireless/intel/iwlwifi/mvm/rs.c
2942
memset(lq_sta, 0, offsetof(typeof(*lq_sta), pers));
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
1265
typeof(enc_bits) _enc_bits = enc_bits; \
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
1266
typeof(usig) _usig = usig; \
drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info-v2.c
235
BUILD_BUG_ON(offsetofend(typeof(*prph_scratch), dram.common) +
drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info-v2.c
243
cpu_to_le32(offsetofend(typeof(*prph_scratch),
drivers/net/wireless/intel/iwlwifi/pcie/drv.c
20
#define _IS_A(cfg, _struct) __builtin_types_compatible_p(typeof(cfg), \
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans.c
4116
typeof(*trans_pcie),
drivers/net/wireless/marvell/mwifiex/cfg80211.c
4790
wiphy->max_ap_assoc_sta = max_t(typeof(wiphy->max_ap_assoc_sta),
drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c
616
struct mt76x02_dev *dev = container_of(dfs_pd, typeof(*dev), dfs_pd);
drivers/net/wireless/microchip/wilc1000/cfg80211.c
226
vif = list_first_or_null_rcu(&wl->vif_list, typeof(*vif), list);
drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c
350
hdr = (typeof(hdr))(skb_tail_pointer(skb) - sizeof(*hdr));
drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c
365
hdr = (typeof(hdr))(skb_tail_pointer(skb) - sizeof(*hdr));
drivers/net/wireless/realtek/rtl8xxxu/core.c
6098
if (skb->len >= offsetofend(typeof(*c2h), ra_report.bw)) {
drivers/net/wireless/realtek/rtlwifi/base.c
1234
({typeof(rate_id) _id = rate_id; \
drivers/net/wireless/realtek/rtlwifi/base.c
778
({typeof(rate_id) _id = rate_id; \
drivers/net/wireless/realtek/rtw88/coex.h
40
({ typeof(rssi) __rssi__ = rssi; \
drivers/net/wireless/realtek/rtw88/coex.h
45
({ typeof(rssi) __rssi__ = rssi; \
drivers/net/wireless/realtek/rtw88/coex.h
50
({ typeof(rssi) __rssi__ = rssi; \
drivers/net/wireless/realtek/rtw88/fw.c
162
if (ra_data->length >= offsetofend(typeof(*ra_rpt), bw))
drivers/net/wireless/realtek/rtw88/rtw8822c.c
4220
#define XCAP_EXTEND(val) ({typeof(val) _v = (val); _v | _v << 7; })
drivers/net/wireless/realtek/rtw88/rtw8822c.c
4265
#define REPORT_TO_KHZ(val) ({typeof(val) _v = (val); (_v << 1) + (_v >> 1); })
drivers/net/wireless/realtek/rtw89/acpi.c
1072
hdr = (typeof(hdr))data->buf;
drivers/net/wireless/realtek/rtw89/acpi.c
1119
hdr = (typeof(hdr))data->buf;
drivers/net/wireless/realtek/rtw89/acpi.c
173
ptr = (typeof(ptr))obj->buffer.pointer;
drivers/net/wireless/realtek/rtw89/acpi.c
224
ptr = (typeof(ptr))obj->buffer.pointer;
drivers/net/wireless/realtek/rtw89/acpi.c
268
ptr = (typeof(ptr))obj->buffer.pointer;
drivers/net/wireless/realtek/rtw89/acpi.c
311
ptr = (typeof(ptr))obj->buffer.pointer;
drivers/net/wireless/realtek/rtw89/acpi.c
356
ptr = (typeof(ptr))obj->buffer.pointer;
drivers/net/wireless/realtek/rtw89/chan.c
1178
*ptrn = (typeof(*ptrn)){
drivers/net/wireless/realtek/rtw89/chan.c
1401
*ptrn = (typeof(*ptrn)){
drivers/net/wireless/realtek/rtw89/chan.c
1460
ptrn = (typeof(ptrn)){
drivers/net/wireless/realtek/rtw89/coex.h
80
({typeof(_rssi_) __rssi = (_rssi_); \
drivers/net/wireless/realtek/rtw89/coex.h
85
({typeof(_rssi_) __rssi = (_rssi_); \
drivers/net/wireless/realtek/rtw89/coex.h
90
({typeof(_rssi_) __rssi = (_rssi_); \
drivers/net/wireless/realtek/rtw89/core.c
2508
struct ieee80211_mgmt *mgmt = (typeof(mgmt))hdr;
drivers/net/wireless/realtek/rtw89/core.c
2510
if (len < offsetof(typeof(*mgmt), u.beacon.variable))
drivers/net/wireless/realtek/rtw89/core.h
6442
typeof(links_holder) p = links_holder; \
drivers/net/wireless/realtek/rtw89/core.h
6443
list_first_entry_or_null(&p->dlink_pool, typeof(*p->links_inst), dlink_schd); \
drivers/net/wireless/realtek/rtw89/core.h
6929
typeof(rtwvif_link) p = rtwvif_link; \
drivers/net/wireless/realtek/rtw89/core.h
6959
typeof(rtwsta_link) p = rtwsta_link; \
drivers/net/wireless/realtek/rtw89/fw.c
6666
cfg_len = offsetofend(typeof(*h2c), w8);
drivers/net/wireless/realtek/rtw89/fw.c
8976
chinfo_ax = list_entry(pos, typeof(*chinfo_ax), list);
drivers/net/wireless/realtek/rtw89/fw.c
8980
chinfo_be = list_entry(pos, typeof(*chinfo_be), list);
drivers/net/wireless/realtek/rtw89/fw.h
4466
const union rtw89_compat_fw_hdr *compat = (typeof(compat))fw_buf;
drivers/net/wireless/realtek/rtw89/mac.h
586
({typeof(_addr) __addr = (_addr); \
drivers/net/wireless/realtek/rtw89/mac80211.c
1926
rpt = list_first_entry_or_null(&env->nhm_rpt_list, typeof(*rpt), list);
drivers/net/wireless/realtek/rtw89/phy.h
23
#define phy_div(a, b) ({typeof(b) _b = (b); (_b) ? ((a) / (_b)) : 0; })
drivers/net/wireless/realtek/rtw89/phy.h
822
typeof(dev) __dev = (dev); \
drivers/net/wireless/realtek/rtw89/reg.h
2696
typeof(port) _port = (port); \
drivers/net/wireless/realtek/rtw89/regd.c
350
typeof(_regd) __r = _regd; \
drivers/net/wireless/realtek/rtw89/sar.c
199
typeof(_src) _s = (_src); \
drivers/net/wireless/realtek/rtw89/sar.c
200
typeof(_dev) _d = (_dev); \
drivers/net/wwan/t7xx/t7xx_state_monitor.c
109
struct t7xx_fsm_command *cmd = container_of(ref, typeof(*cmd), refcnt);
drivers/net/wwan/wwan_hwsim.c
366
container_of(work, typeof(*port), del_work);
drivers/net/wwan/wwan_hwsim.c
383
struct wwan_hwsim_dev *dev = container_of(sysdev, typeof(*dev), dev);
drivers/net/wwan/wwan_hwsim.c
473
struct wwan_hwsim_dev *dev = container_of(work, typeof(*dev), del_work);
drivers/nvdimm/bus.c
707
struct device *dev = container_of(kobj, typeof(*dev), kobj);
drivers/nvdimm/core.c
467
struct device *dev = container_of(kobj, typeof(*dev), kobj);
drivers/nvdimm/dimm_devs.c
224
struct nvdimm_drvdata *ndd = container_of(kref, typeof(*ndd), kref);
drivers/nvdimm/dimm_devs.c
412
struct device *dev = container_of(kobj, typeof(*dev), kobj);
drivers/nvdimm/dimm_devs.c
525
struct device *dev = container_of(kobj, typeof(*dev), kobj);
drivers/nvdimm/namespace_devs.c
1748
typeof(*label_ent), list);
drivers/nvdimm/region_devs.c
638
struct device *dev = container_of(kobj, typeof(*dev), kobj);
drivers/nvdimm/security.c
488
container_of(work, typeof(*nvdimm), dwork.work);
drivers/nvme/host/fc.c
2063
container_of(op, typeof(*op_w_sgl), op);
drivers/nvme/target/fcloop.c
1749
typeof(*nport), nport_list);
drivers/nvme/target/fcloop.c
1779
typeof(*lport), lport_list);
drivers/of/address.c
196
r->end = wrapping_sub(typeof(r->end), r->start, 1);
drivers/of/irq.c
743
typeof(*desc), list);
drivers/perf/arm-cmn.c
1284
struct arm_cmn_format_attr *fmt = container_of(attr, typeof(*fmt), attr);
drivers/perf/arm-cmn.c
1758
e = container_of(arm_cmn_event_attrs[i], typeof(*e), attr.attr);
drivers/perf/arm-cmn.c
681
eattr = container_of(attr, typeof(*eattr), attr);
drivers/perf/arm-cmn.c
709
eattr = container_of(attr, typeof(*eattr), attr.attr);
drivers/perf/arm-ni.c
162
struct arm_ni_event_attr *eattr = container_of(attr, typeof(*eattr), attr);
drivers/perf/arm-ni.c
177
eattr = container_of(attr, typeof(*eattr), attr.attr);
drivers/perf/arm-ni.c
220
struct arm_ni_format_attr *fmt = container_of(attr, typeof(*fmt), attr);
drivers/perf/arm_cspmu/arm_cspmu.c
143
pmu_attr = container_of(attr, typeof(*pmu_attr), attr);
drivers/perf/arm_cspmu/arm_cspmu.c
173
eattr = container_of(attr, typeof(*eattr), attr.attr);
drivers/perf/arm_dmc620_pmu.c
119
eattr = container_of(attr, typeof(*eattr), attr);
drivers/perf/arm_spe_pmu.c
1382
spe_pmu->handle = alloc_percpu(typeof(*spe_pmu->handle));
drivers/perf/dwc_pcie_pmu.c
167
eattr = container_of(attr, typeof(*eattr), attr);
drivers/perf/fsl_imx9_ddr_perf.c
327
eattr = container_of(attr, typeof(*eattr), attr.attr);
drivers/pinctrl/pinctrl-apple-gpio.c
351
pctl = container_of(grpp - *grpp, typeof(*pctl), irqgrps[0]);
drivers/pinctrl/pinctrl-keembay.c
1274
for_each_set_clump8(bit, clump, &reg, BITS_PER_TYPE(typeof(reg))) {
drivers/pinctrl/pinctrl-keembay.c
1412
for_each_set_clump8(pos, clump, &reg, BITS_PER_TYPE(typeof(reg))) {
drivers/pinctrl/pinctrl-upboard.c
283
__builtin_types_compatible_p(typeof(m), const enum upboard_pin_mode *), \
drivers/pinctrl/pinctrl-upboard.c
286
__builtin_types_compatible_p(typeof(m), const enum upboard_pin_mode *), \
drivers/platform/chrome/cros_ec_lightbar.c
506
extra_bytes = offsetof(typeof(*param), set_program_ex) +
drivers/platform/mellanox/mlxbf-tmfifo.c
100
typeof(_r) (r) = (_r); \
drivers/platform/surface/aggregator/ssh_packet_layer.h
124
typeof(p) __p = (p); \
drivers/power/supply/test_power.c
158
val->intval >= BITS_PER_TYPE(typeof(psy->desc->charge_behaviours)) ||
drivers/power/supply/test_power.c
166
val->intval >= BITS_PER_TYPE(typeof(psy->desc->charge_types)) ||
drivers/ptp/ptp_ocp.c
459
*(typeof(val) *)addr = val; \
drivers/pwm/core.c
2510
chip->gpio = (typeof(chip->gpio)){
drivers/pwm/pwm-mediatek.c
156
*wfhw = (typeof(*wfhw)){
drivers/pwm/pwm-mediatek.c
214
*wfhw = (typeof(*wfhw)){
drivers/pwm/pwm-mediatek.c
248
*wf = (typeof(*wf)){
drivers/pwm/pwm-mediatek.c
264
*wf = (typeof(*wf)){
drivers/pwm/pwm-mediatek.c
307
*wfhw = (typeof(*wfhw)){
drivers/pwm/pwm-mediatek.c
314
*wfhw = (typeof(*wfhw)){
drivers/pwm/pwm-pca9685.c
184
*wfhw = (typeof(*wfhw)){
drivers/pwm/pwm-pca9685.c
240
*wfhw = (typeof(*wfhw)){
drivers/pwm/pwm-pca9685.c
245
*wfhw = (typeof(*wfhw)){
drivers/rtc/rtc-rx8111.c
291
return put_user(vlval, (typeof(vlval) __user *)arg);
drivers/s390/scsi/zfcp_fc.c
911
type_max(typeof(rspn_req->rspn.fr_name_len)) + 1);
drivers/scsi/dc395x.c
714
start = list_entry(dcb_list_head->next, typeof(*start), list);
drivers/scsi/hisi_sas/hisi_sas_main.c
943
container_of(work, typeof(*phy), works[event]);
drivers/scsi/hisi_sas/hisi_sas_main.c
982
container_of(work, typeof(*phy), works[HISI_PHYE_LINK_RESET]);
drivers/scsi/hisi_sas/hisi_sas_main.c
991
container_of(work, typeof(*phy), works[HISI_PHYE_PHY_UP_PM]);
drivers/scsi/isci/host.c
1310
struct isci_host *ihost = container_of(sm, typeof(*ihost), sm);
drivers/scsi/isci/host.c
1317
struct isci_host *ihost = container_of(sm, typeof(*ihost), sm);
drivers/scsi/isci/host.c
1444
struct isci_host *ihost = container_of(sm, typeof(*ihost), sm);
drivers/scsi/isci/host.c
1461
struct isci_host *ihost = container_of(sm, typeof(*ihost), sm);
drivers/scsi/isci/host.c
1524
struct isci_host *ihost = container_of(sm, typeof(*ihost), sm);
drivers/scsi/isci/host.c
1535
struct isci_host *ihost = container_of(sm, typeof(*ihost), sm);
drivers/scsi/isci/host.c
1563
struct isci_host *ihost = container_of(sm, typeof(*ihost), sm);
drivers/scsi/isci/host.c
1596
struct isci_host *ihost = container_of(tmr, typeof(*ihost), timer);
drivers/scsi/isci/host.c
1741
struct isci_host *ihost = container_of(tmr, typeof(*ihost), power_control.timer);
drivers/scsi/isci/host.c
962
struct isci_host *ihost = container_of(tmr, typeof(*ihost), phy_timer);
drivers/scsi/isci/init.c
132
struct Scsi_Host *shost = container_of(dev, typeof(*shost), shost_dev);
drivers/scsi/isci/init.c
134
struct isci_host *ihost = container_of(sas_ha, typeof(*ihost), sas_ha);
drivers/scsi/isci/phy.c
1063
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1071
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1079
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1087
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1095
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1103
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1110
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1117
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1124
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1131
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1151
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1158
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1253
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1271
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1290
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1299
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
1306
struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm);
drivers/scsi/isci/phy.c
321
struct isci_phy *iphy = container_of(tmr, typeof(*iphy), sata_timer);
drivers/scsi/isci/phy.c
83
struct isci_host *ihost = container_of(table, typeof(*ihost), phys[0]);
drivers/scsi/isci/phy.h
108
struct isci_phy *iphy = container_of(sas_phy, typeof(*iphy), sas_phy);
drivers/scsi/isci/port.c
1028
struct isci_port *iport = container_of(sm, typeof(*iport), sm);
drivers/scsi/isci/port.c
1047
struct isci_port *iport = container_of(sm, typeof(*iport), sm);
drivers/scsi/isci/port.c
1491
struct isci_port *iport = container_of(sm, typeof(*iport), sm);
drivers/scsi/isci/port.c
1504
struct isci_port *iport = container_of(sm, typeof(*iport), sm);
drivers/scsi/isci/port.c
1512
struct isci_port *iport = container_of(sm, typeof(*iport), sm);
drivers/scsi/isci/port.c
1533
struct isci_port *iport = container_of(sm, typeof(*iport), sm);
drivers/scsi/isci/port.c
1540
struct isci_port *iport = container_of(sm, typeof(*iport), sm);
drivers/scsi/isci/port.c
1549
struct isci_port *iport = container_of(sm, typeof(*iport), sm);
drivers/scsi/isci/port.c
779
struct isci_port *iport = container_of(tmr, typeof(*iport), timer);
drivers/scsi/isci/port.c
83
ihost = container_of(table, typeof(*ihost), ports[0]);
drivers/scsi/isci/port.c
945
struct isci_port *iport = container_of(sm, typeof(*iport), sm);
drivers/scsi/isci/port.c
961
struct isci_port *iport = container_of(sm, typeof(*iport), sm);
drivers/scsi/isci/port.c
968
struct isci_port *iport = container_of(sm, typeof(*iport), sm);
drivers/scsi/isci/port_config.c
330
port_agent = container_of(tmr, typeof(*port_agent), timer);
drivers/scsi/isci/port_config.c
331
ihost = container_of(port_agent, typeof(*ihost), port_agent);
drivers/scsi/isci/port_config.c
668
port_agent = container_of(tmr, typeof(*port_agent), timer);
drivers/scsi/isci/port_config.c
669
ihost = container_of(port_agent, typeof(*ihost), port_agent);
drivers/scsi/isci/remote_device.c
1015
struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm);
drivers/scsi/isci/remote_device.c
1031
struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm);
drivers/scsi/isci/remote_device.c
1040
struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm);
drivers/scsi/isci/remote_device.c
1054
struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm);
drivers/scsi/isci/remote_device.c
1067
struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm);
drivers/scsi/isci/remote_device.c
1078
struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm);
drivers/scsi/isci/remote_device.c
1089
struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm);
drivers/scsi/isci/remote_device.c
1106
struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm);
drivers/scsi/isci/remote_device.c
1117
struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm);
drivers/scsi/isci/remote_device.c
1127
struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm);
drivers/scsi/isci/remote_device.c
1135
struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm);
drivers/scsi/isci/remote_device.c
1146
struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm);
drivers/scsi/isci/remote_device.c
1492
struct isci_remote_device *idev = container_of(kref, typeof(*idev), kref);
drivers/scsi/isci/remote_device.c
951
struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm);
drivers/scsi/isci/remote_device.h
265
idev = container_of(rnc, typeof(*idev), rnc);
drivers/scsi/isci/remote_node_context.c
270
struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
drivers/scsi/isci/remote_node_context.c
288
struct sci_remote_node_context *sci_rnc = container_of(sm, typeof(*sci_rnc), sm);
drivers/scsi/isci/remote_node_context.c
295
struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
drivers/scsi/isci/remote_node_context.c
304
struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
drivers/scsi/isci/remote_node_context.c
325
struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
drivers/scsi/isci/remote_node_context.c
347
struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
drivers/scsi/isci/remote_node_context.c
354
struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm);
drivers/scsi/isci/remote_node_context.c
376
= container_of(sm, typeof(*rnc), sm);
drivers/scsi/isci/request.c
2953
struct isci_request *ireq = container_of(sm, typeof(*ireq), sm);
drivers/scsi/isci/request.c
2991
struct isci_request *ireq = container_of(sm, typeof(*ireq), sm);
drivers/scsi/isci/request.c
3004
struct isci_request *ireq = container_of(sm, typeof(*ireq), sm);
drivers/scsi/isci/request.c
3012
struct isci_request *ireq = container_of(sm, typeof(*ireq), sm);
drivers/scsi/isci/request.c
3019
struct isci_request *ireq = container_of(sm, typeof(*ireq), sm);
drivers/scsi/isci/request.h
154
ireq = container_of(stp_req, typeof(*ireq), stp.req);
drivers/scsi/libfc/fc_exch.c
2587
typeof(*ema), ema_list);
drivers/scsi/libsas/sas_discover.c
287
struct domain_device *dev = container_of(kref, typeof(*dev), kref);
drivers/scsi/libsas/sas_init.c
494
struct sas_phy_data *d = container_of(work, typeof(*d), reset_work.work);
drivers/scsi/libsas/sas_init.c
501
struct sas_phy_data *d = container_of(work, typeof(*d), enable_work.work);
drivers/scsi/libsas/sas_scsi_host.c
669
ssp = list_entry(ha->eh_dev_q.next, typeof(*ssp), eh_list_node);
drivers/scsi/libsas/sas_scsi_host.c
671
dev = container_of(ssp, typeof(*dev), ssp_dev);
drivers/scsi/lpfc/lpfc_bsg.c
2698
typeof(struct event_data),
drivers/scsi/lpfc/lpfc_bsg.c
3271
typeof(*evdat), node);
drivers/scsi/lpfc/lpfc_bsg.c
800
ed = list_entry(evt->events_to_get.next, typeof(*ed), node);
drivers/scsi/lpfc/lpfc_bsg.c
807
ed = list_entry(evt->events_to_see.next, typeof(*ed), node);
drivers/scsi/lpfc/lpfc_bsg.c
954
iocbq = list_entry(head.prev, typeof(*iocbq), list);
drivers/scsi/lpfc/lpfc_els.c
11807
list_remove_head(&phba->fabric_iocb_list, iocb, typeof(*iocb),
drivers/scsi/lpfc/lpfc_hbadisc.c
842
list_remove_head((&phba->work_list), evtp, typeof(*evtp),
drivers/scsi/lpfc/lpfc_init.c
2560
m = (typeof(m)){"LP6000", "PCI",
drivers/scsi/lpfc/lpfc_init.c
2565
m = (typeof(m)){"LP7000", "PCI", ""};
drivers/scsi/lpfc/lpfc_init.c
2567
m = (typeof(m)){"LP7000E", "PCI", ""};
drivers/scsi/lpfc/lpfc_init.c
2571
m = (typeof(m)){"LP8000", "PCI",
drivers/scsi/lpfc/lpfc_init.c
2576
m = (typeof(m)){"LP9002", "PCI", ""};
drivers/scsi/lpfc/lpfc_init.c
2578
m = (typeof(m)){"LP9000", "PCI", ""};
drivers/scsi/lpfc/lpfc_init.c
2582
m = (typeof(m)){"LP952", "PCI",
drivers/scsi/lpfc/lpfc_init.c
2586
m = (typeof(m)){"LP9802", "PCI-X",
drivers/scsi/lpfc/lpfc_init.c
2590
m = (typeof(m)){"LP10000", "PCI-X",
drivers/scsi/lpfc/lpfc_init.c
2594
m = (typeof(m)){"LPX1000", "PCI-X",
drivers/scsi/lpfc/lpfc_init.c
2598
m = (typeof(m)){"LP982", "PCI-X",
drivers/scsi/lpfc/lpfc_init.c
2602
m = (typeof(m)){"LP1050", "PCI-X",
drivers/scsi/lpfc/lpfc_init.c
2606
m = (typeof(m)){"LP11000", "PCI-X2",
drivers/scsi/lpfc/lpfc_init.c
2610
m = (typeof(m)){"LP11000-SP", "PCI-X2",
drivers/scsi/lpfc/lpfc_init.c
2614
m = (typeof(m)){"LP11002-SP", "PCI-X2",
drivers/scsi/lpfc/lpfc_init.c
2618
m = (typeof(m)){"LPe1000", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2622
m = (typeof(m)){"LPe1000-SP", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2626
m = (typeof(m)){"LPe1002-SP", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2630
m = (typeof(m)){"LP1150", "PCI-X2",
drivers/scsi/lpfc/lpfc_init.c
2634
m = (typeof(m)){"LP111", "PCI-X2",
drivers/scsi/lpfc/lpfc_init.c
2638
m = (typeof(m)){"LPe11000", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2642
m = (typeof(m)){"LPe11000", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2646
m = (typeof(m)){"LP2105", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2651
m = (typeof(m)){"LPe1150", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2655
m = (typeof(m)){"LPe111", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2659
m = (typeof(m)){"LP101", "PCI-X",
drivers/scsi/lpfc/lpfc_init.c
2663
m = (typeof(m)){"LP10000-S", "PCI",
drivers/scsi/lpfc/lpfc_init.c
2667
m = (typeof(m)){"LP11000-S", "PCI-X2",
drivers/scsi/lpfc/lpfc_init.c
2671
m = (typeof(m)){"LPe11000-S", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2675
m = (typeof(m)){"LPe12000", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2679
m = (typeof(m)){"LPe1250", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2683
m = (typeof(m)){"LPe121", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2687
m = (typeof(m)){"LPe12002-SP", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2691
m = (typeof(m)){"LPe12000-SP", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2695
m = (typeof(m)){"LPe12000-S", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2699
m = (typeof(m)){"LPev12000", "PCIe IOV",
drivers/scsi/lpfc/lpfc_init.c
2703
m = (typeof(m)){"LPev12000", "PCIe IOV",
drivers/scsi/lpfc/lpfc_init.c
2707
m = (typeof(m)){"LPemv12002-S", "PCIe IOV",
drivers/scsi/lpfc/lpfc_init.c
2712
m = (typeof(m)){"OCe10100", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2717
m = (typeof(m)){"OCe11100", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2721
m = (typeof(m)){"LPSe12002-ML1-E", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2725
m = (typeof(m)){"LPVe12002", "PCIe Shared I/O",
drivers/scsi/lpfc/lpfc_init.c
2729
m = (typeof(m)){"LPe16000", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2733
m = (typeof(m)){"LPe16000", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2738
m = (typeof(m)){"OCe15100", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2743
m = (typeof(m)){"OCe15100", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2747
m = (typeof(m)){"LPe32000", "PCIe", "Fibre Channel Adapter"};
drivers/scsi/lpfc/lpfc_init.c
2750
m = (typeof(m)){"LPe36000", "PCIe", "Fibre Channel Adapter"};
drivers/scsi/lpfc/lpfc_init.c
2753
m = (typeof(m)){"LPe38000", "PCIe", "Fibre Channel Adapter"};
drivers/scsi/lpfc/lpfc_init.c
2758
m = (typeof(m)){"OCe14000", "PCIe",
drivers/scsi/lpfc/lpfc_init.c
2762
m = (typeof(m)){"Unknown", "", ""};
drivers/scsi/lpfc/lpfc_sli.c
18867
d_buf = list_entry(seq_dmabuf->dbuf.list.prev, typeof(*d_buf), list);
drivers/scsi/lpfc/lpfc_sli.c
18884
d_buf = list_entry(d_buf->list.prev, typeof(*d_buf), list);
drivers/scsi/qla2xxx/qla_bsg.c
18
struct fc_port *fcport = container_of(work, typeof(*fcport),
drivers/scsi/qla2xxx/qla_gs.c
153
offsetof(typeof(*ct_rsp), rsp));
drivers/scsi/qla2xxx/qla_init.c
8926
(uint32_t)(fwcode - (typeof(fwcode))blob->fw->data),
drivers/scsi/qla2xxx/qla_mbx.c
3197
ushort dwords = offsetof(typeof(*stats), link_up_cnt)/sizeof(*iter);
drivers/scsi/qla2xxx/qla_os.c
6086
offsetof(typeof(*rsp_payload), optical_elmt_desc);
drivers/scsi/qla2xxx/qla_target.c
6085
srr = list_first_entry_or_null(&tgt->srr_list, typeof(*srr),
drivers/scsi/qla2xxx/qla_target.c
7413
tgt->sess_works_list.next, typeof(*prm),
drivers/scsi/qla2xxx/qla_tmpl.c
10
#define IOBAR(reg) offsetof(typeof(*(reg)), iobase_addr)
drivers/scsi/qla2xxx/qla_tmpl.c
695
ulong offset = offsetof(typeof(*ent), t275.buffer);
drivers/scsi/qla2xxx/qla_tmpl.c
794
typeof(qla27xx_fwdt_entry_other)(*call);
drivers/scsi/qla2xxx/qla_tmpl.c
827
typeof(*qla27xx_fwdt_entry_call) *list = qla27xx_fwdt_entry_call;
drivers/scsi/scsi_debug.c
1060
container_of(head, typeof(*inject), rcu);
drivers/scsi/scsi_debug.c
6388
typeof(*sdsc), sd_dp);
drivers/scsi/scsi_error.c
283
struct scsi_cmnd *scmd = container_of(head, typeof(*scmd), rcu);
drivers/scsi/scsi_lib.c
2139
struct Scsi_Host *shost = container_of(kref, typeof(*shost),
drivers/scsi/scsi_transport_fc.c
2034
pos = list_entry((head)->next, typeof(*pos), member)
drivers/scsi/scsi_transport_fc.c
573
padding = len - offsetof(typeof(*event), event_data_flex) - data_len;
drivers/scsi/scsi_transport_sas.c
1079
phy = list_entry(ent, typeof(*phy), port_siblings);
drivers/soc/mediatek/mtk-mutex.c
42
const typeof(mutex) _mutex = (mutex); \
drivers/spi/spi-lantiq-ssc.c
765
spi = container_of(work, typeof(*spi), work);
drivers/spi/spi-tegra210-quad.c
1415
xfer = list_first_entry(&msg->transfers, typeof(*xfer),
drivers/target/iscsi/iscsi_target_erl1.c
1026
typeof(*ooo_tail), ooo_list);
drivers/target/iscsi/iscsi_target_erl1.c
787
typeof(*ooo_tail), ooo_list);
drivers/target/target_core_transport.c
226
typeof(*cmd_cnt),
drivers/thermal/renesas/rcar_thermal.c
541
typeof(*priv), list);
drivers/thermal/renesas/rcar_thermal.c
556
typeof(*priv), list);
drivers/thermal/thermal_core.h
195
static typeof(name) *__thermal_table_entry_##name \
drivers/thunderbolt/ctl.c
114
struct tb_cfg_request *req = container_of(kref, typeof(*req), kref);
drivers/thunderbolt/ctl.c
355
struct ctl_pkg *pkg = container_of(frame, typeof(*pkg), frame);
drivers/thunderbolt/ctl.c
448
struct ctl_pkg *pkg = container_of(frame, typeof(*pkg), frame);
drivers/thunderbolt/ctl.c
526
struct tb_cfg_request *req = container_of(work, typeof(*req), work);
drivers/thunderbolt/dma_test.c
233
struct dma_test_frame *tf = container_of(frame, typeof(*tf), frame);
drivers/thunderbolt/dma_test.c
302
struct dma_test_frame *tf = container_of(frame, typeof(*tf), frame);
drivers/thunderbolt/icm.c
1725
struct icm_notification *n = container_of(work, typeof(*n), work);
drivers/thunderbolt/nhi.c
276
struct tb_ring *ring = container_of(work, typeof(*ring), work);
drivers/thunderbolt/nhi.c
296
frame = list_first_entry(&ring->in_flight, typeof(*frame),
drivers/thunderbolt/nhi.c
313
frame = list_first_entry(&done, typeof(*frame), list);
drivers/thunderbolt/nhi.c
364
frame = list_first_entry(&ring->in_flight, typeof(*frame),
drivers/thunderbolt/nhi.c
917
struct tb_nhi *nhi = container_of(work, typeof(*nhi), interrupt_work);
drivers/thunderbolt/tb.c
1570
container_of(work, typeof(*group), release_work.work);
drivers/thunderbolt/tb.c
2423
struct tb_hotplug_event *ev = container_of(work, typeof(*ev), work.work);
drivers/thunderbolt/tb.c
2733
struct tb_hotplug_event *ev = container_of(work, typeof(*ev), work.work);
drivers/thunderbolt/tunnel.c
1061
struct tb_tunnel *tunnel = container_of(work, typeof(*tunnel), dprx_work.work);
drivers/thunderbolt/tunnel.c
211
struct tb_tunnel *tunnel = container_of(kref, typeof(*tunnel), kref);
drivers/thunderbolt/xdomain.c
1572
struct tb_xdomain *xd = container_of(work, typeof(*xd), state_work.work);
drivers/thunderbolt/xdomain.c
1690
struct tb_xdomain *xd = container_of(work, typeof(*xd),
drivers/thunderbolt/xdomain.c
731
struct xdomain_request_work *xw = container_of(work, typeof(*xw), work);
drivers/ufs/core/ufshcd.c
2758
*h = (typeof(*h)){ };
drivers/usb/c67x00/c67x00-sched.c
1034
tmp = list_entry(td->td_list.next, typeof(*td), td_list);
drivers/usb/gadget/composite.c
644
c = list_entry(pos, typeof(*c), list);
drivers/usb/gadget/function/uvc_configfs.c
1964
typeof(f->frame.cname) num; \
drivers/usb/host/octeon-hcd.c
1355
list_first_entry(&pipe->transactions, typeof(*transaction),
drivers/usb/host/octeon-hcd.c
1500
list_first_entry(&pipe->transactions, typeof(*transaction),
drivers/usb/host/octeon-hcd.c
1849
list_first_entry(&pipe->transactions, typeof(*t),
drivers/usb/host/octeon-hcd.c
2304
if (list_first_entry(&pipe->transactions, typeof(*transaction), node) ==
drivers/usb/host/octeon-hcd.c
2679
typeof(*transaction),
drivers/usb/isp1760/isp1760-hcd.c
1429
typeof(*qtd), qtd_list);
drivers/usb/isp1760/isp1760-hcd.c
805
qtd = list_entry(qtd->qtd_list.next, typeof(*qtd), qtd_list);
drivers/usb/mtu3/mtu3_hw_regs.h
147
typeof(x) x_ = (x); \
drivers/usb/mtu3/mtu3_hw_regs.h
152
typeof(x) x_ = (x); \
drivers/usb/mtu3/mtu3_hw_regs.h
186
typeof(x) x_ = (x); \
drivers/usb/mtu3/mtu3_hw_regs.h
191
typeof(x) x_ = (x); \
drivers/usb/mtu3/mtu3_qmu.c
40
typeof(x) x_ = (x); \
drivers/usb/mtu3/mtu3_qmu.c
48
typeof(x) x_ = (x); \
drivers/usb/mtu3/mtu3_qmu.c
59
typeof(x) x_ = (x); \
drivers/usb/mtu3/mtu3_qmu.c
65
typeof(x) x_ = (x); \
drivers/usb/typec/tipd/tps6598x.h
15
#define TPS_FIELD_GET(_mask, _reg) ((typeof(_mask))(((_reg) & (_mask)) >> __bf_shf(_mask)))
drivers/vhost/iotlb.c
78
map = list_first_entry(&iotlb->list, typeof(*map), link);
drivers/video/backlight/mp3309c.c
355
props = (typeof(props)){
drivers/video/fbdev/core/fbcon.h
225
typeof(r) _r = (r); \
drivers/video/fbdev/core/fbcon.h
226
typeof(v) _v = (v); \
drivers/virt/coco/tsm-core.c
109
struct tsm_dev *tsm_dev = container_of(dev, typeof(*tsm_dev), dev);
drivers/virtio/virtio_ring.c
2737
typeof(vq) __VIRTQUEUE_CALL_vq = (vq); \
drivers/virtio/virtio_ring.c
2738
typeof(split_ops.op(__VIRTQUEUE_CALL_vq, ##__VA_ARGS__)) ret; \
drivers/virtio/virtio_ring.c
2762
typeof(vq) __VIRTQUEUE_CALL_vq = (vq); \
drivers/virtio/virtio_rtc_driver.c
102
vdev = container_of(dev, typeof(*vdev), dev);
drivers/virtio/virtio_rtc_driver.c
522
typeof(hdl) *_hdl = &(hdl); \
drivers/virtio/virtio_rtc_driver.c
543
typeof(hdl) _hdl = (hdl); \
drivers/virtio/virtio_rtc_driver.c
544
typeof(src_ptr) _src_ptr = (src_ptr); \
drivers/virtio/virtio_rtc_driver.c
547
typecheck(typeof(virtio_le_to_cpu(_hdl.req->dest_member)), \
drivers/virtio/virtio_rtc_driver.c
564
typeof(dest_ptr) _dest_ptr = (dest_ptr); \
drivers/virtio/virtio_rtc_driver.c
567
typecheck(typeof(virtio_le_to_cpu((hdl).resp->src_member)), \
drivers/watchdog/xen_wdt.c
152
typeof(wdt.id) id = wdt.id;
drivers/xen/xlate_mmu.c
109
nr_gfn = min_t(typeof(info->nr_fgfn), XEN_PFN_PER_PAGE, info->nr_fgfn);
fs/btrfs/raid-stripe-tree.c
355
typeof(*bioc), rst_ordered_entry);
fs/btrfs/zoned.c
2160
typeof(*sum), list))) {
fs/crypto/policy.c
598
BUILD_BUG_ON(offsetof(typeof(arg), policy_size) != 0);
fs/crypto/policy.c
599
BUILD_BUG_ON(offsetofend(typeof(arg), policy_size) !=
fs/crypto/policy.c
600
offsetof(typeof(arg), policy));
fs/debugfs/inode.c
745
typeof(*c), list))) {
fs/ext4/ext4.h
1877
typeof(*((sbi)->field)) _v; \
fs/ext4/ext4.h
1879
_v = ((typeof(_v)*)rcu_dereference((sbi)->field))[index]; \
fs/ext4/ext4.h
871
((offsetof(typeof(*ext4_inode), field) + \
fs/f2fs/f2fs.h
3748
((offsetof(typeof(*(f2fs_inode)), field) + \
fs/fuse/cuse.c
326
struct cuse_init_args *ia = container_of(args, typeof(*ia), ap.args);
fs/fuse/dev.c
1181
struct fuse_args_pages *ap = container_of(req->args, typeof(*ap), args);
fs/fuse/dev.c
1853
container_of(args, typeof(*ra), ap.args);
fs/fuse/file.c
1001
struct fuse_io_args *ia = container_of(args, typeof(*ia), ap.args);
fs/fuse/file.c
1987
container_of(args, typeof(*wpa), ia.ap.args);
fs/fuse/file.c
709
struct fuse_io_args *ia = container_of(args, typeof(*ia), ap.args);
fs/fuse/file.c
97
struct fuse_release_args *ra = container_of(args, typeof(*ra), args);
fs/fuse/fuse_dev_i.h
53
return (typeof(fud)) ((unsigned long) fud & FUSE_DEV_PTR_MASK);
fs/fuse/inode.c
1323
struct fuse_init_args *ia = container_of(args, typeof(*ia), args);
fs/fuse/virtio_fs.c
1291
struct fuse_args_pages *ap = container_of(args, typeof(*ap), args);
fs/fuse/virtio_fs.c
1349
struct fuse_args_pages *ap = container_of(req->args, typeof(*ap), args);
fs/fuse/virtio_fs.c
779
ap = container_of(args, typeof(*ap), args);
fs/fuse/virtio_fs.c
804
container_of(work, typeof(*w), done_work);
fs/nfsd/nfssvc.c
887
struct svc_xprt *perm_sock = list_entry(rqstp->rq_server->sv_permsocks.next, typeof(struct svc_xprt), xpt_list);
fs/ntfs3/attrlist.c
306
typeof(ni->attr_list) *al = &ni->attr_list;
fs/ntfs3/attrlist.c
377
typeof(ni->attr_list) *al = &ni->attr_list;
fs/ntfs3/attrlist.c
398
typeof(ni->attr_list) *al = &ni->attr_list;
fs/ntfs3/frecord.c
1761
typeof(rp->CompressReparseBuffer) *cmpr;
fs/ntfs3/inode.c
1155
typeof(rp->SymbolicLinkReparseBuffer) *rs;
fs/ocfs2/cluster/tcp.c
73
typeof(hdr) __hdr = (hdr); \
fs/ocfs2/cluster/tcp.c
83
typeof(sc) __sc = (sc); \
fs/ocfs2/ioctl.c
37
copy_to_user((typeof(a) __user *)b, &(a), sizeof(a))
fs/readdir.c
417
typeof(lastdirent->d_off) d_off = buf.ctx.pos;
fs/smb/client/cifssmb.c
3173
io_req->DataOffset = cpu_to_le32(offsetof(typeof(*io_req), Data));
fs/smb/client/cifssmb.c
5911
data_offset = (char *)pSMB + offsetof(typeof(*pSMB), hdr.Protocol) + offset;
fs/smb/client/connect.c
3216
len += offsetof(typeof(req), trailer.session_req);
fs/smb/client/connect.c
3236
len = offsetof(typeof(resp), trailer);
fs/smb/client/reparse.c
1019
int data_offset = offsetof(typeof(*buf), Target) - offsetof(typeof(*buf), Version);
fs/userfaultfd.c
1114
typeof(*uwq),
fs/userfaultfd.c
920
wq = list_last_entry(&wqh->head, typeof(*wq), entry);
fs/xfs/xfs_extent_busy.c
567
busyp = list_first_entry_or_null(list, typeof(*busyp), list);
fs/xfs/xfs_super.c
906
st->f_files = min_t(typeof(st->f_files), st->f_files,
fs/xfs/xfs_super.c
910
st->f_files = max_t(typeof(st->f_files), st->f_files,
fs/xfs/xfs_zone_alloc.c
33
struct xfs_open_zone *oz = container_of(cb, typeof(*oz), oz_rcu);
include/acpi/acpi_bus.h
525
typeof(__fwnode) __to_acpi_device_node_fwnode = __fwnode; \
include/acpi/acpi_bus.h
535
typeof(__fwnode) __to_acpi_data_node_fwnode = __fwnode; \
include/asm-generic/barrier.h
153
(typeof(*p))___p1; \
include/asm-generic/barrier.h
206
(typeof(*p))___p1; \
include/asm-generic/barrier.h
247
typeof(ptr) __PTR = (ptr); \
include/asm-generic/barrier.h
255
(typeof(*ptr))VAL; \
include/asm-generic/barrier.h
272
(typeof(*ptr))_val; \
include/asm-generic/div64.h
183
(void)(((typeof((n)) *)0) == ((uint64_t *)0)); \
include/asm-generic/rwonce.h
55
*(volatile typeof(x) *)&(x) = (val); \
include/asm-generic/rwonce.h
79
(typeof(x))__read_once_word_nocheck(&(x)); \
include/crypto/internal/blockhash.h
18
typeof(block_fn) *_block_fn = &(block_fn); \
include/crypto/internal/blockhash.h
19
typeof(state + 0) _state = (state); \
include/drm/drm_mm.h
396
typeof(*pos), hole_stack); \
include/kunit/run-in-irq-context.h
32
container_of(timer, typeof(*state), timer);
include/kunit/run-in-irq-context.h
59
container_of(work, typeof(*state), bh_work);
include/kunit/static_stub.h
61
typeof(&real_fn_name) replacement; \
include/kunit/static_stub.h
96
typecheck_fn(typeof(&replacement_addr), real_fn_addr); \
include/kunit/test.h
1733
typeof((array)[0]) *__next = prev ? ((typeof(__next)) prev) + 1 : (array); \
include/kunit/test.h
1737
void (*__get_desc)(typeof(__next), char *) = get_desc; \
include/kunit/test.h
1757
typeof((array)[0]) *__next = prev ? ((typeof(__next)) prev) + 1 : (array); \
include/kunit/test.h
1787
const typeof((array)[0]) * _params_ptr = &(array)[0]; \
include/kunit/test.h
839
const typeof(left) __left = (left); \
include/kunit/test.h
840
const typeof(right) __right = (right); \
include/kunit/test.h
966
const typeof(ptr) __ptr = (ptr); \
include/linux/alloc_tag.h
251
typeof(_do_alloc) _res; \
include/linux/arm-smccc.h
567
typeof(a1) __a1 = a1; \
include/linux/arm-smccc.h
570
register typeof(a1) arg1 asm("r1") = __a1
include/linux/arm-smccc.h
573
typeof(a1) __a1 = a1; \
include/linux/arm-smccc.h
574
typeof(a2) __a2 = a2; \
include/linux/arm-smccc.h
577
register typeof(a1) arg1 asm("r1") = __a1; \
include/linux/arm-smccc.h
578
register typeof(a2) arg2 asm("r2") = __a2
include/linux/arm-smccc.h
581
typeof(a1) __a1 = a1; \
include/linux/arm-smccc.h
582
typeof(a2) __a2 = a2; \
include/linux/arm-smccc.h
583
typeof(a3) __a3 = a3; \
include/linux/arm-smccc.h
586
register typeof(a1) arg1 asm("r1") = __a1; \
include/linux/arm-smccc.h
587
register typeof(a2) arg2 asm("r2") = __a2; \
include/linux/arm-smccc.h
588
register typeof(a3) arg3 asm("r3") = __a3
include/linux/arm-smccc.h
591
typeof(a4) __a4 = a4; \
include/linux/arm-smccc.h
593
register typeof(a4) arg4 asm("r4") = __a4
include/linux/arm-smccc.h
596
typeof(a5) __a5 = a5; \
include/linux/arm-smccc.h
598
register typeof(a5) arg5 asm("r5") = __a5
include/linux/arm-smccc.h
601
typeof(a6) __a6 = a6; \
include/linux/arm-smccc.h
603
register typeof(a6) arg6 asm("r6") = __a6
include/linux/arm-smccc.h
606
typeof(a7) __a7 = a7; \
include/linux/arm-smccc.h
608
register typeof(a7) arg7 asm("r7") = __a7
include/linux/arm-smccc.h
629
*___res = (typeof(*___res)){r0, r1, r2, r3}; \
include/linux/atomic.h
60
typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \
include/linux/atomic.h
73
typeof(op##_relaxed(args)) __ret; \
include/linux/atomic/atomic-arch-fallback.h
191
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
209
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
227
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
242
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
258
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
276
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
294
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
309
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
325
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
343
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
361
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
376
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
391
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
406
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
421
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-arch-fallback.h
436
typeof(*(_ptr)) *___op = (_oldp), ___o = *___op, ___r; \
include/linux/atomic/atomic-instrumented.h
4755
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4763
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4770
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4778
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4785
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4793
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4800
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4808
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4815
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4823
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4830
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4838
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4845
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4853
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4860
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4868
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4875
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4876
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
4885
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4886
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
4894
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4895
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
4904
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4905
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
4913
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4914
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
4923
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4924
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
4932
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4933
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
4942
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4943
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
4951
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4952
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
4961
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4962
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
4970
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4971
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
4980
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4981
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
4989
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
4996
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
5003
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
5010
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
5018
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
5019
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
5027
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
5028
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
5036
typeof(ptr) __ai_ptr = (ptr); \
include/linux/atomic/atomic-instrumented.h
5037
typeof(oldp) __ai_oldp = (oldp); \
include/linux/atomic/atomic-instrumented.h
5045
typeof(ptr) __ai_ptr = (ptr); \
include/linux/bitfield.h
111
(typeof(_mask))((_mask) >> __bf_shf(_mask)); \
include/linux/bitfield.h
124
!((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
include/linux/bitfield.h
164
(((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask)) \
include/linux/bitfield.h
195
*(_reg_p) |= (((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask)); \
include/linux/bitfield.h
212
#define field_max(field) ((typeof(field))field_mask(field))
include/linux/bitfield.h
248
typeof(__mask) __val = (val); \
include/linux/bitfield.h
257
typeof(__mask) __reg = (reg); \
include/linux/bitfield.h
53
#define __unsigned_scalar_typeof(x) typeof( \
include/linux/bitfield.h
92
((typeof(mask))(val) << __bf_shf(mask)) & (mask); \
include/linux/bitfield.h
98
(typeof(mask))(((reg) & (mask)) >> __bf_shf(mask)); \
include/linux/bitops.h
360
const typeof(*(ptr)) mask__ = (mask), bits__ = (bits); \
include/linux/bitops.h
361
typeof(*(ptr)) old__, new__; \
include/linux/bitops.h
375
const typeof(*(ptr)) clear__ = (clear), test__ = (test);\
include/linux/bitops.h
376
typeof(*(ptr)) old__, new__; \
include/linux/bpf-cgroup.h
207
typeof(sk) __sk = sk_to_full_sk(sk); \
include/linux/bpf-cgroup.h
348
typeof(sk) __sk = sk_to_full_sk((sock_ops)->sk); \
include/linux/can/core.h
42
(offsetof(typeof(struct_type), member) + \
include/linux/can/core.h
43
sizeof(((typeof(struct_type) *)(NULL))->member))
include/linux/ceph/libceph.h
269
typeof(__lookup_##name##_key.keyfld), nodefld)
include/linux/cleanup.h
228
((typeof(p)) __must_check_fn((__force const volatile void *)__get_and_null(p, NULL)))
include/linux/compiler-gcc.h
35
(typeof(ptr)) (__ptr + (off)); \
include/linux/compiler.h
144
extern typeof(sym) sym; \
include/linux/compiler.h
155
(typeof(ptr)) (__ptr + (off)); })
include/linux/compiler_types.h
61
# define ACCESS_PRIVATE(p, member) (*((typeof((p)->member) __force *) &(p)->member))
include/linux/compiler_types.h
617
#define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
include/linux/compiler_types.h
632
#define __unqual_scalar_typeof(x) typeof( \
include/linux/compiler_types.h
655
#define __signed_scalar_typeof(x) typeof( \
include/linux/container_of.h
37
const typeof(*(ptr)) *: ((const type *)container_of(ptr, type, member)),\
include/linux/container_of.h
8
#define typeof_member(T, m) typeof(((T*)0)->m)
include/linux/device/devres.h
108
((typeof(type) __percpu *)__devm_alloc_percpu((dev), sizeof(type), __alignof__(type)))
include/linux/dma-mapping.h
778
({ typeof(PTR) __p __maybe_unused = PTR; 0; })
include/linux/dma-mapping.h
780
do { typeof(PTR) __p __maybe_unused = PTR; } while (0)
include/linux/dma-mapping.h
782
({ typeof(PTR) __p __maybe_unused = PTR; 0; })
include/linux/dma-mapping.h
784
do { typeof(PTR) __p __maybe_unused = PTR; } while (0)
include/linux/efi.h
1191
typeof((p)->f(args)) __s; \
include/linux/elfnote.h
75
typeof(desc) _desc \
include/linux/export.h
69
static typeof(sym) *__gendwarfksyms_ptr_##sym __used \
include/linux/export.h
76
extern typeof(sym) sym; \
include/linux/filter.h
598
typeof(__builtin_choose_expr(sizeof(t) == sizeof(unsigned long), \
include/linux/generic-radix-tree.h
145
*(_radix) = (typeof(*_radix)) __GENRADIX_INITIALIZER; \
include/linux/generic-radix-tree.h
175
#define __genradix_cast(_radix) (typeof((_radix)->type[0]) *)
include/linux/hw_bitfield.h
28
typeof(_val) __val = _val; \
include/linux/hw_bitfield.h
29
typeof(_mask) __mask = _mask; \
include/linux/hw_bitfield.h
32
(((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) | \
include/linux/ieee80211.h
2392
if (skb->len < offsetofend(typeof(*mgmt), u.action.u.ftm.action_code))
include/linux/ieee80211.h
2677
skb->len >= offsetofend(typeof(*mgmt), u.action.u.wnm_timing_msr))
include/linux/ieee80211.h
2697
skb->len >= offsetofend(typeof(*mgmt), u.action.u.ftm))
include/linux/indirect_call_wrapper.h
19
typeof(f) __f1 = (f); \
include/linux/indirect_call_wrapper.h
24
typeof(f) __f2 = (f); \
include/linux/indirect_call_wrapper.h
30
typeof(f) __f3 = (f); \
include/linux/indirect_call_wrapper.h
36
typeof(f) __f4 = (f); \
include/linux/interrupt.h
719
container_of(callback_tasklet, typeof(*var), tasklet_fieldname)
include/linux/iommu.h
462
offsetofend(typeof(*kdst), min_last))
include/linux/iommu.h
515
offsetofend(typeof(*(kdst)), min_last))
include/linux/iommu.h
599
offsetofend(typeof(*ksrc), min_last))
include/linux/iommufd.h
359
static_assert(__same_type(typeof(*dependent), *depended)); \
include/linux/iommufd.h
371
static_assert(__same_type(typeof(*dependent), *depended)); \
include/linux/iosys-map.h
485
typeof(s_->field__)); \
include/linux/iosys-map.h
508
typeof(s_->field__), val__); \
include/linux/jump_label.h
423
if (!__builtin_types_compatible_p(typeof(*x), struct static_key) && \
include/linux/jump_label.h
424
!__builtin_types_compatible_p(typeof(*x), struct static_key_true) &&\
include/linux/jump_label.h
425
!__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
include/linux/jump_label.h
491
if (__builtin_types_compatible_p(typeof(*x), struct static_key_true)) \
include/linux/jump_label.h
493
else if (__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
include/linux/jump_label.h
503
if (__builtin_types_compatible_p(typeof(*x), struct static_key_true)) \
include/linux/jump_label.h
505
else if (__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \
include/linux/kfifo.h
108
(sizeof(*fifo) == sizeof(STRUCT_KFIFO_PTR(typeof(*(fifo)->type))))
include/linux/kfifo.h
131
typeof(&(fifo)) __tmp = &(fifo); \
include/linux/kfifo.h
150
(typeof(fifo)) { \
include/linux/kfifo.h
216
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
230
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
240
typeof((fifo) + 1) __tmpl = (fifo); \
include/linux/kfifo.h
250
typeof((fifo) + 1) __tmpq = (fifo); \
include/linux/kfifo.h
291
typeof((fifo) + 1) __tmpq = (fifo); \
include/linux/kfifo.h
302
typeof((fifo) + 1) __tmpq = (fifo); \
include/linux/kfifo.h
317
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
341
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
364
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
388
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
402
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
421
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
442
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
443
typeof(*__tmp->const_type) __val = (val); \
include/linux/kfifo.h
454
((typeof(__tmp->type))__kfifo->data) : \
include/linux/kfifo.h
457
*(typeof(__tmp->type))&__val; \
include/linux/kfifo.h
480
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
481
typeof(__tmp->ptr) __val = (val); \
include/linux/kfifo.h
491
*(typeof(__tmp->type))__val = \
include/linux/kfifo.h
493
((typeof(__tmp->type))__kfifo->data) : \
include/linux/kfifo.h
519
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
520
typeof(__tmp->ptr) __val = (val); \
include/linux/kfifo.h
530
*(typeof(__tmp->type))__val = \
include/linux/kfifo.h
532
((typeof(__tmp->type))__kfifo->data) : \
include/linux/kfifo.h
556
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
557
typeof(__tmp->ptr_const) __buf = (buf); \
include/linux/kfifo.h
625
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
626
typeof(__tmp->ptr) __buf = (buf); \
include/linux/kfifo.h
700
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
728
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
756
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
784
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
812
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
839
typeof((fifo) + 1) ___tmp = (fifo); \
include/linux/kfifo.h
858
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
859
typeof(__tmp->ptr) __buf = (buf); \
include/linux/kfifo.h
888
typeof((fifo) + 1) __tmp = (fifo); \
include/linux/kfifo.h
917
typeof((fifo) + 1) ___tmp = (fifo); \
include/linux/kho/abi/kexec_handover.h
113
typeof(val) v = val; \
include/linux/kho/abi/kexec_handover.h
114
typecheck(typeof((dest).ptr), v); \
include/linux/kho/abi/kexec_handover.h
121
typeof(src) s = src; \
include/linux/kho/abi/kexec_handover.h
122
(typeof((s).ptr))((s).phys ? phys_to_virt((s).phys) : NULL); \
include/linux/kvm_host.h
1338
typeof(v) __user *__uaddr = (typeof(__uaddr))(__addr + offset); \
include/linux/kvm_host.h
1358
typeof(v) __user *__uaddr = (typeof(__uaddr))(__addr + offset); \
include/linux/list.h
1156
({ typeof(ptr) ____ptr = (ptr); \
include/linux/list.h
1167
for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
include/linux/list.h
1169
pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
include/linux/list.h
1177
for (pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member);\
include/linux/list.h
1179
pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
include/linux/list.h
1188
pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
include/linux/list.h
1198
for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\
include/linux/list.h
1200
pos = hlist_entry_safe(n, typeof(*pos), member))
include/linux/list.h
667
list_entry((pos)->member.next, typeof(*(pos)), member)
include/linux/list.h
680
list_first_entry(head, typeof(*(pos)), member) : list_next_entry(pos, member))
include/linux/list.h
688
list_entry((pos)->member.prev, typeof(*(pos)), member)
include/linux/list.h
701
list_last_entry(head, typeof(*(pos)), member) : list_prev_entry(pos, member))
include/linux/list.h
782
for (pos = list_first_entry(head, typeof(*pos), member); \
include/linux/list.h
793
for (pos = list_last_entry(head, typeof(*pos), member); \
include/linux/list.h
806
((pos) ? : list_entry(head, typeof(*pos), member))
include/linux/list.h
869
for (pos = list_first_entry(head, typeof(*pos), member), \
include/linux/list.h
916
for (pos = list_last_entry(head, typeof(*pos), member), \
include/linux/list_bl.h
174
({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \
include/linux/list_bl.h
188
({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \
include/linux/list_nulls.h
131
({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \
include/linux/list_nulls.h
143
({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \
include/linux/list_nulls.h
36
({ typeof(ptr) ____ptr = (ptr); \
include/linux/list_private.h
113
for (pos = list_private_first_entry(head, typeof(*pos), member); \
include/linux/list_private.h
124
for (pos = list_private_last_entry(head, typeof(*pos), member); \
include/linux/list_private.h
189
for (pos = list_private_first_entry(head, typeof(*pos), member), \
include/linux/list_private.h
236
for (pos = list_private_last_entry(head, typeof(*pos), member), \
include/linux/list_private.h
59
list_private_entry(ACCESS_PRIVATE(pos, member).next, typeof(*(pos)), member)
include/linux/list_private.h
72
list_private_first_entry(head, typeof(*(pos)), member) : \
include/linux/list_private.h
81
list_private_entry(ACCESS_PRIVATE(pos, member).prev, typeof(*(pos)), member)
include/linux/list_private.h
94
list_private_last_entry(head, typeof(*(pos)), member) : \
include/linux/livepatch_helpers.h
45
((typeof(STATIC_CALL_TRAMP(name))*)(STATIC_CALL_KEY(name).func))
include/linux/llist.h
127
((uintptr_t)(ptr) + offsetof(typeof(*(ptr)), member) != 0)
include/linux/llist.h
181
for ((pos) = llist_entry((node), typeof(*(pos)), member); \
include/linux/llist.h
183
(pos) = llist_entry((pos)->member.next, typeof(*(pos)), member))
include/linux/llist.h
203
for (pos = llist_entry((node), typeof(*pos), member); \
include/linux/llist.h
205
(n = llist_entry(pos->member.next, typeof(*n), member), true); \
include/linux/lwq.h
84
*(_t1) ? (_n = container_of(*(_t1), typeof(*(_n)), _member.node),\
include/linux/math.h
100
typeof(x) __x = x; \
include/linux/math.h
101
typeof(divisor) __d = divisor; \
include/linux/math.h
102
(((typeof(x))-1) > 0 || \
include/linux/math.h
103
((typeof(divisor))-1) > 0 || \
include/linux/math.h
115
typeof(divisor) __d = divisor; \
include/linux/math.h
138
typeof(x) x_ = (x); \
include/linux/math.h
139
typeof(n) n_ = (n); \
include/linux/math.h
140
typeof(d) d_ = (d); \
include/linux/math.h
142
typeof(x_) q = x_ / d_; \
include/linux/math.h
143
typeof(x_) r = x_ % d_; \
include/linux/math.h
168
__builtin_types_compatible_p(typeof(x), char), \
include/linux/math.h
173
__builtin_types_compatible_p(typeof(x), signed type) || \
include/linux/math.h
174
__builtin_types_compatible_p(typeof(x), unsigned type), \
include/linux/math.h
190
typeof(a) __a = (a); \
include/linux/math.h
191
typeof(b) __b = (b); \
include/linux/math.h
73
typeof(y) __y = y; \
include/linux/math.h
87
typeof(x) __x = (x); \
include/linux/min_heap.h
39
#define __minheap_cast(_heap) (typeof((_heap)->data[0]) *)
include/linux/minmax.h
177
typeof(x) __x = (x); \
include/linux/minmax.h
178
typeof(y) __y = (y); \
include/linux/minmax.h
231
#define clamp_val(val, lo, hi) __careful_clamp(typeof(val), val, lo, hi)
include/linux/minmax.h
24
(!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
include/linux/minmax.h
251
typeof(&(array)[0]) __array = (array); \
include/linux/minmax.h
252
typeof(len) __len = (len); \
include/linux/minmax.h
308
do { typeof(a) __tmp = (a); (a) = (b); (b) = __tmp; } while (0)
include/linux/minmax.h
49
#define __sign_use(ux) (is_signed_type(typeof(ux)) ? \
include/linux/minmax.h
71
(typeof(__builtin_choose_expr(sizeof(ux) > 4, 1LL, 1L)))(ux) >= 0)
include/linux/module.h
256
static typeof(name) __mod_device_table(type, name) \
include/linux/module.h
598
(typeof(&x))(__symbol_get(__stringify(x))); })
include/linux/module.h
828
#define symbol_get(x) ({ extern typeof(x) x __attribute__((weak,visibility("hidden"))); &(x); })
include/linux/mutex.h
171
typeof(mutex) mutex_ = (mutex); \
include/linux/netdevice.h
3080
typeof(type) __percpu *pcpu_stats = alloc_percpu_gfp(type, gfp);\
include/linux/netdevice.h
3084
typeof(type) *stat; \
include/linux/netdevice.h
3097
typeof(type) __percpu *pcpu_stats = devm_alloc_percpu(dev, type);\
include/linux/netdevice.h
3101
typeof(type) *stat; \
include/linux/nodemask.h
284
typeof(_unused_nodemask_arg_) m; \
include/linux/nospec.h
57
typeof(index) _i = (index); \
include/linux/nospec.h
58
typeof(size) _s = (size); \
include/linux/nospec.h
64
(typeof(_i)) (_i & _mask); \
include/linux/of.h
169
typeof(__fwnode) __to_of_node_fwnode = (__fwnode); \
include/linux/of.h
179
typeof(node) __of_fwnode_handle_node = (node); \
include/linux/overflow.h
138
typeof(var) *__ptr = &(var); \
include/linux/overflow.h
139
*__ptr = wrapping_sub(typeof(var), *__ptr, offset); \
include/linux/overflow.h
193
typeof(a) _a = a; \
include/linux/overflow.h
194
typeof(s) _s = s; \
include/linux/overflow.h
195
typeof(d) _d = d; \
include/linux/overflow.h
205
is_unsigned_type(typeof(x)) ? \
include/linux/overflow.h
207
is_unsigned_type(typeof(T)) ? \
include/linux/overflow.h
212
typeof(T) v = 0; \
include/linux/overflow.h
248
typeof(start) start__ = (start); \
include/linux/overflow.h
249
typeof(size) size__ = (size); \
include/linux/overflow.h
250
typeof(max) max__ = (max); \
include/linux/overflow.h
283
typeof(start) start__ = (start); \
include/linux/overflow.h
284
typeof(size) size__ = (size); \
include/linux/overflow.h
285
typeof(max) max__ = (max); \
include/linux/overflow.h
35
#define type_max(t) __type_max(typeof(t))
include/linux/overflow.h
37
#define type_min(t) __type_min(typeof(t))
include/linux/overflow.h
465
#define struct_offset(p, member) (offsetof(typeof(*(p)), member))
include/linux/overflow.h
557
typeof(_Generic(__flex_counter(FAM), \
include/linux/overflow.h
92
typeof(var) *__ptr = &(var); \
include/linux/overflow.h
93
*__ptr = wrapping_add(typeof(var), *__ptr, offset); \
include/linux/packing.h
42
typeof(&(fields)[0]) __f = (fields); \
include/linux/packing.h
43
typeof(__f[0]) _f1 = __f[index1]; typeof(__f[0]) _f2 = __f[index2]; \
include/linux/packing.h
58
typeof(&(fields)[0]) _f = (fields); \
include/linux/packing.h
59
typeof(_f[0]) __f = _f[index]; \
include/linux/packing.h
80
typeof(&(fields)[0]) _f = (fields); \
include/linux/packing.h
81
typeof(pbuflen) _len = (pbuflen); \
include/linux/page-flags.h
291
#define compound_head(page) ((typeof(page))_compound_head(page))
include/linux/pci.h
165
#define PCI_SET_ERROR_RESPONSE(val) (*(val) = ((typeof(*(val))) PCI_ERROR_RESPONSE))
include/linux/pci.h
166
#define PCI_POSSIBLE_ERROR(val) ((val) == ((typeof(val)) PCI_ERROR_RESPONSE))
include/linux/percpu-defs.h
221
const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \
include/linux/percpu-defs.h
426
#define raw_cpu_sub_return(pcp, val) raw_cpu_add_return(pcp, -(typeof(pcp))(val))
include/linux/percpu-defs.h
488
#define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val))
include/linux/percpu-defs.h
491
#define __this_cpu_sub_return(pcp, val) __this_cpu_add_return(pcp, -(typeof(pcp))(val))
include/linux/percpu-defs.h
510
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
include/linux/percpu-defs.h
513
#define this_cpu_sub_return(pcp, val) this_cpu_add_return(pcp, -(typeof(pcp))(val))
include/linux/percpu.h
147
(typeof(type) __percpu *)__alloc_percpu_gfp(sizeof(type), \
include/linux/percpu.h
150
(typeof(type) __percpu *)__alloc_percpu(sizeof(type), \
include/linux/percpu.h
153
((typeof(type) __percpu *)pcpu_alloc_noprof(sizeof(type), \
include/linux/ptr_ring.h
438
typeof((f)(NULL)) __PTR_RING_PEEK_CALL_v; \
include/linux/ptr_ring.h
447
typeof((f)(NULL)) __PTR_RING_PEEK_CALL_v; \
include/linux/ptr_ring.h
456
typeof((f)(NULL)) __PTR_RING_PEEK_CALL_v; \
include/linux/ptr_ring.h
465
typeof((f)(NULL)) __PTR_RING_PEEK_CALL_v; \
include/linux/qed/common_hsi.h
29
typeof(regpair) __regpair = (regpair); \
include/linux/rbtree.h
106
({ typeof(ptr) ____ptr = (ptr); \
include/linux/rbtree.h
128
for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \
include/linux/rbtree.h
130
typeof(*pos), field); 1; }); \
include/linux/rculist.h
448
pos = list_entry_rcu((head)->next, typeof(*pos), member); \
include/linux/rculist.h
450
pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
include/linux/rculist.h
467
pos = list_entry_rcu((head)->next, typeof(*pos), member); \
include/linux/rculist.h
469
pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
include/linux/rculist.h
485
container_of((typeof(ptr))READ_ONCE(ptr), type, member)
include/linux/rculist.h
501
for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \
include/linux/rculist.h
503
pos = list_entry_lockless(pos->member.next, typeof(*pos), member))
include/linux/rculist.h
524
for (pos = list_entry_rcu(pos->member.next, typeof(*pos), member); \
include/linux/rculist.h
526
pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
include/linux/rculist.h
547
pos = list_entry_rcu(pos->member.next, typeof(*(pos)), member))
include/linux/rculist.h
766
typeof(*(pos)), member); \
include/linux/rculist.h
769
&(pos)->member)), typeof(*(pos)), member))
include/linux/rculist.h
787
typeof(*(pos)), member); \
include/linux/rculist.h
790
&(pos)->member)), typeof(*(pos)), member))
include/linux/rculist.h
807
typeof(*(pos)), member); \
include/linux/rculist.h
810
&(pos)->member)), typeof(*(pos)), member))
include/linux/rculist.h
824
typeof(*(pos)), member); \
include/linux/rculist.h
827
&(pos)->member)), typeof(*(pos)), member))
include/linux/rculist.h
836
&(pos)->member)), typeof(*(pos)), member); \
include/linux/rculist.h
839
&(pos)->member)), typeof(*(pos)), member))
include/linux/rculist.h
848
&(pos)->member)), typeof(*(pos)), member); \
include/linux/rculist.h
851
&(pos)->member)), typeof(*(pos)), member))
include/linux/rculist.h
861
&(pos)->member)), typeof(*(pos)), member))
include/linux/rculist_bl.h
98
({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1; }); \
include/linux/rculist_nulls.h
230
({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1; }); \
include/linux/rculist_nulls.h
245
({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); \
include/linux/rcupdate.h
1119
typeof (ptr) ___p = (ptr); \
include/linux/rcupdate.h
1122
BUILD_BUG_ON(offsetof(typeof(*(ptr)), rhf) >= 4096); \
include/linux/rcupdate.h
1129
typeof(ptr) ___p = (ptr); \
include/linux/rcupdate.h
485
((void)(((typeof(*p) space *)p) == p))
include/linux/rcupdate.h
492
typeof(*p) *local = (typeof(*p) *__force)(p); \
include/linux/rcupdate.h
494
((typeof(*p) __force __kernel *)(local)) \
include/linux/rcupdate.h
507
typeof(*p) *local = (typeof(*p) *__force)READ_ONCE(p); \
include/linux/rcupdate.h
509
((typeof(*p) __force __kernel *)(local)); \
include/linux/rcupdate.h
514
typeof(*p) *local = (typeof(*p) *__force)READ_ONCE(p); \
include/linux/rcupdate.h
517
((typeof(*p) __force __kernel *)(local)); \
include/linux/rcupdate.h
523
((typeof(*p) __force __kernel *)(p)); \
include/linux/rcupdate.h
528
typeof(p) local = READ_ONCE(p); \
include/linux/rcupdate.h
529
((typeof(*p) __force __kernel *)(local)); \
include/linux/rcupdate.h
537
#define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v)
include/linux/rcupdate.h
576
WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \
include/linux/rcupdate.h
578
smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \
include/linux/rcupdate.h
594
typeof(ptr) __tmp = rcu_dereference_protected((rcu_ptr), (c)); \
include/linux/regset.h
66
typeof(v) __v = (v); \
include/linux/regset.h
72
*(typeof(__v + 0) *)__s->p = __v; \
include/linux/rhashtable.h
285
({ tpos = container_of(pos, typeof(*tpos), member); 1; })
include/linux/sh_intc.h
101
typeof(NULL): 0, \
include/linux/skbuff.h
2982
return skb->mac_header != (typeof(skb->mac_header))~0U;
include/linux/skbuff.h
3010
DEBUG_NET_WARN_ON_ONCE(offset != (typeof(skb->inner_transport_header))offset);
include/linux/skbuff.h
3030
DEBUG_NET_WARN_ON_ONCE(offset != (typeof(skb->inner_network_header))offset);
include/linux/skbuff.h
3055
DEBUG_NET_WARN_ON_ONCE(offset != (typeof(skb->inner_mac_header))offset);
include/linux/skbuff.h
3067
return skb->transport_header != (typeof(skb->transport_header))~0U;
include/linux/skbuff.h
3080
DEBUG_NET_WARN_ON_ONCE(offset != (typeof(skb->transport_header))offset);
include/linux/skbuff.h
3097
if (unlikely(offset != (typeof(skb->transport_header))offset))
include/linux/skbuff.h
3100
if (unlikely(offset == (typeof(skb->transport_header))~0U))
include/linux/skbuff.h
3123
DEBUG_NET_WARN_ON_ONCE(offset != (typeof(skb->network_header))offset);
include/linux/skbuff.h
3152
skb->mac_header = (typeof(skb->mac_header))~0U;
include/linux/skbuff.h
3159
DEBUG_NET_WARN_ON_ONCE(offset != (typeof(skb->mac_header))offset);
include/linux/slab.h
1009
__alloc_objs(kmalloc, default_gfp(__VA_ARGS__), typeof(VAR_OR_TYPE), 1)
include/linux/slab.h
1021
__alloc_objs(kmalloc, default_gfp(__VA_ARGS__), typeof(VAR_OR_TYPE), COUNT)
include/linux/slab.h
1036
__alloc_flex(kmalloc, default_gfp(__VA_ARGS__), typeof(VAR_OR_TYPE), FAM, COUNT)
include/linux/slab.h
1040
__alloc_objs(kzalloc, default_gfp(__VA_ARGS__), typeof(P), 1)
include/linux/slab.h
1042
__alloc_objs(kzalloc, default_gfp(__VA_ARGS__), typeof(P), COUNT)
include/linux/slab.h
1044
__alloc_flex(kzalloc, default_gfp(__VA_ARGS__), typeof(P), FAM, COUNT)
include/linux/slab.h
1048
__alloc_objs(kvmalloc, default_gfp(__VA_ARGS__), typeof(P), 1)
include/linux/slab.h
1050
__alloc_objs(kvmalloc, default_gfp(__VA_ARGS__), typeof(P), COUNT)
include/linux/slab.h
1052
__alloc_flex(kvmalloc, default_gfp(__VA_ARGS__), typeof(P), FAM, COUNT)
include/linux/slab.h
1056
__alloc_objs(kvzalloc, default_gfp(__VA_ARGS__), typeof(P), 1)
include/linux/slab.h
1058
__alloc_objs(kvzalloc, default_gfp(__VA_ARGS__), typeof(P), COUNT)
include/linux/slab.h
1060
__alloc_flex(kvzalloc, default_gfp(__VA_ARGS__), typeof(P), FAM, COUNT)
include/linux/static_call.h
154
typeof(&STATIC_CALL_TRAMP(name)) __F = (func); \
include/linux/static_call.h
331
(typeof(STATIC_CALL_TRAMP(name))*)func; \
include/linux/static_call_types.h
101
((typeof(STATIC_CALL_TRAMP(name))*)(STATIC_CALL_KEY(name).func))
include/linux/static_call_types.h
41
extern typeof(func) STATIC_CALL_TRAMP(name);
include/linux/string.h
256
(typeof(*a) *)__memcat_p((void **)(a), (void **)(b)); \
include/linux/string.h
515
typeof(v) __val = (v); \
include/linux/string.h
516
memset(__ptr + offsetofend(typeof(*(obj)), member), __val, \
include/linux/string.h
517
sizeof(*(obj)) - offsetofend(typeof(*(obj)), member)); \
include/linux/string.h
533
typeof(v) __val = (v); \
include/linux/string.h
534
memset(__ptr + offsetof(typeof(*(obj)), member), __val, \
include/linux/string.h
535
sizeof(*(obj)) - offsetof(typeof(*(obj)), member)); \
include/linux/timer.h
133
container_of(callback_timer, typeof(*var), timer_fieldname)
include/linux/typecheck.h
11
typeof(x) __dummy2; \
include/linux/typecheck.h
21
({ typeof(type) __tmp = function; \
include/linux/typecheck.h
29
({ typeof(x) __dummy; \
include/linux/uaccess.h
587
const typeof(val) *__gk_ptr = (ptr); \
include/linux/uaccess.h
678
typeof(uptr) __retptr; \
include/linux/uaccess.h
829
typeof(usrc) _tmpsrc = usrc; \
include/linux/uaccess.h
854
typeof(udst) _tmpdst = udst; \
include/linux/unaligned.h
13
#define get_unaligned(ptr) __get_unaligned_t(typeof(*(ptr)), (ptr))
include/linux/unaligned.h
14
#define put_unaligned(val, ptr) __put_unaligned_t(typeof(*(ptr)), (val), (ptr))
include/linux/util_macros.h
38
typeof(as) __fc_i, __fc_as = (as) - 1; \
include/linux/util_macros.h
41
typeof(*a) const *__fc_a = (a); \
include/linux/util_macros.h
68
typeof(as) __fc_i, __fc_as = (as) - 1; \
include/linux/util_macros.h
71
typeof(*a) const *__fc_a = (a); \
include/linux/virtio_config.h
463
typeof(virtio_to_cpu(NULL, ((structname*)0)->member))
include/linux/virtio_config.h
468
typeof(((structname*)0)->member) virtio_cread_v; \
include/linux/virtio_config.h
472
typecheck(typeof(virtio_to_cpu((vdev), virtio_cread_v)), *(ptr)); \
include/linux/virtio_config.h
497
typeof(((structname*)0)->member) virtio_cwrite_v = \
include/linux/virtio_config.h
502
typecheck(typeof(virtio_to_cpu((vdev), virtio_cwrite_v)), *(ptr)); \
include/linux/virtio_config.h
532
typeof(((structname*)0)->member) virtio_cread_v; \
include/linux/virtio_config.h
536
typecheck(typeof(virtio_le_to_cpu(virtio_cread_v)), *(ptr)); \
include/linux/virtio_config.h
560
typeof(((structname*)0)->member) virtio_cwrite_v = \
include/linux/virtio_config.h
565
typecheck(typeof(virtio_le_to_cpu(virtio_cwrite_v)), *(ptr)); \
include/linux/workqueue.h
581
container_of(callback_work, typeof(*var), work_fieldname)
include/media/dvbdev.h
463
typeof(&FUNCTION) __a = symbol_request(FUNCTION); \
include/media/v4l2-common.h
421
(typeof(&(array)[0]))__v4l2_find_nearest_size_conditional( \
include/media/v4l2-common.h
423
offsetof(typeof(*(array)), width_field), \
include/media/v4l2-common.h
424
offsetof(typeof(*(array)), height_field), \
include/media/v4l2-dev.h
320
typeof(__entity) __me_vdev_ent = __entity; \
include/media/v4l2-subdev.h
1103
typeof(ent) __me_sd_ent = (ent); \
include/media/v4l2-subdev.h
1337
const struct v4l2_subdev_state *: (const typeof(*(value)) *)(value), \
include/net/ieee802154_netdev.h
19
(offsetof(typeof(struct_type), member) + \
include/net/ieee802154_netdev.h
20
sizeof(((typeof(struct_type) *)(NULL))->member))
include/net/ieee802154_netdev.h
23
offsetof(typeof(struct sockaddr_ieee802154), addr)
include/net/ip.h
608
BUILD_BUG_ON(offsetof(typeof(flow->addrs), v4addrs.dst) !=
include/net/ip.h
609
offsetof(typeof(flow->addrs), v4addrs.src) +
include/net/ipv6.h
846
BUILD_BUG_ON(offsetof(typeof(flow->addrs), v6addrs.dst) !=
include/net/ipv6.h
847
offsetof(typeof(flow->addrs), v6addrs.src) +
include/net/libeth/xdp.h
1146
typeof(bq) ub = (bq); \
include/net/libeth/xdp.h
1762
typeof(libeth_xdp_return_buff_bulk) bulk,
include/net/libeth/xdp.h
1763
typeof(libeth_xsk_buff_free_slow) xsk)
include/net/libeth/xdp.h
263
struct libeth_xdpsq_timer *timer = container_of(work, typeof(*timer),
include/net/libeth/xdp.h
603
bq->bulk[bq->count++] = (typeof(*bq->bulk)){
include/net/libeth/xdp.h
733
desc = (typeof(desc)){
include/net/libeth/xdp.h
886
bq->bulk[bq->count++] = (typeof(*bq->bulk)){
include/net/libeth/xdp.h
917
bq->bulk[bq->count++] = (typeof(*bq->bulk)){
include/net/libeth/xsk.h
200
desc = (typeof(desc)){
include/net/libeth/xsk.h
27
bq->bulk[bq->count++] = (typeof(*bq->bulk)){
include/net/libeth/xsk.h
301
bulk = container_of(&pool->tx_descs[0], typeof(*bulk), desc);
include/net/libeth/xsk.h
49
bq->bulk[bq->count++] = (typeof(*bq->bulk)){
include/net/libeth/xsk.h
656
xskb = (typeof(xskb))&fq->fqes[fq->ntu];
include/net/libeth/xsk.h
82
typeof(*xdp), base);
include/net/smc.h
93
typeof(init_val) __ret = (init_val); \
include/net/sock.h
973
({ tpos = (typeof(*tpos) *)((void *)pos - offset); 1;}); \
include/rdma/uverbs_ioctl.h
1001
(is_signed_type(typeof(*(_to))) ? \
include/rdma/uverbs_ioctl.h
1006
(is_signed_type(typeof(*(_to))) ? \
include/rdma/uverbs_ioctl.h
961
type_min(typeof(*(_to))), \
include/rdma/uverbs_ioctl.h
962
type_max(typeof(*(_to))), NULL); \
include/rdma/uverbs_ioctl.h
972
type_max(typeof(*(_to))), NULL); \
include/rdma/uverbs_ioctl.h
983
type_min(typeof(*(_to))), \
include/rdma/uverbs_ioctl.h
984
type_max(typeof(*(_to))), &_def_val); \
include/rdma/uverbs_ioctl.h
995
type_max(typeof(*(_to))), &_def_val); \
include/rdma/uverbs_std_types.h
161
uflow = container_of(uobj, typeof(*uflow), uobject);
include/scsi/libsas.h
227
struct sas_discovery_event *ev = container_of(work, typeof(*ev), work.work);
include/scsi/libsas.h
286
struct asd_sas_event *ev = container_of(work, typeof(*ev), work.work);
include/soc/arc/arc_aux.h
39
into = *((typeof(into) *)&tmp); \
include/trace/bpf_probe.h
25
typeof(x) __src = (x); \
include/trace/stages/stage3_trace_output.h
25
offsetof(typeof(*__entry), __rel_loc_##field) + \
include/trace/stages/stage5_get_offsets.h
54
offsetof(typeof(*entry), __data); \
include/trace/stages/stage5_get_offsets.h
75
offsetof(typeof(*entry), __data) - \
include/trace/stages/stage5_get_offsets.h
76
offsetof(typeof(*entry), __rel_loc_##item) - \
include/trace/trace_custom_events.h
87
field = (typeof(field))iter->ent; \
include/trace/trace_events.h
213
field = (typeof(field))iter->ent; \
include/trace/trace_events.h
247
field = (typeof(field))entry; \
include/uapi/linux/netfilter/x_tables.h
175
for ((pos) = (typeof(pos))(ehead); \
include/uapi/linux/netfilter/x_tables.h
176
(pos) < (typeof(pos))((char *)(ehead) + (esize)); \
include/uapi/linux/netfilter/x_tables.h
177
(pos) = (typeof(pos))((char *)(pos) + (pos)->next_offset))
include/vdso/align.h
11
#define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a)))
include/vdso/align.h
12
#define PTR_ALIGN_DOWN(p, a) ((typeof(p))ALIGN_DOWN((unsigned long)(p), (a)))
include/vdso/align.h
13
#define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0)
include/xen/interface/io/ring.h
210
*(dest) = *(volatile typeof(dest))RING_GET_##type(r, idx); \
kernel/bpf/cgroup.c
1050
return hlist_entry(progs->first, typeof(*pl), node);
kernel/bpf/cgroup.c
634
return hlist_entry(progs->first, typeof(*pl), node);
kernel/bpf/stream.c
174
elem = container_of(node, typeof(*elem), node);
kernel/cfi.c
42
extern typeof(*(bpf_callback_t)0) __bpf_callback_fn;
kernel/cgroup/dmem.c
133
struct dmem_cgroup_pool_state *pool = container_of(rcu, typeof(*pool), rcu);
kernel/cgroup/dmem.c
250
return container_of(pool->cnt.parent, typeof(*pool), cnt);
kernel/cgroup/dmem.c
446
struct dmem_cgroup_region *region = container_of(rcu, typeof(*region), rcu);
kernel/cgroup/dmem.c
457
struct dmem_cgroup_region *cgregion = container_of(ref, typeof(*cgregion), ref);
kernel/events/core.c
1959
typeof(*event), group_node); event; \
kernel/events/core.c
1961
typeof(*event), group_node))
kernel/events/core.c
5251
container_of(head, typeof(*cpc), epc.rcu_head);
kernel/events/core.c
5258
struct perf_event_pmu_context *epc = container_of(head, typeof(*epc), rcu_head);
kernel/events/core.c
5301
struct perf_event *event = container_of(head, typeof(*event), rcu_head);
kernel/events/hw_breakpoint.c
851
cpu_events = alloc_percpu(typeof(*cpu_events));
kernel/futex/core.c
429
offsetof(typeof(*key), both.offset) / sizeof(u32),
kernel/irq/ipi-mux.c
166
ipi_mux_pcpu = alloc_percpu(typeof(*ipi_mux_pcpu));
kernel/kcsan/kcsan_test.c
162
typeof(*observed.lines) *expect;
kernel/kcsan/kcsan_test.c
171
expect = (typeof(expect))kmalloc_obj(observed.lines);
kernel/locking/lockdep.c
1323
class = list_first_entry_or_null(&free_lock_classes, typeof(*class),
kernel/locking/test-ww_mutex.c
192
struct test_abba *abba = container_of(work, typeof(*abba), work);
kernel/locking/test-ww_mutex.c
294
struct test_cycle *cycle = container_of(work, typeof(*cycle), work);
kernel/locking/test-ww_mutex.c
43
struct test_mutex *mtx = container_of(work, typeof(*mtx), work);
kernel/locking/test-ww_mutex.c
438
struct stress *stress = container_of(work, typeof(*stress), work);
kernel/locking/test-ww_mutex.c
497
struct stress *stress = container_of(work, typeof(*stress), work);
kernel/locking/test-ww_mutex.c
556
struct stress *stress = container_of(work, typeof(*stress), work);
kernel/nstree.c
587
first_ns = list_entry_rcu(head->next, typeof(*first_ns), ns_owner_node.ns_list_entry);
kernel/rcu/tree_nocb.h
1545
typeof(*rdp),
kernel/resource.c
88
for (typeof(_root) __root = (_root), __p = _p = __root->child; \
kernel/sched/core.c
964
typeof(ptr) _ptr = (ptr); \
kernel/sched/core.c
965
typeof(mask) _mask = (mask); \
kernel/sched/core.c
966
typeof(*_ptr) _val = *_ptr; \
kernel/sched/core.c
993
typeof(ti->flags) val = READ_ONCE(ti->flags);
kernel/sched/fair.c
3786
typeof(_ptr) ptr = (_ptr); \
kernel/sched/fair.c
3788
typeof(*ptr) res, var = READ_ONCE(*ptr); \
kernel/sched/fair.c
3805
typeof(_ptr) ptr = (_ptr); \
kernel/sched/fair.c
3806
*ptr -= min_t(typeof(*ptr), *ptr, _val); \
kernel/sched/fair.c
3825
(sa)->name##_sum = max_t(typeof((sa)->name##_sum), \
kernel/sched/psi.c
794
for (typeof(group) iter = group; iter; iter = iter->parent)
kernel/sched/rt.c
502
typeof(struct task_group), list);
kernel/sched/sched.h
253
(val >> min_t(typeof(shift), shift, BITS_PER_TYPE(typeof(val)) - 1))
kernel/sched/sched.h
659
typeof(val) __val = (val); \
kernel/sched/swait.c
29
curr = list_first_entry(&q->task_list, typeof(*curr), task_list);
kernel/sched/swait.c
70
curr = list_first_entry(&tmp, typeof(*curr), task_list);
kernel/sched/topology.c
1493
entry = list_first_entry(&asym_cap_list, typeof(*entry), link);
kernel/sched/wait.c
61
(list_first_entry(head, typeof(*wq_entry), entry)->flags & WQ_FLAG_PRIORITY))
kernel/smp.c
592
csd = llist_entry(entry, typeof(*csd), node.llist);
kernel/time/posix-cpu-timers.c
1134
struct posix_cputimers_work *cw = container_of(work, typeof(*cw), work);
kernel/time/timer_migration.c
1881
typeof(*group), list);
kernel/trace/ring_buffer.c
626
(unsigned int)offsetof(typeof(field), commit),
kernel/trace/ring_buffer.c
632
(unsigned int)offsetof(typeof(field), commit),
kernel/trace/ring_buffer.c
638
(unsigned int)offsetof(typeof(field), data),
kernel/trace/trace.h
2382
_re = (typeof(_re))_e; \
kernel/trace/trace.h
506
typeof(*tr), list);
kernel/trace/trace.h
512
__builtin_types_compatible_p(typeof(var), type *)
kernel/trace/trace.h
517
var = (typeof(var))(entry); \
kernel/trace/trace_event_perf.c
21
typedef typeof(unsigned long [PERF_MAX_TRACE_SIZE / sizeof(unsigned long)])
kernel/trace/trace_events.c
184
offsetof(typeof(ent), item), \
kernel/trace/trace_events_synth.c
129
int offset = offsetof(typeof(trace), fields);
kernel/trace/trace_printk.c
153
mod_fmt = container_of(v, typeof(*mod_fmt), fmt);
kernel/trace/trace_printk.c
157
mod_fmt = container_of(mod_fmt->list.next, typeof(*mod_fmt), list);
kernel/trace/trace_probe.h
51
offsetof(typeof(field), item), \
kernel/trace/trace_syscalls.c
253
trace = (typeof(trace))ent;
kernel/trace/trace_syscalls.c
358
trace = (typeof(trace))ent;
kernel/trace/trace_syscalls.c
532
int offset = offsetof(typeof(trace), args);
lib/debugobjects.c
161
obj = hlist_entry(first_batch, typeof(*obj), node);
lib/debugobjects.c
190
obj = hlist_entry(head->first, typeof(*obj), node);
lib/debugobjects.c
209
obj = hlist_entry(head->first, typeof(*obj), node);
lib/debugobjects.c
231
obj = hlist_entry(list->first, typeof(*obj), node);
lib/debugobjects.c
300
first = hlist_entry(pcp->objects.first, typeof(*first), node);
lib/decompress_unlzma.c
55
x = (typeof(x))read_int((unsigned char *)&x, sizeof(x))
lib/packing.c
16
typeof(&(fields)[0]) field = &(fields)[i]; \
lib/packing.c
29
typeof(&(fields)[0]) field = &fields[i]; \
lib/parman.c
106
typeof(struct parman_item), list);
lib/parman.c
318
prio2 = list_entry(pos, typeof(*prio2), list);
lib/parman.c
95
typeof(struct parman_item), list);
lib/test-kstrtox.c
50
const typeof(test[0]) *t = &test[i]; \
lib/tests/overflow_kunit.c
1014
typeof(t1) __t1h = type_max(t1); \
lib/tests/overflow_kunit.c
1015
typeof(t1) __t1l = type_min(t1); \
lib/tests/overflow_kunit.c
1016
typeof(t2) __t2h = type_max(t2); \
lib/tests/overflow_kunit.c
1017
typeof(t2) __t2l = type_min(t2); \
lib/tests/overflow_kunit.c
301
typeof(a + 0) _a = a; \
lib/tests/overflow_kunit.c
302
typeof(b + 0) _b = b; \
lib/tests/overflow_kunit.c
303
typeof(a + 0) _a_sym = a; \
lib/tests/overflow_kunit.c
304
typeof(a + 0) _a_orig[1] = { a }; \
lib/tests/overflow_kunit.c
305
typeof(b + 0) _b_orig = b; \
lib/tests/overflow_kunit.c
306
typeof(b + 0) _b_bump = b + 1; \
lib/tests/overflow_kunit.c
307
typeof(a + 0) _r; \
lib/tests/overflow_kunit.c
397
typeof(a) __a = (a); \
lib/tests/overflow_kunit.c
398
typeof(s) __s = (s); \
lib/tests/scanf_kunit.c
289
(arr)[i] = random_for_type(typeof((arr)[0])); \
lib/tests/scanf_kunit.c
290
if (is_signed_type(typeof((arr)[0])) && (neg_pattern & 1)) \
lib/tests/scanf_kunit.c
50
typeof(*expect) got = *va_arg(ap, typeof(expect)); \
lib/vsprintf.c
3172
*(typeof(type) *)str = (type)(long)val4; \
lib/vsprintf.c
3300
typeof(type) value; \
lib/vsprintf.c
3307
value = *(typeof(type) *)args; \
mm/kfence/kfence_test.c
101
typeof(observed.lines) expect;
mm/kmemleak.c
1640
object = list_entry(gray_list.next, typeof(*object), gray_list);
mm/kmemleak.c
1648
tmp = list_entry(object->gray_list.next, typeof(*object),
mm/kmemleak.c
492
typeof(*object), object_list);
mm/kmsan/kmsan_test.c
94
typeof(observed.header) expected_header;
mm/zswap.c
336
struct zswap_pool *pool = container_of(work, typeof(*pool),
mm/zswap.c
355
pool = container_of(ref, typeof(*pool), ref);
mm/zswap.c
392
pool = list_first_or_null_rcu(&zswap_pools, typeof(*pool), list);
net/batman-adv/main.h
316
typeof(x)_d1 = (x); \
net/batman-adv/main.h
317
typeof(y)_d2 = (y); \
net/batman-adv/main.h
318
typeof(x)_dummy = (_d1 - _d2); \
net/bluetooth/l2cap_core.c
7334
c = list_entry(chan_list.next, typeof(*c), global_l);
net/bpf/test_run.c
1543
if (!range_is_zero(user_ctx, offsetofend(typeof(*user_ctx), local_port), sizeof(*user_ctx)))
net/ceph/striper.c
153
for (last_ex = list_first_entry(object_extents, typeof(*ex), oe_item),
net/ceph/striper.c
60
list_entry(pos, typeof(*ex), oe_item);
net/core/devmem.c
63
struct net_devmem_dmabuf_binding *binding = container_of(wq, typeof(*binding), unbind_w);
net/core/neighbour.c
898
n = list_first_entry(&head, typeof(*n), free_node);
net/core/net_namespace.c
228
ops = list_entry(ops_list, typeof(*ops), list);
net/core/page_pool.c
1205
struct page_pool *pool = container_of(dwq, typeof(*pool), release_dw);
net/core/secure_seq.c
69
st.hash64 = siphash(&combined, offsetofend(typeof(combined), dport),
net/core/secure_seq.c
95
return siphash(&combined, offsetofend(typeof(combined), dport),
net/core/skbuff.c
402
skb->mac_header = (typeof(skb->mac_header))~0U;
net/core/skbuff.c
403
skb->transport_header = (typeof(skb->transport_header))~0U;
net/core/skbuff.c
5843
typeof(IPPROTO_IP) proto,
net/ipv4/fib_trie.c
1631
struct fib_alias *fa = hlist_entry(pprev, typeof(*fa), fa_list.next);
net/ipv4/ip_output.c
455
BUILD_BUG_ON(offsetof(typeof(*fl4), daddr) !=
net/ipv4/ip_output.c
456
offsetof(typeof(*fl4), saddr) + sizeof(fl4->saddr));
net/ipv4/nexthop.c
2148
f6i = list_first_entry(&nh->f6i_list, typeof(*f6i), nh_list);
net/ipv4/udp.c
2565
unsigned int offset = offsetof(typeof(*sk), sk_node);
net/ipv4/udp.c
2577
offset = offsetof(typeof(*sk), __sk_common.skc_portaddr_node);
net/ipv4/udp_tunnel_nic.c
887
typeof(*first), list);
net/ipv6/seg6_local.c
105
typeof(blen) __tmp = blen; \
net/ipv6/seg6_local.c
2711
BUILD_BUG_ON(SEG6_LOCAL_FLV_ACT_MAX > (typeof(flv8986_act_tbl[0]))~0U);
net/ipv6/syncookies.c
60
return siphash(&combined, offsetofend(typeof(combined), dport),
net/ipv6/udp.c
986
unsigned int offset = offsetof(typeof(*sk), sk_node);
net/ipv6/udp.c
999
offset = offsetof(typeof(*sk), __sk_common.skc_portaddr_node);
net/key/af_key.c
387
DIV_ROUND_UP(sizeof(*sp) + offsetofend(typeof(*addr), sa_family),
net/mac80211/agg-rx.c
494
offsetof(typeof(*mgmt),
net/mac80211/agg-tx.c
988
len - offsetof(typeof(*mgmt),
net/mac80211/cfg.c
874
BUILD_BUG_ON(offsetof(typeof(kseq), ccmp) !=
net/mac80211/cfg.c
875
offsetof(typeof(kseq), aes_cmac));
net/mac80211/cfg.c
879
BUILD_BUG_ON(offsetof(typeof(kseq), ccmp) !=
net/mac80211/cfg.c
880
offsetof(typeof(kseq), aes_gmac));
net/mac80211/cfg.c
884
BUILD_BUG_ON(offsetof(typeof(kseq), ccmp) !=
net/mac80211/cfg.c
885
offsetof(typeof(kseq), gcmp));
net/mac80211/he.c
297
chanctx = container_of(conf, typeof(*chanctx), conf);
net/mac80211/he.c
349
chanctx = container_of(conf, typeof(*chanctx), conf);
net/mac80211/ibss.c
1559
BUILD_BUG_ON(offsetof(typeof(mgmt->u.probe_resp), variable) !=
net/mac80211/ibss.c
1560
offsetof(typeof(mgmt->u.beacon), variable));
net/mac80211/link.c
322
typeof(*links[link_id]),
net/mac80211/mlme.c
10362
len < offsetofend(typeof(*mgmt), u.action.u.ml_reconf_resp) ||
net/mac80211/mlme.c
10369
len -= offsetofend(typeof(*mgmt), u.action.u.ml_reconf_resp);
net/mac80211/parse.c
1045
BUILD_BUG_ON(offsetof(typeof(*elems_parse), elems) != 0);
net/mac80211/rx.c
3858
if (len < offsetofend(typeof(*mgmt),
net/mac80211/rx.c
3873
if (len < offsetofend(typeof(*mgmt),
net/mac80211/rx.c
3882
if (len < offsetofend(typeof(*mgmt),
net/mac80211/rx.c
3890
if (len < offsetofend(typeof(*mgmt),
net/mac80211/rx.c
3898
if (len < offsetofend(typeof(*mgmt),
net/mac80211/rx.c
3910
offsetofend(typeof(*mgmt),
net/mac80211/rx.c
3918
if (len < offsetofend(typeof(*mgmt),
net/mac80211/rx.c
3927
if (len < offsetofend(typeof(*mgmt),
net/mac80211/rx.c
3935
if (len < offsetofend(typeof(*mgmt),
net/mac80211/sta_info.c
433
alloc = container_of(link_sta, typeof(*alloc), info);
net/mac80211/tdls.c
1755
int baselen = offsetof(typeof(*tf), u.chan_switch_resp.variable);
net/mac80211/tdls.c
1856
int baselen = offsetof(typeof(*tf), u.chan_switch_req.variable);
net/mptcp/protocol.h
387
typeof(ptr) _ptr = (ptr); \
net/mptcp/protocol.h
392
typeof(ptr) _ptr = (ptr); \
net/netfilter/nf_conntrack_amanda.c
101
typeof(nf_nat_amanda_hook) nf_nat_amanda;
net/netfilter/nf_conntrack_ftp.c
388
typeof(nf_nat_ftp_hook) nf_nat_ftp;
net/netfilter/nf_conntrack_irc.c
125
typeof(nf_nat_irc_hook) nf_nat_irc;
net/netfilter/nf_conntrack_snmp.c
38
typeof(nf_nat_snmp_hook) nf_nat_snmp;
net/netfilter/nf_conntrack_tftp.c
51
typeof(nf_nat_tftp_hook) nf_nat_tftp;
net/netfilter/xt_repldata.h
26
size_t term_offset = (offsetof(typeof(*tbl), entries[nhooks]) + \
net/rxrpc/input.c
846
typeof(rotate_into) __bit0 = *(shift_from) & 1; \
net/smc/smc_stats.h
112
typeof(_smc) __smc = _smc; \
net/smc/smc_stats.h
115
typeof(length) _len = (length); \
net/smc/smc_stats.h
116
typeof(rcode) _rc = (rcode); \
net/smc/smc_stats.h
127
typeof(_smc) __smc = _smc; \
net/smc/smc_stats.h
130
typeof(length) _len = (length); \
net/smc/smc_stats.h
131
typeof(rcode) _rc = (rcode); \
net/smc/smc_stats.h
142
typeof(_smc_stats) stats = (_smc_stats); \
net/smc/smc_stats.h
143
typeof(_is_add) is_a = (_is_add); \
net/smc/smc_stats.h
144
typeof(_len) _l = (_len); \
net/smc/smc_stats.h
145
typeof(_tech) t = (_tech); \
net/smc/smc_stats.h
168
typeof(_is_add) is_add = (_is_add); \
net/smc/smc_stats.h
169
typeof(_is_smcd) is_d = (_is_smcd); \
net/smc/smc_stats.h
170
typeof(_is_rx) is_r = (_is_rx); \
net/smc/smc_stats.h
171
typeof(_len) l = (_len); \
net/smc/smc_stats.h
187
typeof(_is_smcd) is_d = (_is_smcd); \
net/smc/smc_stats.h
188
typeof(_is_rx) is_r = (_is_rx); \
net/smc/smc_stats.h
229
typeof(_smc) __smc = _smc; \
net/smc/smc_stats.h
242
typeof(_aclc) acl = (_aclc); \
net/smc/smc_stats.h
259
typeof(_ini) i = (_ini); \
net/smc/smc_stats.h
263
typeof(net->smc.smc_stats) smc_stats = (net)->smc.smc_stats; \
net/smc/smc_stats.h
94
typeof(_smc_stats) stats = (_smc_stats); \
net/smc/smc_stats.h
95
typeof(_tech) t = (_tech); \
net/smc/smc_stats.h
96
typeof(_len) l = (_len); \
net/smc/smc_stats.h
98
typeof(_rc) r = (_rc); \
net/tipc/name_table.c
1176
dst = list_first_entry(l, typeof(*dst), list);
net/unix/garbage.c
159
vertex = list_first_entry(&fpl->vertices, typeof(*vertex), entry);
net/unix/garbage.c
362
edge = list_first_entry(&vertex->edges, typeof(*edge), vertex_entry);
net/unix/garbage.c
412
edge = list_first_entry(&vertex->edges, typeof(*edge), vertex_entry);
net/unix/garbage.c
445
vertex = list_first_entry(scc, typeof(*vertex), scc_entry);
net/unix/garbage.c
498
edge = list_first_entry(&edge_stack, typeof(*edge), stack_entry);
net/unix/garbage.c
567
vertex = list_first_entry(&unix_unvisited_vertices, typeof(*vertex), entry);
net/unix/garbage.c
587
vertex = list_first_entry(&unix_unvisited_vertices, typeof(*vertex), entry);
net/wireless/debugfs.c
166
struct debugfs_read_work *w = container_of(work, typeof(*w), work);
net/wireless/debugfs.c
246
struct debugfs_write_work *w = container_of(work, typeof(*w), work);
net/wireless/nl80211.c
236
if (len < offsetofend(typeof(*mgmt), frame_control))
net/wireless/reg.c
717
if ((u8 *)coll + offsetofend(typeof(*coll), n_rules) > data + size)
net/wireless/scan.c
2858
ap_info.tbtt_info_len = offsetofend(typeof(tbtt_info), mld_params);
net/wireless/scan.c
587
if (length >= offsetofend(typeof(*tbtt_info), mld_params)) {
net/wireless/tests/scan.c
579
t_skb_remove_member(input, typeof(mle_basic_common_info), mld_id);
net/wireless/tests/scan.c
826
ap = list_first_entry(&coloc_ap_list, typeof(*ap), list);
net/xfrm/xfrm_iptfs.c
1673
xtfs = container_of(me, typeof(*xtfs), drop_timer);
net/xfrm/xfrm_iptfs.c
2323
xtfs = container_of(me, typeof(*xtfs), iptfs_timer);
samples/bpf/test_lru_dist.c
28
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
samples/bpf/xdp_sample.bpf.h
107
union { typeof(x) __val; char __c[1]; } __u = \
samples/bpf/xdp_sample.bpf.h
99
union { typeof(x) __val; char __c[1]; } __u = \
samples/tsm-mr/tsm_mr_sample.c
36
offsetof(typeof(sample_report),
scripts/gendwarfksyms/examples/symbolptr.c
21
static typeof(sym) *__gendwarfksyms_ptr_##sym __used \
scripts/include/list.h
10
#define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
scripts/include/list.h
259
list_entry((pos)->member.next, typeof(*(pos)), member)
scripts/include/list.h
267
list_entry((pos)->member.prev, typeof(*(pos)), member)
scripts/include/list.h
285
for (pos = list_first_entry(head, typeof(*pos), member); \
scripts/include/list.h
296
for (pos = list_last_entry(head, typeof(*pos), member); \
scripts/include/list.h
308
for (pos = list_first_entry(head, typeof(*pos), member), \
scripts/include/list.h
401
({ typeof(ptr) ____ptr = (ptr); \
scripts/include/list.h
412
for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
scripts/include/list.h
414
pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
scripts/include/list.h
424
for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\
scripts/include/list.h
426
pos = hlist_entry_safe(n, typeof(*pos), member))
scripts/kconfig/nconf.h
26
typeof(a) _a = a;\
scripts/kconfig/nconf.h
27
typeof(b) _b = b;\
scripts/kconfig/nconf.h
31
typeof(a) _a = a;\
scripts/kconfig/nconf.h
32
typeof(b) _b = b;\
scripts/mod/file2alias.c
136
typeof(((struct devid *)0)->f) f = \
scripts/mod/file2alias.c
137
get_unaligned_native((typeof(f) *)((m) + OFF_##devid##_##f))
scripts/mod/file2alias.c
144
typeof(((struct devid *)0)->f) *f = ((m) + OFF_##devid##_##f)
scripts/mod/modpost.h
59
(typeof(x))(sizeof(x) == 2 ? bswap_16(x) : \
scripts/mod/modpost.h
70
(typeof(__pptr))(ptr); \
scripts/mod/modpost.h
74
#define get_unaligned(ptr) __get_unaligned_t(typeof(*(ptr)), (ptr))
scripts/mod/modpost.h
78
typeof(*(ptr)) _val = get_unaligned(ptr); \
security/apparmor/apparmorfs.c
2165
next = list_first_entry(&ns->sub_ns, typeof(*ns), base.list);
security/apparmor/apparmorfs.c
2226
return list_first_entry(&p->base.profiles, typeof(*p),
security/apparmor/include/label.h
198
typeof(i) ___i = (i); \
security/apparmor/include/label.h
32
typeof(N) i; \
security/apparmor/include/match.h
109
typeof(LEN) __i; \
security/integrity/ima/ima_appraise.c
191
sig = (typeof(sig))xattr_value;
security/integrity/ima/ima_appraise.c
197
sig = (typeof(sig))xattr_value;
security/integrity/ima/ima_appraise.c
334
sig = (typeof(sig))xattr_value;
security/integrity/ima/ima_appraise.c
374
sig = (typeof(sig))xattr_value;
security/landlock/net.c
66
if (addrlen < offsetofend(typeof(*address), sa_family))
security/landlock/syscalls.c
227
offsetofend(typeof(ruleset_attr),
security/landlock/tsync.c
230
*ctx = (typeof(*ctx)){};
security/tomoyo/audit.c
450
ptr = list_entry(tomoyo_log.next, typeof(*ptr), list);
security/tomoyo/common.c
1051
const struct tomoyo_task_acl *p1 = container_of(a, typeof(*p1), head);
security/tomoyo/common.c
1052
const struct tomoyo_task_acl *p2 = container_of(b, typeof(*p2), head);
security/tomoyo/common.c
1259
(typeof(condp)) (cond + 1);
security/tomoyo/common.c
1261
(typeof(numbers_p)) (condp + condc);
security/tomoyo/common.c
1263
(typeof(names_p))
security/tomoyo/common.c
1266
(typeof(argv)) (names_p + cond->names_count);
security/tomoyo/common.c
1268
(typeof(envp)) (argv + cond->argc);
security/tomoyo/common.c
1420
container_of(acl, typeof(*ptr), head);
security/tomoyo/common.c
1442
container_of(acl, typeof(*ptr), head);
security/tomoyo/common.c
1451
container_of(acl, typeof(*ptr), head);
security/tomoyo/common.c
1472
container_of(acl, typeof(*ptr), head);
security/tomoyo/common.c
1493
container_of(acl, typeof(*ptr), head);
security/tomoyo/common.c
1516
container_of(acl, typeof(*ptr), head);
security/tomoyo/common.c
1549
container_of(acl, typeof(*ptr), head);
security/tomoyo/common.c
1571
container_of(acl, typeof(*ptr), head);
security/tomoyo/common.c
1580
container_of(acl, typeof(*ptr), head);
security/tomoyo/common.c
1617
list_entry(head->r.acl, typeof(*ptr), list);
security/tomoyo/common.c
1641
list_entry(head->r.domain, typeof(*domain), list);
security/tomoyo/common.c
1822
container_of(head->r.ns, typeof(*ns), namespace_list);
security/tomoyo/common.c
1827
list_entry(head->r.group, typeof(*group), head.list);
security/tomoyo/common.c
1831
list_entry(head->r.acl, typeof(*ptr), list);
security/tomoyo/common.c
1853
container_of(ptr, typeof(*member),
security/tomoyo/common.c
1882
container_of(head->r.ns, typeof(*ns), namespace_list);
security/tomoyo/common.c
1887
container_of(head->r.acl, typeof(*acl), list);
security/tomoyo/common.c
1896
container_of(acl, typeof(*ptr), head);
security/tomoyo/common.c
1912
container_of(acl, typeof(*ptr), head);
security/tomoyo/common.c
1944
container_of(head->r.ns, typeof(*ns), namespace_list);
security/tomoyo/common.c
2351
struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list);
security/tomoyo/common.c
2369
struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list);
security/tomoyo/common.c
2409
struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list);
security/tomoyo/common.c
2418
struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list);
security/tomoyo/common.c
746
container_of(head->r.ns, typeof(*ns), namespace_list);
security/tomoyo/common.c
919
list_entry(head->r.acl, typeof(*ptr), head.list);
security/tomoyo/common.h
1184
container_of(name, typeof(*ptr), entry);
security/tomoyo/domain.c
223
typeof(*p1),
security/tomoyo/domain.c
226
typeof(*p2),
security/tomoyo/domain.c
385
const struct tomoyo_aggregator *p1 = container_of(a, typeof(*p1),
security/tomoyo/domain.c
387
const struct tomoyo_aggregator *p2 = container_of(b, typeof(*p2),
security/tomoyo/environ.c
22
container_of(ptr, typeof(*acl), head);
security/tomoyo/environ.c
80
const struct tomoyo_env_acl *p1 = container_of(a, typeof(*p1), head);
security/tomoyo/environ.c
81
const struct tomoyo_env_acl *p2 = container_of(b, typeof(*p2), head);
security/tomoyo/file.c
259
const struct tomoyo_path_acl *acl = container_of(ptr, typeof(*acl),
security/tomoyo/file.c
283
container_of(ptr, typeof(*acl), head);
security/tomoyo/file.c
304
container_of(ptr, typeof(*acl), head);
security/tomoyo/file.c
324
container_of(ptr, typeof(*acl), head);
security/tomoyo/file.c
348
const struct tomoyo_path_acl *p1 = container_of(a, typeof(*p1), head);
security/tomoyo/file.c
349
const struct tomoyo_path_acl *p2 = container_of(b, typeof(*p2), head);
security/tomoyo/file.c
420
const struct tomoyo_mkdev_acl *p1 = container_of(a, typeof(*p1), head);
security/tomoyo/file.c
421
const struct tomoyo_mkdev_acl *p2 = container_of(b, typeof(*p2), head);
security/tomoyo/file.c
502
const struct tomoyo_path2_acl *p1 = container_of(a, typeof(*p1), head);
security/tomoyo/file.c
503
const struct tomoyo_path2_acl *p2 = container_of(b, typeof(*p2), head);
security/tomoyo/file.c
639
const struct tomoyo_path_number_acl *p1 = container_of(a, typeof(*p1),
security/tomoyo/file.c
641
const struct tomoyo_path_number_acl *p2 = container_of(b, typeof(*p2),
security/tomoyo/file.c
970
const struct tomoyo_mount_acl *p1 = container_of(a, typeof(*p1), head);
security/tomoyo/file.c
971
const struct tomoyo_mount_acl *p2 = container_of(b, typeof(*p2), head);
security/tomoyo/gc.c
111
container_of(element, typeof(*ptr), head.list);
security/tomoyo/gc.c
127
container_of(element, typeof(*ptr), head.list);
security/tomoyo/gc.c
143
container_of(element, typeof(*ptr), head.list);
security/tomoyo/gc.c
158
container_of(element, typeof(*acl), list);
security/tomoyo/gc.c
165
= container_of(acl, typeof(*entry), head);
security/tomoyo/gc.c
172
= container_of(acl, typeof(*entry), head);
security/tomoyo/gc.c
180
= container_of(acl, typeof(*entry), head);
security/tomoyo/gc.c
188
= container_of(acl, typeof(*entry), head);
security/tomoyo/gc.c
198
= container_of(acl, typeof(*entry), head);
security/tomoyo/gc.c
208
container_of(acl, typeof(*entry), head);
security/tomoyo/gc.c
216
container_of(acl, typeof(*entry), head);
security/tomoyo/gc.c
225
container_of(acl, typeof(*entry), head);
security/tomoyo/gc.c
233
container_of(acl, typeof(*entry), head);
security/tomoyo/gc.c
253
container_of(element, typeof(*domain), list);
security/tomoyo/gc.c
278
struct tomoyo_condition *cond = container_of(element, typeof(*cond),
security/tomoyo/gc.c
331
container_of(element, typeof(*member), head.list);
security/tomoyo/gc.c
346
container_of(element, typeof(*group), head.list);
security/tomoyo/gc.c
438
(container_of(element, typeof(struct tomoyo_name),
security/tomoyo/gc.c
452
(element, typeof(struct tomoyo_domain_info),
security/tomoyo/group.c
58
const struct tomoyo_address_group *p1 = container_of(a, typeof(*p1),
security/tomoyo/group.c
60
const struct tomoyo_address_group *p2 = container_of(b, typeof(*p2),
security/tomoyo/mount.c
52
container_of(ptr, typeof(*acl), head);
security/tomoyo/network.c
195
const struct tomoyo_inet_acl *p1 = container_of(a, typeof(*p1), head);
security/tomoyo/network.c
196
const struct tomoyo_inet_acl *p2 = container_of(b, typeof(*p2), head);
security/tomoyo/network.c
214
const struct tomoyo_unix_acl *p1 = container_of(a, typeof(*p1), head);
security/tomoyo/network.c
215
const struct tomoyo_unix_acl *p2 = container_of(b, typeof(*p2), head);
security/tomoyo/network.c
426
container_of(ptr, typeof(*acl), head);
security/tomoyo/network.c
456
container_of(ptr, typeof(*acl), head);
security/tomoyo/securityfs_if.c
22
const struct tomoyo_task_acl *acl = container_of(ptr, typeof(*acl),
sound/core/pcm_native.c
3081
typeof(*(__ptr)) __user *__src = (__ptr); \
sound/core/pcm_native.c
3098
typeof(*(__ptr)) __user *__src = (__ptr); \
sound/hda/common/codec.c
134
p = list_first_entry(&codec->conn_list, typeof(*p), list);
sound/soc/codecs/cs-amp-lib-test.c
749
entry = list_last_entry(&priv->ctl_write_list, typeof(*entry), list);
sound/soc/codecs/cs-amp-lib-test.c
754
entry = list_first_entry(&priv->ctl_write_list, typeof(*entry), list);
sound/soc/codecs/cs-amp-lib-test.c
759
entry = list_first_entry(&priv->ctl_write_list, typeof(*entry), list);
sound/soc/codecs/cs-amp-lib-test.c
764
entry = list_first_entry(&priv->ctl_write_list, typeof(*entry), list);
sound/soc/codecs/cs-amp-lib-test.c
835
entry = list_first_entry(&priv->ctl_write_list, typeof(*entry), list);
sound/soc/intel/avs/pcm.c
57
dp = list_first_entry_or_null(&dw->edges[dir], typeof(*dp), list_node[dir]);
sound/soc/intel/avs/topology.c
2173
tmc = container_of(hdr, typeof(*tmc), hdr);
sound/soc/intel/avs/utils.c
281
entry = list_last_entry(&adev->fw_list, typeof(*entry), node);
sound/usb/mixer_scarlett2.c
9158
offsetof(typeof(*req), data);
tools/arch/arm64/include/asm/barrier.h
29
union { typeof(*p) __val; char __c[1]; } __u = \
tools/arch/arm64/include/asm/barrier.h
66
union { typeof(*p) __val; char __c[1]; } __u = \
tools/arch/powerpc/include/asm/barrier.h
41
typeof(*p) ___p1 = READ_ONCE(*p); \
tools/arch/riscv/include/asm/barrier.h
34
typeof(*p) ___p1 = READ_ONCE(*p); \
tools/arch/s390/include/asm/barrier.h
39
typeof(*p) ___p1 = READ_ONCE(*p); \
tools/arch/sparc/include/asm/barrier_64.h
51
typeof(*p) ___p1 = READ_ONCE(*p); \
tools/arch/x86/include/asm/barrier.h
41
typeof(*p) ___p1 = READ_ONCE(*p); \
tools/arch/x86/intel_sdsi/intel_sdsi.c
30
typeof(x) _min1 = (x); \
tools/arch/x86/intel_sdsi/intel_sdsi.c
31
typeof(y) _min2 = (y); \
tools/firewire/list.h
57
list_entry((elm)->member.next, typeof(*elm), member)
tools/firewire/list.h
60
for (pos = list_head(list, typeof(*pos), member); \
tools/firmware/ihex2fw.c
25
#define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
tools/hv/vmbus_bufring.c
31
#define ALIGN(val, align) ((typeof(val))((val) & (~((typeof(val))((align) - 1)))))
tools/include/asm/barrier.h
61
typeof(*p) ___p1 = READ_ONCE(*p); \
tools/include/linux/align.h
10
#define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0)
tools/include/linux/bitfield.h
113
((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
tools/include/linux/bitfield.h
127
(typeof(_mask))(((_reg) & (_mask)) >> __bf_shf(_mask)); \
tools/include/linux/bitfield.h
144
#define field_max(field) ((typeof(field))field_mask(field))
tools/include/linux/bitfield.h
49
#define __unsigned_scalar_typeof(x) typeof( \
tools/include/linux/bitfield.h
86
(typeof(_mask))((_mask) >> __bf_shf(_mask)); \
tools/include/linux/bitfield.h
99
!((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \
tools/include/linux/compiler.h
226
union { typeof(x) __val; char __c[1]; } __u = \
tools/include/linux/compiler.h
234
union { typeof(x) __val; char __c[1]; } __u = \
tools/include/linux/compiler.h
73
# define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
tools/include/linux/compiler_types.h
39
#define __unqual_scalar_typeof(x) typeof( \
tools/include/linux/container_of.h
14
const typeof(((type *)0)->member) * __mptr = (ptr); \
tools/include/linux/kernel.h
22
#define PERF_ALIGN(x, a) __PERF_ALIGN_MASK(x, (typeof(x))(a)-1)
tools/include/linux/kernel.h
31
typeof(x) _max1 = (x); \
tools/include/linux/kernel.h
32
typeof(y) _max2 = (y); \
tools/include/linux/kernel.h
39
typeof(x) _min1 = (x); \
tools/include/linux/kernel.h
40
typeof(y) _min2 = (y); \
tools/include/linux/kernel.h
47
#define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
tools/include/linux/list.h
414
list_entry((pos)->member.next, typeof(*(pos)), member)
tools/include/linux/list.h
422
list_entry((pos)->member.prev, typeof(*(pos)), member)
tools/include/linux/list.h
468
for (pos = list_first_entry(head, typeof(*pos), member); \
tools/include/linux/list.h
479
for (pos = list_last_entry(head, typeof(*pos), member); \
tools/include/linux/list.h
492
((pos) ? : list_entry(head, typeof(*pos), member))
tools/include/linux/list.h
542
for (pos = list_first_entry(head, typeof(*pos), member), \
tools/include/linux/list.h
589
for (pos = list_last_entry(head, typeof(*pos), member), \
tools/include/linux/list.h
725
({ typeof(ptr) ____ptr = (ptr); \
tools/include/linux/list.h
736
for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\
tools/include/linux/list.h
738
pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
tools/include/linux/list.h
746
for (pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member);\
tools/include/linux/list.h
748
pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
tools/include/linux/list.h
757
pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))
tools/include/linux/list.h
767
for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\
tools/include/linux/list.h
769
pos = hlist_entry_safe(n, typeof(*pos), member))
tools/include/linux/math.h
19
const typeof(y) __y = y; \
tools/include/linux/overflow.h
45
typeof(a) __a = (a); \
tools/include/linux/overflow.h
46
typeof(b) __b = (b); \
tools/include/linux/overflow.h
47
typeof(d) __d = (d); \
tools/include/linux/overflow.h
54
typeof(a) __a = (a); \
tools/include/linux/overflow.h
55
typeof(b) __b = (b); \
tools/include/linux/overflow.h
56
typeof(d) __d = (d); \
tools/include/linux/overflow.h
63
typeof(a) __a = (a); \
tools/include/linux/overflow.h
64
typeof(b) __b = (b); \
tools/include/linux/overflow.h
65
typeof(d) __d = (d); \
tools/include/linux/rbtree.h
100
typeof(*pos), field); 1; }); \
tools/include/linux/rbtree.h
76
({ typeof(ptr) ____ptr = (ptr); \
tools/include/linux/rbtree.h
98
for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \
tools/include/linux/slab.h
212
__alloc_objs(kzalloc, default_gfp(__VA_ARGS__), typeof(P), 1)
tools/include/linux/static_call_types.h
101
((typeof(STATIC_CALL_TRAMP(name))*)(STATIC_CALL_KEY(name).func))
tools/include/linux/static_call_types.h
41
extern typeof(func) STATIC_CALL_TRAMP(name);
tools/include/linux/unaligned.h
11
#define get_unaligned(ptr) __get_unaligned_t(typeof(*(ptr)), (ptr))
tools/include/linux/unaligned.h
12
#define put_unaligned(val, ptr) __put_unaligned_t(typeof(*(ptr)), (val), (ptr))
tools/lib/bpf/bpf_core_read.h
156
#define ___bpf_typeof(type) ((typeof(type) *) 0)
tools/lib/bpf/bpf_core_read.h
159
extern typeof(type) *___concat(bpf_type_tmp_, NR); \
tools/lib/bpf/bpf_core_read.h
273
__builtin_preserve_enum_value(*(typeof(enum_type) *)enum_value, BPF_ENUMVAL_EXISTS)
tools/lib/bpf/bpf_core_read.h
289
__builtin_preserve_enum_value(*(typeof(enum_type) *)enum_value, BPF_ENUMVAL_VALUE)
tools/lib/bpf/bpf_core_read.h
338
((typeof(type) *)bpf_rdonly_cast((ptr), bpf_core_type_id_kernel(type)))
tools/lib/bpf/bpf_core_read.h
396
#define ___type(...) typeof(___arrow(__VA_ARGS__))
tools/lib/bpf/bpf_helpers.h
14
#define __type(name, val) typeof(val) *name
tools/lib/bpf/bpf_helpers.h
15
#define __array(name, val) typeof(val) *name[]
tools/lib/bpf/bpf_tracing.h
674
static __always_inline typeof(name(0)) \
tools/lib/bpf/bpf_tracing.h
676
typeof(name(0)) name(unsigned long long *ctx) \
tools/lib/bpf/bpf_tracing.h
683
static __always_inline typeof(name(0)) \
tools/lib/bpf/bpf_tracing.h
784
static __always_inline typeof(name(0)) \
tools/lib/bpf/bpf_tracing.h
786
typeof(name(0)) name(unsigned long long *ctx) \
tools/lib/bpf/bpf_tracing.h
790
static __always_inline typeof(name(0)) \
tools/lib/bpf/bpf_tracing.h
818
static __always_inline typeof(name(0)) \
tools/lib/bpf/bpf_tracing.h
820
typeof(name(0)) name(struct pt_regs *ctx) \
tools/lib/bpf/bpf_tracing.h
827
static __always_inline typeof(name(0)) \
tools/lib/bpf/bpf_tracing.h
842
static __always_inline typeof(name(0)) \
tools/lib/bpf/bpf_tracing.h
844
typeof(name(0)) name(struct pt_regs *ctx) \
tools/lib/bpf/bpf_tracing.h
851
static __always_inline typeof(name(0)) ____##name(struct pt_regs *ctx, ##args)
tools/lib/bpf/bpf_tracing.h
902
static __always_inline typeof(name(0)) \
tools/lib/bpf/bpf_tracing.h
904
typeof(name(0)) name(struct pt_regs *ctx) \
tools/lib/bpf/bpf_tracing.h
917
static __always_inline typeof(name(0)) \
tools/lib/bpf/gen_loader.c
443
typeof(rval) _val = (rval); \
tools/lib/bpf/libbpf_common.h
82
typeof(NAME) ___##NAME = ({ \
tools/lib/bpf/libbpf_common.h
84
(typeof(NAME)) { \
tools/lib/bpf/libbpf_internal.h
159
extern typeof(internal_name) api_name \
tools/lib/bpf/libbpf_internal.h
334
((opts) && opts->sz >= offsetofend(typeof(*(opts)), field))
tools/lib/bpf/libbpf_internal.h
345
ssize_t __off = offsetofend(typeof(*(opts)), last_nonzero_field); \
tools/lib/bpf/usdt.bpf.h
310
static __always_inline typeof(name(0)) \
tools/lib/bpf/usdt.bpf.h
312
typeof(name(0)) name(struct pt_regs *ctx) \
tools/lib/bpf/usdt.bpf.h
319
static __always_inline typeof(name(0)) \
tools/lib/perf/include/perf/event.h
11
#define event_contains(obj, mem) ((obj).header.size > offsetof(typeof(obj), mem))
tools/lib/subcmd/parse-options.h
114
#define check_vtype(v, type) ( BUILD_BUG_ON_ZERO(!__builtin_types_compatible_p(typeof(v), type)) + v )
tools/lib/subcmd/run-command.c
233
char filename[6 + MAX_STRLEN_TYPE(typeof(cmd->pid)) + 7 + 1];
tools/net/ynl/lib/ynl.h
108
for (typeof(dump->obj) *iter = &dump->obj; \
tools/objtool/elf.c
69
typeof(ptr) __ptr = (ptr); \
tools/objtool/elf.c
74
for (obj = elf_list_entry(__elf_table_entry(name, key), typeof(*obj), member); \
tools/objtool/elf.c
76
obj = elf_list_entry(obj->member.next, typeof(*(obj)), member))
tools/perf/ui/browsers/annotate-data.c
273
entry = list_first_entry(&browser->entries, typeof(*entry), node);
tools/perf/ui/browsers/annotate-data.c
278
entry = list_entry(uib->top, typeof(*entry), node);
tools/perf/ui/browsers/annotate-data.c
281
entry = list_last_entry(&browser->entries, typeof(*entry), node);
tools/perf/ui/browsers/annotate-data.c
313
entry = list_entry(uib->top, typeof(*entry), node);
tools/perf/util/annotate-data.c
1008
last_bb = list_last_entry(this_blocks, typeof(*last_bb), list);
tools/perf/util/annotate-data.c
1009
first_bb = list_first_entry(full_blocks, typeof(*first_bb), list);
tools/perf/util/annotate.c
1305
queue = list_entry(queue->node.next, typeof(*queue), node);
tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c
14
#define PERF_ALIGN(x, a) __PERF_ALIGN_MASK(x, (typeof(x))(a)-1)
tools/perf/util/header.c
4337
if (header->size == offsetof(typeof(*header), adds_features))
tools/perf/util/pmus.c
358
return list_first_entry_or_null(&core_pmus, typeof(*pmu), list);
tools/perf/util/stat-shadow.c
290
mexp = list_first_entry(&me->head, typeof(*mexp), nd);
tools/perf/util/unwind-libunwind-local.c
108
ptr = (typeof(ptr)) __p; \
tools/perf/util/util.h
96
typeof(x) __x = (x); \
tools/sched_ext/include/scx/common.bpf.h
245
#define MEMBER_VPTR(base, member) (typeof((base) member) *) \
tools/sched_ext/include/scx/common.bpf.h
278
#define ARRAY_ELEM_PTR(arr, i, n) (typeof(arr[i]) *) \
tools/sched_ext/include/scx/common.bpf.h
650
typeof(_Generic((x), \
tools/sched_ext/include/scx/common.bpf.h
657
default: (typeof(x))0))
tools/sched_ext/include/scx/common.bpf.h
682
typeof(decay) thr = 1 << (decay); \
tools/sched_ext/include/scx/common.bpf.h
683
typeof(old) ret; \
tools/testing/cxl/test/mem.c
659
container_of(work, typeof(*mds), security.poll_dwork.work);
tools/testing/nvdimm/test/iomap.c
388
ops = list_first_or_null_rcu(&iomap_head, typeof(*ops), list);
tools/testing/nvdimm/test/iomap.c
46
ops = list_first_or_null_rcu(&iomap_head, typeof(*ops), list);
tools/testing/nvdimm/test/nfit.c
1334
struct nfit_test *t = container_of(acpi_desc, typeof(*t), acpi_desc);
tools/testing/nvdimm/test/nfit.c
1358
struct nfit_test *t = container_of(acpi_desc, typeof(*t), acpi_desc);
tools/testing/nvdimm/test/nfit.c
823
struct nfit_test *t = container_of(work, typeof(*t), work);
tools/testing/scatterlist/linux/mm.h
33
#define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
tools/testing/scatterlist/linux/mm.h
67
__min(typeof(x), typeof(y), \
tools/testing/selftests/bpf/bpf_arena_common.h
6
#define WRITE_ONCE(x, val) ((*(volatile typeof(x) *) &(x)) = (val))
tools/testing/selftests/bpf/bpf_arena_list.h
23
({ typeof(*ptr) * ___ptr = (ptr); \
tools/testing/selftests/bpf/bpf_arena_list.h
38
typeof(*(pos)), member), \
tools/testing/selftests/bpf/bpf_arena_list.h
41
pos = list_entry_safe((void __arena *)___tmp, typeof(*(pos)), member))
tools/testing/selftests/bpf/bpf_atomic.h
106
typeof(p) __ptr = (p); \
tools/testing/selftests/bpf/bpf_atomic.h
115
(typeof(*(p)))VAL; \
tools/testing/selftests/bpf/bpf_atomic.h
123
(typeof(*(p)))__val; \
tools/testing/selftests/bpf/bpf_atomic.h
31
typeof(_Generic((x), \
tools/testing/selftests/bpf/bpf_atomic.h
38
default: (typeof(x))0))
tools/testing/selftests/bpf/bpf_atomic.h
43
#define READ_ONCE(x) (*(volatile typeof(x) *)&(x))
tools/testing/selftests/bpf/bpf_atomic.h
45
#define WRITE_ONCE(x, val) ((*(volatile typeof(x) *)&(x)) = (val))
tools/testing/selftests/bpf/bpf_experimental.h
275
if (sizeof(typeof(RHS)) == 8) { \
tools/testing/selftests/bpf/bpf_experimental.h
276
const typeof(RHS) rhs_var = (RHS); \
tools/testing/selftests/bpf/bpf_experimental.h
307
typeof(LHS) __lhs = (LHS); \
tools/testing/selftests/bpf/bpf_experimental.h
308
typeof(RHS) __rhs = (RHS); \
tools/testing/selftests/bpf/bpf_experimental.h
312
if (__cmp_cannot_be_signed(OP) || !__is_signed_type(typeof(__lhs))) { \
tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c
65
.field_sz = sizeof(typeof(((type *)NULL)->field))
tools/testing/selftests/bpf/prog_tests/task_local_data.h
71
#define TLD_READ_ONCE(x) (*(volatile typeof(x) *)&(x))
tools/testing/selftests/bpf/progs/bpf_cubic.c
22
#define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
tools/testing/selftests/bpf/progs/bpf_dctcp.c
17
typeof(x) __x = (x); \
tools/testing/selftests/bpf/progs/bpf_dctcp.c
18
typeof(y) __y = (y); \
tools/testing/selftests/bpf/progs/bpf_qdisc_fifo.c
29
skbn = bpf_obj_new(typeof(*skbn));
tools/testing/selftests/bpf/progs/bpf_qdisc_fq.c
243
flow = bpf_obj_new(typeof(*flow));
tools/testing/selftests/bpf/progs/bpf_qdisc_fq.c
363
skbn = bpf_obj_new(typeof(*skbn));
tools/testing/selftests/bpf/progs/exceptions_fail.c
176
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/exceptions_fail.c
191
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/exceptions_fail.c
202
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/exceptions_fail.c
221
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/irq.c
412
p = bpf_obj_new(typeof(*p));
tools/testing/selftests/bpf/progs/linked_list.c
122
f[i] = bpf_obj_new(typeof(**f));
tools/testing/selftests/bpf/progs/linked_list.c
127
f[i + 1] = bpf_obj_new(typeof(**f));
tools/testing/selftests/bpf/progs/linked_list.c
198
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list.c
202
b = bpf_obj_new(typeof(*b));
tools/testing/selftests/bpf/progs/linked_list.c
33
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
263
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
279
p = bpf_obj_new(typeof(*p));
tools/testing/selftests/bpf/progs/linked_list_fail.c
291
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
302
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
31
f = bpf_obj_new(typeof(*f)); \
tools/testing/selftests/bpf/progs/linked_list_fail.c
314
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
325
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
337
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
348
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
35
f2 = bpf_obj_new(typeof(*f2)); \
tools/testing/selftests/bpf/progs/linked_list_fail.c
360
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
391
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
40
b = bpf_obj_new(typeof(*b)); \
tools/testing/selftests/bpf/progs/linked_list_fail.c
439
b = bpf_obj_new(typeof(*b));
tools/testing/selftests/bpf/progs/linked_list_fail.c
454
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
469
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
484
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
499
p = bpf_obj_new(typeof(struct { int data; }));
tools/testing/selftests/bpf/progs/linked_list_fail.c
514
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
529
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
545
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
548
b = bpf_obj_new(typeof(*b));
tools/testing/selftests/bpf/progs/linked_list_fail.c
566
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/linked_list_fail.c
586
p = bpf_obj_new(typeof(*p));
tools/testing/selftests/bpf/progs/linked_list_peek.c
44
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/local_kptr_stash.c
103
res = bpf_obj_new(typeof(*res));
tools/testing/selftests/bpf/progs/local_kptr_stash.c
141
res = bpf_obj_new(typeof(*res));
tools/testing/selftests/bpf/progs/local_kptr_stash.c
164
res = bpf_obj_new(typeof(*res));
tools/testing/selftests/bpf/progs/local_kptr_stash.c
169
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/local_kptr_stash.c
271
p = bpf_obj_new(typeof(*p));
tools/testing/selftests/bpf/progs/local_kptr_stash.c
99
inner_local_kptr = bpf_obj_new(typeof(*inner_local_kptr));
tools/testing/selftests/bpf/progs/local_kptr_stash_fail.c
54
res = bpf_obj_new(typeof(*res));
tools/testing/selftests/bpf/progs/local_kptr_stash_fail.c
77
res = bpf_obj_new(typeof(*res));
tools/testing/selftests/bpf/progs/map_in_map_btf.c
63
new = bpf_obj_new(typeof(*new));
tools/testing/selftests/bpf/progs/map_kptr.c
122
#define WRITE_ONCE(x, val) ((*(volatile typeof(x) *) &(x)) = (val))
tools/testing/selftests/bpf/progs/mptcp_bpf.h
21
list_entry((pos)->member.next, typeof(*(pos)), member)
tools/testing/selftests/bpf/progs/mptcp_bpf.h
28
for (pos = list_first_entry(head, typeof(*pos), member); \
tools/testing/selftests/bpf/progs/normal_map_btf.c
46
new = bpf_obj_new(typeof(*new));
tools/testing/selftests/bpf/progs/preempted_bpf_ma_op.c
55
new = bpf_obj_new(typeof(*new));
tools/testing/selftests/bpf/progs/rbtree.c
103
m = bpf_obj_new(typeof(*m));
tools/testing/selftests/bpf/progs/rbtree.c
141
nodes[i][j] = bpf_obj_new(typeof(*nodes[i][j]));
tools/testing/selftests/bpf/progs/rbtree.c
195
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/rbtree.c
201
m = bpf_obj_new(typeof(*m));
tools/testing/selftests/bpf/progs/rbtree.c
207
o = bpf_obj_new(typeof(*o));
tools/testing/selftests/bpf/progs/rbtree.c
263
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/rbtree.c
52
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/rbtree.c
57
m = bpf_obj_new(typeof(*m));
tools/testing/selftests/bpf/progs/rbtree.c
69
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/rbtree.c
98
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/rbtree_btf_fail__add_wrong_type.c
42
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/rbtree_btf_fail__wrong_node_type.c
28
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/rbtree_fail.c
142
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/rbtree_fail.c
187
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/rbtree_fail.c
273
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/rbtree_fail.c
37
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/rbtree_fail.c
51
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/rbtree_fail.c
78
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/rbtree_fail.c
82
m = bpf_obj_new(typeof(*m));
tools/testing/selftests/bpf/progs/rbtree_search.c
61
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/refcounted_kptr.c
116
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/refcounted_kptr.c
376
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/refcounted_kptr.c
398
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/refcounted_kptr.c
435
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/refcounted_kptr.c
512
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/refcounted_kptr.c
546
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/refcounted_kptr.c
586
node_new = bpf_obj_new(typeof(*node_new));
tools/testing/selftests/bpf/progs/refcounted_kptr.c
79
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/refcounted_kptr_fail.c
104
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/refcounted_kptr_fail.c
40
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/refcounted_kptr_fail.c
62
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/refcounted_kptr_fail.c
81
n = bpf_obj_new(typeof(*n));
tools/testing/selftests/bpf/progs/res_spin_lock_fail.c
236
struct { int i; } *p = bpf_obj_new(typeof(*p));
tools/testing/selftests/bpf/progs/struct_ops_kptr_return_fail__local_kptr.c
24
t = bpf_obj_new(typeof(*task));
tools/testing/selftests/bpf/progs/tailcall_fail.c
59
p = bpf_obj_new(typeof(*p));
tools/testing/selftests/bpf/progs/task_kfunc_success.c
172
local = bpf_obj_new(typeof(*local));
tools/testing/selftests/bpf/progs/test_cls_redirect.c
555
const uint64_t off = offsetof(typeof(*encap), ip.check);
tools/testing/selftests/bpf/progs/test_cls_redirect_dynptr.c
449
const uint64_t off = offsetof(typeof(*encap), ip.check);
tools/testing/selftests/bpf/progs/test_global_func_ctx_args.c
46
#define pt_regs_struct_t typeof(*(__PT_REGS_CAST((struct pt_regs *)NULL)))
tools/testing/selftests/bpf/progs/test_spin_lock_fail.c
100
f1 = bpf_obj_new(typeof(*f1)); \
tools/testing/selftests/bpf/progs/test_spin_lock_fail.c
103
f2 = bpf_obj_new(typeof(*f2)); \
tools/testing/selftests/bpf/progs/test_spin_lock_fail.c
39
f = bpf_obj_new(typeof(*f));
tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.h
12
typeof(a) __tmp = (a); \
tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.h
19
typeof(a) __tmp[sizeof(a)]; \
tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.h
27
const struct { type x; } __packed * __pptr = (typeof(__pptr))(ptr); \
tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.h
31
#define get_unaligned(ptr) __get_unaligned_t(typeof(*(ptr)), (ptr))
tools/testing/selftests/bpf/progs/test_tcp_estats.c
41
#define _(P) ({typeof(P) val = 0; bpf_probe_read_kernel(&val, sizeof(val), &P); val;})
tools/testing/selftests/bpf/progs/type_cast.c
54
kskb2 = bpf_core_cast(kskb, typeof(*kskb2));
tools/testing/selftests/bpf/progs/uptr_failure.c
93
v = bpf_obj_new(typeof(*v));
tools/testing/selftests/bpf/progs/xdp_synproxy_kern.c
61
do { typeof(a) __tmp = (a); (a) = (b); (b) = __tmp; } while (0)
tools/testing/selftests/bpf/progs/xdp_synproxy_kern.c
64
const struct { type x; } __attribute__((__packed__)) *__pptr = (typeof(__pptr))(ptr); \
tools/testing/selftests/bpf/progs/xdp_synproxy_kern.c
68
#define get_unaligned(ptr) __get_unaligned_t(typeof(*(ptr)), (ptr))
tools/testing/selftests/bpf/test_progs.h
251
typeof(actual) ___act = (actual); \
tools/testing/selftests/bpf/test_progs.h
252
typeof(expected) ___exp = (expected); \
tools/testing/selftests/bpf/test_progs.h
262
typeof(actual) ___act = (actual); \
tools/testing/selftests/bpf/test_progs.h
263
typeof(expected) ___exp = (expected); \
tools/testing/selftests/bpf/test_progs.h
273
typeof(actual) ___act = (actual); \
tools/testing/selftests/bpf/test_progs.h
274
typeof(expected) ___exp = (expected); \
tools/testing/selftests/bpf/test_progs.h
284
typeof(actual) ___act = (actual); \
tools/testing/selftests/bpf/test_progs.h
285
typeof(expected) ___exp = (expected); \
tools/testing/selftests/bpf/test_progs.h
295
typeof(actual) ___act = (actual); \
tools/testing/selftests/bpf/test_progs.h
296
typeof(expected) ___exp = (expected); \
tools/testing/selftests/bpf/test_progs.h
306
typeof(actual) ___act = (actual); \
tools/testing/selftests/bpf/test_progs.h
307
typeof(expected) ___exp = (expected); \
tools/testing/selftests/bpf/trace_helpers.h
20
#define ALIGN(x, a) __ALIGN_MASK(x, (typeof(x))(a)-1)
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
63
typeof(a) _a = (a); \
tools/testing/selftests/drivers/net/hw/iou-zcrx.c
64
typeof(b) _b = (b); \
tools/testing/selftests/filesystems/utils.c
37
typeof(__ret__) __internal_ret__ = (__ret__); \
tools/testing/selftests/kvm/include/kvm_util.h
1138
typeof(g) *_p = addr_gva2hva(vm, (vm_vaddr_t)&(g)); \
tools/testing/selftests/kvm/include/kvm_util.h
1143
typeof(g) *_p = addr_gva2hva(vm, (vm_vaddr_t)&(g)); \
tools/testing/selftests/kvm/include/kvm_util.h
1154
typeof(g) *_p = addr_gva2hva(vm, (vm_vaddr_t)&(g)); \
tools/testing/selftests/kvm/include/kvm_util.h
1155
typeof(g) _val = val; \
tools/testing/selftests/kvm/include/test_util.h
62
typeof(a) __a = (a); \
tools/testing/selftests/kvm/include/test_util.h
63
typeof(b) __b = (b); \
tools/testing/selftests/kvm/include/ucall_common.h
105
typeof(a) __a = (a); \
tools/testing/selftests/kvm/include/ucall_common.h
106
typeof(b) __b = (b); \
tools/testing/selftests/kvm/include/ucall_common.h
97
typeof(a) __a = (a); \
tools/testing/selftests/kvm/include/ucall_common.h
98
typeof(b) __b = (b); \
tools/testing/selftests/kvm/include/x86/kvm_util_arch.h
56
const typeof(mem) val = (__val); \
tools/testing/selftests/kvm/lib/kvm_util.c
877
cregion = container_of(*cur, typeof(*cregion), gpa_node);
tools/testing/selftests/kvm/lib/kvm_util.c
903
cregion = container_of(*cur, typeof(*cregion), hva_node);
tools/testing/selftests/kvm/memslot_perf_test.c
353
sync = (typeof(sync))vm_gpa2hva(data, MEM_SYNC_GPA, NULL);
tools/testing/selftests/kvm/memslot_perf_test.c
393
struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA;
tools/testing/selftests/kvm/memslot_perf_test.c
406
struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA;
tools/testing/selftests/kvm/memslot_perf_test.c
432
struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA;
tools/testing/selftests/kvm/memslot_perf_test.c
450
struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA;
tools/testing/selftests/kvm/memslot_perf_test.c
451
uint32_t page_size = (typeof(page_size))READ_ONCE(sync->guest_page_size);
tools/testing/selftests/kvm/memslot_perf_test.c
452
uintptr_t base = (typeof(base))READ_ONCE(sync->move_area_ptr);
tools/testing/selftests/kvm/memslot_perf_test.c
479
struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA;
tools/testing/selftests/kvm/memslot_perf_test.c
480
uint32_t page_size = (typeof(page_size))READ_ONCE(sync->guest_page_size);
tools/testing/selftests/kvm/memslot_perf_test.c
511
struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA;
tools/testing/selftests/kvm/memslot_perf_test.c
546
struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA;
tools/testing/selftests/kvm/memslot_perf_test.c
547
uint32_t page_size = (typeof(page_size))READ_ONCE(sync->guest_page_size);
tools/testing/selftests/kvm/memslot_perf_test.c
674
val = (typeof(val))vm_gpa2hva(data, gpa, NULL);
tools/testing/selftests/kvm/memslot_perf_test.c
779
uint64_t *vptr = (typeof(vptr))vm_gpa2hva(data, gptr, NULL);
tools/testing/selftests/kvm/memslot_perf_test.c
820
sync = (typeof(sync))vm_gpa2hva(data, MEM_SYNC_GPA, NULL);
tools/testing/selftests/kvm/x86/pmu_counters_test.c
623
uint8_t max_pmu_version = max_t(typeof(pmu_version), pmu_version, 5);
tools/testing/selftests/mm/pkey-helpers.h
176
((typeof(p))ALIGN_UP((unsigned long)(p), ptr_align_to))
tools/testing/selftests/mm/pkey-helpers.h
178
((typeof(p))ALIGN_DOWN((unsigned long)(p), ptr_align_to))
tools/testing/selftests/mm/vm_util.h
30
#define FORCE_READ(x) (*(const volatile typeof(x) *)&(x))
tools/testing/selftests/net/icmp_rfc4884.c
649
const typeof(variant) v = variant;
tools/testing/selftests/net/tcp_mmap.c
131
#define ALIGN_PTR_UP(p, ptr_align_to) ((typeof(p))ALIGN_UP((unsigned long)(p), ptr_align_to))
tools/testing/selftests/net/tcp_port_share.c
137
const typeof(variant) v = variant;
tools/testing/selftests/net/tcp_port_share.c
199
const typeof(variant) v = variant;
tools/testing/selftests/powerpc/dscr/dscr.h
40
#define READ_ONCE(x) (*(volatile typeof(x) *)&(x))
tools/testing/selftests/seccomp/seccomp_bpf.c
1769
typeof(_nr) __nr = (_nr); \
tools/testing/selftests/seccomp/seccomp_bpf.c
1802
typeof(_val) _result = (_val); \
tools/testing/selftests/seccomp/seccomp_bpf.c
1837
typeof((_regs).regs[2]) _nr; \
tools/testing/selftests/vfio/lib/drivers/dsa/registers.h
440
typeof(_idxd_dev) __idxd_dev = (_idxd_dev); \
tools/testing/selftests/vfio/lib/include/libvfio/assert.h
18
typeof(_lhs) __lhs = (_lhs); \
tools/testing/selftests/vfio/lib/include/libvfio/assert.h
19
typeof(_rhs) __rhs = (_rhs); \
tools/testing/shared/maple-shared.h
18
typeof(_struct) _p_struct = (_struct); \
tools/testing/vma/include/dup.h
389
do { typeof(a) __tmp = (a); (a) = (b); (b) = __tmp; } while (0)
tools/thermal/tmon/tui.c
25
typeof(x) _min1 = (x); \
tools/thermal/tmon/tui.c
26
typeof(y) _min2 = (y); \
tools/thermal/tmon/tui.c
31
typeof(x) _max1 = (x); \
tools/thermal/tmon/tui.c
32
typeof(y) _max2 = (y); \
tools/tracing/rtla/src/utils.h
18
const typeof(((type *)0)->member) *__mptr = (ptr); \
tools/usb/usbip/libsrc/list.h
134
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
tools/virtio/asm/barrier.h
10
typeof(var) virt_store_mb_value = (value); \
tools/virtio/linux/compiler.h
12
(*((volatile typeof(val) *)(&(var))) = (val))
tools/virtio/linux/compiler.h
14
#define READ_ONCE(var) (*((volatile typeof(var) *)(&(var))))
tools/virtio/linux/export.h
1
#define EXPORT_SYMBOL_GPL(sym) extern typeof(sym) sym
tools/virtio/linux/export.h
2
#define EXPORT_SYMBOL(sym) extern typeof(sym) sym
tools/virtio/linux/kernel.h
155
typeof(x) _min1 = (x); \
tools/virtio/linux/kernel.h
156
typeof(y) _min2 = (y); \
tools/virtio/linux/uaccess.h
11
typeof(ptr) __pu_ptr = (ptr); \
tools/virtio/linux/uaccess.h
19
typeof(ptr) __pu_ptr = (ptr); \
tools/virtio/ringtest/main.h
186
union { typeof(x) __val; char __c[1]; } __u; \
tools/virtio/ringtest/main.h
194
union { typeof(x) __val; char __c[1]; } __u; \
tools/virtio/ringtest/main.h
202
union { typeof(x) __val; char __c[1]; } __u = \
tools/virtio/ringtest/main.h
203
{ .__val = (typeof(x)) (val) }; \
virt/kvm/async_pf.c
126
typeof(*work), queue);
virt/kvm/async_pf.c
141
typeof(*work), link);
virt/kvm/async_pf.c
160
work = list_first_entry(&vcpu->async_pf.done, typeof(*work),