member 873 arch/alpha/kernel/setup.c unsigned long member = (variation >> 10) & 0x3f; member 879 arch/alpha/kernel/setup.c if (member < ARRAY_SIZE(alcor_indices)) member 880 arch/alpha/kernel/setup.c vec = alcor_vecs[alcor_indices[member]]; member 883 arch/alpha/kernel/setup.c if (member < ARRAY_SIZE(eb164_indices)) member 884 arch/alpha/kernel/setup.c vec = eb164_vecs[eb164_indices[member]]; member 891 arch/alpha/kernel/setup.c if (member < ARRAY_SIZE(eb64p_indices)) member 892 arch/alpha/kernel/setup.c vec = eb64p_vecs[eb64p_indices[member]]; member 895 arch/alpha/kernel/setup.c if (member < ARRAY_SIZE(eb66_indices)) member 896 arch/alpha/kernel/setup.c vec = eb66_vecs[eb66_indices[member]]; member 899 arch/alpha/kernel/setup.c if (member < ARRAY_SIZE(marvel_indices)) member 900 arch/alpha/kernel/setup.c vec = marvel_vecs[marvel_indices[member]]; member 904 arch/alpha/kernel/setup.c if (member < ARRAY_SIZE(titan_indices)) member 905 arch/alpha/kernel/setup.c vec = titan_vecs[titan_indices[member]]; member 908 arch/alpha/kernel/setup.c if (member < ARRAY_SIZE(tsunami_indices)) member 909 arch/alpha/kernel/setup.c vec = tsunami_vecs[tsunami_indices[member]]; member 992 arch/alpha/kernel/setup.c unsigned long member; member 1016 arch/alpha/kernel/setup.c member = (variation >> 10) & 0x3f; /* member ID is a bit-field */ member 1024 arch/alpha/kernel/setup.c if (member >= ARRAY_SIZE(eb164_indices)) member 1026 arch/alpha/kernel/setup.c *variation_name = eb164_names[eb164_indices[member]]; member 1029 arch/alpha/kernel/setup.c if (eb164_indices[member] == 0 && cpu == EV56_CPU) member 1033 arch/alpha/kernel/setup.c if (member < ARRAY_SIZE(alcor_indices)) member 1034 arch/alpha/kernel/setup.c *variation_name = alcor_names[alcor_indices[member]]; member 1037 arch/alpha/kernel/setup.c if (member < ARRAY_SIZE(eb64p_indices)) member 1038 arch/alpha/kernel/setup.c *variation_name = eb64p_names[eb64p_indices[member]]; member 1041 arch/alpha/kernel/setup.c if (member < ARRAY_SIZE(eb66_indices)) member 1042 arch/alpha/kernel/setup.c *variation_name = eb66_names[eb66_indices[member]]; member 1045 arch/alpha/kernel/setup.c if (member < ARRAY_SIZE(marvel_indices)) member 1046 arch/alpha/kernel/setup.c *variation_name = marvel_names[marvel_indices[member]]; member 1049 arch/alpha/kernel/setup.c if (member < ARRAY_SIZE(rawhide_indices)) member 1050 arch/alpha/kernel/setup.c *variation_name = rawhide_names[rawhide_indices[member]]; member 1054 arch/alpha/kernel/setup.c if (member < ARRAY_SIZE(titan_indices)) member 1055 arch/alpha/kernel/setup.c *variation_name = titan_names[titan_indices[member]]; member 1058 arch/alpha/kernel/setup.c if (member < ARRAY_SIZE(tsunami_indices)) member 1059 arch/alpha/kernel/setup.c *variation_name = tsunami_names[tsunami_indices[member]]; member 21 arch/arm/include/asm/hardirq.h #define __inc_irq_stat(cpu, member) __IRQ_STAT(cpu, member)++ member 22 arch/arm/include/asm/hardirq.h #define __get_irq_stat(cpu, member) __IRQ_STAT(cpu, member) member 177 arch/arm/include/uapi/asm/setup.h #define tag_member_present(tag,member) \ member 178 arch/arm/include/uapi/asm/setup.h ((unsigned long)(&((struct tag *)0L)->member + 1) \ member 25 arch/arm64/include/asm/hardirq.h #define __inc_irq_stat(cpu, member) __IRQ_STAT(cpu, member)++ member 26 arch/arm64/include/asm/hardirq.h #define __get_irq_stat(cpu, member) __IRQ_STAT(cpu, member) member 35 arch/parisc/include/asm/hardirq.h #define __IRQ_STAT(cpu, member) (irq_stat[cpu].member) member 36 arch/parisc/include/asm/hardirq.h #define inc_irq_stat(member) this_cpu_inc(irq_stat.member) member 37 arch/parisc/include/asm/hardirq.h #define __inc_irq_stat(member) __this_cpu_inc(irq_stat.member) member 1020 arch/parisc/kernel/drivers.c #define DO(member) \ member 1021 arch/parisc/kernel/drivers.c pr_cont("\t." #member " = 0x%x,\n", \ member 1022 arch/parisc/kernel/drivers.c (unsigned int)pdc_mod_info.member) member 1047 arch/parisc/kernel/drivers.c #define DO(member) \ member 1048 arch/parisc/kernel/drivers.c pr_cont("\t." #member " = 0x%04lx,\n", \ member 1049 arch/parisc/kernel/drivers.c (unsigned long)iodc_data.member) member 24 arch/powerpc/include/asm/fs_pd.h #define cpm2_map(member) (&cpm2_immr->member) member 25 arch/powerpc/include/asm/fs_pd.h #define cpm2_map_size(member, size) (&cpm2_immr->member) member 34 arch/powerpc/include/asm/fs_pd.h #define immr_map(member) (&mpc8xx_immr->member) member 35 arch/powerpc/include/asm/fs_pd.h #define immr_map_size(member, size) (&mpc8xx_immr->member) member 113 arch/s390/hypfs/hypfs_vm.c #define ATTRIBUTE(dir, name, member) \ member 116 arch/s390/hypfs/hypfs_vm.c rc = hypfs_create_u64(dir, name, member); \ member 20 arch/s390/pci/pci_sysfs.c #define zpci_attr(name, fmt, member) \ member 26 arch/s390/pci/pci_sysfs.c return sprintf(buf, fmt, zdev->member); \ member 22 arch/x86/include/asm/bootparam_utils.h #define sizeof_mbr(type, member) ({ sizeof(((type *)0)->member); }) member 53 arch/x86/include/asm/hardirq.h #define inc_irq_stat(member) this_cpu_inc(irq_stat.member) member 182 drivers/base/attribute_container.c #define klist_for_each_entry(pos, head, member, iter) \ member 185 drivers/base/attribute_container.c n ? container_of(n, typeof(*pos), member) : \ member 18 drivers/clk/sprd/pll.c #define pindex(pll, member) \ member 19 drivers/clk/sprd/pll.c (pll->factors[member].shift / (8 * sizeof(pll->regs_num))) member 21 drivers/clk/sprd/pll.c #define pshift(pll, member) \ member 22 drivers/clk/sprd/pll.c (pll->factors[member].shift % (8 * sizeof(pll->regs_num))) member 24 drivers/clk/sprd/pll.c #define pwidth(pll, member) \ member 25 drivers/clk/sprd/pll.c pll->factors[member].width member 27 drivers/clk/sprd/pll.c #define pmask(pll, member) \ member 28 drivers/clk/sprd/pll.c ((pwidth(pll, member)) ? \ member 29 drivers/clk/sprd/pll.c GENMASK(pwidth(pll, member) + pshift(pll, member) - 1, \ member 30 drivers/clk/sprd/pll.c pshift(pll, member)) : 0) member 32 drivers/clk/sprd/pll.c #define pinternal(pll, cfg, member) \ member 33 drivers/clk/sprd/pll.c (cfg[pindex(pll, member)] & pmask(pll, member)) member 35 drivers/clk/sprd/pll.c #define pinternal_val(pll, cfg, member) \ member 36 drivers/clk/sprd/pll.c (pinternal(pll, cfg, member) >> pshift(pll, member)) member 393 drivers/cpufreq/pcc-cpufreq.c union acpi_object *out_obj, *member; member 423 drivers/cpufreq/pcc-cpufreq.c member = &out_obj->package.elements[0]; member 424 drivers/cpufreq/pcc-cpufreq.c if (member->type != ACPI_TYPE_BUFFER) { member 429 drivers/cpufreq/pcc-cpufreq.c mem_resource = (struct pcc_memory_resource *)member->buffer.pointer; member 479 drivers/cpufreq/pcc-cpufreq.c member = &out_obj->package.elements[1]; member 480 drivers/cpufreq/pcc-cpufreq.c if (member->type != ACPI_TYPE_BUFFER) { member 485 drivers/cpufreq/pcc-cpufreq.c reg_resource = (struct pcc_register_resource *)member->buffer.pointer; member 498 drivers/cpufreq/pcc-cpufreq.c member = &out_obj->package.elements[2]; member 499 drivers/cpufreq/pcc-cpufreq.c if (member->type != ACPI_TYPE_INTEGER) { member 504 drivers/cpufreq/pcc-cpufreq.c doorbell_preserve = member->integer.value; member 506 drivers/cpufreq/pcc-cpufreq.c member = &out_obj->package.elements[3]; member 507 drivers/cpufreq/pcc-cpufreq.c if (member->type != ACPI_TYPE_INTEGER) { member 512 drivers/cpufreq/pcc-cpufreq.c doorbell_write = member->integer.value; member 395 drivers/cpufreq/powernv-cpufreq.c #define throttle_attr(name, member) \ member 400 drivers/cpufreq/powernv-cpufreq.c return sprintf(buf, "%u\n", chip->member); \ member 226 drivers/gpu/drm/amd/powerplay/inc/hwmgr.h uint32_t (*get_offsetof)(uint32_t type, uint32_t member); member 58 drivers/gpu/drm/amd/powerplay/inc/pp_debug.h #define GET_FLEXIBLE_ARRAY_MEMBER_ADDR(type, member, ptr, n) \ member 59 drivers/gpu/drm/amd/powerplay/inc/pp_debug.h (type *)((char *)&(ptr)->member + (sizeof(type) * (n))) member 106 drivers/gpu/drm/amd/powerplay/inc/smumgr.h uint32_t type, uint32_t member); member 2247 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c static uint32_t ci_get_offsetof(uint32_t type, uint32_t member) member 2251 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c switch (member) { member 2277 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c switch (member) { member 2283 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c pr_debug("can't get the offset of type %x member %x\n", type, member); member 2296 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c static uint32_t fiji_get_offsetof(uint32_t type, uint32_t member) member 2300 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c switch (member) { member 2328 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c switch (member) { member 2338 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c pr_warn("can't get the offset of type %x member %x\n", type, member); member 2212 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c static uint32_t iceland_get_offsetof(uint32_t type, uint32_t member) member 2216 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c switch (member) { member 2244 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c switch (member) { member 2250 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c pr_warn("can't get the offset of type %x member %x\n", type, member); member 2311 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c static uint32_t polaris10_get_offsetof(uint32_t type, uint32_t member) member 2315 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c switch (member) { member 2343 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c switch (member) { member 2353 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c pr_warn("can't get the offset of type %x member %x\n", type, member); member 91 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c uint32_t smum_get_offsetof(struct pp_hwmgr *hwmgr, uint32_t type, uint32_t member) member 94 drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c return hwmgr->smumgr_funcs->get_offsetof(type, member); member 2604 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c static uint32_t tonga_get_offsetof(uint32_t type, uint32_t member) member 2608 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c switch (member) { member 2636 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c switch (member) { member 2646 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c pr_warn("can't get the offset of type %x member %x\n", type, member); member 2159 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c static uint32_t vegam_get_offsetof(uint32_t type, uint32_t member) member 2163 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c switch (member) { member 2191 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c switch (member) { member 2201 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c pr_warn("can't get the offset of type %x member %x\n", type, member); member 215 drivers/gpu/drm/drm_mm.c #define RB_INSERT(root, member, expr) do { \ member 220 drivers/gpu/drm/drm_mm.c if (x < expr(rb_entry(rb, struct drm_mm_node, member))) \ member 225 drivers/gpu/drm/drm_mm.c rb_link_node(&node->member, rb, link); \ member 226 drivers/gpu/drm/drm_mm.c rb_insert_color(&node->member, &root); \ member 101 drivers/gpu/drm/drm_prime.c struct drm_prime_member *member; member 104 drivers/gpu/drm/drm_prime.c member = kmalloc(sizeof(*member), GFP_KERNEL); member 105 drivers/gpu/drm/drm_prime.c if (!member) member 109 drivers/gpu/drm/drm_prime.c member->dma_buf = dma_buf; member 110 drivers/gpu/drm/drm_prime.c member->handle = handle; member 124 drivers/gpu/drm/drm_prime.c rb_link_node(&member->dmabuf_rb, rb, p); member 125 drivers/gpu/drm/drm_prime.c rb_insert_color(&member->dmabuf_rb, &prime_fpriv->dmabufs); member 139 drivers/gpu/drm/drm_prime.c rb_link_node(&member->handle_rb, rb, p); member 140 drivers/gpu/drm/drm_prime.c rb_insert_color(&member->handle_rb, &prime_fpriv->handles); member 152 drivers/gpu/drm/drm_prime.c struct drm_prime_member *member; member 154 drivers/gpu/drm/drm_prime.c member = rb_entry(rb, struct drm_prime_member, handle_rb); member 155 drivers/gpu/drm/drm_prime.c if (member->handle == handle) member 156 drivers/gpu/drm/drm_prime.c return member->dma_buf; member 157 drivers/gpu/drm/drm_prime.c else if (member->handle < handle) member 174 drivers/gpu/drm/drm_prime.c struct drm_prime_member *member; member 176 drivers/gpu/drm/drm_prime.c member = rb_entry(rb, struct drm_prime_member, dmabuf_rb); member 177 drivers/gpu/drm/drm_prime.c if (member->dma_buf == dma_buf) { member 178 drivers/gpu/drm/drm_prime.c *handle = member->handle; member 180 drivers/gpu/drm/drm_prime.c } else if (member->dma_buf < dma_buf) { member 197 drivers/gpu/drm/drm_prime.c struct drm_prime_member *member; member 199 drivers/gpu/drm/drm_prime.c member = rb_entry(rb, struct drm_prime_member, dmabuf_rb); member 200 drivers/gpu/drm/drm_prime.c if (member->dma_buf == dma_buf) { member 201 drivers/gpu/drm/drm_prime.c rb_erase(&member->handle_rb, &prime_fpriv->handles); member 202 drivers/gpu/drm/drm_prime.c rb_erase(&member->dmabuf_rb, &prime_fpriv->dmabufs); member 205 drivers/gpu/drm/drm_prime.c kfree(member); member 207 drivers/gpu/drm/drm_prime.c } else if (member->dma_buf < dma_buf) { member 38 drivers/gpu/drm/i915/i915_params.c #define MEMBER(T, member, value) .member = (value), member 82 drivers/gpu/drm/i915/i915_params.h #define MEMBER(T, member, ...) T member; member 140 drivers/gpu/drm/i915/i915_utils.h #define check_struct_size(p, member, n, sz) \ member 142 drivers/gpu/drm/i915/i915_utils.h sizeof(*(p)->member) + __must_be_array((p)->member), \ member 179 drivers/gpu/drm/i915/i915_utils.h #define struct_member(T, member) (((T *)0)->member) member 181 drivers/gpu/drm/i915/i915_utils.h #define ptr_offset(ptr, member) offsetof(typeof(*(ptr)), member) member 195 drivers/gpu/drm/i915/i915_utils.h #define container_of_user(ptr, type, member) ({ \ member 197 drivers/gpu/drm/i915/i915_utils.h BUILD_BUG_ON_MSG(!__same_type(*(ptr), struct_member(type, member)) && \ member 200 drivers/gpu/drm/i915/i915_utils.h ((type __user *)(__mptr - offsetof(type, member))); }) member 12 drivers/gpu/drm/msm/msm_ringbuffer.h #define rbmemptr(ring, member) \ member 13 drivers/gpu/drm/msm/msm_ringbuffer.h ((ring)->memptrs_iova + offsetof(struct msm_rbmemptrs, member)) member 15 drivers/gpu/drm/msm/msm_ringbuffer.h #define rbmemptr_stats(ring, index, member) \ member 18 drivers/gpu/drm/msm/msm_ringbuffer.h offsetof(struct msm_gpu_submit_stats, member)) member 254 drivers/gpu/drm/nouveau/include/nvif/list.h #define container_of(ptr, type, member) \ member 255 drivers/gpu/drm/nouveau/include/nvif/list.h (type *)((char *)(ptr) - (char *) &((type *)0)->member) member 261 drivers/gpu/drm/nouveau/include/nvif/list.h #define list_entry(ptr, type, member) \ member 262 drivers/gpu/drm/nouveau/include/nvif/list.h container_of(ptr, type, member) member 276 drivers/gpu/drm/nouveau/include/nvif/list.h #define list_first_entry(ptr, type, member) \ member 277 drivers/gpu/drm/nouveau/include/nvif/list.h list_entry((ptr)->next, type, member) member 291 drivers/gpu/drm/nouveau/include/nvif/list.h #define list_last_entry(ptr, type, member) \ member 292 drivers/gpu/drm/nouveau/include/nvif/list.h list_entry((ptr)->prev, type, member) member 294 drivers/gpu/drm/nouveau/include/nvif/list.h #define __container_of(ptr, sample, member) \ member 295 drivers/gpu/drm/nouveau/include/nvif/list.h (void *)container_of((ptr), typeof(*(sample)), member) member 314 drivers/gpu/drm/nouveau/include/nvif/list.h #define list_for_each_entry(pos, head, member) \ member 315 drivers/gpu/drm/nouveau/include/nvif/list.h for (pos = __container_of((head)->next, pos, member); \ member 316 drivers/gpu/drm/nouveau/include/nvif/list.h &pos->member != (head); \ member 317 drivers/gpu/drm/nouveau/include/nvif/list.h pos = __container_of(pos->member.next, pos, member)) member 326 drivers/gpu/drm/nouveau/include/nvif/list.h #define list_for_each_entry_safe(pos, tmp, head, member) \ member 327 drivers/gpu/drm/nouveau/include/nvif/list.h for (pos = __container_of((head)->next, pos, member), \ member 328 drivers/gpu/drm/nouveau/include/nvif/list.h tmp = __container_of(pos->member.next, pos, member); \ member 329 drivers/gpu/drm/nouveau/include/nvif/list.h &pos->member != (head); \ member 330 drivers/gpu/drm/nouveau/include/nvif/list.h pos = tmp, tmp = __container_of(pos->member.next, tmp, member)) member 333 drivers/gpu/drm/nouveau/include/nvif/list.h #define list_for_each_entry_reverse(pos, head, member) \ member 334 drivers/gpu/drm/nouveau/include/nvif/list.h for (pos = __container_of((head)->prev, pos, member); \ member 335 drivers/gpu/drm/nouveau/include/nvif/list.h &pos->member != (head); \ member 336 drivers/gpu/drm/nouveau/include/nvif/list.h pos = __container_of(pos->member.prev, pos, member)) member 338 drivers/gpu/drm/nouveau/include/nvif/list.h #define list_for_each_entry_continue(pos, head, member) \ member 339 drivers/gpu/drm/nouveau/include/nvif/list.h for (pos = __container_of(pos->member.next, pos, member); \ member 340 drivers/gpu/drm/nouveau/include/nvif/list.h &pos->member != (head); \ member 341 drivers/gpu/drm/nouveau/include/nvif/list.h pos = __container_of(pos->member.next, pos, member)) member 343 drivers/gpu/drm/nouveau/include/nvif/list.h #define list_for_each_entry_continue_reverse(pos, head, member) \ member 344 drivers/gpu/drm/nouveau/include/nvif/list.h for (pos = __container_of(pos->member.prev, pos, member); \ member 345 drivers/gpu/drm/nouveau/include/nvif/list.h &pos->member != (head); \ member 346 drivers/gpu/drm/nouveau/include/nvif/list.h pos = __container_of(pos->member.prev, pos, member)) member 348 drivers/gpu/drm/nouveau/include/nvif/list.h #define list_for_each_entry_from(pos, head, member) \ member 350 drivers/gpu/drm/nouveau/include/nvif/list.h &pos->member != (head); \ member 351 drivers/gpu/drm/nouveau/include/nvif/list.h pos = __container_of(pos->member.next, pos, member)) member 35 drivers/gpu/drm/panfrost/panfrost_drv.c #define PANFROST_FEATURE(name, member) \ member 37 drivers/gpu/drm/panfrost/panfrost_drv.c param->value = pfdev->features.member; \ member 39 drivers/gpu/drm/panfrost/panfrost_drv.c #define PANFROST_FEATURE_ARRAY(name, member, max) \ member 42 drivers/gpu/drm/panfrost/panfrost_drv.c param->value = pfdev->features.member[param->param - \ member 28 drivers/gpu/drm/radeon/mkregtable.c #define container_of(ptr, type, member) ({ \ member 29 drivers/gpu/drm/radeon/mkregtable.c const typeof(((type *)0)->member)*__mptr = (ptr); \ member 30 drivers/gpu/drm/radeon/mkregtable.c (type *)((char *)__mptr - offsetof(type, member)); }) member 92 drivers/gpu/drm/radeon/mkregtable.c #define list_entry(ptr, type, member) \ member 93 drivers/gpu/drm/radeon/mkregtable.c container_of(ptr, type, member) member 101 drivers/gpu/drm/radeon/mkregtable.c #define list_for_each_entry(pos, head, member) \ member 102 drivers/gpu/drm/radeon/mkregtable.c for (pos = list_entry((head)->next, typeof(*pos), member); \ member 103 drivers/gpu/drm/radeon/mkregtable.c &pos->member != (head); \ member 104 drivers/gpu/drm/radeon/mkregtable.c pos = list_entry(pos->member.next, typeof(*pos), member)) member 200 drivers/infiniband/core/multicast.c static void deref_member(struct mcast_member *member) member 202 drivers/infiniband/core/multicast.c if (atomic_dec_and_test(&member->refcount)) member 203 drivers/infiniband/core/multicast.c complete(&member->comp); member 206 drivers/infiniband/core/multicast.c static void queue_join(struct mcast_member *member) member 208 drivers/infiniband/core/multicast.c struct mcast_group *group = member->group; member 212 drivers/infiniband/core/multicast.c list_add_tail(&member->list, &group->pending_list); member 330 drivers/infiniband/core/multicast.c static int send_join(struct mcast_group *group, struct mcast_member *member) member 335 drivers/infiniband/core/multicast.c group->last_join = member; member 338 drivers/infiniband/core/multicast.c &member->multicast.rec, member 339 drivers/infiniband/core/multicast.c member->multicast.comp_mask, member 365 drivers/infiniband/core/multicast.c static void join_group(struct mcast_group *group, struct mcast_member *member, member 368 drivers/infiniband/core/multicast.c member->state = MCAST_MEMBER; member 371 drivers/infiniband/core/multicast.c member->multicast.rec = group->rec; member 372 drivers/infiniband/core/multicast.c member->multicast.rec.join_state = join_state; member 373 drivers/infiniband/core/multicast.c list_move(&member->list, &group->active_list); member 376 drivers/infiniband/core/multicast.c static int fail_join(struct mcast_group *group, struct mcast_member *member, member 380 drivers/infiniband/core/multicast.c list_del_init(&member->list); member 382 drivers/infiniband/core/multicast.c return member->multicast.callback(status, &member->multicast); member 387 drivers/infiniband/core/multicast.c struct mcast_member *member; member 402 drivers/infiniband/core/multicast.c member = list_entry(group->active_list.next, member 404 drivers/infiniband/core/multicast.c atomic_inc(&member->refcount); member 405 drivers/infiniband/core/multicast.c list_del_init(&member->list); member 406 drivers/infiniband/core/multicast.c adjust_membership(group, member->multicast.rec.join_state, -1); member 407 drivers/infiniband/core/multicast.c member->state = MCAST_ERROR; member 410 drivers/infiniband/core/multicast.c ret = member->multicast.callback(-ENETRESET, member 411 drivers/infiniband/core/multicast.c &member->multicast); member 412 drivers/infiniband/core/multicast.c deref_member(member); member 414 drivers/infiniband/core/multicast.c ib_sa_free_multicast(&member->multicast); member 427 drivers/infiniband/core/multicast.c struct mcast_member *member; member 444 drivers/infiniband/core/multicast.c member = list_entry(group->pending_list.next, member 446 drivers/infiniband/core/multicast.c multicast = &member->multicast; member 448 drivers/infiniband/core/multicast.c atomic_inc(&member->refcount); member 454 drivers/infiniband/core/multicast.c join_group(group, member, join_state); member 456 drivers/infiniband/core/multicast.c list_del_init(&member->list); member 461 drivers/infiniband/core/multicast.c status = send_join(group, member); member 463 drivers/infiniband/core/multicast.c deref_member(member); member 466 drivers/infiniband/core/multicast.c ret = fail_join(group, member, status); member 469 drivers/infiniband/core/multicast.c deref_member(member); member 471 drivers/infiniband/core/multicast.c ib_sa_free_multicast(&member->multicast); member 493 drivers/infiniband/core/multicast.c struct mcast_member *member; member 497 drivers/infiniband/core/multicast.c member = list_entry(group->pending_list.next, member 499 drivers/infiniband/core/multicast.c if (group->last_join == member) { member 500 drivers/infiniband/core/multicast.c atomic_inc(&member->refcount); member 501 drivers/infiniband/core/multicast.c list_del_init(&member->list); member 503 drivers/infiniband/core/multicast.c ret = member->multicast.callback(status, &member->multicast); member 504 drivers/infiniband/core/multicast.c deref_member(member); member 506 drivers/infiniband/core/multicast.c ib_sa_free_multicast(&member->multicast); member 616 drivers/infiniband/core/multicast.c struct mcast_member *member; member 624 drivers/infiniband/core/multicast.c member = kmalloc(sizeof *member, gfp_mask); member 625 drivers/infiniband/core/multicast.c if (!member) member 629 drivers/infiniband/core/multicast.c member->client = client; member 630 drivers/infiniband/core/multicast.c member->multicast.rec = *rec; member 631 drivers/infiniband/core/multicast.c member->multicast.comp_mask = comp_mask; member 632 drivers/infiniband/core/multicast.c member->multicast.callback = callback; member 633 drivers/infiniband/core/multicast.c member->multicast.context = context; member 634 drivers/infiniband/core/multicast.c init_completion(&member->comp); member 635 drivers/infiniband/core/multicast.c atomic_set(&member->refcount, 1); member 636 drivers/infiniband/core/multicast.c member->state = MCAST_JOINING; member 638 drivers/infiniband/core/multicast.c member->group = acquire_group(&dev->port[port_num - dev->start_port], member 640 drivers/infiniband/core/multicast.c if (!member->group) { member 651 drivers/infiniband/core/multicast.c multicast = &member->multicast; member 652 drivers/infiniband/core/multicast.c queue_join(member); member 657 drivers/infiniband/core/multicast.c kfree(member); member 664 drivers/infiniband/core/multicast.c struct mcast_member *member; member 667 drivers/infiniband/core/multicast.c member = container_of(multicast, struct mcast_member, multicast); member 668 drivers/infiniband/core/multicast.c group = member->group; member 671 drivers/infiniband/core/multicast.c if (member->state == MCAST_MEMBER) member 674 drivers/infiniband/core/multicast.c list_del_init(&member->list); member 686 drivers/infiniband/core/multicast.c deref_member(member); member 687 drivers/infiniband/core/multicast.c wait_for_completion(&member->comp); member 688 drivers/infiniband/core/multicast.c ib_sa_client_put(member->client); member 689 drivers/infiniband/core/multicast.c kfree(member); member 177 drivers/infiniband/hw/bnxt_re/bnxt_re.h #define to_bnxt_re_dev(ptr, member) \ member 178 drivers/infiniband/hw/bnxt_re/bnxt_re.h container_of((ptr), struct bnxt_re_dev, member) member 232 drivers/infiniband/hw/bnxt_re/qplib_res.h #define to_bnxt_qplib(ptr, type, member) \ member 233 drivers/infiniband/hw/bnxt_re/qplib_res.h container_of(ptr, type, member) member 280 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h #define vnic_hash_for_each_safe(name, bkt, tmp, obj, member) \ member 283 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h hlist_for_each_entry_safe(obj, tmp, &name[bkt], member) member 285 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h #define vnic_hash_for_each_possible(name, obj, member, key) \ member 287 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h &name[hash_min(key, ilog2(OPA_VNIC_MAC_TBL_SIZE))], member) member 289 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h #define vnic_hash_for_each(name, bkt, obj, member) \ member 292 drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h hlist_for_each_entry(obj, &name[bkt], member) member 194 drivers/isdn/mISDN/dsp.h *member; member 162 drivers/isdn/mISDN/dsp_cmx.c struct dsp_conf_member *member; member 179 drivers/isdn/mISDN/dsp_cmx.c list_for_each_entry(member, &conf->mlist, list) { member 184 drivers/isdn/mISDN/dsp_cmx.c member->dsp->name, member->dsp->pcm_slot_tx, member 185 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_bank_tx, member->dsp->pcm_slot_rx, member 186 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_bank_rx, member->dsp->hfc_conf, member 187 drivers/isdn/mISDN/dsp_cmx.c member->dsp->tx_data, member->dsp->rx_is_off, member 188 drivers/isdn/mISDN/dsp_cmx.c (member->dsp == dsp) ? " *this*" : ""); member 222 drivers/isdn/mISDN/dsp_cmx.c struct dsp_conf_member *member; member 228 drivers/isdn/mISDN/dsp_cmx.c if (dsp->member) { member 240 drivers/isdn/mISDN/dsp_cmx.c member = kzalloc(sizeof(struct dsp_conf_member), GFP_ATOMIC); member 241 drivers/isdn/mISDN/dsp_cmx.c if (!member) { member 245 drivers/isdn/mISDN/dsp_cmx.c member->dsp = dsp; member 252 drivers/isdn/mISDN/dsp_cmx.c list_add_tail(&member->list, &conf->mlist); member 255 drivers/isdn/mISDN/dsp_cmx.c dsp->member = member; member 267 drivers/isdn/mISDN/dsp_cmx.c struct dsp_conf_member *member; member 288 drivers/isdn/mISDN/dsp_cmx.c list_for_each_entry(member, &dsp->conf->mlist, list) { member 289 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp == dsp) { member 290 drivers/isdn/mISDN/dsp_cmx.c list_del(&member->list); member 292 drivers/isdn/mISDN/dsp_cmx.c dsp->member = NULL; member 293 drivers/isdn/mISDN/dsp_cmx.c kfree(member); member 386 drivers/isdn/mISDN/dsp_cmx.c struct dsp_conf_member *member, *nextm; member 513 drivers/isdn/mISDN/dsp_cmx.c member = list_entry(conf->mlist.next, struct dsp_conf_member, list); member 514 drivers/isdn/mISDN/dsp_cmx.c same_hfc = member->dsp->features.hfc_id; member 515 drivers/isdn/mISDN/dsp_cmx.c same_pcm = member->dsp->features.pcm_id; member 517 drivers/isdn/mISDN/dsp_cmx.c list_for_each_entry(member, &conf->mlist, list) { member 519 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->tx_mix) { member 524 drivers/isdn/mISDN/dsp_cmx.c member->dsp->name); member 526 drivers/isdn/mISDN/dsp_cmx.c list_for_each_entry(member, &conf->mlist, list) { member 527 drivers/isdn/mISDN/dsp_cmx.c dsp = member->dsp; member 569 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->echo.hardware || member->dsp->echo.software) { member 574 drivers/isdn/mISDN/dsp_cmx.c member->dsp->name); member 578 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->tx_mix) { member 583 drivers/isdn/mISDN/dsp_cmx.c __func__, member->dsp->name); member 587 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->tx_volume) { member 592 drivers/isdn/mISDN/dsp_cmx.c __func__, member->dsp->name); member 595 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->rx_volume) { member 600 drivers/isdn/mISDN/dsp_cmx.c __func__, member->dsp->name); member 604 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->tx_data) { member 608 drivers/isdn/mISDN/dsp_cmx.c __func__, member->dsp->name); member 612 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->pipeline.inuse) { member 617 drivers/isdn/mISDN/dsp_cmx.c member->dsp->name); member 621 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->bf_enable) { member 625 drivers/isdn/mISDN/dsp_cmx.c __func__, member->dsp->name); member 629 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->features.pcm_id < 0) { member 634 drivers/isdn/mISDN/dsp_cmx.c __func__, member->dsp->name); member 638 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->features.pcm_id != same_pcm) { member 644 drivers/isdn/mISDN/dsp_cmx.c __func__, member->dsp->name); member 648 drivers/isdn/mISDN/dsp_cmx.c if (same_hfc != member->dsp->features.hfc_id) member 651 drivers/isdn/mISDN/dsp_cmx.c if (current_conf < 0 && member->dsp->hfc_conf >= 0) member 652 drivers/isdn/mISDN/dsp_cmx.c current_conf = member->dsp->hfc_conf; member 654 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->hfc_conf < 0) member 672 drivers/isdn/mISDN/dsp_cmx.c member = list_entry(conf->mlist.next, struct dsp_conf_member, member 674 drivers/isdn/mISDN/dsp_cmx.c dsp = member->dsp; member 686 drivers/isdn/mISDN/dsp_cmx.c member = list_entry(conf->mlist.next, struct dsp_conf_member, member 688 drivers/isdn/mISDN/dsp_cmx.c nextm = list_entry(member->list.next, struct dsp_conf_member, member 691 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->hfc_conf >= 0) { member 696 drivers/isdn/mISDN/dsp_cmx.c __func__, member->dsp->name, member 697 drivers/isdn/mISDN/dsp_cmx.c member->dsp->hfc_conf); member 698 drivers/isdn/mISDN/dsp_cmx.c dsp_cmx_hw_message(member->dsp, member 700 drivers/isdn/mISDN/dsp_cmx.c member->dsp->hfc_conf = -1; member 714 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->features.pcm_banks > 1 && member 716 drivers/isdn/mISDN/dsp_cmx.c member->dsp->features.hfc_id != member 719 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->pcm_slot_tx >= 0 && member 720 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_rx >= 0 && member 724 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_rx && member 726 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_tx && member 728 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_tx && member 729 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_bank_tx != member 730 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_bank_rx && member 740 drivers/isdn/mISDN/dsp_cmx.c member->dsp->name, member 742 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_tx, member 743 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_bank_tx, member 744 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_bank_rx); member 752 drivers/isdn/mISDN/dsp_cmx.c if (dsp != member->dsp && member 754 drivers/isdn/mISDN/dsp_cmx.c member->dsp->features.pcm_id == member 767 drivers/isdn/mISDN/dsp_cmx.c ii = member->dsp->features.pcm_slots; member 778 drivers/isdn/mISDN/dsp_cmx.c member->dsp->name, member 784 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_tx = i; member 785 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_rx = i; member 788 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_bank_rx = 0; member 789 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_bank_tx = 1; member 798 drivers/isdn/mISDN/dsp_cmx.c member->dsp->name, member 800 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_tx); member 801 drivers/isdn/mISDN/dsp_cmx.c dsp_cmx_hw_message(member->dsp, MISDN_CTRL_HFC_PCM_CONN, member 802 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_tx, member->dsp->pcm_bank_tx, member 803 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_rx, member->dsp->pcm_bank_rx); member 813 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->pcm_slot_tx >= 0 && member 814 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_rx >= 0 && member 818 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_rx && member 820 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_tx && member 821 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_tx != member 822 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_rx && member 823 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_bank_tx == 0 && member 824 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_bank_rx == 0 && member 833 drivers/isdn/mISDN/dsp_cmx.c member->dsp->name, member 835 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_tx, member 836 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_rx); member 844 drivers/isdn/mISDN/dsp_cmx.c if (dsp != member->dsp && member 846 drivers/isdn/mISDN/dsp_cmx.c member->dsp->features.pcm_id == member 859 drivers/isdn/mISDN/dsp_cmx.c ii = member->dsp->features.pcm_slots; member 870 drivers/isdn/mISDN/dsp_cmx.c member->dsp->name, member 887 drivers/isdn/mISDN/dsp_cmx.c member->dsp->name, member 893 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_tx = i1; member 894 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_rx = i2; member 897 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_bank_rx = 0; member 898 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_bank_tx = 0; member 907 drivers/isdn/mISDN/dsp_cmx.c member->dsp->name, member 909 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_tx, member 910 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_rx); member 911 drivers/isdn/mISDN/dsp_cmx.c dsp_cmx_hw_message(member->dsp, MISDN_CTRL_HFC_PCM_CONN, member 912 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_tx, member->dsp->pcm_bank_tx, member 913 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_rx, member->dsp->pcm_bank_rx); member 953 drivers/isdn/mISDN/dsp_cmx.c list_for_each_entry(member, &conf->mlist, list) { member 956 drivers/isdn/mISDN/dsp_cmx.c if (!member->dsp->features.hfc_conf) member 959 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->hdlc) member 962 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->hfc_conf == current_conf) member 972 drivers/isdn/mISDN/dsp_cmx.c dsp != member->dsp && member 974 drivers/isdn/mISDN/dsp_cmx.c member->dsp->features.pcm_id == member 988 drivers/isdn/mISDN/dsp_cmx.c ii = member->dsp->features.pcm_slots; member 1007 drivers/isdn/mISDN/dsp_cmx.c member->dsp->name, current_conf, i); member 1009 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_tx = i; member 1010 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_slot_rx = i; member 1011 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_bank_tx = 2; /* loop */ member 1012 drivers/isdn/mISDN/dsp_cmx.c member->dsp->pcm_bank_rx = 2; member 1013 drivers/isdn/mISDN/dsp_cmx.c member->dsp->hfc_conf = current_conf; member 1014 drivers/isdn/mISDN/dsp_cmx.c dsp_cmx_hw_message(member->dsp, MISDN_CTRL_HFC_PCM_CONN, member 1016 drivers/isdn/mISDN/dsp_cmx.c dsp_cmx_hw_message(member->dsp, member 1068 drivers/isdn/mISDN/dsp_cmx.c struct dsp_conf_member *member; member 1121 drivers/isdn/mISDN/dsp_cmx.c member = list_entry(conf->mlist.next, struct dsp_conf_member, member 1123 drivers/isdn/mISDN/dsp_cmx.c if (dsp->hdlc && !member->dsp->hdlc) { member 1129 drivers/isdn/mISDN/dsp_cmx.c if (!dsp->hdlc && member->dsp->hdlc) { member 1312 drivers/isdn/mISDN/dsp_cmx.c struct dsp *member, *other; member 1367 drivers/isdn/mISDN/dsp_cmx.c member = dsp; member 1462 drivers/isdn/mISDN/dsp_cmx.c if (other == member) member 1631 drivers/isdn/mISDN/dsp_cmx.c struct dsp_conf_member *member; member 1705 drivers/isdn/mISDN/dsp_cmx.c member = list_entry(conf->mlist.next, member 1707 drivers/isdn/mISDN/dsp_cmx.c if (member->dsp->hdlc) member 1711 drivers/isdn/mISDN/dsp_cmx.c list_for_each_entry(member, &conf->mlist, list) { member 1712 drivers/isdn/mISDN/dsp_cmx.c dsp = member->dsp; member 1726 drivers/isdn/mISDN/dsp_cmx.c list_for_each_entry(member, &conf->mlist, list) { member 1728 drivers/isdn/mISDN/dsp_cmx.c dsp_cmx_send_member(member->dsp, length, member 1919 drivers/isdn/mISDN/dsp_cmx.c struct dsp_conf_member *member; member 1948 drivers/isdn/mISDN/dsp_cmx.c list_for_each_entry(member, &dsp->conf->mlist, list) { member 1949 drivers/isdn/mISDN/dsp_cmx.c if (dsp->echo.software || member->dsp != dsp) { member 1955 drivers/isdn/mISDN/dsp_cmx.c skb_queue_tail(&member->dsp->sendq, nskb); member 1956 drivers/isdn/mISDN/dsp_cmx.c schedule_work(&member->dsp->workq); member 237 drivers/isdn/mISDN/dsp_core.c struct dsp_conf_member *member; member 248 drivers/isdn/mISDN/dsp_core.c list_for_each_entry(member, &dsp->conf->mlist, list) { member 249 drivers/isdn/mISDN/dsp_core.c dsp_rx_off_member(member->dsp); member 464 drivers/md/bcache/util.h #define container_of_or_null(ptr, type, member) \ member 467 drivers/md/bcache/util.h _ptr ? container_of(_ptr, type, member) : NULL; \ member 470 drivers/md/bcache/util.h #define RB_INSERT(root, new, member, cmp) \ member 479 drivers/md/bcache/util.h this = container_of(*n, typeof(*(new)), member); \ member 488 drivers/md/bcache/util.h rb_link_node(&(new)->member, parent, n); \ member 489 drivers/md/bcache/util.h rb_insert_color(&(new)->member, root); \ member 495 drivers/md/bcache/util.h #define RB_SEARCH(root, search, member, cmp) \ member 502 drivers/md/bcache/util.h this = container_of(n, typeof(search), member); \ member 515 drivers/md/bcache/util.h #define RB_GREATER(root, search, member, cmp) \ member 522 drivers/md/bcache/util.h this = container_of(n, typeof(search), member); \ member 533 drivers/md/bcache/util.h #define RB_FIRST(root, type, member) \ member 534 drivers/md/bcache/util.h container_of_or_null(rb_first(root), type, member) member 536 drivers/md/bcache/util.h #define RB_LAST(root, type, member) \ member 537 drivers/md/bcache/util.h container_of_or_null(rb_last(root), type, member) member 539 drivers/md/bcache/util.h #define RB_NEXT(ptr, member) \ member 540 drivers/md/bcache/util.h container_of_or_null(rb_next(&(ptr)->member), typeof(*ptr), member) member 542 drivers/md/bcache/util.h #define RB_PREV(ptr, member) \ member 543 drivers/md/bcache/util.h container_of_or_null(rb_prev(&(ptr)->member), typeof(*ptr), member) member 284 drivers/media/pci/cx18/cx18-driver.h #define list_entry_is_past_end(pos, head, member) \ member 285 drivers/media/pci/cx18/cx18-driver.h (&pos->member == (head)) member 330 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c static void mtk_jpeg_dec_set_du_membership(void __iomem *base, u32 member, member 334 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c member = 0x3FFFFFFC; member 335 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c member |= (isgray << 31) | (gmc << 30); member 336 drivers/media/platform/mtk-jpeg/mtk_jpeg_hw.c writel(member, base + JPGDEC_REG_DU_CTRL); member 1038 drivers/mtd/ubi/ubi.h #define ubi_rb_for_each_entry(rb, pos, root, member) \ member 1040 drivers/mtd/ubi/ubi.h pos = (rb ? container_of(rb, typeof(*pos), member) : NULL); \ member 1043 drivers/mtd/ubi/ubi.h pos = (rb ? container_of(rb, typeof(*pos), member) : NULL)) member 140 drivers/net/can/cc770/cc770.h #define cc770_read_reg(priv, member) \ member 141 drivers/net/can/cc770/cc770.h priv->read_reg(priv, offsetof(struct cc770_regs, member)) member 143 drivers/net/can/cc770/cc770.h #define cc770_write_reg(priv, member, value) \ member 144 drivers/net/can/cc770/cc770.h priv->write_reg(priv, offsetof(struct cc770_regs, member), value) member 682 drivers/net/can/softing/softing_main.c #define DEV_ATTR_RO(name, member) \ member 687 drivers/net/can/softing/softing_main.c return sprintf(buf, "%u\n", card->member); \ member 691 drivers/net/can/softing/softing_main.c #define DEV_ATTR_RO_STR(name, member) \ member 696 drivers/net/can/softing/softing_main.c return sprintf(buf, "%s\n", card->member); \ member 255 drivers/net/can/usb/ucan.c #define UCAN_IN_LEN(member) (UCAN_OUT_HDR_SIZE + sizeof(member)) member 400 drivers/net/dsa/microchip/ksz8795.c static void ksz8795_from_vlan(u16 vlan, u8 *fid, u8 *member, u8 *valid) member 403 drivers/net/dsa/microchip/ksz8795.c *member = (vlan & VLAN_TABLE_MEMBERSHIP) >> VLAN_TABLE_MEMBERSHIP_S; member 407 drivers/net/dsa/microchip/ksz8795.c static void ksz8795_to_vlan(u8 fid, u8 member, u8 valid, u16 *vlan) member 410 drivers/net/dsa/microchip/ksz8795.c *vlan |= (u16)member << VLAN_TABLE_MEMBERSHIP_S; member 665 drivers/net/dsa/microchip/ksz8795.c u8 member) member 671 drivers/net/dsa/microchip/ksz8795.c data |= (member & dev->port_mask); member 673 drivers/net/dsa/microchip/ksz8795.c dev->ports[port].member = member; member 680 drivers/net/dsa/microchip/ksz8795.c int forward = dev->member; member 682 drivers/net/dsa/microchip/ksz8795.c int member = -1; member 694 drivers/net/dsa/microchip/ksz8795.c member = 0; member 700 drivers/net/dsa/microchip/ksz8795.c member = dev->host_mask | p->vid_member; member 714 drivers/net/dsa/microchip/ksz8795.c dev->member |= BIT(port); member 715 drivers/net/dsa/microchip/ksz8795.c member = dev->member; member 717 drivers/net/dsa/microchip/ksz8795.c member = dev->host_mask | p->vid_member; member 724 drivers/net/dsa/microchip/ksz8795.c member = dev->host_mask | p->vid_member; member 743 drivers/net/dsa/microchip/ksz8795.c if (member >= 0 && member != p->member) member 744 drivers/net/dsa/microchip/ksz8795.c ksz8795_cfg_port_member(dev, port, (u8)member); member 749 drivers/net/dsa/microchip/ksz8795.c dev->member &= ~BIT(port); member 755 drivers/net/dsa/microchip/ksz8795.c if (forward != dev->member) member 808 drivers/net/dsa/microchip/ksz8795.c u8 fid, member, valid; member 814 drivers/net/dsa/microchip/ksz8795.c ksz8795_from_vlan(data, &fid, &member, &valid); member 822 drivers/net/dsa/microchip/ksz8795.c member |= BIT(port); member 824 drivers/net/dsa/microchip/ksz8795.c ksz8795_to_vlan(fid, member, valid, &data); member 846 drivers/net/dsa/microchip/ksz8795.c u8 fid, member, valid; member 855 drivers/net/dsa/microchip/ksz8795.c ksz8795_from_vlan(data, &fid, &member, &valid); member 857 drivers/net/dsa/microchip/ksz8795.c member &= ~BIT(port); member 860 drivers/net/dsa/microchip/ksz8795.c if (!member) { member 868 drivers/net/dsa/microchip/ksz8795.c ksz8795_to_vlan(fid, member, valid, &data); member 926 drivers/net/dsa/microchip/ksz8795.c u8 data8, member; member 977 drivers/net/dsa/microchip/ksz8795.c member = dev->port_mask; member 981 drivers/net/dsa/microchip/ksz8795.c member = dev->host_mask | p->vid_member; member 988 drivers/net/dsa/microchip/ksz8795.c ksz8795_cfg_port_member(dev, port, member); member 1009 drivers/net/dsa/microchip/ksz8795.c dev->member = dev->host_mask; member 1018 drivers/net/dsa/microchip/ksz8795.c p->member = dev->port_mask; member 390 drivers/net/dsa/microchip/ksz9477.c u8 member) member 392 drivers/net/dsa/microchip/ksz9477.c ksz_pwrite32(dev, port, REG_PORT_VLAN_MEMBERSHIP__4, member); member 393 drivers/net/dsa/microchip/ksz9477.c dev->ports[port].member = member; member 402 drivers/net/dsa/microchip/ksz9477.c int member = -1; member 403 drivers/net/dsa/microchip/ksz9477.c int forward = dev->member; member 412 drivers/net/dsa/microchip/ksz9477.c member = 0; member 418 drivers/net/dsa/microchip/ksz9477.c member = dev->host_mask | p->vid_member; member 430 drivers/net/dsa/microchip/ksz9477.c member = dev->host_mask | p->vid_member; member 435 drivers/net/dsa/microchip/ksz9477.c dev->member |= (1 << port); member 436 drivers/net/dsa/microchip/ksz9477.c member = dev->member; member 444 drivers/net/dsa/microchip/ksz9477.c member = dev->host_mask | p->vid_member; member 464 drivers/net/dsa/microchip/ksz9477.c if (member >= 0 && member != p->member) member 465 drivers/net/dsa/microchip/ksz9477.c ksz9477_cfg_port_member(dev, port, (u8)member); member 470 drivers/net/dsa/microchip/ksz9477.c dev->member &= ~(1 << port); member 476 drivers/net/dsa/microchip/ksz9477.c if (forward != dev->member) member 1191 drivers/net/dsa/microchip/ksz9477.c u8 member; member 1271 drivers/net/dsa/microchip/ksz9477.c member = dev->port_mask; member 1275 drivers/net/dsa/microchip/ksz9477.c member = dev->host_mask | p->vid_member; member 1283 drivers/net/dsa/microchip/ksz9477.c ksz9477_cfg_port_member(dev, port, member); member 1327 drivers/net/dsa/microchip/ksz9477.c dev->member = dev->host_mask; member 1338 drivers/net/dsa/microchip/ksz9477.c p->member = dev->port_mask; member 32 drivers/net/dsa/microchip/ksz_common.c if (!(dev->member & (1 << i))) member 37 drivers/net/dsa/microchip/ksz_common.c p->member != dev->member) member 38 drivers/net/dsa/microchip/ksz_common.c dev->dev_ops->cfg_port_member(dev, i, dev->member); member 220 drivers/net/dsa/microchip/ksz_common.c dev->member &= ~(1 << port); member 255 drivers/net/dsa/microchip/ksz_common.c u8 member; member 261 drivers/net/dsa/microchip/ksz_common.c &member, ×tamp, member 263 drivers/net/dsa/microchip/ksz_common.c if (!ret && (member & BIT(port))) { member 28 drivers/net/dsa/microchip/ksz_common.h u16 member; member 87 drivers/net/dsa/microchip/ksz_common.h u16 member; member 121 drivers/net/dsa/microchip/ksz_common.h void (*cfg_port_member)(struct ksz_device *dev, int port, u8 member); member 1408 drivers/net/dsa/mv88e6xxx/chip.c if (vlan.member[i] == member 1761 drivers/net/dsa/mv88e6xxx/chip.c u16 vid, u8 member) member 1786 drivers/net/dsa/mv88e6xxx/chip.c vlan.member[i] = member; member 1788 drivers/net/dsa/mv88e6xxx/chip.c vlan.member[i] = non_member; member 1800 drivers/net/dsa/mv88e6xxx/chip.c } else if (vlan.member[port] != member) { member 1801 drivers/net/dsa/mv88e6xxx/chip.c vlan.member[port] = member; member 1820 drivers/net/dsa/mv88e6xxx/chip.c u8 member; member 1827 drivers/net/dsa/mv88e6xxx/chip.c member = MV88E6XXX_G1_VTU_DATA_MEMBER_TAG_UNMODIFIED; member 1829 drivers/net/dsa/mv88e6xxx/chip.c member = MV88E6XXX_G1_VTU_DATA_MEMBER_TAG_UNTAGGED; member 1831 drivers/net/dsa/mv88e6xxx/chip.c member = MV88E6XXX_G1_VTU_DATA_MEMBER_TAG_TAGGED; member 1836 drivers/net/dsa/mv88e6xxx/chip.c if (mv88e6xxx_port_vlan_join(chip, port, vid, member)) member 1867 drivers/net/dsa/mv88e6xxx/chip.c vlan.member[port] == MV88E6XXX_G1_VTU_DATA_MEMBER_TAG_NON_MEMBER) member 1870 drivers/net/dsa/mv88e6xxx/chip.c vlan.member[port] = MV88E6XXX_G1_VTU_DATA_MEMBER_TAG_NON_MEMBER; member 1875 drivers/net/dsa/mv88e6xxx/chip.c if (vlan.member[i] != member 150 drivers/net/dsa/mv88e6xxx/chip.h u8 member[DSA_MAX_PORTS]; member 150 drivers/net/dsa/mv88e6xxx/global1_vtu.c entry->member[i] = (regs[i / 4] >> member_offset) & 0x3; member 168 drivers/net/dsa/mv88e6xxx/global1_vtu.c regs[i / 4] |= (entry->member[i] & 0x3) << member_offset; member 405 drivers/net/dsa/mv88e6xxx/global1_vtu.c err = mv88e6390_g1_vtu_data_read(chip, entry->member); member 552 drivers/net/dsa/mv88e6xxx/global1_vtu.c err = mv88e6390_g1_vtu_data_write(chip, entry->member); member 31 drivers/net/dsa/realtek-smi-core.h u16 member; member 39 drivers/net/dsa/realtek-smi-core.h u16 member; member 120 drivers/net/dsa/realtek-smi-core.h int rtl8366_set_vlan(struct realtek_smi *smi, int vid, u32 member, member 39 drivers/net/dsa/rtl8366.c int rtl8366_set_vlan(struct realtek_smi *smi, int vid, u32 member, member 51 drivers/net/dsa/rtl8366.c vlan4k.member = member; member 68 drivers/net/dsa/rtl8366.c vlanmc.member = member; member 130 drivers/net/dsa/rtl8366.c if (vlanmc.vid == 0 && vlanmc.member == 0) { member 137 drivers/net/dsa/rtl8366.c vlanmc.member = vlan4k.member; member 164 drivers/net/dsa/rtl8366.c vlanmc.member = vlan4k.member; member 243 drivers/net/dsa/rtl8366.c vlanmc.member = 0; member 328 drivers/net/dsa/rtl8366.c vlan4k.member, member 370 drivers/net/dsa/rtl8366.c u32 member = 0; member 391 drivers/net/dsa/rtl8366.c member |= BIT(port); member 412 drivers/net/dsa/rtl8366.c ret = rtl8366_set_vlan(smi, port, member, untag, 0); member 445 drivers/net/dsa/rtl8366.c vlanmc.member = 0; member 1129 drivers/net/dsa/rtl8366rb.c vlan4k->member = data[1] & RTL8366RB_VLAN_MEMBER_MASK; member 1143 drivers/net/dsa/rtl8366rb.c vlan4k->member > RTL8366RB_VLAN_MEMBER_MASK || member 1149 drivers/net/dsa/rtl8366rb.c data[1] = (vlan4k->member & RTL8366RB_VLAN_MEMBER_MASK) | member 1194 drivers/net/dsa/rtl8366rb.c vlanmc->member = data[1] & RTL8366RB_VLAN_MEMBER_MASK; member 1210 drivers/net/dsa/rtl8366rb.c vlanmc->member > RTL8366RB_VLAN_MEMBER_MASK || member 1218 drivers/net/dsa/rtl8366rb.c data[1] = (vlanmc->member & RTL8366RB_VLAN_MEMBER_MASK) | member 1284 drivers/net/dsa/sja1105/sja1105_main.c struct net_device *br, bool member) member 1311 drivers/net/dsa/sja1105/sja1105_main.c sja1105_port_allow_traffic(l2_fwd, i, port, member); member 1312 drivers/net/dsa/sja1105/sja1105_main.c sja1105_port_allow_traffic(l2_fwd, port, i, member); member 423 drivers/net/ethernet/altera/altera_sgdma.c #define list_remove_head(list, entry, type, member) \ member 427 drivers/net/ethernet/altera/altera_sgdma.c entry = list_entry((list)->next, type, member); \ member 428 drivers/net/ethernet/altera/altera_sgdma.c list_del_init(&entry->member); \ member 432 drivers/net/ethernet/altera/altera_sgdma.c #define list_peek_head(list, entry, type, member) \ member 436 drivers/net/ethernet/altera/altera_sgdma.c entry = list_entry((list)->next, type, member); \ member 11826 drivers/net/ethernet/broadcom/tg3.c #define ESTAT_ADD(member) \ member 11827 drivers/net/ethernet/broadcom/tg3.c estats->member = old_estats->member + \ member 11828 drivers/net/ethernet/broadcom/tg3.c get_stat64(&hw_stats->member) member 19 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h #define HINIC_API_CMD_PI_SET(val, member) \ member 20 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h (((u32)(val) & HINIC_API_CMD_PI_##member##_MASK) << \ member 21 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h HINIC_API_CMD_PI_##member##_SHIFT) member 23 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h #define HINIC_API_CMD_PI_CLEAR(val, member) \ member 24 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h ((val) & (~(HINIC_API_CMD_PI_##member##_MASK \ member 25 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h << HINIC_API_CMD_PI_##member##_SHIFT))) member 31 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h #define HINIC_API_CMD_CHAIN_REQ_SET(val, member) \ member 32 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h (((u32)(val) & HINIC_API_CMD_CHAIN_REQ_##member##_MASK) << \ member 33 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h HINIC_API_CMD_CHAIN_REQ_##member##_SHIFT) member 35 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h #define HINIC_API_CMD_CHAIN_REQ_GET(val, member) \ member 36 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h (((val) >> HINIC_API_CMD_CHAIN_REQ_##member##_SHIFT) & \ member 37 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h HINIC_API_CMD_CHAIN_REQ_##member##_MASK) member 39 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h #define HINIC_API_CMD_CHAIN_REQ_CLEAR(val, member) \ member 40 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h ((val) & (~(HINIC_API_CMD_CHAIN_REQ_##member##_MASK \ member 41 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h << HINIC_API_CMD_CHAIN_REQ_##member##_SHIFT))) member 57 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h #define HINIC_API_CMD_CHAIN_CTRL_SET(val, member) \ member 58 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h (((u32)(val) & HINIC_API_CMD_CHAIN_CTRL_##member##_MASK) << \ member 59 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h HINIC_API_CMD_CHAIN_CTRL_##member##_SHIFT) member 61 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h #define HINIC_API_CMD_CHAIN_CTRL_CLEAR(val, member) \ member 62 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h ((val) & (~(HINIC_API_CMD_CHAIN_CTRL_##member##_MASK \ member 63 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h << HINIC_API_CMD_CHAIN_CTRL_##member##_SHIFT))) member 75 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h #define HINIC_API_CMD_CELL_CTRL_SET(val, member) \ member 76 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h ((((u64)val) & HINIC_API_CMD_CELL_CTRL_##member##_MASK) << \ member 77 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h HINIC_API_CMD_CELL_CTRL_##member##_SHIFT) member 93 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h #define HINIC_API_CMD_DESC_SET(val, member) \ member 94 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h ((((u64)val) & HINIC_API_CMD_DESC_##member##_MASK) << \ member 95 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h HINIC_API_CMD_DESC_##member##_SHIFT) member 101 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h #define HINIC_API_CMD_STATUS_HEADER_GET(val, member) \ member 102 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h (((val) >> HINIC_API_CMD_STATUS_HEADER_##member##_SHIFT) & \ member 103 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h HINIC_API_CMD_STATUS_HEADER_##member##_MASK) member 111 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h #define HINIC_API_CMD_STATUS_GET(val, member) \ member 112 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h (((val) >> HINIC_API_CMD_STATUS_##member##_SHIFT) & \ member 113 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h HINIC_API_CMD_STATUS_##member##_MASK) member 38 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c #define CMDQ_CEQE_GET(val, member) \ member 39 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c (((val) >> CMDQ_CEQE_##member##_SHIFT) \ member 40 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c & CMDQ_CEQE_##member##_MASK) member 46 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c #define CMDQ_WQE_ERRCODE_GET(val, member) \ member 47 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c (((val) >> CMDQ_WQE_ERRCODE_##member##_SHIFT) \ member 48 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c & CMDQ_WQE_ERRCODE_##member##_MASK) member 30 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h #define HINIC_CMDQ_CTXT_PAGE_INFO_SET(val, member) \ member 31 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h (((u64)(val) & HINIC_CMDQ_CTXT_##member##_MASK) \ member 32 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h << HINIC_CMDQ_CTXT_##member##_SHIFT) member 34 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h #define HINIC_CMDQ_CTXT_PAGE_INFO_CLEAR(val, member) \ member 35 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h ((val) & (~((u64)HINIC_CMDQ_CTXT_##member##_MASK \ member 36 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h << HINIC_CMDQ_CTXT_##member##_SHIFT))) member 44 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h #define HINIC_CMDQ_CTXT_BLOCK_INFO_SET(val, member) \ member 45 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h (((u64)(val) & HINIC_CMDQ_CTXT_##member##_MASK) \ member 46 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h << HINIC_CMDQ_CTXT_##member##_SHIFT) member 48 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h #define HINIC_CMDQ_CTXT_BLOCK_INFO_CLEAR(val, member) \ member 49 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h ((val) & (~((u64)HINIC_CMDQ_CTXT_##member##_MASK \ member 50 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h << HINIC_CMDQ_CTXT_##member##_SHIFT))) member 56 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h #define HINIC_SAVED_DATA_SET(val, member) \ member 57 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h (((u32)(val) & HINIC_SAVED_DATA_##member##_MASK) \ member 58 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h << HINIC_SAVED_DATA_##member##_SHIFT) member 60 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h #define HINIC_SAVED_DATA_GET(val, member) \ member 61 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h (((val) >> HINIC_SAVED_DATA_##member##_SHIFT) \ member 62 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h & HINIC_SAVED_DATA_##member##_MASK) member 64 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h #define HINIC_SAVED_DATA_CLEAR(val, member) \ member 65 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h ((val) & (~(HINIC_SAVED_DATA_##member##_MASK \ member 66 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h << HINIC_SAVED_DATA_##member##_SHIFT))) member 78 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h #define HINIC_CMDQ_DB_INFO_SET(val, member) \ member 79 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h (((u32)(val) & HINIC_CMDQ_DB_INFO_##member##_MASK) \ member 80 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h << HINIC_CMDQ_DB_INFO_##member##_SHIFT) member 29 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h #define HINIC_AEQ_CTRL_0_SET(val, member) \ member 30 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h (((u32)(val) & HINIC_AEQ_CTRL_0_##member##_MASK) << \ member 31 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h HINIC_AEQ_CTRL_0_##member##_SHIFT) member 33 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h #define HINIC_AEQ_CTRL_0_CLEAR(val, member) \ member 34 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h ((val) & (~(HINIC_AEQ_CTRL_0_##member##_MASK \ member 35 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h << HINIC_AEQ_CTRL_0_##member##_SHIFT))) member 45 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h #define HINIC_AEQ_CTRL_1_SET(val, member) \ member 46 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h (((u32)(val) & HINIC_AEQ_CTRL_1_##member##_MASK) << \ member 47 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h HINIC_AEQ_CTRL_1_##member##_SHIFT) member 49 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h #define HINIC_AEQ_CTRL_1_CLEAR(val, member) \ member 50 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h ((val) & (~(HINIC_AEQ_CTRL_1_##member##_MASK \ member 51 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h << HINIC_AEQ_CTRL_1_##member##_SHIFT))) member 65 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h #define HINIC_CEQ_CTRL_0_SET(val, member) \ member 66 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h (((u32)(val) & HINIC_CEQ_CTRL_0_##member##_MASK) << \ member 67 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h HINIC_CEQ_CTRL_0_##member##_SHIFT) member 69 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h #define HINIC_CEQ_CTRL_0_CLEAR(val, member) \ member 70 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h ((val) & (~(HINIC_CEQ_CTRL_0_##member##_MASK \ member 71 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h << HINIC_CEQ_CTRL_0_##member##_SHIFT))) member 79 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h #define HINIC_CEQ_CTRL_1_SET(val, member) \ member 80 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h (((u32)(val) & HINIC_CEQ_CTRL_1_##member##_MASK) << \ member 81 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h HINIC_CEQ_CTRL_1_##member##_SHIFT) member 83 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h #define HINIC_CEQ_CTRL_1_CLEAR(val, member) \ member 84 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h ((val) & (~(HINIC_CEQ_CTRL_1_##member##_MASK \ member 85 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h << HINIC_CEQ_CTRL_1_##member##_SHIFT))) member 97 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h #define HINIC_EQ_ELEM_DESC_SET(val, member) \ member 98 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h (((u32)(val) & HINIC_EQ_ELEM_DESC_##member##_MASK) << \ member 99 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h HINIC_EQ_ELEM_DESC_##member##_SHIFT) member 101 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h #define HINIC_EQ_ELEM_DESC_GET(val, member) \ member 102 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h (((val) >> HINIC_EQ_ELEM_DESC_##member##_SHIFT) & \ member 103 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h HINIC_EQ_ELEM_DESC_##member##_MASK) member 115 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h #define HINIC_EQ_CI_SET(val, member) \ member 116 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h (((u32)(val) & HINIC_EQ_CI_##member##_MASK) << \ member 117 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h HINIC_EQ_CI_##member##_SHIFT) member 119 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h #define HINIC_EQ_CI_CLEAR(val, member) \ member 120 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h ((val) & (~(HINIC_EQ_CI_##member##_MASK \ member 121 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h << HINIC_EQ_CI_##member##_SHIFT))) member 27 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_DMA_ATTR_SET(val, member) \ member 28 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((u32)(val) & HINIC_DMA_ATTR_##member##_MASK) << \ member 29 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h HINIC_DMA_ATTR_##member##_SHIFT) member 31 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_DMA_ATTR_CLEAR(val, member) \ member 32 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h ((val) & (~(HINIC_DMA_ATTR_##member##_MASK \ member 33 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h << HINIC_DMA_ATTR_##member##_SHIFT))) member 46 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_FA0_GET(val, member) \ member 47 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((val) >> HINIC_FA0_##member##_SHIFT) & HINIC_FA0_##member##_MASK) member 64 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_FA1_GET(val, member) \ member 65 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((val) >> HINIC_FA1_##member##_SHIFT) & HINIC_FA1_##member##_MASK) member 73 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_FA4_GET(val, member) \ member 74 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((val) >> HINIC_FA4_##member##_SHIFT) & HINIC_FA4_##member##_MASK) member 76 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_FA4_SET(val, member) \ member 77 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h ((((u32)val) & HINIC_FA4_##member##_MASK) << HINIC_FA4_##member##_SHIFT) member 79 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_FA4_CLEAR(val, member) \ member 80 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h ((val) & (~(HINIC_FA4_##member##_MASK << HINIC_FA4_##member##_SHIFT))) member 85 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_FA5_SET(val, member) \ member 86 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((u32)(val) & HINIC_FA5_##member##_MASK) << HINIC_FA5_##member##_SHIFT) member 88 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_FA5_CLEAR(val, member) \ member 89 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h ((val) & (~(HINIC_FA5_##member##_MASK << HINIC_FA5_##member##_SHIFT))) member 94 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_PPF_ELECTION_SET(val, member) \ member 95 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((u32)(val) & HINIC_PPF_ELECTION_##member##_MASK) << \ member 96 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h HINIC_PPF_ELECTION_##member##_SHIFT) member 98 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_PPF_ELECTION_GET(val, member) \ member 99 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((val) >> HINIC_PPF_ELECTION_##member##_SHIFT) & \ member 100 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h HINIC_PPF_ELECTION_##member##_MASK) member 102 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_PPF_ELECTION_CLEAR(val, member) \ member 103 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h ((val) & (~(HINIC_PPF_ELECTION_##member##_MASK \ member 104 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h << HINIC_PPF_ELECTION_##member##_SHIFT))) member 118 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_MSIX_ATTR_SET(val, member) \ member 119 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((u32)(val) & HINIC_MSIX_##member##_MASK) << \ member 120 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h HINIC_MSIX_##member##_SHIFT) member 122 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_MSIX_ATTR_GET(val, member) \ member 123 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((val) >> HINIC_MSIX_##member##_SHIFT) & \ member 124 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h HINIC_MSIX_##member##_MASK) member 130 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h #define HINIC_MSIX_CNT_SET(val, member) \ member 131 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((u32)(val) & HINIC_MSIX_CNT_##member##_MASK) << \ member 132 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h HINIC_MSIX_CNT_##member##_SHIFT) member 46 drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.h #define HINIC_MSG_HEADER_SET(val, member) \ member 47 drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.h ((u64)((val) & HINIC_MSG_HEADER_##member##_MASK) << \ member 48 drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.h HINIC_MSG_HEADER_##member##_SHIFT) member 50 drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.h #define HINIC_MSG_HEADER_GET(val, member) \ member 51 drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.h (((val) >> HINIC_MSG_HEADER_##member##_SHIFT) & \ member 52 drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.h HINIC_MSG_HEADER_##member##_MASK) member 34 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h #define HINIC_SQ_DB_INFO_SET(val, member) \ member 35 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h (((u32)(val) & HINIC_SQ_DB_INFO_##member##_MASK) \ member 36 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h << HINIC_SQ_DB_INFO_##member##_SHIFT) member 20 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h #define HINIC_SQ_CTXT_CEQ_ATTR_SET(val, member) \ member 21 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h (((u32)(val) & HINIC_SQ_CTXT_CEQ_ATTR_##member##_MASK) \ member 22 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h << HINIC_SQ_CTXT_CEQ_ATTR_##member##_SHIFT) member 30 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h #define HINIC_SQ_CTXT_CI_SET(val, member) \ member 31 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h (((u32)(val) & HINIC_SQ_CTXT_CI_##member##_MASK) \ member 32 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h << HINIC_SQ_CTXT_CI_##member##_SHIFT) member 40 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h #define HINIC_SQ_CTXT_WQ_PAGE_SET(val, member) \ member 41 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h (((u32)(val) & HINIC_SQ_CTXT_WQ_PAGE_##member##_MASK) \ member 42 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h << HINIC_SQ_CTXT_WQ_PAGE_##member##_SHIFT) member 58 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h #define HINIC_SQ_CTXT_PREF_SET(val, member) \ member 59 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h (((u32)(val) & HINIC_SQ_CTXT_PREF_##member##_MASK) \ member 60 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h << HINIC_SQ_CTXT_PREF_##member##_SHIFT) member 66 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h #define HINIC_SQ_CTXT_WQ_BLOCK_SET(val, member) \ member 67 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h (((u32)(val) & HINIC_SQ_CTXT_WQ_BLOCK_##member##_MASK) \ member 68 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h << HINIC_SQ_CTXT_WQ_BLOCK_##member##_SHIFT) member 76 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h #define HINIC_RQ_CTXT_CEQ_ATTR_SET(val, member) \ member 77 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h (((u32)(val) & HINIC_RQ_CTXT_CEQ_ATTR_##member##_MASK) \ member 78 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h << HINIC_RQ_CTXT_CEQ_ATTR_##member##_SHIFT) member 86 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h #define HINIC_RQ_CTXT_PI_SET(val, member) \ member 87 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h (((u32)(val) & HINIC_RQ_CTXT_PI_##member##_MASK) << \ member 88 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h HINIC_RQ_CTXT_PI_##member##_SHIFT) member 96 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h #define HINIC_RQ_CTXT_WQ_PAGE_SET(val, member) \ member 97 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h (((u32)(val) & HINIC_RQ_CTXT_WQ_PAGE_##member##_MASK) << \ member 98 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h HINIC_RQ_CTXT_WQ_PAGE_##member##_SHIFT) member 114 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h #define HINIC_RQ_CTXT_PREF_SET(val, member) \ member 115 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h (((u32)(val) & HINIC_RQ_CTXT_PREF_##member##_MASK) << \ member 116 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h HINIC_RQ_CTXT_PREF_##member##_SHIFT) member 122 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h #define HINIC_RQ_CTXT_WQ_BLOCK_SET(val, member) \ member 123 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h (((u32)(val) & HINIC_RQ_CTXT_WQ_BLOCK_##member##_MASK) << \ member 124 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h HINIC_RQ_CTXT_WQ_BLOCK_##member##_SHIFT) member 24 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_CMDQ_CTRL_SET(val, member) \ member 25 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((u32)(val) & HINIC_CMDQ_CTRL_##member##_MASK) \ member 26 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h << HINIC_CMDQ_CTRL_##member##_SHIFT) member 28 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_CMDQ_CTRL_GET(val, member) \ member 29 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((val) >> HINIC_CMDQ_CTRL_##member##_SHIFT) \ member 30 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h & HINIC_CMDQ_CTRL_##member##_MASK) member 48 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_CMDQ_WQE_HEADER_SET(val, member) \ member 49 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((u32)(val) & HINIC_CMDQ_WQE_HEADER_##member##_MASK) \ member 50 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h << HINIC_CMDQ_WQE_HEADER_##member##_SHIFT) member 52 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_CMDQ_WQE_HEADER_GET(val, member) \ member 53 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((val) >> HINIC_CMDQ_WQE_HEADER_##member##_SHIFT) \ member 54 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h & HINIC_CMDQ_WQE_HEADER_##member##_MASK) member 84 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_SQ_CTRL_SET(val, member) \ member 85 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((u32)(val) & HINIC_SQ_CTRL_##member##_MASK) \ member 86 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h << HINIC_SQ_CTRL_##member##_SHIFT) member 88 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_SQ_CTRL_GET(val, member) \ member 89 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((val) >> HINIC_SQ_CTRL_##member##_SHIFT) \ member 90 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h & HINIC_SQ_CTRL_##member##_MASK) member 92 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_SQ_CTRL_CLEAR(val, member) \ member 93 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h ((u32)(val) & (~(HINIC_SQ_CTRL_##member##_MASK \ member 94 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h << HINIC_SQ_CTRL_##member##_SHIFT))) member 114 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_SQ_TASK_INFO0_SET(val, member) \ member 115 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((u32)(val) & HINIC_SQ_TASK_INFO0_##member##_MASK) << \ member 116 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h HINIC_SQ_TASK_INFO0_##member##_SHIFT) member 128 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_SQ_TASK_INFO1_SET(val, member) \ member 129 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((u32)(val) & HINIC_SQ_TASK_INFO1_##member##_MASK) << \ member 130 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h HINIC_SQ_TASK_INFO1_##member##_SHIFT) member 146 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_SQ_TASK_INFO2_SET(val, member) \ member 147 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((u32)(val) & HINIC_SQ_TASK_INFO2_##member##_MASK) << \ member 148 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h HINIC_SQ_TASK_INFO2_##member##_SHIFT) member 156 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_SQ_TASK_INFO4_SET(val, member) \ member 157 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((u32)(val) & HINIC_SQ_TASK_INFO4_##member##_MASK) << \ member 158 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h HINIC_SQ_TASK_INFO4_##member##_SHIFT) member 168 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_RQ_CQE_STATUS_GET(val, member) \ member 169 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((val) >> HINIC_RQ_CQE_STATUS_##member##_SHIFT) & \ member 170 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h HINIC_RQ_CQE_STATUS_##member##_MASK) member 172 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_RQ_CQE_STATUS_CLEAR(val, member) \ member 173 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h ((val) & (~(HINIC_RQ_CQE_STATUS_##member##_MASK << \ member 174 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h HINIC_RQ_CQE_STATUS_##member##_SHIFT))) member 180 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_RQ_CQE_SGE_GET(val, member) \ member 181 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((val) >> HINIC_RQ_CQE_SGE_##member##_SHIFT) & \ member 182 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h HINIC_RQ_CQE_SGE_##member##_MASK) member 194 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_RQ_CTRL_SET(val, member) \ member 195 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((u32)(val) & HINIC_RQ_CTRL_##member##_MASK) << \ member 196 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h HINIC_RQ_CTRL_##member##_SHIFT) member 216 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define RQ_CQE_STATUS_GET(val, member) (((val) >> \ member 217 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h RQ_CQE_STATUS_##member##_SHIFT) & \ member 218 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h RQ_CQE_STATUS_##member##_MASK) member 228 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define RQ_CQE_OFFOLAD_TYPE_GET(val, member) (((val) >> \ member 229 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h RQ_CQE_OFFOLAD_TYPE_##member##_SHIFT) & \ member 230 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h RQ_CQE_OFFOLAD_TYPE_##member##_MASK) member 241 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define RQ_CQE_SGE_GET(val, member) (((val) >> \ member 242 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h RQ_CQE_SGE_##member##_SHIFT) & \ member 243 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h RQ_CQE_SGE_##member##_MASK) member 258 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_RSS_TYPE_SET(val, member) \ member 259 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((u32)(val) & 0x1) << HINIC_RSS_TYPE_##member##_SHIFT) member 261 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h #define HINIC_RSS_TYPE_GET(val, member) \ member 262 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((u32)(val) >> HINIC_RSS_TYPE_##member##_SHIFT) & 0x1) member 869 drivers/net/ethernet/mellanox/mlxsw/spectrum.h bool member); member 320 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c bool member) member 341 drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c local_port, member); member 495 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bool member) member 506 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c member); member 516 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bool member) member 525 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c member); member 536 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c packet_type, !member); member 759 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bool member = mlxsw_sp_mc_flood(bridge_port); member 763 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c packet_type, member); member 1057 drivers/net/ethernet/micrel/ksz884x.c u8 member; member 1152 drivers/net/ethernet/micrel/ksz884x.c u8 member; member 1185 drivers/net/ethernet/micrel/ksz884x.c u8 member; member 1764 drivers/net/ethernet/micrel/ksz884x.c u8 *member) member 1772 drivers/net/ethernet/micrel/ksz884x.c *member = (u8)((data & VLAN_TABLE_MEMBERSHIP) >> member 2649 drivers/net/ethernet/micrel/ksz884x.c &sw->vlan_table[entry].member); member 2654 drivers/net/ethernet/micrel/ksz884x.c sw->port_cfg[port].member = PORT_MASK; member 2666 drivers/net/ethernet/micrel/ksz884x.c static void sw_cfg_port_base_vlan(struct ksz_hw *hw, int port, u8 member) member 2676 drivers/net/ethernet/micrel/ksz884x.c data |= (member & PORT_MASK); member 2679 drivers/net/ethernet/micrel/ksz884x.c hw->ksz_switch->port_cfg[port].member = member; member 5321 drivers/net/ethernet/micrel/ksz884x.c u8 member; member 5325 drivers/net/ethernet/micrel/ksz884x.c if (!sw->member) { member 5331 drivers/net/ethernet/micrel/ksz884x.c member = HOST_MASK | sw->member; member 5333 drivers/net/ethernet/micrel/ksz884x.c member = HOST_MASK | (1 << port); member 5334 drivers/net/ethernet/micrel/ksz884x.c if (member != sw->port_cfg[port].member) member 5335 drivers/net/ethernet/micrel/ksz884x.c sw_cfg_port_base_vlan(hw, port, member); member 5367 drivers/net/ethernet/micrel/ksz884x.c if (hw->ksz_switch->member & pi) { member 5368 drivers/net/ethernet/micrel/ksz884x.c hw->ksz_switch->member &= ~pi; member 5703 drivers/net/ethernet/micrel/ksz884x.c if (sw->member & port) { member 5704 drivers/net/ethernet/micrel/ksz884x.c sw->member &= ~port; member 726 drivers/net/ethernet/nvidia/forcedeth.c #define nv_txrx_stats_inc(member) \ member 727 drivers/net/ethernet/nvidia/forcedeth.c __this_cpu_inc(np->txrx_stats->member) member 728 drivers/net/ethernet/nvidia/forcedeth.c #define nv_txrx_stats_add(member, count) \ member 729 drivers/net/ethernet/nvidia/forcedeth.c __this_cpu_add(np->txrx_stats->member, (count)) member 492 drivers/net/ethernet/sfc/falcon/net_driver.h #define STRING_TABLE_LOOKUP(val, member) \ member 493 drivers/net/ethernet/sfc/falcon/net_driver.h ((val) < member ## _max) ? member ## _names[val] : "(invalid)" member 561 drivers/net/ethernet/sfc/net_driver.h #define STRING_TABLE_LOOKUP(val, member) \ member 562 drivers/net/ethernet/sfc/net_driver.h ((val) < member ## _max) ? member ## _names[val] : "(invalid)" member 523 drivers/net/usb/lan78xx.c #define check_counter_rollover(struct1, dev_stats, member) { \ member 524 drivers/net/usb/lan78xx.c if (struct1->member < dev_stats.saved.member) \ member 525 drivers/net/usb/lan78xx.c dev_stats.rollover_count.member++; \ member 329 drivers/rpmsg/rpmsg_core.c #define rpmsg_string_attr(field, member) \ member 343 drivers/rpmsg/rpmsg_core.c old = rpdev->member; \ member 345 drivers/rpmsg/rpmsg_core.c rpdev->member = new; \ member 348 drivers/rpmsg/rpmsg_core.c rpdev->member = NULL; \ member 362 drivers/rpmsg/rpmsg_core.c return sprintf(buf, "%s\n", rpdev->member); \ member 9890 drivers/scsi/hpsa.c #define VERIFY_OFFSET(member, offset) \ member 9891 drivers/scsi/hpsa.c BUILD_BUG_ON(offsetof(struct raid_map_data, member) != offset) member 9912 drivers/scsi/hpsa.c #define VERIFY_OFFSET(member, offset) \ member 9913 drivers/scsi/hpsa.c BUILD_BUG_ON(offsetof(struct io_accel2_cmd, member) != offset) member 9934 drivers/scsi/hpsa.c #define VERIFY_OFFSET(member, offset) \ member 9935 drivers/scsi/hpsa.c BUILD_BUG_ON(offsetof(struct io_accel1_cmd, member) != offset) member 28 drivers/scsi/lpfc/lpfc_scsi.h #define list_remove_head(list, entry, type, member) \ member 32 drivers/scsi/lpfc/lpfc_scsi.h entry = list_entry((list)->next, type, member); \ member 33 drivers/scsi/lpfc/lpfc_scsi.h list_del_init(&entry->member); \ member 37 drivers/scsi/lpfc/lpfc_scsi.h #define list_get_first(list, type, member) \ member 39 drivers/scsi/lpfc/lpfc_scsi.h list_entry((list)->next, type, member) member 1593 drivers/scsi/scsi_transport_fc.c #define get_list_head_entry(pos, head, member) \ member 1594 drivers/scsi/scsi_transport_fc.c pos = list_entry((head)->next, typeof(*pos), member) member 111 drivers/scsi/sym53c8xx_2/sym_misc.h #define sym_que_entry(ptr, type, member) container_of(ptr, type, member) member 78 drivers/staging/rtl8723bs/include/osdep_service_linux.h #define LIST_CONTAINOR(ptr, type, member) \ member 79 drivers/staging/rtl8723bs/include/osdep_service_linux.h container_of(ptr, type, member) member 135 drivers/tty/serial/qcom_geni_serial.c #define to_dev_port(ptr, member) \ member 136 drivers/tty/serial/qcom_geni_serial.c container_of(ptr, struct qcom_geni_serial_port, member) member 210 drivers/usb/host/u132-hcd.c #define ftdi_read_pcimem(pdev, member, data) usb_ftdi_elan_read_pcimem(pdev, \ member 211 drivers/usb/host/u132-hcd.c offsetof(struct ohci_regs, member), 0, data); member 212 drivers/usb/host/u132-hcd.c #define ftdi_write_pcimem(pdev, member, data) usb_ftdi_elan_write_pcimem(pdev, \ member 213 drivers/usb/host/u132-hcd.c offsetof(struct ohci_regs, member), 0, data); member 214 drivers/usb/host/u132-hcd.c #define u132_read_pcimem(u132, member, data) \ member 216 drivers/usb/host/u132-hcd.c ohci_regs, member), 0, data); member 217 drivers/usb/host/u132-hcd.c #define u132_write_pcimem(u132, member, data) \ member 219 drivers/usb/host/u132-hcd.c ohci_regs, member), 0, data); member 2183 drivers/usb/misc/ftdi-elan.c #define ftdi_read_pcimem(ftdi, member, data) ftdi_elan_read_pcimem(ftdi, \ member 2184 drivers/usb/misc/ftdi-elan.c offsetof(struct ohci_regs, member), 0, data); member 2185 drivers/usb/misc/ftdi-elan.c #define ftdi_write_pcimem(ftdi, member, data) ftdi_elan_write_pcimem(ftdi, \ member 2186 drivers/usb/misc/ftdi-elan.c offsetof(struct ohci_regs, member), 0, data); member 176 drivers/video/fbdev/pxafb.h #define TO_INF(ptr,member) container_of(ptr,struct pxafb_info,member) member 75 drivers/video/fbdev/sa1100fb.h #define TO_INF(ptr,member) container_of(ptr,struct sa1100fb_info,member) member 1313 fs/btrfs/ctree.h #define read_eb_member(eb, ptr, type, member, result) (\ member 1316 fs/btrfs/ctree.h offsetof(type, member), \ member 1317 fs/btrfs/ctree.h sizeof(((type *)0)->member))) member 1319 fs/btrfs/ctree.h #define write_eb_member(eb, ptr, type, member, result) (\ member 1322 fs/btrfs/ctree.h offsetof(type, member), \ member 1323 fs/btrfs/ctree.h sizeof(((type *)0)->member))) member 1342 fs/btrfs/ctree.h #define BTRFS_SETGET_FUNCS(name, type, member, bits) \ member 1346 fs/btrfs/ctree.h BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \ member 1347 fs/btrfs/ctree.h return btrfs_get_##bits(eb, s, offsetof(type, member)); \ member 1352 fs/btrfs/ctree.h BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \ member 1353 fs/btrfs/ctree.h btrfs_set_##bits(eb, s, offsetof(type, member), val); \ member 1359 fs/btrfs/ctree.h BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \ member 1360 fs/btrfs/ctree.h return btrfs_get_token_##bits(eb, s, offsetof(type, member), token); \ member 1366 fs/btrfs/ctree.h BUILD_BUG_ON(sizeof(u##bits) != sizeof(((type *)0))->member); \ member 1367 fs/btrfs/ctree.h btrfs_set_token_##bits(eb, s, offsetof(type, member), val, token); \ member 1370 fs/btrfs/ctree.h #define BTRFS_SETGET_HEADER_FUNCS(name, type, member, bits) \ member 1374 fs/btrfs/ctree.h u##bits res = le##bits##_to_cpu(p->member); \ member 1381 fs/btrfs/ctree.h p->member = cpu_to_le##bits(val); \ member 1384 fs/btrfs/ctree.h #define BTRFS_SETGET_STACK_FUNCS(name, type, member, bits) \ member 1387 fs/btrfs/ctree.h return le##bits##_to_cpu(s->member); \ member 1391 fs/btrfs/ctree.h s->member = cpu_to_le##bits(val); \ member 151 fs/btrfs/qgroup.c struct btrfs_qgroup *member; member 263 fs/btrfs/qgroup.c struct btrfs_qgroup *member; member 267 fs/btrfs/qgroup.c member = find_qgroup_rb(fs_info, memberid); member 269 fs/btrfs/qgroup.c if (!member || !parent) member 277 fs/btrfs/qgroup.c list->member = member; member 278 fs/btrfs/qgroup.c list_add_tail(&list->next_group, &member->groups); member 288 fs/btrfs/qgroup.c struct btrfs_qgroup *member; member 292 fs/btrfs/qgroup.c member = find_qgroup_rb(fs_info, memberid); member 294 fs/btrfs/qgroup.c if (!member || !parent) member 297 fs/btrfs/qgroup.c list_for_each_entry(list, &member->groups, next_group) { member 1249 fs/btrfs/qgroup.c struct btrfs_qgroup *member; member 1268 fs/btrfs/qgroup.c member = find_qgroup_rb(fs_info, src); member 1270 fs/btrfs/qgroup.c if (!member || !parent) { member 1276 fs/btrfs/qgroup.c list_for_each_entry(list, &member->groups, next_group) { member 1313 fs/btrfs/qgroup.c struct btrfs_qgroup *member; member 1330 fs/btrfs/qgroup.c member = find_qgroup_rb(fs_info, src); member 1336 fs/btrfs/qgroup.c if (!member || !parent) member 1340 fs/btrfs/qgroup.c list_for_each_entry(list, &member->groups, next_group) { member 13 fs/xfs/xfs_ondisk.h #define XFS_CHECK_OFFSET(structname, member, off) \ member 14 fs/xfs/xfs_ondisk.h BUILD_BUG_ON_MSG(offsetof(structname, member) != (off), \ member 15 fs/xfs/xfs_ondisk.h "XFS: offsetof(" #structname ", " #member ") is wrong, " \ member 154 fs/xfs/xfs_stats.h #define XFS_STATS_CALC_INDEX(member) \ member 155 fs/xfs/xfs_stats.h (offsetof(struct __xfsstats, member) / (int)sizeof(uint32_t)) member 48 include/linux/can/core.h #define CAN_REQUIRED_SIZE(struct_type, member) \ member 49 include/linux/can/core.h (offsetof(typeof(struct_type), member) + \ member 50 include/linux/can/core.h sizeof(((typeof(struct_type) *)(NULL))->member)) member 25 include/linux/compiler_types.h # define ACCESS_PRIVATE(p, member) (*((typeof((p)->member) __force *) &(p)->member)) member 49 include/linux/compiler_types.h # define ACCESS_PRIVATE(p, member) ((p)->member) member 126 include/linux/hashtable.h #define hash_for_each(name, bkt, obj, member) \ member 129 include/linux/hashtable.h hlist_for_each_entry(obj, &name[bkt], member) member 138 include/linux/hashtable.h #define hash_for_each_rcu(name, bkt, obj, member) \ member 141 include/linux/hashtable.h hlist_for_each_entry_rcu(obj, &name[bkt], member) member 152 include/linux/hashtable.h #define hash_for_each_safe(name, bkt, tmp, obj, member) \ member 155 include/linux/hashtable.h hlist_for_each_entry_safe(obj, tmp, &name[bkt], member) member 165 include/linux/hashtable.h #define hash_for_each_possible(name, obj, member, key) \ member 166 include/linux/hashtable.h hlist_for_each_entry(obj, &name[hash_min(key, HASH_BITS(name))], member) member 176 include/linux/hashtable.h #define hash_for_each_possible_rcu(name, obj, member, key) \ member 178 include/linux/hashtable.h member) member 191 include/linux/hashtable.h #define hash_for_each_possible_rcu_notrace(name, obj, member, key) \ member 193 include/linux/hashtable.h &name[hash_min(key, HASH_BITS(name))], member) member 204 include/linux/hashtable.h #define hash_for_each_possible_safe(name, obj, tmp, member, key) \ member 206 include/linux/hashtable.h &name[hash_min(key, HASH_BITS(name))], member) member 22 include/linux/irq_cpustat.h #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat.member, cpu)) member 992 include/linux/kernel.h #define container_of(ptr, type, member) ({ \ member 994 include/linux/kernel.h BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ member 997 include/linux/kernel.h ((type *)(__mptr - offsetof(type, member))); }) member 1007 include/linux/kernel.h #define container_of_safe(ptr, type, member) ({ \ member 1009 include/linux/kernel.h BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ member 1013 include/linux/kernel.h ((type *)(__mptr - offsetof(type, member))); }) member 478 include/linux/list.h #define list_entry(ptr, type, member) \ member 479 include/linux/list.h container_of(ptr, type, member) member 489 include/linux/list.h #define list_first_entry(ptr, type, member) \ member 490 include/linux/list.h list_entry((ptr)->next, type, member) member 500 include/linux/list.h #define list_last_entry(ptr, type, member) \ member 501 include/linux/list.h list_entry((ptr)->prev, type, member) member 511 include/linux/list.h #define list_first_entry_or_null(ptr, type, member) ({ \ member 514 include/linux/list.h pos__ != head__ ? list_entry(pos__, type, member) : NULL; \ member 522 include/linux/list.h #define list_next_entry(pos, member) \ member 523 include/linux/list.h list_entry((pos)->member.next, typeof(*(pos)), member) member 530 include/linux/list.h #define list_prev_entry(pos, member) \ member 531 include/linux/list.h list_entry((pos)->member.prev, typeof(*(pos)), member) member 576 include/linux/list.h #define list_for_each_entry(pos, head, member) \ member 577 include/linux/list.h for (pos = list_first_entry(head, typeof(*pos), member); \ member 578 include/linux/list.h &pos->member != (head); \ member 579 include/linux/list.h pos = list_next_entry(pos, member)) member 587 include/linux/list.h #define list_for_each_entry_reverse(pos, head, member) \ member 588 include/linux/list.h for (pos = list_last_entry(head, typeof(*pos), member); \ member 589 include/linux/list.h &pos->member != (head); \ member 590 include/linux/list.h pos = list_prev_entry(pos, member)) member 600 include/linux/list.h #define list_prepare_entry(pos, head, member) \ member 601 include/linux/list.h ((pos) ? : list_entry(head, typeof(*pos), member)) member 612 include/linux/list.h #define list_for_each_entry_continue(pos, head, member) \ member 613 include/linux/list.h for (pos = list_next_entry(pos, member); \ member 614 include/linux/list.h &pos->member != (head); \ member 615 include/linux/list.h pos = list_next_entry(pos, member)) member 626 include/linux/list.h #define list_for_each_entry_continue_reverse(pos, head, member) \ member 627 include/linux/list.h for (pos = list_prev_entry(pos, member); \ member 628 include/linux/list.h &pos->member != (head); \ member 629 include/linux/list.h pos = list_prev_entry(pos, member)) member 639 include/linux/list.h #define list_for_each_entry_from(pos, head, member) \ member 640 include/linux/list.h for (; &pos->member != (head); \ member 641 include/linux/list.h pos = list_next_entry(pos, member)) member 652 include/linux/list.h #define list_for_each_entry_from_reverse(pos, head, member) \ member 653 include/linux/list.h for (; &pos->member != (head); \ member 654 include/linux/list.h pos = list_prev_entry(pos, member)) member 663 include/linux/list.h #define list_for_each_entry_safe(pos, n, head, member) \ member 664 include/linux/list.h for (pos = list_first_entry(head, typeof(*pos), member), \ member 665 include/linux/list.h n = list_next_entry(pos, member); \ member 666 include/linux/list.h &pos->member != (head); \ member 667 include/linux/list.h pos = n, n = list_next_entry(n, member)) member 679 include/linux/list.h #define list_for_each_entry_safe_continue(pos, n, head, member) \ member 680 include/linux/list.h for (pos = list_next_entry(pos, member), \ member 681 include/linux/list.h n = list_next_entry(pos, member); \ member 682 include/linux/list.h &pos->member != (head); \ member 683 include/linux/list.h pos = n, n = list_next_entry(n, member)) member 695 include/linux/list.h #define list_for_each_entry_safe_from(pos, n, head, member) \ member 696 include/linux/list.h for (n = list_next_entry(pos, member); \ member 697 include/linux/list.h &pos->member != (head); \ member 698 include/linux/list.h pos = n, n = list_next_entry(n, member)) member 710 include/linux/list.h #define list_for_each_entry_safe_reverse(pos, n, head, member) \ member 711 include/linux/list.h for (pos = list_last_entry(head, typeof(*pos), member), \ member 712 include/linux/list.h n = list_prev_entry(pos, member); \ member 713 include/linux/list.h &pos->member != (head); \ member 714 include/linux/list.h pos = n, n = list_prev_entry(n, member)) member 728 include/linux/list.h #define list_safe_reset_next(pos, n, member) \ member 729 include/linux/list.h n = list_next_entry(pos, member) member 847 include/linux/list.h #define hlist_entry(ptr, type, member) container_of(ptr,type,member) member 856 include/linux/list.h #define hlist_entry_safe(ptr, type, member) \ member 858 include/linux/list.h ____ptr ? hlist_entry(____ptr, type, member) : NULL; \ member 867 include/linux/list.h #define hlist_for_each_entry(pos, head, member) \ member 868 include/linux/list.h for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\ member 870 include/linux/list.h pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) member 877 include/linux/list.h #define hlist_for_each_entry_continue(pos, member) \ member 878 include/linux/list.h for (pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member);\ member 880 include/linux/list.h pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) member 887 include/linux/list.h #define hlist_for_each_entry_from(pos, member) \ member 889 include/linux/list.h pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) member 898 include/linux/list.h #define hlist_for_each_entry_safe(pos, n, head, member) \ member 899 include/linux/list.h for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\ member 900 include/linux/list.h pos && ({ n = pos->member.next; 1; }); \ member 901 include/linux/list.h pos = hlist_entry_safe(n, typeof(*pos), member)) member 50 include/linux/list_bl.h #define hlist_bl_entry(ptr, type, member) container_of(ptr,type,member) member 169 include/linux/list_bl.h #define hlist_bl_for_each_entry(tpos, pos, head, member) \ member 172 include/linux/list_bl.h ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \ member 183 include/linux/list_bl.h #define hlist_bl_for_each_entry_safe(tpos, pos, n, head, member) \ member 186 include/linux/list_bl.h ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1;}); \ member 32 include/linux/list_nulls.h #define hlist_nulls_entry(ptr, type, member) container_of(ptr,type,member) member 34 include/linux/list_nulls.h #define hlist_nulls_entry_safe(ptr, type, member) \ member 36 include/linux/list_nulls.h !is_a_nulls(____ptr) ? hlist_nulls_entry(____ptr, type, member) : NULL; \ member 105 include/linux/list_nulls.h #define hlist_nulls_for_each_entry(tpos, pos, head, member) \ member 108 include/linux/list_nulls.h ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \ member 118 include/linux/list_nulls.h #define hlist_nulls_for_each_entry_from(tpos, pos, member) \ member 120 include/linux/list_nulls.h ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1;}); \ member 80 include/linux/llist.h #define llist_entry(ptr, type, member) \ member 81 include/linux/llist.h container_of(ptr, type, member) member 97 include/linux/llist.h #define member_address_is_nonnull(ptr, member) \ member 98 include/linux/llist.h ((uintptr_t)(ptr) + offsetof(typeof(*(ptr)), member) != 0) member 151 include/linux/llist.h #define llist_for_each_entry(pos, node, member) \ member 152 include/linux/llist.h for ((pos) = llist_entry((node), typeof(*(pos)), member); \ member 153 include/linux/llist.h member_address_is_nonnull(pos, member); \ member 154 include/linux/llist.h (pos) = llist_entry((pos)->member.next, typeof(*(pos)), member)) member 173 include/linux/llist.h #define llist_for_each_entry_safe(pos, n, node, member) \ member 174 include/linux/llist.h for (pos = llist_entry((node), typeof(*pos), member); \ member 175 include/linux/llist.h member_address_is_nonnull(pos, member) && \ member 176 include/linux/llist.h (n = llist_entry(pos->member.next, typeof(*n), member), true); \ member 296 include/linux/lru_cache.h #define lc_entry(ptr, type, member) \ member 297 include/linux/lru_cache.h container_of(ptr, type, member) member 448 include/linux/memcontrol.h #define mem_cgroup_from_counter(counter, member) \ member 449 include/linux/memcontrol.h container_of(counter, struct mem_cgroup, member) member 55 include/linux/mlx5/eq.h #define mlx5_nb_cof(ptr, type, member) \ member 56 include/linux/mlx5/eq.h (container_of(container_of(ptr, struct mlx5_nb, nb), type, member)) member 1643 include/linux/mm.h static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) member 1645 include/linux/mm.h long val = atomic_long_read(&mm->rss_stat.count[member]); member 1658 include/linux/mm.h static inline void add_mm_counter(struct mm_struct *mm, int member, long value) member 1660 include/linux/mm.h atomic_long_add(value, &mm->rss_stat.count[member]); member 1663 include/linux/mm.h static inline void inc_mm_counter(struct mm_struct *mm, int member) member 1665 include/linux/mm.h atomic_long_inc(&mm->rss_stat.count[member]); member 1668 include/linux/mm.h static inline void dec_mm_counter(struct mm_struct *mm, int member) member 1670 include/linux/mm.h atomic_long_dec(&mm->rss_stat.count[member]); member 314 include/linux/overflow.h #define struct_size(p, member, n) \ member 316 include/linux/overflow.h sizeof(*(p)->member) + __must_be_array((p)->member),\ member 233 include/linux/plist.h # define plist_first_entry(head, type, member) \ member 236 include/linux/plist.h container_of(plist_first(head), type, member); \ member 239 include/linux/plist.h # define plist_first_entry(head, type, member) \ member 240 include/linux/plist.h container_of(plist_first(head), type, member) member 250 include/linux/plist.h # define plist_last_entry(head, type, member) \ member 253 include/linux/plist.h container_of(plist_last(head), type, member); \ member 256 include/linux/plist.h # define plist_last_entry(head, type, member) \ member 257 include/linux/plist.h container_of(plist_last(head), type, member) member 38 include/linux/rbtree.h #define rb_entry(ptr, type, member) container_of(ptr, type, member) member 87 include/linux/rbtree.h #define rb_entry_safe(ptr, type, member) \ member 89 include/linux/rbtree.h ____ptr ? rb_entry(____ptr, type, member) : NULL; \ member 295 include/linux/rculist.h #define list_entry_rcu(ptr, type, member) \ member 296 include/linux/rculist.h container_of(READ_ONCE(ptr), type, member) member 331 include/linux/rculist.h #define list_first_or_null_rcu(ptr, type, member) \ member 335 include/linux/rculist.h likely(__ptr != __next) ? list_entry_rcu(__next, type, member) : NULL; \ member 350 include/linux/rculist.h #define list_next_or_null_rcu(head, ptr, type, member) \ member 356 include/linux/rculist.h member) : NULL; \ member 370 include/linux/rculist.h #define list_for_each_entry_rcu(pos, head, member, cond...) \ member 372 include/linux/rculist.h pos = list_entry_rcu((head)->next, typeof(*pos), member); \ member 373 include/linux/rculist.h &pos->member != (head); \ member 374 include/linux/rculist.h pos = list_entry_rcu(pos->member.next, typeof(*pos), member)) member 389 include/linux/rculist.h #define list_entry_lockless(ptr, type, member) \ member 390 include/linux/rculist.h container_of((typeof(ptr))READ_ONCE(ptr), type, member) member 405 include/linux/rculist.h #define list_for_each_entry_lockless(pos, head, member) \ member 406 include/linux/rculist.h for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ member 407 include/linux/rculist.h &pos->member != (head); \ member 408 include/linux/rculist.h pos = list_entry_lockless(pos->member.next, typeof(*pos), member)) member 428 include/linux/rculist.h #define list_for_each_entry_continue_rcu(pos, head, member) \ member 429 include/linux/rculist.h for (pos = list_entry_rcu(pos->member.next, typeof(*pos), member); \ member 430 include/linux/rculist.h &pos->member != (head); \ member 431 include/linux/rculist.h pos = list_entry_rcu(pos->member.next, typeof(*pos), member)) member 450 include/linux/rculist.h #define list_for_each_entry_from_rcu(pos, head, member) \ member 451 include/linux/rculist.h for (; &(pos)->member != (head); \ member 452 include/linux/rculist.h pos = list_entry_rcu(pos->member.next, typeof(*(pos)), member)) member 645 include/linux/rculist.h #define hlist_for_each_entry_rcu(pos, head, member, cond...) \ member 648 include/linux/rculist.h typeof(*(pos)), member); \ member 651 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member)) member 666 include/linux/rculist.h #define hlist_for_each_entry_rcu_notrace(pos, head, member) \ member 668 include/linux/rculist.h typeof(*(pos)), member); \ member 671 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member)) member 683 include/linux/rculist.h #define hlist_for_each_entry_rcu_bh(pos, head, member) \ member 685 include/linux/rculist.h typeof(*(pos)), member); \ member 688 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member)) member 695 include/linux/rculist.h #define hlist_for_each_entry_continue_rcu(pos, member) \ member 697 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member); \ member 700 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member)) member 707 include/linux/rculist.h #define hlist_for_each_entry_continue_rcu_bh(pos, member) \ member 709 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member); \ member 712 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member)) member 719 include/linux/rculist.h #define hlist_for_each_entry_from_rcu(pos, member) \ member 722 include/linux/rculist.h &(pos)->member)), typeof(*(pos)), member)) member 123 include/linux/rculist_bl.h #define hlist_bl_for_each_entry_rcu(tpos, pos, head, member) \ member 126 include/linux/rculist_bl.h ({ tpos = hlist_bl_entry(pos, typeof(*tpos), member); 1; }); \ member 152 include/linux/rculist_nulls.h #define hlist_nulls_for_each_entry_rcu(tpos, pos, head, member) \ member 156 include/linux/rculist_nulls.h ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1; }); \ member 167 include/linux/rculist_nulls.h #define hlist_nulls_for_each_entry_safe(tpos, pos, head, member) \ member 171 include/linux/rculist_nulls.h ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); \ member 284 include/linux/rhashtable.h #define rht_entry(tpos, pos, member) \ member 285 include/linux/rhashtable.h ({ tpos = container_of(pos, typeof(*tpos), member); 1; }) member 445 include/linux/rhashtable.h #define rht_for_each_entry_from(tpos, pos, head, tbl, hash, member) \ member 447 include/linux/rhashtable.h (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \ member 458 include/linux/rhashtable.h #define rht_for_each_entry(tpos, pos, tbl, hash, member) \ member 461 include/linux/rhashtable.h tbl, hash, member) member 475 include/linux/rhashtable.h #define rht_for_each_entry_safe(tpos, pos, next, tbl, hash, member) \ member 479 include/linux/rhashtable.h (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \ member 530 include/linux/rhashtable.h #define rht_for_each_entry_rcu_from(tpos, pos, head, tbl, hash, member) \ member 533 include/linux/rhashtable.h (!rht_is_a_nulls(pos)) && rht_entry(tpos, pos, member); \ member 548 include/linux/rhashtable.h #define rht_for_each_entry_rcu(tpos, pos, tbl, hash, member) \ member 551 include/linux/rhashtable.h tbl, hash, member) member 574 include/linux/rhashtable.h #define rhl_for_each_entry_rcu(tpos, pos, list, member) \ member 575 include/linux/rhashtable.h for (pos = list; pos && rht_entry(tpos, pos, member); \ member 291 include/linux/virtio_config.h #define virtio_cread(vdev, structname, member, ptr) \ member 295 include/linux/virtio_config.h if (!typecheck(typeof((((structname*)0)->member)), *(ptr))) \ member 301 include/linux/virtio_config.h offsetof(structname, member)); \ member 305 include/linux/virtio_config.h offsetof(structname, member)); \ member 309 include/linux/virtio_config.h offsetof(structname, member)); \ member 313 include/linux/virtio_config.h offsetof(structname, member)); \ member 321 include/linux/virtio_config.h #define virtio_cwrite(vdev, structname, member, ptr) \ member 325 include/linux/virtio_config.h if (!typecheck(typeof((((structname*)0)->member)), *(ptr))) \ member 331 include/linux/virtio_config.h offsetof(structname, member), \ member 336 include/linux/virtio_config.h offsetof(structname, member), \ member 341 include/linux/virtio_config.h offsetof(structname, member), \ member 346 include/linux/virtio_config.h offsetof(structname, member), \ member 452 include/linux/virtio_config.h #define virtio_cread_feature(vdev, fbit, structname, member, ptr) \ member 458 include/linux/virtio_config.h virtio_cread((vdev), structname, member, ptr); \ member 428 include/net/sctp/sctp.h #define sctp_walk_params(pos, chunk, member)\ member 429 include/net/sctp/sctp.h _sctp_walk_params((pos), (chunk), ntohs((chunk)->chunk_hdr.length), member) member 431 include/net/sctp/sctp.h #define _sctp_walk_params(pos, chunk, end, member)\ member 432 include/net/sctp/sctp.h for (pos.v = chunk->member;\ member 2237 include/rdma/ib_verbs.h #define INIT_RDMA_OBJ_SIZE(ib_struct, drv_struct, member) \ member 2240 include/rdma/ib_verbs.h BUILD_BUG_ON_ZERO(offsetof(struct drv_struct, member)) + \ member 2242 include/rdma/ib_verbs.h !__same_type(((struct drv_struct *)NULL)->member, \ member 2724 include/rdma/ib_verbs.h #define ib_alloc_device(drv_struct, member) \ member 2727 include/rdma/ib_verbs.h struct drv_struct, member))), \ member 2728 include/rdma/ib_verbs.h struct drv_struct, member) member 68 include/rdma/rdmavt_cq.h #define RDMA_READ_UAPI_ATOMIC(member) smp_load_acquire(&(member).val) member 74 include/rdma/rdmavt_cq.h #define RDMA_WRITE_UAPI_ATOMIC(member, x) smp_store_release(&(member).val, x) member 677 include/rdma/uverbs_ioctl.h #define rdma_udata_to_drv_context(udata, drv_dev_struct, member) \ member 681 include/rdma/uverbs_ioctl.h drv_dev_struct, member) : \ member 178 kernel/bpf/btf.c #define for_each_member(i, struct_type, member) \ member 179 kernel/bpf/btf.c for (i = 0, member = btf_type_member(struct_type); \ member 181 kernel/bpf/btf.c i++, member++) member 183 kernel/bpf/btf.c #define for_each_member_from(i, from, struct_type, member) \ member 184 kernel/bpf/btf.c for (i = from, member = btf_type_member(struct_type) + from; \ member 186 kernel/bpf/btf.c i++, member++) member 188 kernel/bpf/btf.c #define for_each_vsi(i, struct_type, member) \ member 189 kernel/bpf/btf.c for (i = 0, member = btf_type_var_secinfo(struct_type); \ member 191 kernel/bpf/btf.c i++, member++) member 193 kernel/bpf/btf.c #define for_each_vsi_from(i, from, struct_type, member) \ member 194 kernel/bpf/btf.c for (i = from, member = btf_type_var_secinfo(struct_type) + from; \ member 196 kernel/bpf/btf.c i++, member++) member 287 kernel/bpf/btf.c const struct btf_member *member, member 291 kernel/bpf/btf.c const struct btf_member *member, member 475 kernel/bpf/btf.c const struct btf_member *member) member 477 kernel/bpf/btf.c return btf_type_kflag(struct_type) ? BTF_MEMBER_BIT_OFFSET(member->offset) member 478 kernel/bpf/btf.c : member->offset; member 482 kernel/bpf/btf.c const struct btf_member *member) member 484 kernel/bpf/btf.c return btf_type_kflag(struct_type) ? BTF_MEMBER_BITFIELD_SIZE(member->offset) member 728 kernel/bpf/btf.c const struct btf_member *member, member 750 kernel/bpf/btf.c __btf_name_by_offset(btf, member->name_off), member 751 kernel/bpf/btf.c member->type, member 752 kernel/bpf/btf.c BTF_MEMBER_BITFIELD_SIZE(member->offset), member 753 kernel/bpf/btf.c BTF_MEMBER_BIT_OFFSET(member->offset)); member 756 kernel/bpf/btf.c __btf_name_by_offset(btf, member->name_off), member 757 kernel/bpf/btf.c member->type, member->offset); member 1099 kernel/bpf/btf.c const struct btf_member *member, member 1109 kernel/bpf/btf.c const struct btf_member *member, member 1122 kernel/bpf/btf.c const struct btf_member *member, member 1125 kernel/bpf/btf.c if (BTF_MEMBER_BITFIELD_SIZE(member->offset)) { member 1126 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 1135 kernel/bpf/btf.c member, member 1155 kernel/bpf/btf.c const struct btf_member *member, member 1159 kernel/bpf/btf.c u32 struct_bits_off = member->offset; member 1165 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 1176 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 1183 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 1193 kernel/bpf/btf.c const struct btf_member *member, member 1203 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 1209 kernel/bpf/btf.c nr_bits = BTF_MEMBER_BITFIELD_SIZE(member->offset); member 1210 kernel/bpf/btf.c struct_bits_off = BTF_MEMBER_BIT_OFFSET(member->offset); member 1217 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 1224 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 1232 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 1239 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 1491 kernel/bpf/btf.c const struct btf_member *member, member 1495 kernel/bpf/btf.c u32 resolved_type_id = member->type; member 1501 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 1506 kernel/bpf/btf.c resolved_member = *member; member 1516 kernel/bpf/btf.c const struct btf_member *member, member 1520 kernel/bpf/btf.c u32 resolved_type_id = member->type; member 1526 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 1531 kernel/bpf/btf.c resolved_member = *member; member 1541 kernel/bpf/btf.c const struct btf_member *member, member 1547 kernel/bpf/btf.c struct_bits_off = member->offset; member 1551 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 1557 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 1844 kernel/bpf/btf.c const struct btf_member *member, member 1847 kernel/bpf/btf.c u32 struct_bits_off = member->offset; member 1853 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 1858 kernel/bpf/btf.c array_type_id = member->type; member 1863 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 2033 kernel/bpf/btf.c const struct btf_member *member, member 2036 kernel/bpf/btf.c u32 struct_bits_off = member->offset; member 2040 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 2048 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 2061 kernel/bpf/btf.c const struct btf_member *member; member 2068 kernel/bpf/btf.c meta_needed = btf_type_vlen(t) * sizeof(*member); member 2086 kernel/bpf/btf.c for_each_member(i, t, member) { member 2087 kernel/bpf/btf.c if (!btf_name_offset_valid(btf, member->name_off)) { member 2088 kernel/bpf/btf.c btf_verifier_log_member(env, t, member, member 2090 kernel/bpf/btf.c member->name_off); member 2095 kernel/bpf/btf.c if (member->name_off && member 2096 kernel/bpf/btf.c !btf_name_valid_identifier(btf, member->name_off)) { member 2097 kernel/bpf/btf.c btf_verifier_log_member(env, t, member, "Invalid name"); member 2101 kernel/bpf/btf.c if (!member->type || !BTF_TYPE_ID_VALID(member->type)) { member 2102 kernel/bpf/btf.c btf_verifier_log_member(env, t, member, member 2107 kernel/bpf/btf.c offset = btf_member_bit_offset(t, member); member 2109 kernel/bpf/btf.c btf_verifier_log_member(env, t, member, member 2119 kernel/bpf/btf.c btf_verifier_log_member(env, t, member, member 2125 kernel/bpf/btf.c btf_verifier_log_member(env, t, member, member 2130 kernel/bpf/btf.c btf_verifier_log_member(env, t, member, NULL); member 2140 kernel/bpf/btf.c const struct btf_member *member; member 2173 kernel/bpf/btf.c for_each_member_from(i, v->next_member, v->t, member) { member 2174 kernel/bpf/btf.c u32 member_type_id = member->type; member 2180 kernel/bpf/btf.c btf_verifier_log_member(env, v->t, member, member 2193 kernel/bpf/btf.c member, member 2197 kernel/bpf/btf.c member, member 2220 kernel/bpf/btf.c const struct btf_member *member; member 2226 kernel/bpf/btf.c for_each_member(i, t, member) { member 2228 kernel/bpf/btf.c member->type); member 2239 kernel/bpf/btf.c off = btf_member_bit_offset(t, member); member 2256 kernel/bpf/btf.c const struct btf_member *member; member 2260 kernel/bpf/btf.c for_each_member(i, t, member) { member 2262 kernel/bpf/btf.c member->type); member 2271 kernel/bpf/btf.c member_offset = btf_member_bit_offset(t, member); member 2272 kernel/bpf/btf.c bitfield_size = btf_member_bitfield_size(t, member); member 2280 kernel/bpf/btf.c ops->seq_show(btf, member_type, member->type, member 2298 kernel/bpf/btf.c const struct btf_member *member, member 2301 kernel/bpf/btf.c u32 struct_bits_off = member->offset; member 2305 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 2313 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 2323 kernel/bpf/btf.c const struct btf_member *member, member 2329 kernel/bpf/btf.c struct_bits_off = BTF_MEMBER_BIT_OFFSET(member->offset); member 2330 kernel/bpf/btf.c nr_bits = BTF_MEMBER_BITFIELD_SIZE(member->offset); member 2333 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 2340 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 2348 kernel/bpf/btf.c btf_verifier_log_member(env, struct_type, member, member 159 mm/memory.c static void add_mm_counter_fast(struct mm_struct *mm, int member, int val) member 164 mm/memory.c task->rss_stat.count[member] += val; member 166 mm/memory.c add_mm_counter(mm, member, val); member 168 mm/memory.c #define inc_mm_counter_fast(mm, member) add_mm_counter_fast(mm, member, 1) member 169 mm/memory.c #define dec_mm_counter_fast(mm, member) add_mm_counter_fast(mm, member, -1) member 182 mm/memory.c #define inc_mm_counter_fast(mm, member) inc_mm_counter(mm, member) member 183 mm/memory.c #define dec_mm_counter_fast(mm, member) dec_mm_counter(mm, member) member 26 net/ieee802154/sysfs.c #define SHOW_FMT(name, fmt, member) \ member 31 net/ieee802154/sysfs.c return sprintf(buf, fmt "\n", dev_to_rdev(dev)->member); \ member 386 net/netfilter/xt_set.c #define MOPT(opt, member) ((opt).ext.skbinfo.member) member 445 net/rds/ib.h #define rds_ib_stats_inc(member) rds_stats_inc_which(rds_ib_stats, member) member 446 net/rds/ib.h #define rds_ib_stats_add(member, count) \ member 447 net/rds/ib.h rds_stats_add_which(rds_ib_stats, member, count) member 960 net/rds/rds.h #define rds_stats_inc_which(which, member) do { \ member 961 net/rds/rds.h per_cpu(which, get_cpu()).member++; \ member 964 net/rds/rds.h #define rds_stats_inc(member) rds_stats_inc_which(rds_stats, member) member 965 net/rds/rds.h #define rds_stats_add_which(which, member, count) do { \ member 966 net/rds/rds.h per_cpu(which, get_cpu()).member += count; \ member 969 net/rds/rds.h #define rds_stats_add(member, count) rds_stats_add_which(rds_stats, member, count) member 95 net/rds/tcp.h #define rds_tcp_stats_inc(member) rds_stats_inc_which(rds_tcp_stats, member) member 135 net/sched/cls_flow.c #define CTTUPLE(skb, member) \ member 141 net/sched/cls_flow.c ct->tuplehash[CTINFO2DIR(ctinfo)].tuple.member; \ member 144 net/sched/cls_flow.c #define CTTUPLE(skb, member) \ member 1296 net/sched/cls_flower.c #define FL_KEY_MEMBER_OFFSET(member) offsetof(struct fl_flow_key, member) member 1297 net/sched/cls_flower.c #define FL_KEY_MEMBER_SIZE(member) FIELD_SIZEOF(struct fl_flow_key, member) member 1299 net/sched/cls_flower.c #define FL_KEY_IS_MASKED(mask, member) \ member 1300 net/sched/cls_flower.c memchr_inv(((char *)mask) + FL_KEY_MEMBER_OFFSET(member), \ member 1301 net/sched/cls_flower.c 0, FL_KEY_MEMBER_SIZE(member)) \ member 1303 net/sched/cls_flower.c #define FL_KEY_SET(keys, cnt, id, member) \ member 1306 net/sched/cls_flower.c keys[cnt].offset = FL_KEY_MEMBER_OFFSET(member); \ member 1310 net/sched/cls_flower.c #define FL_KEY_SET_IF_MASKED(mask, keys, cnt, id, member) \ member 1312 net/sched/cls_flower.c if (FL_KEY_IS_MASKED(mask, member)) \ member 1313 net/sched/cls_flower.c FL_KEY_SET(keys, cnt, id, member); \ member 2174 net/socket.c #define COMPAT_MSG(msg, member) ((MSG_CMSG_COMPAT & flags) ? &msg##_compat->member : &msg->member) member 185 net/tipc/monitor.c struct tipc_peer *member = peer; member 191 net/tipc/monitor.c member = peer_nxt(member); member 194 net/tipc/monitor.c if (!member->is_up || !map_get(dom_bef->up_map, i)) member 198 net/tipc/monitor.c if (member->is_local) member 203 net/tipc/monitor.c member->down_cnt = 1; member 209 net/tipc/monitor.c member->down_cnt++; member 219 net/tipc/monitor.c struct tipc_peer *member; member 228 net/tipc/monitor.c member = peer_nxt(peer); member 231 net/tipc/monitor.c if (addr != member->addr) member 234 net/tipc/monitor.c member = peer_nxt(member); member 68 net/tipc/socket.c struct sockaddr_tipc member; member 1573 net/tipc/socket.c srcaddr->member.family = AF_TIPC; member 1574 net/tipc/socket.c srcaddr->member.addrtype = TIPC_ADDR_NAME; member 1575 net/tipc/socket.c srcaddr->member.scope = 0; member 1576 net/tipc/socket.c srcaddr->member.addr.name.name.type = msg_nametype(hdr); member 1577 net/tipc/socket.c srcaddr->member.addr.name.name.instance = TIPC_SKB_CB(skb)->orig_member; member 1578 net/tipc/socket.c srcaddr->member.addr.name.domain = 0; member 26 net/wireless/sysfs.c #define SHOW_FMT(name, fmt, member) \ member 31 net/wireless/sysfs.c return sprintf(buf, fmt "\n", dev_to_rdev(dev)->member); \ member 33 samples/bpf/cookie_uid_helper_example.c #define offsetof(type, member) __builtin_offsetof(type, member) member 28 samples/bpf/test_lru_dist.c #define container_of(ptr, type, member) ({ \ member 29 samples/bpf/test_lru_dist.c const typeof( ((type *)0)->member ) *__mptr = (ptr); \ member 30 samples/bpf/test_lru_dist.c (type *)( (char *)__mptr - offsetof(type,member) );}) member 83 samples/bpf/test_lru_dist.c #define list_entry(ptr, type, member) \ member 84 samples/bpf/test_lru_dist.c container_of(ptr, type, member) member 86 samples/bpf/test_lru_dist.c #define list_last_entry(ptr, type, member) \ member 87 samples/bpf/test_lru_dist.c list_entry((ptr)->prev, type, member) member 19 scripts/kconfig/list.h #define container_of(ptr, type, member) ({ \ member 20 scripts/kconfig/list.h const typeof( ((type *)0)->member ) *__mptr = (ptr); \ member 21 scripts/kconfig/list.h (type *)( (char *)__mptr - offsetof(type,member) );}) member 40 scripts/kconfig/list.h #define list_entry(ptr, type, member) \ member 41 scripts/kconfig/list.h container_of(ptr, type, member) member 49 scripts/kconfig/list.h #define list_for_each_entry(pos, head, member) \ member 50 scripts/kconfig/list.h for (pos = list_entry((head)->next, typeof(*pos), member); \ member 51 scripts/kconfig/list.h &pos->member != (head); \ member 52 scripts/kconfig/list.h pos = list_entry(pos->member.next, typeof(*pos), member)) member 61 scripts/kconfig/list.h #define list_for_each_entry_safe(pos, n, head, member) \ member 62 scripts/kconfig/list.h for (pos = list_entry((head)->next, typeof(*pos), member), \ member 63 scripts/kconfig/list.h n = list_entry(pos->member.next, typeof(*pos), member); \ member 64 scripts/kconfig/list.h &pos->member != (head); \ member 65 scripts/kconfig/list.h pos = n, n = list_entry(n->member.next, typeof(*n), member)) member 1964 security/apparmor/apparmorfs.c #define list_entry_is_head(pos, head, member) (&pos->member == (head)) member 1830 security/tomoyo/common.c struct tomoyo_address_group *member = member 1831 security/tomoyo/common.c container_of(ptr, typeof(*member), member 1835 security/tomoyo/common.c &member->address); member 331 security/tomoyo/gc.c struct tomoyo_path_group *member = member 332 security/tomoyo/gc.c container_of(element, typeof(*member), head.list); member 334 security/tomoyo/gc.c tomoyo_put_name(member->member_name); member 488 security/tomoyo/gc.c struct tomoyo_acl_head *member; member 491 security/tomoyo/gc.c list_for_each_entry_safe(member, tmp, member_list, list) { member 492 security/tomoyo/gc.c if (!member->is_deleted) member 494 security/tomoyo/gc.c member->is_deleted = TOMOYO_GC_IN_PROGRESS; member 495 security/tomoyo/gc.c tomoyo_try_to_gc(id, &member->list); member 134 security/tomoyo/group.c struct tomoyo_path_group *member; member 136 security/tomoyo/group.c list_for_each_entry_rcu(member, &group->member_list, head.list, member 138 security/tomoyo/group.c if (member->head.is_deleted) member 140 security/tomoyo/group.c if (!tomoyo_path_matches_pattern(pathname, member->member_name)) member 142 security/tomoyo/group.c return member->member_name; member 162 security/tomoyo/group.c struct tomoyo_number_group *member; member 165 security/tomoyo/group.c list_for_each_entry_rcu(member, &group->member_list, head.list, member 167 security/tomoyo/group.c if (member->head.is_deleted) member 169 security/tomoyo/group.c if (min > member->number.values[1] || member 170 security/tomoyo/group.c max < member->number.values[0]) member 192 security/tomoyo/group.c struct tomoyo_address_group *member; member 196 security/tomoyo/group.c list_for_each_entry_rcu(member, &group->member_list, head.list, member 198 security/tomoyo/group.c if (member->head.is_deleted) member 200 security/tomoyo/group.c if (member->address.is_ipv6 != is_ipv6) member 202 security/tomoyo/group.c if (memcmp(&member->address.ip[0], address, size) > 0 || member 203 security/tomoyo/group.c memcmp(address, &member->address.ip[1], size) > 0) member 30 sound/pci/asihpi/hpi6000.c #define HPI_HIF_ADDR(member) \ member 31 sound/pci/asihpi/hpi6000.c (HPI_HIF_BASE + offsetof(struct hpi_hif_6000, member)) member 72 sound/pci/emu10k1/memory.c #define get_emu10k1_memblk(l,member) list_entry(l, struct snd_emu10k1_memblk, member) member 351 sound/pci/ice1712/se.c const char * const *member; member 392 sound/pci/ice1712/se.c .member = se200pci_sel member 398 sound/pci/ice1712/se.c .member = se200pci_agc member 409 sound/pci/ice1712/se.c const char * const *member; member 412 sound/pci/ice1712/se.c member = se200pci_cont[n].member; member 413 sound/pci/ice1712/se.c if (!member) member 415 sound/pci/ice1712/se.c for (c = 0; member[c]; c++) member 441 sound/pci/ice1712/se.c return snd_ctl_enum_info(uinfo, 1, c, se200pci_cont[n].member); member 275 sound/sparc/dbri.c #define dbri_dma_off(member, elem) \ member 277 sound/sparc/dbri.c (&(((struct dbri_dma *)0)->member[elem]))) member 47 tools/firewire/list.h #define list_entry(link, type, member) \ member 48 tools/firewire/list.h ((type *)((char *)(link)-(unsigned long)(&((type *)0)->member))) member 50 tools/firewire/list.h #define list_head(list, type, member) \ member 51 tools/firewire/list.h list_entry((list)->next, type, member) member 53 tools/firewire/list.h #define list_tail(list, type, member) \ member 54 tools/firewire/list.h list_entry((list)->prev, type, member) member 56 tools/firewire/list.h #define list_next(elm, member) \ member 57 tools/firewire/list.h list_entry((elm)->member.next, typeof(*elm), member) member 59 tools/firewire/list.h #define list_for_each_entry(pos, list, member) \ member 60 tools/firewire/list.h for (pos = list_head(list, typeof(*pos), member); \ member 61 tools/firewire/list.h &pos->member != (list); \ member 62 tools/firewire/list.h pos = list_next(pos, member)) member 105 tools/include/linux/hashtable.h #define hash_for_each(name, bkt, obj, member) \ member 108 tools/include/linux/hashtable.h hlist_for_each_entry(obj, &name[bkt], member) member 119 tools/include/linux/hashtable.h #define hash_for_each_safe(name, bkt, tmp, obj, member) \ member 122 tools/include/linux/hashtable.h hlist_for_each_entry_safe(obj, tmp, &name[bkt], member) member 132 tools/include/linux/hashtable.h #define hash_for_each_possible(name, obj, member, key) \ member 133 tools/include/linux/hashtable.h hlist_for_each_entry(obj, &name[hash_min(key, HASH_BITS(name))], member) member 144 tools/include/linux/hashtable.h #define hash_for_each_possible_safe(name, obj, tmp, member, key) \ member 146 tools/include/linux/hashtable.h &name[hash_min(key, HASH_BITS(name))], member) member 33 tools/include/linux/kernel.h #define container_of(ptr, type, member) ({ \ member 34 tools/include/linux/kernel.h const typeof(((type *)0)->member) * __mptr = (ptr); \ member 35 tools/include/linux/kernel.h (type *)((char *)__mptr - offsetof(type, member)); }) member 351 tools/include/linux/list.h #define list_entry(ptr, type, member) \ member 352 tools/include/linux/list.h container_of(ptr, type, member) member 362 tools/include/linux/list.h #define list_first_entry(ptr, type, member) \ member 363 tools/include/linux/list.h list_entry((ptr)->next, type, member) member 373 tools/include/linux/list.h #define list_last_entry(ptr, type, member) \ member 374 tools/include/linux/list.h list_entry((ptr)->prev, type, member) member 384 tools/include/linux/list.h #define list_first_entry_or_null(ptr, type, member) \ member 385 tools/include/linux/list.h (!list_empty(ptr) ? list_first_entry(ptr, type, member) : NULL) member 392 tools/include/linux/list.h #define list_next_entry(pos, member) \ member 393 tools/include/linux/list.h list_entry((pos)->member.next, typeof(*(pos)), member) member 400 tools/include/linux/list.h #define list_prev_entry(pos, member) \ member 401 tools/include/linux/list.h list_entry((pos)->member.prev, typeof(*(pos)), member) member 446 tools/include/linux/list.h #define list_for_each_entry(pos, head, member) \ member 447 tools/include/linux/list.h for (pos = list_first_entry(head, typeof(*pos), member); \ member 448 tools/include/linux/list.h &pos->member != (head); \ member 449 tools/include/linux/list.h pos = list_next_entry(pos, member)) member 457 tools/include/linux/list.h #define list_for_each_entry_reverse(pos, head, member) \ member 458 tools/include/linux/list.h for (pos = list_last_entry(head, typeof(*pos), member); \ member 459 tools/include/linux/list.h &pos->member != (head); \ member 460 tools/include/linux/list.h pos = list_prev_entry(pos, member)) member 470 tools/include/linux/list.h #define list_prepare_entry(pos, head, member) \ member 471 tools/include/linux/list.h ((pos) ? : list_entry(head, typeof(*pos), member)) member 482 tools/include/linux/list.h #define list_for_each_entry_continue(pos, head, member) \ member 483 tools/include/linux/list.h for (pos = list_next_entry(pos, member); \ member 484 tools/include/linux/list.h &pos->member != (head); \ member 485 tools/include/linux/list.h pos = list_next_entry(pos, member)) member 496 tools/include/linux/list.h #define list_for_each_entry_continue_reverse(pos, head, member) \ member 497 tools/include/linux/list.h for (pos = list_prev_entry(pos, member); \ member 498 tools/include/linux/list.h &pos->member != (head); \ member 499 tools/include/linux/list.h pos = list_prev_entry(pos, member)) member 509 tools/include/linux/list.h #define list_for_each_entry_from(pos, head, member) \ member 510 tools/include/linux/list.h for (; &pos->member != (head); \ member 511 tools/include/linux/list.h pos = list_next_entry(pos, member)) member 520 tools/include/linux/list.h #define list_for_each_entry_safe(pos, n, head, member) \ member 521 tools/include/linux/list.h for (pos = list_first_entry(head, typeof(*pos), member), \ member 522 tools/include/linux/list.h n = list_next_entry(pos, member); \ member 523 tools/include/linux/list.h &pos->member != (head); \ member 524 tools/include/linux/list.h pos = n, n = list_next_entry(n, member)) member 536 tools/include/linux/list.h #define list_for_each_entry_safe_continue(pos, n, head, member) \ member 537 tools/include/linux/list.h for (pos = list_next_entry(pos, member), \ member 538 tools/include/linux/list.h n = list_next_entry(pos, member); \ member 539 tools/include/linux/list.h &pos->member != (head); \ member 540 tools/include/linux/list.h pos = n, n = list_next_entry(n, member)) member 552 tools/include/linux/list.h #define list_for_each_entry_safe_from(pos, n, head, member) \ member 553 tools/include/linux/list.h for (n = list_next_entry(pos, member); \ member 554 tools/include/linux/list.h &pos->member != (head); \ member 555 tools/include/linux/list.h pos = n, n = list_next_entry(n, member)) member 567 tools/include/linux/list.h #define list_for_each_entry_safe_reverse(pos, n, head, member) \ member 568 tools/include/linux/list.h for (pos = list_last_entry(head, typeof(*pos), member), \ member 569 tools/include/linux/list.h n = list_prev_entry(pos, member); \ member 570 tools/include/linux/list.h &pos->member != (head); \ member 571 tools/include/linux/list.h pos = n, n = list_prev_entry(n, member)) member 585 tools/include/linux/list.h #define list_safe_reset_next(pos, n, member) \ member 586 tools/include/linux/list.h n = list_next_entry(pos, member) member 694 tools/include/linux/list.h #define hlist_entry(ptr, type, member) container_of(ptr,type,member) member 703 tools/include/linux/list.h #define hlist_entry_safe(ptr, type, member) \ member 705 tools/include/linux/list.h ____ptr ? hlist_entry(____ptr, type, member) : NULL; \ member 714 tools/include/linux/list.h #define hlist_for_each_entry(pos, head, member) \ member 715 tools/include/linux/list.h for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\ member 717 tools/include/linux/list.h pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) member 724 tools/include/linux/list.h #define hlist_for_each_entry_continue(pos, member) \ member 725 tools/include/linux/list.h for (pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member);\ member 727 tools/include/linux/list.h pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) member 734 tools/include/linux/list.h #define hlist_for_each_entry_from(pos, member) \ member 736 tools/include/linux/list.h pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member)) member 745 tools/include/linux/list.h #define hlist_for_each_entry_safe(pos, n, head, member) \ member 746 tools/include/linux/list.h for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\ member 747 tools/include/linux/list.h pos && ({ n = pos->member.next; 1; }); \ member 748 tools/include/linux/list.h pos = hlist_entry_safe(n, typeof(*pos), member)) member 273 tools/include/linux/overflow.h #define struct_size(p, member, n) \ member 275 tools/include/linux/overflow.h sizeof(*(p)->member) + __must_be_array((p)->member),\ member 37 tools/include/linux/rbtree.h #define rb_entry(ptr, type, member) container_of(ptr, type, member) member 75 tools/include/linux/rbtree.h #define rb_entry_safe(ptr, type, member) \ member 77 tools/include/linux/rbtree.h ____ptr ? rb_entry(____ptr, type, member) : NULL; \ member 1820 tools/lib/bpf/btf.c const struct btf_member *member = btf_members(t); member 1826 tools/lib/bpf/btf.c h = hash_combine(h, member->name_off); member 1827 tools/lib/bpf/btf.c h = hash_combine(h, member->offset); member 1829 tools/lib/bpf/btf.c member++; member 1917 tools/lib/bpf/btf.c const struct btf_param *member = btf_params(t); member 1923 tools/lib/bpf/btf.c h = hash_combine(h, member->name_off); member 1924 tools/lib/bpf/btf.c h = hash_combine(h, member->type); member 1925 tools/lib/bpf/btf.c member++; member 2799 tools/lib/bpf/btf.c struct btf_member *member = btf_members(t); member 2803 tools/lib/bpf/btf.c r = btf_dedup_remap_type_id(d, member->type); member 2806 tools/lib/bpf/btf.c member->type = r; member 2807 tools/lib/bpf/btf.c member++; member 210 tools/perf/builtin-lock.c #define SINGLE_KEY(member) \ member 211 tools/perf/builtin-lock.c static int lock_stat_key_ ## member(struct lock_stat *one, \ member 214 tools/perf/builtin-lock.c return one->member > two->member; \ member 95 tools/perf/util/python.c #define member_def(type, member, ptype, help) \ member 96 tools/perf/util/python.c { #member, ptype, \ member 97 tools/perf/util/python.c offsetof(struct pyrf_event, event) + offsetof(struct type, member), \ member 100 tools/perf/util/python.c #define sample_member_def(name, member, ptype, help) \ member 102 tools/perf/util/python.c offsetof(struct pyrf_event, sample) + offsetof(struct perf_sample, member), \ member 18 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/misc.h #define container_of(ptr, type, member) ({ \ member 19 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/misc.h const typeof(((type *)0)->member) *__mptr = (ptr); \ member 20 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/misc.h (type *)((char *)__mptr - offsetof(type, member)); \ member 104 tools/usb/usbip/libsrc/list.h #define list_entry(ptr, type, member) \ member 105 tools/usb/usbip/libsrc/list.h container_of(ptr, type, member) member 133 tools/usb/usbip/libsrc/list.h #define container_of(ptr, type, member) ({ \ member 134 tools/usb/usbip/libsrc/list.h const typeof( ((type *)0)->member ) *__mptr = (ptr); \ member 135 tools/usb/usbip/libsrc/list.h (type *)( (char *)__mptr - offsetof(type,member) );}) member 108 tools/virtio/linux/kernel.h #define container_of(ptr, type, member) ({ \ member 109 tools/virtio/linux/kernel.h const typeof( ((type *)0)->member ) *__mptr = (ptr); \ member 110 tools/virtio/linux/kernel.h (type *)( (char *)__mptr - offsetof(type,member) );})