typeof 93 arch/arc/include/asm/cmpxchg.h (typeof(*(ptr)))__cmpxchg((ptr), \ typeof 134 arch/arc/include/asm/cmpxchg.h #define _xchg(ptr, with) ((typeof(*(ptr)))__xchg((unsigned long)(with), (ptr), \ typeof 157 arch/arc/include/asm/cmpxchg.h typeof(*(ptr)) old_val; \ typeof 202 arch/arc/include/asm/cmpxchg.h (typeof(*(ptr)))__xchg((unsigned long)(with), \ typeof 326 arch/arc/kernel/unwind.c BUILD_BUG_ON(offsetof(typeof(*header), fde_count) typeof 327 arch/arc/kernel/unwind.c % __alignof(typeof(header->fde_count))); typeof 330 arch/arc/kernel/unwind.c BUILD_BUG_ON(offsetof(typeof(*header), table) typeof 331 arch/arc/kernel/unwind.c % __alignof(typeof(*header->table))); typeof 237 arch/arm/common/mcpm_entry.c typedef typeof(cpu_reset) phys_reset_t; typeof 61 arch/arm/include/asm/fncpy.h typeof(funcp) __result; \ typeof 248 arch/arm/include/asm/kvm_host.h typeof(f(__VA_ARGS__)) ret; \ typeof 22 arch/arm/include/asm/kvm_mmu.h typeof(s) *addr = &(s); \ typeof 194 arch/arm/include/asm/uaccess.h register typeof(*(p)) __user *__p asm("r0") = (p); \ typeof 227 arch/arm/include/asm/uaccess.h x = (typeof(*(p))) __r2; \ typeof 245 arch/arm/include/asm/uaccess.h register typeof(__pu_val) __r2 asm("r2") = __pu_val; \ typeof 650 arch/arm/mach-sunxi/mc_smp.c typedef typeof(cpu_reset) phys_reset_t; typeof 345 arch/arm/mm/cache-l2x0-pmu.c lattr = container_of(attr, typeof(*lattr), attr); typeof 357 arch/arm/mm/cache-l2x0-pmu.c lattr = container_of(attr, typeof(*lattr), attr.attr); typeof 66 arch/arm64/include/asm/barrier.h typeof(p) __p = (p); \ typeof 67 arch/arm64/include/asm/barrier.h union { typeof(*p) __val; char __c[1]; } __u = \ typeof 68 arch/arm64/include/asm/barrier.h { .__val = (__force typeof(*p)) (v) }; \ typeof 101 arch/arm64/include/asm/barrier.h union { typeof(*p) __val; char __c[1]; } __u; \ typeof 102 arch/arm64/include/asm/barrier.h typeof(p) __p = (p); \ typeof 132 arch/arm64/include/asm/barrier.h typeof(ptr) __PTR = (ptr); \ typeof 133 arch/arm64/include/asm/barrier.h typeof(*ptr) VAL; \ typeof 145 arch/arm64/include/asm/barrier.h typeof(ptr) __PTR = (ptr); \ typeof 146 arch/arm64/include/asm/barrier.h typeof(*ptr) VAL; \ typeof 83 arch/arm64/include/asm/kvm_asm.h (typeof(&sym))__ptr; \ typeof 459 arch/arm64/include/asm/kvm_host.h typeof(f(__VA_ARGS__)) ret; \ typeof 107 arch/arm64/include/asm/kvm_mmu.h #define kern_hyp_va(v) ((typeof(v))(__kern_hyp_va((unsigned long)(v)))) typeof 122 arch/arm64/include/asm/kvm_mmu.h typeof(s) *addr; \ typeof 149 arch/arm64/include/asm/percpu.h typeof(pcp) __retval; \ typeof 151 arch/arm64/include/asm/percpu.h __retval = (typeof(pcp))op(raw_cpu_ptr(&(pcp)), ##args); \ typeof 21 arch/arm64/kernel/cpu-reset.h typeof(__cpu_soft_restart) *restart; typeof 109 arch/c6x/include/asm/unaligned.h #define __get_unaligned_le(ptr) (typeof(*(ptr)))({ \ typeof 117 arch/c6x/include/asm/unaligned.h #define __get_unaligned_be(ptr) (__force typeof(*(ptr)))({ \ typeof 73 arch/csky/include/asm/uaccess.h typeof(*(ptr)) *__pu_addr = (ptr); \ typeof 74 arch/csky/include/asm/uaccess.h typeof(*(ptr)) __pu_val = (typeof(*(ptr)))(x); \ typeof 84 arch/csky/include/asm/uaccess.h typeof(*(ptr)) *__pu_addr = (ptr); \ typeof 85 arch/csky/include/asm/uaccess.h typeof(*(ptr)) __pu_val = (typeof(*(ptr)))(x); \ typeof 178 arch/csky/include/asm/uaccess.h typeof(*(ptr))src = (typeof(*(ptr)))x; \ typeof 179 arch/csky/include/asm/uaccess.h typeof(*(ptr))*psrc = &src; \ typeof 65 arch/ia64/include/asm/barrier.h typeof(*p) ___p1 = READ_ONCE(*p); \ typeof 43 arch/ia64/include/asm/percpu.h ((typeof(var) __kernel __force *)&(var)); \ typeof 108 arch/ia64/kernel/mca_drv.h (((head)->next != (head)) ? list_entry((head)->next, typeof(slidx_list_t), list) : NULL) typeof 63 arch/m68k/include/asm/uaccess_mm.h typeof(*(ptr)) __pu_val = (x); \ typeof 127 arch/m68k/include/asm/uaccess_mm.h (x) = (__force typeof(*(ptr)))(__force unsigned long)__gu_val; \ typeof 34 arch/m68k/include/asm/uaccess_no.h typeof(*(ptr)) __pu_val = (x); \ typeof 74 arch/m68k/include/asm/uaccess_no.h typeof(x) __gu_val = 0; \ typeof 93 arch/m68k/include/asm/uaccess_no.h (x) = (typeof(*(ptr))) __gu_val; \ typeof 167 arch/microblaze/include/asm/uaccess.h const typeof(*(ptr)) __user *__gu_ptr = (ptr); \ typeof 259 arch/microblaze/include/asm/uaccess.h typeof(*(ptr)) volatile __pu_val = x; \ typeof 260 arch/microblaze/include/asm/uaccess.h typeof(*(ptr)) __user *__pu_addr = (ptr); \ typeof 119 arch/powerpc/boot/ops.h typeof(val) x = (val); \ typeof 21 arch/powerpc/boot/page.h #define _ALIGN_UP(addr, size) (((addr)+((size)-1))&(~((typeof(addr))(size)-1))) typeof 22 arch/powerpc/boot/page.h #define _ALIGN_DOWN(addr, size) ((addr)&(~((typeof(addr))(size)-1))) typeof 51 arch/powerpc/boot/stdio.c (void)(((typeof((n)) *)0) == ((unsigned long long *)0)); \ typeof 29 arch/powerpc/boot/types.h typeof(x) _x = (x); \ typeof 30 arch/powerpc/boot/types.h typeof(y) _y = (y); \ typeof 35 arch/powerpc/boot/types.h typeof(x) _x = (x); \ typeof 36 arch/powerpc/boot/types.h typeof(y) _y = (y); \ typeof 75 arch/powerpc/include/asm/barrier.h typeof(*p) ___p1 = READ_ONCE(*p); \ typeof 55 arch/powerpc/include/asm/delay.h typeof(condition) __ret; \ typeof 101 arch/powerpc/include/asm/kvm_book3s_64.h for ((pos) = llist_entry((node), typeof(*(pos)), list); \ typeof 108 arch/powerpc/include/asm/kvm_book3s_64.h (pos) = llist_entry((node), typeof(*(pos)), list)) typeof 259 arch/powerpc/include/asm/page.h #define _ALIGN_DOWN(addr, size) ((addr)&(~((typeof(addr))(size)-1))) typeof 24 arch/powerpc/include/asm/setup.h #define PTRRELOC(x) ((typeof(x)) add_reloc_offset((unsigned long)(x))) typeof 36 arch/powerpc/include/asm/vas.h (((v) & ~(m)) | ((((typeof(v))(val)) << MASK_LSH(m)) & (m))) typeof 798 arch/powerpc/platforms/powermac/pfunc_core.c list_entry(dev->functions.next, typeof(*func), link); typeof 1168 arch/powerpc/sysdev/fsl_pci.c dev = list_first_entry(&hose->bus->devices, typeof(*dev), bus_list); typeof 39 arch/riscv/include/asm/barrier.h typeof(*p) ___p1 = READ_ONCE(*p); \ typeof 43 arch/s390/include/asm/barrier.h typeof(*p) ___p1 = READ_ONCE(*p); \ typeof 15 arch/s390/include/asm/compat.h typeof(0?(__force t)0:0ULL), u64)) typeof 29 arch/s390/include/asm/percpu.h typedef typeof(pcp) pcp_op_T__; \ typeof 68 arch/s390/include/asm/percpu.h typedef typeof(pcp) pcp_op_T__; \ typeof 95 arch/s390/include/asm/percpu.h typedef typeof(pcp) pcp_op_T__; \ typeof 114 arch/s390/include/asm/percpu.h typedef typeof(pcp) pcp_op_T__; \ typeof 136 arch/s390/include/asm/percpu.h typedef typeof(pcp) pcp_op_T__; \ typeof 153 arch/s390/include/asm/percpu.h typeof(pcp) *ptr__; \ typeof 154 arch/s390/include/asm/percpu.h typeof(pcp) ret__; \ typeof 169 arch/s390/include/asm/percpu.h typeof(pcp1) o1__ = (o1), n1__ = (n1); \ typeof 170 arch/s390/include/asm/percpu.h typeof(pcp2) o2__ = (o2), n2__ = (n2); \ typeof 171 arch/s390/include/asm/percpu.h typeof(pcp1) *p1__; \ typeof 172 arch/s390/include/asm/percpu.h typeof(pcp2) *p2__; \ typeof 54 arch/sh/math-emu/math.c #define WRITE(d,a) ({if(put_user(d, (typeof (d)*)a)) return -EFAULT;}) typeof 55 arch/sh/math-emu/math.c #define READ(d,a) ({if(get_user(d, (typeof (d)*)a)) return -EFAULT;}) typeof 50 arch/sparc/include/asm/barrier_64.h typeof(*p) ___p1 = READ_ONCE(*p); \ typeof 57 arch/sparc/vdso/vdso2c.h typeof(dyn[i].d_tag) tag = GET_BE(&dyn[i].d_tag); typeof 58 arch/sparc/vdso/vdso2c.h typeof(dyn[i].d_un.d_val) val = GET_BE(&dyn[i].d_un.d_val); typeof 295 arch/um/drivers/cow_user.c if (n < offsetof(typeof(header->v1), backing_file)) { typeof 35 arch/x86/boot/compressed/eboot.c table = (typeof(table))sys_table; \ typeof 62 arch/x86/entry/vdso/vdso2c.h typeof(dyn[i].d_tag) tag = GET_LE(&dyn[i].d_tag); typeof 187 arch/x86/events/intel/uncore_nhmex.c #define __BITS_VALUE(x, i, n) ((typeof(x))(((x) >> ((i) * (n))) & \ typeof 165 arch/x86/events/intel/uncore_snbep.c #define __BITS_VALUE(x, i, n) ((typeof(x))(((x) >> ((i) * (n))) & \ typeof 74 arch/x86/ia32/sys_ia32.c typeof(ubuf->st_uid) uid = 0; typeof 75 arch/x86/ia32/sys_ia32.c typeof(ubuf->st_gid) gid = 0; typeof 75 arch/x86/include/asm/barrier.h typeof(*p) ___p1 = READ_ONCE(*p); \ typeof 725 arch/x86/include/asm/paravirt.h extern typeof(func) __raw_callee_save_##func; \ typeof 62 arch/x86/include/asm/percpu.h (typeof(*(ptr)) __kernel __force *)tcp_ptr__; \ typeof 78 arch/x86/include/asm/percpu.h extern typeof(var) init_per_cpu_var(var) typeof 92 arch/x86/include/asm/percpu.h typedef typeof(var) pto_T__; \ typeof 129 arch/x86/include/asm/percpu.h typedef typeof(var) pao_T__; \ typeof 185 arch/x86/include/asm/percpu.h typeof(var) pfo_ret__; \ typeof 214 arch/x86/include/asm/percpu.h typeof(var) pfo_ret__; \ typeof 269 arch/x86/include/asm/percpu.h typeof(var) paro_ret__ = val; \ typeof 304 arch/x86/include/asm/percpu.h typeof(var) pxo_ret__; \ typeof 305 arch/x86/include/asm/percpu.h typeof(var) pxo_new__ = (nval); \ typeof 350 arch/x86/include/asm/percpu.h typeof(var) pco_ret__; \ typeof 351 arch/x86/include/asm/percpu.h typeof(var) pco_old__ = (oval); \ typeof 352 arch/x86/include/asm/percpu.h typeof(var) pco_new__ = (nval); \ typeof 417 arch/x86/include/asm/percpu.h typeof(var) pxo_ret__ = raw_cpu_read(var); \ typeof 463 arch/x86/include/asm/percpu.h typeof(pcp1) __o1 = (o1), __n1 = (n1); \ typeof 464 arch/x86/include/asm/percpu.h typeof(pcp2) __o2 = (o2), __n2 = (n2); \ typeof 508 arch/x86/include/asm/percpu.h typeof(pcp1) __o1 = (o1), __n1 = (n1); \ typeof 509 arch/x86/include/asm/percpu.h typeof(pcp2) __o2 = (o2), __n2 = (n2); \ typeof 182 arch/x86/include/asm/uaccess.h : "0" ((typeof(*(ptr)))(x)), "c" (ptr) : "ebx") typeof 207 arch/x86/include/asm/uaccess.h : "A" ((typeof(*(ptr)))(x)), "c" (ptr) : "ebx") typeof 598 arch/x86/kernel/early-quirks.c early_ops = (typeof(early_ops))driver_data; typeof 90 arch/x86/kernel/kvm.c hlist_entry(p, typeof(*n), link); typeof 182 arch/x86/kernel/kvm.c hlist_entry(p, typeof(*n), link); typeof 86 arch/x86/kernel/sysfb_efi.c typeof(fwvalue) _ret_ = fwvalue; \ typeof 337 arch/x86/pci/mmconfig-shared.c cfgx = list_entry(cfg->list.next, typeof(*cfg), list); typeof 686 arch/x86/platform/efi/quirks.c quirk_handler = (typeof(quirk_handler))id->driver_data; typeof 886 block/blk-sysfs.c struct request_queue *q = container_of(work, typeof(*q), release_work); typeof 1228 block/genhd.c struct device *dev = container_of(kobj, typeof(*dev), kobj); typeof 1189 drivers/acpi/nfit/core.c struct nfit_mem *a = container_of(_a, typeof(*a), list); typeof 1190 drivers/acpi/nfit/core.c struct nfit_mem *b = container_of(_b, typeof(*b), list); typeof 3239 drivers/acpi/nfit/core.c acpi_desc = container_of(work, typeof(*acpi_desc), dwork.work); typeof 185 drivers/base/attribute_container.c n ? container_of(n, typeof(*pos), member) : \ typeof 93 drivers/base/dd.c typeof(*dev->p), deferred_probe); typeof 44 drivers/base/swnode.c typeof(__fwnode) __to_swnode_fwnode = __fwnode; \ typeof 91 drivers/block/drbd/drbd_int.h (__builtin_types_compatible_p(typeof(obj), type) || \ typeof 92 drivers/block/drbd/drbd_int.h __builtin_types_compatible_p(typeof(obj), const type)), \ typeof 1616 drivers/block/drbd/drbd_state.c last_func = (typeof(last_func))func; \ typeof 704 drivers/block/skd_main.c struct skd_device *skdev = container_of(work, typeof(*skdev), typeof 213 drivers/block/xen-blkback/blkback.c for ((pos) = container_of(rb_first((rbtree)), typeof(*(pos)), node), \ typeof 216 drivers/block/xen-blkback/blkback.c (pos) = container_of(n, typeof(*(pos)), node), \ typeof 352 drivers/block/xen-blkback/blkback.c struct xen_blkif_ring *ring = container_of(work, typeof(*ring), persistent_purge_work); typeof 542 drivers/cdrom/cdrom.c if (ret < 0 || ret < (int)offsetof(typeof(di),disc_type)) typeof 753 drivers/cdrom/cdrom.c if (ret < 0 || ret < offsetof(typeof(di), n_first_track)) typeof 790 drivers/cdrom/cdrom.c if (ret < 0 || ret < offsetof(typeof(di),disc_type)) typeof 2852 drivers/cdrom/cdrom.c if (ret < (int)(offsetof(typeof(di), last_track_lsb) typeof 2859 drivers/cdrom/cdrom.c if (ti_size < (int)offsetof(typeof(ti), track_start)) typeof 2870 drivers/cdrom/cdrom.c if (ti_size < (int)(offsetof(typeof(ti), track_size) typeof 2875 drivers/cdrom/cdrom.c if (ti.lra_v && ti_size >= (int)(offsetof(typeof(ti), last_rec_address) typeof 2917 drivers/cdrom/cdrom.c if (ret < 0 || ret < offsetof(typeof(di), last_track_lsb) typeof 2924 drivers/cdrom/cdrom.c if (ti_size < 0 || ti_size < offsetof(typeof(ti), track_start)) typeof 2938 drivers/cdrom/cdrom.c if (ti.nwa_v && ti_size >= offsetof(typeof(ti), next_writable) typeof 744 drivers/clocksource/arm_arch_timer.c typeof(clk->set_next_event) sne; typeof 728 drivers/crypto/caam/caamalg.c container_of(crypto_skcipher_alg(skcipher), typeof(*alg), typeof 3452 drivers/crypto/caam/caamalg.c container_of(alg, typeof(*caam_alg), skcipher); typeof 75 drivers/crypto/caam/caamalg_qi.c typeof(*alg), aead); typeof 621 drivers/crypto/caam/caamalg_qi.c container_of(crypto_skcipher_alg(skcipher), typeof(*alg), typeof 928 drivers/crypto/caam/caamalg_qi.c edesc = container_of(drv_req, typeof(*edesc), drv_req); typeof 944 drivers/crypto/caam/caamalg_qi.c typeof(*alg), aead); typeof 1219 drivers/crypto/caam/caamalg_qi.c edesc = container_of(drv_req, typeof(*edesc), drv_req); typeof 2464 drivers/crypto/caam/caamalg_qi.c container_of(alg, typeof(*caam_alg), skcipher); typeof 2473 drivers/crypto/caam/caamalg_qi.c struct caam_aead_alg *caam_alg = container_of(alg, typeof(*caam_alg), typeof 166 drivers/crypto/caam/caamalg_qi2.c typeof(*alg), aead); typeof 356 drivers/crypto/caam/caamalg_qi2.c typeof(*alg), aead); typeof 1565 drivers/crypto/caam/caamalg_qi2.c container_of(alg, typeof(*caam_alg), skcipher); typeof 1574 drivers/crypto/caam/caamalg_qi2.c struct caam_aead_alg *caam_alg = container_of(alg, typeof(*caam_alg), typeof 498 drivers/crypto/hisilicon/sec/sec_algs.c typeof(*backlog_req), typeof 348 drivers/crypto/hisilicon/sec/sec_drv.h DECLARE_KFIFO_PTR(softqueue, typeof(struct sec_request_el *)); typeof 259 drivers/dax/super.c struct device *dev = container_of(kobj, typeof(*dev), kobj); typeof 47 drivers/dma-buf/dma-fence-array.c struct dma_fence_array *array = container_of(wrk, typeof(*array), work); typeof 125 drivers/dma-buf/dma-fence-chain.c chain = container_of(work, typeof(*chain), work); typeof 138 drivers/dma-buf/dma-fence-chain.c chain = container_of(cb, typeof(*chain), cb); typeof 69 drivers/dma-buf/dma-resv.c list = kmalloc(offsetof(typeof(*list), shared[shared_max]), GFP_KERNEL); typeof 73 drivers/dma-buf/dma-resv.c list->shared_max = (ksize(list) - offsetof(typeof(*list), shared)) / typeof 257 drivers/dma-buf/sw_sync.c other = rb_entry(parent, typeof(*pt), node); typeof 278 drivers/dma-buf/sw_sync.c parent ? &rb_entry(parent, typeof(*pt), node)->link : &obj->pt_list); typeof 73 drivers/dma/dmaengine.c chan_dev = container_of(dev, typeof(*chan_dev), device); typeof 151 drivers/dma/dmaengine.c chan_dev = container_of(dev, typeof(*chan_dev), device); typeof 1019 drivers/dma/dmaengine.c chan->local = alloc_percpu(typeof(*chan->local)); typeof 1208 drivers/dma/dmaengine.c struct dmaengine_unmap_data *unmap = container_of(kref, typeof(*unmap), kref); typeof 148 drivers/dma/mic_x100_dma.h container_of((const typeof(((struct mic_dma_device *)0)->mic_ch)*) typeof 343 drivers/dma/stm32-mdma.c desc = kzalloc(offsetof(typeof(*desc), node[count]), GFP_NOWAIT); typeof 326 drivers/dma/tegra20-apb-dma.c typeof(*sg_req), node); typeof 513 drivers/dma/tegra20-apb-dma.c typeof(*sg_req), node); typeof 528 drivers/dma/tegra20-apb-dma.c hsgreq = list_first_entry(&tdc->pending_sg_req, typeof(*hsgreq), node); typeof 531 drivers/dma/tegra20-apb-dma.c typeof(*hnsgreq), node); typeof 549 drivers/dma/tegra20-apb-dma.c typeof(*sgreq), node); typeof 582 drivers/dma/tegra20-apb-dma.c hsgreq = list_first_entry(&tdc->pending_sg_req, typeof(*hsgreq), node); typeof 603 drivers/dma/tegra20-apb-dma.c sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), node); typeof 632 drivers/dma/tegra20-apb-dma.c sgreq = list_first_entry(&tdc->pending_sg_req, typeof(*sgreq), node); typeof 667 drivers/dma/tegra20-apb-dma.c typeof(*dma_desc), cb_node); typeof 782 drivers/dma/tegra20-apb-dma.c typeof(*sgreq), node); typeof 793 drivers/dma/tegra20-apb-dma.c typeof(*dma_desc), cb_node); typeof 1304 drivers/dma/tegra20-apb-dma.c typeof(*dma_desc), node); typeof 1310 drivers/dma/tegra20-apb-dma.c sg_req = list_first_entry(&sg_req_list, typeof(*sg_req), node); typeof 183 drivers/dma/txx9dmac.c desc = list_entry(desc->tx_list.prev, typeof(*desc), desc_node); typeof 217 drivers/edac/skx_base.c struct skx_dev *d = list_first_entry(skx_edac_list, typeof(*d), list); typeof 564 drivers/firewire/core-cdev.c if (rsp->length <= sizeof(*rsp) - offsetof(typeof(*rsp), data)) typeof 51 drivers/firmware/arm_scmi/clock.c typeof(X) x = (X); \ typeof 62 drivers/firmware/efi/apple-properties.c key_len = *(typeof(key_len) *)ptr; typeof 71 drivers/firmware/efi/apple-properties.c val_len = *(typeof(val_len) *)(ptr + key_len); typeof 934 drivers/firmware/efi/libstub/efi-stub-helper.c sys_table = (typeof(sys_table))_sys_table; \ typeof 935 drivers/firmware/efi/libstub/efi-stub-helper.c tables = (typeof(tables))(unsigned long)sys_table->tables; \ typeof 232 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c new = kmalloc(offsetof(typeof(*new), shared[old->shared_max]), typeof 532 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr + typeof 985 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr + typeof 997 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr + typeof 1010 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr + typeof 1224 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr + typeof 1254 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr + typeof 1274 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr + typeof 1301 drivers/gpu/drm/amd/amdkfd/kfd_crat.c sub_type_hdr = (typeof(sub_type_hdr))( typeof 88 drivers/gpu/drm/amd/amdkfd/kfd_priv.h ((typeof(ptr_to_struct)) kzalloc(sizeof(*ptr_to_struct), GFP_KERNEL)) typeof 108 drivers/gpu/drm/arm/display/komeda/komeda_kms.c NULL : list_last_entry(zorder_list, typeof(*last), zlist_node); typeof 258 drivers/gpu/drm/drm_atomic.c struct drm_atomic_state *state = container_of(ref, typeof(*state), ref); typeof 1932 drivers/gpu/drm/drm_atomic_helper.c typeof(*commit), typeof 404 drivers/gpu/drm/drm_framebuffer.c struct drm_mode_rmfb_work *arg = container_of(w, typeof(*arg), work); typeof 408 drivers/gpu/drm/drm_framebuffer.c list_first_entry(&arg->fbs, typeof(*fb), filp_head); typeof 76 drivers/gpu/drm/gma500/mdfld_dsi_output.h const typeof(pipe) __pipe = (pipe); \ typeof 13875 drivers/gpu/drm/i915/display/intel_display.c container_of(work, typeof(*dev_priv), atomic_helper.free_work); typeof 14254 drivers/gpu/drm/i915/display/intel_display.c struct wait_rps_boost *wait = container_of(_wait, typeof(*wait), wait); typeof 1071 drivers/gpu/drm/i915/display/intel_dp.c struct intel_dp *intel_dp = container_of(this, typeof(* intel_dp), typeof 6796 drivers/gpu/drm/i915/display/intel_dp.c container_of(work, typeof(*dev_priv), drrs.work.work); typeof 7117 drivers/gpu/drm/i915/display/intel_dp.c intel_connector = container_of(work, typeof(*intel_connector), typeof 35 drivers/gpu/drm/i915/display/intel_dpll_mgr.h typeof(a) __a = (a); \ typeof 36 drivers/gpu/drm/i915/display/intel_dpll_mgr.h typeof(b) __b = (b); \ typeof 203 drivers/gpu/drm/i915/display/intel_frontbuffer.c container_of(ref, typeof(*front), write); typeof 212 drivers/gpu/drm/i915/display/intel_frontbuffer.c container_of(ref, typeof(*front), write); typeof 222 drivers/gpu/drm/i915/display/intel_frontbuffer.c container_of(ref, typeof(*front), ref); typeof 234 drivers/gpu/drm/i915/display/intel_hotplug.c container_of(work, typeof(*dev_priv), typeof 377 drivers/gpu/drm/i915/display/intel_overlay.c container_of(active, typeof(*overlay), last_flip); typeof 133 drivers/gpu/drm/i915/display/intel_panel.c typeof(*scan), head); typeof 1093 drivers/gpu/drm/i915/display/intel_psr.c container_of(work, typeof(*dev_priv), psr.work); typeof 28 drivers/gpu/drm/i915/gem/i915_gem_clflush.c struct clflush *clflush = container_of(base, typeof(*clflush), base); typeof 46 drivers/gpu/drm/i915/gem/i915_gem_clflush.c struct clflush *clflush = container_of(base, typeof(*clflush), base); typeof 116 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c struct clear_pages_work *w = container_of(fence, typeof(*w), dma); typeof 122 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c BUILD_BUG_ON(offsetof(typeof(*w), dma)); typeof 134 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c struct clear_pages_work *w = container_of(work, typeof(*w), irq_work); typeof 143 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c struct clear_pages_work *w = container_of(cb, typeof(*w), cb); typeof 157 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c struct clear_pages_work *w = container_of(work, typeof(*w), work); typeof 246 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c struct clear_pages_work *w = container_of(fence, typeof(*w), wait); typeof 358 drivers/gpu/drm/i915/gem/i915_gem_context.c ctx = container_of(freed, typeof(*ctx), free_link); typeof 365 drivers/gpu/drm/i915/gem/i915_gem_context.c container_of(work, typeof(*i915), contexts.free_work); typeof 374 drivers/gpu/drm/i915/gem/i915_gem_context.c struct i915_gem_context *ctx = container_of(ref, typeof(*ctx), ref); typeof 856 drivers/gpu/drm/i915/gem/i915_gem_context.c struct context_barrier_task *cb = container_of(base, typeof(*cb), base); typeof 1366 drivers/gpu/drm/i915/gem/i915_gem_context.c container_of_user(base, typeof(*ext), base); typeof 1458 drivers/gpu/drm/i915/gem/i915_gem_context.c container_of_user(base, typeof(*ext), base); typeof 1535 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c u64_to_ptr(typeof(*relocs), entry->relocs_ptr); typeof 1654 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c relocs = u64_to_ptr(typeof(*relocs), eb->exec[i].relocs_ptr); typeof 1778 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c relocs = u64_to_ptr(typeof(*relocs), entry->relocs_ptr); typeof 18 drivers/gpu/drm/i915/gem/i915_gem_fence.c struct stub_fence *stub = container_of(fence, typeof(*stub), chain); typeof 45 drivers/gpu/drm/i915/gem/i915_gem_fence.c struct stub_fence *stub = container_of(fence, typeof(*stub), dma); typeof 49 drivers/gpu/drm/i915/gem/i915_gem_fence.c BUILD_BUG_ON(offsetof(typeof(*stub), dma)); typeof 92 drivers/gpu/drm/i915/gem/i915_gem_fence.c struct stub_fence *stub = container_of(fence, typeof(*stub), dma); typeof 140 drivers/gpu/drm/i915/gem/i915_gem_object.c container_of(head, typeof(*obj), rcu); typeof 354 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(range_overflows_t(typeof(obj->base.size), typeof 21 drivers/gpu/drm/i915/gem/i915_gem_pm.c typeof(*active), link); typeof 48 drivers/gpu/drm/i915/gem/i915_gem_pm.c container_of(work, typeof(*i915), gem.idle_work); typeof 71 drivers/gpu/drm/i915/gem/i915_gem_pm.c container_of(work, typeof(*i915), gem.retire_work.work); typeof 89 drivers/gpu/drm/i915/gem/i915_gem_pm.c container_of(nb, typeof(*i915), gem.pm_notifier); typeof 549 drivers/gpu/drm/i915/gem/i915_gem_shmem.c unsigned int len = min_t(typeof(size), size, PAGE_SIZE); typeof 231 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c typeof(*obj), typeof 391 drivers/gpu/drm/i915/gem/i915_gem_userptr.c struct i915_mm_struct *mm = container_of(work, typeof(*mm), work); typeof 400 drivers/gpu/drm/i915/gem/i915_gem_userptr.c struct i915_mm_struct *mm = container_of(kref, typeof(*mm), kref); typeof 474 drivers/gpu/drm/i915/gem/i915_gem_userptr.c struct get_pages_work *work = container_of(_work, typeof(*work), work); typeof 149 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c list_entry(pos, typeof(*rq), signal_link); typeof 189 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c list_entry(pos, typeof(*rq), signal_link); typeof 212 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c container_of(work, typeof(*engine), breadcrumbs.irq_work); typeof 306 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c list_entry(pos, typeof(*it), signal_link); typeof 143 drivers/gpu/drm/i915/gt/intel_context.c struct intel_context *ce = container_of(active, typeof(*ce), active); typeof 158 drivers/gpu/drm/i915/gt/intel_context.c struct intel_context *ce = container_of(active, typeof(*ce), active); typeof 256 drivers/gpu/drm/i915/gt/intel_engine.h typecheck(typeof(ring->size), next); typeof 257 drivers/gpu/drm/i915/gt/intel_engine.h typecheck(typeof(ring->size), prev); typeof 311 drivers/gpu/drm/i915/gt/intel_engine_cs.c engine->destroy = (typeof(engine->destroy))kfree; typeof 648 drivers/gpu/drm/i915/gt/intel_engine_cs.c GEM_BUG_ON(engine->destroy == (typeof(engine->destroy))kfree); typeof 18 drivers/gpu/drm/i915/gt/intel_engine_pm.c container_of(wf, typeof(*engine), wakeref); typeof 129 drivers/gpu/drm/i915/gt/intel_engine_pm.c container_of(wf, typeof(*engine), wakeref); typeof 45 drivers/gpu/drm/i915/gt/intel_engine_pool.c container_of(ref, typeof(*node), active); typeof 67 drivers/gpu/drm/i915/gt/intel_engine_pool.c container_of(ref, typeof(*node), active); typeof 22 drivers/gpu/drm/i915/gt/intel_engine_user.c rb_entry(p, typeof(*it), uabi_node); typeof 54 drivers/gpu/drm/i915/gt/intel_engine_user.c container_of((struct rb_node *)A, typeof(*a), uabi_node); typeof 56 drivers/gpu/drm/i915/gt/intel_engine_user.c container_of((struct rb_node *)B, typeof(*b), uabi_node); typeof 83 drivers/gpu/drm/i915/gt/intel_engine_user.c container_of((struct rb_node *)pos, typeof(*engine), typeof 207 drivers/gpu/drm/i915/gt/intel_engine_user.c container_of((struct rb_node *)it, typeof(*engine), typeof 22 drivers/gpu/drm/i915/gt/intel_gt_pm.c struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); typeof 62 drivers/gpu/drm/i915/gt/intel_gt_pm.c container_of(wf, typeof(*i915), gt.wakeref); typeof 258 drivers/gpu/drm/i915/gt/intel_hangcheck.c container_of(work, typeof(*gt), hangcheck.work.work); typeof 356 drivers/gpu/drm/i915/gt/intel_lrc.c rb_entry(rb, typeof(*ve), nodes[engine->id].rb); typeof 539 drivers/gpu/drm/i915/gt/intel_lrc.c container_of(execlists, typeof(*engine), execlists); typeof 596 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = container_of(ce, typeof(*ve), context); typeof 715 drivers/gpu/drm/i915/gt/intel_lrc.c container_of(execlists, typeof(*engine), execlists); typeof 960 drivers/gpu/drm/i915/gt/intel_lrc.c container_of(p->waiter, typeof(*w), sched); typeof 981 drivers/gpu/drm/i915/gt/intel_lrc.c rq = list_first_entry_or_null(&list, typeof(*rq), sched.link); typeof 1071 drivers/gpu/drm/i915/gt/intel_lrc.c rb_entry(rb, typeof(*ve), nodes[engine->id].rb); typeof 1169 drivers/gpu/drm/i915/gt/intel_lrc.c rb_entry(rb, typeof(*ve), nodes[engine->id].rb); typeof 1713 drivers/gpu/drm/i915/gt/intel_lrc.c struct intel_context *ce = container_of(kref, typeof(*ce), ref); typeof 2615 drivers/gpu/drm/i915/gt/intel_lrc.c rb_entry(rb, typeof(*ve), nodes[engine->id].rb); typeof 3421 drivers/gpu/drm/i915/gt/intel_lrc.c container_of(kref, typeof(*ve), context.ref); typeof 3481 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = container_of(ce, typeof(*ve), context); typeof 3495 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = container_of(ce, typeof(*ve), context); typeof 3506 drivers/gpu/drm/i915/gt/intel_lrc.c struct virtual_engine *ve = container_of(ce, typeof(*ve), context); typeof 3603 drivers/gpu/drm/i915/gt/intel_lrc.c other = rb_entry(rb, typeof(*other), rb); typeof 3952 drivers/gpu/drm/i915/gt/intel_lrc.c struct i915_priolist *p = rb_entry(rb, typeof(*p), node); typeof 3975 drivers/gpu/drm/i915/gt/intel_lrc.c rb_entry(rb, typeof(*ve), nodes[engine->id].rb); typeof 835 drivers/gpu/drm/i915/gt/intel_reset.c tl = list_entry(&timelines->active_list, typeof(*tl), link); typeof 1280 drivers/gpu/drm/i915/gt/intel_reset.c struct intel_wedge_me *w = container_of(work, typeof(*w), work.work); typeof 1339 drivers/gpu/drm/i915/gt/intel_ringbuffer.c struct intel_ring *ring = container_of(ref, typeof(*ring), ref); typeof 1354 drivers/gpu/drm/i915/gt/intel_ringbuffer.c struct intel_context *ce = container_of(ref, typeof(*ce), ref); typeof 15 drivers/gpu/drm/i915/gt/intel_timeline.c #define ptr_set_bit(ptr, bit) ((typeof(ptr))((unsigned long)(ptr) | BIT(bit))) typeof 65 drivers/gpu/drm/i915/gt/intel_timeline.c typeof(*hwsp), free_link); typeof 142 drivers/gpu/drm/i915/gt/intel_timeline.c container_of(active, typeof(*cl), active); typeof 152 drivers/gpu/drm/i915/gt/intel_timeline.c container_of(active, typeof(*cl), active); typeof 541 drivers/gpu/drm/i915/gt/intel_timeline.c container_of(kref, typeof(*timeline), kref); typeof 118 drivers/gpu/drm/i915/gt/mock_engine.c struct intel_context *ce = container_of(ref, typeof(*ce), ref); typeof 188 drivers/gpu/drm/i915/gt/mock_engine.c container_of(request->engine, typeof(*engine), base); typeof 303 drivers/gpu/drm/i915/gt/mock_engine.c container_of(engine, typeof(*mock), base); typeof 321 drivers/gpu/drm/i915/gt/mock_engine.c container_of(engine, typeof(*mock), base); typeof 17 drivers/gpu/drm/i915/gt/selftest_engine.c typeof(*tests) *fn; typeof 29 drivers/gpu/drm/i915/gt/selftest_engine_pm.c const typeof(*igt_atomic_phases) *p; typeof 1020 drivers/gpu/drm/i915/gt/selftest_hangcheck.c typeof(*phases) *p; typeof 1687 drivers/gpu/drm/i915/gt/selftest_hangcheck.c const typeof(*igt_atomic_phases) *p; typeof 64 drivers/gpu/drm/i915/gt/selftest_reset.c const typeof(*igt_atomic_phases) *p; typeof 108 drivers/gpu/drm/i915/gt/selftest_reset.c const typeof(*igt_atomic_phases) *p; typeof 39 drivers/gpu/drm/i915/gt/uc/intel_guc_log.h typeof(x) _x = (x); \ typeof 1952 drivers/gpu/drm/i915/gvt/gtt.c struct intel_vgpu_mm *mm = container_of(mm_ref, typeof(*mm), ref); typeof 1938 drivers/gpu/drm/i915/gvt/kvmgt.c struct gvt_dma *entry = container_of(ref, typeof(*entry), ref); typeof 70 drivers/gpu/drm/i915/gvt/reg.h typeof(_pipe) (p) = (_pipe); \ typeof 71 drivers/gpu/drm/i915/gvt/reg.h typeof(_plane) (q) = (_plane); \ typeof 81 drivers/gpu/drm/i915/gvt/reg.h typeof(_reg) (reg) = (_reg); \ typeof 88 drivers/gpu/drm/i915/gvt/reg.h typeof(_reg) (reg) = (_reg); \ typeof 236 drivers/gpu/drm/i915/i915_active.c BUILD_BUG_ON(offsetof(typeof(*node), base)); typeof 271 drivers/gpu/drm/i915/i915_debugfs.c vma = rb_entry(p, typeof(*vma), obj_node); typeof 927 drivers/gpu/drm/i915/i915_gem.c tl = list_entry(&timelines->active_list, typeof(*tl), link); typeof 305 drivers/gpu/drm/i915/i915_gem_evict.c vma = container_of(node, typeof(*vma), node); typeof 116 drivers/gpu/drm/i915/i915_gem_gtt.c #define as_pd(x) container_of((x), typeof(struct i915_page_directory), pt) typeof 354 drivers/gpu/drm/i915/i915_gem_gtt.c nr = min_t(typeof(nr), pvec->nr, pagevec_space(&stash->pvec)); typeof 1455 drivers/gpu/drm/i915/i915_gem_gtt.c pd = __alloc_pd(offsetof(typeof(*pd), entry[count])); typeof 249 drivers/gpu/drm/i915/i915_gem_gtt.h __builtin_types_compatible_p(typeof(x), type) || \ typeof 250 drivers/gpu/drm/i915/i915_gem_gtt.h __builtin_types_compatible_p(typeof(x), const type), \ typeof 80 drivers/gpu/drm/i915/i915_gpu_error.c sgl = (typeof(sgl))__get_free_page(ALLOW_FAIL); typeof 629 drivers/gpu/drm/i915/i915_gpu_error.c container_of(error_uc, typeof(*error), uc); typeof 923 drivers/gpu/drm/i915/i915_gpu_error.c container_of(error_ref, typeof(*error), ref); typeof 1280 drivers/gpu/drm/i915/i915_irq.c container_of(work, typeof(*dev_priv), l3_parity.error_work); typeof 2437 drivers/gpu/drm/i915/i915_perf.c container_of(hrtimer, typeof(*stream), poll_check_timer); typeof 3276 drivers/gpu/drm/i915/i915_perf.c container_of(attr, typeof(*oa_config), sysfs_metric_id); typeof 82 drivers/gpu/drm/i915/i915_pmu.c struct drm_i915_private *i915 = container_of(pmu, typeof(*i915), pmu); typeof 302 drivers/gpu/drm/i915/i915_pmu.c container_of(event->pmu, typeof(*i915), pmu.base); typeof 372 drivers/gpu/drm/i915/i915_pmu.c container_of(event->pmu, typeof(*i915), pmu.base); typeof 396 drivers/gpu/drm/i915/i915_pmu.c container_of(event->pmu, typeof(*i915), pmu.base); typeof 530 drivers/gpu/drm/i915/i915_pmu.c container_of(event->pmu, typeof(*i915), pmu.base); typeof 592 drivers/gpu/drm/i915/i915_pmu.c container_of(event->pmu, typeof(*i915), pmu.base); typeof 651 drivers/gpu/drm/i915/i915_pmu.c container_of(event->pmu, typeof(*i915), pmu.base); typeof 840 drivers/gpu/drm/i915/i915_pmu.c struct drm_i915_private *i915 = container_of(pmu, typeof(*i915), pmu); typeof 988 drivers/gpu/drm/i915/i915_pmu.c struct i915_pmu *pmu = hlist_entry_safe(node, typeof(*pmu), node); typeof 1001 drivers/gpu/drm/i915/i915_pmu.c struct i915_pmu *pmu = hlist_entry_safe(node, typeof(*pmu), node); typeof 163 drivers/gpu/drm/i915/i915_reg.h ((u32)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \ typeof 272 drivers/gpu/drm/i915/i915_reg.h #define _MASKED_BIT_ENABLE(a) ({ typeof(a) _a = (a); _MASKED_FIELD(_a, _a); }) typeof 125 drivers/gpu/drm/i915/i915_request.c struct execute_cb *cb = container_of(wrk, typeof(*cb), work); typeof 133 drivers/gpu/drm/i915/i915_request.c struct execute_cb *cb = container_of(wrk, typeof(*cb), work); typeof 331 drivers/gpu/drm/i915/i915_request.c tmp = list_first_entry(&tl->requests, typeof(*tmp), link); typeof 533 drivers/gpu/drm/i915/i915_request.c container_of(fence, typeof(*request), submit); typeof 566 drivers/gpu/drm/i915/i915_request.c container_of(wrk, typeof(*rq), semaphore_work); typeof 575 drivers/gpu/drm/i915/i915_request.c struct i915_request *rq = container_of(fence, typeof(*rq), semaphore); typeof 615 drivers/gpu/drm/i915/i915_request.c rq = list_first_entry(&tl->requests, typeof(*rq), link); typeof 624 drivers/gpu/drm/i915/i915_request.c rq = list_last_entry(&tl->requests, typeof(*rq), link); typeof 778 drivers/gpu/drm/i915/i915_request.c rq = list_first_entry(&tl->requests, typeof(*rq), link); typeof 1389 drivers/gpu/drm/i915/i915_request.c struct request_wait *wait = container_of(cb, typeof(*wait), cb); typeof 383 drivers/gpu/drm/i915/i915_sw_fence.c struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base); typeof 413 drivers/gpu/drm/i915/i915_sw_fence.c container_of(data, typeof(*cb), base.base); typeof 426 drivers/gpu/drm/i915/i915_sw_fence.c container_of(wrk, typeof(*cb), work); typeof 466 drivers/gpu/drm/i915/i915_sw_fence.c container_of(cb, typeof(*timer), base); typeof 493 drivers/gpu/drm/i915/i915_sw_fence.c struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base); typeof 11 drivers/gpu/drm/i915/i915_sw_fence_work.c struct dma_fence_work *f = container_of(work, typeof(*f), work); typeof 24 drivers/gpu/drm/i915/i915_sw_fence_work.c struct dma_fence_work *f = container_of(fence, typeof(*f), chain); typeof 54 drivers/gpu/drm/i915/i915_sw_fence_work.c struct dma_fence_work *f = container_of(fence, typeof(*f), dma); typeof 61 drivers/gpu/drm/i915/i915_sw_fence_work.c struct dma_fence_work *f = container_of(fence, typeof(*f), dma); typeof 68 drivers/gpu/drm/i915/i915_sw_fence_work.c BUILD_BUG_ON(offsetof(typeof(*f), dma)); typeof 87 drivers/gpu/drm/i915/i915_utils.h typeof(A) a = (A); \ typeof 88 drivers/gpu/drm/i915/i915_utils.h typeof(B) b = (B); \ typeof 94 drivers/gpu/drm/i915/i915_utils.h add_overflows_t(typeof((A) + (B)), (A), (B)) typeof 97 drivers/gpu/drm/i915/i915_utils.h typeof(start) start__ = (start); \ typeof 98 drivers/gpu/drm/i915/i915_utils.h typeof(size) size__ = (size); \ typeof 99 drivers/gpu/drm/i915/i915_utils.h typeof(max) max__ = (max); \ typeof 147 drivers/gpu/drm/i915/i915_utils.h (typeof(ptr))(__v & -BIT(n)); \ typeof 155 drivers/gpu/drm/i915/i915_utils.h (typeof(ptr))(__v & -BIT(n)); \ typeof 161 drivers/gpu/drm/i915/i915_utils.h ((typeof(ptr))((unsigned long)(ptr) | __bits)); \ typeof 166 drivers/gpu/drm/i915/i915_utils.h (typeof(ptr))(__v - 1); \ typeof 171 drivers/gpu/drm/i915/i915_utils.h (typeof(ptr))(__v + 1); \ typeof 181 drivers/gpu/drm/i915/i915_utils.h #define ptr_offset(ptr, member) offsetof(typeof(*(ptr)), member) typeof 184 drivers/gpu/drm/i915/i915_utils.h typeof(*ptr) __T = *(ptr); \ typeof 185 drivers/gpu/drm/i915/i915_utils.h *(ptr) = (typeof(*ptr))0; \ typeof 216 drivers/gpu/drm/i915/i915_utils.h typeof(*(U)) mbz__; \ typeof 85 drivers/gpu/drm/i915/i915_vma.c return container_of(ref, typeof(struct i915_vma), active); typeof 556 drivers/gpu/drm/i915/i915_vma.c size = max_t(typeof(size), size, vma->fence_size); typeof 557 drivers/gpu/drm/i915/i915_vma.c alignment = max_t(typeof(alignment), typeof 289 drivers/gpu/drm/i915/i915_vma.h BUILD_BUG_ON(offsetof(typeof(*view), rotated) != typeof 290 drivers/gpu/drm/i915/i915_vma.h offsetof(typeof(*view), partial)); typeof 291 drivers/gpu/drm/i915/i915_vma.h BUILD_BUG_ON(offsetof(typeof(*view), rotated) != typeof 292 drivers/gpu/drm/i915/i915_vma.h offsetof(typeof(*view), remapped)); typeof 629 drivers/gpu/drm/i915/intel_csr.c dev_priv = container_of(work, typeof(*dev_priv), csr.work); typeof 834 drivers/gpu/drm/i915/intel_uncore.c typeof(base) result__ = NULL; \ typeof 86 drivers/gpu/drm/i915/intel_wakeref.c struct intel_wakeref *wf = container_of(wrk, typeof(*wf), work); typeof 36 drivers/gpu/drm/i915/selftests/i915_active.c struct live_active *active = container_of(ref, typeof(*active), ref); typeof 48 drivers/gpu/drm/i915/selftests/i915_active.c struct live_active *active = container_of(base, typeof(*active), base); typeof 56 drivers/gpu/drm/i915/selftests/i915_active.c struct live_active *active = container_of(base, typeof(*active), base); typeof 443 drivers/gpu/drm/i915/selftests/i915_buddy.c block = list_last_entry(&blocks, typeof(*block), link); typeof 556 drivers/gpu/drm/i915/selftests/i915_buddy.c block = list_first_entry_or_null(&blocks, typeof(*block), link); typeof 64 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c typeof(obj->base.size) rem; typeof 79 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c unsigned long len = min_t(typeof(rem), rem, BIT(31)); typeof 1067 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c struct drm_mm_node *a = list_entry(A, typeof(*a), hole_stack); typeof 1068 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c struct drm_mm_node *b = list_entry(B, typeof(*b), hole_stack); typeof 514 drivers/gpu/drm/i915/selftests/i915_sw_fence.c struct task_ipc *ipc = container_of(work, typeof(*ipc), work); typeof 95 drivers/gpu/drm/i915/selftests/lib_sw_fence.c struct heap_fence *h = container_of(fence, typeof(*h), fence); typeof 124 drivers/gpu/drm/i915/selftests/lib_sw_fence.c struct heap_fence *h = container_of(ref, typeof(*h), ref); typeof 133 drivers/gpu/drm/i915/selftests/lib_sw_fence.c struct heap_fence *h = container_of(fence, typeof(*h), fence); typeof 47 drivers/gpu/drm/i915/selftests/mock_request.c container_of(request->engine, typeof(*engine), base); typeof 118 drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.h typeof(intf_type) __val = (intf_type); \ typeof 2022 drivers/gpu/drm/nouveau/dispnv50/disp.c container_of(work, typeof(*state), commit_work); typeof 295 drivers/gpu/drm/nouveau/include/nvif/list.h (void *)container_of((ptr), typeof(*(sample)), member) typeof 81 drivers/gpu/drm/nouveau/include/nvif/object.h typeof(m[0]) *mclass = (m); \ typeof 103 drivers/gpu/drm/nouveau/include/nvif/object.h const typeof(m[0]) *_mclass = (m); \ typeof 54 drivers/gpu/drm/nouveau/nouveau_chan.c struct nouveau_channel *chan = container_of(ntfy, typeof(*chan), kill); typeof 1141 drivers/gpu/drm/nouveau/nouveau_connector.c container_of(notify, typeof(*nv_connector), hpd); typeof 1197 drivers/gpu/drm/nouveau/nouveau_connector.c container_of(obj, typeof(*nv_connector), aux); typeof 51 drivers/gpu/drm/nouveau/nouveau_display.c container_of(notify, typeof(*nv_crtc), vblank); typeof 351 drivers/gpu/drm/nouveau/nouveau_display.c struct nouveau_drm *drm = container_of(work, typeof(*drm), hpd_work); typeof 367 drivers/gpu/drm/nouveau/nouveau_display.c struct nouveau_drm *drm = container_of(nb, typeof(*drm), acpi_nb); typeof 135 drivers/gpu/drm/nouveau/nouveau_drm.c struct nouveau_cli *cli = container_of(w, typeof(*cli), work); typeof 150 drivers/gpu/drm/nouveau/nouveau_drm.c struct nouveau_cli_work *work = container_of(cb, typeof(*work), cb); typeof 447 drivers/gpu/drm/nouveau/nouveau_fbcon.c struct nouveau_drm *drm = container_of(work, typeof(*drm), fbcon_work); typeof 96 drivers/gpu/drm/nouveau/nouveau_fence.c fence = list_entry(fctx->pending.next, typeof(*fence), head); typeof 133 drivers/gpu/drm/nouveau/nouveau_fence.c fence = list_entry(fctx->pending.next, typeof(*fence), head); typeof 148 drivers/gpu/drm/nouveau/nouveau_fence.c container_of(notify, typeof(*fctx), notify); typeof 157 drivers/gpu/drm/nouveau/nouveau_fence.c fence = list_entry(fctx->pending.next, typeof(*fence), head); typeof 106 drivers/gpu/drm/nouveau/nouveau_gem.c container_of(w, typeof(*work), work); typeof 263 drivers/gpu/drm/nouveau/nouveau_svm.c struct nouveau_svmm *svmm = container_of(mirror, typeof(*svmm), mirror); typeof 527 drivers/gpu/drm/nouveau/nouveau_svm.c container_of(notify, typeof(*buffer), notify); typeof 529 drivers/gpu/drm/nouveau/nouveau_svm.c container_of(buffer, typeof(*svm), buffer[buffer->id]); typeof 107 drivers/gpu/drm/nouveau/nvif/notify.c struct nvif_notify *notify = container_of(work, typeof(*notify), work); typeof 84 drivers/gpu/drm/nouveau/nvkm/core/client.c struct nvkm_client_notify *notify = container_of(n, typeof(*notify), n); typeof 110 drivers/gpu/drm/nouveau/nvkm/core/memory.c struct nvkm_memory *memory = container_of(kref, typeof(*memory), kref); typeof 246 drivers/gpu/drm/nouveau/nvkm/core/mm.c prev = list_last_entry(&mm->nodes, typeof(*node), nl_entry); typeof 86 drivers/gpu/drm/nouveau/nvkm/core/notify.c struct nvkm_notify *notify = container_of(work, typeof(*notify), work); typeof 37 drivers/gpu/drm/nouveau/nvkm/core/object.c object = rb_entry(node, typeof(*object), node); typeof 71 drivers/gpu/drm/nouveau/nvkm/core/object.c struct nvkm_object *this = rb_entry(*ptr, typeof(*this), node); typeof 33 drivers/gpu/drm/nouveau/nvkm/engine/device/acpi.c container_of(nb, typeof(*device), acpi.nb); typeof 45 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c struct nvkm_disp *disp = container_of(event, typeof(*disp), vblank); typeof 54 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c struct nvkm_disp *disp = container_of(event, typeof(*disp), vblank); typeof 65 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c container_of(notify->event, typeof(*disp), vblank); typeof 102 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c container_of(notify->event, typeof(*disp), hpd); typeof 438 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c conn = list_first_entry(&disp->conn, typeof(*conn), head); typeof 444 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c outp = list_first_entry(&disp->outp, typeof(*outp), head); typeof 451 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c list_first_entry(&disp->ior, typeof(*ior), head); typeof 457 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c list_first_entry(&disp->head, typeof(*head), head); typeof 29 drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.c struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); typeof 38 drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.c struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); typeof 109 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); typeof 118 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c struct nv50_disp *disp = container_of(event, typeof(*disp), uevent); typeof 234 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c container_of(base, typeof(*object), oproxy); typeof 35 drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c struct nvkm_conn *conn = container_of(notify, typeof(*conn), hpd); typeof 539 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c struct nvkm_dp *dp = container_of(notify, typeof(*dp), hpd); typeof 174 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c struct nvkm_fifo *fifo = container_of(event, typeof(*fifo), uevent); typeof 181 drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c struct nvkm_fifo *fifo = container_of(event, typeof(*fifo), uevent); typeof 42 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c container_of(base, typeof(*object), oproxy); typeof 75 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c container_of(base, typeof(*object), oproxy); typeof 108 drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.c container_of(base, typeof(*object), oproxy); typeof 147 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.c struct gf100_fifo *fifo = container_of(w, typeof(*fifo), recover.work); typeof 277 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c struct gk104_fifo *fifo = container_of(w, typeof(*fifo), recover.work); typeof 344 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c chan = list_first_entry(&cgrp->chan, typeof(*chan), head); typeof 62 drivers/gpu/drm/nouveau/nvkm/engine/sec2/base.c struct nvkm_sec2 *sec2 = container_of(work, typeof(*sec2), work); typeof 42 drivers/gpu/drm/nouveau/nvkm/engine/sw/gf100.c container_of(notify, typeof(*chan), vblank.notify[notify->index]); typeof 42 drivers/gpu/drm/nouveau/nvkm/engine/sw/nv50.c container_of(notify, typeof(*chan), vblank.notify[notify->index]); typeof 149 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c return list_last_entry(&pstate->list, typeof(*cstate), head); typeof 300 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c struct nvkm_clk *clk = container_of(work, typeof(*clk), work); typeof 564 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c container_of(notify, typeof(*clk), pwrsrc_ntfy); typeof 30 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c struct nvkm_fault *fault = container_of(event, typeof(*fault), event); typeof 37 drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c struct nvkm_fault *fault = container_of(event, typeof(*fault), event); typeof 120 drivers/gpu/drm/nouveau/nvkm/subdev/fault/gv100.c struct nvkm_fault *fault = container_of(notify, typeof(*fault), nrpfb); typeof 109 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c struct gf100_ram *ram = container_of(fuc, typeof(*ram), fuc); typeof 143 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c struct gk104_ram *ram = container_of(fuc, typeof(*ram), fuc); typeof 159 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c struct gk104_ram *ram = container_of(fuc, typeof(*ram), fuc); typeof 209 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c struct gk104_ram *ram = container_of(fuc, typeof(*ram), fuc); typeof 1451 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c p = &list_last_entry(&ram->cfg, typeof(*cfg), head)->bios; typeof 115 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event); typeof 122 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/base.c struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event); typeof 30 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c struct nvkm_i2c_aux *aux = container_of(adap, typeof(*aux), i2c); typeof 92 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c struct nvkm_i2c *i2c = container_of(event, typeof(*i2c), event); typeof 101 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c struct nvkm_i2c *i2c = container_of(event, typeof(*i2c), event); typeof 238 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c list_first_entry(&i2c->aux, typeof(*aux), head); typeof 244 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c list_first_entry(&i2c->bus, typeof(*bus), head); typeof 250 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c list_first_entry(&i2c->pad, typeof(*pad), head); typeof 35 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c struct nvkm_i2c_bus *bus = container_of(adap, typeof(*bus), i2c); typeof 42 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c struct nvkm_i2c_bus *bus = container_of(adap, typeof(*bus), i2c); typeof 80 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bus.c struct nvkm_i2c_bus *bus = container_of(adap, typeof(*bus), i2c); typeof 142 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c eobj = list_first_entry_or_null(&imem->lru, typeof(*eobj), lru); typeof 74 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c ptp = list_first_entry_or_null(&mmu->ptp.list, typeof(*ptp), head); typeof 190 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c pt = list_first_entry_or_null(&ptc->item, typeof(*pt), head); typeof 805 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct nvkm_vma *this = rb_entry(*ptr, typeof(*this), tree); typeof 847 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct nvkm_vma *this = rb_entry(*ptr, typeof(*this), tree); typeof 867 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct nvkm_vma *vma = rb_entry(node, typeof(*vma), tree); typeof 987 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct nvkm_vma *vma = rb_entry(node, typeof(*vma), tree); typeof 1002 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c vma = list_first_entry(&vmm->list, typeof(*vma), head); typeof 1689 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct nvkm_vma *this = rb_entry(temp, typeof(*this), tree); typeof 1705 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct nvkm_vma *this = rb_entry(node, typeof(*this), tree); typeof 1837 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct nvkm_vmm *vmm = container_of(kref, typeof(*vmm), kref); typeof 57 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c struct nvkm_pmu *pmu = container_of(work, typeof(*pmu), recv.work); typeof 130 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c list = list_first_entry(&tmr->alarms, typeof(*list), head); typeof 29 drivers/gpu/drm/radeon/mkregtable.c const typeof(((type *)0)->member)*__mptr = (ptr); \ typeof 102 drivers/gpu/drm/radeon/mkregtable.c for (pos = list_entry((head)->next, typeof(*pos), member); \ typeof 104 drivers/gpu/drm/radeon/mkregtable.c pos = list_entry(pos->member.next, typeof(*pos), member)) typeof 1220 drivers/gpu/drm/selftests/test-drm_mm.c e = container_of(node, typeof(*e), node); typeof 1265 drivers/gpu/drm/selftests/test-drm_mm.c e = container_of(node, typeof(*e), node); typeof 985 drivers/gpu/drm/vc4/vc4_plane.c container_of(state, typeof(*vc4_state), base); typeof 355 drivers/gpu/drm/vgem/vgem_drv.c struct vgem_device *vgem = container_of(dev, typeof(*vgem), drm); typeof 431 drivers/gpu/drm/vgem/vgem_drv.c struct vgem_device *vgem = container_of(dev, typeof(*vgem), drm); typeof 50 drivers/gpu/drm/vgem/vgem_fence.c struct vgem_fence *fence = container_of(base, typeof(*fence), base); typeof 495 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, typeof(*binding), bi); typeof 527 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, typeof(*binding), bi); typeof 563 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, typeof(*binding), bi); typeof 597 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, typeof(*binding), bi); typeof 626 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, typeof(*binding), bi); typeof 1137 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c container_of(bi, typeof(*binding), bi); typeof 804 drivers/gpu/drm/vmwgfx/vmwgfx_context.c union drm_vmw_extended_context_arg *arg = (typeof(arg)) data; typeof 833 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 877 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 922 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 942 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 961 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 980 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 997 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 1009 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 1264 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 1295 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 1324 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 1343 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 1379 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 1409 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 1455 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 1483 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 1524 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 1584 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 1633 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 1777 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 1796 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 1815 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 1834 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 1854 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 1874 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 1894 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 1917 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 1956 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 1995 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 2072 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 2098 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 2127 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 2169 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 2207 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 2264 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 2315 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 2346 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 2379 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 2398 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 2430 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 2476 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 2527 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 2555 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c BUILD_BUG_ON(offsetof(typeof(*cmd), r_body.sid) != typeof 2556 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c offsetof(typeof(*cmd), sid)); typeof 2557 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c BUILD_BUG_ON(offsetof(typeof(*cmd), i_body.sid) != typeof 2558 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c offsetof(typeof(*cmd), sid)); typeof 2559 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c BUILD_BUG_ON(offsetof(typeof(*cmd), u_body.sid) != typeof 2560 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c offsetof(typeof(*cmd), sid)); typeof 2562 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c cmd = container_of(header, typeof(*cmd), header); typeof 2600 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c } *cmd = container_of(header, typeof(*cmd), header); typeof 2639 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 2668 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 2694 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 2744 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 2763 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 2789 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c container_of(header, typeof(*cmd), header); typeof 2823 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c container_of(update->vfb, typeof(*vfbbo), base); typeof 2829 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c container_of(update->vfb, typeof(*vfbs), base); typeof 108 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c entry = list_entry(lds->active.next, typeof(*entry), active); typeof 130 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c items = (typeof(items))&cmds[1]; typeof 479 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c container_of(update->vfb, typeof(*vfbbo), base); typeof 576 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c srf_update = container_of(update, typeof(*srf_update), base); typeof 594 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c vfbs = container_of(update->vfb, typeof(*vfbs), base); typeof 648 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c srf_update = container_of(update, typeof(*srf_update), base); typeof 1025 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c container_of(dirty, typeof(*sdirty), base); typeof 1083 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c container_of(dirty, typeof(*sdirty), base); typeof 1137 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c container_of(framebuffer, typeof(*vfbs), base); typeof 256 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c usimple = container_of(base, typeof(*usimple), base); typeof 494 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c container_of(dirty->unit, typeof(*stdu), base); typeof 576 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c container_of(dirty->unit, typeof(*stdu), base); typeof 753 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c container_of(dirty->unit, typeof(*stdu), base); typeof 791 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c container_of(dirty->unit, typeof(*stdu), base); typeof 860 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c container_of(framebuffer, typeof(*vfbs), base); typeof 1206 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c stdu = container_of(update->du, typeof(*stdu), base); typeof 1207 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vfbbo = container_of(update->vfb, typeof(*vfbbo), base); typeof 1249 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c stdu = container_of(update->du, typeof(*stdu), base); typeof 1250 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vfbbo = container_of(update->vfb, typeof(*vfbbo), base); typeof 1265 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c container_of(update, typeof(*bo_update), base); typeof 1278 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c container_of(update, typeof(*bo_update), base); typeof 1301 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c bo_update = container_of(update, typeof(*bo_update), base); typeof 1302 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c stdu = container_of(update->du, typeof(*stdu), base); typeof 1303 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vfbbo = container_of(update->vfb, typeof(*vfbbo), base); typeof 1407 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vfbs = container_of(update->vfb, typeof(*vfbs), base); typeof 1423 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vfbs = container_of(update->vfb, typeof(*vfbs), base); typeof 1445 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vfbs = container_of(update->vfb, typeof(*vfbs), base); typeof 1483 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c stdu = container_of(update->du, typeof(*stdu), base); typeof 1484 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vfbs = container_of(update->vfb, typeof(*vfbs), base); typeof 1548 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vfbs = container_of(vfb, typeof(*vfbs), base); typeof 1078 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd2 = (typeof(cmd2))cmd; typeof 1079 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd3 = (typeof(cmd3))cmd; typeof 186 drivers/gpu/drm/vmwgfx/vmwgfx_validation.c bo_node = container_of(hash, typeof(*bo_node), hash); typeof 223 drivers/gpu/drm/vmwgfx/vmwgfx_validation.c res_node = container_of(hash, typeof(*res_node), hash); typeof 394 drivers/gpu/drm/vmwgfx/vmwgfx_validation.c val = container_of(val_private, typeof(*val), private); typeof 418 drivers/gpu/drm/vmwgfx/vmwgfx_validation.c val = container_of(val_private, typeof(*val), private); typeof 432 drivers/infiniband/core/multicast.c group = container_of(work, typeof(*group), work); typeof 2297 drivers/infiniband/core/sa_query.c container_of(handler, typeof(*sa_dev), event_handler); typeof 66 drivers/infiniband/core/uverbs_std_types_cq.c typeof(*obj), uobject); typeof 695 drivers/infiniband/hw/bnxt_re/qplib_fp.c ((offsetof(typeof(*srqe), data) + 15) >> 4); typeof 1607 drivers/infiniband/hw/bnxt_re/qplib_fp.c ((offsetof(typeof(*sqe), data) + 15) >> 4); typeof 1626 drivers/infiniband/hw/bnxt_re/qplib_fp.c ((offsetof(typeof(*sqe), data) + 15) >> 4); typeof 1659 drivers/infiniband/hw/bnxt_re/qplib_fp.c ((offsetof(typeof(*sqe), data) + 15) >> 4); typeof 1863 drivers/infiniband/hw/bnxt_re/qplib_fp.c ((offsetof(typeof(*rqe), data) + 15) >> 4); typeof 150 drivers/infiniband/hw/efa/efa_verbs.c #define field_avail(x, fld, sz) (offsetof(typeof(x), fld) + \ typeof 151 drivers/infiniband/hw/efa/efa_verbs.c FIELD_SIZEOF(typeof(x), fld) <= (sz)) typeof 274 drivers/infiniband/hw/hfi1/file_ops.c uctxt->poll_type = (typeof(uctxt->poll_type))uval; typeof 461 drivers/infiniband/hw/mlx4/main.c resp.response_length = offsetof(typeof(resp), response_length) + typeof 598 drivers/infiniband/hw/mlx4/main.c if (field_avail(typeof(resp), rss_caps, uhw->outlen)) { typeof 618 drivers/infiniband/hw/mlx4/main.c resp.response_length = offsetof(typeof(resp), rss_caps) + typeof 622 drivers/infiniband/hw/mlx4/main.c if (field_avail(typeof(resp), tso_caps, uhw->outlen)) { typeof 632 drivers/infiniband/hw/mlx4/main.c resp.response_length = offsetof(typeof(resp), tso_caps) + typeof 1346 drivers/infiniband/hw/mlx4/main.c offsetof(typeof(filter), field) -\ typeof 545 drivers/infiniband/hw/mlx4/mcg.c group = container_of(delay, typeof(*group), timeout_work); typeof 652 drivers/infiniband/hw/mlx4/mcg.c group = container_of(work, typeof(*group), work); typeof 716 drivers/infiniband/hw/mlx4/qp.c required_cmd_sz = offsetof(typeof(ucmd), reserved1) + typeof 4142 drivers/infiniband/hw/mlx4/qp.c required_cmd_sz = offsetof(typeof(ucmd), comp_mask) + typeof 4278 drivers/infiniband/hw/mlx4/qp.c required_cmd_sz = offsetof(typeof(ucmd), reserved) + typeof 4361 drivers/infiniband/hw/mlx4/qp.c min_resp_len = offsetof(typeof(resp), reserved) + sizeof(resp.reserved); typeof 4393 drivers/infiniband/hw/mlx4/qp.c resp.response_length = offsetof(typeof(resp), response_length) + typeof 86 drivers/infiniband/hw/mlx5/ah.c u32 min_resp_len = offsetof(typeof(resp), dmac) + typeof 172 drivers/infiniband/hw/mlx5/mad.c counter_var = MLX5_GET_BE(typeof(counter_var), \ typeof 915 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), tso_caps, uhw_outlen)) { typeof 925 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), rss_caps, uhw_outlen)) { typeof 945 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), tso_caps, uhw_outlen)) typeof 947 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), rss_caps, uhw_outlen)) typeof 1070 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), cqe_comp_caps, uhw_outlen)) { typeof 1088 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), packet_pacing_caps, uhw_outlen) && typeof 1106 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), mlx5_ib_support_multi_pkt_send_wqes, typeof 1120 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), flags, uhw_outlen)) { typeof 1136 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), sw_parsing_caps, uhw_outlen)) { typeof 1156 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), striding_rq_caps, uhw_outlen) && typeof 1173 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), tunnel_offloads_caps, uhw_outlen)) { typeof 1823 drivers/infiniband/hw/mlx5/main.c resp.response_length = min(offsetof(typeof(resp), response_length) + typeof 1891 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), cqe_version, udata->outlen)) typeof 1894 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), cmds_supp_uhw, udata->outlen)) { typeof 1900 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), eth_min_inline, udata->outlen)) { typeof 1908 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), clock_info_versions, udata->outlen)) { typeof 1920 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), hca_core_clock_offset, udata->outlen)) { typeof 1930 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), log_uar_size, udata->outlen)) typeof 1933 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), num_uars_per_page, udata->outlen)) typeof 1936 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), num_dyn_bfregs, udata->outlen)) { typeof 1941 drivers/infiniband/hw/mlx5/main.c if (field_avail(typeof(resp), dump_fill_mkey, udata->outlen)) { typeof 2624 drivers/infiniband/hw/mlx5/main.c offsetof(typeof(filter), field) -\ typeof 3800 drivers/infiniband/hw/mlx5/main.c min_ucmd_sz = offsetof(typeof(ucmd_hdr), reserved) + typeof 1944 drivers/infiniband/hw/mlx5/mr.c resp.response_length = min(offsetof(typeof(resp), response_length) + typeof 1615 drivers/infiniband/hw/mlx5/qp.c min_resp_len = offsetof(typeof(resp), bfreg_index) + sizeof(resp.bfreg_index); typeof 1619 drivers/infiniband/hw/mlx5/qp.c required_cmd_sz = offsetof(typeof(ucmd), flags) + sizeof(ucmd.flags); typeof 3850 drivers/infiniband/hw/mlx5/qp.c u32 min_resp_len = offsetof(typeof(resp), dctn) + typeof 3905 drivers/infiniband/hw/mlx5/qp.c required_cmd_sz = offsetof(typeof(ucmd), reserved) + typeof 6050 drivers/infiniband/hw/mlx5/qp.c required_cmd_sz = offsetof(typeof(ucmd), single_stride_log_num_of_bytes) typeof 6133 drivers/infiniband/hw/mlx5/qp.c min_resp_len = offsetof(typeof(resp), reserved) + sizeof(resp.reserved); typeof 6163 drivers/infiniband/hw/mlx5/qp.c resp.response_length = offsetof(typeof(resp), response_length) + typeof 6221 drivers/infiniband/hw/mlx5/qp.c min_resp_len = offsetof(typeof(resp), reserved) + sizeof(resp.reserved); typeof 6255 drivers/infiniband/hw/mlx5/qp.c resp.response_length = offsetof(typeof(resp), response_length) + typeof 6296 drivers/infiniband/hw/mlx5/qp.c required_cmd_sz = offsetof(typeof(ucmd), reserved) + sizeof(ucmd.reserved); typeof 181 drivers/infiniband/sw/rxe/rxe_cq.c struct rxe_cq *cq = container_of(arg, typeof(*cq), pelem); typeof 185 drivers/infiniband/sw/rxe/rxe_mcast.c struct rxe_mc_grp *grp = container_of(arg, typeof(*grp), pelem); typeof 96 drivers/infiniband/sw/rxe/rxe_mr.c struct rxe_mem *mem = container_of(arg, typeof(*mem), pelem); typeof 807 drivers/infiniband/sw/rxe/rxe_qp.c struct rxe_qp *qp = container_of(work, typeof(*qp), cleanup_work.work); typeof 844 drivers/infiniband/sw/rxe/rxe_qp.c struct rxe_qp *qp = container_of(arg, typeof(*qp), pelem); typeof 225 drivers/infiniband/ulp/ipoib/ipoib_cm.c p = list_entry(priv->cm.rx_flush_list.next, typeof(*p), list); typeof 942 drivers/infiniband/ulp/ipoib/ipoib_cm.c p = list_entry(priv->cm.passive_ids.next, typeof(*p), list); typeof 1359 drivers/infiniband/ulp/ipoib/ipoib_cm.c p = list_entry(priv->cm.start_list.next, typeof(*p), list); typeof 1413 drivers/infiniband/ulp/ipoib/ipoib_cm.c p = list_entry(priv->cm.reap_list.next, typeof(*p), list); typeof 1492 drivers/infiniband/ulp/ipoib/ipoib_cm.c p = list_entry(priv->cm.passive_ids.prev, typeof(*p), list); typeof 496 drivers/infiniband/ulp/srp/ib_srp.c d = list_first_entry(&pool->free_list, typeof(*d), entry); typeof 230 drivers/input/mouse/byd.c typeof(jiffies) last_touch_time; typeof 293 drivers/input/mouse/byd.c typeof(jiffies) tap_time = typeof 1548 drivers/irqchip/irq-gic-v3.c gic_data.rdists.rdist = alloc_percpu(typeof(*gic_data.rdists.rdist)); typeof 151 drivers/mailbox/mtk-cmdq-mailbox.c &thread->task_busy_list, typeof(*task), list_entry); typeof 230 drivers/md/bcache/util.h typeof(*((dest)->data)) _t; \ typeof 256 drivers/md/bcache/util.h typeof((array)->freelist) _ret = (array)->freelist; \ typeof 259 drivers/md/bcache/util.h (array)->freelist = *((typeof((array)->freelist) *) _ret);\ typeof 266 drivers/md/bcache/util.h typeof((array)->freelist) _ptr = ptr; \ typeof 268 drivers/md/bcache/util.h *((typeof((array)->freelist) *) _ptr) = (array)->freelist; \ typeof 274 drivers/md/bcache/util.h typeof((array)->freelist) _i; \ typeof 314 drivers/md/bcache/util.h (__builtin_types_compatible_p(typeof(*res), int) \ typeof 316 drivers/md/bcache/util.h : __builtin_types_compatible_p(typeof(*res), long) \ typeof 318 drivers/md/bcache/util.h : __builtin_types_compatible_p(typeof(*res), long long) \ typeof 320 drivers/md/bcache/util.h : __builtin_types_compatible_p(typeof(*res), unsigned int) \ typeof 322 drivers/md/bcache/util.h : __builtin_types_compatible_p(typeof(*res), unsigned long) \ typeof 324 drivers/md/bcache/util.h : __builtin_types_compatible_p(typeof(*res), unsigned long long)\ typeof 341 drivers/md/bcache/util.h var = clamp_t(typeof(var), _v, min, max); \ typeof 347 drivers/md/bcache/util.h __builtin_types_compatible_p(typeof(var), int) \ typeof 349 drivers/md/bcache/util.h __builtin_types_compatible_p(typeof(var), unsigned int) \ typeof 351 drivers/md/bcache/util.h __builtin_types_compatible_p(typeof(var), long) \ typeof 353 drivers/md/bcache/util.h __builtin_types_compatible_p(typeof(var), unsigned long)\ typeof 355 drivers/md/bcache/util.h __builtin_types_compatible_p(typeof(var), int64_t) \ typeof 357 drivers/md/bcache/util.h __builtin_types_compatible_p(typeof(var), uint64_t) \ typeof 359 drivers/md/bcache/util.h __builtin_types_compatible_p(typeof(var), const char *) \ typeof 457 drivers/md/bcache/util.h typeof(n) _n = (n); \ typeof 458 drivers/md/bcache/util.h typeof(d) _d = (d); \ typeof 466 drivers/md/bcache/util.h typeof(ptr) _ptr = ptr; \ typeof 474 drivers/md/bcache/util.h typeof(new) this; \ typeof 479 drivers/md/bcache/util.h this = container_of(*n, typeof(*(new)), member); \ typeof 498 drivers/md/bcache/util.h typeof(&(search)) this, ret = NULL; \ typeof 502 drivers/md/bcache/util.h this = container_of(n, typeof(search), member); \ typeof 518 drivers/md/bcache/util.h typeof(&(search)) this, ret = NULL; \ typeof 522 drivers/md/bcache/util.h this = container_of(n, typeof(search), member); \ typeof 540 drivers/md/bcache/util.h container_of_or_null(rb_next(&(ptr)->member), typeof(*ptr), member) typeof 543 drivers/md/bcache/util.h container_of_or_null(rb_prev(&(ptr)->member), typeof(*ptr), member) typeof 1287 drivers/md/dm-clone-target.c struct clone *clone = container_of(work, typeof(*clone), worker); typeof 43 drivers/md/dm-writecache.c typeof(dest) uniq = (src); \ typeof 5363 drivers/md/raid5.c sh = list_entry(handle_list->next, typeof(*sh), lru); typeof 94 drivers/media/firewire/firedtv-dvb.c dvbdmxfeed->priv = (typeof(dvbdmxfeed->priv))(unsigned long)c; typeof 314 drivers/media/mc/mc-entity.c link = list_entry(link_top(graph), typeof(*link), list); typeof 204 drivers/media/pci/dt3155/dt3155.c vb = list_first_entry(&pd->dmaq, typeof(*vb), done_entry); typeof 265 drivers/media/pci/dt3155/dt3155.c ivb = list_first_entry(&ipd->dmaq, typeof(*ivb), done_entry); typeof 376 drivers/media/platform/exynos4-is/media-dev.c p = list_entry(fmd->pipelines.next, typeof(*p), list); typeof 748 drivers/media/platform/s5p-mfc/s5p_mfc_common.h ((f && f->op) ? f->op(args) : (typeof(f->op(args)))(-ENODEV)) typeof 367 drivers/media/platform/vimc/vimc-capture.c typeof(*vimc_buf), list); typeof 687 drivers/media/platform/vsp1/vsp1_video.c struct vsp1_pipeline *pipe = container_of(kref, typeof(*pipe), kref); typeof 396 drivers/media/usb/gspca/gspca.c typeof(*buf), list); typeof 1335 drivers/media/usb/uvc/uvc_v4l2.c if (copy_to_user(up, kp, offsetof(typeof(*up), menu_info)) || typeof 1374 drivers/media/usb/uvc/uvc_v4l2.c if (copy_to_user(up, kp, offsetof(typeof(*up), data))) typeof 190 drivers/media/v4l2-core/tuner-core.c typeof(&FUNCTION) __a = symbol_request(FUNCTION); \ typeof 40 drivers/media/v4l2-core/v4l2-compat-ioctl32.c typeof(*from) __assign_tmp; \ typeof 60 drivers/media/v4l2-core/v4l2-compat-ioctl32.c get_user(__x, (typeof(*__ptr) __user *)(__ptr)); \ typeof 77 drivers/media/v4l2-core/v4l2-compat-ioctl32.c put_user((typeof(*__x) __force *)(__x), __ptr); \ typeof 97 drivers/media/v4l2-core/v4l2-compat-ioctl32.c typeof(*from) __assign_tmp; \ typeof 1653 drivers/media/v4l2-core/v4l2-ctrls.c val = clamp_t(typeof(val), val, \ typeof 422 drivers/media/v4l2-core/v4l2-fwnode.c sizeof(*vep) - offsetof(typeof(*vep), bus)); typeof 35 drivers/media/v4l2-core/v4l2-ioctl.c memset((u8 *)(p) + offsetof(typeof(*(p)), field) + sizeof((p)->field), \ typeof 36 drivers/media/v4l2-core/v4l2-ioctl.c 0, sizeof(*(p)) - offsetof(typeof(*(p)), field) - sizeof((p)->field)) typeof 125 drivers/misc/habanalabs/command_buffer.c cb = list_first_entry(&hdev->cb_pool, typeof(*cb), typeof 1576 drivers/misc/habanalabs/memory.c va_block = list_first_entry(&va_range->list, typeof(*va_block), node); typeof 2385 drivers/mmc/core/block.c size = (typeof(sector_t))card->csd.capacity typeof 40 drivers/mtd/chips/chipreg.c this = list_entry(pos, typeof(*this), list); typeof 481 drivers/mtd/devices/block2mtd.c struct block2mtd_dev *dev = list_entry(pos, typeof(*dev), list); typeof 1040 drivers/mtd/ubi/ubi.h pos = (rb ? container_of(rb, typeof(*pos), member) : NULL); \ typeof 1043 drivers/mtd/ubi/ubi.h pos = (rb ? container_of(rb, typeof(*pos), member) : NULL)) typeof 560 drivers/net/ethernet/apm/xgene/xgene_enet_main.c tx_level += ((typeof(pdata->tx_level[index]))~0U); typeof 6613 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->strm->next_in = (typeof(bp->strm->next_in))zbuf + n; typeof 622 drivers/net/ethernet/cavium/liquidio/octeon_device.h typeof(oct) _oct = (oct); \ typeof 2078 drivers/net/ethernet/cavium/thunder/nicvf_main.c mc_list = kmalloc(offsetof(typeof(*mc_list), typeof 102 drivers/net/ethernet/freescale/fman/mac.c params->base_addr = (typeof(params->base_addr)) typeof 706 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h const typeof(k) _k_ = (k); \ typeof 707 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h const typeof(v) _v_ = (v); \ typeof 1580 drivers/net/ethernet/jme.c if (unlikely(intrstat == ~((typeof(intrstat))0))) typeof 293 drivers/net/ethernet/mellanox/mlx4/alloc.c typeof(*next), typeof 397 drivers/net/ethernet/mellanox/mlx4/alloc.c typeof(*curr_node), typeof 1316 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c ((field) == 0 || (field) == (__force typeof(field))-1) typeof 1650 drivers/net/ethernet/mellanox/mlx5/core/cmd.c msg = list_entry(ch->head.next, typeof(*msg), list); typeof 93 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c PRINT_MASKED_VALP(src_ipv4, typeof(&src_ipv4.v), p, typeof 95 drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c PRINT_MASKED_VALP(dst_ipv4, typeof(&dst_ipv4.v), p, typeof 495 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c #define all_ones(field) (field == (__force typeof(field))-1) typeof 497 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c ((field) == 0 || (field) == (__force typeof(field))-1) typeof 673 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c container_of(accel_xfrm, typeof(*fpga_xfrm), typeof 812 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c spi = MLX5_GET_BE(typeof(spi), typeof 2119 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c typeof(*ns), typeof 275 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h #define fs_get_obj(v, _node) {v = container_of((_node), typeof(*v), node); } typeof 8195 drivers/net/ethernet/mellanox/mlxsw/reg.h #define MLXSW_REG_MTMP_TEMP_TO_MC(val) ({ typeof(val) v_ = (val); \ typeof 403 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c typeof(*vchunk), list); typeof 415 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c typeof(*vchunk), list); typeof 444 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region2 = list_entry(pos, typeof(*region2), list); typeof 493 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vregion2 = list_entry(pos, typeof(*vregion2), list); typeof 534 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vregion = list_entry(pos, typeof(*vregion), list); typeof 540 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vregion2 = list_entry(pos->next, typeof(*vregion2), typeof 1032 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vchunk2 = list_entry(pos, typeof(*vchunk2), list); typeof 1313 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c typeof(*ventry), list); typeof 1375 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c typeof(*vchunk), list); typeof 1744 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c chup = container_of(info, typeof(*chup), info); typeof 1773 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c chup = container_of(info, typeof(*chup), info); typeof 1901 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c typeof(*neigh_entry), typeof 2767 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c typeof(*nh), router_list_node); typeof 23 drivers/net/ethernet/netronome/nfp/bpf/jit.c for (pos = list_first_entry(&(nfp_prog)->insns, typeof(*pos), l), \ typeof 31 drivers/net/ethernet/netronome/nfp/bpf/jit.c for (pos = list_first_entry(&(nfp_prog)->insns, typeof(*pos), l), \ typeof 98 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c typeof(rate) __rate = (rate); \ typeof 184 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c typeof(map) __map; \ typeof 1019 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c typeof(var) *__p_var = &(var); \ typeof 1020 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c typeof(offset) __offset = offset; \ typeof 749 drivers/net/ethernet/qlogic/qed/qed_mcp.h ({ typeof(params) __params = (params); \ typeof 40 drivers/net/ethernet/realtek/r8169_firmware.c #define FW_OPCODE_SIZE sizeof(typeof(*((struct rtl_fw_phy_action *)0)->code)) typeof 1448 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c dissector->offset[FLOW_DISSECTOR_KEY_PORTS] = offsetof(typeof(keys), key); typeof 95 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(ring) _ring = (ring); \ typeof 101 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(pos) _pos = (pos); \ typeof 102 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(len) _len = (len); \ typeof 107 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(pos) _pos = (pos); \ typeof 108 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(len) _len = (len); \ typeof 109 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(var) _var = le32_to_cpu((var)); \ typeof 114 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(var) _var = (var); \ typeof 115 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(pos) _pos = (pos); \ typeof 116 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(len) _len = (len); \ typeof 117 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(val) _val = (val); \ typeof 123 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(var) _var = (var); \ typeof 124 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(pos) _pos = (pos); \ typeof 125 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(len) _len = (len); \ typeof 126 drivers/net/ethernet/synopsys/dwc-xlgmac.h typeof(val) _val = (val); \ typeof 518 drivers/net/ipvlan/ipvlan_core.c skb->mac_header = (typeof(skb->mac_header))~0U; typeof 536 drivers/net/thunderbolt.c struct tbnet_frame *tf = container_of(frame, typeof(*tf), frame); typeof 586 drivers/net/thunderbolt.c struct tbnet *net = container_of(work, typeof(*net), connected_work); typeof 636 drivers/net/thunderbolt.c struct tbnet *net = container_of(work, typeof(*net), login_work.work); typeof 664 drivers/net/thunderbolt.c struct tbnet *net = container_of(work, typeof(*net), disconnect_work); typeof 773 drivers/net/thunderbolt.c tf = container_of(frame, typeof(*tf), frame); typeof 443 drivers/net/wimax/i2400m/control.c ss = container_of(tlv, typeof(*ss), hdr); typeof 451 drivers/net/wimax/i2400m/control.c rfss = container_of(tlv, typeof(*rfss), hdr); typeof 460 drivers/net/wimax/i2400m/control.c ms = container_of(tlv, typeof(*ms), hdr); typeof 1053 drivers/net/wimax/i2400m/control.c l4mv = container_of(tlv, typeof(*l4mv), hdr); typeof 1769 drivers/net/wireless/ath/ath10k/debug.c arvif = list_first_entry(&ar->arvifs, typeof(*arvif), list); typeof 176 drivers/net/wireless/ath/ath10k/spectral.c return list_first_entry(&ar->arvifs, typeof(*arvif), list); typeof 955 drivers/net/wireless/broadcom/b43/dma.c typeof(a) __a = a; \ typeof 961 drivers/net/wireless/broadcom/b43/dma.c typeof(a) __a = a; \ typeof 1987 drivers/net/wireless/intel/iwlwifi/fw/dbg.c list_entry(list->next, typeof(*entry), list); typeof 2332 drivers/net/wireless/intel/iwlwifi/fw/dbg.c typeof(fwrt->dump.wks[0]) *wks; typeof 2334 drivers/net/wireless/intel/iwlwifi/fw/dbg.c wks = container_of(work, typeof(fwrt->dump.wks[0]), wk.work); typeof 456 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c memset(lq_sta, 0, offsetof(typeof(*lq_sta), pers)); typeof 2972 drivers/net/wireless/intel/iwlwifi/mvm/rs.c memset(lq_sta, 0, offsetof(typeof(*lq_sta), pers)); typeof 348 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c (typeof(hdr))(skb_tail_pointer(skb) - sizeof(*hdr)); typeof 359 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c (typeof(hdr))(skb_tail_pointer(skb) - sizeof(*hdr)); typeof 772 drivers/net/wireless/realtek/rtlwifi/base.c ({typeof(rate_id) _id = rate_id; \ typeof 1228 drivers/net/wireless/realtek/rtlwifi/base.c ({typeof(rate_id) _id = rate_id; \ typeof 35 drivers/net/wireless/realtek/rtw88/coex.h ({ typeof(rssi) __rssi__ = rssi; \ typeof 40 drivers/net/wireless/realtek/rtw88/coex.h ({ typeof(rssi) __rssi__ = rssi; \ typeof 45 drivers/net/wireless/realtek/rtw88/coex.h ({ typeof(rssi) __rssi__ = rssi; \ typeof 252 drivers/nvdimm/dimm_devs.c struct nvdimm_drvdata *ndd = container_of(kref, typeof(*ndd), kref); typeof 430 drivers/nvdimm/dimm_devs.c struct device *dev = container_of(kobj, typeof(*dev), kobj); typeof 1107 drivers/nvdimm/label.c typeof(*label_ent), list); typeof 1989 drivers/nvdimm/namespace_devs.c typeof(*label_ent), list); typeof 624 drivers/nvdimm/region_devs.c struct device *dev = container_of(kobj, typeof(*dev), kobj); typeof 466 drivers/nvdimm/security.c container_of(work, typeof(*nvdimm), dwork.work); typeof 1719 drivers/nvme/host/fc.c container_of(op, typeof(*op_w_sgl), op); typeof 1246 drivers/nvme/host/lightnvm.c container_of(attr, typeof(*dev_attr), attr); typeof 1367 drivers/nvme/target/fcloop.c typeof(*nport), nport_list); typeof 1389 drivers/nvme/target/fcloop.c typeof(*lport), lport_list); typeof 557 drivers/of/irq.c typeof(*desc), list); typeof 1188 drivers/perf/arm_spe_pmu.c spe_pmu->handle = alloc_percpu(typeof(*spe_pmu->handle)); typeof 800 drivers/scsi/dc395x.c start = list_entry(dcb_list_head->next, typeof(*start), list); typeof 855 drivers/scsi/hisi_sas/hisi_sas_main.c container_of(work, typeof(*phy), works[HISI_PHYE_PHY_UP]); typeof 868 drivers/scsi/hisi_sas/hisi_sas_main.c container_of(work, typeof(*phy), works[HISI_PHYE_LINK_RESET]); typeof 964 drivers/scsi/isci/host.c struct isci_host *ihost = container_of(tmr, typeof(*ihost), phy_timer); typeof 1312 drivers/scsi/isci/host.c struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); typeof 1319 drivers/scsi/isci/host.c struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); typeof 1446 drivers/scsi/isci/host.c struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); typeof 1463 drivers/scsi/isci/host.c struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); typeof 1526 drivers/scsi/isci/host.c struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); typeof 1537 drivers/scsi/isci/host.c struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); typeof 1565 drivers/scsi/isci/host.c struct isci_host *ihost = container_of(sm, typeof(*ihost), sm); typeof 1598 drivers/scsi/isci/host.c struct isci_host *ihost = container_of(tmr, typeof(*ihost), timer); typeof 1743 drivers/scsi/isci/host.c struct isci_host *ihost = container_of(tmr, typeof(*ihost), power_control.timer); typeof 136 drivers/scsi/isci/init.c struct Scsi_Host *shost = container_of(dev, typeof(*shost), shost_dev); typeof 138 drivers/scsi/isci/init.c struct isci_host *ihost = container_of(sas_ha, typeof(*ihost), sas_ha); typeof 83 drivers/scsi/isci/phy.c struct isci_host *ihost = container_of(table, typeof(*ihost), phys[0]); typeof 321 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(tmr, typeof(*iphy), sata_timer); typeof 1068 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1076 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1084 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1092 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1100 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1108 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1115 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1122 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1129 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1136 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1156 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1163 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1257 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1275 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1294 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1303 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 1310 drivers/scsi/isci/phy.c struct isci_phy *iphy = container_of(sm, typeof(*iphy), sm); typeof 108 drivers/scsi/isci/phy.h struct isci_phy *iphy = container_of(sas_phy, typeof(*iphy), sas_phy); typeof 83 drivers/scsi/isci/port.c ihost = container_of(table, typeof(*ihost), ports[0]); typeof 775 drivers/scsi/isci/port.c struct isci_port *iport = container_of(tmr, typeof(*iport), timer); typeof 942 drivers/scsi/isci/port.c struct isci_port *iport = container_of(sm, typeof(*iport), sm); typeof 958 drivers/scsi/isci/port.c struct isci_port *iport = container_of(sm, typeof(*iport), sm); typeof 965 drivers/scsi/isci/port.c struct isci_port *iport = container_of(sm, typeof(*iport), sm); typeof 1025 drivers/scsi/isci/port.c struct isci_port *iport = container_of(sm, typeof(*iport), sm); typeof 1044 drivers/scsi/isci/port.c struct isci_port *iport = container_of(sm, typeof(*iport), sm); typeof 1488 drivers/scsi/isci/port.c struct isci_port *iport = container_of(sm, typeof(*iport), sm); typeof 1501 drivers/scsi/isci/port.c struct isci_port *iport = container_of(sm, typeof(*iport), sm); typeof 1509 drivers/scsi/isci/port.c struct isci_port *iport = container_of(sm, typeof(*iport), sm); typeof 1530 drivers/scsi/isci/port.c struct isci_port *iport = container_of(sm, typeof(*iport), sm); typeof 1537 drivers/scsi/isci/port.c struct isci_port *iport = container_of(sm, typeof(*iport), sm); typeof 1546 drivers/scsi/isci/port.c struct isci_port *iport = container_of(sm, typeof(*iport), sm); typeof 330 drivers/scsi/isci/port_config.c port_agent = container_of(tmr, typeof(*port_agent), timer); typeof 331 drivers/scsi/isci/port_config.c ihost = container_of(port_agent, typeof(*ihost), port_agent); typeof 665 drivers/scsi/isci/port_config.c port_agent = container_of(tmr, typeof(*port_agent), timer); typeof 666 drivers/scsi/isci/port_config.c ihost = container_of(port_agent, typeof(*ihost), port_agent); typeof 995 drivers/scsi/isci/remote_device.c struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm); typeof 1059 drivers/scsi/isci/remote_device.c struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm); typeof 1075 drivers/scsi/isci/remote_device.c struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm); typeof 1084 drivers/scsi/isci/remote_device.c struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm); typeof 1098 drivers/scsi/isci/remote_device.c struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm); typeof 1111 drivers/scsi/isci/remote_device.c struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm); typeof 1122 drivers/scsi/isci/remote_device.c struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm); typeof 1133 drivers/scsi/isci/remote_device.c struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm); typeof 1150 drivers/scsi/isci/remote_device.c struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm); typeof 1161 drivers/scsi/isci/remote_device.c struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm); typeof 1171 drivers/scsi/isci/remote_device.c struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm); typeof 1179 drivers/scsi/isci/remote_device.c struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm); typeof 1190 drivers/scsi/isci/remote_device.c struct isci_remote_device *idev = container_of(sm, typeof(*idev), sm); typeof 1535 drivers/scsi/isci/remote_device.c struct isci_remote_device *idev = container_of(kref, typeof(*idev), kref); typeof 293 drivers/scsi/isci/remote_device.h idev = container_of(rnc, typeof(*idev), rnc); typeof 277 drivers/scsi/isci/remote_node_context.c struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); typeof 295 drivers/scsi/isci/remote_node_context.c struct sci_remote_node_context *sci_rnc = container_of(sm, typeof(*sci_rnc), sm); typeof 302 drivers/scsi/isci/remote_node_context.c struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); typeof 311 drivers/scsi/isci/remote_node_context.c struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); typeof 332 drivers/scsi/isci/remote_node_context.c struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); typeof 354 drivers/scsi/isci/remote_node_context.c struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); typeof 361 drivers/scsi/isci/remote_node_context.c struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); typeof 383 drivers/scsi/isci/remote_node_context.c = container_of(sm, typeof(*rnc), sm); typeof 2964 drivers/scsi/isci/request.c struct isci_request *ireq = container_of(sm, typeof(*ireq), sm); typeof 3002 drivers/scsi/isci/request.c struct isci_request *ireq = container_of(sm, typeof(*ireq), sm); typeof 3015 drivers/scsi/isci/request.c struct isci_request *ireq = container_of(sm, typeof(*ireq), sm); typeof 3023 drivers/scsi/isci/request.c struct isci_request *ireq = container_of(sm, typeof(*ireq), sm); typeof 3030 drivers/scsi/isci/request.c struct isci_request *ireq = container_of(sm, typeof(*ireq), sm); typeof 154 drivers/scsi/isci/request.h ireq = container_of(stp_req, typeof(*ireq), stp.req); typeof 2571 drivers/scsi/libfc/fc_exch.c typeof(*ema), ema_list); typeof 293 drivers/scsi/libsas/sas_discover.c struct domain_device *dev = container_of(kref, typeof(*dev), kref); typeof 452 drivers/scsi/libsas/sas_init.c struct sas_phy_data *d = container_of(work, typeof(*d), reset_work.work); typeof 459 drivers/scsi/libsas/sas_init.c struct sas_phy_data *d = container_of(work, typeof(*d), enable_work.work); typeof 700 drivers/scsi/libsas/sas_scsi_host.c ssp = list_entry(ha->eh_dev_q.next, typeof(*ssp), eh_list_node); typeof 702 drivers/scsi/libsas/sas_scsi_host.c dev = container_of(ssp, typeof(*dev), ssp_dev); typeof 810 drivers/scsi/lpfc/lpfc_bsg.c ed = list_entry(evt->events_to_get.next, typeof(*ed), node); typeof 817 drivers/scsi/lpfc/lpfc_bsg.c ed = list_entry(evt->events_to_see.next, typeof(*ed), node); typeof 985 drivers/scsi/lpfc/lpfc_bsg.c iocbq = list_entry(head.prev, typeof(*iocbq), list); typeof 2760 drivers/scsi/lpfc/lpfc_bsg.c typeof(struct event_data), typeof 3339 drivers/scsi/lpfc/lpfc_bsg.c typeof(*evdat), node); typeof 9611 drivers/scsi/lpfc/lpfc_els.c list_remove_head(&phba->fabric_iocb_list, iocb, typeof(*iocb), typeof 528 drivers/scsi/lpfc/lpfc_hbadisc.c list_remove_head((&phba->work_list), evtp, typeof(*evtp), typeof 2321 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP6000", "PCI", typeof 2326 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP7000", "PCI", ""}; typeof 2328 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP7000E", "PCI", ""}; typeof 2332 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP8000", "PCI", typeof 2337 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP9002", "PCI", ""}; typeof 2339 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP9000", "PCI", ""}; typeof 2343 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP952", "PCI", typeof 2347 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP9802", "PCI-X", typeof 2351 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP10000", "PCI-X", typeof 2355 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPX1000", "PCI-X", typeof 2359 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP982", "PCI-X", typeof 2363 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP1050", "PCI-X", typeof 2367 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP11000", "PCI-X2", typeof 2371 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP11000-SP", "PCI-X2", typeof 2375 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP11002-SP", "PCI-X2", typeof 2379 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe1000", "PCIe", typeof 2383 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe1000-SP", "PCIe", typeof 2387 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe1002-SP", "PCIe", typeof 2391 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP1150", "PCI-X2", "Fibre Channel Adapter"}; typeof 2394 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP111", "PCI-X2", typeof 2398 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe11000", "PCIe", "Fibre Channel Adapter"}; typeof 2401 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe11000", "PCIe", "Fibre Channel Adapter"}; typeof 2404 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP2105", "PCIe", "FCoE Adapter"}; typeof 2408 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe1150", "PCIe", "Fibre Channel Adapter"}; typeof 2411 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe111", "PCIe", "Fibre Channel Adapter"}; typeof 2414 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP101", "PCI-X", typeof 2418 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP10000-S", "PCI", typeof 2422 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP11000-S", "PCI-X2", typeof 2426 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe11000-S", "PCIe", typeof 2430 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe12000", "PCIe", "Fibre Channel Adapter"}; typeof 2433 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe1250", "PCIe", "Fibre Channel Adapter"}; typeof 2436 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe121", "PCIe", "Fibre Channel Adapter"}; typeof 2439 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe12002-SP", "PCIe", "Fibre Channel Adapter"}; typeof 2442 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe12000-SP", "PCIe", "Fibre Channel Adapter"}; typeof 2445 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe12000-S", "PCIe", "Fibre Channel Adapter"}; typeof 2448 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LP21000", "PCIe", typeof 2453 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPev12000", "PCIe IOV", typeof 2457 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPev12000", "PCIe IOV", typeof 2461 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPemv12002-S", "PCIe IOV", typeof 2466 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"OCe10100", "PCIe", "FCoE"}; typeof 2470 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"OCe11100", "PCIe", "FCoE"}; typeof 2473 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPSe12002-ML1-E", "PCIe", typeof 2477 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPVe12002", "PCIe Shared I/O", typeof 2481 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe16000", "PCIe", "Fibre Channel Adapter"}; typeof 2484 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe16000", "PCIe", typeof 2489 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"OCe15100", "PCIe", "FCoE"}; typeof 2493 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"OCe15100", "PCIe", typeof 2497 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe32000", "PCIe", "Fibre Channel Adapter"}; typeof 2500 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"LPe36000", "PCIe", "Fibre Channel Adapter"}; typeof 2505 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"OCe14000", "PCIe", "FCoE"}; typeof 2508 drivers/scsi/lpfc/lpfc_init.c m = (typeof(m)){"Unknown", "", ""}; typeof 17338 drivers/scsi/lpfc/lpfc_sli.c d_buf = list_entry(seq_dmabuf->dbuf.list.prev, typeof(*d_buf), list); typeof 17355 drivers/scsi/lpfc/lpfc_sli.c d_buf = list_entry(d_buf->list.prev, typeof(*d_buf), list); typeof 152 drivers/scsi/qla2xxx/qla_gs.c offsetof(typeof(*ct_rsp), rsp)); typeof 7932 drivers/scsi/qla2xxx/qla_init.c (uint32_t)(fwcode - (typeof(fwcode))blob->fw->data), typeof 3005 drivers/scsi/qla2xxx/qla_mbx.c ushort dwords = offsetof(typeof(*stats), link_up_cnt)/sizeof(*iter); typeof 6295 drivers/scsi/qla2xxx/qla_target.c tgt->sess_works_list.next, typeof(*prm), typeof 11 drivers/scsi/qla2xxx/qla_tmpl.c #define IOBAR(reg) offsetof(typeof(*(reg)), iobase_addr) typeof 683 drivers/scsi/qla2xxx/qla_tmpl.c ulong offset = offsetof(typeof(*ent), t275.buffer); typeof 782 drivers/scsi/qla2xxx/qla_tmpl.c typeof(qla27xx_fwdt_entry_other)(*call); typeof 815 drivers/scsi/qla2xxx/qla_tmpl.c typeof(*qla27xx_fwdt_entry_call) *list = qla27xx_fwdt_entry_call; typeof 36 drivers/scsi/scsi_debugfs.c struct scsi_cmnd *cmd = container_of(scsi_req(rq), typeof(*cmd), req); typeof 234 drivers/scsi/scsi_error.c struct scsi_cmnd *scmd = container_of(head, typeof(*scmd), rcu); typeof 1594 drivers/scsi/scsi_transport_fc.c pos = list_entry((head)->next, typeof(*pos), member) typeof 1041 drivers/scsi/scsi_transport_sas.c phy = list_entry(ent, typeof(*phy), port_siblings); typeof 750 drivers/scsi/virtio_scsi.c typeof(((struct virtio_scsi_config *)0)->fld) __val; \ typeof 757 drivers/scsi/virtio_scsi.c typeof(((struct virtio_scsi_config *)0)->fld) __val = (val); \ typeof 721 drivers/spi/spi-lantiq-ssc.c spi = container_of(work, typeof(*spi), work); typeof 478 drivers/staging/android/ashmem.c list_first_entry(&ashmem_lru_list, typeof(*range), lru); typeof 42 drivers/staging/most/cdev/cdev.c DECLARE_KFIFO_PTR(fifo, typeof(struct mbo *)); typeof 859 drivers/staging/most/core.c typeof(c->iface->enqueue) enqueue = c->iface->enqueue; typeof 1354 drivers/staging/octeon-usb/octeon-hcd.c list_first_entry(&pipe->transactions, typeof(*transaction), typeof 1499 drivers/staging/octeon-usb/octeon-hcd.c list_first_entry(&pipe->transactions, typeof(*transaction), typeof 1849 drivers/staging/octeon-usb/octeon-hcd.c list_first_entry(&pipe->transactions, typeof(*t), typeof 2304 drivers/staging/octeon-usb/octeon-hcd.c if (list_first_entry(&pipe->transactions, typeof(*transaction), node) == typeof 2677 drivers/staging/octeon-usb/octeon-hcd.c typeof(*transaction), typeof 788 drivers/target/iscsi/iscsi_target_erl1.c typeof(*ooo_tail), ooo_list); typeof 1029 drivers/target/iscsi/iscsi_target_erl1.c typeof(*ooo_tail), ooo_list); typeof 216 drivers/target/target_core_transport.c struct se_session *sess = container_of(ref, typeof(*sess), cmd_count); typeof 629 drivers/thermal/rcar_thermal.c typeof(*priv), list); typeof 644 drivers/thermal/rcar_thermal.c typeof(*priv), list); typeof 23 drivers/thermal/thermal_core.h static typeof(name) *__thermal_table_entry_##name \ typeof 92 drivers/thunderbolt/ctl.c struct tb_cfg_request *req = container_of(kref, typeof(*req), kref); typeof 329 drivers/thunderbolt/ctl.c struct ctl_pkg *pkg = container_of(frame, typeof(*pkg), frame); typeof 410 drivers/thunderbolt/ctl.c struct ctl_pkg *pkg = container_of(frame, typeof(*pkg), frame); typeof 485 drivers/thunderbolt/ctl.c struct tb_cfg_request *req = container_of(work, typeof(*req), work); typeof 1590 drivers/thunderbolt/icm.c struct icm_notification *n = container_of(work, typeof(*n), work); typeof 230 drivers/thunderbolt/nhi.c struct tb_ring *ring = container_of(work, typeof(*ring), work); typeof 250 drivers/thunderbolt/nhi.c frame = list_first_entry(&ring->in_flight, typeof(*frame), typeof 267 drivers/thunderbolt/nhi.c frame = list_first_entry(&done, typeof(*frame), list); typeof 316 drivers/thunderbolt/nhi.c frame = list_first_entry(&ring->in_flight, typeof(*frame), typeof 806 drivers/thunderbolt/nhi.c struct tb_nhi *nhi = container_of(work, typeof(*nhi), interrupt_work); typeof 503 drivers/thunderbolt/tb.c struct tb_hotplug_event *ev = container_of(work, typeof(*ev), work); typeof 506 drivers/thunderbolt/xdomain.c struct xdomain_request_work *xw = container_of(work, typeof(*xw), work); typeof 896 drivers/thunderbolt/xdomain.c struct tb_xdomain *xd = container_of(work, typeof(*xd), typeof 945 drivers/thunderbolt/xdomain.c struct tb_xdomain *xd = container_of(work, typeof(*xd), typeof 1039 drivers/thunderbolt/xdomain.c struct tb_xdomain *xd = container_of(work, typeof(*xd), typeof 1033 drivers/usb/c67x00/c67x00-sched.c tmp = list_entry(td->td_list.next, typeof(*td), td_list); typeof 531 drivers/usb/gadget/composite.c c = list_entry(pos, typeof(*c), list); typeof 1122 drivers/usb/gadget/function/uvc_configfs.c typeof(f->frame.cname) num; \ typeof 523 drivers/usb/isp1760/isp1760-hcd.c qtd = list_entry(qtd->qtd_list.next, typeof(*qtd), qtd_list); typeof 1145 drivers/usb/isp1760/isp1760-hcd.c typeof(*qtd), qtd_list); typeof 146 drivers/usb/mtu3/mtu3_hw_regs.h typeof(x) x_ = (x); \ typeof 151 drivers/usb/mtu3/mtu3_hw_regs.h typeof(x) x_ = (x); \ typeof 185 drivers/usb/mtu3/mtu3_hw_regs.h typeof(x) x_ = (x); \ typeof 190 drivers/usb/mtu3/mtu3_hw_regs.h typeof(x) x_ = (x); \ typeof 40 drivers/usb/mtu3/mtu3_qmu.c typeof(x) x_ = (x); \ typeof 48 drivers/usb/mtu3/mtu3_qmu.c typeof(x) x_ = (x); \ typeof 59 drivers/usb/mtu3/mtu3_qmu.c typeof(x) x_ = (x); \ typeof 65 drivers/usb/mtu3/mtu3_qmu.c typeof(x) x_ = (x); \ typeof 181 drivers/usb/roles/class.c struct device *dev = container_of(kobj, typeof(*dev), kobj); typeof 1031 drivers/vhost/vhost.c tmp = list_first_entry(&umem->umem_list, typeof(*tmp), link); typeof 254 drivers/video/fbdev/core/fbcon.h typeof(r) _r = (r); \ typeof 255 drivers/video/fbdev/core/fbcon.h typeof(v) _v = (v); \ typeof 152 drivers/watchdog/xen_wdt.c typeof(wdt.id) id = wdt.id; typeof 109 drivers/xen/xlate_mmu.c nr_gfn = min_t(typeof(info->nr_fgfn), XEN_PFN_PER_PAGE, info->nr_fgfn); typeof 77 fs/compat_ioctl.c typeof(*srcptr) val; \ typeof 366 fs/crypto/policy.c BUILD_BUG_ON(offsetof(typeof(arg), policy_size) != 0); typeof 367 fs/crypto/policy.c BUILD_BUG_ON(offsetofend(typeof(arg), policy_size) != typeof 368 fs/crypto/policy.c offsetof(typeof(arg), policy)); typeof 37 fs/erofs/tagptr.h __builtin_types_compatible_p(typeof(ptr), struct __tagptr##n) ? \ typeof 49 fs/erofs/tagptr.h ((typeof(type)){ .v = (uintptr_t)(val) }) typeof 59 fs/erofs/tagptr.h const typeof(_tags) tags = (_tags); \ typeof 73 fs/erofs/tagptr.h typeof(_tptr1) tptr1 = (_tptr1); \ typeof 74 fs/erofs/tagptr.h typeof(_tptr2) tptr2 = (_tptr2); \ typeof 80 fs/erofs/tagptr.h typeof(_ptptr) ptptr = (_ptptr); \ typeof 81 fs/erofs/tagptr.h typeof(_o) o = (_o); \ typeof 82 fs/erofs/tagptr.h typeof(_n) n = (_n); \ typeof 89 fs/erofs/tagptr.h typeof(_ptptr) ptptr = (_ptptr); \ typeof 94 fs/erofs/tagptr.h typeof(_ptptr) ptptr = (_ptptr); \ typeof 95 fs/erofs/tagptr.h const typeof(_tags) tags = (_tags); \ typeof 102 fs/erofs/tagptr.h typeof(_ptptr) ptptr = (_ptptr); \ typeof 103 fs/erofs/tagptr.h const typeof(_tags) tags = (_tags); \ typeof 811 fs/ext4/ext4.h ((offsetof(typeof(*ext4_inode), field) + \ typeof 1585 fs/ext4/ext4.h typeof(*((sbi)->field)) _v; \ typeof 1587 fs/ext4/ext4.h _v = ((typeof(_v)*)rcu_dereference((sbi)->field))[index]; \ typeof 2849 fs/f2fs/f2fs.h ((offsetof(typeof(*(f2fs_inode)), field) + \ typeof 319 fs/fuse/cuse.c struct cuse_init_args *ia = container_of(args, typeof(*ia), ap.args); typeof 953 fs/fuse/dev.c struct fuse_args_pages *ap = container_of(req->args, typeof(*ap), args); typeof 1629 fs/fuse/dev.c container_of(args, typeof(*ra), ap.args); typeof 105 fs/fuse/file.c struct fuse_release_args *ra = container_of(args, typeof(*ra), args); typeof 676 fs/fuse/file.c struct fuse_io_args *ia = container_of(args, typeof(*ia), ap.args); typeof 845 fs/fuse/file.c struct fuse_io_args *ia = container_of(args, typeof(*ia), ap.args); typeof 1709 fs/fuse/file.c container_of(args, typeof(*wpa), ia.ap.args); typeof 887 fs/fuse/inode.c struct fuse_init_args *ia = container_of(args, typeof(*ia), args); typeof 485 fs/fuse/virtio_fs.c ap = container_of(args, typeof(*ap), args); typeof 802 fs/fuse/virtio_fs.c struct fuse_args_pages *ap = container_of(args, typeof(*ap), args); typeof 854 fs/fuse/virtio_fs.c struct fuse_args_pages *ap = container_of(req->args, typeof(*ap), args); typeof 872 fs/nfsd/nfssvc.c struct svc_xprt *perm_sock = list_entry(rqstp->rq_server->sv_permsocks.next, typeof(struct svc_xprt), xpt_list); typeof 74 fs/ocfs2/cluster/tcp.c typeof(hdr) __hdr = (hdr); \ typeof 84 fs/ocfs2/cluster/tcp.c typeof(sc) __sc = (sc); \ typeof 36 fs/ocfs2/ioctl.c copy_to_user((typeof(a) __user *)b, &(a), sizeof(a)) typeof 376 fs/readdir.c typeof(lastdirent->d_off) d_off = buf.ctx.pos; typeof 958 fs/userfaultfd.c wq = list_last_entry(&wqh->head, typeof(*wq), entry); typeof 1157 fs/userfaultfd.c typeof(*uwq), typeof 1114 fs/xfs/xfs_super.c statp->f_files = min_t(typeof(statp->f_files), typeof 1119 fs/xfs/xfs_super.c statp->f_files = max_t(typeof(statp->f_files), typeof 406 include/acpi/acpi_bus.h typeof(__fwnode) __to_acpi_device_node_fwnode = __fwnode; \ typeof 416 include/acpi/acpi_bus.h typeof(__fwnode) __to_acpi_data_node_fwnode = __fwnode; \ typeof 1646 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1655 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1664 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1673 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1682 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1691 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1700 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1709 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1718 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1727 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1736 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1745 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1753 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1760 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1767 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1774 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 1782 include/asm-generic/atomic-instrumented.h typeof(ptr) __ai_ptr = (ptr); \ typeof 131 include/asm-generic/barrier.h typeof(*p) ___p1 = READ_ONCE(*p); \ typeof 186 include/asm-generic/barrier.h typeof(*p) ___p1 = READ_ONCE(*p); \ typeof 231 include/asm-generic/barrier.h typeof(ptr) __PTR = (ptr); \ typeof 232 include/asm-generic/barrier.h typeof(*ptr) VAL; \ typeof 253 include/asm-generic/barrier.h typeof(*ptr) _val; \ typeof 226 include/asm-generic/div64.h (void)(((typeof((n)) *)0) == ((uint64_t *)0)); \ typeof 77 include/asm-generic/percpu.h typeof(&(pcp)) __p = raw_cpu_ptr(&(pcp)); \ typeof 85 include/asm-generic/percpu.h typeof(&(pcp)) __p = raw_cpu_ptr(&(pcp)); \ typeof 86 include/asm-generic/percpu.h typeof(pcp) __ret; \ typeof 94 include/asm-generic/percpu.h typeof(&(pcp)) __p = raw_cpu_ptr(&(pcp)); \ typeof 95 include/asm-generic/percpu.h typeof(pcp) __ret; \ typeof 104 include/asm-generic/percpu.h typeof(&(pcp1)) __p1 = raw_cpu_ptr(&(pcp1)); \ typeof 105 include/asm-generic/percpu.h typeof(&(pcp2)) __p2 = raw_cpu_ptr(&(pcp2)); \ typeof 117 include/asm-generic/percpu.h typeof(pcp) __ret; \ typeof 126 include/asm-generic/percpu.h typeof(pcp) __ret; \ typeof 136 include/asm-generic/percpu.h typeof(pcp) __ret; \ typeof 155 include/asm-generic/percpu.h typeof(pcp) __ret; \ typeof 165 include/asm-generic/percpu.h typeof(pcp) __ret; \ typeof 175 include/asm-generic/percpu.h typeof(pcp) __ret; \ typeof 137 include/crypto/skcipher.h (typeof(tfm))1))) \ typeof 392 include/drm/drm_mm.h typeof(*pos), hole_stack); \ typeof 199 include/linux/arm-smccc.h typeof(a1) __a1 = a1; \ typeof 207 include/linux/arm-smccc.h typeof(a1) __a1 = a1; \ typeof 208 include/linux/arm-smccc.h typeof(a2) __a2 = a2; \ typeof 216 include/linux/arm-smccc.h typeof(a1) __a1 = a1; \ typeof 217 include/linux/arm-smccc.h typeof(a2) __a2 = a2; \ typeof 218 include/linux/arm-smccc.h typeof(a3) __a3 = a3; \ typeof 226 include/linux/arm-smccc.h typeof(a4) __a4 = a4; \ typeof 231 include/linux/arm-smccc.h typeof(a5) __a5 = a5; \ typeof 236 include/linux/arm-smccc.h typeof(a6) __a6 = a6; \ typeof 241 include/linux/arm-smccc.h typeof(a7) __a7 = a7; \ typeof 265 include/linux/arm-smccc.h *___res = (typeof(*___res)){r0, r1, r2, r3}; \ typeof 54 include/linux/atomic.h typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \ typeof 67 include/linux/atomic.h typeof(op##_relaxed(args)) __ret; \ typeof 52 include/linux/bitfield.h BUILD_BUG_ON_MSG((_mask) > (typeof(_reg))~0ull, \ typeof 68 include/linux/bitfield.h !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \ typeof 82 include/linux/bitfield.h ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \ typeof 96 include/linux/bitfield.h (typeof(_mask))(((_reg) & (_mask)) >> __bf_shf(_mask)); \ typeof 248 include/linux/bitops.h const typeof(*(ptr)) mask__ = (mask), bits__ = (bits); \ typeof 249 include/linux/bitops.h typeof(*(ptr)) old__, new__; \ typeof 263 include/linux/bitops.h const typeof(*(ptr)) clear__ = (clear), test__ = (test);\ typeof 264 include/linux/bitops.h typeof(*(ptr)) old__, new__; \ typeof 182 include/linux/bpf-cgroup.h typeof(sk) __sk = sk_to_full_sk(sk); \ typeof 266 include/linux/bpf-cgroup.h typeof(sk) __sk = sk_to_full_sk((sock_ops)->sk); \ typeof 49 include/linux/can/core.h (offsetof(typeof(struct_type), member) + \ typeof 50 include/linux/can/core.h sizeof(((typeof(struct_type) *)(NULL))->member)) typeof 263 include/linux/ceph/libceph.h typeof(__lookup_##name##_key.keyfld), nodefld) typeof 58 include/linux/compiler-gcc.h (typeof(ptr)) (__ptr + (off)); \ typeof 22 include/linux/compiler-intel.h (typeof(ptr)) (__ptr + (off)); }) typeof 155 include/linux/compiler.h extern typeof(sym) sym; \ typeof 166 include/linux/compiler.h (typeof(ptr)) (__ptr + (off)); }) typeof 261 include/linux/compiler.h union { typeof(x) __val; char __c[1]; } __u; \ typeof 286 include/linux/compiler.h union { typeof(x) __val; char __c[1]; } __u = \ typeof 287 include/linux/compiler.h { .__val = (__force typeof(x)) (val) }; \ typeof 25 include/linux/compiler_types.h # define ACCESS_PRIVATE(p, member) (*((typeof((p)->member) __force *) &(p)->member)) typeof 220 include/linux/compiler_types.h #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) typeof 983 include/linux/device.h ((typeof(type) __percpu *)__devm_alloc_percpu((dev), sizeof(type), \ typeof 428 include/linux/edac.h typeof(*var) __p; \ typeof 77 include/linux/elfnote.h typeof(desc) _desc \ typeof 102 include/linux/export.h extern typeof(sym) sym; \ typeof 452 include/linux/filter.h typeof(__builtin_choose_expr(sizeof(t) == sizeof(unsigned long), \ typeof 2065 include/linux/fs.h typeof(((struct kiocb *)0)->ki_hint) max_hint = -1; typeof 86 include/linux/generic-radix-tree.h *(_radix) = (typeof(*_radix)) __GENRADIX_INITIALIZER; \ typeof 116 include/linux/generic-radix-tree.h #define __genradix_cast(_radix) (typeof((_radix)->type[0]) *) typeof 314 include/linux/genhd.h typeof((part)->dkstats->field) res = 0; \ typeof 389 include/linux/jump_label.h if (!__builtin_types_compatible_p(typeof(*x), struct static_key) && \ typeof 390 include/linux/jump_label.h !__builtin_types_compatible_p(typeof(*x), struct static_key_true) &&\ typeof 391 include/linux/jump_label.h !__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \ typeof 457 include/linux/jump_label.h if (__builtin_types_compatible_p(typeof(*x), struct static_key_true)) \ typeof 459 include/linux/jump_label.h else if (__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \ typeof 469 include/linux/jump_label.h if (__builtin_types_compatible_p(typeof(*x), struct static_key_true)) \ typeof 471 include/linux/jump_label.h else if (__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \ typeof 36 include/linux/kernel.h #define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a))) typeof 37 include/linux/kernel.h #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) typeof 91 include/linux/kernel.h #define typeof_member(T, m) typeof(((T*)0)->m) typeof 117 include/linux/kernel.h typeof(y) __y = y; \ typeof 131 include/linux/kernel.h typeof(x) __x = (x); \ typeof 144 include/linux/kernel.h typeof(x) __x = x; \ typeof 145 include/linux/kernel.h typeof(divisor) __d = divisor; \ typeof 146 include/linux/kernel.h (((typeof(x))-1) > 0 || \ typeof 147 include/linux/kernel.h ((typeof(divisor))-1) > 0 || \ typeof 159 include/linux/kernel.h typeof(divisor) __d = divisor; \ typeof 172 include/linux/kernel.h typeof(x) quot = (x) / (denom); \ typeof 173 include/linux/kernel.h typeof(x) rem = (x) % (denom); \ typeof 283 include/linux/kernel.h __builtin_types_compatible_p(typeof(x), char), \ typeof 288 include/linux/kernel.h __builtin_types_compatible_p(typeof(x), signed type) || \ typeof 289 include/linux/kernel.h __builtin_types_compatible_p(typeof(x), unsigned type), \ typeof 842 include/linux/kernel.h (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) typeof 861 include/linux/kernel.h typeof(x) unique_x = (x); \ typeof 862 include/linux/kernel.h typeof(y) unique_y = (y); \ typeof 890 include/linux/kernel.h #define min3(x, y, z) min((typeof(x))min(x, y), z) typeof 898 include/linux/kernel.h #define max3(x, y, z) max((typeof(x))max(x, y), z) typeof 906 include/linux/kernel.h typeof(x) __x = (x); \ typeof 907 include/linux/kernel.h typeof(y) __y = (y); \ typeof 919 include/linux/kernel.h #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi) typeof 967 include/linux/kernel.h #define clamp_val(val, lo, hi) clamp_t(typeof(val), val, lo, hi) typeof 976 include/linux/kernel.h do { typeof(a) __tmp = (a); (a) = (b); (b) = __tmp; } while (0) typeof 103 include/linux/kfifo.h (sizeof(*fifo) == sizeof(STRUCT_KFIFO_PTR(typeof(*(fifo)->type)))) typeof 126 include/linux/kfifo.h typeof(&(fifo)) __tmp = &(fifo); \ typeof 145 include/linux/kfifo.h (typeof(fifo)) { \ typeof 211 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 225 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 235 include/linux/kfifo.h typeof((fifo) + 1) __tmpl = (fifo); \ typeof 245 include/linux/kfifo.h typeof((fifo) + 1) __tmpq = (fifo); \ typeof 255 include/linux/kfifo.h typeof((fifo) + 1) __tmpq = (fifo); \ typeof 266 include/linux/kfifo.h typeof((fifo) + 1) __tmpq = (fifo); \ typeof 281 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 299 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 322 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 336 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 355 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 376 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 377 include/linux/kfifo.h typeof(*__tmp->const_type) __val = (val); \ typeof 388 include/linux/kfifo.h ((typeof(__tmp->type))__kfifo->data) : \ typeof 391 include/linux/kfifo.h *(typeof(__tmp->type))&__val; \ typeof 414 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 415 include/linux/kfifo.h typeof(__tmp->ptr) __val = (val); \ typeof 425 include/linux/kfifo.h *(typeof(__tmp->type))__val = \ typeof 427 include/linux/kfifo.h ((typeof(__tmp->type))__kfifo->data) : \ typeof 453 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 454 include/linux/kfifo.h typeof(__tmp->ptr) __val = (val); \ typeof 464 include/linux/kfifo.h *(typeof(__tmp->type))__val = \ typeof 466 include/linux/kfifo.h ((typeof(__tmp->type))__kfifo->data) : \ typeof 490 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 491 include/linux/kfifo.h typeof(__tmp->ptr_const) __buf = (buf); \ typeof 539 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 540 include/linux/kfifo.h typeof(__tmp->ptr) __buf = (buf); \ typeof 592 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 620 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 647 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 671 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 698 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 722 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 747 include/linux/kfifo.h typeof((fifo) + 1) __tmp = (fifo); \ typeof 748 include/linux/kfifo.h typeof(__tmp->ptr) __buf = (buf); \ typeof 523 include/linux/list.h list_entry((pos)->member.next, typeof(*(pos)), member) typeof 531 include/linux/list.h list_entry((pos)->member.prev, typeof(*(pos)), member) typeof 577 include/linux/list.h for (pos = list_first_entry(head, typeof(*pos), member); \ typeof 588 include/linux/list.h for (pos = list_last_entry(head, typeof(*pos), member); \ typeof 601 include/linux/list.h ((pos) ? : list_entry(head, typeof(*pos), member)) typeof 664 include/linux/list.h for (pos = list_first_entry(head, typeof(*pos), member), \ typeof 711 include/linux/list.h for (pos = list_last_entry(head, typeof(*pos), member), \ typeof 857 include/linux/list.h ({ typeof(ptr) ____ptr = (ptr); \ typeof 868 include/linux/list.h for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\ typeof 870 include/linux/list.h pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) typeof 878 include/linux/list.h for (pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member);\ typeof 880 include/linux/list.h pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) typeof 889 include/linux/list.h pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) typeof 899 include/linux/list.h for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\ typeof 901 include/linux/list.h pos = hlist_entry_safe(n, typeof(*pos), member)) typeof 172 include/linux/list_bl.h ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \ typeof 186 include/linux/list_bl.h ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \ typeof 35 include/linux/list_nulls.h ({ typeof(ptr) ____ptr = (ptr); \ typeof 108 include/linux/list_nulls.h ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \ typeof 120 include/linux/list_nulls.h ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \ typeof 98 include/linux/llist.h ((uintptr_t)(ptr) + offsetof(typeof(*(ptr)), member) != 0) typeof 152 include/linux/llist.h for ((pos) = llist_entry((node), typeof(*(pos)), member); \ typeof 154 include/linux/llist.h (pos) = llist_entry((pos)->member.next, typeof(*(pos)), member)) typeof 174 include/linux/llist.h for (pos = llist_entry((node), typeof(*pos), member); \ typeof 176 include/linux/llist.h (n = llist_entry(pos->member.next, typeof(*n), member), true); \ typeof 227 include/linux/module.h extern typeof(name) __mod_##type##__##name##_device_table \ typeof 286 include/linux/module.h #define symbol_get(x) ((typeof(&x))(__symbol_get(__stringify(x)))) typeof 737 include/linux/module.h #define symbol_get(x) ({ extern typeof(x) x __attribute__((weak)); &(x); }) typeof 2404 include/linux/netdevice.h typeof(type) __percpu *pcpu_stats = alloc_percpu_gfp(type, gfp);\ typeof 2408 include/linux/netdevice.h typeof(type) *stat; \ typeof 289 include/linux/nodemask.h typeof(_unused_nodemask_arg_) m; \ typeof 51 include/linux/nospec.h typeof(index) _i = (index); \ typeof 52 include/linux/nospec.h typeof(size) _s = (size); \ typeof 58 include/linux/nospec.h (typeof(_i)) (_i & _mask); \ typeof 162 include/linux/of.h typeof(__fwnode) __to_of_node_fwnode = (__fwnode); \ typeof 172 include/linux/of.h typeof(node) __of_fwnode_handle_node = (node); \ typeof 56 include/linux/overflow.h typeof(a) __a = (a); \ typeof 57 include/linux/overflow.h typeof(b) __b = (b); \ typeof 58 include/linux/overflow.h typeof(d) __d = (d); \ typeof 65 include/linux/overflow.h typeof(a) __a = (a); \ typeof 66 include/linux/overflow.h typeof(b) __b = (b); \ typeof 67 include/linux/overflow.h typeof(d) __d = (d); \ typeof 74 include/linux/overflow.h typeof(a) __a = (a); \ typeof 75 include/linux/overflow.h typeof(b) __b = (b); \ typeof 76 include/linux/overflow.h typeof(d) __d = (d); \ typeof 87 include/linux/overflow.h typeof(a) __a = (a); \ typeof 88 include/linux/overflow.h typeof(b) __b = (b); \ typeof 89 include/linux/overflow.h typeof(d) __d = (d); \ typeof 96 include/linux/overflow.h typeof(a) __a = (a); \ typeof 97 include/linux/overflow.h typeof(b) __b = (b); \ typeof 98 include/linux/overflow.h typeof(d) __d = (d); \ typeof 108 include/linux/overflow.h typeof(a) __a = (a); \ typeof 109 include/linux/overflow.h typeof(b) __b = (b); \ typeof 110 include/linux/overflow.h typeof(d) __d = (d); \ typeof 115 include/linux/overflow.h __b > 0 && __a > type_max(typeof(__a)) / __b : \ typeof 116 include/linux/overflow.h __a > 0 && __b > type_max(typeof(__b)) / __a; \ typeof 136 include/linux/overflow.h typeof(a) __a = (a); \ typeof 137 include/linux/overflow.h typeof(b) __b = (b); \ typeof 138 include/linux/overflow.h typeof(d) __d = (d); \ typeof 143 include/linux/overflow.h & type_min(typeof(__a))) != 0; \ typeof 152 include/linux/overflow.h typeof(a) __a = (a); \ typeof 153 include/linux/overflow.h typeof(b) __b = (b); \ typeof 154 include/linux/overflow.h typeof(d) __d = (d); \ typeof 159 include/linux/overflow.h & type_min(typeof(__a))) != 0; \ typeof 179 include/linux/overflow.h typeof(a) __a = (a); \ typeof 180 include/linux/overflow.h typeof(b) __b = (b); \ typeof 181 include/linux/overflow.h typeof(d) __d = (d); \ typeof 182 include/linux/overflow.h typeof(a) __tmax = type_max(typeof(a)); \ typeof 183 include/linux/overflow.h typeof(a) __tmin = type_min(typeof(a)); \ typeof 188 include/linux/overflow.h (__b < (typeof(__b))-1 && (__a > __tmin/__b || __a < __tmax/__b)) || \ typeof 189 include/linux/overflow.h (__b == (typeof(__b))-1 && __a == __tmin); \ typeof 194 include/linux/overflow.h __builtin_choose_expr(is_signed_type(typeof(a)), \ typeof 199 include/linux/overflow.h __builtin_choose_expr(is_signed_type(typeof(a)), \ typeof 204 include/linux/overflow.h __builtin_choose_expr(is_signed_type(typeof(a)), \ typeof 231 include/linux/overflow.h typeof(a) _a = a; \ typeof 232 include/linux/overflow.h typeof(s) _s = s; \ typeof 233 include/linux/overflow.h typeof(d) _d = d; \ typeof 219 include/linux/percpu-defs.h const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL; \ typeof 231 include/linux/percpu-defs.h RELOC_HIDE((typeof(*(__p)) __kernel __force *)(__p), (__offset)) typeof 260 include/linux/percpu-defs.h (typeof(*(__p)) __kernel __force *)(__p); \ typeof 318 include/linux/percpu-defs.h typeof(variable) pscr_ret__; \ typeof 333 include/linux/percpu-defs.h typeof(variable) pscr2_ret__; \ typeof 435 include/linux/percpu-defs.h #define raw_cpu_sub_return(pcp, val) raw_cpu_add_return(pcp, -(typeof(pcp))(val)) typeof 496 include/linux/percpu-defs.h #define __this_cpu_sub(pcp, val) __this_cpu_add(pcp, -(typeof(pcp))(val)) typeof 499 include/linux/percpu-defs.h #define __this_cpu_sub_return(pcp, val) __this_cpu_add_return(pcp, -(typeof(pcp))(val)) typeof 519 include/linux/percpu-defs.h #define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val)) typeof 522 include/linux/percpu-defs.h #define this_cpu_sub_return(pcp, val) this_cpu_add_return(pcp, -(typeof(pcp))(val)) typeof 140 include/linux/percpu.h (typeof(type) __percpu *)__alloc_percpu_gfp(sizeof(type), \ typeof 143 include/linux/percpu.h (typeof(type) __percpu *)__alloc_percpu(sizeof(type), \ typeof 427 include/linux/ptr_ring.h typeof((f)(NULL)) __PTR_RING_PEEK_CALL_v; \ typeof 436 include/linux/ptr_ring.h typeof((f)(NULL)) __PTR_RING_PEEK_CALL_v; \ typeof 445 include/linux/ptr_ring.h typeof((f)(NULL)) __PTR_RING_PEEK_CALL_v; \ typeof 454 include/linux/ptr_ring.h typeof((f)(NULL)) __PTR_RING_PEEK_CALL_v; \ typeof 55 include/linux/qed/common_hsi.h typeof(regpair) __regpair = (regpair); \ typeof 88 include/linux/rbtree.h ({ typeof(ptr) ____ptr = (ptr); \ typeof 110 include/linux/rbtree.h for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \ typeof 112 include/linux/rbtree.h typeof(*pos), field); 1; }); \ typeof 372 include/linux/rculist.h pos = list_entry_rcu((head)->next, typeof(*pos), member); \ typeof 374 include/linux/rculist.h pos = list_entry_rcu(pos->member.next, typeof(*pos), member)) typeof 390 include/linux/rculist.h container_of((typeof(ptr))READ_ONCE(ptr), type, member) typeof 406 include/linux/rculist.h for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ typeof 408 include/linux/rculist.h pos = list_entry_lockless(pos->member.next, typeof(*pos), member)) typeof 429 include/linux/rculist.h for (pos = list_entry_rcu(pos->member.next, typeof(*pos), member); \ typeof 431 include/linux/rculist.h pos = list_entry_rcu(pos->member.next, typeof(*pos), member)) typeof 452 include/linux/rculist.h pos = list_entry_rcu(pos->member.next, typeof(*(pos)), member)) typeof 648 include/linux/rculist.h typeof(*(pos)), member); \ typeof 651 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member)) typeof 668 include/linux/rculist.h typeof(*(pos)), member); \ typeof 671 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member)) typeof 685 include/linux/rculist.h typeof(*(pos)), member); \ typeof 688 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member)) typeof 697 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member); \ typeof 700 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member)) typeof 709 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member); \ typeof 712 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member)) typeof 722 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member)) typeof 126 include/linux/rculist_bl.h ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1; }); \ typeof 156 include/linux/rculist_nulls.h ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1; }); \ typeof 171 include/linux/rculist_nulls.h ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); \ typeof 305 include/linux/rcupdate.h ((void)(((typeof(*p) space *)p) == p)) typeof 312 include/linux/rcupdate.h typeof(*p) *_________p1 = (typeof(*p) *__force)READ_ONCE(p); \ typeof 314 include/linux/rcupdate.h ((typeof(*p) __force __kernel *)(_________p1)); \ typeof 319 include/linux/rcupdate.h typeof(*p) *________p1 = (typeof(*p) *__force)READ_ONCE(p); \ typeof 322 include/linux/rcupdate.h ((typeof(*p) __force __kernel *)(________p1)); \ typeof 328 include/linux/rcupdate.h ((typeof(*p) __force __kernel *)(p)); \ typeof 333 include/linux/rcupdate.h typeof(p) ________p1 = READ_ONCE(p); \ typeof 334 include/linux/rcupdate.h ((typeof(*p) __force __kernel *)(________p1)); \ typeof 341 include/linux/rcupdate.h #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v) typeof 380 include/linux/rcupdate.h WRITE_ONCE((p), (typeof(p))(_r_a_p__v)); \ typeof 382 include/linux/rcupdate.h smp_store_release(&p, RCU_INITIALIZER((typeof(p))_r_a_p__v)); \ typeof 396 include/linux/rcupdate.h typeof(ptr) __tmp = rcu_dereference_protected((rcu_ptr), (c)); \ typeof 837 include/linux/rcupdate.h typeof (ptr) ___p = (ptr); \ typeof 840 include/linux/rcupdate.h __kfree_rcu(&((___p)->rhf), offsetof(typeof(*(ptr)), rhf)); \ typeof 285 include/linux/rhashtable.h ({ tpos = container_of(pos, typeof(*tpos), member); 1; }) typeof 2457 include/linux/skbuff.h return skb->transport_header != (typeof(skb->transport_header))~0U; typeof 2510 include/linux/skbuff.h return skb->mac_header != (typeof(skb->mac_header))~0U; typeof 142 include/linux/string.h (typeof(*a) *)__memcat_p((void **)(a), (void **)(b)); \ typeof 153 include/linux/timer.h container_of(callback_timer, typeof(*var), timer_fieldname) typeof 11 include/linux/typecheck.h typeof(x) __dummy2; \ typeof 21 include/linux/typecheck.h ({ typeof(type) __tmp = function; \ typeof 11 include/linux/unaligned/generic.h #define __get_unaligned_le(ptr) ((__force typeof(*(ptr)))({ \ typeof 19 include/linux/unaligned/generic.h #define __get_unaligned_be(ptr) ((__force typeof(*(ptr)))({ \ typeof 7 include/linux/util_macros.h typeof(as) __fc_i, __fc_as = (as) - 1; \ typeof 8 include/linux/util_macros.h typeof(x) __fc_x = (x); \ typeof 9 include/linux/util_macros.h typeof(*a) const *__fc_a = (a); \ typeof 295 include/linux/virtio_config.h if (!typecheck(typeof((((structname*)0)->member)), *(ptr))) \ typeof 325 include/linux/virtio_config.h if (!typecheck(typeof((((structname*)0)->member)), *(ptr))) \ typeof 440 include/media/dvbdev.h typeof(&FUNCTION) __a = symbol_request(FUNCTION); \ typeof 413 include/media/v4l2-common.h (typeof(&(array)[0]))__v4l2_find_nearest_size( \ typeof 415 include/media/v4l2-common.h offsetof(typeof(*(array)), width_field), \ typeof 416 include/media/v4l2-common.h offsetof(typeof(*(array)), height_field), \ typeof 883 include/media/v4l2-subdev.h typeof(ent) __me_sd_ent = (ent); \ typeof 538 include/net/ip.h BUILD_BUG_ON(offsetof(typeof(flow->addrs), v4addrs.dst) != typeof 539 include/net/ip.h offsetof(typeof(flow->addrs), v4addrs.src) + typeof 834 include/net/ipv6.h BUILD_BUG_ON(offsetof(typeof(flow->addrs), v6addrs.dst) != typeof 835 include/net/ipv6.h offsetof(typeof(flow->addrs), v6addrs.src) + typeof 777 include/net/sock.h ({ tpos = (typeof(*tpos) *)((void *)pos - offset); 1;}); \ typeof 941 include/rdma/uverbs_ioctl.h type_min(typeof(*_to)), \ typeof 942 include/rdma/uverbs_ioctl.h type_max(typeof(*_to)), NULL); \ typeof 953 include/rdma/uverbs_ioctl.h type_min(typeof(*_to)), \ typeof 954 include/rdma/uverbs_ioctl.h type_max(typeof(*_to)), &_def_val); \ typeof 185 include/rdma/uverbs_std_types.h uflow = container_of(uobj, typeof(*uflow), uobject); typeof 229 include/scsi/libsas.h struct sas_discovery_event *ev = container_of(work, typeof(*ev), work.work); typeof 289 include/scsi/libsas.h struct asd_sas_event *ev = container_of(work, typeof(*ev), work.work); typeof 39 include/soc/arc/aux.h into = *((typeof(into) *)&tmp); \ typeof 38 include/trace/bpf_probe.h typeof(x) __src = (x); \ typeof 354 include/trace/trace_events.h field = (typeof(field))iter->ent; \ typeof 385 include/trace/trace_events.h field = (typeof(field))entry; \ typeof 399 include/trace/trace_events.h offsetof(typeof(field), item), \ typeof 408 include/trace/trace_events.h offsetof(typeof(field), item), \ typeof 427 include/trace/trace_events.h offsetof(typeof(field), item), \ typeof 437 include/trace/trace_events.h offsetof(typeof(field), __data_loc_##item), \ typeof 495 include/trace/trace_events.h offsetof(typeof(*entry), __data); \ typeof 10 include/uapi/linux/kernel.h #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) typeof 175 include/uapi/linux/netfilter/x_tables.h for ((pos) = (typeof(pos))(ehead); \ typeof 176 include/uapi/linux/netfilter/x_tables.h (pos) < (typeof(pos))((char *)(ehead) + (esize)); \ typeof 177 include/uapi/linux/netfilter/x_tables.h (pos) = (typeof(pos))((char *)(pos) + (pos)->next_offset)) typeof 198 include/xen/interface/io/ring.h *(_req) = *(volatile typeof(_req))RING_GET_REQUEST(_r, _idx); \ typeof 373 kernel/bpf/cgroup.c pl = list_first_entry(progs, typeof(*pl), node); typeof 470 kernel/bpf/cgroup.c pl = list_first_entry(progs, typeof(*pl), node); typeof 1649 kernel/events/core.c next = rb_entry_safe(rb_next(&event->group_node), typeof(*event), group_node); typeof 1661 kernel/events/core.c typeof(*event), group_node); event; \ typeof 1663 kernel/events/core.c typeof(*event), group_node)) typeof 3800 kernel/events/core.c typeof(*event), group_node); typeof 549 kernel/events/hw_breakpoint.c cpu_events = alloc_percpu(typeof(*cpu_events)); typeof 388 kernel/futex.c u32 hash = jhash2((u32 *)key, offsetof(typeof(*key), both.offset) / 4, typeof 1213 kernel/locking/lockdep.c class = list_first_entry_or_null(&free_lock_classes, typeof(*class), typeof 114 kernel/locking/percpu-rwsem.c typeof(var) __sum = 0; \ typeof 33 kernel/locking/test-ww_mutex.c struct test_mutex *mtx = container_of(work, typeof(*mtx), work); typeof 159 kernel/locking/test-ww_mutex.c struct test_abba *abba = container_of(work, typeof(*abba), work); typeof 248 kernel/locking/test-ww_mutex.c struct test_cycle *cycle = container_of(work, typeof(*cycle), work); typeof 380 kernel/locking/test-ww_mutex.c struct stress *stress = container_of(work, typeof(*stress), work); typeof 439 kernel/locking/test-ww_mutex.c struct stress *stress = container_of(work, typeof(*stress), work); typeof 499 kernel/locking/test-ww_mutex.c struct stress *stress = container_of(work, typeof(*stress), work); typeof 349 kernel/sched/core.c typeof(ptr) _ptr = (ptr); \ typeof 350 kernel/sched/core.c typeof(mask) _mask = (mask); \ typeof 351 kernel/sched/core.c typeof(*_ptr) _old, _val = *_ptr; \ typeof 383 kernel/sched/core.c typeof(ti->flags) old, val = READ_ONCE(ti->flags); typeof 2792 kernel/sched/fair.c typeof(_ptr) ptr = (_ptr); \ typeof 2793 kernel/sched/fair.c typeof(_val) val = (_val); \ typeof 2794 kernel/sched/fair.c typeof(*ptr) res, var = READ_ONCE(*ptr); \ typeof 2812 kernel/sched/fair.c typeof(_ptr) ptr = (_ptr); \ typeof 2813 kernel/sched/fair.c typeof(*ptr) val = (_val); \ typeof 2814 kernel/sched/fair.c typeof(*ptr) res, var = READ_ONCE(*ptr); \ typeof 2828 kernel/sched/fair.c typeof(_ptr) ptr = (_ptr); \ typeof 2829 kernel/sched/fair.c *ptr -= min_t(typeof(*ptr), *ptr, _val); \ typeof 461 kernel/sched/rt.c typeof(struct task_group), list); typeof 471 kernel/sched/rt.c for (iter = container_of(&task_groups, typeof(*iter), list); \ typeof 29 kernel/sched/swait.c curr = list_first_entry(&q->task_list, typeof(*curr), task_list); typeof 57 kernel/sched/swait.c curr = list_first_entry(&tmp, typeof(*curr), task_list); typeof 384 kernel/trace/ring_buffer.c (unsigned int)offsetof(typeof(field), commit), typeof 390 kernel/trace/ring_buffer.c (unsigned int)offsetof(typeof(field), commit), typeof 396 kernel/trace/ring_buffer.c (unsigned int)offsetof(typeof(field), data), typeof 360 kernel/trace/trace.h typeof(*tr), list); typeof 366 kernel/trace/trace.h __builtin_types_compatible_p(typeof(var), type *) typeof 371 kernel/trace/trace.h var = (typeof(var))(entry); \ typeof 20 kernel/trace/trace_event_perf.c typedef typeof(unsigned long [PERF_MAX_TRACE_SIZE / sizeof(unsigned long)]) typeof 157 kernel/trace/trace_events.c offsetof(typeof(ent), item), \ typeof 649 kernel/trace/trace_events_hist.c int offset = offsetof(typeof(trace), fields); typeof 85 kernel/trace/trace_export.c offsetof(typeof(field), item), \ typeof 94 kernel/trace/trace_export.c offsetof(typeof(field), \ typeof 107 kernel/trace/trace_export.c offsetof(typeof(field), item), \ typeof 118 kernel/trace/trace_export.c offsetof(typeof(field), \ typeof 128 kernel/trace/trace_export.c offsetof(typeof(field), item), \ typeof 153 kernel/trace/trace_printk.c mod_fmt = container_of(v, typeof(*mod_fmt), fmt); typeof 157 kernel/trace/trace_printk.c mod_fmt = container_of(mod_fmt->list.next, typeof(*mod_fmt), list); typeof 47 kernel/trace/trace_probe.h offsetof(typeof(field), item), \ typeof 132 kernel/trace/trace_syscalls.c trace = (typeof(trace))ent; typeof 178 kernel/trace/trace_syscalls.c trace = (typeof(trace))ent; typeof 204 kernel/trace/trace_syscalls.c #type, #name, offsetof(typeof(trace), field), \ typeof 274 kernel/trace/trace_syscalls.c int offset = offsetof(typeof(trace), args); typeof 153 lib/debugobjects.c obj = hlist_entry(obj_to_free.first, typeof(*obj), node); typeof 214 lib/debugobjects.c obj = hlist_entry(list->first, typeof(*obj), node); typeof 313 lib/debugobjects.c obj = hlist_entry(obj_to_free.first, typeof(*obj), node); typeof 1327 lib/debugobjects.c new = hlist_entry(obj_pool.first, typeof(*obj), node); typeof 53 lib/decompress_unlzma.c x = (typeof(x))read_int((unsigned char *)&x, sizeof(x)) typeof 96 lib/parman.c typeof(struct parman_item), list); typeof 107 lib/parman.c typeof(struct parman_item), list); typeof 319 lib/parman.c prio2 = list_entry(pos, typeof(*prio2), list); typeof 50 lib/test-kstrtox.c const typeof(test[0]) *t = &test[i]; \ typeof 298 lib/test_overflow.c typeof(a) __a = (a); \ typeof 299 lib/test_overflow.c typeof(s) __s = (s); \ typeof 2776 lib/vsprintf.c *(typeof(type) *)str = (type)(long)val4; \ typeof 2924 lib/vsprintf.c typeof(type) value; \ typeof 2931 lib/vsprintf.c value = *(typeof(type) *)args; \ typeof 431 mm/kmemleak.c typeof(*object), object_list); typeof 1373 mm/kmemleak.c object = list_entry(gray_list.next, typeof(*object), gray_list); typeof 1381 mm/kmemleak.c tmp = list_entry(object->gray_list.next, typeof(*object), typeof 1483 mm/ksm.c typeof(*stable_node), hlist_dup); typeof 436 mm/zswap.c pool = list_first_or_null_rcu(&zswap_pools, typeof(*pool), list); typeof 627 mm/zswap.c struct zswap_pool *pool = container_of(work, typeof(*pool), work); typeof 642 mm/zswap.c pool = container_of(kref, typeof(*pool), kref); typeof 324 net/batman-adv/main.h typeof(x)_d1 = (x); \ typeof 325 net/batman-adv/main.h typeof(y)_d2 = (y); \ typeof 326 net/batman-adv/main.h typeof(x)_dummy = (_d1 - _d2); \ typeof 7367 net/bluetooth/l2cap_core.c c = list_entry(chan_list.next, typeof(*c), global_l); typeof 60 net/ceph/striper.c list_entry(pos, typeof(*ex), oe_item); typeof 153 net/ceph/striper.c for (last_ex = list_first_entry(object_extents, typeof(*ex), oe_item), typeof 1411 net/core/flow_dissector.c BUILD_BUG_ON(offsetof(typeof(*flow), addrs) != typeof 386 net/core/page_pool.c struct page_pool *pool = container_of(dwq, typeof(*pool), release_dw); typeof 70 net/core/secure_seq.c return siphash(&combined, offsetofend(typeof(combined), daddr), typeof 92 net/core/secure_seq.c hash = siphash(&combined, offsetofend(typeof(combined), dport), typeof 111 net/core/secure_seq.c return siphash(&combined, offsetofend(typeof(combined), dport), typeof 187 net/core/secure_seq.c seq = siphash(&combined, offsetofend(typeof(combined), dport), typeof 233 net/core/skbuff.c skb->mac_header = (typeof(skb->mac_header))~0U; typeof 234 net/core/skbuff.c skb->transport_header = (typeof(skb->transport_header))~0U; typeof 276 net/core/skbuff.c skb->mac_header = (typeof(skb->mac_header))~0U; typeof 277 net/core/skbuff.c skb->transport_header = (typeof(skb->transport_header))~0U; typeof 4707 net/core/skbuff.c typeof(IPPROTO_IP) proto, typeof 1520 net/ipv4/fib_trie.c struct fib_alias *fa = hlist_entry(pprev, typeof(*fa), fa_list.next); typeof 446 net/ipv4/ip_output.c BUILD_BUG_ON(offsetof(typeof(*fl4), daddr) != typeof 447 net/ipv4/ip_output.c offsetof(typeof(*fl4), saddr) + sizeof(fl4->saddr)); typeof 2153 net/ipv4/udp.c unsigned int offset = offsetof(typeof(*sk), sk_node); typeof 2165 net/ipv4/udp.c offset = offsetof(typeof(*sk), __sk_common.skc_portaddr_node); typeof 59 net/ipv6/syncookies.c return siphash(&combined, offsetofend(typeof(combined), dport), typeof 751 net/ipv6/udp.c unsigned int offset = offsetof(typeof(*sk), sk_node); typeof 764 net/ipv6/udp.c offset = offsetof(typeof(*sk), __sk_common.skc_portaddr_node); typeof 391 net/key/af_key.c DIV_ROUND_UP(sizeof(*sp) + offsetofend(typeof(*addr), sa_family), typeof 407 net/l2tp/l2tp_ppp.c ps = container_of(head, typeof(*ps), rcu); typeof 609 net/mac80211/cfg.c BUILD_BUG_ON(offsetof(typeof(kseq), ccmp) != typeof 610 net/mac80211/cfg.c offsetof(typeof(kseq), aes_cmac)); typeof 614 net/mac80211/cfg.c BUILD_BUG_ON(offsetof(typeof(kseq), ccmp) != typeof 615 net/mac80211/cfg.c offsetof(typeof(kseq), aes_gmac)); typeof 619 net/mac80211/cfg.c BUILD_BUG_ON(offsetof(typeof(kseq), ccmp) != typeof 620 net/mac80211/cfg.c offsetof(typeof(kseq), gcmp)); typeof 1600 net/mac80211/ibss.c BUILD_BUG_ON(offsetof(typeof(mgmt->u.probe_resp), variable) != typeof 1601 net/mac80211/ibss.c offsetof(typeof(mgmt->u.beacon), variable)); typeof 1689 net/mac80211/tdls.c int baselen = offsetof(typeof(*tf), u.chan_switch_resp.variable); typeof 1782 net/mac80211/tdls.c int baselen = offsetof(typeof(*tf), u.chan_switch_req.variable); typeof 101 net/netfilter/nf_conntrack_amanda.c typeof(nf_nat_amanda_hook) nf_nat_amanda; typeof 392 net/netfilter/nf_conntrack_ftp.c typeof(nf_nat_ftp_hook) nf_nat_ftp; typeof 268 net/netfilter/nf_conntrack_h323_main.c typeof(nat_rtp_rtcp_hook) nat_rtp_rtcp; typeof 340 net/netfilter/nf_conntrack_h323_main.c typeof(nat_t120_hook) nat_t120; typeof 677 net/netfilter/nf_conntrack_h323_main.c typeof(nat_h245_hook) nat_h245; typeof 793 net/netfilter/nf_conntrack_h323_main.c typeof(nat_callforwarding_hook) nat_callforwarding; typeof 851 net/netfilter/nf_conntrack_h323_main.c typeof(set_h225_addr_hook) set_h225_addr; typeof 1257 net/netfilter/nf_conntrack_h323_main.c typeof(nat_q931_hook) nat_q931; typeof 1307 net/netfilter/nf_conntrack_h323_main.c typeof(set_ras_addr_hook) set_ras_addr; typeof 1370 net/netfilter/nf_conntrack_h323_main.c typeof(set_ras_addr_hook) set_ras_addr; typeof 1408 net/netfilter/nf_conntrack_h323_main.c typeof(set_sig_addr_hook) set_sig_addr; typeof 1458 net/netfilter/nf_conntrack_h323_main.c typeof(set_sig_addr_hook) set_sig_addr; typeof 1492 net/netfilter/nf_conntrack_h323_main.c typeof(set_h225_addr_hook) set_h225_addr; typeof 1537 net/netfilter/nf_conntrack_h323_main.c typeof(set_sig_addr_hook) set_sig_addr; typeof 1580 net/netfilter/nf_conntrack_h323_main.c typeof(set_ras_addr_hook) set_ras_addr; typeof 1637 net/netfilter/nf_conntrack_h323_main.c typeof(set_ras_addr_hook) set_ras_addr; typeof 1638 net/netfilter/nf_conntrack_h323_main.c typeof(set_sig_addr_hook) set_sig_addr; typeof 123 net/netfilter/nf_conntrack_irc.c typeof(nf_nat_irc_hook) nf_nat_irc; typeof 115 net/netfilter/nf_conntrack_pptp.c typeof(nf_nat_pptp_hook_expectfn) nf_nat_pptp_expectfn; typeof 214 net/netfilter/nf_conntrack_pptp.c typeof(nf_nat_pptp_hook_exp_gre) nf_nat_pptp_exp_gre; typeof 284 net/netfilter/nf_conntrack_pptp.c typeof(nf_nat_pptp_hook_inbound) nf_nat_pptp_inbound; typeof 412 net/netfilter/nf_conntrack_pptp.c typeof(nf_nat_pptp_hook_outbound) nf_nat_pptp_outbound; typeof 38 net/netfilter/nf_conntrack_snmp.c typeof(nf_nat_snmp_hook) nf_nat_snmp; typeof 50 net/netfilter/nf_conntrack_tftp.c typeof(nf_nat_tftp_hook) nf_nat_tftp; typeof 51 net/netfilter/nf_conntrack_timeout.c typeof(nf_ct_timeout_put_hook) timeout_put; typeof 61 net/netfilter/nf_conntrack_timeout.c typeof(nf_ct_timeout_find_get_hook) timeout_find_get; typeof 122 net/netfilter/nf_conntrack_timeout.c typeof(nf_ct_timeout_put_hook) timeout_put; typeof 26 net/netfilter/xt_repldata.h size_t term_offset = (offsetof(typeof(*tbl), entries[nhooks]) + \ typeof 1027 net/sched/cls_u32.c n = kzalloc(offsetof(typeof(*n), sel) + sel_size, GFP_KERNEL); typeof 1016 net/tipc/name_table.c dst = list_first_entry(l, typeof(*dst), list); typeof 695 net/wireless/reg.c if ((u8 *)coll + offsetofend(typeof(*coll), n_rules) > data + size) typeof 80 net/xdp/xsk_queue.c memset(newq, 0, offsetof(typeof(*newq), handles)); typeof 2712 net/xfrm/xfrm_user.c memset(&ue->hard + 1, 0, sizeof(*ue) - offsetofend(typeof(*ue), hard)); typeof 14 samples/bpf/offwaketime_kern.c #define _(P) ({typeof(P) val; bpf_probe_read(&val, sizeof(val), &P); val;}) typeof 29 samples/bpf/test_lru_dist.c const typeof( ((type *)0)->member ) *__mptr = (ptr); \ typeof 12 samples/bpf/test_overhead_kprobe_kern.c #define _(P) ({typeof(P) val = 0; bpf_probe_read(&val, sizeof(val), &P); val;}) typeof 13 samples/bpf/tracex1_kern.c #define _(P) ({typeof(P) val = 0; bpf_probe_read(&val, sizeof(val), &P); val;}) typeof 57 samples/mic/mpssd/mpssd.c #define READ_ONCE(x) (*(volatile typeof(x) *)&(x)) typeof 1060 samples/vfio-mdev/mbochs.c ext->base.cap_offset = offsetof(typeof(*ext), type); typeof 1215 samples/vfio-mdev/mbochs.c minsz = offsetofend(typeof(info), base.offset); typeof 20 scripts/kconfig/list.h const typeof( ((type *)0)->member ) *__mptr = (ptr); \ typeof 50 scripts/kconfig/list.h for (pos = list_entry((head)->next, typeof(*pos), member); \ typeof 52 scripts/kconfig/list.h pos = list_entry(pos->member.next, typeof(*pos), member)) typeof 62 scripts/kconfig/list.h for (pos = list_entry((head)->next, typeof(*pos), member), \ typeof 63 scripts/kconfig/list.h n = list_entry(pos->member.next, typeof(*pos), member); \ typeof 65 scripts/kconfig/list.h pos = n, n = list_entry(n->member.next, typeof(*n), member)) typeof 26 scripts/kconfig/nconf.h typeof(a) _a = a;\ typeof 27 scripts/kconfig/nconf.h typeof(b) _b = b;\ typeof 31 scripts/kconfig/nconf.h typeof(a) _a = a;\ typeof 32 scripts/kconfig/nconf.h typeof(b) _b = b;\ typeof 69 scripts/mod/file2alias.c typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f)) typeof 76 scripts/mod/file2alias.c typeof(((struct devid *)0)->f) *v = ((m) + OFF_##devid##_##f) typeof 86 scripts/mod/modpost.h typeof(x) __x; \ typeof 1988 security/apparmor/apparmorfs.c next = list_first_entry(&ns->sub_ns, typeof(*ns), base.list); typeof 2049 security/apparmor/apparmorfs.c return list_first_entry(&p->base.profiles, typeof(*p), typeof 31 security/apparmor/include/label.h typeof(N) i; \ typeof 208 security/apparmor/include/label.h typeof(i) ___i = (i); \ typeof 107 security/apparmor/include/match.h typeof(LEN) __i; \ typeof 162 security/integrity/ima/ima_appraise.c sig = (typeof(sig))xattr_value; typeof 449 security/tomoyo/audit.c ptr = list_entry(tomoyo_log.next, typeof(*ptr), list); typeof 748 security/tomoyo/common.c container_of(head->r.ns, typeof(*ns), namespace_list); typeof 917 security/tomoyo/common.c list_entry(head->r.acl, typeof(*ptr), head.list); typeof 1046 security/tomoyo/common.c const struct tomoyo_task_acl *p1 = container_of(a, typeof(*p1), head); typeof 1047 security/tomoyo/common.c const struct tomoyo_task_acl *p2 = container_of(b, typeof(*p2), head); typeof 1248 security/tomoyo/common.c (typeof(condp)) (cond + 1); typeof 1250 security/tomoyo/common.c (typeof(numbers_p)) (condp + condc); typeof 1252 security/tomoyo/common.c (typeof(names_p)) typeof 1255 security/tomoyo/common.c (typeof(argv)) (names_p + cond->names_count); typeof 1257 security/tomoyo/common.c (typeof(envp)) (argv + cond->argc); typeof 1407 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); typeof 1429 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); typeof 1438 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); typeof 1459 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); typeof 1480 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); typeof 1503 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); typeof 1536 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); typeof 1558 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); typeof 1567 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); typeof 1602 security/tomoyo/common.c list_entry(head->r.acl, typeof(*ptr), list); typeof 1624 security/tomoyo/common.c list_entry(head->r.domain, typeof(*domain), list); typeof 1800 security/tomoyo/common.c container_of(head->r.ns, typeof(*ns), namespace_list); typeof 1805 security/tomoyo/common.c list_entry(head->r.group, typeof(*group), head.list); typeof 1809 security/tomoyo/common.c list_entry(head->r.acl, typeof(*ptr), list); typeof 1831 security/tomoyo/common.c container_of(ptr, typeof(*member), typeof 1859 security/tomoyo/common.c container_of(head->r.ns, typeof(*ns), namespace_list); typeof 1864 security/tomoyo/common.c container_of(head->r.acl, typeof(*acl), list); typeof 1873 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); typeof 1889 security/tomoyo/common.c container_of(acl, typeof(*ptr), head); typeof 1919 security/tomoyo/common.c container_of(head->r.ns, typeof(*ns), namespace_list); typeof 2215 security/tomoyo/common.c struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); typeof 2233 security/tomoyo/common.c struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); typeof 2272 security/tomoyo/common.c struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); typeof 2281 security/tomoyo/common.c struct tomoyo_query *ptr = list_entry(tmp, typeof(*ptr), list); typeof 1182 security/tomoyo/common.h container_of(name, typeof(*ptr), entry); typeof 223 security/tomoyo/domain.c typeof(*p1), typeof 226 security/tomoyo/domain.c typeof(*p2), typeof 385 security/tomoyo/domain.c const struct tomoyo_aggregator *p1 = container_of(a, typeof(*p1), typeof 387 security/tomoyo/domain.c const struct tomoyo_aggregator *p2 = container_of(b, typeof(*p2), typeof 22 security/tomoyo/environ.c container_of(ptr, typeof(*acl), head); typeof 79 security/tomoyo/environ.c const struct tomoyo_env_acl *p1 = container_of(a, typeof(*p1), head); typeof 80 security/tomoyo/environ.c const struct tomoyo_env_acl *p2 = container_of(b, typeof(*p2), head); typeof 255 security/tomoyo/file.c const struct tomoyo_path_acl *acl = container_of(ptr, typeof(*acl), typeof 279 security/tomoyo/file.c container_of(ptr, typeof(*acl), head); typeof 300 security/tomoyo/file.c container_of(ptr, typeof(*acl), head); typeof 320 security/tomoyo/file.c container_of(ptr, typeof(*acl), head); typeof 344 security/tomoyo/file.c const struct tomoyo_path_acl *p1 = container_of(a, typeof(*p1), head); typeof 345 security/tomoyo/file.c const struct tomoyo_path_acl *p2 = container_of(b, typeof(*p2), head); typeof 416 security/tomoyo/file.c const struct tomoyo_mkdev_acl *p1 = container_of(a, typeof(*p1), head); typeof 417 security/tomoyo/file.c const struct tomoyo_mkdev_acl *p2 = container_of(b, typeof(*p2), head); typeof 498 security/tomoyo/file.c const struct tomoyo_path2_acl *p1 = container_of(a, typeof(*p1), head); typeof 499 security/tomoyo/file.c const struct tomoyo_path2_acl *p2 = container_of(b, typeof(*p2), head); typeof 634 security/tomoyo/file.c const struct tomoyo_path_number_acl *p1 = container_of(a, typeof(*p1), typeof 636 security/tomoyo/file.c const struct tomoyo_path_number_acl *p2 = container_of(b, typeof(*p2), typeof 965 security/tomoyo/file.c const struct tomoyo_mount_acl *p1 = container_of(a, typeof(*p1), head); typeof 966 security/tomoyo/file.c const struct tomoyo_mount_acl *p2 = container_of(b, typeof(*p2), head); typeof 112 security/tomoyo/gc.c container_of(element, typeof(*ptr), head.list); typeof 128 security/tomoyo/gc.c container_of(element, typeof(*ptr), head.list); typeof 144 security/tomoyo/gc.c container_of(element, typeof(*ptr), head.list); typeof 159 security/tomoyo/gc.c container_of(element, typeof(*acl), list); typeof 166 security/tomoyo/gc.c = container_of(acl, typeof(*entry), head); typeof 173 security/tomoyo/gc.c = container_of(acl, typeof(*entry), head); typeof 181 security/tomoyo/gc.c = container_of(acl, typeof(*entry), head); typeof 189 security/tomoyo/gc.c = container_of(acl, typeof(*entry), head); typeof 199 security/tomoyo/gc.c = container_of(acl, typeof(*entry), head); typeof 209 security/tomoyo/gc.c container_of(acl, typeof(*entry), head); typeof 217 security/tomoyo/gc.c container_of(acl, typeof(*entry), head); typeof 226 security/tomoyo/gc.c container_of(acl, typeof(*entry), head); typeof 234 security/tomoyo/gc.c container_of(acl, typeof(*entry), head); typeof 254 security/tomoyo/gc.c container_of(element, typeof(*domain), list); typeof 279 security/tomoyo/gc.c struct tomoyo_condition *cond = container_of(element, typeof(*cond), typeof 332 security/tomoyo/gc.c container_of(element, typeof(*member), head.list); typeof 347 security/tomoyo/gc.c container_of(element, typeof(*group), head.list); typeof 438 security/tomoyo/gc.c (container_of(element, typeof(struct tomoyo_name), typeof 452 security/tomoyo/gc.c (element, typeof(struct tomoyo_domain_info), typeof 58 security/tomoyo/group.c const struct tomoyo_address_group *p1 = container_of(a, typeof(*p1), typeof 60 security/tomoyo/group.c const struct tomoyo_address_group *p2 = container_of(b, typeof(*p2), typeof 51 security/tomoyo/mount.c container_of(ptr, typeof(*acl), head); typeof 195 security/tomoyo/network.c const struct tomoyo_inet_acl *p1 = container_of(a, typeof(*p1), head); typeof 196 security/tomoyo/network.c const struct tomoyo_inet_acl *p2 = container_of(b, typeof(*p2), head); typeof 214 security/tomoyo/network.c const struct tomoyo_unix_acl *p1 = container_of(a, typeof(*p1), head); typeof 215 security/tomoyo/network.c const struct tomoyo_unix_acl *p2 = container_of(b, typeof(*p2), head); typeof 423 security/tomoyo/network.c container_of(ptr, typeof(*acl), head); typeof 453 security/tomoyo/network.c container_of(ptr, typeof(*acl), head); typeof 22 security/tomoyo/securityfs_if.c const struct tomoyo_task_acl *acl = container_of(ptr, typeof(*acl), typeof 125 sound/pci/hda/hda_codec.c p = list_first_entry(&codec->conn_list, typeof(*p), list); typeof 29 tools/arch/arm64/include/asm/barrier.h union { typeof(*p) __val; char __c[1]; } __u = \ typeof 66 tools/arch/arm64/include/asm/barrier.h union { typeof(*p) __val; char __c[1]; } __u = \ typeof 57 tools/arch/ia64/include/asm/barrier.h typeof(*p) ___p1 = READ_ONCE(*p); \ typeof 41 tools/arch/powerpc/include/asm/barrier.h typeof(*p) ___p1 = READ_ONCE(*p); \ typeof 39 tools/arch/s390/include/asm/barrier.h typeof(*p) ___p1 = READ_ONCE(*p); \ typeof 51 tools/arch/sparc/include/asm/barrier_64.h typeof(*p) ___p1 = READ_ONCE(*p); \ typeof 41 tools/arch/x86/include/asm/barrier.h typeof(*p) ___p1 = READ_ONCE(*p); \ typeof 57 tools/firewire/list.h list_entry((elm)->member.next, typeof(*elm), member) typeof 60 tools/firewire/list.h for (pos = list_head(list, typeof(*pos), member); \ typeof 25 tools/firmware/ihex2fw.c #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) typeof 61 tools/include/asm/barrier.h typeof(*p) ___p1 = READ_ONCE(*p); \ typeof 27 tools/include/linux/compiler.h # define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) typeof 156 tools/include/linux/compiler.h union { typeof(x) __val; char __c[1]; } __u = \ typeof 164 tools/include/linux/compiler.h union { typeof(x) __val; char __c[1]; } __u = \ typeof 18 tools/include/linux/kernel.h #define PERF_ALIGN(x, a) __PERF_ALIGN_MASK(x, (typeof(x))(a)-1) typeof 34 tools/include/linux/kernel.h const typeof(((type *)0)->member) * __mptr = (ptr); \ typeof 43 tools/include/linux/kernel.h typeof(x) _max1 = (x); \ typeof 44 tools/include/linux/kernel.h typeof(y) _max2 = (y); \ typeof 51 tools/include/linux/kernel.h typeof(x) _min1 = (x); \ typeof 52 tools/include/linux/kernel.h typeof(y) _min2 = (y); \ typeof 60 tools/include/linux/kernel.h const typeof(y) __y = y; \ typeof 393 tools/include/linux/list.h list_entry((pos)->member.next, typeof(*(pos)), member) typeof 401 tools/include/linux/list.h list_entry((pos)->member.prev, typeof(*(pos)), member) typeof 447 tools/include/linux/list.h for (pos = list_first_entry(head, typeof(*pos), member); \ typeof 458 tools/include/linux/list.h for (pos = list_last_entry(head, typeof(*pos), member); \ typeof 471 tools/include/linux/list.h ((pos) ? : list_entry(head, typeof(*pos), member)) typeof 521 tools/include/linux/list.h for (pos = list_first_entry(head, typeof(*pos), member), \ typeof 568 tools/include/linux/list.h for (pos = list_last_entry(head, typeof(*pos), member), \ typeof 704 tools/include/linux/list.h ({ typeof(ptr) ____ptr = (ptr); \ typeof 715 tools/include/linux/list.h for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\ typeof 717 tools/include/linux/list.h pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) typeof 725 tools/include/linux/list.h for (pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member);\ typeof 727 tools/include/linux/list.h pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) typeof 736 tools/include/linux/list.h pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) typeof 746 tools/include/linux/list.h for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\ typeof 748 tools/include/linux/list.h pos = hlist_entry_safe(n, typeof(*pos), member)) typeof 50 tools/include/linux/overflow.h typeof(a) __a = (a); \ typeof 51 tools/include/linux/overflow.h typeof(b) __b = (b); \ typeof 52 tools/include/linux/overflow.h typeof(d) __d = (d); \ typeof 59 tools/include/linux/overflow.h typeof(a) __a = (a); \ typeof 60 tools/include/linux/overflow.h typeof(b) __b = (b); \ typeof 61 tools/include/linux/overflow.h typeof(d) __d = (d); \ typeof 68 tools/include/linux/overflow.h typeof(a) __a = (a); \ typeof 69 tools/include/linux/overflow.h typeof(b) __b = (b); \ typeof 70 tools/include/linux/overflow.h typeof(d) __d = (d); \ typeof 81 tools/include/linux/overflow.h typeof(a) __a = (a); \ typeof 82 tools/include/linux/overflow.h typeof(b) __b = (b); \ typeof 83 tools/include/linux/overflow.h typeof(d) __d = (d); \ typeof 90 tools/include/linux/overflow.h typeof(a) __a = (a); \ typeof 91 tools/include/linux/overflow.h typeof(b) __b = (b); \ typeof 92 tools/include/linux/overflow.h typeof(d) __d = (d); \ typeof 102 tools/include/linux/overflow.h typeof(a) __a = (a); \ typeof 103 tools/include/linux/overflow.h typeof(b) __b = (b); \ typeof 104 tools/include/linux/overflow.h typeof(d) __d = (d); \ typeof 109 tools/include/linux/overflow.h __b > 0 && __a > type_max(typeof(__a)) / __b : \ typeof 110 tools/include/linux/overflow.h __a > 0 && __b > type_max(typeof(__b)) / __a; \ typeof 130 tools/include/linux/overflow.h typeof(a) __a = (a); \ typeof 131 tools/include/linux/overflow.h typeof(b) __b = (b); \ typeof 132 tools/include/linux/overflow.h typeof(d) __d = (d); \ typeof 137 tools/include/linux/overflow.h & type_min(typeof(__a))) != 0; \ typeof 146 tools/include/linux/overflow.h typeof(a) __a = (a); \ typeof 147 tools/include/linux/overflow.h typeof(b) __b = (b); \ typeof 148 tools/include/linux/overflow.h typeof(d) __d = (d); \ typeof 153 tools/include/linux/overflow.h & type_min(typeof(__a))) != 0; \ typeof 173 tools/include/linux/overflow.h typeof(a) __a = (a); \ typeof 174 tools/include/linux/overflow.h typeof(b) __b = (b); \ typeof 175 tools/include/linux/overflow.h typeof(d) __d = (d); \ typeof 176 tools/include/linux/overflow.h typeof(a) __tmax = type_max(typeof(a)); \ typeof 177 tools/include/linux/overflow.h typeof(a) __tmin = type_min(typeof(a)); \ typeof 182 tools/include/linux/overflow.h (__b < (typeof(__b))-1 && (__a > __tmin/__b || __a < __tmax/__b)) || \ typeof 183 tools/include/linux/overflow.h (__b == (typeof(__b))-1 && __a == __tmin); \ typeof 188 tools/include/linux/overflow.h __builtin_choose_expr(is_signed_type(typeof(a)), \ typeof 193 tools/include/linux/overflow.h __builtin_choose_expr(is_signed_type(typeof(a)), \ typeof 198 tools/include/linux/overflow.h __builtin_choose_expr(is_signed_type(typeof(a)), \ typeof 76 tools/include/linux/rbtree.h ({ typeof(ptr) ____ptr = (ptr); \ typeof 98 tools/include/linux/rbtree.h for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \ typeof 100 tools/include/linux/rbtree.h typeof(*pos), field); 1; }); \ typeof 49 tools/lib/bpf/libbpf_internal.h extern typeof(internal_name) api_name \ typeof 118 tools/lib/subcmd/parse-options.h #define check_vtype(v, type) ( BUILD_BUG_ON_ZERO(!__builtin_types_compatible_p(typeof(v), type)) + v ) typeof 24 tools/lib/traceevent/event-utils.h typeof(x) _min1 = (x); \ typeof 25 tools/lib/traceevent/event-utils.h typeof(y) _min2 = (y); \ typeof 16 tools/perf/pmu-events/jevents.h typeof(x) _min1 = (x); \ typeof 17 tools/perf/pmu-events/jevents.h typeof(y) _min2 = (y); \ typeof 33 tools/perf/pmu-events/json.h const typeof(y) __y = y; \ typeof 2352 tools/perf/util/annotate.c queue = list_entry(queue->node.next, typeof(*queue), node); typeof 3319 tools/perf/util/header.c if (header->size == offsetof(typeof(*header), adds_features)) typeof 107 tools/perf/util/unwind-libunwind-local.c ptr = (typeof(ptr)) __p; \ typeof 47 tools/testing/nvdimm/test/iomap.c ops = list_first_or_null_rcu(&iomap_head, typeof(*ops), list); typeof 420 tools/testing/nvdimm/test/iomap.c ops = list_first_or_null_rcu(&iomap_head, typeof(*ops), list); typeof 816 tools/testing/nvdimm/test/nfit.c struct nfit_test *t = container_of(work, typeof(*t), work); typeof 1200 tools/testing/nvdimm/test/nfit.c struct nfit_test *t = container_of(acpi_desc, typeof(*t), acpi_desc); typeof 33 tools/testing/scatterlist/linux/mm.h #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1) typeof 67 tools/testing/scatterlist/linux/mm.h __min(typeof(x), typeof(y), \ typeof 6 tools/testing/selftests/bpf/bpf_helpers.h #define __type(name, val) typeof(val) *name typeof 41 tools/testing/selftests/bpf/progs/test_tcp_estats.c #define _(P) ({typeof(P) val = 0; bpf_probe_read(&val, sizeof(val), &P); val;}) typeof 171 tools/testing/selftests/kvm/include/kvm_util.h typeof(g) *_p = addr_gva2hva(vm, (vm_vaddr_t)&(g)); \ typeof 176 tools/testing/selftests/kvm/include/kvm_util.h typeof(g) *_p = addr_gva2hva(vm, (vm_vaddr_t)&(g)); \ typeof 33 tools/testing/selftests/kvm/include/test_util.h typeof(a) __a = (a); \ typeof 34 tools/testing/selftests/kvm/include/test_util.h typeof(b) __b = (b); \ typeof 39 tools/testing/selftests/powerpc/dscr/dscr.h #define READ_ONCE(x) (*(volatile typeof(x) *)&(x)) typeof 38 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/barriers.h #define READ_ONCE(x) (*(volatile typeof(x) *) &(x)) typeof 39 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/barriers.h #define WRITE_ONCE(x) ((*(volatile typeof(x) *) &(x)) = (val)) typeof 19 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/misc.h const typeof(((type *)0)->member) *__mptr = (ptr); \ typeof 29 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h ((typeof(ptr)) ((char *) (ptr) + PERCPU_OFFSET * cpu)) typeof 33 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h #define __this_cpu_sub(pcp, n) __this_cpu_add(pcp, -(typeof(pcp)) (n)) typeof 37 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h #define this_cpu_sub(pcp, n) this_cpu_add(pcp, -(typeof(pcp)) (n)) typeof 49 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h typeof(ptr) this_cpu_add_helper_ptr = (ptr); \ typeof 50 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h typeof(ptr) this_cpu_add_helper_x = (x); \ typeof 51 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h typeof(*ptr) this_cpu_add_helper_temp; \ typeof 70 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h (typeof(pcp)) (n)); \ typeof 77 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/percpu.h (typeof(pcp)) (n)); \ typeof 57 tools/testing/selftests/x86/protection_keys.c #define ALIGN_PTR_UP(p, ptr_align_to) ((typeof(p))ALIGN_UP((unsigned long)(p), ptr_align_to)) typeof 58 tools/testing/selftests/x86/protection_keys.c #define ALIGN_PTR_DOWN(p, ptr_align_to) ((typeof(p))ALIGN_DOWN((unsigned long)(p), ptr_align_to)) typeof 25 tools/thermal/tmon/tui.c typeof(x) _min1 = (x); \ typeof 26 tools/thermal/tmon/tui.c typeof(y) _min2 = (y); \ typeof 31 tools/thermal/tmon/tui.c typeof(x) _max1 = (x); \ typeof 32 tools/thermal/tmon/tui.c typeof(y) _max2 = (y); \ typeof 134 tools/usb/usbip/libsrc/list.h const typeof( ((type *)0)->member ) *__mptr = (ptr); \ typeof 9 tools/virtio/asm/barrier.h typeof(var) virt_store_mb_value = (value); \ typeof 6 tools/virtio/linux/compiler.h (*((volatile typeof(val) *)(&(var))) = (val)) typeof 8 tools/virtio/linux/compiler.h #define READ_ONCE(var) (*((volatile typeof(var) *)(&(var)))) typeof 1 tools/virtio/linux/export.h #define EXPORT_SYMBOL_GPL(sym) extern typeof(sym) sym typeof 2 tools/virtio/linux/export.h #define EXPORT_SYMBOL(sym) extern typeof(sym) sym typeof 109 tools/virtio/linux/kernel.h const typeof( ((type *)0)->member ) *__mptr = (ptr); \ typeof 133 tools/virtio/linux/kernel.h typeof(x) _min1 = (x); \ typeof 134 tools/virtio/linux/kernel.h typeof(y) _min2 = (y); \ typeof 16 tools/virtio/linux/uaccess.h typeof(ptr) __pu_ptr = (ptr); \ typeof 24 tools/virtio/linux/uaccess.h typeof(ptr) __pu_ptr = (ptr); \ typeof 180 tools/virtio/ringtest/main.h union { typeof(x) __val; char __c[1]; } __u; \ typeof 188 tools/virtio/ringtest/main.h union { typeof(x) __val; char __c[1]; } __u = \ typeof 189 tools/virtio/ringtest/main.h { .__val = (typeof(x)) (val) }; \ typeof 114 virt/kvm/arm/arm.c kvm->arch.last_vcpu_ran = alloc_percpu(typeof(*kvm->arch.last_vcpu_ran)); typeof 612 virt/kvm/arm/vgic/vgic-its.c typeof(*cte), entry); typeof 112 virt/kvm/async_pf.c typeof(*work), queue); typeof 138 virt/kvm/async_pf.c typeof(*work), link); typeof 154 virt/kvm/async_pf.c work = list_first_entry(&vcpu->async_pf.done, typeof(*work),