item 62 arch/arm/mach-s3c24xx/mach-bast.c #define VA_C5(item) ((unsigned long)(item) + BAST_VAM_CS5) item 63 arch/arm/mach-s3c24xx/mach-bast.c #define VA_C4(item) ((unsigned long)(item) + BAST_VAM_CS4) item 64 arch/arm/mach-s3c24xx/mach-bast.c #define VA_C3(item) ((unsigned long)(item) + BAST_VAM_CS3) item 65 arch/arm/mach-s3c24xx/mach-bast.c #define VA_C2(item) ((unsigned long)(item) + BAST_VAM_CS2) item 69 arch/arm/mach-s3c24xx/mach-bast.c #define PA_CS2(item) (__phys_to_pfn((item) + S3C2410_CS2)) item 70 arch/arm/mach-s3c24xx/mach-bast.c #define PA_CS3(item) (__phys_to_pfn((item) + S3C2410_CS3)) item 71 arch/arm/mach-s3c24xx/mach-bast.c #define PA_CS4(item) (__phys_to_pfn((item) + S3C2410_CS4)) item 72 arch/arm/mach-s3c24xx/mach-bast.c #define PA_CS5(item) (__phys_to_pfn((item) + S3C2410_CS5)) item 51 arch/arm/mach-s3c24xx/mach-vr1000.c #define VA_C5(item) ((unsigned long)(item) + BAST_VAM_CS5) item 52 arch/arm/mach-s3c24xx/mach-vr1000.c #define VA_C4(item) ((unsigned long)(item) + BAST_VAM_CS4) item 53 arch/arm/mach-s3c24xx/mach-vr1000.c #define VA_C3(item) ((unsigned long)(item) + BAST_VAM_CS3) item 54 arch/arm/mach-s3c24xx/mach-vr1000.c #define VA_C2(item) ((unsigned long)(item) + BAST_VAM_CS2) item 58 arch/arm/mach-s3c24xx/mach-vr1000.c #define PA_CS2(item) (__phys_to_pfn((item) + S3C2410_CS2)) item 59 arch/arm/mach-s3c24xx/mach-vr1000.c #define PA_CS3(item) (__phys_to_pfn((item) + S3C2410_CS3)) item 60 arch/arm/mach-s3c24xx/mach-vr1000.c #define PA_CS4(item) (__phys_to_pfn((item) + S3C2410_CS4)) item 61 arch/arm/mach-s3c24xx/mach-vr1000.c #define PA_CS5(item) (__phys_to_pfn((item) + S3C2410_CS5)) item 156 arch/powerpc/platforms/powernv/opal-prd.c struct opal_prd_msg_queue_item *item; item 162 arch/powerpc/platforms/powernv/opal-prd.c if (count < sizeof(item->msg)) item 168 arch/powerpc/platforms/powernv/opal-prd.c item = NULL; item 174 arch/powerpc/platforms/powernv/opal-prd.c item = list_first_entry(&opal_prd_msg_queue, item 176 arch/powerpc/platforms/powernv/opal-prd.c list_del(&item->list); item 180 arch/powerpc/platforms/powernv/opal-prd.c if (item) item 192 arch/powerpc/platforms/powernv/opal-prd.c size = be16_to_cpu(item->msg.size); item 198 arch/powerpc/platforms/powernv/opal-prd.c rc = copy_to_user(buf, &item->msg, size); item 204 arch/powerpc/platforms/powernv/opal-prd.c kfree(item); item 211 arch/powerpc/platforms/powernv/opal-prd.c list_add(&item->list, &opal_prd_msg_queue); item 339 arch/powerpc/platforms/powernv/opal-prd.c struct opal_prd_msg_queue_item *item; item 352 arch/powerpc/platforms/powernv/opal-prd.c item_size = msg_size + sizeof(*item) - sizeof(item->msg); item 354 arch/powerpc/platforms/powernv/opal-prd.c item = kzalloc(item_size, GFP_ATOMIC); item 355 arch/powerpc/platforms/powernv/opal-prd.c if (!item) item 358 arch/powerpc/platforms/powernv/opal-prd.c memcpy(&item->msg, msg->params, msg_size); item 361 arch/powerpc/platforms/powernv/opal-prd.c list_add_tail(&item->list, &opal_prd_msg_queue); item 529 arch/x86/kernel/alternative.c struct smp_alt_module *item; item 532 arch/x86/kernel/alternative.c list_for_each_entry(item, &smp_alt_modules, next) { item 533 arch/x86/kernel/alternative.c if (mod != item->mod) item 535 arch/x86/kernel/alternative.c list_del(&item->next); item 536 arch/x86/kernel/alternative.c kfree(item); item 1070 block/bfq-iosched.c struct bfq_queue *item; item 1073 block/bfq-iosched.c hlist_for_each_entry_safe(item, n, &bfqd->burst_list, burst_list_node) item 1074 block/bfq-iosched.c hlist_del_init(&item->burst_list_node); item 4825 block/bfq-iosched.c struct bfq_queue *item; item 4889 block/bfq-iosched.c hlist_for_each_entry_safe(item, n, &bfqq->woken_list, item 4891 block/bfq-iosched.c item->waker_bfqq = NULL; item 4892 block/bfq-iosched.c bfq_clear_bfqq_has_waker(item); item 4893 block/bfq-iosched.c hlist_del_init(&item->woken_list_node); item 540 block/partitions/ldm.c struct list_head *item; item 544 block/partitions/ldm.c list_for_each (item, &ldb->v_disk) { item 545 block/partitions/ldm.c struct vblk *v = list_entry (item, struct vblk, list); item 573 block/partitions/ldm.c struct list_head *item; item 590 block/partitions/ldm.c list_for_each (item, &ldb->v_part) { item 591 block/partitions/ldm.c vb = list_entry (item, struct vblk, list); item 1168 block/partitions/ldm.c struct list_head *item; item 1201 block/partitions/ldm.c list_for_each (item, &ldb->v_part) { item 1202 block/partitions/ldm.c struct vblk *v = list_entry (item, struct vblk, list); item 1230 block/partitions/ldm.c struct list_head *item; item 1252 block/partitions/ldm.c list_for_each (item, frags) { item 1253 block/partitions/ldm.c f = list_entry (item, struct frag, list); item 1299 block/partitions/ldm.c struct list_head *item, *tmp; item 1303 block/partitions/ldm.c list_for_each_safe (item, tmp, list) item 1304 block/partitions/ldm.c kfree (list_entry (item, struct frag, list)); item 1321 block/partitions/ldm.c struct list_head *item; item 1325 block/partitions/ldm.c list_for_each (item, frags) { item 1326 block/partitions/ldm.c f = list_entry (item, struct frag, list); item 1414 block/partitions/ldm.c struct list_head *item, *tmp; item 1418 block/partitions/ldm.c list_for_each_safe (item, tmp, lh) item 1419 block/partitions/ldm.c kfree (list_entry (item, struct vblk, list)); item 908 drivers/android/binder_alloc.c enum lru_status binder_alloc_free_page(struct list_head *item, item 915 drivers/android/binder_alloc.c struct binder_lru_page *page = container_of(item, item 940 drivers/android/binder_alloc.c list_lru_isolate(lru, item); item 113 drivers/android/binder_alloc.h enum lru_status binder_alloc_free_page(struct list_head *item, item 1003 drivers/atm/solos-pci.c char item[10]; item 1010 drivers/atm/solos-pci.c sprintf(item,"%02X ",*(buf->data + i)); item 1011 drivers/atm/solos-pci.c strcat(msg, item); item 1013 drivers/atm/solos-pci.c sprintf(item, "\n"); item 1014 drivers/atm/solos-pci.c strcat(msg, item); item 1019 drivers/atm/solos-pci.c sprintf(item, "\n"); item 1020 drivers/atm/solos-pci.c strcat(msg, item); item 40 drivers/block/null_blk.h struct config_item item; item 202 drivers/block/null_blk_main.c static inline struct nullb_device *to_nullb_device(struct config_item *item) item 204 drivers/block/null_blk_main.c return item ? container_of(item, struct nullb_device, item) : NULL; item 268 drivers/block/null_blk_main.c nullb_device_##NAME##_show(struct config_item *item, char *page) \ item 271 drivers/block/null_blk_main.c to_nullb_device(item)->NAME, page); \ item 274 drivers/block/null_blk_main.c nullb_device_##NAME##_store(struct config_item *item, const char *page, \ item 277 drivers/block/null_blk_main.c if (test_bit(NULLB_DEV_FL_CONFIGURED, &to_nullb_device(item)->flags)) \ item 280 drivers/block/null_blk_main.c &to_nullb_device(item)->NAME, page, count); \ item 303 drivers/block/null_blk_main.c static ssize_t nullb_device_power_show(struct config_item *item, char *page) item 305 drivers/block/null_blk_main.c return nullb_device_bool_attr_show(to_nullb_device(item)->power, page); item 308 drivers/block/null_blk_main.c static ssize_t nullb_device_power_store(struct config_item *item, item 311 drivers/block/null_blk_main.c struct nullb_device *dev = to_nullb_device(item); item 344 drivers/block/null_blk_main.c static ssize_t nullb_device_badblocks_show(struct config_item *item, char *page) item 346 drivers/block/null_blk_main.c struct nullb_device *t_dev = to_nullb_device(item); item 351 drivers/block/null_blk_main.c static ssize_t nullb_device_badblocks_store(struct config_item *item, item 354 drivers/block/null_blk_main.c struct nullb_device *t_dev = to_nullb_device(item); item 421 drivers/block/null_blk_main.c static void nullb_device_release(struct config_item *item) item 423 drivers/block/null_blk_main.c struct nullb_device *dev = to_nullb_device(item); item 448 drivers/block/null_blk_main.c config_item_init_type_name(&dev->item, name, &nullb_device_type); item 450 drivers/block/null_blk_main.c return &dev->item; item 454 drivers/block/null_blk_main.c nullb_group_drop_item(struct config_group *group, struct config_item *item) item 456 drivers/block/null_blk_main.c struct nullb_device *dev = to_nullb_device(item); item 465 drivers/block/null_blk_main.c config_item_put(item); item 468 drivers/block/null_blk_main.c static ssize_t memb_group_features_show(struct config_item *item, char *page) item 115 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix_clk_table *item; item 122 drivers/clk/mmp/clk-mix.c item = &table[i]; item 123 drivers/clk/mmp/clk-mix.c parent = clk_hw_get_parent_by_index(hw, item->parent_index); item 125 drivers/clk/mmp/clk-mix.c if (parent_rate % item->rate) { item 126 drivers/clk/mmp/clk-mix.c item->valid = 0; item 128 drivers/clk/mmp/clk-mix.c item->divisor = parent_rate / item->rate; item 129 drivers/clk/mmp/clk-mix.c item->valid = 1; item 208 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix_clk_table *item; item 224 drivers/clk/mmp/clk-mix.c item = &mix->table[i]; item 225 drivers/clk/mmp/clk-mix.c if (item->valid == 0) item 228 drivers/clk/mmp/clk-mix.c item->parent_index); item 230 drivers/clk/mmp/clk-mix.c mix_rate = parent_rate / item->divisor; item 351 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix_clk_table *item; item 357 drivers/clk/mmp/clk-mix.c item = &mix->table[i]; item 358 drivers/clk/mmp/clk-mix.c if (item->valid == 0) item 360 drivers/clk/mmp/clk-mix.c if (item->parent_index == index) item 364 drivers/clk/mmp/clk-mix.c div_val = _get_div_val(mix, item->divisor); item 365 drivers/clk/mmp/clk-mix.c mux_val = _get_mux_val(mix, item->parent_index); item 380 drivers/clk/mmp/clk-mix.c struct mmp_clk_mix_clk_table *item; item 390 drivers/clk/mmp/clk-mix.c item = &mix->table[i]; item 391 drivers/clk/mmp/clk-mix.c if (item->valid == 0) item 394 drivers/clk/mmp/clk-mix.c item->parent_index); item 397 drivers/clk/mmp/clk-mix.c && item->divisor == best_divisor) item 402 drivers/clk/mmp/clk-mix.c _get_mux_val(mix, item->parent_index), item 403 drivers/clk/mmp/clk-mix.c _get_div_val(mix, item->divisor), item 248 drivers/edac/edac_device.c struct list_head *item; item 252 drivers/edac/edac_device.c list_for_each(item, &edac_device_list) { item 253 drivers/edac/edac_device.c edac_dev = list_entry(item, struct edac_device_ctl_info, link); item 275 drivers/edac/edac_device.c struct list_head *item, *insert_before; item 286 drivers/edac/edac_device.c list_for_each(item, &edac_device_list) { item 287 drivers/edac/edac_device.c rover = list_entry(item, struct edac_device_ctl_info, link); item 293 drivers/edac/edac_device.c insert_before = item; item 531 drivers/edac/edac_mc.c struct list_head *item; item 535 drivers/edac/edac_mc.c list_for_each(item, &mc_devices) { item 536 drivers/edac/edac_mc.c mci = list_entry(item, struct mem_ctl_info, link); item 598 drivers/edac/edac_mc.c struct list_head *item; item 602 drivers/edac/edac_mc.c list_for_each(item, &mc_devices) { item 603 drivers/edac/edac_mc.c mci = list_entry(item, struct mem_ctl_info, link); item 623 drivers/edac/edac_mc.c struct list_head *item, *insert_before; item 632 drivers/edac/edac_mc.c list_for_each(item, &mc_devices) { item 633 drivers/edac/edac_mc.c p = list_entry(item, struct mem_ctl_info, link); item 639 drivers/edac/edac_mc.c insert_before = item; item 676 drivers/edac/edac_mc.c struct list_head *item; item 680 drivers/edac/edac_mc.c list_for_each(item, &mc_devices) { item 681 drivers/edac/edac_mc.c mci = list_entry(item, struct mem_ctl_info, link); item 78 drivers/edac/edac_pci.c struct list_head *item; item 82 drivers/edac/edac_pci.c list_for_each(item, &edac_pci_list) { item 83 drivers/edac/edac_pci.c pci = list_entry(item, struct edac_pci_ctl_info, link); item 102 drivers/edac/edac_pci.c struct list_head *item, *insert_before; item 115 drivers/edac/edac_pci.c list_for_each(item, &edac_pci_list) { item 116 drivers/edac/edac_pci.c rover = list_entry(item, struct edac_pci_ctl_info, link); item 122 drivers/edac/edac_pci.c insert_before = item; item 239 drivers/gpu/drm/amd/display/dc/basics/vector.c const void *item) item 241 drivers/gpu/drm/amd/display/dc/basics/vector.c return dal_vector_insert_at(vector, item, vector->count); item 79 drivers/gpu/drm/amd/display/include/vector.h const void *item); item 124 drivers/gpu/drm/amd/display/include/vector.h type_t item) \ item 126 drivers/gpu/drm/amd/display/include/vector.h return dal_vector_append(vector, item); \ item 113 drivers/gpu/drm/drm_hashtab.c int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item) item 119 drivers/gpu/drm/drm_hashtab.c unsigned long key = item->key; item 132 drivers/gpu/drm/drm_hashtab.c hlist_add_behind_rcu(&item->head, parent); item 134 drivers/gpu/drm/drm_hashtab.c hlist_add_head_rcu(&item->head, h_list); item 144 drivers/gpu/drm/drm_hashtab.c int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, item 155 drivers/gpu/drm/drm_hashtab.c item->key = (unshifted_key << shift) + add; item 156 drivers/gpu/drm/drm_hashtab.c ret = drm_ht_insert_item(ht, item); item 170 drivers/gpu/drm/drm_hashtab.c struct drm_hash_item **item) item 178 drivers/gpu/drm/drm_hashtab.c *item = hlist_entry(list, struct drm_hash_item, head); item 195 drivers/gpu/drm/drm_hashtab.c int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item) item 197 drivers/gpu/drm/drm_hashtab.c hlist_del_init_rcu(&item->head); item 242 drivers/gpu/drm/i915/gvt/aperture_gm.c const char *item; item 249 drivers/gpu/drm/i915/gvt/aperture_gm.c item = "low GM space"; item 260 drivers/gpu/drm/i915/gvt/aperture_gm.c item = "high GM space"; item 271 drivers/gpu/drm/i915/gvt/aperture_gm.c item = "fence"; item 288 drivers/gpu/drm/i915/gvt/aperture_gm.c gvt_err("fail to allocate resource %s\n", item); item 161 drivers/gpu/drm/i915/gvt/firmware.c const char *item; item 170 drivers/gpu/drm/i915/gvt/firmware.c item = (s); file = (u64)(a); request = (u64)(b); \ item 197 drivers/gpu/drm/i915/gvt/firmware.c item, file, request); item 163 drivers/gpu/drm/i915/i915_query.c struct drm_i915_query_item item; item 167 drivers/gpu/drm/i915/i915_query.c if (copy_from_user(&item, user_item_ptr, sizeof(item))) item 170 drivers/gpu/drm/i915/i915_query.c if (item.query_id == 0) item 173 drivers/gpu/drm/i915/i915_query.c if (overflows_type(item.query_id - 1, unsigned long)) item 176 drivers/gpu/drm/i915/i915_query.c func_idx = item.query_id - 1; item 182 drivers/gpu/drm/i915/i915_query.c ret = i915_query_funcs[func_idx](dev_priv, &item); item 186 drivers/gpu/drm/i915/i915_query.c if (ret != item.length && put_user(ret, &user_item_ptr->length)) item 357 drivers/gpu/drm/msm/hdmi/hdmi.c #define HDMI_CFG(item, entry) \ item 358 drivers/gpu/drm/msm/hdmi/hdmi.c .item ## _names = item ##_names_ ## entry, \ item 359 drivers/gpu/drm/msm/hdmi/hdmi.c .item ## _cnt = ARRAY_SIZE(item ## _names_ ## entry) item 114 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c struct list_head item; item 131 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c INIT_LIST_HEAD(&ptc->item); item 156 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c list_add_tail(&pt->head, &pt->ptc->item); item 190 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c pt = list_first_entry_or_null(&ptc->item, typeof(*pt), head); item 225 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c list_for_each_entry_safe(pt, tt, &ptc->item, head) { item 239 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c WARN_ON(!list_empty(&ptc->item)); item 60 drivers/gpu/drm/radeon/radeon_cs.c struct list_head *item, unsigned priority) item 67 drivers/gpu/drm/radeon/radeon_cs.c list_add_tail(item, &b->bucket[min(priority, RADEON_CS_MAX_PRIORITY)]); item 91 drivers/gpu/drm/sis/sis_mm.c struct sis_memblock *item; item 105 drivers/gpu/drm/sis/sis_mm.c item = kzalloc(sizeof(*item), GFP_KERNEL); item 106 drivers/gpu/drm/sis/sis_mm.c if (!item) { item 114 drivers/gpu/drm/sis/sis_mm.c &item->mm_node, item 116 drivers/gpu/drm/sis/sis_mm.c offset = item->mm_node.start; item 119 drivers/gpu/drm/sis/sis_mm.c item->req.size = mem->size; item 120 drivers/gpu/drm/sis/sis_mm.c sis_malloc(&item->req); item 121 drivers/gpu/drm/sis/sis_mm.c if (item->req.size == 0) item 123 drivers/gpu/drm/sis/sis_mm.c offset = item->req.offset; item 126 drivers/gpu/drm/sis/sis_mm.c &item->mm_node, item 128 drivers/gpu/drm/sis/sis_mm.c offset = item->mm_node.start; item 134 drivers/gpu/drm/sis/sis_mm.c retval = idr_alloc(&dev_priv->object_idr, item, 1, 0, GFP_KERNEL); item 139 drivers/gpu/drm/sis/sis_mm.c list_add(&item->owner_list, &file_priv->obj_list); item 151 drivers/gpu/drm/sis/sis_mm.c drm_mm_remove_node(&item->mm_node); item 153 drivers/gpu/drm/sis/sis_mm.c kfree(item); item 120 drivers/gpu/drm/via/via_mm.c struct via_memblock *item; item 138 drivers/gpu/drm/via/via_mm.c item = kzalloc(sizeof(*item), GFP_KERNEL); item 139 drivers/gpu/drm/via/via_mm.c if (!item) { item 147 drivers/gpu/drm/via/via_mm.c &item->mm_node, item 151 drivers/gpu/drm/via/via_mm.c &item->mm_node, item 156 drivers/gpu/drm/via/via_mm.c retval = idr_alloc(&dev_priv->object_idr, item, 1, 0, GFP_KERNEL); item 161 drivers/gpu/drm/via/via_mm.c list_add(&item->owner_list, &file_priv->obj_list); item 166 drivers/gpu/drm/via/via_mm.c ((item->mm_node.start) << VIA_MM_ALIGN_SHIFT); item 172 drivers/gpu/drm/via/via_mm.c drm_mm_remove_node(&item->mm_node); item 174 drivers/gpu/drm/via/via_mm.c kfree(item); item 343 drivers/hid/hid-core.c static u32 item_udata(struct hid_item *item) item 345 drivers/hid/hid-core.c switch (item->size) { item 346 drivers/hid/hid-core.c case 1: return item->data.u8; item 347 drivers/hid/hid-core.c case 2: return item->data.u16; item 348 drivers/hid/hid-core.c case 4: return item->data.u32; item 353 drivers/hid/hid-core.c static s32 item_sdata(struct hid_item *item) item 355 drivers/hid/hid-core.c switch (item->size) { item 356 drivers/hid/hid-core.c case 1: return item->data.s8; item 357 drivers/hid/hid-core.c case 2: return item->data.s16; item 358 drivers/hid/hid-core.c case 4: return item->data.s32; item 367 drivers/hid/hid-core.c static int hid_parser_global(struct hid_parser *parser, struct hid_item *item) item 370 drivers/hid/hid-core.c switch (item->tag) { item 394 drivers/hid/hid-core.c parser->global.usage_page = item_udata(item); item 398 drivers/hid/hid-core.c parser->global.logical_minimum = item_sdata(item); item 403 drivers/hid/hid-core.c parser->global.logical_maximum = item_sdata(item); item 405 drivers/hid/hid-core.c parser->global.logical_maximum = item_udata(item); item 409 drivers/hid/hid-core.c parser->global.physical_minimum = item_sdata(item); item 414 drivers/hid/hid-core.c parser->global.physical_maximum = item_sdata(item); item 416 drivers/hid/hid-core.c parser->global.physical_maximum = item_udata(item); item 424 drivers/hid/hid-core.c raw_value = item_sdata(item); item 432 drivers/hid/hid-core.c parser->global.unit = item_udata(item); item 436 drivers/hid/hid-core.c parser->global.report_size = item_udata(item); item 445 drivers/hid/hid-core.c parser->global.report_count = item_udata(item); item 454 drivers/hid/hid-core.c parser->global.report_id = item_udata(item); item 464 drivers/hid/hid-core.c hid_err(parser->device, "unknown global tag 0x%x\n", item->tag); item 473 drivers/hid/hid-core.c static int hid_parser_local(struct hid_parser *parser, struct hid_item *item) item 479 drivers/hid/hid-core.c data = item_udata(item); item 481 drivers/hid/hid-core.c switch (item->tag) { item 513 drivers/hid/hid-core.c return hid_add_usage(parser, data, item->size); item 551 drivers/hid/hid-core.c if (hid_add_usage(parser, n, item->size)) { item 559 drivers/hid/hid-core.c dbg_hid("unknown local item tag 0x%x\n", item->tag); item 604 drivers/hid/hid-core.c static int hid_parser_main(struct hid_parser *parser, struct hid_item *item) item 611 drivers/hid/hid-core.c data = item_udata(item); item 613 drivers/hid/hid-core.c switch (item->tag) { item 630 drivers/hid/hid-core.c hid_warn(parser->device, "unknown main item tag 0x%x\n", item->tag); item 643 drivers/hid/hid-core.c static int hid_parser_reserved(struct hid_parser *parser, struct hid_item *item) item 645 drivers/hid/hid-core.c dbg_hid("reserved item type, tag 0x%x\n", item->tag); item 715 drivers/hid/hid-core.c static u8 *fetch_item(__u8 *start, __u8 *end, struct hid_item *item) item 724 drivers/hid/hid-core.c item->type = (b >> 2) & 3; item 725 drivers/hid/hid-core.c item->tag = (b >> 4) & 15; item 727 drivers/hid/hid-core.c if (item->tag == HID_ITEM_TAG_LONG) { item 729 drivers/hid/hid-core.c item->format = HID_ITEM_FORMAT_LONG; item 734 drivers/hid/hid-core.c item->size = *start++; item 735 drivers/hid/hid-core.c item->tag = *start++; item 737 drivers/hid/hid-core.c if ((end - start) < item->size) item 740 drivers/hid/hid-core.c item->data.longdata = start; item 741 drivers/hid/hid-core.c start += item->size; item 745 drivers/hid/hid-core.c item->format = HID_ITEM_FORMAT_SHORT; item 746 drivers/hid/hid-core.c item->size = b & 3; item 748 drivers/hid/hid-core.c switch (item->size) { item 755 drivers/hid/hid-core.c item->data.u8 = *start++; item 761 drivers/hid/hid-core.c item->data.u16 = get_unaligned_le16(start); item 766 drivers/hid/hid-core.c item->size++; item 769 drivers/hid/hid-core.c item->data.u32 = get_unaligned_le32(start); item 819 drivers/hid/hid-core.c static int hid_scan_main(struct hid_parser *parser, struct hid_item *item) item 826 drivers/hid/hid-core.c data = item_udata(item); item 828 drivers/hid/hid-core.c switch (item->tag) { item 863 drivers/hid/hid-core.c struct hid_item item; item 867 drivers/hid/hid-core.c struct hid_item *item) = { item 886 drivers/hid/hid-core.c while ((start = fetch_item(start, end, &item)) != NULL) item 887 drivers/hid/hid-core.c dispatch_type[item.type](parser, &item); item 1186 drivers/hid/hid-core.c struct hid_item item; item 1194 drivers/hid/hid-core.c struct hid_item *item) = { item 1245 drivers/hid/hid-core.c while ((next = fetch_item(start, end, &item)) != NULL) { item 1248 drivers/hid/hid-core.c if (item.format != HID_ITEM_FORMAT_SHORT) { item 1253 drivers/hid/hid-core.c if (dispatch_type[item.type](parser, &item)) { item 1255 drivers/hid/hid-core.c item.format, (unsigned)item.size, item 1256 drivers/hid/hid-core.c (unsigned)item.type, (unsigned)item.tag); item 118 drivers/hwtracing/stm/p_sys-t.c static ssize_t sys_t_policy_uuid_show(struct config_item *item, item 121 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); item 127 drivers/hwtracing/stm/p_sys-t.c sys_t_policy_uuid_store(struct config_item *item, const char *page, item 130 drivers/hwtracing/stm/p_sys-t.c struct mutex *mutexp = &item->ci_group->cg_subsys->su_mutex; item 131 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); item 143 drivers/hwtracing/stm/p_sys-t.c static ssize_t sys_t_policy_do_len_show(struct config_item *item, item 146 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); item 152 drivers/hwtracing/stm/p_sys-t.c sys_t_policy_do_len_store(struct config_item *item, const char *page, item 155 drivers/hwtracing/stm/p_sys-t.c struct mutex *mutexp = &item->ci_group->cg_subsys->su_mutex; item 156 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); item 168 drivers/hwtracing/stm/p_sys-t.c static ssize_t sys_t_policy_ts_interval_show(struct config_item *item, item 171 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); item 177 drivers/hwtracing/stm/p_sys-t.c sys_t_policy_ts_interval_store(struct config_item *item, const char *page, item 180 drivers/hwtracing/stm/p_sys-t.c struct mutex *mutexp = &item->ci_group->cg_subsys->su_mutex; item 181 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); item 199 drivers/hwtracing/stm/p_sys-t.c static ssize_t sys_t_policy_clocksync_interval_show(struct config_item *item, item 202 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); item 208 drivers/hwtracing/stm/p_sys-t.c sys_t_policy_clocksync_interval_store(struct config_item *item, item 211 drivers/hwtracing/stm/p_sys-t.c struct mutex *mutexp = &item->ci_group->cg_subsys->su_mutex; item 212 drivers/hwtracing/stm/p_sys-t.c struct sys_t_policy_node *pn = to_pdrv_policy_node(item); item 65 drivers/hwtracing/stm/policy.c static inline struct stp_policy *to_stp_policy(struct config_item *item) item 67 drivers/hwtracing/stm/policy.c return item ? item 68 drivers/hwtracing/stm/policy.c container_of(to_config_group(item), struct stp_policy, group) : item 73 drivers/hwtracing/stm/policy.c to_stp_policy_node(struct config_item *item) item 75 drivers/hwtracing/stm/policy.c return item ? item 76 drivers/hwtracing/stm/policy.c container_of(to_config_group(item), struct stp_policy_node, item 81 drivers/hwtracing/stm/policy.c void *to_pdrv_policy_node(struct config_item *item) item 83 drivers/hwtracing/stm/policy.c struct stp_policy_node *node = to_stp_policy_node(item); item 90 drivers/hwtracing/stm/policy.c stp_policy_node_masters_show(struct config_item *item, char *page) item 92 drivers/hwtracing/stm/policy.c struct stp_policy_node *policy_node = to_stp_policy_node(item); item 102 drivers/hwtracing/stm/policy.c stp_policy_node_masters_store(struct config_item *item, const char *page, item 105 drivers/hwtracing/stm/policy.c struct stp_policy_node *policy_node = to_stp_policy_node(item); item 137 drivers/hwtracing/stm/policy.c stp_policy_node_channels_show(struct config_item *item, char *page) item 139 drivers/hwtracing/stm/policy.c struct stp_policy_node *policy_node = to_stp_policy_node(item); item 149 drivers/hwtracing/stm/policy.c stp_policy_node_channels_store(struct config_item *item, const char *page, item 152 drivers/hwtracing/stm/policy.c struct stp_policy_node *policy_node = to_stp_policy_node(item); item 182 drivers/hwtracing/stm/policy.c static void stp_policy_node_release(struct config_item *item) item 184 drivers/hwtracing/stm/policy.c struct stp_policy_node *node = to_stp_policy_node(item); item 273 drivers/hwtracing/stm/policy.c stp_policy_node_drop(struct config_group *group, struct config_item *item) item 275 drivers/hwtracing/stm/policy.c config_item_put(item); item 293 drivers/hwtracing/stm/policy.c static ssize_t stp_policy_device_show(struct config_item *item, item 296 drivers/hwtracing/stm/policy.c struct stp_policy *policy = to_stp_policy(item); item 309 drivers/hwtracing/stm/policy.c static ssize_t stp_policy_protocol_show(struct config_item *item, item 312 drivers/hwtracing/stm/policy.c struct stp_policy *policy = to_stp_policy(item); item 356 drivers/hwtracing/stm/policy.c static void stp_policy_release(struct config_item *item) item 358 drivers/hwtracing/stm/policy.c struct stp_policy *policy = to_stp_policy(item); item 500 drivers/hwtracing/stm/policy.c struct config_item *item; item 515 drivers/hwtracing/stm/policy.c list_for_each_entry(item, head, ci_entry) { item 516 drivers/hwtracing/stm/policy.c policy_node = to_stp_policy_node(item); item 92 drivers/hwtracing/stm/stm.h void *to_pdrv_policy_node(struct config_item *item); item 143 drivers/iio/industrialio-sw-device.c struct config_item *item) item 145 drivers/iio/industrialio-sw-device.c struct iio_sw_device *d = to_iio_sw_device(item); item 148 drivers/iio/industrialio-sw-device.c config_item_put(item); item 143 drivers/iio/industrialio-sw-trigger.c struct config_item *item) item 145 drivers/iio/industrialio-sw-trigger.c struct iio_sw_trigger *t = to_iio_sw_trigger(item); item 148 drivers/iio/industrialio-sw-trigger.c config_item_put(item); item 58 drivers/infiniband/core/cma_configfs.c static struct cma_dev_port_group *to_dev_port_group(struct config_item *item) item 62 drivers/infiniband/core/cma_configfs.c if (!item) item 65 drivers/infiniband/core/cma_configfs.c group = container_of(item, struct config_group, cg_item); item 74 drivers/infiniband/core/cma_configfs.c static int cma_configfs_params_get(struct config_item *item, item 78 drivers/infiniband/core/cma_configfs.c struct cma_dev_port_group *group = to_dev_port_group(item); item 100 drivers/infiniband/core/cma_configfs.c static ssize_t default_roce_mode_show(struct config_item *item, item 108 drivers/infiniband/core/cma_configfs.c ret = cma_configfs_params_get(item, &cma_dev, &group); item 121 drivers/infiniband/core/cma_configfs.c static ssize_t default_roce_mode_store(struct config_item *item, item 132 drivers/infiniband/core/cma_configfs.c ret = cma_configfs_params_get(item, &cma_dev, &group); item 145 drivers/infiniband/core/cma_configfs.c static ssize_t default_roce_tos_show(struct config_item *item, char *buf) item 152 drivers/infiniband/core/cma_configfs.c ret = cma_configfs_params_get(item, &cma_dev, &group); item 162 drivers/infiniband/core/cma_configfs.c static ssize_t default_roce_tos_store(struct config_item *item, item 174 drivers/infiniband/core/cma_configfs.c ret = cma_configfs_params_get(item, &cma_dev, &group); item 242 drivers/infiniband/core/cma_configfs.c static void release_cma_dev(struct config_item *item) item 244 drivers/infiniband/core/cma_configfs.c struct config_group *group = container_of(item, struct config_group, item 253 drivers/infiniband/core/cma_configfs.c static void release_cma_ports_group(struct config_item *item) item 255 drivers/infiniband/core/cma_configfs.c struct config_group *group = container_of(item, struct config_group, item 108 drivers/infiniband/core/umem_odp.c static int invalidate_range_start_trampoline(struct ib_umem_odp *item, item 111 drivers/infiniband/core/umem_odp.c ib_umem_notifier_start_account(item); item 112 drivers/infiniband/core/umem_odp.c item->umem.ibdev->ops.invalidate_range(item, start, end); item 148 drivers/infiniband/core/umem_odp.c static int invalidate_range_end_trampoline(struct ib_umem_odp *item, u64 start, item 151 drivers/infiniband/core/umem_odp.c ib_umem_notifier_end_account(item); item 355 drivers/infiniband/hw/mlx5/cq.c struct ib_sig_err *item) item 364 drivers/infiniband/hw/mlx5/cq.c item->err_type = IB_SIG_BAD_GUARD; item 365 drivers/infiniband/hw/mlx5/cq.c item->expected = be32_to_cpu(cqe->expected_trans_sig) >> 16; item 366 drivers/infiniband/hw/mlx5/cq.c item->actual = be32_to_cpu(cqe->actual_trans_sig) >> 16; item 369 drivers/infiniband/hw/mlx5/cq.c item->err_type = IB_SIG_BAD_REFTAG; item 370 drivers/infiniband/hw/mlx5/cq.c item->expected = be32_to_cpu(cqe->expected_reftag); item 371 drivers/infiniband/hw/mlx5/cq.c item->actual = be32_to_cpu(cqe->actual_reftag); item 374 drivers/infiniband/hw/mlx5/cq.c item->err_type = IB_SIG_BAD_APPTAG; item 375 drivers/infiniband/hw/mlx5/cq.c item->expected = be32_to_cpu(cqe->expected_trans_sig) & 0xffff; item 376 drivers/infiniband/hw/mlx5/cq.c item->actual = be32_to_cpu(cqe->actual_trans_sig) & 0xffff; item 382 drivers/infiniband/hw/mlx5/cq.c item->sig_err_offset = be64_to_cpu(cqe->err_offset); item 383 drivers/infiniband/hw/mlx5/cq.c item->key = be32_to_cpu(cqe->mkey); item 2348 drivers/infiniband/hw/mlx5/devx.c struct devx_event_subscription *item; item 2350 drivers/infiniband/hw/mlx5/devx.c list_for_each_entry_rcu(item, fd_list, xa_list) { item 2351 drivers/infiniband/hw/mlx5/devx.c if (!get_file_rcu(item->filp)) item 2354 drivers/infiniband/hw/mlx5/devx.c if (item->eventfd) { item 2355 drivers/infiniband/hw/mlx5/devx.c eventfd_signal(item->eventfd, 1); item 2356 drivers/infiniband/hw/mlx5/devx.c fput(item->filp); item 2360 drivers/infiniband/hw/mlx5/devx.c deliver_event(item, data); item 2361 drivers/infiniband/hw/mlx5/devx.c fput(item->filp); item 3441 drivers/infiniband/ulp/srpt/ib_srpt.c static ssize_t srpt_tpg_attrib_srp_max_rdma_size_show(struct config_item *item, item 3444 drivers/infiniband/ulp/srpt/ib_srpt.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 3450 drivers/infiniband/ulp/srpt/ib_srpt.c static ssize_t srpt_tpg_attrib_srp_max_rdma_size_store(struct config_item *item, item 3453 drivers/infiniband/ulp/srpt/ib_srpt.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 3478 drivers/infiniband/ulp/srpt/ib_srpt.c static ssize_t srpt_tpg_attrib_srp_max_rsp_size_show(struct config_item *item, item 3481 drivers/infiniband/ulp/srpt/ib_srpt.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 3487 drivers/infiniband/ulp/srpt/ib_srpt.c static ssize_t srpt_tpg_attrib_srp_max_rsp_size_store(struct config_item *item, item 3490 drivers/infiniband/ulp/srpt/ib_srpt.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 3515 drivers/infiniband/ulp/srpt/ib_srpt.c static ssize_t srpt_tpg_attrib_srp_sq_size_show(struct config_item *item, item 3518 drivers/infiniband/ulp/srpt/ib_srpt.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 3524 drivers/infiniband/ulp/srpt/ib_srpt.c static ssize_t srpt_tpg_attrib_srp_sq_size_store(struct config_item *item, item 3527 drivers/infiniband/ulp/srpt/ib_srpt.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 3552 drivers/infiniband/ulp/srpt/ib_srpt.c static ssize_t srpt_tpg_attrib_use_srq_show(struct config_item *item, item 3555 drivers/infiniband/ulp/srpt/ib_srpt.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 3561 drivers/infiniband/ulp/srpt/ib_srpt.c static ssize_t srpt_tpg_attrib_use_srq_store(struct config_item *item, item 3564 drivers/infiniband/ulp/srpt/ib_srpt.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 3646 drivers/infiniband/ulp/srpt/ib_srpt.c static ssize_t srpt_rdma_cm_port_show(struct config_item *item, char *page) item 3651 drivers/infiniband/ulp/srpt/ib_srpt.c static ssize_t srpt_rdma_cm_port_store(struct config_item *item, item 3699 drivers/infiniband/ulp/srpt/ib_srpt.c static ssize_t srpt_tpg_enable_show(struct config_item *item, char *page) item 3701 drivers/infiniband/ulp/srpt/ib_srpt.c struct se_portal_group *se_tpg = to_tpg(item); item 3707 drivers/infiniband/ulp/srpt/ib_srpt.c static ssize_t srpt_tpg_enable_store(struct config_item *item, item 3710 drivers/infiniband/ulp/srpt/ib_srpt.c struct se_portal_group *se_tpg = to_tpg(item); item 3796 drivers/infiniband/ulp/srpt/ib_srpt.c static ssize_t srpt_wwn_version_show(struct config_item *item, char *buf) item 644 drivers/input/rmi4/rmi_driver.c struct rmi_register_desc_item *item = &rdesc->registers[i]; item 662 drivers/input/rmi4/rmi_driver.c item->reg = reg; item 663 drivers/input/rmi4/rmi_driver.c item->reg_size = reg_size; item 670 drivers/input/rmi4/rmi_driver.c bitmap_set(item->subpacket_map, item 676 drivers/input/rmi4/rmi_driver.c item->num_subpackets = bitmap_weight(item->subpacket_map, item 681 drivers/input/rmi4/rmi_driver.c item->reg, item->reg_size, item->num_subpackets); item 695 drivers/input/rmi4/rmi_driver.c const struct rmi_register_desc_item *item; item 699 drivers/input/rmi4/rmi_driver.c item = &rdesc->registers[i]; item 700 drivers/input/rmi4/rmi_driver.c if (item->reg == reg) item 701 drivers/input/rmi4/rmi_driver.c return item; item 709 drivers/input/rmi4/rmi_driver.c const struct rmi_register_desc_item *item; item 714 drivers/input/rmi4/rmi_driver.c item = &rdesc->registers[i]; item 715 drivers/input/rmi4/rmi_driver.c size += item->reg_size; item 724 drivers/input/rmi4/rmi_driver.c const struct rmi_register_desc_item *item; item 729 drivers/input/rmi4/rmi_driver.c item = &rdesc->registers[i]; item 730 drivers/input/rmi4/rmi_driver.c if (item->reg == reg) item 737 drivers/input/rmi4/rmi_driver.c bool rmi_register_desc_has_subpacket(const struct rmi_register_desc_item *item, item 740 drivers/input/rmi4/rmi_driver.c return find_next_bit(item->subpacket_map, RMI_REG_DESC_PRESENSE_BITS, item 84 drivers/input/rmi4/rmi_driver.h bool rmi_register_desc_has_subpacket(const struct rmi_register_desc_item *item, item 65 drivers/input/rmi4/rmi_f12.c const struct rmi_register_desc_item *item; item 77 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->control_reg_desc, 8); item 78 drivers/input/rmi4/rmi_f12.c if (!item) { item 86 drivers/input/rmi4/rmi_f12.c if (item->reg_size > sizeof(buf)) { item 89 drivers/input/rmi4/rmi_f12.c sizeof(buf), item->reg_size); item 94 drivers/input/rmi4/rmi_f12.c item->reg_size); item 99 drivers/input/rmi4/rmi_f12.c if (rmi_register_desc_has_subpacket(item, 0)) { item 108 drivers/input/rmi4/rmi_f12.c if (rmi_register_desc_has_subpacket(item, 1)) { item 114 drivers/input/rmi4/rmi_f12.c if (rmi_register_desc_has_subpacket(item, 2)) { item 125 drivers/input/rmi4/rmi_f12.c if (rmi_register_desc_has_subpacket(item, 3)) { item 132 drivers/input/rmi4/rmi_f12.c if (rmi_register_desc_has_subpacket(item, 4)) item 239 drivers/input/rmi4/rmi_f12.c const struct rmi_register_desc_item *item; item 249 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->control_reg_desc, 20); item 250 drivers/input/rmi4/rmi_f12.c if (item) { item 260 drivers/input/rmi4/rmi_f12.c control_size = min(item->reg_size, 3UL); item 267 drivers/input/rmi4/rmi_f12.c if (rmi_register_desc_has_subpacket(item, 0)) item 325 drivers/input/rmi4/rmi_f12.c const struct rmi_register_desc_item *item; item 438 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 0); item 439 drivers/input/rmi4/rmi_f12.c if (item && !drvdata->attn_data.data) item 440 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 442 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 1); item 443 drivers/input/rmi4/rmi_f12.c if (item) { item 444 drivers/input/rmi4/rmi_f12.c f12->data1 = item; item 446 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 447 drivers/input/rmi4/rmi_f12.c sensor->nbr_fingers = item->num_subpackets; item 449 drivers/input/rmi4/rmi_f12.c sensor->attn_size += item->reg_size; item 452 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 2); item 453 drivers/input/rmi4/rmi_f12.c if (item && !drvdata->attn_data.data) item 454 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 456 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 3); item 457 drivers/input/rmi4/rmi_f12.c if (item && !drvdata->attn_data.data) item 458 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 460 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 4); item 461 drivers/input/rmi4/rmi_f12.c if (item && !drvdata->attn_data.data) item 462 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 464 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 5); item 465 drivers/input/rmi4/rmi_f12.c if (item) { item 466 drivers/input/rmi4/rmi_f12.c f12->data5 = item; item 468 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 469 drivers/input/rmi4/rmi_f12.c sensor->attn_size += item->reg_size; item 472 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 6); item 473 drivers/input/rmi4/rmi_f12.c if (item && !drvdata->attn_data.data) { item 474 drivers/input/rmi4/rmi_f12.c f12->data6 = item; item 476 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 479 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 7); item 480 drivers/input/rmi4/rmi_f12.c if (item && !drvdata->attn_data.data) item 481 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 483 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 8); item 484 drivers/input/rmi4/rmi_f12.c if (item && !drvdata->attn_data.data) item 485 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 487 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 9); item 488 drivers/input/rmi4/rmi_f12.c if (item && !drvdata->attn_data.data) { item 489 drivers/input/rmi4/rmi_f12.c f12->data9 = item; item 491 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 496 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 10); item 497 drivers/input/rmi4/rmi_f12.c if (item && !drvdata->attn_data.data) item 498 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 500 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 11); item 501 drivers/input/rmi4/rmi_f12.c if (item && !drvdata->attn_data.data) item 502 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 504 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 12); item 505 drivers/input/rmi4/rmi_f12.c if (item && !drvdata->attn_data.data) item 506 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 508 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 13); item 509 drivers/input/rmi4/rmi_f12.c if (item && !drvdata->attn_data.data) item 510 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 512 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 14); item 513 drivers/input/rmi4/rmi_f12.c if (item && !drvdata->attn_data.data) item 514 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 516 drivers/input/rmi4/rmi_f12.c item = rmi_get_register_desc_item(&f12->data_reg_desc, 15); item 517 drivers/input/rmi4/rmi_f12.c if (item && !drvdata->attn_data.data) { item 518 drivers/input/rmi4/rmi_f12.c f12->data15 = item; item 520 drivers/input/rmi4/rmi_f12.c data_offset += item->reg_size; item 3466 drivers/media/pci/bt8xx/bttv-driver.c struct bttv_buffer *item; item 3473 drivers/media/pci/bt8xx/bttv-driver.c item = list_entry(btv->capture.next, struct bttv_buffer, vb.queue); item 3474 drivers/media/pci/bt8xx/bttv-driver.c if (V4L2_FIELD_HAS_TOP(item->vb.field)) item 3475 drivers/media/pci/bt8xx/bttv-driver.c set->top = item; item 3476 drivers/media/pci/bt8xx/bttv-driver.c if (V4L2_FIELD_HAS_BOTTOM(item->vb.field)) item 3477 drivers/media/pci/bt8xx/bttv-driver.c set->bottom = item; item 3480 drivers/media/pci/bt8xx/bttv-driver.c if (!V4L2_FIELD_HAS_BOTH(item->vb.field) && item 3481 drivers/media/pci/bt8xx/bttv-driver.c (item->vb.queue.next != &btv->capture)) { item 3482 drivers/media/pci/bt8xx/bttv-driver.c item = list_entry(item->vb.queue.next, struct bttv_buffer, vb.queue); item 3510 drivers/media/pci/bt8xx/bttv-driver.c if (!V4L2_FIELD_HAS_BOTH(item->vb.field)) { item 3512 drivers/media/pci/bt8xx/bttv-driver.c V4L2_FIELD_BOTTOM == item->vb.field) { item 3513 drivers/media/pci/bt8xx/bttv-driver.c set->bottom = item; item 3602 drivers/media/pci/bt8xx/bttv-driver.c struct bttv_buffer *item; item 3632 drivers/media/pci/bt8xx/bttv-driver.c item = list_entry(btv->capture.next, struct bttv_buffer, vb.queue); item 3633 drivers/media/pci/bt8xx/bttv-driver.c list_del(&item->vb.queue); item 3634 drivers/media/pci/bt8xx/bttv-driver.c item->vb.state = VIDEOBUF_ERROR; item 3635 drivers/media/pci/bt8xx/bttv-driver.c wake_up(&item->vb.done); item 3638 drivers/media/pci/bt8xx/bttv-driver.c item = list_entry(btv->vcapture.next, struct bttv_buffer, vb.queue); item 3639 drivers/media/pci/bt8xx/bttv-driver.c list_del(&item->vb.queue); item 3640 drivers/media/pci/bt8xx/bttv-driver.c item->vb.state = VIDEOBUF_ERROR; item 3641 drivers/media/pci/bt8xx/bttv-driver.c wake_up(&item->vb.done); item 142 drivers/media/pci/cx18/cx18-alsa-pcm.c struct cx18_open_id item; item 149 drivers/media/pci/cx18/cx18-alsa-pcm.c item.cx = cx; item 150 drivers/media/pci/cx18/cx18-alsa-pcm.c item.type = s->type; item 151 drivers/media/pci/cx18/cx18-alsa-pcm.c item.open_id = cx->open_id++; item 154 drivers/media/pci/cx18/cx18-alsa-pcm.c if (cx18_claim_stream(&item, item.type)) { item 783 drivers/media/pci/cx18/cx18-fileops.c struct cx18_open_id *item; item 788 drivers/media/pci/cx18/cx18-fileops.c item = kzalloc(sizeof(struct cx18_open_id), GFP_KERNEL); item 789 drivers/media/pci/cx18/cx18-fileops.c if (NULL == item) { item 793 drivers/media/pci/cx18/cx18-fileops.c v4l2_fh_init(&item->fh, &s->video_dev); item 795 drivers/media/pci/cx18/cx18-fileops.c item->cx = cx; item 796 drivers/media/pci/cx18/cx18-fileops.c item->type = s->type; item 798 drivers/media/pci/cx18/cx18-fileops.c item->open_id = cx->open_id++; item 799 drivers/media/pci/cx18/cx18-fileops.c filp->private_data = &item->fh; item 800 drivers/media/pci/cx18/cx18-fileops.c v4l2_fh_add(&item->fh); item 802 drivers/media/pci/cx18/cx18-fileops.c if (item->type == CX18_ENC_STREAM_TYPE_RAD && item 808 drivers/media/pci/cx18/cx18-fileops.c v4l2_fh_del(&item->fh); item 809 drivers/media/pci/cx18/cx18-fileops.c v4l2_fh_exit(&item->fh); item 810 drivers/media/pci/cx18/cx18-fileops.c kfree(item); item 140 drivers/media/pci/ivtv/ivtv-alsa-pcm.c struct ivtv_open_id item; item 153 drivers/media/pci/ivtv/ivtv-alsa-pcm.c v4l2_fh_init(&item.fh, &s->vdev); item 154 drivers/media/pci/ivtv/ivtv-alsa-pcm.c item.itv = itv; item 155 drivers/media/pci/ivtv/ivtv-alsa-pcm.c item.type = s->type; item 158 drivers/media/pci/ivtv/ivtv-alsa-pcm.c if (ivtv_claim_stream(&item, item.type)) { item 160 drivers/media/pci/ivtv/ivtv-alsa-pcm.c v4l2_fh_exit(&item.fh); item 936 drivers/media/pci/ivtv/ivtv-fileops.c struct ivtv_open_id *item; item 981 drivers/media/pci/ivtv/ivtv-fileops.c item = kzalloc(sizeof(struct ivtv_open_id), GFP_KERNEL); item 982 drivers/media/pci/ivtv/ivtv-fileops.c if (NULL == item) { item 986 drivers/media/pci/ivtv/ivtv-fileops.c v4l2_fh_init(&item->fh, &s->vdev); item 987 drivers/media/pci/ivtv/ivtv-fileops.c item->itv = itv; item 988 drivers/media/pci/ivtv/ivtv-fileops.c item->type = s->type; item 990 drivers/media/pci/ivtv/ivtv-fileops.c filp->private_data = &item->fh; item 991 drivers/media/pci/ivtv/ivtv-fileops.c v4l2_fh_add(&item->fh); item 993 drivers/media/pci/ivtv/ivtv-fileops.c if (item->type == IVTV_ENC_STREAM_TYPE_RAD && item 999 drivers/media/pci/ivtv/ivtv-fileops.c v4l2_fh_del(&item->fh); item 1000 drivers/media/pci/ivtv/ivtv-fileops.c v4l2_fh_exit(&item->fh); item 1001 drivers/media/pci/ivtv/ivtv-fileops.c kfree(item); item 234 drivers/media/rc/bpf-lirc.c struct bpf_prog_array_item *item; item 241 drivers/media/rc/bpf-lirc.c for (item = array->items; item->prog; item++) item 242 drivers/media/rc/bpf-lirc.c bpf_prog_put(item->prog); item 562 drivers/media/usb/ttusb-dec/ttusb_dec.c struct list_head *item; item 570 drivers/media/usb/ttusb-dec/ttusb_dec.c for (item = dec->filter_info_list.next; item != &dec->filter_info_list; item 571 drivers/media/usb/ttusb-dec/ttusb_dec.c item = item->next) { item 572 drivers/media/usb/ttusb-dec/ttusb_dec.c finfo = list_entry(item, struct filter_info, filter_info_list); item 774 drivers/media/usb/ttusb-dec/ttusb_dec.c struct list_head *item; item 780 drivers/media/usb/ttusb-dec/ttusb_dec.c if ((item = dec->urb_frame_list.next) != &dec->urb_frame_list) { item 781 drivers/media/usb/ttusb-dec/ttusb_dec.c frame = list_entry(item, struct urb_frame, item 1601 drivers/media/usb/ttusb-dec/ttusb_dec.c struct list_head *item; item 1606 drivers/media/usb/ttusb-dec/ttusb_dec.c while ((item = dec->urb_frame_list.next) != &dec->urb_frame_list) { item 1607 drivers/media/usb/ttusb-dec/ttusb_dec.c frame = list_entry(item, struct urb_frame, urb_frame_list); item 1621 drivers/media/usb/ttusb-dec/ttusb_dec.c struct list_head *item; item 1624 drivers/media/usb/ttusb-dec/ttusb_dec.c while ((item = dec->filter_info_list.next) != &dec->filter_info_list) { item 1625 drivers/media/usb/ttusb-dec/ttusb_dec.c finfo = list_entry(item, struct filter_info, filter_info_list); item 215 drivers/misc/lkdtm/bugs.c struct lkdtm_list item; item 219 drivers/misc/lkdtm/bugs.c list_add(&item.node, &test_head); item 222 drivers/misc/lkdtm/bugs.c list_del(&item.node); item 225 drivers/misc/lkdtm/bugs.c list_add(&item.node, &test_head); item 228 drivers/misc/lkdtm/bugs.c item.node.next = redirection; item 229 drivers/misc/lkdtm/bugs.c list_del(&item.node); item 73 drivers/misc/mic/scif/scif_debugfs.c struct list_head *item; item 76 drivers/misc/mic/scif/scif_debugfs.c list_for_each(item, head) { item 77 drivers/misc/mic/scif/scif_debugfs.c window = list_entry(item, struct scif_window, list); item 111 drivers/misc/mic/scif/scif_dma.c struct list_head *item, *tmp; item 119 drivers/misc/mic/scif/scif_dma.c list_for_each_safe(item, tmp, &mmn->tc_reg_list) { item 120 drivers/misc/mic/scif/scif_dma.c window = list_entry(item, struct scif_window, list); item 144 drivers/misc/mic/scif/scif_dma.c struct list_head *item, *tmp; item 147 drivers/misc/mic/scif/scif_dma.c list_for_each_safe(item, tmp, &ep->rma_info.mmn_list) { item 148 drivers/misc/mic/scif/scif_dma.c mmn = list_entry(item, struct scif_mmu_notif, list); item 155 drivers/misc/mic/scif/scif_dma.c struct list_head *item, *tmp; item 159 drivers/misc/mic/scif/scif_dma.c list_for_each_safe(item, tmp, &ep->rma_info.mmn_list) { item 160 drivers/misc/mic/scif/scif_dma.c mmn = list_entry(item, struct scif_mmu_notif, list); item 224 drivers/misc/mic/scif/scif_dma.c struct list_head *item, *tmp; item 227 drivers/misc/mic/scif/scif_dma.c list_for_each_safe(item, tmp, &rma->mmn_list) { item 228 drivers/misc/mic/scif/scif_dma.c mmn = list_entry(item, struct scif_mmu_notif, list); item 230 drivers/misc/mic/scif/scif_dma.c list_del(item); item 569 drivers/misc/mic/scif/scif_dma.c struct list_head *item, *tmp; item 577 drivers/misc/mic/scif/scif_dma.c list_for_each_safe(item, tmp, &scif_info.rma) { item 578 drivers/misc/mic/scif/scif_dma.c window = list_entry(item, struct scif_window, item 613 drivers/misc/mic/scif/scif_dma.c struct list_head *item, *tmp; item 621 drivers/misc/mic/scif/scif_dma.c list_for_each_safe(item, tmp, &scif_info.rma_tc) { item 622 drivers/misc/mic/scif/scif_dma.c window = list_entry(item, struct scif_window, list); item 366 drivers/misc/mic/scif/scif_fence.c struct list_head *item, *tmp; item 373 drivers/misc/mic/scif/scif_fence.c list_for_each_safe(item, tmp, &scif_info.fence) { item 374 drivers/misc/mic/scif/scif_fence.c fence = list_entry(item, struct scif_remote_fence_info, item 68 drivers/misc/mic/scif/scif_mmap.c struct list_head *item; item 74 drivers/misc/mic/scif/scif_mmap.c list_for_each(item, &ep->rma_info.vma_list) { item 75 drivers/misc/mic/scif/scif_mmap.c info = list_entry(item, struct scif_vma_info, list); item 93 drivers/misc/mic/scif/scif_mmap.c struct list_head *item; item 96 drivers/misc/mic/scif/scif_mmap.c list_for_each(item, head) { item 97 drivers/misc/mic/scif/scif_mmap.c ep = list_entry(item, struct scif_endpt, list); item 147 drivers/misc/mic/scif/scif_mmap.c struct list_head *item; item 150 drivers/misc/mic/scif/scif_mmap.c list_for_each(item, &scif_info.zombie) { item 151 drivers/misc/mic/scif/scif_mmap.c ep = list_entry(item, struct scif_endpt, list); item 181 drivers/misc/mic/scif/scif_mmap.c struct list_head *item; item 185 drivers/misc/mic/scif/scif_mmap.c list_for_each(item, &ep->rma_info.vma_list) { item 186 drivers/misc/mic/scif/scif_mmap.c info = list_entry(item, struct scif_vma_info, list); item 23 drivers/misc/mic/scif/scif_rma_list.c struct list_head *item; item 34 drivers/misc/mic/scif/scif_rma_list.c list_for_each(item, head) { item 35 drivers/misc/mic/scif/scif_rma_list.c curr = list_entry(item, struct scif_window, list); item 52 drivers/misc/mic/scif/scif_rma_list.c struct list_head *item; item 55 drivers/misc/mic/scif/scif_rma_list.c list_for_each(item, head) { item 56 drivers/misc/mic/scif/scif_rma_list.c curr = list_entry(item, struct scif_window, list); item 78 drivers/misc/mic/scif/scif_rma_list.c struct list_head *item, *temp, *head = req->head; item 96 drivers/misc/mic/scif/scif_rma_list.c list_for_each_safe(item, temp, head) { item 97 drivers/misc/mic/scif/scif_rma_list.c window = list_entry(item, struct scif_window, list); item 137 drivers/misc/mic/scif/scif_rma_list.c struct list_head *item; item 145 drivers/misc/mic/scif/scif_rma_list.c list_for_each(item, req->head) { item 146 drivers/misc/mic/scif/scif_rma_list.c window = list_entry(item, struct scif_window, list); item 227 drivers/misc/mic/scif/scif_rma_list.c struct list_head *item, *tmp; item 233 drivers/misc/mic/scif/scif_rma_list.c list_for_each_safe(item, tmp, head) { item 234 drivers/misc/mic/scif/scif_rma_list.c window = list_entry(item, struct scif_window, list); item 249 drivers/misc/mic/scif/scif_rma_list.c struct list_head *item, *tmp; item 257 drivers/misc/mic/scif/scif_rma_list.c item = NULL; item 259 drivers/misc/mic/scif/scif_rma_list.c list_for_each_safe(item, tmp, head) { item 260 drivers/misc/mic/scif/scif_rma_list.c window = list_entry(item, struct scif_window, list); item 2865 drivers/net/ethernet/cadence/macb_main.c struct ethtool_rx_fs_item *item; item 2874 drivers/net/ethernet/cadence/macb_main.c list_for_each_entry(item, &bp->rx_fs_list.list, list) { item 2875 drivers/net/ethernet/cadence/macb_main.c struct ethtool_rx_flow_spec *fs = &item->fs; item 2993 drivers/net/ethernet/cadence/macb_main.c struct ethtool_rx_fs_item *item, *newfs; item 3013 drivers/net/ethernet/cadence/macb_main.c list_for_each_entry(item, &bp->rx_fs_list.list, list) { item 3014 drivers/net/ethernet/cadence/macb_main.c if (item->fs.location > newfs->fs.location) { item 3015 drivers/net/ethernet/cadence/macb_main.c list_add_tail(&newfs->list, &item->list); item 3018 drivers/net/ethernet/cadence/macb_main.c } else if (item->fs.location == fs->location) { item 3046 drivers/net/ethernet/cadence/macb_main.c struct ethtool_rx_fs_item *item; item 3052 drivers/net/ethernet/cadence/macb_main.c list_for_each_entry(item, &bp->rx_fs_list.list, list) { item 3053 drivers/net/ethernet/cadence/macb_main.c if (item->fs.location == cmd->fs.location) { item 3055 drivers/net/ethernet/cadence/macb_main.c fs = &(item->fs); item 3066 drivers/net/ethernet/cadence/macb_main.c list_del(&item->list); item 3069 drivers/net/ethernet/cadence/macb_main.c kfree(item); item 3082 drivers/net/ethernet/cadence/macb_main.c struct ethtool_rx_fs_item *item; item 3084 drivers/net/ethernet/cadence/macb_main.c list_for_each_entry(item, &bp->rx_fs_list.list, list) { item 3085 drivers/net/ethernet/cadence/macb_main.c if (item->fs.location == cmd->fs.location) { item 3086 drivers/net/ethernet/cadence/macb_main.c memcpy(&cmd->fs, &item->fs, sizeof(cmd->fs)); item 3097 drivers/net/ethernet/cadence/macb_main.c struct ethtool_rx_fs_item *item; item 3100 drivers/net/ethernet/cadence/macb_main.c list_for_each_entry(item, &bp->rx_fs_list.list, list) { item 3103 drivers/net/ethernet/cadence/macb_main.c rule_locs[cnt] = item->fs.location; item 767 drivers/net/ethernet/intel/fm10k/fm10k_pci.c struct fm10k_macvlan_request *item; item 782 drivers/net/ethernet/intel/fm10k/fm10k_pci.c item = list_first_entry_or_null(requests, item 785 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (item) item 786 drivers/net/ethernet/intel/fm10k/fm10k_pci.c list_del_init(&item->list); item 791 drivers/net/ethernet/intel/fm10k/fm10k_pci.c if (!item) item 808 drivers/net/ethernet/intel/fm10k/fm10k_pci.c list_add(&item->list, requests); item 813 drivers/net/ethernet/intel/fm10k/fm10k_pci.c switch (item->type) { item 816 drivers/net/ethernet/intel/fm10k/fm10k_pci.c item->mac.glort, item 817 drivers/net/ethernet/intel/fm10k/fm10k_pci.c item->mac.addr, item 818 drivers/net/ethernet/intel/fm10k/fm10k_pci.c item->mac.vid, item 819 drivers/net/ethernet/intel/fm10k/fm10k_pci.c item->set); item 823 drivers/net/ethernet/intel/fm10k/fm10k_pci.c item->mac.glort, item 824 drivers/net/ethernet/intel/fm10k/fm10k_pci.c item->mac.addr, item 825 drivers/net/ethernet/intel/fm10k/fm10k_pci.c item->mac.vid, item 826 drivers/net/ethernet/intel/fm10k/fm10k_pci.c item->set, item 831 drivers/net/ethernet/intel/fm10k/fm10k_pci.c item->vlan.vid, item 832 drivers/net/ethernet/intel/fm10k/fm10k_pci.c item->vlan.vsi, item 833 drivers/net/ethernet/intel/fm10k/fm10k_pci.c item->set); item 842 drivers/net/ethernet/intel/fm10k/fm10k_pci.c kfree(item); item 34 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c elinst->item.size.bits != item 35 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c elinst->info->item.size.bits)) item 353 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c const struct mlxsw_item *storage_item = &elinfo->item; item 372 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c const struct mlxsw_item *storage_item = &elinfo->item; item 377 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c WARN_ON(elinfo->item.size.bytes != len)) item 412 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c const struct mlxsw_item *storage_item = &elinst->info->item; item 413 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c const struct mlxsw_item *output_item = &elinst->item; item 49 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h struct mlxsw_item item; /* element geometry in internal storage */ item 56 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h .item = { \ item 109 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h struct mlxsw_item item; /* element geometry in block */ item 121 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.h .item = { \ item 26 drivers/net/ethernet/mellanox/mlxsw/item.h __mlxsw_item_offset(const struct mlxsw_item *item, unsigned short index, item 29 drivers/net/ethernet/mellanox/mlxsw/item.h BUG_ON(index && !item->step); item 30 drivers/net/ethernet/mellanox/mlxsw/item.h if (item->offset % typesize != 0 || item 31 drivers/net/ethernet/mellanox/mlxsw/item.h item->step % typesize != 0 || item 32 drivers/net/ethernet/mellanox/mlxsw/item.h item->in_step_offset % typesize != 0) { item 34 drivers/net/ethernet/mellanox/mlxsw/item.h item->name, item->offset, item->step, item 35 drivers/net/ethernet/mellanox/mlxsw/item.h item->in_step_offset, typesize); item 39 drivers/net/ethernet/mellanox/mlxsw/item.h return ((item->offset + item->step * index + item->in_step_offset) / item 44 drivers/net/ethernet/mellanox/mlxsw/item.h const struct mlxsw_item *item, item 47 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u8)); item 52 drivers/net/ethernet/mellanox/mlxsw/item.h tmp >>= item->shift; item 53 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= GENMASK(item->size.bits - 1, 0); item 54 drivers/net/ethernet/mellanox/mlxsw/item.h if (item->no_real_shift) item 55 drivers/net/ethernet/mellanox/mlxsw/item.h tmp <<= item->shift; item 59 drivers/net/ethernet/mellanox/mlxsw/item.h static inline void __mlxsw_item_set8(char *buf, const struct mlxsw_item *item, item 62 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, item 65 drivers/net/ethernet/mellanox/mlxsw/item.h u8 mask = GENMASK(item->size.bits - 1, 0) << item->shift; item 68 drivers/net/ethernet/mellanox/mlxsw/item.h if (!item->no_real_shift) item 69 drivers/net/ethernet/mellanox/mlxsw/item.h val <<= item->shift; item 78 drivers/net/ethernet/mellanox/mlxsw/item.h const struct mlxsw_item *item, item 81 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u16)); item 86 drivers/net/ethernet/mellanox/mlxsw/item.h tmp >>= item->shift; item 87 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= GENMASK(item->size.bits - 1, 0); item 88 drivers/net/ethernet/mellanox/mlxsw/item.h if (item->no_real_shift) item 89 drivers/net/ethernet/mellanox/mlxsw/item.h tmp <<= item->shift; item 93 drivers/net/ethernet/mellanox/mlxsw/item.h static inline void __mlxsw_item_set16(char *buf, const struct mlxsw_item *item, item 96 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, item 99 drivers/net/ethernet/mellanox/mlxsw/item.h u16 mask = GENMASK(item->size.bits - 1, 0) << item->shift; item 102 drivers/net/ethernet/mellanox/mlxsw/item.h if (!item->no_real_shift) item 103 drivers/net/ethernet/mellanox/mlxsw/item.h val <<= item->shift; item 112 drivers/net/ethernet/mellanox/mlxsw/item.h const struct mlxsw_item *item, item 115 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u32)); item 120 drivers/net/ethernet/mellanox/mlxsw/item.h tmp >>= item->shift; item 121 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= GENMASK(item->size.bits - 1, 0); item 122 drivers/net/ethernet/mellanox/mlxsw/item.h if (item->no_real_shift) item 123 drivers/net/ethernet/mellanox/mlxsw/item.h tmp <<= item->shift; item 127 drivers/net/ethernet/mellanox/mlxsw/item.h static inline void __mlxsw_item_set32(char *buf, const struct mlxsw_item *item, item 130 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, item 133 drivers/net/ethernet/mellanox/mlxsw/item.h u32 mask = GENMASK(item->size.bits - 1, 0) << item->shift; item 136 drivers/net/ethernet/mellanox/mlxsw/item.h if (!item->no_real_shift) item 137 drivers/net/ethernet/mellanox/mlxsw/item.h val <<= item->shift; item 146 drivers/net/ethernet/mellanox/mlxsw/item.h const struct mlxsw_item *item, item 149 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u64)); item 154 drivers/net/ethernet/mellanox/mlxsw/item.h tmp >>= item->shift; item 155 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= GENMASK_ULL(item->size.bits - 1, 0); item 156 drivers/net/ethernet/mellanox/mlxsw/item.h if (item->no_real_shift) item 157 drivers/net/ethernet/mellanox/mlxsw/item.h tmp <<= item->shift; item 161 drivers/net/ethernet/mellanox/mlxsw/item.h static inline void __mlxsw_item_set64(char *buf, const struct mlxsw_item *item, item 164 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u64)); item 166 drivers/net/ethernet/mellanox/mlxsw/item.h u64 mask = GENMASK_ULL(item->size.bits - 1, 0) << item->shift; item 169 drivers/net/ethernet/mellanox/mlxsw/item.h if (!item->no_real_shift) item 170 drivers/net/ethernet/mellanox/mlxsw/item.h val <<= item->shift; item 179 drivers/net/ethernet/mellanox/mlxsw/item.h const struct mlxsw_item *item, item 182 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(char)); item 184 drivers/net/ethernet/mellanox/mlxsw/item.h memcpy(dst, &buf[offset], item->size.bytes); item 188 drivers/net/ethernet/mellanox/mlxsw/item.h const struct mlxsw_item *item, item 191 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(char)); item 193 drivers/net/ethernet/mellanox/mlxsw/item.h memcpy(&buf[offset], src, item->size.bytes); item 196 drivers/net/ethernet/mellanox/mlxsw/item.h static inline char *__mlxsw_item_data(char *buf, const struct mlxsw_item *item, item 199 drivers/net/ethernet/mellanox/mlxsw/item.h unsigned int offset = __mlxsw_item_offset(item, index, sizeof(char)); item 205 drivers/net/ethernet/mellanox/mlxsw/item.h __mlxsw_item_bit_array_offset(const struct mlxsw_item *item, item 212 drivers/net/ethernet/mellanox/mlxsw/item.h BUG_ON(index && !item->element_size); item 213 drivers/net/ethernet/mellanox/mlxsw/item.h if (item->offset % sizeof(u32) != 0 || item 214 drivers/net/ethernet/mellanox/mlxsw/item.h BITS_PER_BYTE % item->element_size != 0) { item 216 drivers/net/ethernet/mellanox/mlxsw/item.h item->name, item->offset, item->element_size); item 220 drivers/net/ethernet/mellanox/mlxsw/item.h max_index = (item->size.bytes << 3) / item->element_size - 1; item 222 drivers/net/ethernet/mellanox/mlxsw/item.h offset = be_index * item->element_size >> 3; item 223 drivers/net/ethernet/mellanox/mlxsw/item.h in_byte_index = index % (BITS_PER_BYTE / item->element_size); item 224 drivers/net/ethernet/mellanox/mlxsw/item.h *shift = in_byte_index * item->element_size; item 226 drivers/net/ethernet/mellanox/mlxsw/item.h return item->offset + offset; item 230 drivers/net/ethernet/mellanox/mlxsw/item.h const struct mlxsw_item *item, item 234 drivers/net/ethernet/mellanox/mlxsw/item.h u16 offset = __mlxsw_item_bit_array_offset(item, index, &shift); item 238 drivers/net/ethernet/mellanox/mlxsw/item.h tmp &= GENMASK(item->element_size - 1, 0); item 243 drivers/net/ethernet/mellanox/mlxsw/item.h const struct mlxsw_item *item, item 247 drivers/net/ethernet/mellanox/mlxsw/item.h u16 offset = __mlxsw_item_bit_array_offset(item, index, &shift); item 248 drivers/net/ethernet/mellanox/mlxsw/item.h u8 mask = GENMASK(item->element_size - 1, 0) << shift; item 253 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_keys.c struct mlxsw_item item; item 292 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_flex_keys.c &block_layout->item, 0, block_value); item 1114 drivers/net/ethernet/neterion/vxge/vxge-config.c list_del(&((struct __vxge_hw_blockpool_entry *)p)->item); item 1120 drivers/net/ethernet/neterion/vxge/vxge-config.c list_del(&((struct __vxge_hw_blockpool_entry *)p)->item); item 1166 drivers/net/ethernet/neterion/vxge/vxge-config.c list_add(&entry->item, &blockpool->free_entry_list); item 1195 drivers/net/ethernet/neterion/vxge/vxge-config.c item); item 1202 drivers/net/ethernet/neterion/vxge/vxge-config.c list_del(&entry->item); item 1208 drivers/net/ethernet/neterion/vxge/vxge-config.c list_add(&entry->item, item 2033 drivers/net/ethernet/neterion/vxge/vxge-config.c void *item) item 2041 drivers/net/ethernet/neterion/vxge/vxge-config.c memblock_idx = __vxge_hw_ring_block_memblock_idx(item); item 2050 drivers/net/ethernet/neterion/vxge/vxge-config.c dma_item_offset = (u8 *)item - (u8 *)memblock; item 2095 drivers/net/ethernet/neterion/vxge/vxge-config.c void *item = mempoolh->items_arr[index]; item 2109 drivers/net/ethernet/neterion/vxge/vxge-config.c ring->channel.reserve_arr[reserve_index] = ((u8 *)item) + item 2116 drivers/net/ethernet/neterion/vxge/vxge-config.c memblock_index, item, item 2127 drivers/net/ethernet/neterion/vxge/vxge-config.c __vxge_hw_ring_block_memblock_idx_set(item, memblock_index); item 2207 drivers/net/ethernet/neterion/vxge/vxge-config.c INIT_LIST_HEAD(&channel->item); item 2280 drivers/net/ethernet/neterion/vxge/vxge-config.c item); item 2285 drivers/net/ethernet/neterion/vxge/vxge-config.c list_del(&entry->item); item 2293 drivers/net/ethernet/neterion/vxge/vxge-config.c list_add(&entry->item, &blockpool->free_block_list); item 2379 drivers/net/ethernet/neterion/vxge/vxge-config.c item); item 2382 drivers/net/ethernet/neterion/vxge/vxge-config.c list_del(&entry->item); item 2388 drivers/net/ethernet/neterion/vxge/vxge-config.c list_add(&entry->item, item 2424 drivers/net/ethernet/neterion/vxge/vxge-config.c list_del(&((struct __vxge_hw_blockpool_entry *)p)->item); item 2457 drivers/net/ethernet/neterion/vxge/vxge-config.c item); item 2463 drivers/net/ethernet/neterion/vxge/vxge-config.c list_del(&entry->item); item 2471 drivers/net/ethernet/neterion/vxge/vxge-config.c list_add(&entry->item, item 4774 drivers/net/ethernet/neterion/vxge/vxge-config.c item); item 4777 drivers/net/ethernet/neterion/vxge/vxge-config.c list_del(&entry->item); item 4866 drivers/net/ethernet/neterion/vxge/vxge-config.c list_add(&vp->item, &vpath->vpath_handles); item 4951 drivers/net/ethernet/neterion/vxge/vxge-config.c list_add(&entry->item, &blockpool->free_block_list); item 4979 drivers/net/ethernet/neterion/vxge/vxge-config.c list_del(&vp->item); item 4982 drivers/net/ethernet/neterion/vxge/vxge-config.c list_add(&vp->item, &vpath->vpath_handles); item 532 drivers/net/ethernet/neterion/vxge/vxge-config.h struct list_head item; item 626 drivers/net/ethernet/neterion/vxge/vxge-config.h struct list_head item; item 714 drivers/net/ethernet/neterion/vxge/vxge-config.h struct list_head item; item 1952 drivers/net/ethernet/neterion/vxge/vxge-config.h void *item, item 1959 drivers/net/ethernet/neterion/vxge/vxge-config.h offset = (u32)((u8 *)item - (u8 *)memblock); item 682 drivers/net/ethernet/neterion/vxge/vxge-main.c list_add(&new_mac_entry->item, &vpath->mac_addr_list); item 4695 drivers/net/ethernet/neterion/vxge/vxge-main.c list_add(&entry->item, &vdev->vpaths[i].mac_addr_list); item 217 drivers/net/ethernet/neterion/vxge/vxge-main.h struct list_head item; item 325 drivers/net/ethernet/qlogic/qed/qed_rdma.c int line, item, offset; item 336 drivers/net/ethernet/qlogic/qed/qed_rdma.c for (item = 0, line = 0; line < last_line; line++, item += 8) item 337 drivers/net/ethernet/qlogic/qed/qed_rdma.c if (bitmap_weight((unsigned long *)&pmap[item], 64 * 8)) item 341 drivers/net/ethernet/qlogic/qed/qed_rdma.c pmap[item], item 342 drivers/net/ethernet/qlogic/qed/qed_rdma.c pmap[item + 1], item 343 drivers/net/ethernet/qlogic/qed/qed_rdma.c pmap[item + 2], item 344 drivers/net/ethernet/qlogic/qed/qed_rdma.c pmap[item + 3], item 345 drivers/net/ethernet/qlogic/qed/qed_rdma.c pmap[item + 4], item 346 drivers/net/ethernet/qlogic/qed/qed_rdma.c pmap[item + 5], item 347 drivers/net/ethernet/qlogic/qed/qed_rdma.c pmap[item + 6], pmap[item + 7]); item 351 drivers/net/ethernet/qlogic/qed/qed_rdma.c (bitmap_weight((unsigned long *)&pmap[item], item 352 drivers/net/ethernet/qlogic/qed/qed_rdma.c bmap->max_count - item * 64))) { item 354 drivers/net/ethernet/qlogic/qed/qed_rdma.c for (; item < last_item; item++) item 356 drivers/net/ethernet/qlogic/qed/qed_rdma.c "0x%016llx ", pmap[item]); item 1340 drivers/net/fddi/defxx.c bp->cmd_req_virt->char_set.item[0].item_code = PI_ITEM_K_FLUSH_TIME; item 1341 drivers/net/fddi/defxx.c bp->cmd_req_virt->char_set.item[0].value = 3; /* 3 seconds */ item 1342 drivers/net/fddi/defxx.c bp->cmd_req_virt->char_set.item[0].item_index = 0; item 1343 drivers/net/fddi/defxx.c bp->cmd_req_virt->char_set.item[1].item_code = PI_ITEM_K_EOL; item 1353 drivers/net/fddi/defxx.c bp->cmd_req_virt->snmp_set.item[0].item_code = PI_ITEM_K_FDX_ENB_DIS; item 1354 drivers/net/fddi/defxx.c bp->cmd_req_virt->snmp_set.item[0].value = bp->full_duplex_enb; item 1355 drivers/net/fddi/defxx.c bp->cmd_req_virt->snmp_set.item[0].item_index = 0; item 1356 drivers/net/fddi/defxx.c bp->cmd_req_virt->snmp_set.item[1].item_code = PI_ITEM_K_MAC_T_REQ; item 1357 drivers/net/fddi/defxx.c bp->cmd_req_virt->snmp_set.item[1].value = bp->req_ttrt; item 1358 drivers/net/fddi/defxx.c bp->cmd_req_virt->snmp_set.item[1].item_index = 0; item 1359 drivers/net/fddi/defxx.c bp->cmd_req_virt->snmp_set.item[2].item_code = PI_ITEM_K_EOL; item 2553 drivers/net/fddi/defxx.c bp->cmd_req_virt->filter_set.item[i].item_code = PI_ITEM_K_BROADCAST; item 2554 drivers/net/fddi/defxx.c bp->cmd_req_virt->filter_set.item[i++].value = PI_FSTATE_K_PASS; item 2558 drivers/net/fddi/defxx.c bp->cmd_req_virt->filter_set.item[i].item_code = PI_ITEM_K_IND_GROUP_PROM; item 2559 drivers/net/fddi/defxx.c bp->cmd_req_virt->filter_set.item[i++].value = bp->ind_group_prom; item 2563 drivers/net/fddi/defxx.c bp->cmd_req_virt->filter_set.item[i].item_code = PI_ITEM_K_GROUP_PROM; item 2564 drivers/net/fddi/defxx.c bp->cmd_req_virt->filter_set.item[i++].value = bp->group_prom; item 2568 drivers/net/fddi/defxx.c bp->cmd_req_virt->filter_set.item[i].item_code = PI_ITEM_K_EOL; item 300 drivers/net/fddi/defxx.h PI_ITEM_LIST item[PI_CMD_FILTERS_SET_K_ITEMS_MAX]; item 344 drivers/net/fddi/defxx.h } item[PI_CMD_CHARS_SET_K_ITEMS_MAX]; item 367 drivers/net/fddi/defxx.h } item[PI_CMD_SNMP_SET_K_ITEMS_MAX]; item 390 drivers/net/fddi/defxx.h } item[PI_CMD_SMT_MIB_SET_K_ITEMS_MAX]; item 99 drivers/net/netconsole.c struct config_item item; item 130 drivers/net/netconsole.c if (config_item_name(&nt->item)) item 131 drivers/net/netconsole.c config_item_get(&nt->item); item 136 drivers/net/netconsole.c if (config_item_name(&nt->item)) item 137 drivers/net/netconsole.c config_item_put(&nt->item); item 235 drivers/net/netconsole.c static struct netconsole_target *to_target(struct config_item *item) item 237 drivers/net/netconsole.c return item ? item 238 drivers/net/netconsole.c container_of(item, struct netconsole_target, item) : item 246 drivers/net/netconsole.c static ssize_t enabled_show(struct config_item *item, char *buf) item 248 drivers/net/netconsole.c return snprintf(buf, PAGE_SIZE, "%d\n", to_target(item)->enabled); item 251 drivers/net/netconsole.c static ssize_t extended_show(struct config_item *item, char *buf) item 253 drivers/net/netconsole.c return snprintf(buf, PAGE_SIZE, "%d\n", to_target(item)->extended); item 256 drivers/net/netconsole.c static ssize_t dev_name_show(struct config_item *item, char *buf) item 258 drivers/net/netconsole.c return snprintf(buf, PAGE_SIZE, "%s\n", to_target(item)->np.dev_name); item 261 drivers/net/netconsole.c static ssize_t local_port_show(struct config_item *item, char *buf) item 263 drivers/net/netconsole.c return snprintf(buf, PAGE_SIZE, "%d\n", to_target(item)->np.local_port); item 266 drivers/net/netconsole.c static ssize_t remote_port_show(struct config_item *item, char *buf) item 268 drivers/net/netconsole.c return snprintf(buf, PAGE_SIZE, "%d\n", to_target(item)->np.remote_port); item 271 drivers/net/netconsole.c static ssize_t local_ip_show(struct config_item *item, char *buf) item 273 drivers/net/netconsole.c struct netconsole_target *nt = to_target(item); item 281 drivers/net/netconsole.c static ssize_t remote_ip_show(struct config_item *item, char *buf) item 283 drivers/net/netconsole.c struct netconsole_target *nt = to_target(item); item 291 drivers/net/netconsole.c static ssize_t local_mac_show(struct config_item *item, char *buf) item 293 drivers/net/netconsole.c struct net_device *dev = to_target(item)->np.dev; item 299 drivers/net/netconsole.c static ssize_t remote_mac_show(struct config_item *item, char *buf) item 301 drivers/net/netconsole.c return snprintf(buf, PAGE_SIZE, "%pM\n", to_target(item)->np.remote_mac); item 311 drivers/net/netconsole.c static ssize_t enabled_store(struct config_item *item, item 314 drivers/net/netconsole.c struct netconsole_target *nt = to_target(item); item 370 drivers/net/netconsole.c static ssize_t extended_store(struct config_item *item, const char *buf, item 373 drivers/net/netconsole.c struct netconsole_target *nt = to_target(item); item 380 drivers/net/netconsole.c config_item_name(&nt->item)); item 402 drivers/net/netconsole.c static ssize_t dev_name_store(struct config_item *item, const char *buf, item 405 drivers/net/netconsole.c struct netconsole_target *nt = to_target(item); item 411 drivers/net/netconsole.c config_item_name(&nt->item)); item 427 drivers/net/netconsole.c static ssize_t local_port_store(struct config_item *item, const char *buf, item 430 drivers/net/netconsole.c struct netconsole_target *nt = to_target(item); item 436 drivers/net/netconsole.c config_item_name(&nt->item)); item 450 drivers/net/netconsole.c static ssize_t remote_port_store(struct config_item *item, item 453 drivers/net/netconsole.c struct netconsole_target *nt = to_target(item); item 459 drivers/net/netconsole.c config_item_name(&nt->item)); item 473 drivers/net/netconsole.c static ssize_t local_ip_store(struct config_item *item, const char *buf, item 476 drivers/net/netconsole.c struct netconsole_target *nt = to_target(item); item 481 drivers/net/netconsole.c config_item_name(&nt->item)); item 509 drivers/net/netconsole.c static ssize_t remote_ip_store(struct config_item *item, const char *buf, item 512 drivers/net/netconsole.c struct netconsole_target *nt = to_target(item); item 517 drivers/net/netconsole.c config_item_name(&nt->item)); item 545 drivers/net/netconsole.c static ssize_t remote_mac_store(struct config_item *item, const char *buf, item 548 drivers/net/netconsole.c struct netconsole_target *nt = to_target(item); item 554 drivers/net/netconsole.c config_item_name(&nt->item)); item 598 drivers/net/netconsole.c static void netconsole_target_release(struct config_item *item) item 600 drivers/net/netconsole.c kfree(to_target(item)); item 638 drivers/net/netconsole.c config_item_init_type_name(&nt->item, name, &netconsole_target_type); item 645 drivers/net/netconsole.c return &nt->item; item 649 drivers/net/netconsole.c struct config_item *item) item 652 drivers/net/netconsole.c struct netconsole_target *nt = to_target(item); item 665 drivers/net/netconsole.c config_item_put(&nt->item); item 167 drivers/net/team/team_mode_loadbalance.c const struct lb_select_tx_port *item; item 169 drivers/net/team/team_mode_loadbalance.c item = &lb_select_tx_port_list[i]; item 170 drivers/net/team/team_mode_loadbalance.c if (item->func == func) item 171 drivers/net/team/team_mode_loadbalance.c return item->name; item 181 drivers/net/team/team_mode_loadbalance.c const struct lb_select_tx_port *item; item 183 drivers/net/team/team_mode_loadbalance.c item = &lb_select_tx_port_list[i]; item 184 drivers/net/team/team_mode_loadbalance.c if (!strcmp(item->name, name)) item 185 drivers/net/team/team_mode_loadbalance.c return item->func; item 1344 drivers/net/virtio_net.c u64 *item; item 1346 drivers/net/virtio_net.c item = (u64 *)((u8 *)&rq->stats + offset); item 1347 drivers/net/virtio_net.c *item += *(u64 *)((u8 *)&stats + offset); item 233 drivers/net/wireless/ath/ath10k/bmi.h #define ath10k_bmi_read32(ar, item, val) \ item 239 drivers/net/wireless/ath/ath10k/bmi.h addr = host_interest_item_address(HI_ITEM(item)); \ item 246 drivers/net/wireless/ath/ath10k/bmi.h #define ath10k_bmi_write32(ar, item, val) \ item 252 drivers/net/wireless/ath/ath10k/bmi.h address = host_interest_item_address(HI_ITEM(item)); \ item 1496 drivers/net/wireless/ath/ath10k/htt.h const struct htt_stats_conf_item *item) item 1498 drivers/net/wireless/ath/ath10k/htt.h return (void *)item + sizeof(*item) + roundup(item->length, 4); item 217 drivers/net/wireless/ath/ath10k/targaddrs.h #define HI_ITEM(item) offsetof(struct host_interest, item) item 227 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_diag_item *item; item 251 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (len < sizeof(*item)) { item 256 drivers/net/wireless/ath/ath10k/wmi-tlv.c item = data; item 258 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (len < sizeof(*item) + __le16_to_cpu(item->len)) { item 264 drivers/net/wireless/ath/ath10k/wmi-tlv.c item->type, item 265 drivers/net/wireless/ath/ath10k/wmi-tlv.c __le32_to_cpu(item->timestamp), item 266 drivers/net/wireless/ath/ath10k/wmi-tlv.c __le32_to_cpu(item->code), item 267 drivers/net/wireless/ath/ath10k/wmi-tlv.c __le16_to_cpu(item->len), item 268 drivers/net/wireless/ath/ath10k/wmi-tlv.c item->payload); item 270 drivers/net/wireless/ath/ath10k/wmi-tlv.c len -= sizeof(*item); item 271 drivers/net/wireless/ath/ath10k/wmi-tlv.c len -= roundup(__le16_to_cpu(item->len), 4); item 273 drivers/net/wireless/ath/ath10k/wmi-tlv.c data += sizeof(*item); item 274 drivers/net/wireless/ath/ath10k/wmi-tlv.c data += roundup(__le16_to_cpu(item->len), 4); item 226 drivers/net/wireless/ath/ath6kl/bmi.h #define ath6kl_bmi_write_hi32(ar, item, val) \ item 231 drivers/net/wireless/ath/ath6kl/bmi.h addr = ath6kl_get_hi_item_addr(ar, HI_ITEM(item)); \ item 236 drivers/net/wireless/ath/ath6kl/bmi.h #define ath6kl_bmi_read_hi32(ar, item, val) \ item 243 drivers/net/wireless/ath/ath6kl/bmi.h addr = ath6kl_get_hi_item_addr(ar, HI_ITEM(item)); \ item 302 drivers/net/wireless/ath/ath6kl/target.h #define HI_ITEM(item) offsetof(struct host_interest, item) item 509 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c struct brcmf_fw_item *item; item 512 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c for (i = 0, item = &req->items[0]; i < req->n_items; i++, item++) { item 513 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c if (item->type == BRCMF_FW_TYPE_BINARY) item 514 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c release_firmware(item->binary); item 515 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c else if (item->type == BRCMF_FW_TYPE_NVRAM) item 516 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c brcmf_fw_nvram_free(item->nv_data.data); item 646 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c struct brcmf_fw_item *item; item 652 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c for (i = 0, item = &req->items[0]; i < req->n_items; i++, item++) { item 653 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c if (!item->path) item 1792 drivers/net/wireless/intel/iwlegacy/3945-mac.c #define IL3945_UCODE_GET(item) \ item 1793 drivers/net/wireless/intel/iwlegacy/3945-mac.c static u32 il3945_ucode_get_##item(const struct il_ucode_header *ucode)\ item 1795 drivers/net/wireless/intel/iwlegacy/3945-mac.c return le32_to_cpu(ucode->v1.item); \ item 727 drivers/net/wireless/intel/iwlwifi/fw/dbg.c do {size_t item = item_len; len += (!!item) * const_len + item; } \ item 603 drivers/net/wireless/intersil/orinoco/orinoco_usb.c struct list_head *item; item 605 drivers/net/wireless/intersil/orinoco/orinoco_usb.c list_for_each(item, &upriv->req_active) { item 609 drivers/net/wireless/intersil/orinoco/orinoco_usb.c c = list_entry(item, struct request_context, list); item 1458 drivers/net/wireless/intersil/orinoco/orinoco_usb.c struct list_head *item; item 1472 drivers/net/wireless/intersil/orinoco/orinoco_usb.c list_for_each_safe(item, tmp_item, &upriv->req_active) { item 1476 drivers/net/wireless/intersil/orinoco/orinoco_usb.c ctx = list_entry(item, struct request_context, list); item 1497 drivers/net/wireless/intersil/orinoco/orinoco_usb.c list_for_each_safe(item, tmp_item, &upriv->req_pending) item 1498 drivers/net/wireless/intersil/orinoco/orinoco_usb.c ezusb_ctx_complete(list_entry(item, item 115 drivers/net/wireless/mediatek/mt76/mt76x0/init.c const struct mt76x0_bbp_switch_item *item = &mt76x0_bbp_switch_tab[i]; item 116 drivers/net/wireless/mediatek/mt76/mt76x0/init.c const struct mt76_reg_pair *pair = &item->reg_pair; item 118 drivers/net/wireless/mediatek/mt76/mt76x0/init.c if (((RF_G_BAND | RF_BW_20) & item->bw_band) == (RF_G_BAND | RF_BW_20)) item 405 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c const struct mt76x0_bbp_switch_item *item = &mt76x0_bbp_switch_tab[i]; item 406 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c const struct mt76_reg_pair *pair = &item->reg_pair; item 408 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if ((rf_bw_band & item->bw_band) != rf_bw_band) item 1169 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c const struct mt76x0_rf_switch_item *item = &mt76x0_rf_bw_switch_tab[i]; item 1171 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (item->bw_band == RF_BW_20) item 1172 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_rf_wr(dev, item->rf_bank_reg, item->value); item 1173 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c else if (((RF_G_BAND | RF_BW_20) & item->bw_band) == item 1175 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76x0_rf_wr(dev, item->rf_bank_reg, item->value); item 101 drivers/net/wireless/st/cw1200/debug.c struct list_head *item; item 200 drivers/net/wireless/st/cw1200/debug.c list_for_each(item, &priv->tx_policy_cache.used) item 69 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item, *tmp; item 71 drivers/net/wireless/st/cw1200/queue.c list_for_each_entry_safe(item, tmp, gc_list, head) { item 72 drivers/net/wireless/st/cw1200/queue.c list_del(&item->head); item 73 drivers/net/wireless/st/cw1200/queue.c stats->skb_dtor(stats->priv, item->skb, &item->txpriv); item 74 drivers/net/wireless/st/cw1200/queue.c kfree(item); item 79 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item) item 85 drivers/net/wireless/st/cw1200/queue.c memcpy(gc_item, item, sizeof(struct cw1200_queue_item)); item 94 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item = NULL, *tmp; item 97 drivers/net/wireless/st/cw1200/queue.c list_for_each_entry_safe(item, tmp, &queue->queue, head) { item 98 drivers/net/wireless/st/cw1200/queue.c if (jiffies - item->queue_timestamp < queue->ttl) item 101 drivers/net/wireless/st/cw1200/queue.c --queue->link_map_cache[item->txpriv.link_id]; item 104 drivers/net/wireless/st/cw1200/queue.c if (!--stats->link_map_cache[item->txpriv.link_id]) item 108 drivers/net/wireless/st/cw1200/queue.c cw1200_queue_register_post_gc(head, item); item 109 drivers/net/wireless/st/cw1200/queue.c item->skb = NULL; item 110 drivers/net/wireless/st/cw1200/queue.c list_move_tail(&item->head, &queue->free_pool); item 121 drivers/net/wireless/st/cw1200/queue.c } else if (item) { item 122 drivers/net/wireless/st/cw1200/queue.c unsigned long tmo = item->queue_timestamp + queue->ttl; item 205 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item, *tmp; item 210 drivers/net/wireless/st/cw1200/queue.c list_for_each_entry_safe(item, tmp, &queue->pending, head) { item 211 drivers/net/wireless/st/cw1200/queue.c WARN_ON(!item->skb); item 212 drivers/net/wireless/st/cw1200/queue.c cw1200_queue_register_post_gc(&gc_list, item); item 213 drivers/net/wireless/st/cw1200/queue.c item->skb = NULL; item 214 drivers/net/wireless/st/cw1200/queue.c list_move_tail(&item->head, &queue->free_pool); item 290 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item = list_first_entry( item 292 drivers/net/wireless/st/cw1200/queue.c BUG_ON(item->skb); item 294 drivers/net/wireless/st/cw1200/queue.c list_move_tail(&item->head, &queue->queue); item 295 drivers/net/wireless/st/cw1200/queue.c item->skb = skb; item 296 drivers/net/wireless/st/cw1200/queue.c item->txpriv = *txpriv; item 297 drivers/net/wireless/st/cw1200/queue.c item->generation = 0; item 298 drivers/net/wireless/st/cw1200/queue.c item->packet_id = cw1200_queue_mk_packet_id(queue->generation, item 300 drivers/net/wireless/st/cw1200/queue.c item->generation, item 301 drivers/net/wireless/st/cw1200/queue.c item - queue->pool); item 302 drivers/net/wireless/st/cw1200/queue.c item->queue_timestamp = jiffies; item 336 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item; item 341 drivers/net/wireless/st/cw1200/queue.c list_for_each_entry(item, &queue->queue, head) { item 342 drivers/net/wireless/st/cw1200/queue.c if (link_id_map & BIT(item->txpriv.link_id)) { item 349 drivers/net/wireless/st/cw1200/queue.c *tx = (struct wsm_tx *)item->skb->data; item 350 drivers/net/wireless/st/cw1200/queue.c *tx_info = IEEE80211_SKB_CB(item->skb); item 351 drivers/net/wireless/st/cw1200/queue.c *txpriv = &item->txpriv; item 352 drivers/net/wireless/st/cw1200/queue.c (*tx)->packet_id = item->packet_id; item 353 drivers/net/wireless/st/cw1200/queue.c list_move_tail(&item->head, &queue->pending); item 355 drivers/net/wireless/st/cw1200/queue.c --queue->link_map_cache[item->txpriv.link_id]; item 356 drivers/net/wireless/st/cw1200/queue.c item->xmit_timestamp = jiffies; item 360 drivers/net/wireless/st/cw1200/queue.c if (!--stats->link_map_cache[item->txpriv.link_id]) item 374 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item; item 380 drivers/net/wireless/st/cw1200/queue.c item = &queue->pool[item_id]; item 389 drivers/net/wireless/st/cw1200/queue.c } else if (item->generation != item_generation) { item 394 drivers/net/wireless/st/cw1200/queue.c ++queue->link_map_cache[item->txpriv.link_id]; item 398 drivers/net/wireless/st/cw1200/queue.c ++stats->link_map_cache[item->txpriv.link_id]; item 401 drivers/net/wireless/st/cw1200/queue.c item->generation = ++item_generation; item 402 drivers/net/wireless/st/cw1200/queue.c item->packet_id = cw1200_queue_mk_packet_id(queue_generation, item 406 drivers/net/wireless/st/cw1200/queue.c list_move(&item->head, &queue->queue); item 414 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item, *tmp; item 418 drivers/net/wireless/st/cw1200/queue.c list_for_each_entry_safe_reverse(item, tmp, &queue->pending, head) { item 420 drivers/net/wireless/st/cw1200/queue.c ++queue->link_map_cache[item->txpriv.link_id]; item 424 drivers/net/wireless/st/cw1200/queue.c ++stats->link_map_cache[item->txpriv.link_id]; item 427 drivers/net/wireless/st/cw1200/queue.c ++item->generation; item 428 drivers/net/wireless/st/cw1200/queue.c item->packet_id = cw1200_queue_mk_packet_id(queue->generation, item 430 drivers/net/wireless/st/cw1200/queue.c item->generation, item 431 drivers/net/wireless/st/cw1200/queue.c item - queue->pool); item 432 drivers/net/wireless/st/cw1200/queue.c list_move(&item->head, &queue->queue); item 443 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item; item 451 drivers/net/wireless/st/cw1200/queue.c item = &queue->pool[item_id]; item 460 drivers/net/wireless/st/cw1200/queue.c } else if (item->generation != item_generation) { item 464 drivers/net/wireless/st/cw1200/queue.c gc_txpriv = item->txpriv; item 465 drivers/net/wireless/st/cw1200/queue.c gc_skb = item->skb; item 466 drivers/net/wireless/st/cw1200/queue.c item->skb = NULL; item 470 drivers/net/wireless/st/cw1200/queue.c ++item->generation; item 474 drivers/net/wireless/st/cw1200/queue.c list_move(&item->head, &queue->free_pool); item 496 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item; item 500 drivers/net/wireless/st/cw1200/queue.c item = &queue->pool[item_id]; item 509 drivers/net/wireless/st/cw1200/queue.c } else if (item->generation != item_generation) { item 513 drivers/net/wireless/st/cw1200/queue.c *skb = item->skb; item 514 drivers/net/wireless/st/cw1200/queue.c *txpriv = &item->txpriv; item 538 drivers/net/wireless/st/cw1200/queue.c struct cw1200_queue_item *item; item 544 drivers/net/wireless/st/cw1200/queue.c list_for_each_entry(item, &queue->pending, head) { item 545 drivers/net/wireless/st/cw1200/queue.c if (item->packet_id != pending_frame_id) item 546 drivers/net/wireless/st/cw1200/queue.c if (time_before(item->xmit_timestamp, item 548 drivers/net/wireless/st/cw1200/queue.c *timestamp = item->xmit_timestamp; item 37 drivers/nvme/target/configfs.c static ssize_t nvmet_addr_adrfam_show(struct config_item *item, item 40 drivers/nvme/target/configfs.c switch (to_nvmet_port(item)->disc_addr.adrfam) { item 54 drivers/nvme/target/configfs.c static ssize_t nvmet_addr_adrfam_store(struct config_item *item, item 57 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 83 drivers/nvme/target/configfs.c static ssize_t nvmet_addr_portid_show(struct config_item *item, item 86 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 92 drivers/nvme/target/configfs.c static ssize_t nvmet_addr_portid_store(struct config_item *item, item 95 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 114 drivers/nvme/target/configfs.c static ssize_t nvmet_addr_traddr_show(struct config_item *item, item 117 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 123 drivers/nvme/target/configfs.c static ssize_t nvmet_addr_traddr_store(struct config_item *item, item 126 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 146 drivers/nvme/target/configfs.c static ssize_t nvmet_addr_treq_show(struct config_item *item, item 149 drivers/nvme/target/configfs.c switch (to_nvmet_port(item)->disc_addr.treq & item 162 drivers/nvme/target/configfs.c static ssize_t nvmet_addr_treq_store(struct config_item *item, item 165 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 191 drivers/nvme/target/configfs.c static ssize_t nvmet_addr_trsvcid_show(struct config_item *item, item 194 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 200 drivers/nvme/target/configfs.c static ssize_t nvmet_addr_trsvcid_store(struct config_item *item, item 203 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 222 drivers/nvme/target/configfs.c static ssize_t nvmet_param_inline_data_size_show(struct config_item *item, item 225 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 230 drivers/nvme/target/configfs.c static ssize_t nvmet_param_inline_data_size_store(struct config_item *item, item 233 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 251 drivers/nvme/target/configfs.c static ssize_t nvmet_addr_trtype_show(struct config_item *item, item 254 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 273 drivers/nvme/target/configfs.c static ssize_t nvmet_addr_trtype_store(struct config_item *item, item 276 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 305 drivers/nvme/target/configfs.c static ssize_t nvmet_ns_device_path_show(struct config_item *item, char *page) item 307 drivers/nvme/target/configfs.c return sprintf(page, "%s\n", to_nvmet_ns(item)->device_path); item 310 drivers/nvme/target/configfs.c static ssize_t nvmet_ns_device_path_store(struct config_item *item, item 313 drivers/nvme/target/configfs.c struct nvmet_ns *ns = to_nvmet_ns(item); item 345 drivers/nvme/target/configfs.c static ssize_t nvmet_ns_p2pmem_show(struct config_item *item, char *page) item 347 drivers/nvme/target/configfs.c struct nvmet_ns *ns = to_nvmet_ns(item); item 352 drivers/nvme/target/configfs.c static ssize_t nvmet_ns_p2pmem_store(struct config_item *item, item 355 drivers/nvme/target/configfs.c struct nvmet_ns *ns = to_nvmet_ns(item); item 386 drivers/nvme/target/configfs.c static ssize_t nvmet_ns_device_uuid_show(struct config_item *item, char *page) item 388 drivers/nvme/target/configfs.c return sprintf(page, "%pUb\n", &to_nvmet_ns(item)->uuid); item 391 drivers/nvme/target/configfs.c static ssize_t nvmet_ns_device_uuid_store(struct config_item *item, item 394 drivers/nvme/target/configfs.c struct nvmet_ns *ns = to_nvmet_ns(item); item 416 drivers/nvme/target/configfs.c static ssize_t nvmet_ns_device_nguid_show(struct config_item *item, char *page) item 418 drivers/nvme/target/configfs.c return sprintf(page, "%pUb\n", &to_nvmet_ns(item)->nguid); item 421 drivers/nvme/target/configfs.c static ssize_t nvmet_ns_device_nguid_store(struct config_item *item, item 424 drivers/nvme/target/configfs.c struct nvmet_ns *ns = to_nvmet_ns(item); item 462 drivers/nvme/target/configfs.c static ssize_t nvmet_ns_ana_grpid_show(struct config_item *item, char *page) item 464 drivers/nvme/target/configfs.c return sprintf(page, "%u\n", to_nvmet_ns(item)->anagrpid); item 467 drivers/nvme/target/configfs.c static ssize_t nvmet_ns_ana_grpid_store(struct config_item *item, item 470 drivers/nvme/target/configfs.c struct nvmet_ns *ns = to_nvmet_ns(item); item 495 drivers/nvme/target/configfs.c static ssize_t nvmet_ns_enable_show(struct config_item *item, char *page) item 497 drivers/nvme/target/configfs.c return sprintf(page, "%d\n", to_nvmet_ns(item)->enabled); item 500 drivers/nvme/target/configfs.c static ssize_t nvmet_ns_enable_store(struct config_item *item, item 503 drivers/nvme/target/configfs.c struct nvmet_ns *ns = to_nvmet_ns(item); item 520 drivers/nvme/target/configfs.c static ssize_t nvmet_ns_buffered_io_show(struct config_item *item, char *page) item 522 drivers/nvme/target/configfs.c return sprintf(page, "%d\n", to_nvmet_ns(item)->buffered_io); item 525 drivers/nvme/target/configfs.c static ssize_t nvmet_ns_buffered_io_store(struct config_item *item, item 528 drivers/nvme/target/configfs.c struct nvmet_ns *ns = to_nvmet_ns(item); item 561 drivers/nvme/target/configfs.c static void nvmet_ns_release(struct config_item *item) item 563 drivers/nvme/target/configfs.c struct nvmet_ns *ns = to_nvmet_ns(item); item 772 drivers/nvme/target/configfs.c static ssize_t nvmet_subsys_attr_allow_any_host_show(struct config_item *item, item 776 drivers/nvme/target/configfs.c to_subsys(item)->allow_any_host); item 779 drivers/nvme/target/configfs.c static ssize_t nvmet_subsys_attr_allow_any_host_store(struct config_item *item, item 782 drivers/nvme/target/configfs.c struct nvmet_subsys *subsys = to_subsys(item); item 808 drivers/nvme/target/configfs.c static ssize_t nvmet_subsys_attr_version_show(struct config_item *item, item 811 drivers/nvme/target/configfs.c struct nvmet_subsys *subsys = to_subsys(item); item 824 drivers/nvme/target/configfs.c static ssize_t nvmet_subsys_attr_version_store(struct config_item *item, item 827 drivers/nvme/target/configfs.c struct nvmet_subsys *subsys = to_subsys(item); item 844 drivers/nvme/target/configfs.c static ssize_t nvmet_subsys_attr_serial_show(struct config_item *item, item 847 drivers/nvme/target/configfs.c struct nvmet_subsys *subsys = to_subsys(item); item 852 drivers/nvme/target/configfs.c static ssize_t nvmet_subsys_attr_serial_store(struct config_item *item, item 855 drivers/nvme/target/configfs.c struct nvmet_subsys *subsys = to_subsys(item); item 875 drivers/nvme/target/configfs.c static void nvmet_subsys_release(struct config_item *item) item 877 drivers/nvme/target/configfs.c struct nvmet_subsys *subsys = to_subsys(item); item 930 drivers/nvme/target/configfs.c static ssize_t nvmet_referral_enable_show(struct config_item *item, item 933 drivers/nvme/target/configfs.c return snprintf(page, PAGE_SIZE, "%d\n", to_nvmet_port(item)->enabled); item 936 drivers/nvme/target/configfs.c static ssize_t nvmet_referral_enable_store(struct config_item *item, item 939 drivers/nvme/target/configfs.c struct nvmet_port *parent = to_nvmet_port(item->ci_parent->ci_parent); item 940 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 973 drivers/nvme/target/configfs.c static void nvmet_referral_release(struct config_item *item) item 975 drivers/nvme/target/configfs.c struct nvmet_port *parent = to_nvmet_port(item->ci_parent->ci_parent); item 976 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 1027 drivers/nvme/target/configfs.c static ssize_t nvmet_ana_group_ana_state_show(struct config_item *item, item 1030 drivers/nvme/target/configfs.c struct nvmet_ana_group *grp = to_ana_group(item); item 1043 drivers/nvme/target/configfs.c static ssize_t nvmet_ana_group_ana_state_store(struct config_item *item, item 1046 drivers/nvme/target/configfs.c struct nvmet_ana_group *grp = to_ana_group(item); item 1074 drivers/nvme/target/configfs.c static void nvmet_ana_group_release(struct config_item *item) item 1076 drivers/nvme/target/configfs.c struct nvmet_ana_group *grp = to_ana_group(item); item 1147 drivers/nvme/target/configfs.c static void nvmet_port_release(struct config_item *item) item 1149 drivers/nvme/target/configfs.c struct nvmet_port *port = to_nvmet_port(item); item 1251 drivers/nvme/target/configfs.c static void nvmet_host_release(struct config_item *item) item 1253 drivers/nvme/target/configfs.c struct nvmet_host *host = to_host(item); item 81 drivers/nvme/target/nvmet.h static inline struct nvmet_ns *to_nvmet_ns(struct config_item *item) item 83 drivers/nvme/target/nvmet.h return container_of(to_config_group(item), struct nvmet_ns, group); item 113 drivers/nvme/target/nvmet.h static inline struct nvmet_ana_group *to_ana_group(struct config_item *item) item 115 drivers/nvme/target/nvmet.h return container_of(to_config_group(item), struct nvmet_ana_group, item 146 drivers/nvme/target/nvmet.h static inline struct nvmet_port *to_nvmet_port(struct config_item *item) item 148 drivers/nvme/target/nvmet.h return container_of(to_config_group(item), struct nvmet_port, item 153 drivers/nvme/target/nvmet.h struct config_item *item) item 155 drivers/nvme/target/nvmet.h return container_of(to_config_group(item), struct nvmet_port, item 232 drivers/nvme/target/nvmet.h static inline struct nvmet_subsys *to_subsys(struct config_item *item) item 234 drivers/nvme/target/nvmet.h return container_of(to_config_group(item), struct nvmet_subsys, group); item 238 drivers/nvme/target/nvmet.h struct config_item *item) item 240 drivers/nvme/target/nvmet.h return container_of(to_config_group(item), struct nvmet_subsys, item 248 drivers/nvme/target/nvmet.h static inline struct nvmet_host *to_host(struct config_item *item) item 250 drivers/nvme/target/nvmet.h return container_of(to_config_group(item), struct nvmet_host, group); item 35 drivers/pci/endpoint/pci-ep-cfs.c static inline struct pci_epf_group *to_pci_epf_group(struct config_item *item) item 37 drivers/pci/endpoint/pci-ep-cfs.c return container_of(to_config_group(item), struct pci_epf_group, group); item 40 drivers/pci/endpoint/pci-ep-cfs.c static inline struct pci_epc_group *to_pci_epc_group(struct config_item *item) item 42 drivers/pci/endpoint/pci-ep-cfs.c return container_of(to_config_group(item), struct pci_epc_group, group); item 45 drivers/pci/endpoint/pci-ep-cfs.c static ssize_t pci_epc_start_store(struct config_item *item, const char *page, item 51 drivers/pci/endpoint/pci-ep-cfs.c struct pci_epc_group *epc_group = to_pci_epc_group(item); item 75 drivers/pci/endpoint/pci-ep-cfs.c static ssize_t pci_epc_start_show(struct config_item *item, char *page) item 78 drivers/pci/endpoint/pci-ep-cfs.c to_pci_epc_group(item)->start); item 211 drivers/pci/endpoint/pci-ep-cfs.c static ssize_t pci_epf_##_name##_show(struct config_item *item, char *page) \ item 213 drivers/pci/endpoint/pci-ep-cfs.c struct pci_epf *epf = to_pci_epf_group(item)->epf; \ item 220 drivers/pci/endpoint/pci-ep-cfs.c static ssize_t pci_epf_##_name##_store(struct config_item *item, \ item 225 drivers/pci/endpoint/pci-ep-cfs.c struct pci_epf *epf = to_pci_epf_group(item)->epf; \ item 236 drivers/pci/endpoint/pci-ep-cfs.c static ssize_t pci_epf_##_name##_store(struct config_item *item, \ item 241 drivers/pci/endpoint/pci-ep-cfs.c struct pci_epf *epf = to_pci_epf_group(item)->epf; \ item 252 drivers/pci/endpoint/pci-ep-cfs.c static ssize_t pci_epf_##_name##_store(struct config_item *item, \ item 257 drivers/pci/endpoint/pci-ep-cfs.c struct pci_epf *epf = to_pci_epf_group(item)->epf; \ item 267 drivers/pci/endpoint/pci-ep-cfs.c static ssize_t pci_epf_msi_interrupts_store(struct config_item *item, item 277 drivers/pci/endpoint/pci-ep-cfs.c to_pci_epf_group(item)->epf->msi_interrupts = val; item 282 drivers/pci/endpoint/pci-ep-cfs.c static ssize_t pci_epf_msi_interrupts_show(struct config_item *item, item 286 drivers/pci/endpoint/pci-ep-cfs.c to_pci_epf_group(item)->epf->msi_interrupts); item 289 drivers/pci/endpoint/pci-ep-cfs.c static ssize_t pci_epf_msix_interrupts_store(struct config_item *item, item 299 drivers/pci/endpoint/pci-ep-cfs.c to_pci_epf_group(item)->epf->msix_interrupts = val; item 304 drivers/pci/endpoint/pci-ep-cfs.c static ssize_t pci_epf_msix_interrupts_show(struct config_item *item, item 308 drivers/pci/endpoint/pci-ep-cfs.c to_pci_epf_group(item)->epf->msix_interrupts); item 370 drivers/pci/endpoint/pci-ep-cfs.c static void pci_epf_release(struct config_item *item) item 372 drivers/pci/endpoint/pci-ep-cfs.c struct pci_epf_group *epf_group = to_pci_epf_group(item); item 449 drivers/pci/endpoint/pci-ep-cfs.c static void pci_epf_drop(struct config_group *group, struct config_item *item) item 451 drivers/pci/endpoint/pci-ep-cfs.c config_item_put(item); item 165 drivers/platform/mellanox/mlxreg-hotplug.c struct mlxreg_core_item *item; item 171 drivers/platform/mellanox/mlxreg-hotplug.c item = pdata->items + nr; item 172 drivers/platform/mellanox/mlxreg-hotplug.c data = item->data + index; item 178 drivers/platform/mellanox/mlxreg-hotplug.c if (item->health) { item 182 drivers/platform/mellanox/mlxreg-hotplug.c if (item->inversed) item 197 drivers/platform/mellanox/mlxreg-hotplug.c struct mlxreg_core_item *item; item 202 drivers/platform/mellanox/mlxreg-hotplug.c item = pdata->items; item 205 drivers/platform/mellanox/mlxreg-hotplug.c for (i = 0; i < pdata->counter; i++, item++) { item 206 drivers/platform/mellanox/mlxreg-hotplug.c num_attrs += item->count; item 207 drivers/platform/mellanox/mlxreg-hotplug.c data = item->data; item 209 drivers/platform/mellanox/mlxreg-hotplug.c for (j = 0; j < item->count; j++, data++, id++) { item 248 drivers/platform/mellanox/mlxreg-hotplug.c struct mlxreg_core_item *item) item 262 drivers/platform/mellanox/mlxreg-hotplug.c if (unlikely(!item)) { item 264 drivers/platform/mellanox/mlxreg-hotplug.c item->reg, item->mask); item 270 drivers/platform/mellanox/mlxreg-hotplug.c ret = regmap_write(priv->regmap, item->reg + MLXREG_HOTPLUG_MASK_OFF, item 276 drivers/platform/mellanox/mlxreg-hotplug.c ret = regmap_read(priv->regmap, item->reg, ®val); item 281 drivers/platform/mellanox/mlxreg-hotplug.c regval &= item->mask; item 282 drivers/platform/mellanox/mlxreg-hotplug.c asserted = item->cache ^ regval; item 283 drivers/platform/mellanox/mlxreg-hotplug.c item->cache = regval; item 286 drivers/platform/mellanox/mlxreg-hotplug.c data = item->data + bit; item 288 drivers/platform/mellanox/mlxreg-hotplug.c if (item->inversed) item 293 drivers/platform/mellanox/mlxreg-hotplug.c if (item->inversed) item 301 drivers/platform/mellanox/mlxreg-hotplug.c ret = regmap_write(priv->regmap, item->reg + MLXREG_HOTPLUG_EVENT_OFF, item 307 drivers/platform/mellanox/mlxreg-hotplug.c ret = regmap_write(priv->regmap, item->reg + MLXREG_HOTPLUG_MASK_OFF, item 308 drivers/platform/mellanox/mlxreg-hotplug.c item->mask); item 317 drivers/platform/mellanox/mlxreg-hotplug.c struct mlxreg_core_item *item) item 319 drivers/platform/mellanox/mlxreg-hotplug.c struct mlxreg_core_data *data = item->data; item 323 drivers/platform/mellanox/mlxreg-hotplug.c for (i = 0; i < item->count; i++, data++) { item 337 drivers/platform/mellanox/mlxreg-hotplug.c if (item->cache == regval) item 368 drivers/platform/mellanox/mlxreg-hotplug.c item->cache = regval; item 419 drivers/platform/mellanox/mlxreg-hotplug.c struct mlxreg_core_item *item; item 427 drivers/platform/mellanox/mlxreg-hotplug.c item = pdata->items; item 457 drivers/platform/mellanox/mlxreg-hotplug.c for (i = 0; i < pdata->counter; i++, item++) { item 458 drivers/platform/mellanox/mlxreg-hotplug.c if (aggr_asserted & item->aggr_mask) { item 459 drivers/platform/mellanox/mlxreg-hotplug.c if (item->health) item 460 drivers/platform/mellanox/mlxreg-hotplug.c mlxreg_hotplug_health_work_helper(priv, item); item 462 drivers/platform/mellanox/mlxreg-hotplug.c mlxreg_hotplug_work_helper(priv, item); item 498 drivers/platform/mellanox/mlxreg-hotplug.c struct mlxreg_core_item *item; item 504 drivers/platform/mellanox/mlxreg-hotplug.c item = pdata->items; item 506 drivers/platform/mellanox/mlxreg-hotplug.c for (i = 0; i < pdata->counter; i++, item++) { item 508 drivers/platform/mellanox/mlxreg-hotplug.c ret = regmap_write(priv->regmap, item->reg + item 517 drivers/platform/mellanox/mlxreg-hotplug.c data = item->data; item 518 drivers/platform/mellanox/mlxreg-hotplug.c for (j = 0; j < item->count; j++, data++) { item 528 drivers/platform/mellanox/mlxreg-hotplug.c item->mask &= ~BIT(j); item 533 drivers/platform/mellanox/mlxreg-hotplug.c if (item->inversed) { item 534 drivers/platform/mellanox/mlxreg-hotplug.c item->cache = item->mask; item 535 drivers/platform/mellanox/mlxreg-hotplug.c ret = regmap_write(priv->regmap, item->reg + item 537 drivers/platform/mellanox/mlxreg-hotplug.c item->mask); item 571 drivers/platform/mellanox/mlxreg-hotplug.c struct mlxreg_core_item *item; item 576 drivers/platform/mellanox/mlxreg-hotplug.c item = pdata->items; item 590 drivers/platform/mellanox/mlxreg-hotplug.c for (i = 0; i < pdata->counter; i++, item++) { item 591 drivers/platform/mellanox/mlxreg-hotplug.c data = item->data; item 600 drivers/platform/mellanox/mlxreg-hotplug.c count = item->count; item 960 drivers/platform/x86/sony-laptop.c struct sony_nc_value *item = item 963 drivers/platform/x86/sony-laptop.c if (!*item->acpiget) item 966 drivers/platform/x86/sony-laptop.c ret = sony_nc_int_call(sony_nc_acpi_handle, *item->acpiget, NULL, item 971 drivers/platform/x86/sony-laptop.c if (item->validate) item 972 drivers/platform/x86/sony-laptop.c value = item->validate(SNC_VALIDATE_OUT, value); item 983 drivers/platform/x86/sony-laptop.c struct sony_nc_value *item = item 986 drivers/platform/x86/sony-laptop.c if (!item->acpiset) item 995 drivers/platform/x86/sony-laptop.c if (item->validate) item 996 drivers/platform/x86/sony-laptop.c value = item->validate(SNC_VALIDATE_IN, value); item 1001 drivers/platform/x86/sony-laptop.c ret = sony_nc_int_call(sony_nc_acpi_handle, *item->acpiset, item 1006 drivers/platform/x86/sony-laptop.c item->value = value; item 1007 drivers/platform/x86/sony-laptop.c item->valid = 1; item 1556 drivers/platform/x86/sony-laptop.c struct sony_nc_value *item; item 1558 drivers/platform/x86/sony-laptop.c for (item = sony_nc_values; item->name; item++) { item 1561 drivers/platform/x86/sony-laptop.c if (!item->valid) item 1563 drivers/platform/x86/sony-laptop.c ret = sony_nc_int_call(sony_nc_acpi_handle, *item->acpiset, item 1564 drivers/platform/x86/sony-laptop.c &item->value, NULL); item 3168 drivers/platform/x86/sony-laptop.c struct sony_nc_value *item; item 3223 drivers/platform/x86/sony-laptop.c for (item = sony_nc_values; item->name; ++item) { item 3225 drivers/platform/x86/sony-laptop.c if (!debug && item->debug) item 3229 drivers/platform/x86/sony-laptop.c for (; item->acpiget && *item->acpiget; ++item->acpiget) { item 3231 drivers/platform/x86/sony-laptop.c *item->acpiget)) { item 3233 drivers/platform/x86/sony-laptop.c item->name, *item->acpiget); item 3234 drivers/platform/x86/sony-laptop.c item->devattr.attr.mode |= S_IRUGO; item 3240 drivers/platform/x86/sony-laptop.c for (; item->acpiset && *item->acpiset; ++item->acpiset) { item 3242 drivers/platform/x86/sony-laptop.c *item->acpiset)) { item 3244 drivers/platform/x86/sony-laptop.c item->name, *item->acpiset); item 3245 drivers/platform/x86/sony-laptop.c item->devattr.attr.mode |= S_IWUSR; item 3250 drivers/platform/x86/sony-laptop.c if (item->devattr.attr.mode != 0) { item 3253 drivers/platform/x86/sony-laptop.c &item->devattr); item 3263 drivers/platform/x86/sony-laptop.c for (item = sony_nc_values; item->name; ++item) { item 3264 drivers/platform/x86/sony-laptop.c device_remove_file(&sony_pf_device->dev, &item->devattr); item 3283 drivers/platform/x86/sony-laptop.c struct sony_nc_value *item; item 3289 drivers/platform/x86/sony-laptop.c for (item = sony_nc_values; item->name; ++item) { item 3290 drivers/platform/x86/sony-laptop.c device_remove_file(&sony_pf_device->dev, &item->devattr); item 3955 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c static ssize_t ibmvscsis_wwn_version_show(struct config_item *item, item 3967 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c static ssize_t ibmvscsis_tpg_enable_show(struct config_item *item, item 3970 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c struct se_portal_group *se_tpg = to_tpg(item); item 3978 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c static ssize_t ibmvscsis_tpg_enable_store(struct config_item *item, item 3981 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c struct se_portal_group *se_tpg = to_tpg(item); item 778 drivers/scsi/ips.c ips_copp_wait_item_t *item; item 799 drivers/scsi/ips.c item = ha->copp_waitlist.head; item 800 drivers/scsi/ips.c while ((item) && (item->scsi_cmd != SC)) item 801 drivers/scsi/ips.c item = item->next; item 803 drivers/scsi/ips.c if (item) { item 805 drivers/scsi/ips.c ips_removeq_copp(&ha->copp_waitlist, item); item 838 drivers/scsi/ips.c ips_copp_wait_item_t *item; item 864 drivers/scsi/ips.c item = ha->copp_waitlist.head; item 865 drivers/scsi/ips.c while ((item) && (item->scsi_cmd != SC)) item 866 drivers/scsi/ips.c item = item->next; item 868 drivers/scsi/ips.c if (item) { item 870 drivers/scsi/ips.c ips_removeq_copp(&ha->copp_waitlist, item); item 2528 drivers/scsi/ips.c ips_copp_wait_item_t *item; item 2562 drivers/scsi/ips.c item = ips_removeq_copp_head(&ha->copp_waitlist); item 2566 drivers/scsi/ips.c scb->scsi_cmd = item->scsi_cmd; item 2567 drivers/scsi/ips.c kfree(item); item 2753 drivers/scsi/ips.c ips_putq_scb_head(ips_scb_queue_t * queue, ips_scb_t * item) item 2757 drivers/scsi/ips.c if (!item) item 2760 drivers/scsi/ips.c item->q_next = queue->head; item 2761 drivers/scsi/ips.c queue->head = item; item 2764 drivers/scsi/ips.c queue->tail = item; item 2783 drivers/scsi/ips.c ips_scb_t *item; item 2787 drivers/scsi/ips.c item = queue->head; item 2789 drivers/scsi/ips.c if (!item) { item 2793 drivers/scsi/ips.c queue->head = item->q_next; item 2794 drivers/scsi/ips.c item->q_next = NULL; item 2796 drivers/scsi/ips.c if (queue->tail == item) item 2801 drivers/scsi/ips.c return (item); item 2816 drivers/scsi/ips.c ips_removeq_scb(ips_scb_queue_t * queue, ips_scb_t * item) item 2822 drivers/scsi/ips.c if (!item) item 2825 drivers/scsi/ips.c if (item == queue->head) { item 2831 drivers/scsi/ips.c while ((p) && (item != p->q_next)) item 2836 drivers/scsi/ips.c p->q_next = item->q_next; item 2838 drivers/scsi/ips.c if (!item->q_next) item 2841 drivers/scsi/ips.c item->q_next = NULL; item 2844 drivers/scsi/ips.c return (item); item 2861 drivers/scsi/ips.c static void ips_putq_wait_tail(ips_wait_queue_entry_t *queue, struct scsi_cmnd *item) item 2865 drivers/scsi/ips.c if (!item) item 2868 drivers/scsi/ips.c item->host_scribble = NULL; item 2871 drivers/scsi/ips.c queue->tail->host_scribble = (char *) item; item 2873 drivers/scsi/ips.c queue->tail = item; item 2876 drivers/scsi/ips.c queue->head = item; item 2894 drivers/scsi/ips.c struct scsi_cmnd *item; item 2898 drivers/scsi/ips.c item = queue->head; item 2900 drivers/scsi/ips.c if (!item) { item 2904 drivers/scsi/ips.c queue->head = (struct scsi_cmnd *) item->host_scribble; item 2905 drivers/scsi/ips.c item->host_scribble = NULL; item 2907 drivers/scsi/ips.c if (queue->tail == item) item 2912 drivers/scsi/ips.c return (item); item 2927 drivers/scsi/ips.c struct scsi_cmnd *item) item 2933 drivers/scsi/ips.c if (!item) item 2936 drivers/scsi/ips.c if (item == queue->head) { item 2942 drivers/scsi/ips.c while ((p) && (item != (struct scsi_cmnd *) p->host_scribble)) item 2947 drivers/scsi/ips.c p->host_scribble = item->host_scribble; item 2949 drivers/scsi/ips.c if (!item->host_scribble) item 2952 drivers/scsi/ips.c item->host_scribble = NULL; item 2955 drivers/scsi/ips.c return (item); item 2973 drivers/scsi/ips.c ips_putq_copp_tail(ips_copp_queue_t * queue, ips_copp_wait_item_t * item) item 2977 drivers/scsi/ips.c if (!item) item 2980 drivers/scsi/ips.c item->next = NULL; item 2983 drivers/scsi/ips.c queue->tail->next = item; item 2985 drivers/scsi/ips.c queue->tail = item; item 2988 drivers/scsi/ips.c queue->head = item; item 3007 drivers/scsi/ips.c ips_copp_wait_item_t *item; item 3011 drivers/scsi/ips.c item = queue->head; item 3013 drivers/scsi/ips.c if (!item) { item 3017 drivers/scsi/ips.c queue->head = item->next; item 3018 drivers/scsi/ips.c item->next = NULL; item 3020 drivers/scsi/ips.c if (queue->tail == item) item 3025 drivers/scsi/ips.c return (item); item 3040 drivers/scsi/ips.c ips_removeq_copp(ips_copp_queue_t * queue, ips_copp_wait_item_t * item) item 3046 drivers/scsi/ips.c if (!item) item 3049 drivers/scsi/ips.c if (item == queue->head) { item 3055 drivers/scsi/ips.c while ((p) && (item != p->next)) item 3060 drivers/scsi/ips.c p->next = item->next; item 3062 drivers/scsi/ips.c if (!item->next) item 3065 drivers/scsi/ips.c item->next = NULL; item 3068 drivers/scsi/ips.c return (item); item 824 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct config_item *item, char *page) \ item 826 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct se_portal_group *se_tpg = attrib_to_tpg(item); \ item 834 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct config_item *item, const char *page, size_t count) \ item 836 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct se_portal_group *se_tpg = attrib_to_tpg(item); \ item 884 drivers/scsi/qla2xxx/tcm_qla2xxx.c static ssize_t tcm_qla2xxx_tpg_enable_show(struct config_item *item, item 887 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct se_portal_group *se_tpg = to_tpg(item); item 895 drivers/scsi/qla2xxx/tcm_qla2xxx.c static ssize_t tcm_qla2xxx_tpg_enable_store(struct config_item *item, item 898 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct se_portal_group *se_tpg = to_tpg(item); item 934 drivers/scsi/qla2xxx/tcm_qla2xxx.c static ssize_t tcm_qla2xxx_tpg_dynamic_sessions_show(struct config_item *item, item 937 drivers/scsi/qla2xxx/tcm_qla2xxx.c return target_show_dynamic_sessions(to_tpg(item), page); item 940 drivers/scsi/qla2xxx/tcm_qla2xxx.c static ssize_t tcm_qla2xxx_tpg_fabric_prot_type_store(struct config_item *item, item 943 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct se_portal_group *se_tpg = to_tpg(item); item 962 drivers/scsi/qla2xxx/tcm_qla2xxx.c static ssize_t tcm_qla2xxx_tpg_fabric_prot_type_show(struct config_item *item, item 965 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct se_portal_group *se_tpg = to_tpg(item); item 1051 drivers/scsi/qla2xxx/tcm_qla2xxx.c static ssize_t tcm_qla2xxx_npiv_tpg_enable_show(struct config_item *item, item 1054 drivers/scsi/qla2xxx/tcm_qla2xxx.c return tcm_qla2xxx_tpg_enable_show(item, page); item 1057 drivers/scsi/qla2xxx/tcm_qla2xxx.c static ssize_t tcm_qla2xxx_npiv_tpg_enable_store(struct config_item *item, item 1060 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct se_portal_group *se_tpg = to_tpg(item); item 1790 drivers/scsi/qla2xxx/tcm_qla2xxx.c static ssize_t tcm_qla2xxx_wwn_version_show(struct config_item *item, item 210 drivers/soc/qcom/smem.c __le16 item; item 350 drivers/soc/qcom/smem.c unsigned item, item 364 drivers/soc/qcom/smem.c if (le16_to_cpu(hdr->item) == item) item 378 drivers/soc/qcom/smem.c hdr->item = cpu_to_le16(item); item 400 drivers/soc/qcom/smem.c unsigned item, item 407 drivers/soc/qcom/smem.c entry = &header->toc[item]; item 441 drivers/soc/qcom/smem.c int qcom_smem_alloc(unsigned host, unsigned item, size_t size) item 450 drivers/soc/qcom/smem.c if (item < SMEM_ITEM_LAST_FIXED) { item 452 drivers/soc/qcom/smem.c "Rejecting allocation of static entry %d\n", item); item 456 drivers/soc/qcom/smem.c if (WARN_ON(item >= __smem->item_count)) item 467 drivers/soc/qcom/smem.c ret = qcom_smem_alloc_private(__smem, phdr, item, size); item 470 drivers/soc/qcom/smem.c ret = qcom_smem_alloc_private(__smem, phdr, item, size); item 472 drivers/soc/qcom/smem.c ret = qcom_smem_alloc_global(__smem, item, size); item 482 drivers/soc/qcom/smem.c unsigned item, item 492 drivers/soc/qcom/smem.c entry = &header->toc[item]; item 514 drivers/soc/qcom/smem.c unsigned item, item 526 drivers/soc/qcom/smem.c if (le16_to_cpu(e->item) == item) { item 546 drivers/soc/qcom/smem.c if (le16_to_cpu(e->item) == item) { item 575 drivers/soc/qcom/smem.c void *qcom_smem_get(unsigned host, unsigned item, size_t *size) item 586 drivers/soc/qcom/smem.c if (WARN_ON(item >= __smem->item_count)) item 598 drivers/soc/qcom/smem.c ptr = qcom_smem_get_private(__smem, phdr, cacheln, item, size); item 602 drivers/soc/qcom/smem.c ptr = qcom_smem_get_private(__smem, phdr, cacheln, item, size); item 604 drivers/soc/qcom/smem.c ptr = qcom_smem_get_global(__smem, item, size); item 28 drivers/staging/comedi/drivers/tests/example_test.c int item; item 40 drivers/staging/comedi/drivers/tests/example_test.c dev.item = 10; item 48 drivers/staging/comedi/drivers/tests/example_test.c unittest(dev.item != 11, "negative result\n"); item 49 drivers/staging/comedi/drivers/tests/example_test.c unittest(dev.item == 10, "positive result\n"); item 194 drivers/staging/greybus/audio_topology.c if (uinfo->value.enumerated.item > max - 1) item 195 drivers/staging/greybus/audio_topology.c uinfo->value.enumerated.item = max - 1; item 200 drivers/staging/greybus/audio_topology.c uinfo->value.enumerated.item); item 258 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[0] = item 261 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[1] = item 306 drivers/staging/greybus/audio_topology.c cpu_to_le32(ucontrol->value.enumerated.item[0]); item 309 drivers/staging/greybus/audio_topology.c cpu_to_le32(ucontrol->value.enumerated.item[1]); item 588 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[0] = item 591 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[1] = item 616 drivers/staging/greybus/audio_topology.c if (ucontrol->value.enumerated.item[0] > e->max - 1) item 619 drivers/staging/greybus/audio_topology.c cpu_to_le32(ucontrol->value.enumerated.item[0]); item 622 drivers/staging/greybus/audio_topology.c if (ucontrol->value.enumerated.item[1] > e->max - 1) item 625 drivers/staging/greybus/audio_topology.c cpu_to_le32(ucontrol->value.enumerated.item[1]); item 753 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[0] = gbvalue.value.enumerated_item[0]; item 755 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[1] = item 776 drivers/staging/greybus/audio_topology.c if (ucontrol->value.enumerated.item[0] > e->max - 1) item 805 drivers/staging/greybus/audio_topology.c mux = ucontrol->value.enumerated.item[0]; item 810 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[0]) { item 813 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[0]; item 817 drivers/staging/greybus/audio_topology.c if (ucontrol->value.enumerated.item[1] > e->max - 1) item 819 drivers/staging/greybus/audio_topology.c val |= ucontrol->value.enumerated.item[1] << e->shift_r; item 822 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[1]) { item 825 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[1]; item 16 drivers/staging/most/configfs.c struct config_item item; item 88 drivers/staging/most/configfs.c static struct mdev_link *to_mdev_link(struct config_item *item) item 90 drivers/staging/most/configfs.c return container_of(item, struct mdev_link, item); item 111 drivers/staging/most/configfs.c static ssize_t mdev_link_create_link_store(struct config_item *item, item 114 drivers/staging/most/configfs.c struct mdev_link *mdev_link = to_mdev_link(item); item 131 drivers/staging/most/configfs.c static ssize_t mdev_link_destroy_link_store(struct config_item *item, item 134 drivers/staging/most/configfs.c struct mdev_link *mdev_link = to_mdev_link(item); item 153 drivers/staging/most/configfs.c static ssize_t mdev_link_direction_show(struct config_item *item, char *page) item 155 drivers/staging/most/configfs.c return snprintf(page, PAGE_SIZE, "%s\n", to_mdev_link(item)->direction); item 158 drivers/staging/most/configfs.c static ssize_t mdev_link_direction_store(struct config_item *item, item 161 drivers/staging/most/configfs.c struct mdev_link *mdev_link = to_mdev_link(item); item 170 drivers/staging/most/configfs.c static ssize_t mdev_link_datatype_show(struct config_item *item, char *page) item 172 drivers/staging/most/configfs.c return snprintf(page, PAGE_SIZE, "%s\n", to_mdev_link(item)->datatype); item 175 drivers/staging/most/configfs.c static ssize_t mdev_link_datatype_store(struct config_item *item, item 178 drivers/staging/most/configfs.c struct mdev_link *mdev_link = to_mdev_link(item); item 188 drivers/staging/most/configfs.c static ssize_t mdev_link_device_show(struct config_item *item, char *page) item 190 drivers/staging/most/configfs.c return snprintf(page, PAGE_SIZE, "%s\n", to_mdev_link(item)->device); item 193 drivers/staging/most/configfs.c static ssize_t mdev_link_device_store(struct config_item *item, item 196 drivers/staging/most/configfs.c struct mdev_link *mdev_link = to_mdev_link(item); item 202 drivers/staging/most/configfs.c static ssize_t mdev_link_channel_show(struct config_item *item, char *page) item 204 drivers/staging/most/configfs.c return snprintf(page, PAGE_SIZE, "%s\n", to_mdev_link(item)->channel); item 207 drivers/staging/most/configfs.c static ssize_t mdev_link_channel_store(struct config_item *item, item 210 drivers/staging/most/configfs.c struct mdev_link *mdev_link = to_mdev_link(item); item 216 drivers/staging/most/configfs.c static ssize_t mdev_link_comp_show(struct config_item *item, char *page) item 218 drivers/staging/most/configfs.c return snprintf(page, PAGE_SIZE, "%s\n", to_mdev_link(item)->comp); item 221 drivers/staging/most/configfs.c static ssize_t mdev_link_comp_store(struct config_item *item, item 224 drivers/staging/most/configfs.c struct mdev_link *mdev_link = to_mdev_link(item); item 230 drivers/staging/most/configfs.c static ssize_t mdev_link_comp_params_show(struct config_item *item, char *page) item 233 drivers/staging/most/configfs.c to_mdev_link(item)->comp_params); item 236 drivers/staging/most/configfs.c static ssize_t mdev_link_comp_params_store(struct config_item *item, item 239 drivers/staging/most/configfs.c struct mdev_link *mdev_link = to_mdev_link(item); item 245 drivers/staging/most/configfs.c static ssize_t mdev_link_num_buffers_show(struct config_item *item, char *page) item 248 drivers/staging/most/configfs.c to_mdev_link(item)->num_buffers); item 251 drivers/staging/most/configfs.c static ssize_t mdev_link_num_buffers_store(struct config_item *item, item 254 drivers/staging/most/configfs.c struct mdev_link *mdev_link = to_mdev_link(item); item 263 drivers/staging/most/configfs.c static ssize_t mdev_link_buffer_size_show(struct config_item *item, char *page) item 266 drivers/staging/most/configfs.c to_mdev_link(item)->buffer_size); item 269 drivers/staging/most/configfs.c static ssize_t mdev_link_buffer_size_store(struct config_item *item, item 272 drivers/staging/most/configfs.c struct mdev_link *mdev_link = to_mdev_link(item); item 281 drivers/staging/most/configfs.c static ssize_t mdev_link_subbuffer_size_show(struct config_item *item, item 285 drivers/staging/most/configfs.c to_mdev_link(item)->subbuffer_size); item 288 drivers/staging/most/configfs.c static ssize_t mdev_link_subbuffer_size_store(struct config_item *item, item 291 drivers/staging/most/configfs.c struct mdev_link *mdev_link = to_mdev_link(item); item 300 drivers/staging/most/configfs.c static ssize_t mdev_link_packets_per_xact_show(struct config_item *item, item 304 drivers/staging/most/configfs.c to_mdev_link(item)->packets_per_xact); item 307 drivers/staging/most/configfs.c static ssize_t mdev_link_packets_per_xact_store(struct config_item *item, item 310 drivers/staging/most/configfs.c struct mdev_link *mdev_link = to_mdev_link(item); item 319 drivers/staging/most/configfs.c static ssize_t mdev_link_dbr_size_show(struct config_item *item, char *page) item 321 drivers/staging/most/configfs.c return snprintf(page, PAGE_SIZE, "%d\n", to_mdev_link(item)->dbr_size); item 324 drivers/staging/most/configfs.c static ssize_t mdev_link_dbr_size_store(struct config_item *item, item 327 drivers/staging/most/configfs.c struct mdev_link *mdev_link = to_mdev_link(item); item 367 drivers/staging/most/configfs.c static void mdev_link_release(struct config_item *item) item 369 drivers/staging/most/configfs.c struct mdev_link *mdev_link = to_mdev_link(item); item 379 drivers/staging/most/configfs.c kfree(to_mdev_link(item)); item 396 drivers/staging/most/configfs.c static struct most_common *to_most_common(struct config_item *item) item 398 drivers/staging/most/configfs.c return container_of(to_config_group(item), struct most_common, group); item 410 drivers/staging/most/configfs.c config_item_init_type_name(&mdev_link->item, name, item 420 drivers/staging/most/configfs.c return &mdev_link->item; item 423 drivers/staging/most/configfs.c static void most_common_release(struct config_item *item) item 425 drivers/staging/most/configfs.c kfree(to_most_common(item)); item 475 drivers/staging/most/configfs.c static struct most_snd_grp *to_most_snd_grp(struct config_item *item) item 477 drivers/staging/most/configfs.c return container_of(to_config_group(item), struct most_snd_grp, group); item 489 drivers/staging/most/configfs.c config_item_init_type_name(&mdev_link->item, name, &mdev_link_type); item 493 drivers/staging/most/configfs.c return &mdev_link->item; item 496 drivers/staging/most/configfs.c static ssize_t most_snd_grp_create_card_store(struct config_item *item, item 499 drivers/staging/most/configfs.c struct most_snd_grp *snd_grp = to_most_snd_grp(item); item 522 drivers/staging/most/configfs.c static void most_snd_grp_release(struct config_item *item) item 524 drivers/staging/most/configfs.c struct most_snd_grp *group = to_most_snd_grp(item); item 251 drivers/staging/wlan-ng/prism2fw.c struct p80211itemd *item; item 306 drivers/staging/wlan-ng/prism2fw.c item = (struct p80211itemd *)getmsg.mibattribute.data; item 307 drivers/staging/wlan-ng/prism2fw.c item->did = DIDMIB_P2_NIC_PRISUPRANGE; item 308 drivers/staging/wlan-ng/prism2fw.c item->status = P80211ENUM_msgitem_status_no_value; item 310 drivers/staging/wlan-ng/prism2fw.c data = (u32 *)item->data; item 388 drivers/staging/wlan-ng/prism2mgmt.c struct hfa384x_hscan_result_sub *item = NULL; item 417 drivers/staging/wlan-ng/prism2mgmt.c item = &hw->scanresults->info.hscanresult.result[req->bssindex.data]; item 421 drivers/staging/wlan-ng/prism2mgmt.c req->signal.data = le16_to_cpu(item->sl); item 422 drivers/staging/wlan-ng/prism2mgmt.c req->noise.data = le16_to_cpu(item->anl); item 427 drivers/staging/wlan-ng/prism2mgmt.c memcpy(req->bssid.data.data, item->bssid, WLAN_BSSID_LEN); item 431 drivers/staging/wlan-ng/prism2mgmt.c req->ssid.data.len = le16_to_cpu(item->ssid.len); item 433 drivers/staging/wlan-ng/prism2mgmt.c memcpy(req->ssid.data.data, item->ssid.data, req->ssid.data.len); item 437 drivers/staging/wlan-ng/prism2mgmt.c if (item->supprates[count] == 0) item 443 drivers/staging/wlan-ng/prism2mgmt.c item->supprates[(N) - 1])) { \ item 444 drivers/staging/wlan-ng/prism2mgmt.c req->basicrate ## N .data = item->supprates[(N) - 1]; \ item 462 drivers/staging/wlan-ng/prism2mgmt.c req->supprate ## N .data = item->supprates[(N) - 1]; \ item 479 drivers/staging/wlan-ng/prism2mgmt.c req->beaconperiod.data = le16_to_cpu(item->bcnint); item 489 drivers/staging/wlan-ng/prism2mgmt.c req->ibssatimwindow.data = le16_to_cpu(item->atim); item 493 drivers/staging/wlan-ng/prism2mgmt.c req->dschannel.data = le16_to_cpu(item->chid); item 496 drivers/staging/wlan-ng/prism2mgmt.c count = le16_to_cpu(item->capinfo); item 34 drivers/target/iscsi/iscsi_target_configfs.c static inline struct iscsi_tpg_np *to_iscsi_tpg_np(struct config_item *item) item 36 drivers/target/iscsi/iscsi_target_configfs.c return container_of(to_tpg_np(item), struct iscsi_tpg_np, se_tpg_np); item 39 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_np_driver_show(struct config_item *item, char *page, item 42 drivers/target/iscsi/iscsi_target_configfs.c struct iscsi_tpg_np *tpg_np = to_iscsi_tpg_np(item); item 55 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_np_driver_store(struct config_item *item, item 59 drivers/target/iscsi/iscsi_target_configfs.c struct iscsi_tpg_np *tpg_np = to_iscsi_tpg_np(item); item 116 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_np_iser_show(struct config_item *item, char *page) item 118 drivers/target/iscsi/iscsi_target_configfs.c return lio_target_np_driver_show(item, page, ISCSI_INFINIBAND); item 121 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_np_iser_store(struct config_item *item, item 124 drivers/target/iscsi/iscsi_target_configfs.c return lio_target_np_driver_store(item, page, count, item 129 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_np_cxgbit_show(struct config_item *item, char *page) item 131 drivers/target/iscsi/iscsi_target_configfs.c return lio_target_np_driver_show(item, page, ISCSI_CXGBIT); item 134 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_np_cxgbit_store(struct config_item *item, item 137 drivers/target/iscsi/iscsi_target_configfs.c return lio_target_np_driver_store(item, page, count, item 281 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_nacl_attrib_##name##_show(struct config_item *item,\ item 284 drivers/target/iscsi/iscsi_target_configfs.c struct se_node_acl *se_nacl = attrib_to_nacl(item); \ item 291 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_nacl_attrib_##name##_store(struct config_item *item,\ item 294 drivers/target/iscsi/iscsi_target_configfs.c struct se_node_acl *se_nacl = attrib_to_nacl(item); \ item 377 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_nacl_auth_##name##_show(struct config_item *item, \ item 380 drivers/target/iscsi/iscsi_target_configfs.c struct se_node_acl *nacl = auth_to_nacl(item); \ item 384 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_nacl_auth_##name##_store(struct config_item *item, \ item 387 drivers/target/iscsi/iscsi_target_configfs.c struct se_node_acl *nacl = auth_to_nacl(item); \ item 417 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_nacl_auth_##name##_show(struct config_item *item, \ item 420 drivers/target/iscsi/iscsi_target_configfs.c struct se_node_acl *nacl = auth_to_nacl(item); \ item 443 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_nacl_param_##name##_show(struct config_item *item, \ item 446 drivers/target/iscsi/iscsi_target_configfs.c struct se_node_acl *se_nacl = param_to_nacl(item); \ item 499 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_nacl_info_show(struct config_item *item, char *page) item 501 drivers/target/iscsi/iscsi_target_configfs.c struct se_node_acl *se_nacl = acl_to_nacl(item); item 616 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_nacl_cmdsn_depth_show(struct config_item *item, item 619 drivers/target/iscsi/iscsi_target_configfs.c return sprintf(page, "%u\n", acl_to_nacl(item)->queue_depth); item 622 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_nacl_cmdsn_depth_store(struct config_item *item, item 625 drivers/target/iscsi/iscsi_target_configfs.c struct se_node_acl *se_nacl = acl_to_nacl(item); item 672 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_nacl_tag_show(struct config_item *item, char *page) item 674 drivers/target/iscsi/iscsi_target_configfs.c return snprintf(page, PAGE_SIZE, "%s", acl_to_nacl(item)->acl_tag); item 677 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_nacl_tag_store(struct config_item *item, item 680 drivers/target/iscsi/iscsi_target_configfs.c struct se_node_acl *se_nacl = acl_to_nacl(item); item 720 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_tpg_attrib_##name##_show(struct config_item *item, \ item 723 drivers/target/iscsi/iscsi_target_configfs.c struct se_portal_group *se_tpg = attrib_to_tpg(item); \ item 736 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_tpg_attrib_##name##_store(struct config_item *item,\ item 739 drivers/target/iscsi/iscsi_target_configfs.c struct se_portal_group *se_tpg = attrib_to_tpg(item); \ item 841 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_tpg_auth_##name##_show(struct config_item *item, \ item 844 drivers/target/iscsi/iscsi_target_configfs.c return __iscsi_tpg_auth_##name##_show(auth_to_tpg(item), page); \ item 847 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_tpg_auth_##name##_store(struct config_item *item, \ item 850 drivers/target/iscsi/iscsi_target_configfs.c return __iscsi_tpg_auth_##name##_store(auth_to_tpg(item), page, count); \ item 877 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_tpg_auth_##name##_show(struct config_item *item, \ item 880 drivers/target/iscsi/iscsi_target_configfs.c return __iscsi_tpg_auth_##name##_show(auth_to_tpg(item), page); \ item 900 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_tpg_param_##name##_show(struct config_item *item, \ item 903 drivers/target/iscsi/iscsi_target_configfs.c struct se_portal_group *se_tpg = param_to_tpg(item); \ item 923 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_tpg_param_##name##_store(struct config_item *item, \ item 926 drivers/target/iscsi/iscsi_target_configfs.c struct se_portal_group *se_tpg = param_to_tpg(item); \ item 1009 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_tpg_enable_show(struct config_item *item, char *page) item 1011 drivers/target/iscsi/iscsi_target_configfs.c struct se_portal_group *se_tpg = to_tpg(item); item 1024 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_tpg_enable_store(struct config_item *item, item 1027 drivers/target/iscsi/iscsi_target_configfs.c struct se_portal_group *se_tpg = to_tpg(item); item 1066 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_tpg_dynamic_sessions_show(struct config_item *item, item 1069 drivers/target/iscsi/iscsi_target_configfs.c return target_show_dynamic_sessions(to_tpg(item), page); item 1151 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t lio_target_wwn_lio_version_show(struct config_item *item, item 1227 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_disc_##name##_show(struct config_item *item, char *page) \ item 1232 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_disc_##name##_store(struct config_item *item, \ item 1248 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_disc_##name##_show(struct config_item *item, char *page) \ item 1258 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_disc_enforce_discovery_auth_show(struct config_item *item, item 1266 drivers/target/iscsi/iscsi_target_configfs.c static ssize_t iscsi_disc_enforce_discovery_auth_store(struct config_item *item, item 44 drivers/target/iscsi/iscsi_target_stat.c static struct iscsi_tiqn *iscsi_instance_tiqn(struct config_item *item) item 46 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_wwn_stat_grps *igrps = container_of(to_config_group(item), item 51 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_instance_inst_show(struct config_item *item, item 55 drivers/target/iscsi/iscsi_target_stat.c iscsi_instance_tiqn(item)->tiqn_index); item 58 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_instance_min_ver_show(struct config_item *item, item 64 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_instance_max_ver_show(struct config_item *item, item 70 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_instance_portals_show(struct config_item *item, item 74 drivers/target/iscsi/iscsi_target_stat.c iscsi_instance_tiqn(item)->tiqn_num_tpg_nps); item 77 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_instance_nodes_show(struct config_item *item, item 83 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_instance_sessions_show(struct config_item *item, item 87 drivers/target/iscsi/iscsi_target_stat.c iscsi_instance_tiqn(item)->tiqn_nsessions); item 90 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_instance_fail_sess_show(struct config_item *item, item 93 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_instance_tiqn(item); item 106 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_instance_fail_type_show(struct config_item *item, item 109 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_instance_tiqn(item); item 116 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_instance_fail_rem_name_show(struct config_item *item, item 119 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_instance_tiqn(item); item 127 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_instance_disc_time_show(struct config_item *item, item 133 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_instance_description_show(struct config_item *item, item 139 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_instance_vendor_show(struct config_item *item, item 145 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_instance_version_show(struct config_item *item, item 190 drivers/target/iscsi/iscsi_target_stat.c static struct iscsi_tiqn *iscsi_sess_err_tiqn(struct config_item *item) item 192 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_wwn_stat_grps *igrps = container_of(to_config_group(item), item 197 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_sess_err_inst_show(struct config_item *item, item 201 drivers/target/iscsi/iscsi_target_stat.c iscsi_sess_err_tiqn(item)->tiqn_index); item 204 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_sess_err_digest_errors_show(struct config_item *item, item 207 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_sess_err_tiqn(item); item 213 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_sess_err_cxn_errors_show(struct config_item *item, item 216 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_sess_err_tiqn(item); item 222 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_sess_err_format_errors_show(struct config_item *item, item 225 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_sess_err_tiqn(item); item 252 drivers/target/iscsi/iscsi_target_stat.c static struct iscsi_tiqn *iscsi_tgt_attr_tiqn(struct config_item *item) item 254 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_wwn_stat_grps *igrps = container_of(to_config_group(item), item 259 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_tgt_attr_inst_show(struct config_item *item, item 263 drivers/target/iscsi/iscsi_target_stat.c iscsi_tgt_attr_tiqn(item)->tiqn_index); item 266 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_tgt_attr_indx_show(struct config_item *item, item 272 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_tgt_attr_login_fails_show(struct config_item *item, item 275 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_tgt_attr_tiqn(item); item 288 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_tgt_attr_last_fail_time_show(struct config_item *item, item 291 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_tgt_attr_tiqn(item); item 304 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_tgt_attr_last_fail_type_show(struct config_item *item, item 307 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_tgt_attr_tiqn(item); item 318 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_tgt_attr_fail_intr_name_show(struct config_item *item, item 321 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_tgt_attr_tiqn(item); item 333 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_tgt_attr_fail_intr_addr_type_show(struct config_item *item, item 336 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_tgt_attr_tiqn(item); item 350 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_tgt_attr_fail_intr_addr_show(struct config_item *item, item 353 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_tgt_attr_tiqn(item); item 393 drivers/target/iscsi/iscsi_target_stat.c static struct iscsi_tiqn *iscsi_login_stat_tiqn(struct config_item *item) item 395 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_wwn_stat_grps *igrps = container_of(to_config_group(item), item 400 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_login_inst_show(struct config_item *item, char *page) item 403 drivers/target/iscsi/iscsi_target_stat.c iscsi_login_stat_tiqn(item)->tiqn_index); item 406 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_login_indx_show(struct config_item *item, item 412 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_login_accepts_show(struct config_item *item, item 415 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_login_stat_tiqn(item); item 426 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_login_other_fails_show(struct config_item *item, item 429 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_login_stat_tiqn(item); item 440 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_login_redirects_show(struct config_item *item, item 443 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_login_stat_tiqn(item); item 454 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_login_authorize_fails_show(struct config_item *item, item 457 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_login_stat_tiqn(item); item 469 drivers/target/iscsi/iscsi_target_stat.c struct config_item *item, char *page) item 471 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_login_stat_tiqn(item); item 482 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_login_negotiate_fails_show(struct config_item *item, item 485 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_login_stat_tiqn(item); item 525 drivers/target/iscsi/iscsi_target_stat.c static struct iscsi_tiqn *iscsi_logout_stat_tiqn(struct config_item *item) item 527 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_wwn_stat_grps *igrps = container_of(to_config_group(item), item 532 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_logout_inst_show(struct config_item *item, char *page) item 535 drivers/target/iscsi/iscsi_target_stat.c iscsi_logout_stat_tiqn(item)->tiqn_index); item 538 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_logout_indx_show(struct config_item *item, char *page) item 543 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_logout_normal_logouts_show(struct config_item *item, item 546 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_logout_stat_tiqn(item); item 552 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_logout_abnormal_logouts_show(struct config_item *item, item 555 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_tiqn *tiqn = iscsi_logout_stat_tiqn(item); item 582 drivers/target/iscsi/iscsi_target_stat.c static struct iscsi_node_acl *iscsi_stat_nacl(struct config_item *item) item 584 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_node_stat_grps *igrps = container_of(to_config_group(item), item 589 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_sess_inst_show(struct config_item *item, char *page) item 591 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_node_acl *acl = iscsi_stat_nacl(item); item 599 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_sess_node_show(struct config_item *item, char *page) item 601 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_node_acl *acl = iscsi_stat_nacl(item); item 620 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_sess_indx_show(struct config_item *item, char *page) item 622 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_node_acl *acl = iscsi_stat_nacl(item); item 641 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_sess_cmd_pdus_show(struct config_item *item, item 644 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_node_acl *acl = iscsi_stat_nacl(item); item 663 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_sess_rsp_pdus_show(struct config_item *item, item 666 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_node_acl *acl = iscsi_stat_nacl(item); item 685 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_sess_txdata_octs_show(struct config_item *item, item 688 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_node_acl *acl = iscsi_stat_nacl(item); item 707 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_sess_rxdata_octs_show(struct config_item *item, item 710 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_node_acl *acl = iscsi_stat_nacl(item); item 729 drivers/target/iscsi/iscsi_target_stat.c static ssize_t iscsi_stat_sess_conn_digest_errors_show(struct config_item *item, item 732 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_node_acl *acl = iscsi_stat_nacl(item); item 752 drivers/target/iscsi/iscsi_target_stat.c struct config_item *item, char *page) item 754 drivers/target/iscsi/iscsi_target_stat.c struct iscsi_node_acl *acl = iscsi_stat_nacl(item); item 676 drivers/target/loopback/tcm_loop.c struct config_item *item, char *page) item 678 drivers/target/loopback/tcm_loop.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 686 drivers/target/loopback/tcm_loop.c struct config_item *item, const char *page, size_t count) item 688 drivers/target/loopback/tcm_loop.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 791 drivers/target/loopback/tcm_loop.c static ssize_t tcm_loop_tpg_nexus_show(struct config_item *item, char *page) item 793 drivers/target/loopback/tcm_loop.c struct se_portal_group *se_tpg = to_tpg(item); item 809 drivers/target/loopback/tcm_loop.c static ssize_t tcm_loop_tpg_nexus_store(struct config_item *item, item 812 drivers/target/loopback/tcm_loop.c struct se_portal_group *se_tpg = to_tpg(item); item 884 drivers/target/loopback/tcm_loop.c static ssize_t tcm_loop_tpg_transport_status_show(struct config_item *item, item 887 drivers/target/loopback/tcm_loop.c struct se_portal_group *se_tpg = to_tpg(item); item 910 drivers/target/loopback/tcm_loop.c static ssize_t tcm_loop_tpg_transport_status_store(struct config_item *item, item 913 drivers/target/loopback/tcm_loop.c struct se_portal_group *se_tpg = to_tpg(item); item 933 drivers/target/loopback/tcm_loop.c static ssize_t tcm_loop_tpg_address_show(struct config_item *item, item 936 drivers/target/loopback/tcm_loop.c struct se_portal_group *se_tpg = to_tpg(item); item 1111 drivers/target/loopback/tcm_loop.c static ssize_t tcm_loop_wwn_version_show(struct config_item *item, char *page) item 2080 drivers/target/sbp/sbp_target.c static ssize_t sbp_wwn_version_show(struct config_item *item, char *page) item 2092 drivers/target/sbp/sbp_target.c static ssize_t sbp_tpg_directory_id_show(struct config_item *item, char *page) item 2094 drivers/target/sbp/sbp_target.c struct se_portal_group *se_tpg = to_tpg(item); item 2104 drivers/target/sbp/sbp_target.c static ssize_t sbp_tpg_directory_id_store(struct config_item *item, item 2107 drivers/target/sbp/sbp_target.c struct se_portal_group *se_tpg = to_tpg(item); item 2131 drivers/target/sbp/sbp_target.c static ssize_t sbp_tpg_enable_show(struct config_item *item, char *page) item 2133 drivers/target/sbp/sbp_target.c struct se_portal_group *se_tpg = to_tpg(item); item 2139 drivers/target/sbp/sbp_target.c static ssize_t sbp_tpg_enable_store(struct config_item *item, item 2142 drivers/target/sbp/sbp_target.c struct se_portal_group *se_tpg = to_tpg(item); item 2191 drivers/target/sbp/sbp_target.c static ssize_t sbp_tpg_attrib_mgt_orb_timeout_show(struct config_item *item, item 2194 drivers/target/sbp/sbp_target.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 2200 drivers/target/sbp/sbp_target.c static ssize_t sbp_tpg_attrib_mgt_orb_timeout_store(struct config_item *item, item 2203 drivers/target/sbp/sbp_target.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 2226 drivers/target/sbp/sbp_target.c static ssize_t sbp_tpg_attrib_max_reconnect_timeout_show(struct config_item *item, item 2229 drivers/target/sbp/sbp_target.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 2235 drivers/target/sbp/sbp_target.c static ssize_t sbp_tpg_attrib_max_reconnect_timeout_store(struct config_item *item, item 2238 drivers/target/sbp/sbp_target.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 2261 drivers/target/sbp/sbp_target.c static ssize_t sbp_tpg_attrib_max_logins_per_lun_show(struct config_item *item, item 2264 drivers/target/sbp/sbp_target.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 2270 drivers/target/sbp/sbp_target.c static ssize_t sbp_tpg_attrib_max_logins_per_lun_store(struct config_item *item, item 2273 drivers/target/sbp/sbp_target.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 76 drivers/target/target_core_configfs.c item_to_hba(struct config_item *item) item 78 drivers/target/target_core_configfs.c return container_of(to_config_group(item), struct se_hba, hba_group); item 84 drivers/target/target_core_configfs.c static ssize_t target_core_item_version_show(struct config_item *item, item 97 drivers/target/target_core_configfs.c static ssize_t target_core_item_dbroot_show(struct config_item *item, item 103 drivers/target/target_core_configfs.c static ssize_t target_core_item_dbroot_store(struct config_item *item, item 271 drivers/target/target_core_configfs.c struct config_item *item) item 274 drivers/target/target_core_configfs.c to_config_group(item), struct target_fabric_configfs, tf_group); item 277 drivers/target/target_core_configfs.c " tf list\n", config_item_name(item)); item 284 drivers/target/target_core_configfs.c " %s\n", config_item_name(item)); item 287 drivers/target/target_core_configfs.c config_item_put(item); item 322 drivers/target/target_core_configfs.c int target_depend_item(struct config_item *item) item 324 drivers/target/target_core_configfs.c return configfs_depend_item(&target_core_fabrics, item); item 328 drivers/target/target_core_configfs.c void target_undepend_item(struct config_item *item) item 330 drivers/target/target_core_configfs.c return configfs_undepend_item(item); item 505 drivers/target/target_core_configfs.c static inline struct se_dev_attrib *to_attrib(struct config_item *item) item 507 drivers/target/target_core_configfs.c return container_of(to_config_group(item), struct se_dev_attrib, item 513 drivers/target/target_core_configfs.c static ssize_t _name##_show(struct config_item *item, char *page) \ item 515 drivers/target/target_core_configfs.c return snprintf(page, PAGE_SIZE, "%u\n", to_attrib(item)->_name); \ item 551 drivers/target/target_core_configfs.c static ssize_t _name##_store(struct config_item *item, const char *page,\ item 554 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); \ item 572 drivers/target/target_core_configfs.c static ssize_t _name##_store(struct config_item *item, const char *page, \ item 575 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); \ item 594 drivers/target/target_core_configfs.c static ssize_t _name##_store(struct config_item *item, const char *page,\ item 624 drivers/target/target_core_configfs.c static ssize_t emulate_model_alias_store(struct config_item *item, item 627 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 654 drivers/target/target_core_configfs.c static ssize_t emulate_write_cache_store(struct config_item *item, item 657 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 676 drivers/target/target_core_configfs.c static ssize_t emulate_ua_intlck_ctrl_store(struct config_item *item, item 679 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 704 drivers/target/target_core_configfs.c static ssize_t emulate_tas_store(struct config_item *item, item 707 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 728 drivers/target/target_core_configfs.c static ssize_t emulate_tpu_store(struct config_item *item, item 731 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 754 drivers/target/target_core_configfs.c static ssize_t emulate_tpws_store(struct config_item *item, item 757 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 780 drivers/target/target_core_configfs.c static ssize_t pi_prot_type_store(struct config_item *item, item 783 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 844 drivers/target/target_core_configfs.c static ssize_t pi_prot_format_show(struct config_item *item, char *page) item 849 drivers/target/target_core_configfs.c static ssize_t pi_prot_format_store(struct config_item *item, item 852 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 887 drivers/target/target_core_configfs.c static ssize_t pi_prot_verify_store(struct config_item *item, item 890 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 916 drivers/target/target_core_configfs.c static ssize_t force_pr_aptpl_store(struct config_item *item, item 919 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 938 drivers/target/target_core_configfs.c static ssize_t emulate_rest_reord_store(struct config_item *item, item 941 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 960 drivers/target/target_core_configfs.c static ssize_t unmap_zeroes_data_store(struct config_item *item, item 963 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 996 drivers/target/target_core_configfs.c static ssize_t queue_depth_store(struct config_item *item, item 999 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 1033 drivers/target/target_core_configfs.c static ssize_t optimal_sectors_store(struct config_item *item, item 1036 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 1063 drivers/target/target_core_configfs.c static ssize_t block_size_store(struct config_item *item, item 1066 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 1097 drivers/target/target_core_configfs.c static ssize_t alua_support_show(struct config_item *item, char *page) item 1099 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 1106 drivers/target/target_core_configfs.c static ssize_t pgr_support_show(struct config_item *item, char *page) item 1108 drivers/target/target_core_configfs.c struct se_dev_attrib *da = to_attrib(item); item 1217 drivers/target/target_core_configfs.c static struct t10_wwn *to_t10_wwn(struct config_item *item) item 1219 drivers/target/target_core_configfs.c return container_of(to_config_group(item), struct t10_wwn, t10_wwn_group); item 1248 drivers/target/target_core_configfs.c static ssize_t target_wwn_vendor_id_show(struct config_item *item, item 1251 drivers/target/target_core_configfs.c return sprintf(page, "%s\n", &to_t10_wwn(item)->vendor[0]); item 1254 drivers/target/target_core_configfs.c static ssize_t target_wwn_vendor_id_store(struct config_item *item, item 1257 drivers/target/target_core_configfs.c struct t10_wwn *t10_wwn = to_t10_wwn(item); item 1304 drivers/target/target_core_configfs.c static ssize_t target_wwn_product_id_show(struct config_item *item, item 1307 drivers/target/target_core_configfs.c return sprintf(page, "%s\n", &to_t10_wwn(item)->model[0]); item 1310 drivers/target/target_core_configfs.c static ssize_t target_wwn_product_id_store(struct config_item *item, item 1313 drivers/target/target_core_configfs.c struct t10_wwn *t10_wwn = to_t10_wwn(item); item 1360 drivers/target/target_core_configfs.c static ssize_t target_wwn_revision_show(struct config_item *item, item 1363 drivers/target/target_core_configfs.c return sprintf(page, "%s\n", &to_t10_wwn(item)->revision[0]); item 1366 drivers/target/target_core_configfs.c static ssize_t target_wwn_revision_store(struct config_item *item, item 1369 drivers/target/target_core_configfs.c struct t10_wwn *t10_wwn = to_t10_wwn(item); item 1419 drivers/target/target_core_configfs.c static ssize_t target_wwn_vpd_unit_serial_show(struct config_item *item, item 1423 drivers/target/target_core_configfs.c &to_t10_wwn(item)->unit_serial[0]); item 1426 drivers/target/target_core_configfs.c static ssize_t target_wwn_vpd_unit_serial_store(struct config_item *item, item 1429 drivers/target/target_core_configfs.c struct t10_wwn *t10_wwn = to_t10_wwn(item); item 1488 drivers/target/target_core_configfs.c static ssize_t target_wwn_vpd_protocol_identifier_show(struct config_item *item, item 1491 drivers/target/target_core_configfs.c struct t10_wwn *t10_wwn = to_t10_wwn(item); item 1519 drivers/target/target_core_configfs.c static ssize_t target_wwn_##_name##_show(struct config_item *item, \ item 1522 drivers/target/target_core_configfs.c struct t10_wwn *t10_wwn = to_t10_wwn(item); \ item 1589 drivers/target/target_core_configfs.c static struct se_device *pr_to_dev(struct config_item *item) item 1591 drivers/target/target_core_configfs.c return container_of(to_config_group(item), struct se_device, item 1635 drivers/target/target_core_configfs.c static ssize_t target_pr_res_holder_show(struct config_item *item, char *page) item 1637 drivers/target/target_core_configfs.c struct se_device *dev = pr_to_dev(item); item 1655 drivers/target/target_core_configfs.c static ssize_t target_pr_res_pr_all_tgt_pts_show(struct config_item *item, item 1658 drivers/target/target_core_configfs.c struct se_device *dev = pr_to_dev(item); item 1676 drivers/target/target_core_configfs.c static ssize_t target_pr_res_pr_generation_show(struct config_item *item, item 1679 drivers/target/target_core_configfs.c return sprintf(page, "0x%08x\n", pr_to_dev(item)->t10_pr.pr_generation); item 1683 drivers/target/target_core_configfs.c static ssize_t target_pr_res_pr_holder_tg_port_show(struct config_item *item, item 1686 drivers/target/target_core_configfs.c struct se_device *dev = pr_to_dev(item); item 1719 drivers/target/target_core_configfs.c static ssize_t target_pr_res_pr_registered_i_pts_show(struct config_item *item, item 1722 drivers/target/target_core_configfs.c struct se_device *dev = pr_to_dev(item); item 1760 drivers/target/target_core_configfs.c static ssize_t target_pr_res_pr_type_show(struct config_item *item, char *page) item 1762 drivers/target/target_core_configfs.c struct se_device *dev = pr_to_dev(item); item 1779 drivers/target/target_core_configfs.c static ssize_t target_pr_res_type_show(struct config_item *item, char *page) item 1781 drivers/target/target_core_configfs.c struct se_device *dev = pr_to_dev(item); item 1793 drivers/target/target_core_configfs.c static ssize_t target_pr_res_aptpl_active_show(struct config_item *item, item 1796 drivers/target/target_core_configfs.c struct se_device *dev = pr_to_dev(item); item 1806 drivers/target/target_core_configfs.c static ssize_t target_pr_res_aptpl_metadata_show(struct config_item *item, item 1809 drivers/target/target_core_configfs.c struct se_device *dev = pr_to_dev(item); item 1843 drivers/target/target_core_configfs.c static ssize_t target_pr_res_aptpl_metadata_store(struct config_item *item, item 1846 drivers/target/target_core_configfs.c struct se_device *dev = pr_to_dev(item); item 2058 drivers/target/target_core_configfs.c static inline struct se_device *to_device(struct config_item *item) item 2060 drivers/target/target_core_configfs.c return container_of(to_config_group(item), struct se_device, dev_group); item 2063 drivers/target/target_core_configfs.c static ssize_t target_dev_info_show(struct config_item *item, char *page) item 2065 drivers/target/target_core_configfs.c struct se_device *dev = to_device(item); item 2076 drivers/target/target_core_configfs.c static ssize_t target_dev_control_store(struct config_item *item, item 2079 drivers/target/target_core_configfs.c struct se_device *dev = to_device(item); item 2084 drivers/target/target_core_configfs.c static ssize_t target_dev_alias_show(struct config_item *item, char *page) item 2086 drivers/target/target_core_configfs.c struct se_device *dev = to_device(item); item 2094 drivers/target/target_core_configfs.c static ssize_t target_dev_alias_store(struct config_item *item, item 2097 drivers/target/target_core_configfs.c struct se_device *dev = to_device(item); item 2124 drivers/target/target_core_configfs.c static ssize_t target_dev_udev_path_show(struct config_item *item, char *page) item 2126 drivers/target/target_core_configfs.c struct se_device *dev = to_device(item); item 2134 drivers/target/target_core_configfs.c static ssize_t target_dev_udev_path_store(struct config_item *item, item 2137 drivers/target/target_core_configfs.c struct se_device *dev = to_device(item); item 2165 drivers/target/target_core_configfs.c static ssize_t target_dev_enable_show(struct config_item *item, char *page) item 2167 drivers/target/target_core_configfs.c struct se_device *dev = to_device(item); item 2172 drivers/target/target_core_configfs.c static ssize_t target_dev_enable_store(struct config_item *item, item 2175 drivers/target/target_core_configfs.c struct se_device *dev = to_device(item); item 2192 drivers/target/target_core_configfs.c static ssize_t target_dev_alua_lu_gp_show(struct config_item *item, char *page) item 2194 drivers/target/target_core_configfs.c struct se_device *dev = to_device(item); item 2216 drivers/target/target_core_configfs.c static ssize_t target_dev_alua_lu_gp_store(struct config_item *item, item 2219 drivers/target/target_core_configfs.c struct se_device *dev = to_device(item); item 2296 drivers/target/target_core_configfs.c static ssize_t target_dev_lba_map_show(struct config_item *item, char *page) item 2298 drivers/target/target_core_configfs.c struct se_device *dev = to_device(item); item 2341 drivers/target/target_core_configfs.c static ssize_t target_dev_lba_map_store(struct config_item *item, item 2344 drivers/target/target_core_configfs.c struct se_device *dev = to_device(item); item 2475 drivers/target/target_core_configfs.c static void target_core_dev_release(struct config_item *item) item 2477 drivers/target/target_core_configfs.c struct config_group *dev_cg = to_config_group(item); item 2498 drivers/target/target_core_configfs.c static inline struct t10_alua_lu_gp *to_lu_gp(struct config_item *item) item 2500 drivers/target/target_core_configfs.c return container_of(to_config_group(item), struct t10_alua_lu_gp, item 2504 drivers/target/target_core_configfs.c static ssize_t target_lu_gp_lu_gp_id_show(struct config_item *item, char *page) item 2506 drivers/target/target_core_configfs.c struct t10_alua_lu_gp *lu_gp = to_lu_gp(item); item 2513 drivers/target/target_core_configfs.c static ssize_t target_lu_gp_lu_gp_id_store(struct config_item *item, item 2516 drivers/target/target_core_configfs.c struct t10_alua_lu_gp *lu_gp = to_lu_gp(item); item 2545 drivers/target/target_core_configfs.c static ssize_t target_lu_gp_members_show(struct config_item *item, char *page) item 2547 drivers/target/target_core_configfs.c struct t10_alua_lu_gp *lu_gp = to_lu_gp(item); item 2588 drivers/target/target_core_configfs.c static void target_core_alua_lu_gp_release(struct config_item *item) item 2590 drivers/target/target_core_configfs.c struct t10_alua_lu_gp *lu_gp = container_of(to_config_group(item), item 2638 drivers/target/target_core_configfs.c struct config_item *item) item 2640 drivers/target/target_core_configfs.c struct t10_alua_lu_gp *lu_gp = container_of(to_config_group(item), item 2645 drivers/target/target_core_configfs.c config_item_name(item), lu_gp->lu_gp_id); item 2650 drivers/target/target_core_configfs.c config_item_put(item); item 2668 drivers/target/target_core_configfs.c static inline struct t10_alua_tg_pt_gp *to_tg_pt_gp(struct config_item *item) item 2670 drivers/target/target_core_configfs.c return container_of(to_config_group(item), struct t10_alua_tg_pt_gp, item 2674 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_alua_access_state_show(struct config_item *item, item 2678 drivers/target/target_core_configfs.c to_tg_pt_gp(item)->tg_pt_gp_alua_access_state); item 2681 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_alua_access_state_store(struct config_item *item, item 2684 drivers/target/target_core_configfs.c struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); item 2726 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_alua_access_status_show(struct config_item *item, item 2729 drivers/target/target_core_configfs.c struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); item 2735 drivers/target/target_core_configfs.c struct config_item *item, const char *page, size_t count) item 2737 drivers/target/target_core_configfs.c struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); item 2768 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_alua_access_type_show(struct config_item *item, item 2771 drivers/target/target_core_configfs.c return core_alua_show_access_type(to_tg_pt_gp(item), page); item 2774 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_alua_access_type_store(struct config_item *item, item 2777 drivers/target/target_core_configfs.c return core_alua_store_access_type(to_tg_pt_gp(item), page, count); item 2782 drivers/target/target_core_configfs.c struct config_item *item, char *p) \ item 2784 drivers/target/target_core_configfs.c struct t10_alua_tg_pt_gp *t = to_tg_pt_gp(item); \ item 2790 drivers/target/target_core_configfs.c struct config_item *item, const char *p, size_t c) \ item 2792 drivers/target/target_core_configfs.c struct t10_alua_tg_pt_gp *t = to_tg_pt_gp(item); \ item 2829 drivers/target/target_core_configfs.c struct config_item *item, char *page) item 2832 drivers/target/target_core_configfs.c to_tg_pt_gp(item)->tg_pt_gp_write_metadata); item 2836 drivers/target/target_core_configfs.c struct config_item *item, const char *page, size_t count) item 2838 drivers/target/target_core_configfs.c struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); item 2858 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_nonop_delay_msecs_show(struct config_item *item, item 2861 drivers/target/target_core_configfs.c return core_alua_show_nonop_delay_msecs(to_tg_pt_gp(item), page); item 2864 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_nonop_delay_msecs_store(struct config_item *item, item 2867 drivers/target/target_core_configfs.c return core_alua_store_nonop_delay_msecs(to_tg_pt_gp(item), page, item 2871 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_trans_delay_msecs_show(struct config_item *item, item 2874 drivers/target/target_core_configfs.c return core_alua_show_trans_delay_msecs(to_tg_pt_gp(item), page); item 2877 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_trans_delay_msecs_store(struct config_item *item, item 2880 drivers/target/target_core_configfs.c return core_alua_store_trans_delay_msecs(to_tg_pt_gp(item), page, item 2885 drivers/target/target_core_configfs.c struct config_item *item, char *page) item 2887 drivers/target/target_core_configfs.c return core_alua_show_implicit_trans_secs(to_tg_pt_gp(item), page); item 2891 drivers/target/target_core_configfs.c struct config_item *item, const char *page, size_t count) item 2893 drivers/target/target_core_configfs.c return core_alua_store_implicit_trans_secs(to_tg_pt_gp(item), page, item 2897 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_preferred_show(struct config_item *item, item 2900 drivers/target/target_core_configfs.c return core_alua_show_preferred_bit(to_tg_pt_gp(item), page); item 2903 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_preferred_store(struct config_item *item, item 2906 drivers/target/target_core_configfs.c return core_alua_store_preferred_bit(to_tg_pt_gp(item), page, count); item 2909 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_tg_pt_gp_id_show(struct config_item *item, item 2912 drivers/target/target_core_configfs.c struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); item 2919 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_tg_pt_gp_id_store(struct config_item *item, item 2922 drivers/target/target_core_configfs.c struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); item 2951 drivers/target/target_core_configfs.c static ssize_t target_tg_pt_gp_members_show(struct config_item *item, item 2954 drivers/target/target_core_configfs.c struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); item 3025 drivers/target/target_core_configfs.c static void target_core_alua_tg_pt_gp_release(struct config_item *item) item 3027 drivers/target/target_core_configfs.c struct t10_alua_tg_pt_gp *tg_pt_gp = container_of(to_config_group(item), item 3076 drivers/target/target_core_configfs.c struct config_item *item) item 3078 drivers/target/target_core_configfs.c struct t10_alua_tg_pt_gp *tg_pt_gp = container_of(to_config_group(item), item 3083 drivers/target/target_core_configfs.c config_item_name(item), tg_pt_gp->tg_pt_gp_id); item 3088 drivers/target/target_core_configfs.c config_item_put(item); item 3127 drivers/target/target_core_configfs.c struct config_item *item) item 3221 drivers/target/target_core_configfs.c struct config_item *item) item 3223 drivers/target/target_core_configfs.c struct config_group *dev_cg = to_config_group(item); item 3246 drivers/target/target_core_configfs.c config_item_put(item); item 3256 drivers/target/target_core_configfs.c static inline struct se_hba *to_hba(struct config_item *item) item 3258 drivers/target/target_core_configfs.c return container_of(to_config_group(item), struct se_hba, hba_group); item 3261 drivers/target/target_core_configfs.c static ssize_t target_hba_info_show(struct config_item *item, char *page) item 3263 drivers/target/target_core_configfs.c struct se_hba *hba = to_hba(item); item 3270 drivers/target/target_core_configfs.c static ssize_t target_hba_mode_show(struct config_item *item, char *page) item 3272 drivers/target/target_core_configfs.c struct se_hba *hba = to_hba(item); item 3281 drivers/target/target_core_configfs.c static ssize_t target_hba_mode_store(struct config_item *item, item 3284 drivers/target/target_core_configfs.c struct se_hba *hba = to_hba(item); item 3316 drivers/target/target_core_configfs.c static void target_core_hba_release(struct config_item *item) item 3318 drivers/target/target_core_configfs.c struct se_hba *hba = container_of(to_config_group(item), item 3402 drivers/target/target_core_configfs.c struct config_item *item) item 3408 drivers/target/target_core_configfs.c config_item_put(item); item 153 drivers/target/target_core_fabric_configfs.c static struct se_lun_acl *item_to_lun_acl(struct config_item *item) item 155 drivers/target/target_core_fabric_configfs.c return container_of(to_config_group(item), struct se_lun_acl, item 160 drivers/target/target_core_fabric_configfs.c struct config_item *item, char *page) item 162 drivers/target/target_core_fabric_configfs.c struct se_lun_acl *lacl = item_to_lun_acl(item); item 178 drivers/target/target_core_fabric_configfs.c struct config_item *item, const char *page, size_t count) item 180 drivers/target/target_core_fabric_configfs.c struct se_lun_acl *lacl = item_to_lun_acl(item); item 212 drivers/target/target_core_fabric_configfs.c static void target_fabric_mappedlun_release(struct config_item *item) item 214 drivers/target/target_core_fabric_configfs.c struct se_lun_acl *lacl = container_of(to_config_group(item), item 243 drivers/target/target_core_fabric_configfs.c struct config_item *item) item 327 drivers/target/target_core_fabric_configfs.c struct config_item *item) item 329 drivers/target/target_core_fabric_configfs.c struct se_lun_acl *lacl = container_of(to_config_group(item), item 335 drivers/target/target_core_fabric_configfs.c config_item_put(item); item 338 drivers/target/target_core_fabric_configfs.c static void target_fabric_nacl_base_release(struct config_item *item) item 340 drivers/target/target_core_fabric_configfs.c struct se_node_acl *se_nacl = container_of(to_config_group(item), item 422 drivers/target/target_core_fabric_configfs.c struct config_item *item) item 424 drivers/target/target_core_fabric_configfs.c struct se_node_acl *se_nacl = container_of(to_config_group(item), item 432 drivers/target/target_core_fabric_configfs.c config_item_put(item); item 446 drivers/target/target_core_fabric_configfs.c static void target_fabric_np_base_release(struct config_item *item) item 448 drivers/target/target_core_fabric_configfs.c struct se_tpg_np *se_tpg_np = container_of(to_config_group(item), item 493 drivers/target/target_core_fabric_configfs.c struct config_item *item) item 498 drivers/target/target_core_fabric_configfs.c config_item_put(item); item 512 drivers/target/target_core_fabric_configfs.c static struct se_lun *item_to_lun(struct config_item *item) item 514 drivers/target/target_core_fabric_configfs.c return container_of(to_config_group(item), struct se_lun, item 518 drivers/target/target_core_fabric_configfs.c static ssize_t target_fabric_port_alua_tg_pt_gp_show(struct config_item *item, item 521 drivers/target/target_core_fabric_configfs.c struct se_lun *lun = item_to_lun(item); item 529 drivers/target/target_core_fabric_configfs.c static ssize_t target_fabric_port_alua_tg_pt_gp_store(struct config_item *item, item 532 drivers/target/target_core_fabric_configfs.c struct se_lun *lun = item_to_lun(item); item 541 drivers/target/target_core_fabric_configfs.c struct config_item *item, char *page) item 543 drivers/target/target_core_fabric_configfs.c struct se_lun *lun = item_to_lun(item); item 552 drivers/target/target_core_fabric_configfs.c struct config_item *item, const char *page, size_t count) item 554 drivers/target/target_core_fabric_configfs.c struct se_lun *lun = item_to_lun(item); item 563 drivers/target/target_core_fabric_configfs.c struct config_item *item, char *page) item 565 drivers/target/target_core_fabric_configfs.c struct se_lun *lun = item_to_lun(item); item 574 drivers/target/target_core_fabric_configfs.c struct config_item *item, const char *page, size_t count) item 576 drivers/target/target_core_fabric_configfs.c struct se_lun *lun = item_to_lun(item); item 585 drivers/target/target_core_fabric_configfs.c struct config_item *item, char *page) item 587 drivers/target/target_core_fabric_configfs.c struct se_lun *lun = item_to_lun(item); item 596 drivers/target/target_core_fabric_configfs.c struct config_item *item, const char *page, size_t count) item 598 drivers/target/target_core_fabric_configfs.c struct se_lun *lun = item_to_lun(item); item 694 drivers/target/target_core_fabric_configfs.c static void target_fabric_port_release(struct config_item *item) item 696 drivers/target/target_core_fabric_configfs.c struct se_lun *lun = container_of(to_config_group(item), item 723 drivers/target/target_core_fabric_configfs.c struct config_item *item) item 778 drivers/target/target_core_fabric_configfs.c struct config_item *item) item 780 drivers/target/target_core_fabric_configfs.c struct se_lun *lun = container_of(to_config_group(item), item 786 drivers/target/target_core_fabric_configfs.c config_item_put(item); item 804 drivers/target/target_core_fabric_configfs.c static void target_fabric_tpg_release(struct config_item *item) item 806 drivers/target/target_core_fabric_configfs.c struct se_portal_group *se_tpg = container_of(to_config_group(item), item 879 drivers/target/target_core_fabric_configfs.c struct config_item *item) item 881 drivers/target/target_core_fabric_configfs.c struct se_portal_group *se_tpg = container_of(to_config_group(item), item 885 drivers/target/target_core_fabric_configfs.c config_item_put(item); item 888 drivers/target/target_core_fabric_configfs.c static void target_fabric_release_wwn(struct config_item *item) item 890 drivers/target/target_core_fabric_configfs.c struct se_wwn *wwn = container_of(to_config_group(item), item 955 drivers/target/target_core_fabric_configfs.c struct config_item *item) item 957 drivers/target/target_core_fabric_configfs.c struct se_wwn *wwn = container_of(to_config_group(item), item 961 drivers/target/target_core_fabric_configfs.c config_item_put(item); item 44 drivers/target/target_core_stat.c static struct se_device *to_stat_dev(struct config_item *item) item 46 drivers/target/target_core_stat.c struct se_dev_stat_grps *sgrps = container_of(to_config_group(item), item 51 drivers/target/target_core_stat.c static ssize_t target_stat_inst_show(struct config_item *item, char *page) item 53 drivers/target/target_core_stat.c struct se_hba *hba = to_stat_dev(item)->se_hba; item 58 drivers/target/target_core_stat.c static ssize_t target_stat_indx_show(struct config_item *item, char *page) item 60 drivers/target/target_core_stat.c return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); item 63 drivers/target/target_core_stat.c static ssize_t target_stat_role_show(struct config_item *item, char *page) item 68 drivers/target/target_core_stat.c static ssize_t target_stat_ports_show(struct config_item *item, char *page) item 70 drivers/target/target_core_stat.c return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); item 94 drivers/target/target_core_stat.c static struct se_device *to_stat_tgt_dev(struct config_item *item) item 96 drivers/target/target_core_stat.c struct se_dev_stat_grps *sgrps = container_of(to_config_group(item), item 101 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_inst_show(struct config_item *item, char *page) item 103 drivers/target/target_core_stat.c struct se_hba *hba = to_stat_tgt_dev(item)->se_hba; item 108 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_indx_show(struct config_item *item, char *page) item 110 drivers/target/target_core_stat.c return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index); item 113 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_num_lus_show(struct config_item *item, item 119 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_status_show(struct config_item *item, item 122 drivers/target/target_core_stat.c if (to_stat_tgt_dev(item)->export_count) item 128 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_non_access_lus_show(struct config_item *item, item 133 drivers/target/target_core_stat.c if (to_stat_tgt_dev(item)->export_count) item 141 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_resets_show(struct config_item *item, item 145 drivers/target/target_core_stat.c atomic_long_read(&to_stat_tgt_dev(item)->num_resets)); item 148 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_aborts_complete_show(struct config_item *item, item 152 drivers/target/target_core_stat.c atomic_long_read(&to_stat_tgt_dev(item)->aborts_complete)); item 155 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_aborts_no_task_show(struct config_item *item, item 159 drivers/target/target_core_stat.c atomic_long_read(&to_stat_tgt_dev(item)->aborts_no_task)); item 192 drivers/target/target_core_stat.c static struct se_device *to_stat_lu_dev(struct config_item *item) item 194 drivers/target/target_core_stat.c struct se_dev_stat_grps *sgrps = container_of(to_config_group(item), item 199 drivers/target/target_core_stat.c static ssize_t target_stat_lu_inst_show(struct config_item *item, char *page) item 201 drivers/target/target_core_stat.c struct se_hba *hba = to_stat_lu_dev(item)->se_hba; item 206 drivers/target/target_core_stat.c static ssize_t target_stat_lu_dev_show(struct config_item *item, char *page) item 209 drivers/target/target_core_stat.c to_stat_lu_dev(item)->dev_index); item 212 drivers/target/target_core_stat.c static ssize_t target_stat_lu_indx_show(struct config_item *item, char *page) item 217 drivers/target/target_core_stat.c static ssize_t target_stat_lu_lun_show(struct config_item *item, char *page) item 223 drivers/target/target_core_stat.c static ssize_t target_stat_lu_lu_name_show(struct config_item *item, char *page) item 225 drivers/target/target_core_stat.c struct se_device *dev = to_stat_lu_dev(item); item 233 drivers/target/target_core_stat.c static ssize_t target_stat_lu_vend_show(struct config_item *item, char *page) item 235 drivers/target/target_core_stat.c struct se_device *dev = to_stat_lu_dev(item); item 241 drivers/target/target_core_stat.c static ssize_t target_stat_lu_prod_show(struct config_item *item, char *page) item 243 drivers/target/target_core_stat.c struct se_device *dev = to_stat_lu_dev(item); item 249 drivers/target/target_core_stat.c static ssize_t target_stat_lu_rev_show(struct config_item *item, char *page) item 251 drivers/target/target_core_stat.c struct se_device *dev = to_stat_lu_dev(item); item 257 drivers/target/target_core_stat.c static ssize_t target_stat_lu_dev_type_show(struct config_item *item, char *page) item 259 drivers/target/target_core_stat.c struct se_device *dev = to_stat_lu_dev(item); item 266 drivers/target/target_core_stat.c static ssize_t target_stat_lu_status_show(struct config_item *item, char *page) item 268 drivers/target/target_core_stat.c struct se_device *dev = to_stat_lu_dev(item); item 275 drivers/target/target_core_stat.c static ssize_t target_stat_lu_state_bit_show(struct config_item *item, item 282 drivers/target/target_core_stat.c static ssize_t target_stat_lu_num_cmds_show(struct config_item *item, item 285 drivers/target/target_core_stat.c struct se_device *dev = to_stat_lu_dev(item); item 292 drivers/target/target_core_stat.c static ssize_t target_stat_lu_read_mbytes_show(struct config_item *item, item 295 drivers/target/target_core_stat.c struct se_device *dev = to_stat_lu_dev(item); item 302 drivers/target/target_core_stat.c static ssize_t target_stat_lu_write_mbytes_show(struct config_item *item, item 305 drivers/target/target_core_stat.c struct se_device *dev = to_stat_lu_dev(item); item 312 drivers/target/target_core_stat.c static ssize_t target_stat_lu_resets_show(struct config_item *item, char *page) item 314 drivers/target/target_core_stat.c struct se_device *dev = to_stat_lu_dev(item); item 321 drivers/target/target_core_stat.c static ssize_t target_stat_lu_full_stat_show(struct config_item *item, item 328 drivers/target/target_core_stat.c static ssize_t target_stat_lu_hs_num_cmds_show(struct config_item *item, item 335 drivers/target/target_core_stat.c static ssize_t target_stat_lu_creation_time_show(struct config_item *item, item 338 drivers/target/target_core_stat.c struct se_device *dev = to_stat_lu_dev(item); item 417 drivers/target/target_core_stat.c static struct se_lun *to_stat_port(struct config_item *item) item 419 drivers/target/target_core_stat.c struct se_port_stat_grps *pgrps = container_of(to_config_group(item), item 424 drivers/target/target_core_stat.c static ssize_t target_stat_port_inst_show(struct config_item *item, char *page) item 426 drivers/target/target_core_stat.c struct se_lun *lun = to_stat_port(item); item 438 drivers/target/target_core_stat.c static ssize_t target_stat_port_dev_show(struct config_item *item, char *page) item 440 drivers/target/target_core_stat.c struct se_lun *lun = to_stat_port(item); item 452 drivers/target/target_core_stat.c static ssize_t target_stat_port_indx_show(struct config_item *item, char *page) item 454 drivers/target/target_core_stat.c struct se_lun *lun = to_stat_port(item); item 466 drivers/target/target_core_stat.c static ssize_t target_stat_port_role_show(struct config_item *item, char *page) item 468 drivers/target/target_core_stat.c struct se_lun *lun = to_stat_port(item); item 480 drivers/target/target_core_stat.c static ssize_t target_stat_port_busy_count_show(struct config_item *item, item 483 drivers/target/target_core_stat.c struct se_lun *lun = to_stat_port(item); item 520 drivers/target/target_core_stat.c static struct se_lun *to_stat_tgt_port(struct config_item *item) item 522 drivers/target/target_core_stat.c struct se_port_stat_grps *pgrps = container_of(to_config_group(item), item 527 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_port_inst_show(struct config_item *item, item 530 drivers/target/target_core_stat.c struct se_lun *lun = to_stat_tgt_port(item); item 542 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_port_dev_show(struct config_item *item, item 545 drivers/target/target_core_stat.c struct se_lun *lun = to_stat_tgt_port(item); item 557 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_port_indx_show(struct config_item *item, item 560 drivers/target/target_core_stat.c struct se_lun *lun = to_stat_tgt_port(item); item 572 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_port_name_show(struct config_item *item, item 575 drivers/target/target_core_stat.c struct se_lun *lun = to_stat_tgt_port(item); item 590 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_port_port_index_show(struct config_item *item, item 593 drivers/target/target_core_stat.c struct se_lun *lun = to_stat_tgt_port(item); item 608 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_port_in_cmds_show(struct config_item *item, item 611 drivers/target/target_core_stat.c struct se_lun *lun = to_stat_tgt_port(item); item 624 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_port_write_mbytes_show(struct config_item *item, item 627 drivers/target/target_core_stat.c struct se_lun *lun = to_stat_tgt_port(item); item 640 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_port_read_mbytes_show(struct config_item *item, item 643 drivers/target/target_core_stat.c struct se_lun *lun = to_stat_tgt_port(item); item 656 drivers/target/target_core_stat.c static ssize_t target_stat_tgt_port_hs_in_cmds_show(struct config_item *item, item 659 drivers/target/target_core_stat.c struct se_lun *lun = to_stat_tgt_port(item); item 704 drivers/target/target_core_stat.c static struct se_lun *to_transport_stat(struct config_item *item) item 706 drivers/target/target_core_stat.c struct se_port_stat_grps *pgrps = container_of(to_config_group(item), item 711 drivers/target/target_core_stat.c static ssize_t target_stat_transport_inst_show(struct config_item *item, item 714 drivers/target/target_core_stat.c struct se_lun *lun = to_transport_stat(item); item 726 drivers/target/target_core_stat.c static ssize_t target_stat_transport_device_show(struct config_item *item, item 729 drivers/target/target_core_stat.c struct se_lun *lun = to_transport_stat(item); item 745 drivers/target/target_core_stat.c static ssize_t target_stat_transport_indx_show(struct config_item *item, item 748 drivers/target/target_core_stat.c struct se_lun *lun = to_transport_stat(item); item 762 drivers/target/target_core_stat.c static ssize_t target_stat_transport_dev_name_show(struct config_item *item, item 765 drivers/target/target_core_stat.c struct se_lun *lun = to_transport_stat(item); item 785 drivers/target/target_core_stat.c static ssize_t target_stat_transport_proto_id_show(struct config_item *item, item 788 drivers/target/target_core_stat.c struct se_lun *lun = to_transport_stat(item); item 847 drivers/target/target_core_stat.c static struct se_lun_acl *auth_to_lacl(struct config_item *item) item 849 drivers/target/target_core_stat.c struct se_ml_stat_grps *lgrps = container_of(to_config_group(item), item 854 drivers/target/target_core_stat.c static ssize_t target_stat_auth_inst_show(struct config_item *item, item 857 drivers/target/target_core_stat.c struct se_lun_acl *lacl = auth_to_lacl(item); item 877 drivers/target/target_core_stat.c static ssize_t target_stat_auth_dev_show(struct config_item *item, item 880 drivers/target/target_core_stat.c struct se_lun_acl *lacl = auth_to_lacl(item); item 899 drivers/target/target_core_stat.c static ssize_t target_stat_auth_port_show(struct config_item *item, item 902 drivers/target/target_core_stat.c struct se_lun_acl *lacl = auth_to_lacl(item); item 921 drivers/target/target_core_stat.c static ssize_t target_stat_auth_indx_show(struct config_item *item, item 924 drivers/target/target_core_stat.c struct se_lun_acl *lacl = auth_to_lacl(item); item 941 drivers/target/target_core_stat.c static ssize_t target_stat_auth_dev_or_port_show(struct config_item *item, item 944 drivers/target/target_core_stat.c struct se_lun_acl *lacl = auth_to_lacl(item); item 961 drivers/target/target_core_stat.c static ssize_t target_stat_auth_intr_name_show(struct config_item *item, item 964 drivers/target/target_core_stat.c struct se_lun_acl *lacl = auth_to_lacl(item); item 981 drivers/target/target_core_stat.c static ssize_t target_stat_auth_map_indx_show(struct config_item *item, item 984 drivers/target/target_core_stat.c struct se_lun_acl *lacl = auth_to_lacl(item); item 1001 drivers/target/target_core_stat.c static ssize_t target_stat_auth_att_count_show(struct config_item *item, item 1004 drivers/target/target_core_stat.c struct se_lun_acl *lacl = auth_to_lacl(item); item 1021 drivers/target/target_core_stat.c static ssize_t target_stat_auth_num_cmds_show(struct config_item *item, item 1024 drivers/target/target_core_stat.c struct se_lun_acl *lacl = auth_to_lacl(item); item 1042 drivers/target/target_core_stat.c static ssize_t target_stat_auth_read_mbytes_show(struct config_item *item, item 1045 drivers/target/target_core_stat.c struct se_lun_acl *lacl = auth_to_lacl(item); item 1063 drivers/target/target_core_stat.c static ssize_t target_stat_auth_write_mbytes_show(struct config_item *item, item 1066 drivers/target/target_core_stat.c struct se_lun_acl *lacl = auth_to_lacl(item); item 1084 drivers/target/target_core_stat.c static ssize_t target_stat_auth_hs_num_cmds_show(struct config_item *item, item 1087 drivers/target/target_core_stat.c struct se_lun_acl *lacl = auth_to_lacl(item); item 1104 drivers/target/target_core_stat.c static ssize_t target_stat_auth_creation_time_show(struct config_item *item, item 1107 drivers/target/target_core_stat.c struct se_lun_acl *lacl = auth_to_lacl(item); item 1125 drivers/target/target_core_stat.c static ssize_t target_stat_auth_row_status_show(struct config_item *item, item 1128 drivers/target/target_core_stat.c struct se_lun_acl *lacl = auth_to_lacl(item); item 1187 drivers/target/target_core_stat.c static struct se_lun_acl *iport_to_lacl(struct config_item *item) item 1189 drivers/target/target_core_stat.c struct se_ml_stat_grps *lgrps = container_of(to_config_group(item), item 1194 drivers/target/target_core_stat.c static ssize_t target_stat_iport_inst_show(struct config_item *item, item 1197 drivers/target/target_core_stat.c struct se_lun_acl *lacl = iport_to_lacl(item); item 1217 drivers/target/target_core_stat.c static ssize_t target_stat_iport_dev_show(struct config_item *item, item 1220 drivers/target/target_core_stat.c struct se_lun_acl *lacl = iport_to_lacl(item); item 1239 drivers/target/target_core_stat.c static ssize_t target_stat_iport_port_show(struct config_item *item, item 1242 drivers/target/target_core_stat.c struct se_lun_acl *lacl = iport_to_lacl(item); item 1261 drivers/target/target_core_stat.c static ssize_t target_stat_iport_indx_show(struct config_item *item, item 1264 drivers/target/target_core_stat.c struct se_lun_acl *lacl = iport_to_lacl(item); item 1285 drivers/target/target_core_stat.c static ssize_t target_stat_iport_port_auth_indx_show(struct config_item *item, item 1288 drivers/target/target_core_stat.c struct se_lun_acl *lacl = iport_to_lacl(item); item 1305 drivers/target/target_core_stat.c static ssize_t target_stat_iport_port_ident_show(struct config_item *item, item 1308 drivers/target/target_core_stat.c struct se_lun_acl *lacl = iport_to_lacl(item); item 2244 drivers/target/target_core_user.c static ssize_t tcmu_cmd_time_out_show(struct config_item *item, char *page) item 2246 drivers/target/target_core_user.c struct se_dev_attrib *da = container_of(to_config_group(item), item 2253 drivers/target/target_core_user.c static ssize_t tcmu_cmd_time_out_store(struct config_item *item, const char *page, item 2256 drivers/target/target_core_user.c struct se_dev_attrib *da = container_of(to_config_group(item), item 2277 drivers/target/target_core_user.c static ssize_t tcmu_qfull_time_out_show(struct config_item *item, char *page) item 2279 drivers/target/target_core_user.c struct se_dev_attrib *da = container_of(to_config_group(item), item 2288 drivers/target/target_core_user.c static ssize_t tcmu_qfull_time_out_store(struct config_item *item, item 2291 drivers/target/target_core_user.c struct se_dev_attrib *da = container_of(to_config_group(item), item 2313 drivers/target/target_core_user.c static ssize_t tcmu_max_data_area_mb_show(struct config_item *item, char *page) item 2315 drivers/target/target_core_user.c struct se_dev_attrib *da = container_of(to_config_group(item), item 2324 drivers/target/target_core_user.c static ssize_t tcmu_dev_config_show(struct config_item *item, char *page) item 2326 drivers/target/target_core_user.c struct se_dev_attrib *da = container_of(to_config_group(item), item 2354 drivers/target/target_core_user.c static ssize_t tcmu_dev_config_store(struct config_item *item, const char *page, item 2357 drivers/target/target_core_user.c struct se_dev_attrib *da = container_of(to_config_group(item), item 2386 drivers/target/target_core_user.c static ssize_t tcmu_dev_size_show(struct config_item *item, char *page) item 2388 drivers/target/target_core_user.c struct se_dev_attrib *da = container_of(to_config_group(item), item 2415 drivers/target/target_core_user.c static ssize_t tcmu_dev_size_store(struct config_item *item, const char *page, item 2418 drivers/target/target_core_user.c struct se_dev_attrib *da = container_of(to_config_group(item), item 2441 drivers/target/target_core_user.c static ssize_t tcmu_nl_reply_supported_show(struct config_item *item, item 2444 drivers/target/target_core_user.c struct se_dev_attrib *da = container_of(to_config_group(item), item 2451 drivers/target/target_core_user.c static ssize_t tcmu_nl_reply_supported_store(struct config_item *item, item 2454 drivers/target/target_core_user.c struct se_dev_attrib *da = container_of(to_config_group(item), item 2469 drivers/target/target_core_user.c static ssize_t tcmu_emulate_write_cache_show(struct config_item *item, item 2472 drivers/target/target_core_user.c struct se_dev_attrib *da = container_of(to_config_group(item), item 2497 drivers/target/target_core_user.c static ssize_t tcmu_emulate_write_cache_store(struct config_item *item, item 2500 drivers/target/target_core_user.c struct se_dev_attrib *da = container_of(to_config_group(item), item 2524 drivers/target/target_core_user.c static ssize_t tcmu_block_dev_show(struct config_item *item, char *page) item 2526 drivers/target/target_core_user.c struct se_device *se_dev = container_of(to_config_group(item), item 2537 drivers/target/target_core_user.c static ssize_t tcmu_block_dev_store(struct config_item *item, const char *page, item 2540 drivers/target/target_core_user.c struct se_device *se_dev = container_of(to_config_group(item), item 2569 drivers/target/target_core_user.c static ssize_t tcmu_reset_ring_store(struct config_item *item, const char *page, item 2572 drivers/target/target_core_user.c struct se_device *se_dev = container_of(to_config_group(item), item 124 drivers/target/tcm_fc/tfc_conf.c static ssize_t ft_nacl_port_name_show(struct config_item *item, char *page) item 126 drivers/target/tcm_fc/tfc_conf.c struct se_node_acl *se_nacl = acl_to_nacl(item); item 133 drivers/target/tcm_fc/tfc_conf.c static ssize_t ft_nacl_port_name_store(struct config_item *item, item 136 drivers/target/tcm_fc/tfc_conf.c struct se_node_acl *se_nacl = acl_to_nacl(item); item 143 drivers/target/tcm_fc/tfc_conf.c static ssize_t ft_nacl_node_name_show(struct config_item *item, item 146 drivers/target/tcm_fc/tfc_conf.c struct se_node_acl *se_nacl = acl_to_nacl(item); item 153 drivers/target/tcm_fc/tfc_conf.c static ssize_t ft_nacl_node_name_store(struct config_item *item, item 156 drivers/target/tcm_fc/tfc_conf.c struct se_node_acl *se_nacl = acl_to_nacl(item); item 166 drivers/target/tcm_fc/tfc_conf.c static ssize_t ft_nacl_tag_show(struct config_item *item, item 169 drivers/target/tcm_fc/tfc_conf.c return snprintf(page, PAGE_SIZE, "%s", acl_to_nacl(item)->acl_tag); item 172 drivers/target/tcm_fc/tfc_conf.c static ssize_t ft_nacl_tag_store(struct config_item *item, item 175 drivers/target/tcm_fc/tfc_conf.c struct se_node_acl *se_nacl = acl_to_nacl(item); item 369 drivers/target/tcm_fc/tfc_conf.c static ssize_t ft_wwn_version_show(struct config_item *item, char *page) item 68 drivers/usb/gadget/configfs.c static inline struct gadget_info *to_gadget_info(struct config_item *item) item 70 drivers/usb/gadget/configfs.c return container_of(to_config_group(item), struct gadget_info, group); item 82 drivers/usb/gadget/configfs.c static inline struct config_usb_cfg *to_config_usb_cfg(struct config_item *item) item 84 drivers/usb/gadget/configfs.c return container_of(to_config_group(item), struct config_usb_cfg, item 132 drivers/usb/gadget/configfs.c static ssize_t gadget_dev_desc_##__name##_show(struct config_item *item, \ item 136 drivers/usb/gadget/configfs.c to_gadget_info(item)->cdev.desc.__name); \ item 140 drivers/usb/gadget/configfs.c static ssize_t gadget_dev_desc_##__name##_show(struct config_item *item, \ item 144 drivers/usb/gadget/configfs.c le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \ item 149 drivers/usb/gadget/configfs.c static ssize_t gadget_dev_desc_##_name##_store(struct config_item *item, \ item 157 drivers/usb/gadget/configfs.c to_gadget_info(item)->cdev.desc._name = val; \ item 162 drivers/usb/gadget/configfs.c static ssize_t gadget_dev_desc_##_name##_store(struct config_item *item, \ item 170 drivers/usb/gadget/configfs.c to_gadget_info(item)->cdev.desc._name = cpu_to_le16p(&val); \ item 200 drivers/usb/gadget/configfs.c static ssize_t gadget_dev_desc_bcdDevice_store(struct config_item *item, item 213 drivers/usb/gadget/configfs.c to_gadget_info(item)->cdev.desc.bcdDevice = cpu_to_le16(bcdDevice); item 217 drivers/usb/gadget/configfs.c static ssize_t gadget_dev_desc_bcdUSB_store(struct config_item *item, item 230 drivers/usb/gadget/configfs.c to_gadget_info(item)->cdev.desc.bcdUSB = cpu_to_le16(bcdUSB); item 234 drivers/usb/gadget/configfs.c static ssize_t gadget_dev_desc_UDC_show(struct config_item *item, char *page) item 236 drivers/usb/gadget/configfs.c char *udc_name = to_gadget_info(item)->composite.gadget_driver.udc_name; item 256 drivers/usb/gadget/configfs.c static ssize_t gadget_dev_desc_UDC_store(struct config_item *item, item 259 drivers/usb/gadget/configfs.c struct gadget_info *gi = to_gadget_info(item); item 322 drivers/usb/gadget/configfs.c static inline struct gadget_strings *to_gadget_strings(struct config_item *item) item 324 drivers/usb/gadget/configfs.c return container_of(to_config_group(item), struct gadget_strings, item 329 drivers/usb/gadget/configfs.c struct config_item *item) item 331 drivers/usb/gadget/configfs.c return container_of(to_config_group(item), struct gadget_config_name, item 336 drivers/usb/gadget/configfs.c struct config_item *item) item 338 drivers/usb/gadget/configfs.c return container_of(to_config_group(item), item 342 drivers/usb/gadget/configfs.c static void gadget_info_attr_release(struct config_item *item) item 344 drivers/usb/gadget/configfs.c struct gadget_info *gi = to_gadget_info(item); item 357 drivers/usb/gadget/configfs.c static void gadget_config_attr_release(struct config_item *item) item 359 drivers/usb/gadget/configfs.c struct config_usb_cfg *cfg = to_config_usb_cfg(item); item 461 drivers/usb/gadget/configfs.c static ssize_t gadget_config_desc_MaxPower_show(struct config_item *item, item 464 drivers/usb/gadget/configfs.c return sprintf(page, "%u\n", to_config_usb_cfg(item)->c.MaxPower); item 467 drivers/usb/gadget/configfs.c static ssize_t gadget_config_desc_MaxPower_store(struct config_item *item, item 477 drivers/usb/gadget/configfs.c to_config_usb_cfg(item)->c.MaxPower = val; item 481 drivers/usb/gadget/configfs.c static ssize_t gadget_config_desc_bmAttributes_show(struct config_item *item, item 485 drivers/usb/gadget/configfs.c to_config_usb_cfg(item)->c.bmAttributes); item 488 drivers/usb/gadget/configfs.c static ssize_t gadget_config_desc_bmAttributes_store(struct config_item *item, item 501 drivers/usb/gadget/configfs.c to_config_usb_cfg(item)->c.bmAttributes = val; item 584 drivers/usb/gadget/configfs.c struct config_item *item) item 586 drivers/usb/gadget/configfs.c struct usb_function_instance *fi = to_usb_function_instance(item); item 594 drivers/usb/gadget/configfs.c config_item_put(item); item 614 drivers/usb/gadget/configfs.c static void gadget_config_name_attr_release(struct config_item *item) item 616 drivers/usb/gadget/configfs.c struct gadget_config_name *cn = to_gadget_config_name(item); item 693 drivers/usb/gadget/configfs.c struct config_item *item) item 695 drivers/usb/gadget/configfs.c config_item_put(item); item 719 drivers/usb/gadget/configfs.c static void gadget_strings_attr_release(struct config_item *item) item 721 drivers/usb/gadget/configfs.c struct gadget_strings *gs = to_gadget_strings(item); item 734 drivers/usb/gadget/configfs.c static inline struct os_desc *to_os_desc(struct config_item *item) item 736 drivers/usb/gadget/configfs.c return container_of(to_config_group(item), struct os_desc, group); item 740 drivers/usb/gadget/configfs.c struct config_item *item) item 742 drivers/usb/gadget/configfs.c return to_gadget_info(to_os_desc(item)->group.cg_item.ci_parent); item 745 drivers/usb/gadget/configfs.c static ssize_t os_desc_use_show(struct config_item *item, char *page) item 748 drivers/usb/gadget/configfs.c os_desc_item_to_gadget_info(item)->use_os_desc); item 751 drivers/usb/gadget/configfs.c static ssize_t os_desc_use_store(struct config_item *item, const char *page, item 754 drivers/usb/gadget/configfs.c struct gadget_info *gi = os_desc_item_to_gadget_info(item); item 769 drivers/usb/gadget/configfs.c static ssize_t os_desc_b_vendor_code_show(struct config_item *item, char *page) item 772 drivers/usb/gadget/configfs.c os_desc_item_to_gadget_info(item)->b_vendor_code); item 775 drivers/usb/gadget/configfs.c static ssize_t os_desc_b_vendor_code_store(struct config_item *item, item 778 drivers/usb/gadget/configfs.c struct gadget_info *gi = os_desc_item_to_gadget_info(item); item 793 drivers/usb/gadget/configfs.c static ssize_t os_desc_qw_sign_show(struct config_item *item, char *page) item 795 drivers/usb/gadget/configfs.c struct gadget_info *gi = os_desc_item_to_gadget_info(item); item 805 drivers/usb/gadget/configfs.c static ssize_t os_desc_qw_sign_store(struct config_item *item, const char *page, item 808 drivers/usb/gadget/configfs.c struct gadget_info *gi = os_desc_item_to_gadget_info(item); item 837 drivers/usb/gadget/configfs.c static void os_desc_attr_release(struct config_item *item) item 839 drivers/usb/gadget/configfs.c struct os_desc *os_desc = to_os_desc(item); item 906 drivers/usb/gadget/configfs.c *to_usb_os_desc_ext_prop(struct config_item *item) item 908 drivers/usb/gadget/configfs.c return container_of(item, struct usb_os_desc_ext_prop, item); item 911 drivers/usb/gadget/configfs.c static ssize_t ext_prop_type_show(struct config_item *item, char *page) item 913 drivers/usb/gadget/configfs.c return sprintf(page, "%d\n", to_usb_os_desc_ext_prop(item)->type); item 916 drivers/usb/gadget/configfs.c static ssize_t ext_prop_type_store(struct config_item *item, item 919 drivers/usb/gadget/configfs.c struct usb_os_desc_ext_prop *ext_prop = to_usb_os_desc_ext_prop(item); item 920 drivers/usb/gadget/configfs.c struct usb_os_desc *desc = to_usb_os_desc(ext_prop->item.ci_parent); item 957 drivers/usb/gadget/configfs.c static ssize_t ext_prop_data_show(struct config_item *item, char *page) item 959 drivers/usb/gadget/configfs.c struct usb_os_desc_ext_prop *ext_prop = to_usb_os_desc_ext_prop(item); item 971 drivers/usb/gadget/configfs.c static ssize_t ext_prop_data_store(struct config_item *item, item 974 drivers/usb/gadget/configfs.c struct usb_os_desc_ext_prop *ext_prop = to_usb_os_desc_ext_prop(item); item 975 drivers/usb/gadget/configfs.c struct usb_os_desc *desc = to_usb_os_desc(ext_prop->item.ci_parent); item 1014 drivers/usb/gadget/configfs.c static void usb_os_desc_ext_prop_release(struct config_item *item) item 1016 drivers/usb/gadget/configfs.c struct usb_os_desc_ext_prop *ext_prop = to_usb_os_desc_ext_prop(item); item 1050 drivers/usb/gadget/configfs.c config_item_init_type_name(&ext_prop->item, name, ext_prop_type); item 1067 drivers/usb/gadget/configfs.c return &ext_prop->item; item 1070 drivers/usb/gadget/configfs.c static void ext_prop_drop(struct config_group *group, struct config_item *item) item 1072 drivers/usb/gadget/configfs.c struct usb_os_desc_ext_prop *ext_prop = to_usb_os_desc_ext_prop(item); item 1083 drivers/usb/gadget/configfs.c config_item_put(item); item 1091 drivers/usb/gadget/configfs.c static ssize_t interf_grp_compatible_id_show(struct config_item *item, item 1094 drivers/usb/gadget/configfs.c memcpy(page, to_usb_os_desc(item)->ext_compat_id, 8); item 1098 drivers/usb/gadget/configfs.c static ssize_t interf_grp_compatible_id_store(struct config_item *item, item 1101 drivers/usb/gadget/configfs.c struct usb_os_desc *desc = to_usb_os_desc(item); item 1117 drivers/usb/gadget/configfs.c static ssize_t interf_grp_sub_compatible_id_show(struct config_item *item, item 1120 drivers/usb/gadget/configfs.c memcpy(page, to_usb_os_desc(item)->ext_compat_id + 8, 8); item 1124 drivers/usb/gadget/configfs.c static ssize_t interf_grp_sub_compatible_id_store(struct config_item *item, item 1127 drivers/usb/gadget/configfs.c struct usb_os_desc *desc = to_usb_os_desc(item); item 1574 drivers/usb/gadget/configfs.c static void gadgets_drop(struct config_group *group, struct config_item *item) item 1576 drivers/usb/gadget/configfs.c config_item_put(item); item 1599 drivers/usb/gadget/configfs.c void unregister_gadget_item(struct config_item *item) item 1601 drivers/usb/gadget/configfs.c struct gadget_info *gi = to_gadget_info(item); item 7 drivers/usb/gadget/configfs.h void unregister_gadget_item(struct config_item *item); item 16 drivers/usb/gadget/configfs.h static inline struct usb_os_desc *to_usb_os_desc(struct config_item *item) item 18 drivers/usb/gadget/configfs.h return container_of(to_config_group(item), struct usb_os_desc, group); item 757 drivers/usb/gadget/function/f_acm.c static inline struct f_serial_opts *to_f_serial_opts(struct config_item *item) item 759 drivers/usb/gadget/function/f_acm.c return container_of(to_config_group(item), struct f_serial_opts, item 763 drivers/usb/gadget/function/f_acm.c static void acm_attr_release(struct config_item *item) item 765 drivers/usb/gadget/function/f_acm.c struct f_serial_opts *opts = to_f_serial_opts(item); item 774 drivers/usb/gadget/function/f_acm.c static ssize_t f_acm_port_num_show(struct config_item *item, char *page) item 776 drivers/usb/gadget/function/f_acm.c return sprintf(page, "%u\n", to_f_serial_opts(item)->port_num); item 824 drivers/usb/gadget/function/f_ecm.c static inline struct f_ecm_opts *to_f_ecm_opts(struct config_item *item) item 826 drivers/usb/gadget/function/f_ecm.c return container_of(to_config_group(item), struct f_ecm_opts, item 524 drivers/usb/gadget/function/f_eem.c static inline struct f_eem_opts *to_f_eem_opts(struct config_item *item) item 526 drivers/usb/gadget/function/f_eem.c return container_of(to_config_group(item), struct f_eem_opts, item 3492 drivers/usb/gadget/function/f_fs.c static inline struct f_fs_opts *to_ffs_opts(struct config_item *item) item 3494 drivers/usb/gadget/function/f_fs.c return container_of(to_config_group(item), struct f_fs_opts, item 3498 drivers/usb/gadget/function/f_fs.c static void ffs_attr_release(struct config_item *item) item 3500 drivers/usb/gadget/function/f_fs.c struct f_fs_opts *opts = to_ffs_opts(item); item 863 drivers/usb/gadget/function/f_hid.c static inline struct f_hid_opts *to_f_hid_opts(struct config_item *item) item 865 drivers/usb/gadget/function/f_hid.c return container_of(to_config_group(item), struct f_hid_opts, item 869 drivers/usb/gadget/function/f_hid.c static void hid_attr_release(struct config_item *item) item 871 drivers/usb/gadget/function/f_hid.c struct f_hid_opts *opts = to_f_hid_opts(item); item 881 drivers/usb/gadget/function/f_hid.c static ssize_t f_hid_opts_##name##_show(struct config_item *item, char *page)\ item 883 drivers/usb/gadget/function/f_hid.c struct f_hid_opts *opts = to_f_hid_opts(item); \ item 893 drivers/usb/gadget/function/f_hid.c static ssize_t f_hid_opts_##name##_store(struct config_item *item, \ item 896 drivers/usb/gadget/function/f_hid.c struct f_hid_opts *opts = to_f_hid_opts(item); \ item 928 drivers/usb/gadget/function/f_hid.c static ssize_t f_hid_opts_report_desc_show(struct config_item *item, char *page) item 930 drivers/usb/gadget/function/f_hid.c struct f_hid_opts *opts = to_f_hid_opts(item); item 941 drivers/usb/gadget/function/f_hid.c static ssize_t f_hid_opts_report_desc_store(struct config_item *item, item 944 drivers/usb/gadget/function/f_hid.c struct f_hid_opts *opts = to_f_hid_opts(item); item 973 drivers/usb/gadget/function/f_hid.c static ssize_t f_hid_opts_dev_show(struct config_item *item, char *page) item 975 drivers/usb/gadget/function/f_hid.c struct f_hid_opts *opts = to_f_hid_opts(item); item 456 drivers/usb/gadget/function/f_loopback.c static inline struct f_lb_opts *to_f_lb_opts(struct config_item *item) item 458 drivers/usb/gadget/function/f_loopback.c return container_of(to_config_group(item), struct f_lb_opts, item 462 drivers/usb/gadget/function/f_loopback.c static void lb_attr_release(struct config_item *item) item 464 drivers/usb/gadget/function/f_loopback.c struct f_lb_opts *lb_opts = to_f_lb_opts(item); item 473 drivers/usb/gadget/function/f_loopback.c static ssize_t f_lb_opts_qlen_show(struct config_item *item, char *page) item 475 drivers/usb/gadget/function/f_loopback.c struct f_lb_opts *opts = to_f_lb_opts(item); item 485 drivers/usb/gadget/function/f_loopback.c static ssize_t f_lb_opts_qlen_store(struct config_item *item, item 488 drivers/usb/gadget/function/f_loopback.c struct f_lb_opts *opts = to_f_lb_opts(item); item 511 drivers/usb/gadget/function/f_loopback.c static ssize_t f_lb_opts_bulk_buflen_show(struct config_item *item, char *page) item 513 drivers/usb/gadget/function/f_loopback.c struct f_lb_opts *opts = to_f_lb_opts(item); item 523 drivers/usb/gadget/function/f_loopback.c static ssize_t f_lb_opts_bulk_buflen_store(struct config_item *item, item 526 drivers/usb/gadget/function/f_loopback.c struct f_lb_opts *opts = to_f_lb_opts(item); item 3009 drivers/usb/gadget/function/f_mass_storage.c static inline struct fsg_lun_opts *to_fsg_lun_opts(struct config_item *item) item 3011 drivers/usb/gadget/function/f_mass_storage.c return container_of(to_config_group(item), struct fsg_lun_opts, group); item 3014 drivers/usb/gadget/function/f_mass_storage.c static inline struct fsg_opts *to_fsg_opts(struct config_item *item) item 3016 drivers/usb/gadget/function/f_mass_storage.c return container_of(to_config_group(item), struct fsg_opts, item 3020 drivers/usb/gadget/function/f_mass_storage.c static void fsg_lun_attr_release(struct config_item *item) item 3024 drivers/usb/gadget/function/f_mass_storage.c lun_opts = to_fsg_lun_opts(item); item 3032 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_lun_opts_file_show(struct config_item *item, char *page) item 3034 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun_opts *opts = to_fsg_lun_opts(item); item 3040 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_lun_opts_file_store(struct config_item *item, item 3043 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun_opts *opts = to_fsg_lun_opts(item); item 3051 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_lun_opts_ro_show(struct config_item *item, char *page) item 3053 drivers/usb/gadget/function/f_mass_storage.c return fsg_show_ro(to_fsg_lun_opts(item)->lun, page); item 3056 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_lun_opts_ro_store(struct config_item *item, item 3059 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun_opts *opts = to_fsg_lun_opts(item); item 3067 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_lun_opts_removable_show(struct config_item *item, item 3070 drivers/usb/gadget/function/f_mass_storage.c return fsg_show_removable(to_fsg_lun_opts(item)->lun, page); item 3073 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_lun_opts_removable_store(struct config_item *item, item 3076 drivers/usb/gadget/function/f_mass_storage.c return fsg_store_removable(to_fsg_lun_opts(item)->lun, page, len); item 3081 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_lun_opts_cdrom_show(struct config_item *item, char *page) item 3083 drivers/usb/gadget/function/f_mass_storage.c return fsg_show_cdrom(to_fsg_lun_opts(item)->lun, page); item 3086 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_lun_opts_cdrom_store(struct config_item *item, item 3089 drivers/usb/gadget/function/f_mass_storage.c struct fsg_lun_opts *opts = to_fsg_lun_opts(item); item 3098 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_lun_opts_nofua_show(struct config_item *item, char *page) item 3100 drivers/usb/gadget/function/f_mass_storage.c return fsg_show_nofua(to_fsg_lun_opts(item)->lun, page); item 3103 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_lun_opts_nofua_store(struct config_item *item, item 3106 drivers/usb/gadget/function/f_mass_storage.c return fsg_store_nofua(to_fsg_lun_opts(item)->lun, page, len); item 3111 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_lun_opts_inquiry_string_show(struct config_item *item, item 3114 drivers/usb/gadget/function/f_mass_storage.c return fsg_show_inquiry_string(to_fsg_lun_opts(item)->lun, page); item 3117 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_lun_opts_inquiry_string_store(struct config_item *item, item 3120 drivers/usb/gadget/function/f_mass_storage.c return fsg_store_inquiry_string(to_fsg_lun_opts(item)->lun, page, len); item 3200 drivers/usb/gadget/function/f_mass_storage.c static void fsg_lun_drop(struct config_group *group, struct config_item *item) item 3205 drivers/usb/gadget/function/f_mass_storage.c lun_opts = to_fsg_lun_opts(item); item 3221 drivers/usb/gadget/function/f_mass_storage.c config_item_put(item); item 3224 drivers/usb/gadget/function/f_mass_storage.c static void fsg_attr_release(struct config_item *item) item 3226 drivers/usb/gadget/function/f_mass_storage.c struct fsg_opts *opts = to_fsg_opts(item); item 3235 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_opts_stall_show(struct config_item *item, char *page) item 3237 drivers/usb/gadget/function/f_mass_storage.c struct fsg_opts *opts = to_fsg_opts(item); item 3247 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_opts_stall_store(struct config_item *item, const char *page, item 3250 drivers/usb/gadget/function/f_mass_storage.c struct fsg_opts *opts = to_fsg_opts(item); item 3275 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_opts_num_buffers_show(struct config_item *item, char *page) item 3277 drivers/usb/gadget/function/f_mass_storage.c struct fsg_opts *opts = to_fsg_opts(item); item 3287 drivers/usb/gadget/function/f_mass_storage.c static ssize_t fsg_opts_num_buffers_store(struct config_item *item, item 3290 drivers/usb/gadget/function/f_mass_storage.c struct fsg_opts *opts = to_fsg_opts(item); item 1068 drivers/usb/gadget/function/f_midi.c static inline struct f_midi_opts *to_f_midi_opts(struct config_item *item) item 1070 drivers/usb/gadget/function/f_midi.c return container_of(to_config_group(item), struct f_midi_opts, item 1074 drivers/usb/gadget/function/f_midi.c static void midi_attr_release(struct config_item *item) item 1076 drivers/usb/gadget/function/f_midi.c struct f_midi_opts *opts = to_f_midi_opts(item); item 1086 drivers/usb/gadget/function/f_midi.c static ssize_t f_midi_opts_##name##_show(struct config_item *item, char *page) \ item 1088 drivers/usb/gadget/function/f_midi.c struct f_midi_opts *opts = to_f_midi_opts(item); \ item 1098 drivers/usb/gadget/function/f_midi.c static ssize_t f_midi_opts_##name##_store(struct config_item *item, \ item 1101 drivers/usb/gadget/function/f_midi.c struct f_midi_opts *opts = to_f_midi_opts(item); \ item 1135 drivers/usb/gadget/function/f_midi.c static ssize_t f_midi_opts_id_show(struct config_item *item, char *page) item 1137 drivers/usb/gadget/function/f_midi.c struct f_midi_opts *opts = to_f_midi_opts(item); item 1153 drivers/usb/gadget/function/f_midi.c static ssize_t f_midi_opts_id_store(struct config_item *item, item 1156 drivers/usb/gadget/function/f_midi.c struct f_midi_opts *opts = to_f_midi_opts(item); item 1543 drivers/usb/gadget/function/f_ncm.c static inline struct f_ncm_opts *to_f_ncm_opts(struct config_item *item) item 1545 drivers/usb/gadget/function/f_ncm.c return container_of(to_config_group(item), struct f_ncm_opts, item 381 drivers/usb/gadget/function/f_obex.c static inline struct f_serial_opts *to_f_serial_opts(struct config_item *item) item 383 drivers/usb/gadget/function/f_obex.c return container_of(to_config_group(item), struct f_serial_opts, item 387 drivers/usb/gadget/function/f_obex.c static void obex_attr_release(struct config_item *item) item 389 drivers/usb/gadget/function/f_obex.c struct f_serial_opts *opts = to_f_serial_opts(item); item 398 drivers/usb/gadget/function/f_obex.c static ssize_t f_obex_port_num_show(struct config_item *item, char *page) item 400 drivers/usb/gadget/function/f_obex.c return sprintf(page, "%u\n", to_f_serial_opts(item)->port_num); item 572 drivers/usb/gadget/function/f_phonet.c static inline struct f_phonet_opts *to_f_phonet_opts(struct config_item *item) item 574 drivers/usb/gadget/function/f_phonet.c return container_of(to_config_group(item), struct f_phonet_opts, item 578 drivers/usb/gadget/function/f_phonet.c static void phonet_attr_release(struct config_item *item) item 580 drivers/usb/gadget/function/f_phonet.c struct f_phonet_opts *opts = to_f_phonet_opts(item); item 589 drivers/usb/gadget/function/f_phonet.c static ssize_t f_phonet_ifname_show(struct config_item *item, char *page) item 591 drivers/usb/gadget/function/f_phonet.c return gether_get_ifname(to_f_phonet_opts(item)->net, page, PAGE_SIZE); item 1145 drivers/usb/gadget/function/f_printer.c *to_f_printer_opts(struct config_item *item) item 1147 drivers/usb/gadget/function/f_printer.c return container_of(to_config_group(item), struct f_printer_opts, item 1151 drivers/usb/gadget/function/f_printer.c static void printer_attr_release(struct config_item *item) item 1153 drivers/usb/gadget/function/f_printer.c struct f_printer_opts *opts = to_f_printer_opts(item); item 1162 drivers/usb/gadget/function/f_printer.c static ssize_t f_printer_opts_pnp_string_show(struct config_item *item, item 1165 drivers/usb/gadget/function/f_printer.c struct f_printer_opts *opts = to_f_printer_opts(item); item 1186 drivers/usb/gadget/function/f_printer.c static ssize_t f_printer_opts_pnp_string_store(struct config_item *item, item 1189 drivers/usb/gadget/function/f_printer.c struct f_printer_opts *opts = to_f_printer_opts(item); item 1215 drivers/usb/gadget/function/f_printer.c static ssize_t f_printer_opts_q_len_show(struct config_item *item, item 1218 drivers/usb/gadget/function/f_printer.c struct f_printer_opts *opts = to_f_printer_opts(item); item 1228 drivers/usb/gadget/function/f_printer.c static ssize_t f_printer_opts_q_len_store(struct config_item *item, item 1231 drivers/usb/gadget/function/f_printer.c struct f_printer_opts *opts = to_f_printer_opts(item); item 849 drivers/usb/gadget/function/f_rndis.c static inline struct f_rndis_opts *to_f_rndis_opts(struct config_item *item) item 851 drivers/usb/gadget/function/f_rndis.c return container_of(to_config_group(item), struct f_rndis_opts, item 252 drivers/usb/gadget/function/f_serial.c static inline struct f_serial_opts *to_f_serial_opts(struct config_item *item) item 254 drivers/usb/gadget/function/f_serial.c return container_of(to_config_group(item), struct f_serial_opts, item 258 drivers/usb/gadget/function/f_serial.c static void serial_attr_release(struct config_item *item) item 260 drivers/usb/gadget/function/f_serial.c struct f_serial_opts *opts = to_f_serial_opts(item); item 269 drivers/usb/gadget/function/f_serial.c static ssize_t f_serial_port_num_show(struct config_item *item, char *page) item 271 drivers/usb/gadget/function/f_serial.c return sprintf(page, "%u\n", to_f_serial_opts(item)->port_num); item 871 drivers/usb/gadget/function/f_sourcesink.c static inline struct f_ss_opts *to_f_ss_opts(struct config_item *item) item 873 drivers/usb/gadget/function/f_sourcesink.c return container_of(to_config_group(item), struct f_ss_opts, item 877 drivers/usb/gadget/function/f_sourcesink.c static void ss_attr_release(struct config_item *item) item 879 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *ss_opts = to_f_ss_opts(item); item 888 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_pattern_show(struct config_item *item, char *page) item 890 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 900 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_pattern_store(struct config_item *item, item 903 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 931 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_isoc_interval_show(struct config_item *item, char *page) item 933 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 943 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_isoc_interval_store(struct config_item *item, item 946 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 974 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_isoc_maxpacket_show(struct config_item *item, char *page) item 976 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 986 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_isoc_maxpacket_store(struct config_item *item, item 989 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 1017 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_isoc_mult_show(struct config_item *item, char *page) item 1019 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 1029 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_isoc_mult_store(struct config_item *item, item 1032 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 1060 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_isoc_maxburst_show(struct config_item *item, char *page) item 1062 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 1072 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_isoc_maxburst_store(struct config_item *item, item 1075 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 1103 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_bulk_buflen_show(struct config_item *item, char *page) item 1105 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 1115 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_bulk_buflen_store(struct config_item *item, item 1118 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 1141 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_bulk_qlen_show(struct config_item *item, char *page) item 1143 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 1153 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_bulk_qlen_store(struct config_item *item, item 1156 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 1179 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_iso_qlen_show(struct config_item *item, char *page) item 1181 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 1191 drivers/usb/gadget/function/f_sourcesink.c static ssize_t f_ss_opts_iso_qlen_store(struct config_item *item, item 1194 drivers/usb/gadget/function/f_sourcesink.c struct f_ss_opts *opts = to_f_ss_opts(item); item 382 drivers/usb/gadget/function/f_subset.c static inline struct f_gether_opts *to_f_gether_opts(struct config_item *item) item 384 drivers/usb/gadget/function/f_subset.c return container_of(to_config_group(item), struct f_gether_opts, item 1484 drivers/usb/gadget/function/f_tcm.c static ssize_t usbg_wwn_version_show(struct config_item *item, char *page) item 1496 drivers/usb/gadget/function/f_tcm.c static ssize_t tcm_usbg_tpg_enable_show(struct config_item *item, char *page) item 1498 drivers/usb/gadget/function/f_tcm.c struct se_portal_group *se_tpg = to_tpg(item); item 1507 drivers/usb/gadget/function/f_tcm.c static ssize_t tcm_usbg_tpg_enable_store(struct config_item *item, item 1510 drivers/usb/gadget/function/f_tcm.c struct se_portal_group *se_tpg = to_tpg(item); item 1534 drivers/usb/gadget/function/f_tcm.c static ssize_t tcm_usbg_tpg_nexus_show(struct config_item *item, char *page) item 1536 drivers/usb/gadget/function/f_tcm.c struct se_portal_group *se_tpg = to_tpg(item); item 1638 drivers/usb/gadget/function/f_tcm.c static ssize_t tcm_usbg_tpg_nexus_store(struct config_item *item, item 1641 drivers/usb/gadget/function/f_tcm.c struct se_portal_group *se_tpg = to_tpg(item); item 2137 drivers/usb/gadget/function/f_tcm.c static inline struct f_tcm_opts *to_f_tcm_opts(struct config_item *item) item 2139 drivers/usb/gadget/function/f_tcm.c return container_of(to_config_group(item), struct f_tcm_opts, item 2143 drivers/usb/gadget/function/f_tcm.c static void tcm_attr_release(struct config_item *item) item 2145 drivers/usb/gadget/function/f_tcm.c struct f_tcm_opts *opts = to_f_tcm_opts(item); item 631 drivers/usb/gadget/function/f_uac1.c static inline struct f_uac1_opts *to_f_uac1_opts(struct config_item *item) item 633 drivers/usb/gadget/function/f_uac1.c return container_of(to_config_group(item), struct f_uac1_opts, item 637 drivers/usb/gadget/function/f_uac1.c static void f_uac1_attr_release(struct config_item *item) item 639 drivers/usb/gadget/function/f_uac1.c struct f_uac1_opts *opts = to_f_uac1_opts(item); item 650 drivers/usb/gadget/function/f_uac1.c struct config_item *item, \ item 653 drivers/usb/gadget/function/f_uac1.c struct f_uac1_opts *opts = to_f_uac1_opts(item); \ item 664 drivers/usb/gadget/function/f_uac1.c struct config_item *item, \ item 667 drivers/usb/gadget/function/f_uac1.c struct f_uac1_opts *opts = to_f_uac1_opts(item); \ item 802 drivers/usb/gadget/function/f_uac1_legacy.c struct f_uac1_legacy_opts *to_f_uac1_opts(struct config_item *item) item 804 drivers/usb/gadget/function/f_uac1_legacy.c return container_of(to_config_group(item), struct f_uac1_legacy_opts, item 808 drivers/usb/gadget/function/f_uac1_legacy.c static void f_uac1_attr_release(struct config_item *item) item 810 drivers/usb/gadget/function/f_uac1_legacy.c struct f_uac1_legacy_opts *opts = to_f_uac1_opts(item); item 820 drivers/usb/gadget/function/f_uac1_legacy.c static ssize_t f_uac1_opts_##name##_show(struct config_item *item, \ item 823 drivers/usb/gadget/function/f_uac1_legacy.c struct f_uac1_legacy_opts *opts = to_f_uac1_opts(item); \ item 833 drivers/usb/gadget/function/f_uac1_legacy.c static ssize_t f_uac1_opts_##name##_store(struct config_item *item, \ item 836 drivers/usb/gadget/function/f_uac1_legacy.c struct f_uac1_legacy_opts *opts = to_f_uac1_opts(item); \ item 865 drivers/usb/gadget/function/f_uac1_legacy.c static ssize_t f_uac1_opts_##name##_show(struct config_item *item, \ item 868 drivers/usb/gadget/function/f_uac1_legacy.c struct f_uac1_legacy_opts *opts = to_f_uac1_opts(item); \ item 878 drivers/usb/gadget/function/f_uac1_legacy.c static ssize_t f_uac1_opts_##name##_store(struct config_item *item, \ item 881 drivers/usb/gadget/function/f_uac1_legacy.c struct f_uac1_legacy_opts *opts = to_f_uac1_opts(item); \ item 973 drivers/usb/gadget/function/f_uac2.c static inline struct f_uac2_opts *to_f_uac2_opts(struct config_item *item) item 975 drivers/usb/gadget/function/f_uac2.c return container_of(to_config_group(item), struct f_uac2_opts, item 979 drivers/usb/gadget/function/f_uac2.c static void f_uac2_attr_release(struct config_item *item) item 981 drivers/usb/gadget/function/f_uac2.c struct f_uac2_opts *opts = to_f_uac2_opts(item); item 991 drivers/usb/gadget/function/f_uac2.c static ssize_t f_uac2_opts_##name##_show(struct config_item *item, \ item 994 drivers/usb/gadget/function/f_uac2.c struct f_uac2_opts *opts = to_f_uac2_opts(item); \ item 1004 drivers/usb/gadget/function/f_uac2.c static ssize_t f_uac2_opts_##name##_store(struct config_item *item, \ item 1007 drivers/usb/gadget/function/f_uac2.c struct f_uac2_opts *opts = to_f_uac2_opts(item); \ item 17 drivers/usb/gadget/function/u_ether_configfs.h static void _f_##_attr_release(struct config_item *item) \ item 19 drivers/usb/gadget/function/u_ether_configfs.h struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ item 29 drivers/usb/gadget/function/u_ether_configfs.h static ssize_t _f_##_opts_dev_addr_show(struct config_item *item, \ item 32 drivers/usb/gadget/function/u_ether_configfs.h struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ item 42 drivers/usb/gadget/function/u_ether_configfs.h static ssize_t _f_##_opts_dev_addr_store(struct config_item *item, \ item 45 drivers/usb/gadget/function/u_ether_configfs.h struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ item 64 drivers/usb/gadget/function/u_ether_configfs.h static ssize_t _f_##_opts_host_addr_show(struct config_item *item, \ item 67 drivers/usb/gadget/function/u_ether_configfs.h struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ item 77 drivers/usb/gadget/function/u_ether_configfs.h static ssize_t _f_##_opts_host_addr_store(struct config_item *item, \ item 80 drivers/usb/gadget/function/u_ether_configfs.h struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ item 99 drivers/usb/gadget/function/u_ether_configfs.h static ssize_t _f_##_opts_qmult_show(struct config_item *item, \ item 102 drivers/usb/gadget/function/u_ether_configfs.h struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ item 111 drivers/usb/gadget/function/u_ether_configfs.h static ssize_t _f_##_opts_qmult_store(struct config_item *item, \ item 114 drivers/usb/gadget/function/u_ether_configfs.h struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ item 138 drivers/usb/gadget/function/u_ether_configfs.h static ssize_t _f_##_opts_ifname_show(struct config_item *item, \ item 141 drivers/usb/gadget/function/u_ether_configfs.h struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ item 154 drivers/usb/gadget/function/u_ether_configfs.h static ssize_t _f_##_opts_##_n_##_show(struct config_item *item,\ item 157 drivers/usb/gadget/function/u_ether_configfs.h struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ item 167 drivers/usb/gadget/function/u_ether_configfs.h static ssize_t _f_##_opts_##_n_##_store(struct config_item *item,\ item 171 drivers/usb/gadget/function/u_ether_configfs.h struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ item 52 drivers/usb/gadget/function/uvc_configfs.c static inline struct f_uvc_opts *to_f_uvc_opts(struct config_item *item) item 54 drivers/usb/gadget/function/uvc_configfs.c return container_of(to_config_group(item), struct f_uvc_opts, item 65 drivers/usb/gadget/function/uvc_configfs.c static void uvcg_config_item_release(struct config_item *item) item 67 drivers/usb/gadget/function/uvc_configfs.c struct config_group *group = to_config_group(item); item 131 drivers/usb/gadget/function/uvc_configfs.c struct config_item item; item 136 drivers/usb/gadget/function/uvc_configfs.c static struct uvcg_control_header *to_uvcg_control_header(struct config_item *item) item 138 drivers/usb/gadget/function/uvc_configfs.c return container_of(item, struct uvcg_control_header, item); item 143 drivers/usb/gadget/function/uvc_configfs.c struct config_item *item, char *page) \ item 145 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_control_header *ch = to_uvcg_control_header(item); \ item 148 drivers/usb/gadget/function/uvc_configfs.c struct mutex *su_mutex = &ch->item.ci_group->cg_subsys->su_mutex;\ item 153 drivers/usb/gadget/function/uvc_configfs.c opts_item = ch->item.ci_parent->ci_parent->ci_parent; \ item 165 drivers/usb/gadget/function/uvc_configfs.c uvcg_control_header_##cname##_store(struct config_item *item, \ item 168 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_control_header *ch = to_uvcg_control_header(item); \ item 171 drivers/usb/gadget/function/uvc_configfs.c struct mutex *su_mutex = &ch->item.ci_group->cg_subsys->su_mutex;\ item 177 drivers/usb/gadget/function/uvc_configfs.c opts_item = ch->item.ci_parent->ci_parent->ci_parent; \ item 237 drivers/usb/gadget/function/uvc_configfs.c config_item_init_type_name(&h->item, name, &uvcg_control_header_type); item 239 drivers/usb/gadget/function/uvc_configfs.c return &h->item; item 261 drivers/usb/gadget/function/uvc_configfs.c struct config_item *item, char *page) \ item 263 drivers/usb/gadget/function/uvc_configfs.c struct config_group *group = to_config_group(item); \ item 294 drivers/usb/gadget/function/uvc_configfs.c struct config_item *item, char *page) item 296 drivers/usb/gadget/function/uvc_configfs.c struct config_group *group = to_config_group(item); item 364 drivers/usb/gadget/function/uvc_configfs.c struct config_item *item, char *page) \ item 366 drivers/usb/gadget/function/uvc_configfs.c struct config_group *group = to_config_group(item); \ item 405 drivers/usb/gadget/function/uvc_configfs.c struct config_item *item, char *page) item 407 drivers/usb/gadget/function/uvc_configfs.c struct config_group *group = to_config_group(item); item 478 drivers/usb/gadget/function/uvc_configfs.c struct config_item *item, char *page) \ item 480 drivers/usb/gadget/function/uvc_configfs.c struct config_group *group = to_config_group(item); \ item 717 drivers/usb/gadget/function/uvc_configfs.c struct config_item *item, char *page) item 719 drivers/usb/gadget/function/uvc_configfs.c struct config_group *group = to_config_group(item); item 727 drivers/usb/gadget/function/uvc_configfs.c opts_item = item->ci_parent; item 785 drivers/usb/gadget/function/uvc_configfs.c static struct uvcg_format *to_uvcg_format(struct config_item *item) item 787 drivers/usb/gadget/function/uvc_configfs.c return container_of(to_config_group(item), struct uvcg_format, group); item 859 drivers/usb/gadget/function/uvc_configfs.c struct config_item item; item 866 drivers/usb/gadget/function/uvc_configfs.c static struct uvcg_streaming_header *to_uvcg_streaming_header(struct config_item *item) item 868 drivers/usb/gadget/function/uvc_configfs.c return container_of(item, struct uvcg_streaming_header, item); item 984 drivers/usb/gadget/function/uvc_configfs.c struct config_item *item, char *page) \ item 986 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_streaming_header *sh = to_uvcg_streaming_header(item); \ item 989 drivers/usb/gadget/function/uvc_configfs.c struct mutex *su_mutex = &sh->item.ci_group->cg_subsys->su_mutex;\ item 994 drivers/usb/gadget/function/uvc_configfs.c opts_item = sh->item.ci_parent->ci_parent->ci_parent; \ item 1045 drivers/usb/gadget/function/uvc_configfs.c config_item_init_type_name(&h->item, name, &uvcg_streaming_header_type); item 1047 drivers/usb/gadget/function/uvc_configfs.c return &h->item; item 1068 drivers/usb/gadget/function/uvc_configfs.c struct config_item item; item 1087 drivers/usb/gadget/function/uvc_configfs.c static struct uvcg_frame *to_uvcg_frame(struct config_item *item) item 1089 drivers/usb/gadget/function/uvc_configfs.c return container_of(item, struct uvcg_frame, item); item 1093 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_frame_##cname##_show(struct config_item *item, char *page)\ item 1095 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_frame *f = to_uvcg_frame(item); \ item 1098 drivers/usb/gadget/function/uvc_configfs.c struct mutex *su_mutex = &f->item.ci_group->cg_subsys->su_mutex;\ item 1103 drivers/usb/gadget/function/uvc_configfs.c opts_item = f->item.ci_parent->ci_parent->ci_parent->ci_parent; \ item 1114 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_frame_##cname##_store(struct config_item *item, \ item 1117 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_frame *f = to_uvcg_frame(item); \ item 1121 drivers/usb/gadget/function/uvc_configfs.c struct mutex *su_mutex = &f->item.ci_group->cg_subsys->su_mutex;\ item 1131 drivers/usb/gadget/function/uvc_configfs.c opts_item = f->item.ci_parent->ci_parent->ci_parent->ci_parent; \ item 1133 drivers/usb/gadget/function/uvc_configfs.c fmt = to_uvcg_format(f->item.ci_parent); \ item 1151 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_frame_b_frame_index_show(struct config_item *item, item 1154 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_frame *f = to_uvcg_frame(item); item 1159 drivers/usb/gadget/function/uvc_configfs.c struct mutex *su_mutex = &f->item.ci_group->cg_subsys->su_mutex; item 1164 drivers/usb/gadget/function/uvc_configfs.c fmt_item = f->item.ci_parent; item 1196 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_frame_dw_frame_interval_show(struct config_item *item, item 1199 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_frame *frm = to_uvcg_frame(item); item 1202 drivers/usb/gadget/function/uvc_configfs.c struct mutex *su_mutex = &frm->item.ci_group->cg_subsys->su_mutex; item 1208 drivers/usb/gadget/function/uvc_configfs.c opts_item = frm->item.ci_parent->ci_parent->ci_parent->ci_parent; item 1273 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_frame_dw_frame_interval_store(struct config_item *item, item 1276 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_frame *ch = to_uvcg_frame(item); item 1280 drivers/usb/gadget/function/uvc_configfs.c struct mutex *su_mutex = &ch->item.ci_group->cg_subsys->su_mutex; item 1286 drivers/usb/gadget/function/uvc_configfs.c opts_item = ch->item.ci_parent->ci_parent->ci_parent->ci_parent; item 1288 drivers/usb/gadget/function/uvc_configfs.c fmt = to_uvcg_format(ch->item.ci_parent); item 1386 drivers/usb/gadget/function/uvc_configfs.c config_item_init_type_name(&h->item, name, &uvcg_frame_type); item 1388 drivers/usb/gadget/function/uvc_configfs.c return &h->item; item 1391 drivers/usb/gadget/function/uvc_configfs.c static void uvcg_frame_drop(struct config_group *group, struct config_item *item) item 1405 drivers/usb/gadget/function/uvc_configfs.c config_item_put(item); item 1433 drivers/usb/gadget/function/uvc_configfs.c static struct uvcg_uncompressed *to_uvcg_uncompressed(struct config_item *item) item 1436 drivers/usb/gadget/function/uvc_configfs.c container_of(to_config_group(item), struct uvcg_format, group), item 1445 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_uncompressed_guid_format_show(struct config_item *item, item 1448 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_uncompressed *ch = to_uvcg_uncompressed(item); item 1467 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_uncompressed_guid_format_store(struct config_item *item, item 1470 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_uncompressed *ch = to_uvcg_uncompressed(item); item 1501 drivers/usb/gadget/function/uvc_configfs.c struct config_item *item, char *page) \ item 1503 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_uncompressed *u = to_uvcg_uncompressed(item); \ item 1526 drivers/usb/gadget/function/uvc_configfs.c struct config_item *item, char *page) \ item 1528 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_uncompressed *u = to_uvcg_uncompressed(item); \ item 1548 drivers/usb/gadget/function/uvc_configfs.c uvcg_uncompressed_##cname##_store(struct config_item *item, \ item 1551 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_uncompressed *u = to_uvcg_uncompressed(item); \ item 1594 drivers/usb/gadget/function/uvc_configfs.c uvcg_uncompressed_bma_controls_show(struct config_item *item, char *page) item 1596 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_uncompressed *unc = to_uvcg_uncompressed(item); item 1601 drivers/usb/gadget/function/uvc_configfs.c uvcg_uncompressed_bma_controls_store(struct config_item *item, item 1604 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_uncompressed *unc = to_uvcg_uncompressed(item); item 1682 drivers/usb/gadget/function/uvc_configfs.c static struct uvcg_mjpeg *to_uvcg_mjpeg(struct config_item *item) item 1685 drivers/usb/gadget/function/uvc_configfs.c container_of(to_config_group(item), struct uvcg_format, group), item 1695 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_mjpeg_##cname##_show(struct config_item *item, char *page)\ item 1697 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_mjpeg *u = to_uvcg_mjpeg(item); \ item 1719 drivers/usb/gadget/function/uvc_configfs.c static ssize_t uvcg_mjpeg_##cname##_show(struct config_item *item, char *page)\ item 1721 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_mjpeg *u = to_uvcg_mjpeg(item); \ item 1741 drivers/usb/gadget/function/uvc_configfs.c uvcg_mjpeg_##cname##_store(struct config_item *item, \ item 1744 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_mjpeg *u = to_uvcg_mjpeg(item); \ item 1787 drivers/usb/gadget/function/uvc_configfs.c uvcg_mjpeg_bma_controls_show(struct config_item *item, char *page) item 1789 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_mjpeg *u = to_uvcg_mjpeg(item); item 1794 drivers/usb/gadget/function/uvc_configfs.c uvcg_mjpeg_bma_controls_store(struct config_item *item, item 1797 drivers/usb/gadget/function/uvc_configfs.c struct uvcg_mjpeg *u = to_uvcg_mjpeg(item); item 1865 drivers/usb/gadget/function/uvc_configfs.c struct config_item *item, char *page) \ item 1867 drivers/usb/gadget/function/uvc_configfs.c struct config_group *group = to_config_group(item); \ item 1988 drivers/usb/gadget/function/uvc_configfs.c struct config_item *item; item 2004 drivers/usb/gadget/function/uvc_configfs.c list_for_each_entry(item, &grp->cg_children, ci_entry) { item 2005 drivers/usb/gadget/function/uvc_configfs.c frm = to_uvcg_frame(item); item 2320 drivers/usb/gadget/function/uvc_configfs.c struct config_item *item, char *page) item 2322 drivers/usb/gadget/function/uvc_configfs.c struct config_group *group = to_config_group(item); item 2330 drivers/usb/gadget/function/uvc_configfs.c opts_item = item->ci_parent; item 2370 drivers/usb/gadget/function/uvc_configfs.c static void uvc_func_item_release(struct config_item *item) item 2372 drivers/usb/gadget/function/uvc_configfs.c struct f_uvc_opts *opts = to_f_uvc_opts(item); item 2374 drivers/usb/gadget/function/uvc_configfs.c uvcg_config_remove_children(to_config_group(item)); item 2384 drivers/usb/gadget/function/uvc_configfs.c struct config_item *item, char *page) \ item 2386 drivers/usb/gadget/function/uvc_configfs.c struct f_uvc_opts *opts = to_f_uvc_opts(item); \ item 2397 drivers/usb/gadget/function/uvc_configfs.c f_uvc_opts_##cname##_store(struct config_item *item, \ item 2400 drivers/usb/gadget/function/uvc_configfs.c struct f_uvc_opts *opts = to_f_uvc_opts(item); \ item 1873 drivers/vhost/scsi.c struct config_item *item, const char *page, size_t count) item 1875 drivers/vhost/scsi.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 1895 drivers/vhost/scsi.c struct config_item *item, char *page) item 1897 drivers/vhost/scsi.c struct se_portal_group *se_tpg = attrib_to_tpg(item); item 2040 drivers/vhost/scsi.c static ssize_t vhost_scsi_tpg_nexus_show(struct config_item *item, char *page) item 2042 drivers/vhost/scsi.c struct se_portal_group *se_tpg = to_tpg(item); item 2061 drivers/vhost/scsi.c static ssize_t vhost_scsi_tpg_nexus_store(struct config_item *item, item 2064 drivers/vhost/scsi.c struct se_portal_group *se_tpg = to_tpg(item); item 2276 drivers/vhost/scsi.c vhost_scsi_wwn_version_show(struct config_item *item, char *page) item 1097 drivers/xen/grant-table.c static void __gnttab_unmap_refs_async(struct gntab_unmap_queue_data* item); item 1110 drivers/xen/grant-table.c static void __gnttab_unmap_refs_async(struct gntab_unmap_queue_data* item) item 1115 drivers/xen/grant-table.c for (pc = 0; pc < item->count; pc++) { item 1116 drivers/xen/grant-table.c if (page_count(item->pages[pc]) > 1) { item 1117 drivers/xen/grant-table.c unsigned long delay = GNTTAB_UNMAP_REFS_DELAY * (item->age + 1); item 1118 drivers/xen/grant-table.c schedule_delayed_work(&item->gnttab_work, item 1124 drivers/xen/grant-table.c ret = gnttab_unmap_refs(item->unmap_ops, item->kunmap_ops, item 1125 drivers/xen/grant-table.c item->pages, item->count); item 1126 drivers/xen/grant-table.c item->done(ret, item); item 1129 drivers/xen/grant-table.c void gnttab_unmap_refs_async(struct gntab_unmap_queue_data* item) item 1131 drivers/xen/grant-table.c INIT_DELAYED_WORK(&item->gnttab_work, gnttab_unmap_work); item 1132 drivers/xen/grant-table.c item->age = 0; item 1134 drivers/xen/grant-table.c __gnttab_unmap_refs_async(item); item 1147 drivers/xen/grant-table.c int gnttab_unmap_refs_sync(struct gntab_unmap_queue_data *item) item 1152 drivers/xen/grant-table.c item->data = &data; item 1153 drivers/xen/grant-table.c item->done = &unmap_refs_callback; item 1154 drivers/xen/grant-table.c gnttab_unmap_refs_async(item); item 1455 drivers/xen/xen-scsiback.c static ssize_t scsiback_tpg_param_alias_show(struct config_item *item, item 1458 drivers/xen/xen-scsiback.c struct se_portal_group *se_tpg = param_to_tpg(item); item 1470 drivers/xen/xen-scsiback.c static ssize_t scsiback_tpg_param_alias_store(struct config_item *item, item 1473 drivers/xen/xen-scsiback.c struct se_portal_group *se_tpg = param_to_tpg(item); item 1592 drivers/xen/xen-scsiback.c static ssize_t scsiback_tpg_nexus_show(struct config_item *item, char *page) item 1594 drivers/xen/xen-scsiback.c struct se_portal_group *se_tpg = to_tpg(item); item 1613 drivers/xen/xen-scsiback.c static ssize_t scsiback_tpg_nexus_store(struct config_item *item, item 1616 drivers/xen/xen-scsiback.c struct se_portal_group *se_tpg = to_tpg(item); item 1696 drivers/xen/xen-scsiback.c scsiback_wwn_version_show(struct config_item *item, char *page) item 2010 fs/btrfs/backref.c struct btrfs_item *item; item 2036 fs/btrfs/backref.c item = btrfs_item_nr(slot); item 2039 fs/btrfs/backref.c for (cur = 0; cur < btrfs_item_size(eb, item); cur += len) { item 660 fs/btrfs/block-group.c btrfs_block_group_used(&block_group->item); item 766 fs/btrfs/block-group.c btrfs_block_group_used(&cache->item); item 1216 fs/btrfs/block-group.c cache->bytes_super - btrfs_block_group_used(&cache->item); item 1285 fs/btrfs/block-group.c btrfs_block_group_used(&block_group->item) || item 1757 fs/btrfs/block-group.c read_extent_buffer(leaf, &cache->item, item 1759 fs/btrfs/block-group.c sizeof(cache->item)); item 1760 fs/btrfs/block-group.c cache->flags = btrfs_block_group_flags(&cache->item); item 1798 fs/btrfs/block-group.c if (found_key.offset == btrfs_block_group_used(&cache->item)) { item 1802 fs/btrfs/block-group.c } else if (btrfs_block_group_used(&cache->item) == 0) { item 1820 fs/btrfs/block-group.c btrfs_block_group_used(&cache->item), item 1830 fs/btrfs/block-group.c } else if (btrfs_block_group_used(&cache->item) == 0) { item 1871 fs/btrfs/block-group.c struct btrfs_block_group_item item; item 1886 fs/btrfs/block-group.c memcpy(&item, &block_group->item, sizeof(item)); item 1890 fs/btrfs/block-group.c ret = btrfs_insert_item(trans, extent_root, &key, &item, item 1891 fs/btrfs/block-group.c sizeof(item)); item 1919 fs/btrfs/block-group.c btrfs_set_block_group_used(&cache->item, bytes_used); item 1920 fs/btrfs/block-group.c btrfs_set_block_group_chunk_objectid(&cache->item, item 1922 fs/btrfs/block-group.c btrfs_set_block_group_flags(&cache->item, type); item 2112 fs/btrfs/block-group.c btrfs_block_group_used(&cache->item); item 2139 fs/btrfs/block-group.c write_extent_buffer(leaf, &cache->item, bi, sizeof(cache->item)); item 2683 fs/btrfs/block-group.c old_val = btrfs_block_group_used(&cache->item); item 2687 fs/btrfs/block-group.c btrfs_set_block_group_used(&cache->item, old_val); item 2696 fs/btrfs/block-group.c btrfs_set_block_group_used(&cache->item, old_val); item 47 fs/btrfs/block-group.h struct btrfs_block_group_item item; item 3644 fs/btrfs/ctree.c struct btrfs_item *item; item 3661 fs/btrfs/ctree.c item = btrfs_item_nr(i); item 3677 fs/btrfs/ctree.c this_item_size = btrfs_item_size(left, item); item 3678 fs/btrfs/ctree.c if (this_item_size + sizeof(*item) + push_space > free_space) item 3682 fs/btrfs/ctree.c push_space += this_item_size + sizeof(*item); item 3727 fs/btrfs/ctree.c item = btrfs_item_nr(i); item 3728 fs/btrfs/ctree.c push_space -= btrfs_token_item_size(right, item, &token); item 3729 fs/btrfs/ctree.c btrfs_set_token_item_offset(right, item, push_space, &token); item 3869 fs/btrfs/ctree.c struct btrfs_item *item; item 3883 fs/btrfs/ctree.c item = btrfs_item_nr(i); item 3899 fs/btrfs/ctree.c this_item_size = btrfs_item_size(right, item); item 3900 fs/btrfs/ctree.c if (this_item_size + sizeof(*item) + push_space > free_space) item 3904 fs/btrfs/ctree.c push_space += this_item_size + sizeof(*item); item 3935 fs/btrfs/ctree.c item = btrfs_item_nr(i); item 3937 fs/btrfs/ctree.c ioff = btrfs_token_item_offset(left, item, &token); item 3938 fs/btrfs/ctree.c btrfs_set_token_item_offset(left, item, item 3968 fs/btrfs/ctree.c item = btrfs_item_nr(i); item 3971 fs/btrfs/ctree.c item, &token); item 3972 fs/btrfs/ctree.c btrfs_set_token_item_offset(right, item, push_space, &token); item 4111 fs/btrfs/ctree.c struct btrfs_item *item = btrfs_item_nr(i); item 4114 fs/btrfs/ctree.c ioff = btrfs_token_item_offset(right, item, &token); item 4115 fs/btrfs/ctree.c btrfs_set_token_item_offset(right, item, item 4443 fs/btrfs/ctree.c struct btrfs_item *item; item 4457 fs/btrfs/ctree.c item = btrfs_item_nr(path->slots[0]); item 4458 fs/btrfs/ctree.c orig_offset = btrfs_item_offset(leaf, item); item 4459 fs/btrfs/ctree.c item_size = btrfs_item_size(leaf, item); item 4485 fs/btrfs/ctree.c btrfs_set_item_offset(leaf, item, item 4487 fs/btrfs/ctree.c btrfs_set_item_size(leaf, item, split_offset); item 4584 fs/btrfs/ctree.c struct btrfs_item *item; item 4617 fs/btrfs/ctree.c item = btrfs_item_nr(i); item 4619 fs/btrfs/ctree.c ioff = btrfs_token_item_offset(leaf, item, &token); item 4620 fs/btrfs/ctree.c btrfs_set_token_item_offset(leaf, item, item 4664 fs/btrfs/ctree.c item = btrfs_item_nr(slot); item 4665 fs/btrfs/ctree.c btrfs_set_item_size(leaf, item, new_size); item 4681 fs/btrfs/ctree.c struct btrfs_item *item; item 4716 fs/btrfs/ctree.c item = btrfs_item_nr(i); item 4718 fs/btrfs/ctree.c ioff = btrfs_token_item_offset(leaf, item, &token); item 4719 fs/btrfs/ctree.c btrfs_set_token_item_offset(leaf, item, item 4730 fs/btrfs/ctree.c item = btrfs_item_nr(slot); item 4731 fs/btrfs/ctree.c btrfs_set_item_size(leaf, item, old_size + data_size); item 4750 fs/btrfs/ctree.c struct btrfs_item *item; item 4795 fs/btrfs/ctree.c item = btrfs_item_nr(i); item 4796 fs/btrfs/ctree.c ioff = btrfs_token_item_offset(leaf, item, &token); item 4797 fs/btrfs/ctree.c btrfs_set_token_item_offset(leaf, item, item 4816 fs/btrfs/ctree.c item = btrfs_item_nr(slot + i); item 4817 fs/btrfs/ctree.c btrfs_set_token_item_offset(leaf, item, item 4820 fs/btrfs/ctree.c btrfs_set_token_item_size(leaf, item, data_size[i], &token); item 4978 fs/btrfs/ctree.c struct btrfs_item *item; item 5007 fs/btrfs/ctree.c item = btrfs_item_nr(i); item 5008 fs/btrfs/ctree.c ioff = btrfs_token_item_offset(leaf, item, &token); item 5009 fs/btrfs/ctree.c btrfs_set_token_item_offset(leaf, item, item 1611 fs/btrfs/ctree.h struct btrfs_tree_block_info *item, item 1614 fs/btrfs/ctree.h read_eb_member(eb, item, struct btrfs_tree_block_info, key, key); item 1618 fs/btrfs/ctree.h struct btrfs_tree_block_info *item, item 1621 fs/btrfs/ctree.h write_eb_member(eb, item, struct btrfs_tree_block_info, key, key); item 1739 fs/btrfs/ctree.h struct btrfs_item *item) item 1741 fs/btrfs/ctree.h return btrfs_item_offset(eb, item) + btrfs_item_size(eb, item); item 1762 fs/btrfs/ctree.h struct btrfs_item *item = btrfs_item_nr(nr); item 1763 fs/btrfs/ctree.h read_eb_member(eb, item, struct btrfs_item, key, disk_key); item 1769 fs/btrfs/ctree.h struct btrfs_item *item = btrfs_item_nr(nr); item 1770 fs/btrfs/ctree.h write_eb_member(eb, item, struct btrfs_item, key, disk_key); item 1796 fs/btrfs/ctree.h const struct btrfs_dir_item *item, item 1799 fs/btrfs/ctree.h read_eb_member(eb, item, struct btrfs_dir_item, location, key); item 1803 fs/btrfs/ctree.h struct btrfs_dir_item *item, item 1806 fs/btrfs/ctree.h write_eb_member(eb, item, struct btrfs_dir_item, location, key); item 1869 fs/btrfs/ctree.h const struct btrfs_dir_item *item, item 1873 fs/btrfs/ctree.h btrfs_dir_item_key(eb, item, &disk_key); item 2682 fs/btrfs/ctree.h struct btrfs_root_item *item); item 2686 fs/btrfs/ctree.h struct btrfs_root_item *item); item 2691 fs/btrfs/ctree.h void btrfs_set_root_node(struct btrfs_root_item *item, item 2693 fs/btrfs/ctree.h void btrfs_check_and_init_root_item(struct btrfs_root_item *item); item 318 fs/btrfs/delayed-inode.c struct btrfs_delayed_item *item; item 319 fs/btrfs/delayed-inode.c item = kmalloc(sizeof(*item) + data_len, GFP_NOFS); item 320 fs/btrfs/delayed-inode.c if (item) { item 321 fs/btrfs/delayed-inode.c item->data_len = data_len; item 322 fs/btrfs/delayed-inode.c item->ins_or_del = 0; item 323 fs/btrfs/delayed-inode.c item->bytes_reserved = 0; item 324 fs/btrfs/delayed-inode.c item->delayed_node = NULL; item 325 fs/btrfs/delayed-inode.c refcount_set(&item->refs, 1); item 327 fs/btrfs/delayed-inode.c return item; item 406 fs/btrfs/delayed-inode.c struct btrfs_delayed_item *item; item 421 fs/btrfs/delayed-inode.c item = rb_entry(parent_node, struct btrfs_delayed_item, item 424 fs/btrfs/delayed-inode.c cmp = btrfs_comp_cpu_keys(&item->key, &ins->key); item 451 fs/btrfs/delayed-inode.c struct btrfs_delayed_item *item) item 453 fs/btrfs/delayed-inode.c return __btrfs_add_delayed_item(node, item, item 458 fs/btrfs/delayed-inode.c struct btrfs_delayed_item *item) item 460 fs/btrfs/delayed-inode.c return __btrfs_add_delayed_item(node, item, item 499 fs/btrfs/delayed-inode.c static void btrfs_release_delayed_item(struct btrfs_delayed_item *item) item 501 fs/btrfs/delayed-inode.c if (item) { item 502 fs/btrfs/delayed-inode.c __btrfs_remove_delayed_item(item); item 503 fs/btrfs/delayed-inode.c if (refcount_dec_and_test(&item->refs)) item 504 fs/btrfs/delayed-inode.c kfree(item); item 512 fs/btrfs/delayed-inode.c struct btrfs_delayed_item *item = NULL; item 516 fs/btrfs/delayed-inode.c item = rb_entry(p, struct btrfs_delayed_item, rb_node); item 518 fs/btrfs/delayed-inode.c return item; item 525 fs/btrfs/delayed-inode.c struct btrfs_delayed_item *item = NULL; item 529 fs/btrfs/delayed-inode.c item = rb_entry(p, struct btrfs_delayed_item, rb_node); item 531 fs/btrfs/delayed-inode.c return item; item 535 fs/btrfs/delayed-inode.c struct btrfs_delayed_item *item) item 540 fs/btrfs/delayed-inode.c p = rb_next(&item->rb_node); item 549 fs/btrfs/delayed-inode.c struct btrfs_delayed_item *item) item 573 fs/btrfs/delayed-inode.c item->key.objectid, item 575 fs/btrfs/delayed-inode.c item->bytes_reserved = num_bytes; item 582 fs/btrfs/delayed-inode.c struct btrfs_delayed_item *item) item 587 fs/btrfs/delayed-inode.c if (!item->bytes_reserved) item 596 fs/btrfs/delayed-inode.c item->key.objectid, item->bytes_reserved, item 599 fs/btrfs/delayed-inode.c item->bytes_reserved); item 697 fs/btrfs/delayed-inode.c struct btrfs_delayed_item *item) item 718 fs/btrfs/delayed-inode.c next = item; item 877 fs/btrfs/delayed-inode.c struct btrfs_delayed_item *item) item 895 fs/btrfs/delayed-inode.c next = item; item 1496 fs/btrfs/delayed-inode.c struct btrfs_delayed_item *item; item 1499 fs/btrfs/delayed-inode.c item = __btrfs_lookup_delayed_insertion_item(node, key); item 1500 fs/btrfs/delayed-inode.c if (!item) { item 1505 fs/btrfs/delayed-inode.c btrfs_delayed_item_release_metadata(node->root, item); item 1506 fs/btrfs/delayed-inode.c btrfs_release_delayed_item(item); item 1515 fs/btrfs/delayed-inode.c struct btrfs_delayed_item *item; item 1532 fs/btrfs/delayed-inode.c item = btrfs_alloc_delayed_item(0); item 1533 fs/btrfs/delayed-inode.c if (!item) { item 1538 fs/btrfs/delayed-inode.c item->key = item_key; item 1540 fs/btrfs/delayed-inode.c ret = btrfs_delayed_item_reserve_metadata(trans, dir->root, item); item 1548 fs/btrfs/delayed-inode.c btrfs_release_delayed_item(item); item 1553 fs/btrfs/delayed-inode.c ret = __btrfs_add_delayed_deletion_item(node, item); item 1559 fs/btrfs/delayed-inode.c btrfs_delayed_item_release_metadata(dir->root, item); item 1560 fs/btrfs/delayed-inode.c btrfs_release_delayed_item(item); item 1595 fs/btrfs/delayed-inode.c struct btrfs_delayed_item *item; item 1609 fs/btrfs/delayed-inode.c item = __btrfs_first_delayed_insertion_item(delayed_node); item 1610 fs/btrfs/delayed-inode.c while (item) { item 1611 fs/btrfs/delayed-inode.c refcount_inc(&item->refs); item 1612 fs/btrfs/delayed-inode.c list_add_tail(&item->readdir_list, ins_list); item 1613 fs/btrfs/delayed-inode.c item = __btrfs_next_delayed_item(item); item 1616 fs/btrfs/delayed-inode.c item = __btrfs_first_delayed_deletion_item(delayed_node); item 1617 fs/btrfs/delayed-inode.c while (item) { item 1618 fs/btrfs/delayed-inode.c refcount_inc(&item->refs); item 1619 fs/btrfs/delayed-inode.c list_add_tail(&item->readdir_list, del_list); item 1620 fs/btrfs/delayed-inode.c item = __btrfs_next_delayed_item(item); item 30 fs/btrfs/dir-item.c struct btrfs_item *item; item 44 fs/btrfs/dir-item.c item = btrfs_item_nr(path->slots[0]); item 46 fs/btrfs/dir-item.c BUG_ON(data_size > btrfs_item_size(leaf, item)); item 47 fs/btrfs/dir-item.c ptr += btrfs_item_size(leaf, item) - data_size; item 1439 fs/btrfs/extent-tree.c struct btrfs_extent_item *item; item 1466 fs/btrfs/extent-tree.c item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); item 1467 fs/btrfs/extent-tree.c refs = btrfs_extent_refs(leaf, item); item 1468 fs/btrfs/extent-tree.c btrfs_set_extent_refs(leaf, item, refs + refs_to_add); item 1470 fs/btrfs/extent-tree.c __run_delayed_extent_op(extent_op, leaf, item); item 2690 fs/btrfs/extent-tree.c struct btrfs_file_extent_item *item; item 2703 fs/btrfs/extent-tree.c item = btrfs_item_ptr(eb, i, struct btrfs_file_extent_item); item 2704 fs/btrfs/extent-tree.c found_type = btrfs_file_extent_type(eb, item); item 2707 fs/btrfs/extent-tree.c if (btrfs_file_extent_disk_bytenr(eb, item) == 0) item 2709 fs/btrfs/extent-tree.c key.objectid = btrfs_file_extent_disk_bytenr(eb, item); item 2710 fs/btrfs/extent-tree.c key.offset = btrfs_file_extent_disk_num_bytes(eb, item); item 5521 fs/btrfs/extent-tree.c btrfs_block_group_used(&block_group->item)) * item 42 fs/btrfs/file-item.c struct btrfs_file_extent_item *item; item 56 fs/btrfs/file-item.c sizeof(*item)); item 61 fs/btrfs/file-item.c item = btrfs_item_ptr(leaf, path->slots[0], item 63 fs/btrfs/file-item.c btrfs_set_file_extent_disk_bytenr(leaf, item, disk_offset); item 64 fs/btrfs/file-item.c btrfs_set_file_extent_disk_num_bytes(leaf, item, disk_num_bytes); item 65 fs/btrfs/file-item.c btrfs_set_file_extent_offset(leaf, item, offset); item 66 fs/btrfs/file-item.c btrfs_set_file_extent_num_bytes(leaf, item, num_bytes); item 67 fs/btrfs/file-item.c btrfs_set_file_extent_ram_bytes(leaf, item, ram_bytes); item 68 fs/btrfs/file-item.c btrfs_set_file_extent_generation(leaf, item, trans->transid); item 69 fs/btrfs/file-item.c btrfs_set_file_extent_type(leaf, item, BTRFS_FILE_EXTENT_REG); item 70 fs/btrfs/file-item.c btrfs_set_file_extent_compression(leaf, item, compression); item 71 fs/btrfs/file-item.c btrfs_set_file_extent_encryption(leaf, item, encryption); item 72 fs/btrfs/file-item.c btrfs_set_file_extent_other_encoding(leaf, item, other_encoding); item 90 fs/btrfs/file-item.c struct btrfs_csum_item *item; item 124 fs/btrfs/file-item.c item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); item 125 fs/btrfs/file-item.c item = (struct btrfs_csum_item *)((unsigned char *)item + item 127 fs/btrfs/file-item.c return item; item 158 fs/btrfs/file-item.c struct btrfs_csum_item *item = NULL; item 223 fs/btrfs/file-item.c if (!item || disk_bytenr < item_start_offset || item 228 fs/btrfs/file-item.c if (item) item 230 fs/btrfs/file-item.c item = btrfs_lookup_csum(NULL, fs_info->csum_root, item 232 fs/btrfs/file-item.c if (IS_ERR(item)) { item 245 fs/btrfs/file-item.c item = NULL; item 258 fs/btrfs/file-item.c item = btrfs_item_ptr(path->nodes[0], path->slots[0], item 271 fs/btrfs/file-item.c ((unsigned long)item) + diff, item 311 fs/btrfs/file-item.c struct btrfs_csum_item *item; item 380 fs/btrfs/file-item.c item = btrfs_item_ptr(path->nodes[0], path->slots[0], item 402 fs/btrfs/file-item.c ((unsigned long)item) + offset, item 746 fs/btrfs/file-item.c struct btrfs_csum_item *item; item 771 fs/btrfs/file-item.c item = btrfs_lookup_csum(trans, root, path, bytenr, 1); item 772 fs/btrfs/file-item.c if (!IS_ERR(item)) { item 781 fs/btrfs/file-item.c ret = PTR_ERR(item); item 904 fs/btrfs/file-item.c item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); item 905 fs/btrfs/file-item.c item_end = (struct btrfs_csum_item *)((unsigned char *)item + item 907 fs/btrfs/file-item.c item = (struct btrfs_csum_item *)((unsigned char *)item + item 913 fs/btrfs/file-item.c ins_size = min_t(u32, (unsigned long)item_end - (unsigned long)item, item 915 fs/btrfs/file-item.c write_extent_buffer(leaf, sums->sums + index, (unsigned long)item, item 831 fs/btrfs/free-space-cache.c u64 used = btrfs_block_group_used(&block_group->item); item 263 fs/btrfs/inode-item.c struct btrfs_item *item; item 290 fs/btrfs/inode-item.c item = btrfs_item_nr(path->slots[0]); item 292 fs/btrfs/inode-item.c ptr += btrfs_item_size(leaf, item) - ins_len; item 2717 fs/btrfs/inode.c struct btrfs_file_extent_item *item; item 2874 fs/btrfs/inode.c item = btrfs_item_ptr(leaf, path->slots[0], item 2876 fs/btrfs/inode.c btrfs_set_file_extent_disk_bytenr(leaf, item, new->bytenr); item 2877 fs/btrfs/inode.c btrfs_set_file_extent_disk_num_bytes(leaf, item, new->disk_len); item 2878 fs/btrfs/inode.c btrfs_set_file_extent_offset(leaf, item, start - new->file_pos); item 2879 fs/btrfs/inode.c btrfs_set_file_extent_num_bytes(leaf, item, len); item 2880 fs/btrfs/inode.c btrfs_set_file_extent_ram_bytes(leaf, item, new->len); item 2881 fs/btrfs/inode.c btrfs_set_file_extent_generation(leaf, item, trans->transid); item 2882 fs/btrfs/inode.c btrfs_set_file_extent_type(leaf, item, BTRFS_FILE_EXTENT_REG); item 2883 fs/btrfs/inode.c btrfs_set_file_extent_compression(leaf, item, new->compress_type); item 2884 fs/btrfs/inode.c btrfs_set_file_extent_encryption(leaf, item, 0); item 2885 fs/btrfs/inode.c btrfs_set_file_extent_other_encoding(leaf, item, 0); item 3985 fs/btrfs/inode.c struct btrfs_inode_item *item, item 3992 fs/btrfs/inode.c btrfs_set_token_inode_uid(leaf, item, i_uid_read(inode), &token); item 3993 fs/btrfs/inode.c btrfs_set_token_inode_gid(leaf, item, i_gid_read(inode), &token); item 3994 fs/btrfs/inode.c btrfs_set_token_inode_size(leaf, item, BTRFS_I(inode)->disk_i_size, item 3996 fs/btrfs/inode.c btrfs_set_token_inode_mode(leaf, item, inode->i_mode, &token); item 3997 fs/btrfs/inode.c btrfs_set_token_inode_nlink(leaf, item, inode->i_nlink, &token); item 3999 fs/btrfs/inode.c btrfs_set_token_timespec_sec(leaf, &item->atime, item 4001 fs/btrfs/inode.c btrfs_set_token_timespec_nsec(leaf, &item->atime, item 4004 fs/btrfs/inode.c btrfs_set_token_timespec_sec(leaf, &item->mtime, item 4006 fs/btrfs/inode.c btrfs_set_token_timespec_nsec(leaf, &item->mtime, item 4009 fs/btrfs/inode.c btrfs_set_token_timespec_sec(leaf, &item->ctime, item 4011 fs/btrfs/inode.c btrfs_set_token_timespec_nsec(leaf, &item->ctime, item 4014 fs/btrfs/inode.c btrfs_set_token_timespec_sec(leaf, &item->otime, item 4016 fs/btrfs/inode.c btrfs_set_token_timespec_nsec(leaf, &item->otime, item 4019 fs/btrfs/inode.c btrfs_set_token_inode_nbytes(leaf, item, inode_get_bytes(inode), item 4021 fs/btrfs/inode.c btrfs_set_token_inode_generation(leaf, item, BTRFS_I(inode)->generation, item 4023 fs/btrfs/inode.c btrfs_set_token_inode_sequence(leaf, item, inode_peek_iversion(inode), item 4025 fs/btrfs/inode.c btrfs_set_token_inode_transid(leaf, item, trans->transid, &token); item 4026 fs/btrfs/inode.c btrfs_set_token_inode_rdev(leaf, item, inode->i_rdev, &token); item 4027 fs/btrfs/inode.c btrfs_set_token_inode_flags(leaf, item, BTRFS_I(inode)->flags, &token); item 4028 fs/btrfs/inode.c btrfs_set_token_inode_block_group(leaf, item, 0, &token); item 6966 fs/btrfs/inode.c struct btrfs_file_extent_item *item) item 6977 fs/btrfs/inode.c compress_type = btrfs_file_extent_compression(leaf, item); item 6978 fs/btrfs/inode.c max_size = btrfs_file_extent_ram_bytes(leaf, item); item 6984 fs/btrfs/inode.c ptr = btrfs_file_extent_inline_start(item); item 7031 fs/btrfs/inode.c struct btrfs_file_extent_item *item; item 7090 fs/btrfs/inode.c item = btrfs_item_ptr(leaf, path->slots[0], item 7105 fs/btrfs/inode.c extent_type = btrfs_file_extent_type(leaf, item); item 7118 fs/btrfs/inode.c btrfs_file_extent_num_bytes(leaf, item); item 7120 fs/btrfs/inode.c trace_btrfs_get_extent_show_fi_regular(inode, leaf, item, item 7125 fs/btrfs/inode.c size = btrfs_file_extent_ram_bytes(leaf, item); item 7129 fs/btrfs/inode.c trace_btrfs_get_extent_show_fi_inline(inode, leaf, item, item 7163 fs/btrfs/inode.c btrfs_extent_item_to_extent_map(inode, path, item, item 7179 fs/btrfs/inode.c size = btrfs_file_extent_ram_bytes(leaf, item); item 7187 fs/btrfs/inode.c ptr = btrfs_file_extent_inline_start(item) + extent_offset; item 7191 fs/btrfs/inode.c if (btrfs_file_extent_compression(leaf, item) != item 7194 fs/btrfs/inode.c extent_offset, item); item 4045 fs/btrfs/ioctl.c btrfs_block_group_used(&block_group->item); item 171 fs/btrfs/print-tree.c struct btrfs_item *item; item 195 fs/btrfs/print-tree.c item = btrfs_item_nr(i); item 200 fs/btrfs/print-tree.c btrfs_item_offset(l, item), btrfs_item_size(l, item)); item 4240 fs/btrfs/relocation.c struct btrfs_inode_item *item; item 4253 fs/btrfs/relocation.c item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_inode_item); item 4254 fs/btrfs/relocation.c memzero_extent_buffer(leaf, (unsigned long)item, sizeof(*item)); item 4255 fs/btrfs/relocation.c btrfs_set_inode_generation(leaf, item, 1); item 4256 fs/btrfs/relocation.c btrfs_set_inode_size(leaf, item, 0); item 4257 fs/btrfs/relocation.c btrfs_set_inode_mode(leaf, item, S_IFREG | 0600); item 4258 fs/btrfs/relocation.c btrfs_set_inode_flags(leaf, item, BTRFS_INODE_NOCOMPRESS | item 4458 fs/btrfs/relocation.c WARN_ON(btrfs_block_group_used(&rc->block_group->item) > 0); item 23 fs/btrfs/root-tree.c struct btrfs_root_item *item) item 30 fs/btrfs/root-tree.c read_extent_buffer(eb, item, btrfs_item_ptr_offset(eb, slot), item 31 fs/btrfs/root-tree.c min_t(u32, len, sizeof(*item))); item 32 fs/btrfs/root-tree.c if (len < sizeof(*item)) item 34 fs/btrfs/root-tree.c if (!need_reset && btrfs_root_generation(item) item 35 fs/btrfs/root-tree.c != btrfs_root_generation_v2(item)) { item 36 fs/btrfs/root-tree.c if (btrfs_root_generation_v2(item) != 0) { item 43 fs/btrfs/root-tree.c memset(&item->generation_v2, 0, item 44 fs/btrfs/root-tree.c sizeof(*item) - offsetof(struct btrfs_root_item, item 48 fs/btrfs/root-tree.c memcpy(item->uuid, uuid.b, BTRFS_UUID_SIZE); item 109 fs/btrfs/root-tree.c void btrfs_set_root_node(struct btrfs_root_item *item, item 112 fs/btrfs/root-tree.c btrfs_set_root_bytenr(item, node->start); item 113 fs/btrfs/root-tree.c btrfs_set_root_level(item, btrfs_header_level(node)); item 114 fs/btrfs/root-tree.c btrfs_set_root_generation(item, btrfs_header_generation(node)); item 122 fs/btrfs/root-tree.c *item) item 160 fs/btrfs/root-tree.c if (old_len < sizeof(*item)) { item 176 fs/btrfs/root-tree.c key, sizeof(*item)); item 190 fs/btrfs/root-tree.c btrfs_set_root_generation_v2(item, btrfs_root_generation(item)); item 192 fs/btrfs/root-tree.c write_extent_buffer(l, item, ptr, sizeof(*item)); item 200 fs/btrfs/root-tree.c const struct btrfs_key *key, struct btrfs_root_item *item) item 205 fs/btrfs/root-tree.c btrfs_set_root_generation_v2(item, btrfs_root_generation(item)); item 206 fs/btrfs/root-tree.c return btrfs_insert_item(trans, root, key, item, sizeof(*item)); item 494 fs/btrfs/root-tree.c struct btrfs_root_item *item = &root->root_item; item 499 fs/btrfs/root-tree.c btrfs_set_root_ctransid(item, trans->transid); item 500 fs/btrfs/root-tree.c btrfs_set_stack_timespec_sec(&item->ctime, ct.tv_sec); item 501 fs/btrfs/root-tree.c btrfs_set_stack_timespec_nsec(&item->ctime, ct.tv_nsec); item 3681 fs/btrfs/scrub.c btrfs_block_group_used(&cache->item) == 0) { item 894 fs/btrfs/send.c struct btrfs_item *item; item 926 fs/btrfs/send.c item = btrfs_item_nr(slot); item 927 fs/btrfs/send.c total = btrfs_item_size(eb, item); item 1014 fs/btrfs/send.c struct btrfs_item *item; item 1043 fs/btrfs/send.c item = btrfs_item_nr(slot); item 1047 fs/btrfs/send.c total = btrfs_item_size(eb, item); item 305 fs/btrfs/space-info.c btrfs_block_group_used(&cache->item), cache->pinned, item 384 fs/btrfs/sysfs.c val += btrfs_block_group_used(&block_group->item); item 18 fs/btrfs/tests/extent-buffer-tests.c struct btrfs_item *item; item 65 fs/btrfs/tests/extent-buffer-tests.c item = btrfs_item_nr(0); item 94 fs/btrfs/tests/extent-buffer-tests.c item = btrfs_item_nr(0); item 95 fs/btrfs/tests/extent-buffer-tests.c if (btrfs_item_size(eb, item) != strlen(split1)) { item 119 fs/btrfs/tests/extent-buffer-tests.c item = btrfs_item_nr(1); item 120 fs/btrfs/tests/extent-buffer-tests.c if (btrfs_item_size(eb, item) != strlen(split2)) { item 151 fs/btrfs/tests/extent-buffer-tests.c item = btrfs_item_nr(0); item 152 fs/btrfs/tests/extent-buffer-tests.c if (btrfs_item_size(eb, item) != strlen(split3)) { item 175 fs/btrfs/tests/extent-buffer-tests.c item = btrfs_item_nr(1); item 176 fs/btrfs/tests/extent-buffer-tests.c if (btrfs_item_size(eb, item) != strlen(split4)) { item 199 fs/btrfs/tests/extent-buffer-tests.c item = btrfs_item_nr(2); item 200 fs/btrfs/tests/extent-buffer-tests.c if (btrfs_item_size(eb, item) != strlen(split2)) { item 18 fs/btrfs/tests/qgroup-tests.c struct btrfs_extent_item *item; item 24 fs/btrfs/tests/qgroup-tests.c u32 size = sizeof(*item) + sizeof(*iref) + sizeof(*block_info); item 48 fs/btrfs/tests/qgroup-tests.c item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); item 49 fs/btrfs/tests/qgroup-tests.c btrfs_set_extent_refs(leaf, item, 1); item 50 fs/btrfs/tests/qgroup-tests.c btrfs_set_extent_generation(leaf, item, 1); item 51 fs/btrfs/tests/qgroup-tests.c btrfs_set_extent_flags(leaf, item, BTRFS_EXTENT_FLAG_TREE_BLOCK); item 52 fs/btrfs/tests/qgroup-tests.c block_info = (struct btrfs_tree_block_info *)(item + 1); item 71 fs/btrfs/tests/qgroup-tests.c struct btrfs_extent_item *item; item 97 fs/btrfs/tests/qgroup-tests.c item = btrfs_item_ptr(path->nodes[0], path->slots[0], item 99 fs/btrfs/tests/qgroup-tests.c refs = btrfs_extent_refs(path->nodes[0], item); item 100 fs/btrfs/tests/qgroup-tests.c btrfs_set_extent_refs(path->nodes[0], item, refs + 1); item 155 fs/btrfs/tests/qgroup-tests.c struct btrfs_extent_item *item; item 181 fs/btrfs/tests/qgroup-tests.c item = btrfs_item_ptr(path->nodes[0], path->slots[0], item 183 fs/btrfs/tests/qgroup-tests.c refs = btrfs_extent_refs(path->nodes[0], item); item 184 fs/btrfs/tests/qgroup-tests.c btrfs_set_extent_refs(path->nodes[0], item, refs - 1); item 414 fs/btrfs/tree-log.c struct btrfs_inode_item *item; item 418 fs/btrfs/tree-log.c item = btrfs_item_ptr(path->nodes[0], path->slots[0], item 420 fs/btrfs/tree-log.c nbytes = btrfs_inode_nbytes(path->nodes[0], item); item 421 fs/btrfs/tree-log.c item = btrfs_item_ptr(eb, slot, item 423 fs/btrfs/tree-log.c btrfs_set_inode_nbytes(eb, item, nbytes); item 430 fs/btrfs/tree-log.c mode = btrfs_inode_mode(eb, item); item 432 fs/btrfs/tree-log.c btrfs_set_inode_size(eb, item, 0); item 435 fs/btrfs/tree-log.c struct btrfs_inode_item *item; item 442 fs/btrfs/tree-log.c item = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); item 443 fs/btrfs/tree-log.c btrfs_set_inode_nbytes(eb, item, 0); item 450 fs/btrfs/tree-log.c mode = btrfs_inode_mode(eb, item); item 452 fs/btrfs/tree-log.c btrfs_set_inode_size(eb, item, 0); item 591 fs/btrfs/tree-log.c struct btrfs_file_extent_item *item; item 596 fs/btrfs/tree-log.c item = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); item 597 fs/btrfs/tree-log.c found_type = btrfs_file_extent_type(eb, item); item 601 fs/btrfs/tree-log.c nbytes = btrfs_file_extent_num_bytes(eb, item); item 608 fs/btrfs/tree-log.c if (btrfs_file_extent_disk_bytenr(eb, item) == 0) item 611 fs/btrfs/tree-log.c size = btrfs_file_extent_ram_bytes(eb, item); item 612 fs/btrfs/tree-log.c nbytes = btrfs_file_extent_ram_bytes(eb, item); item 646 fs/btrfs/tree-log.c read_extent_buffer(eb, &cmp1, (unsigned long)item, item 673 fs/btrfs/tree-log.c if (btrfs_file_extent_disk_bytenr(eb, item) == 0 && item 678 fs/btrfs/tree-log.c sizeof(*item)); item 684 fs/btrfs/tree-log.c (unsigned long)item, sizeof(*item)); item 686 fs/btrfs/tree-log.c ins.objectid = btrfs_file_extent_disk_bytenr(eb, item); item 687 fs/btrfs/tree-log.c ins.offset = btrfs_file_extent_disk_num_bytes(eb, item); item 689 fs/btrfs/tree-log.c offset = key->offset - btrfs_file_extent_offset(eb, item); item 700 fs/btrfs/tree-log.c btrfs_file_extent_disk_bytenr(eb, item), item 701 fs/btrfs/tree-log.c btrfs_file_extent_disk_num_bytes(eb, item), item 741 fs/btrfs/tree-log.c if (btrfs_file_extent_compression(eb, item)) { item 746 fs/btrfs/tree-log.c btrfs_file_extent_offset(eb, item); item 748 fs/btrfs/tree-log.c btrfs_file_extent_num_bytes(eb, item); item 2146 fs/btrfs/tree-log.c struct btrfs_dir_log_item *item; item 2172 fs/btrfs/tree-log.c item = btrfs_item_ptr(path->nodes[0], path->slots[0], item 2174 fs/btrfs/tree-log.c found_end = btrfs_dir_log_end(path->nodes[0], item); item 2199 fs/btrfs/tree-log.c item = btrfs_item_ptr(path->nodes[0], path->slots[0], item 2201 fs/btrfs/tree-log.c found_end = btrfs_dir_log_end(path->nodes[0], item); item 3465 fs/btrfs/tree-log.c struct btrfs_inode_item *item; item 3468 fs/btrfs/tree-log.c item = btrfs_item_ptr(path->nodes[0], path->slots[0], item 3470 fs/btrfs/tree-log.c i_size = btrfs_inode_size(path->nodes[0], item); item 3475 fs/btrfs/tree-log.c btrfs_set_inode_size(path->nodes[0], item, i_size); item 3541 fs/btrfs/tree-log.c struct btrfs_dir_log_item *item; item 3549 fs/btrfs/tree-log.c ret = btrfs_insert_empty_item(trans, log, path, &key, sizeof(*item)); item 3553 fs/btrfs/tree-log.c item = btrfs_item_ptr(path->nodes[0], path->slots[0], item 3555 fs/btrfs/tree-log.c btrfs_set_dir_log_end(path->nodes[0], item, last_offset); item 3858 fs/btrfs/tree-log.c struct btrfs_inode_item *item, item 3872 fs/btrfs/tree-log.c btrfs_set_token_inode_generation(leaf, item, 0, &token); item 3873 fs/btrfs/tree-log.c btrfs_set_token_inode_size(leaf, item, logged_isize, &token); item 3875 fs/btrfs/tree-log.c btrfs_set_token_inode_generation(leaf, item, item 3878 fs/btrfs/tree-log.c btrfs_set_token_inode_size(leaf, item, inode->i_size, &token); item 3881 fs/btrfs/tree-log.c btrfs_set_token_inode_uid(leaf, item, i_uid_read(inode), &token); item 3882 fs/btrfs/tree-log.c btrfs_set_token_inode_gid(leaf, item, i_gid_read(inode), &token); item 3883 fs/btrfs/tree-log.c btrfs_set_token_inode_mode(leaf, item, inode->i_mode, &token); item 3884 fs/btrfs/tree-log.c btrfs_set_token_inode_nlink(leaf, item, inode->i_nlink, &token); item 3886 fs/btrfs/tree-log.c btrfs_set_token_timespec_sec(leaf, &item->atime, item 3888 fs/btrfs/tree-log.c btrfs_set_token_timespec_nsec(leaf, &item->atime, item 3891 fs/btrfs/tree-log.c btrfs_set_token_timespec_sec(leaf, &item->mtime, item 3893 fs/btrfs/tree-log.c btrfs_set_token_timespec_nsec(leaf, &item->mtime, item 3896 fs/btrfs/tree-log.c btrfs_set_token_timespec_sec(leaf, &item->ctime, item 3898 fs/btrfs/tree-log.c btrfs_set_token_timespec_nsec(leaf, &item->ctime, item 3901 fs/btrfs/tree-log.c btrfs_set_token_inode_nbytes(leaf, item, inode_get_bytes(inode), item 3904 fs/btrfs/tree-log.c btrfs_set_token_inode_sequence(leaf, item, item 3906 fs/btrfs/tree-log.c btrfs_set_token_inode_transid(leaf, item, trans->transid, &token); item 3907 fs/btrfs/tree-log.c btrfs_set_token_inode_rdev(leaf, item, inode->i_rdev, &token); item 3908 fs/btrfs/tree-log.c btrfs_set_token_inode_flags(leaf, item, BTRFS_I(inode)->flags, &token); item 3909 fs/btrfs/tree-log.c btrfs_set_token_inode_block_group(leaf, item, 0, &token); item 4483 fs/btrfs/tree-log.c struct btrfs_inode_item *item; item 4485 fs/btrfs/tree-log.c item = btrfs_item_ptr(path->nodes[0], path->slots[0], item 4487 fs/btrfs/tree-log.c *size_ret = btrfs_inode_size(path->nodes[0], item); item 3263 fs/btrfs/volumes.c struct btrfs_balance_item *item; item 3285 fs/btrfs/volumes.c sizeof(*item)); item 3290 fs/btrfs/volumes.c item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_balance_item); item 3292 fs/btrfs/volumes.c memzero_extent_buffer(leaf, (unsigned long)item, sizeof(*item)); item 3295 fs/btrfs/volumes.c btrfs_set_balance_data(leaf, item, &disk_bargs); item 3297 fs/btrfs/volumes.c btrfs_set_balance_meta(leaf, item, &disk_bargs); item 3299 fs/btrfs/volumes.c btrfs_set_balance_sys(leaf, item, &disk_bargs); item 3301 fs/btrfs/volumes.c btrfs_set_balance_flags(leaf, item, bctl->flags); item 3440 fs/btrfs/volumes.c chunk_used = btrfs_block_group_used(&cache->item); item 3471 fs/btrfs/volumes.c chunk_used = btrfs_block_group_used(&cache->item); item 4313 fs/btrfs/volumes.c struct btrfs_balance_item *item; item 4343 fs/btrfs/volumes.c item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_balance_item); item 4345 fs/btrfs/volumes.c bctl->flags = btrfs_balance_flags(leaf, item); item 4348 fs/btrfs/volumes.c btrfs_balance_data(leaf, item, &disk_bargs); item 4350 fs/btrfs/volumes.c btrfs_balance_meta(leaf, item, &disk_bargs); item 4352 fs/btrfs/volumes.c btrfs_balance_sys(leaf, item, &disk_bargs); item 173 fs/btrfs/xattr.c struct btrfs_item *item; item 199 fs/btrfs/xattr.c item = btrfs_item_nr(slot); item 201 fs/btrfs/xattr.c ptr += btrfs_item_size(leaf, item) - data_size; item 1862 fs/ceph/mds_client.c struct ceph_mds_cap_item *item; item 1902 fs/ceph/mds_client.c item = msg->front.iov_base + msg->front.iov_len; item 1903 fs/ceph/mds_client.c item->ino = cpu_to_le64(cap->cap_ino); item 1904 fs/ceph/mds_client.c item->cap_id = cpu_to_le64(cap->cap_id); item 1905 fs/ceph/mds_client.c item->migrate_seq = cpu_to_le32(cap->mseq); item 1906 fs/ceph/mds_client.c item->seq = cpu_to_le32(cap->issue_seq); item 1907 fs/ceph/mds_client.c msg->front.iov_len += sizeof(*item); item 66 fs/configfs/configfs_internal.h extern int configfs_is_root(struct config_item *item); item 123 fs/configfs/configfs_internal.h struct config_item * item = NULL; item 128 fs/configfs/configfs_internal.h item = config_item_get(sd->s_element); item 132 fs/configfs/configfs_internal.h return item; item 275 fs/configfs/dir.c static int configfs_create_dir(struct config_item *item, struct dentry *dentry, item 283 fs/configfs/dir.c BUG_ON(!item); item 289 fs/configfs/dir.c error = configfs_make_dirent(p->d_fsdata, dentry, item, mode, item 308 fs/configfs/dir.c item->ci_dentry = dentry; item 407 fs/configfs/dir.c static void configfs_remove_dir(struct config_item * item) item 409 fs/configfs/dir.c struct dentry * dentry = dget(item->ci_dentry); item 567 fs/configfs/dir.c static void detach_attrs(struct config_item * item) item 569 fs/configfs/dir.c struct dentry * dentry = dget(item->ci_dentry); item 596 fs/configfs/dir.c static int populate_attrs(struct config_item *item) item 598 fs/configfs/dir.c const struct config_item_type *t = item->ci_type; item 608 fs/configfs/dir.c if ((error = configfs_create_file(item, attr))) item 614 fs/configfs/dir.c error = configfs_create_bin_file(item, bin_attr); item 621 fs/configfs/dir.c detach_attrs(item); item 627 fs/configfs/dir.c struct config_item *item, item 630 fs/configfs/dir.c static void configfs_detach_group(struct config_item *item); item 741 fs/configfs/dir.c static void unlink_obj(struct config_item *item) item 745 fs/configfs/dir.c group = item->ci_group; item 747 fs/configfs/dir.c list_del_init(&item->ci_entry); item 749 fs/configfs/dir.c item->ci_group = NULL; item 750 fs/configfs/dir.c item->ci_parent = NULL; item 753 fs/configfs/dir.c config_item_put(item); item 760 fs/configfs/dir.c static void link_obj(struct config_item *parent_item, struct config_item *item) item 766 fs/configfs/dir.c item->ci_parent = parent_item; item 772 fs/configfs/dir.c item->ci_group = config_group_get(to_config_group(parent_item)); item 773 fs/configfs/dir.c list_add_tail(&item->ci_entry, &item->ci_group->cg_children); item 779 fs/configfs/dir.c config_item_get(item); item 828 fs/configfs/dir.c struct config_item *item, item 834 fs/configfs/dir.c ret = configfs_create_dir(item, dentry, frag); item 836 fs/configfs/dir.c ret = populate_attrs(item); item 844 fs/configfs/dir.c configfs_remove_dir(item); item 856 fs/configfs/dir.c static void configfs_detach_item(struct config_item *item) item 858 fs/configfs/dir.c detach_attrs(item); item 859 fs/configfs/dir.c configfs_remove_dir(item); item 863 fs/configfs/dir.c struct config_item *item, item 870 fs/configfs/dir.c ret = configfs_attach_item(parent_item, item, dentry, frag); item 886 fs/configfs/dir.c ret = populate_groups(to_config_group(item), frag); item 888 fs/configfs/dir.c configfs_detach_item(item); item 902 fs/configfs/dir.c static void configfs_detach_group(struct config_item *item) item 904 fs/configfs/dir.c detach_groups(to_config_group(item)); item 905 fs/configfs/dir.c configfs_detach_item(item); item 918 fs/configfs/dir.c struct config_item *item) item 927 fs/configfs/dir.c item); item 937 fs/configfs/dir.c struct config_item *item) item 950 fs/configfs/dir.c item); item 952 fs/configfs/dir.c config_item_put(item); item 1275 fs/configfs/dir.c struct config_item *item = NULL; item 1349 fs/configfs/dir.c item = &group->cg_item; item 1353 fs/configfs/dir.c item = type->ct_group_ops->make_item(to_config_group(parent_item), name); item 1354 fs/configfs/dir.c if (!item) item 1355 fs/configfs/dir.c item = ERR_PTR(-ENOMEM); item 1356 fs/configfs/dir.c if (!IS_ERR(item)) item 1357 fs/configfs/dir.c link_obj(parent_item, item); item 1359 fs/configfs/dir.c ret = PTR_ERR(item); item 1377 fs/configfs/dir.c type = item->ci_type; item 1408 fs/configfs/dir.c ret = configfs_attach_group(parent_item, item, dentry, frag); item 1410 fs/configfs/dir.c ret = configfs_attach_item(parent_item, item, dentry, frag); item 1423 fs/configfs/dir.c client_disconnect_notify(parent_item, item); item 1427 fs/configfs/dir.c unlink_obj(item); item 1428 fs/configfs/dir.c client_drop_item(parent_item, item); item 1456 fs/configfs/dir.c struct config_item *item; item 1529 fs/configfs/dir.c item = configfs_get_config_item(dentry); item 1534 fs/configfs/dir.c if (item->ci_type) item 1535 fs/configfs/dir.c dead_item_owner = item->ci_type->ct_owner; item 1538 fs/configfs/dir.c configfs_detach_group(item); item 1541 fs/configfs/dir.c client_disconnect_notify(parent_item, item); item 1542 fs/configfs/dir.c unlink_group(to_config_group(item)); item 1544 fs/configfs/dir.c configfs_detach_item(item); item 1547 fs/configfs/dir.c client_disconnect_notify(parent_item, item); item 1548 fs/configfs/dir.c unlink_obj(item); item 1551 fs/configfs/dir.c client_drop_item(parent_item, item); item 1555 fs/configfs/dir.c config_item_put(item); item 43 fs/configfs/file.c struct config_item *item; item 70 fs/configfs/file.c count = buffer->attr->show(buffer->item, buffer->page); item 164 fs/configfs/file.c len = buffer->bin_attr->read(buffer->item, NULL, 0); item 189 fs/configfs/file.c len = buffer->bin_attr->read(buffer->item, item 251 fs/configfs/file.c res = buffer->attr->store(buffer->item, buffer->page, count); item 375 fs/configfs/file.c buffer->item = to_item(dentry->d_parent); item 376 fs/configfs/file.c if (!buffer->item) item 397 fs/configfs/file.c if (!buffer->item->ci_type) item 400 fs/configfs/file.c buffer->ops = buffer->item->ci_type->ct_item_ops; item 439 fs/configfs/file.c config_item_put(buffer->item); item 482 fs/configfs/file.c buffer->bin_attr->write(buffer->item, item 521 fs/configfs/file.c int configfs_create_file(struct config_item * item, const struct configfs_attribute * attr) item 523 fs/configfs/file.c struct dentry *dir = item->ci_dentry; item 542 fs/configfs/file.c int configfs_create_bin_file(struct config_item *item, item 545 fs/configfs/file.c struct dentry *dir = item->ci_dentry; item 36 fs/configfs/item.c static void config_item_init(struct config_item *item) item 38 fs/configfs/item.c kref_init(&item->ci_kref); item 39 fs/configfs/item.c INIT_LIST_HEAD(&item->ci_entry); item 51 fs/configfs/item.c int config_item_set_name(struct config_item *item, const char *fmt, ...) item 62 fs/configfs/item.c need = vsnprintf(item->ci_namebuf, limit, fmt, args); item 65 fs/configfs/item.c name = item->ci_namebuf; item 75 fs/configfs/item.c if (item->ci_name && item->ci_name != item->ci_namebuf) item 76 fs/configfs/item.c kfree(item->ci_name); item 79 fs/configfs/item.c item->ci_name = name; item 84 fs/configfs/item.c void config_item_init_type_name(struct config_item *item, item 88 fs/configfs/item.c config_item_set_name(item, "%s", name); item 89 fs/configfs/item.c item->ci_type = type; item 90 fs/configfs/item.c config_item_init(item); item 103 fs/configfs/item.c struct config_item *config_item_get(struct config_item *item) item 105 fs/configfs/item.c if (item) item 106 fs/configfs/item.c kref_get(&item->ci_kref); item 107 fs/configfs/item.c return item; item 111 fs/configfs/item.c struct config_item *config_item_get_unless_zero(struct config_item *item) item 113 fs/configfs/item.c if (item && kref_get_unless_zero(&item->ci_kref)) item 114 fs/configfs/item.c return item; item 119 fs/configfs/item.c static void config_item_cleanup(struct config_item *item) item 121 fs/configfs/item.c const struct config_item_type *t = item->ci_type; item 122 fs/configfs/item.c struct config_group *s = item->ci_group; item 123 fs/configfs/item.c struct config_item *parent = item->ci_parent; item 125 fs/configfs/item.c pr_debug("config_item %s: cleaning up\n", config_item_name(item)); item 126 fs/configfs/item.c if (item->ci_name != item->ci_namebuf) item 127 fs/configfs/item.c kfree(item->ci_name); item 128 fs/configfs/item.c item->ci_name = NULL; item 130 fs/configfs/item.c t->ct_item_ops->release(item); item 148 fs/configfs/item.c void config_item_put(struct config_item *item) item 150 fs/configfs/item.c if (item) item 151 fs/configfs/item.c kref_put(&item->ci_kref, config_item_release); item 183 fs/configfs/item.c struct config_item *item = to_item(entry); item 184 fs/configfs/item.c if (config_item_name(item) && item 185 fs/configfs/item.c !strcmp(config_item_name(item), name)) { item 186 fs/configfs/item.c ret = config_item_get(item); item 52 fs/configfs/mount.c int configfs_is_root(struct config_item *item) item 54 fs/configfs/mount.c return item == &configfs_root_group.cg_item; item 24 fs/configfs/symlink.c static int item_depth(struct config_item * item) item 26 fs/configfs/symlink.c struct config_item * p = item; item 32 fs/configfs/symlink.c static int item_path_length(struct config_item * item) item 34 fs/configfs/symlink.c struct config_item * p = item; item 43 fs/configfs/symlink.c static void fill_item_path(struct config_item * item, char * buffer, int length) item 48 fs/configfs/symlink.c for (p = item; p && !configfs_is_root(p); p = p->ci_parent) { item 58 fs/configfs/symlink.c static int configfs_get_target_path(struct config_item *item, item 64 fs/configfs/symlink.c depth = item_depth(item); item 80 fs/configfs/symlink.c struct config_item *item, item 83 fs/configfs/symlink.c struct configfs_dirent *target_sd = item->ci_dentry->d_fsdata; item 104 fs/configfs/symlink.c ret = configfs_get_target_path(parent_item, item, body); item 1124 fs/dcache.c static enum lru_status dentry_lru_isolate(struct list_head *item, item 1128 fs/dcache.c struct dentry *dentry = container_of(item, struct dentry, d_lru); item 1205 fs/dcache.c static enum lru_status dentry_lru_isolate_shrink(struct list_head *item, item 1209 fs/dcache.c struct dentry *dentry = container_of(item, struct dentry, d_lru); item 106 fs/dlm/config.c static ssize_t cluster_cluster_name_show(struct config_item *item, char *buf) item 108 fs/dlm/config.c struct dlm_cluster *cl = config_item_to_cluster(item); item 112 fs/dlm/config.c static ssize_t cluster_cluster_name_store(struct config_item *item, item 115 fs/dlm/config.c struct dlm_cluster *cl = config_item_to_cluster(item); item 148 fs/dlm/config.c static ssize_t cluster_##name##_store(struct config_item *item, \ item 151 fs/dlm/config.c struct dlm_cluster *cl = config_item_to_cluster(item); \ item 155 fs/dlm/config.c static ssize_t cluster_##name##_show(struct config_item *item, char *buf) \ item 157 fs/dlm/config.c struct dlm_cluster *cl = config_item_to_cluster(item); \ item 226 fs/dlm/config.c struct config_item item; item 239 fs/dlm/config.c struct config_item item; item 334 fs/dlm/config.c return i ? container_of(i, struct dlm_comm, item) : NULL; item 339 fs/dlm/config.c return i ? container_of(i, struct dlm_node, item) : NULL; item 459 fs/dlm/config.c config_item_init_type_name(&cm->item, name, &comm_type); item 468 fs/dlm/config.c return &cm->item; item 497 fs/dlm/config.c config_item_init_type_name(&nd->item, name, &node_type); item 507 fs/dlm/config.c return &nd->item; item 556 fs/dlm/config.c static ssize_t comm_nodeid_show(struct config_item *item, char *buf) item 558 fs/dlm/config.c return sprintf(buf, "%d\n", config_item_to_comm(item)->nodeid); item 561 fs/dlm/config.c static ssize_t comm_nodeid_store(struct config_item *item, const char *buf, item 564 fs/dlm/config.c int rc = kstrtoint(buf, 0, &config_item_to_comm(item)->nodeid); item 571 fs/dlm/config.c static ssize_t comm_local_show(struct config_item *item, char *buf) item 573 fs/dlm/config.c return sprintf(buf, "%d\n", config_item_to_comm(item)->local); item 576 fs/dlm/config.c static ssize_t comm_local_store(struct config_item *item, const char *buf, item 579 fs/dlm/config.c struct dlm_comm *cm = config_item_to_comm(item); item 589 fs/dlm/config.c static ssize_t comm_addr_store(struct config_item *item, const char *buf, item 592 fs/dlm/config.c struct dlm_comm *cm = config_item_to_comm(item); item 618 fs/dlm/config.c static ssize_t comm_addr_list_show(struct config_item *item, char *buf) item 620 fs/dlm/config.c struct dlm_comm *cm = config_item_to_comm(item); item 676 fs/dlm/config.c static ssize_t node_nodeid_show(struct config_item *item, char *buf) item 678 fs/dlm/config.c return sprintf(buf, "%d\n", config_item_to_node(item)->nodeid); item 681 fs/dlm/config.c static ssize_t node_nodeid_store(struct config_item *item, const char *buf, item 684 fs/dlm/config.c struct dlm_node *nd = config_item_to_node(item); item 695 fs/dlm/config.c static ssize_t node_weight_show(struct config_item *item, char *buf) item 697 fs/dlm/config.c return sprintf(buf, "%d\n", config_item_to_node(item)->weight); item 700 fs/dlm/config.c static ssize_t node_weight_store(struct config_item *item, const char *buf, item 703 fs/dlm/config.c int rc = kstrtoint(buf, 0, &config_item_to_node(item)->weight); item 771 fs/dlm/config.c config_item_put(&cm->item); item 2259 fs/f2fs/f2fs.h unsigned long index, void *item) item 2261 fs/f2fs/f2fs.h while (radix_tree_insert(root, index, item)) item 145 fs/gfs2/quota.c static enum lru_status gfs2_qd_isolate(struct list_head *item, item 149 fs/gfs2/quota.c struct gfs2_quota_data *qd = list_entry(item, struct gfs2_quota_data, qd_lru); item 732 fs/inode.c static enum lru_status inode_lru_isolate(struct list_head *item, item 736 fs/inode.c struct inode *inode = container_of(item, struct inode, i_lru); item 63 fs/jffs2/summary.c static int jffs2_sum_add_mem(struct jffs2_summary *s, union jffs2_sum_mem *item) item 66 fs/jffs2/summary.c s->sum_list_head = (union jffs2_sum_mem *) item; item 68 fs/jffs2/summary.c s->sum_list_tail->u.next = (union jffs2_sum_mem *) item; item 69 fs/jffs2/summary.c s->sum_list_tail = (union jffs2_sum_mem *) item; item 71 fs/jffs2/summary.c switch (je16_to_cpu(item->u.nodetype)) { item 76 fs/jffs2/summary.c je32_to_cpu(item->i.inode)); item 79 fs/jffs2/summary.c s->sum_size += JFFS2_SUMMARY_DIRENT_SIZE(item->d.nsize); item 82 fs/jffs2/summary.c je32_to_cpu(item->d.ino)); item 89 fs/jffs2/summary.c je32_to_cpu(item->x.xid), je32_to_cpu(item->x.version)); item 99 fs/jffs2/summary.c je16_to_cpu(item->u.nodetype)); item 108 fs/nfs/dns_resolve.c struct nfs_dns_ent *item; item 110 fs/nfs/dns_resolve.c item = container_of(head, struct nfs_dns_ent, rcu_head); item 111 fs/nfs/dns_resolve.c kfree(item->hostname); item 112 fs/nfs/dns_resolve.c kfree(item); item 117 fs/nfs/dns_resolve.c struct nfs_dns_ent *item; item 119 fs/nfs/dns_resolve.c item = container_of(ref, struct nfs_dns_ent, h.ref); item 120 fs/nfs/dns_resolve.c call_rcu(&item->rcu_head, nfs_dns_ent_free_rcu); item 125 fs/nfs/dns_resolve.c struct nfs_dns_ent *item = kmalloc(sizeof(*item), GFP_KERNEL); item 127 fs/nfs/dns_resolve.c if (item != NULL) { item 128 fs/nfs/dns_resolve.c item->hostname = NULL; item 129 fs/nfs/dns_resolve.c item->namelen = 0; item 130 fs/nfs/dns_resolve.c item->addrlen = 0; item 131 fs/nfs/dns_resolve.c return &item->h; item 180 fs/nfs/dns_resolve.c struct nfs_dns_ent *item; item 187 fs/nfs/dns_resolve.c item = container_of(h, struct nfs_dns_ent, h); item 188 fs/nfs/dns_resolve.c ttl = item->h.expiry_time - seconds_since_boot(); item 195 fs/nfs/dns_resolve.c rpc_ntop((struct sockaddr *)&item->addr, buf, sizeof(buf)); item 199 fs/nfs/dns_resolve.c seq_printf(m, "%15s %ld\n", item->hostname, ttl); item 233 fs/nfs/dns_resolve.c struct nfs_dns_ent key, *item; item 264 fs/nfs/dns_resolve.c item = nfs_dns_lookup(cd, &key); item 265 fs/nfs/dns_resolve.c if (item == NULL) item 271 fs/nfs/dns_resolve.c item = nfs_dns_update(cd, &key, item); item 272 fs/nfs/dns_resolve.c if (item == NULL) item 276 fs/nfs/dns_resolve.c cache_put(&item->h, cd); item 283 fs/nfs/dns_resolve.c struct nfs_dns_ent **item, item 288 fs/nfs/dns_resolve.c *item = nfs_dns_lookup(cd, key); item 289 fs/nfs/dns_resolve.c if (*item) { item 290 fs/nfs/dns_resolve.c ret = cache_check(cd, &(*item)->h, &dreq->req); item 292 fs/nfs/dns_resolve.c *item = NULL; item 299 fs/nfs/dns_resolve.c struct nfs_dns_ent **item) item 303 fs/nfs/dns_resolve.c *item = nfs_dns_lookup(cd, key); item 304 fs/nfs/dns_resolve.c if (!*item) item 307 fs/nfs/dns_resolve.c if (!test_bit(CACHE_VALID, &(*item)->h.flags) item 308 fs/nfs/dns_resolve.c || (*item)->h.expiry_time < seconds_since_boot() item 309 fs/nfs/dns_resolve.c || cd->flush_time > (*item)->h.last_refresh) item 312 fs/nfs/dns_resolve.c if (test_bit(CACHE_NEGATIVE, &(*item)->h.flags)) item 316 fs/nfs/dns_resolve.c cache_put(&(*item)->h, cd); item 318 fs/nfs/dns_resolve.c *item = NULL; item 324 fs/nfs/dns_resolve.c struct nfs_dns_ent **item) item 332 fs/nfs/dns_resolve.c ret = do_cache_lookup(cd, key, item, dreq); item 336 fs/nfs/dns_resolve.c ret = do_cache_lookup_nowait(cd, key, item); item 350 fs/nfs/dns_resolve.c struct nfs_dns_ent *item = NULL; item 354 fs/nfs/dns_resolve.c ret = do_cache_lookup_wait(nn->nfs_dns_resolve, &key, &item); item 356 fs/nfs/dns_resolve.c if (salen >= item->addrlen) { item 357 fs/nfs/dns_resolve.c memcpy(sa, &item->addr, item->addrlen); item 358 fs/nfs/dns_resolve.c ret = item->addrlen; item 361 fs/nfs/dns_resolve.c cache_put(&item->h, nn->nfs_dns_resolve); item 208 fs/nfsd/export.c struct svc_expkey *item = container_of(citem, struct svc_expkey, h); item 210 fs/nfsd/export.c kref_get(&item->ek_client->ref); item 211 fs/nfsd/export.c new->ek_client = item->ek_client; item 212 fs/nfsd/export.c new->ek_fsidtype = item->ek_fsidtype; item 214 fs/nfsd/export.c memcpy(new->ek_fsid, item->ek_fsid, sizeof(new->ek_fsid)); item 221 fs/nfsd/export.c struct svc_expkey *item = container_of(citem, struct svc_expkey, h); item 223 fs/nfsd/export.c new->ek_path = item->ek_path; item 224 fs/nfsd/export.c path_get(&item->ek_path); item 263 fs/nfsd/export.c svc_expkey_hash(struct svc_expkey *item) item 265 fs/nfsd/export.c int hash = item->ek_fsidtype; item 266 fs/nfsd/export.c char * cp = (char*)item->ek_fsid; item 267 fs/nfsd/export.c int len = key_len(item->ek_fsidtype); item 270 fs/nfsd/export.c hash ^= hash_ptr(item->ek_client, EXPKEY_HASHBITS); item 276 fs/nfsd/export.c svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *item) item 279 fs/nfsd/export.c int hash = svc_expkey_hash(item); item 281 fs/nfsd/export.c ch = sunrpc_cache_lookup_rcu(cd, &item->h, hash); item 715 fs/nfsd/export.c struct svc_export *item = container_of(citem, struct svc_export, h); item 717 fs/nfsd/export.c kref_get(&item->ex_client->ref); item 718 fs/nfsd/export.c new->ex_client = item->ex_client; item 719 fs/nfsd/export.c new->ex_path = item->ex_path; item 720 fs/nfsd/export.c path_get(&item->ex_path); item 726 fs/nfsd/export.c new->cd = item->cd; item 732 fs/nfsd/export.c struct svc_export *item = container_of(citem, struct svc_export, h); item 735 fs/nfsd/export.c new->ex_flags = item->ex_flags; item 736 fs/nfsd/export.c new->ex_anon_uid = item->ex_anon_uid; item 737 fs/nfsd/export.c new->ex_anon_gid = item->ex_anon_gid; item 738 fs/nfsd/export.c new->ex_fsid = item->ex_fsid; item 739 fs/nfsd/export.c new->ex_devid_map = item->ex_devid_map; item 740 fs/nfsd/export.c item->ex_devid_map = NULL; item 741 fs/nfsd/export.c new->ex_uuid = item->ex_uuid; item 742 fs/nfsd/export.c item->ex_uuid = NULL; item 743 fs/nfsd/export.c new->ex_fslocs.locations = item->ex_fslocs.locations; item 744 fs/nfsd/export.c item->ex_fslocs.locations = NULL; item 745 fs/nfsd/export.c new->ex_fslocs.locations_count = item->ex_fslocs.locations_count; item 746 fs/nfsd/export.c item->ex_fslocs.locations_count = 0; item 747 fs/nfsd/export.c new->ex_fslocs.migrated = item->ex_fslocs.migrated; item 748 fs/nfsd/export.c item->ex_fslocs.migrated = 0; item 749 fs/nfsd/export.c new->ex_layout_types = item->ex_layout_types; item 750 fs/nfsd/export.c new->ex_nflavors = item->ex_nflavors; item 752 fs/nfsd/export.c new->ex_flavors[i] = item->ex_flavors[i]; item 360 fs/nfsd/filecache.c nfsd_file_lru_cb(struct list_head *item, struct list_lru_one *lru, item 366 fs/nfsd/filecache.c struct nfsd_file *nf = list_entry(item, struct nfsd_file, nf_lru); item 266 fs/nfsd/nfs4idmap.c idtoname_lookup(struct cache_detail *cd, struct ent *item) item 268 fs/nfsd/nfs4idmap.c struct cache_head *ch = sunrpc_cache_lookup_rcu(cd, &item->h, item 269 fs/nfsd/nfs4idmap.c idtoname_hash(item)); item 424 fs/nfsd/nfs4idmap.c nametoid_lookup(struct cache_detail *cd, struct ent *item) item 426 fs/nfsd/nfs4idmap.c struct cache_head *ch = sunrpc_cache_lookup_rcu(cd, &item->h, item 427 fs/nfsd/nfs4idmap.c nametoid_hash(item)); item 494 fs/nfsd/nfs4idmap.c struct ent *key, struct cache_detail *detail, struct ent **item) item 498 fs/nfsd/nfs4idmap.c *item = lookup_fn(detail, key); item 499 fs/nfsd/nfs4idmap.c if (!*item) item 502 fs/nfsd/nfs4idmap.c ret = cache_check(detail, &(*item)->h, &rqstp->rq_chandle); item 505 fs/nfsd/nfs4idmap.c struct ent *prev_item = *item; item 506 fs/nfsd/nfs4idmap.c *item = lookup_fn(detail, key); item 507 fs/nfsd/nfs4idmap.c if (*item != prev_item) item 509 fs/nfsd/nfs4idmap.c cache_put(&(*item)->h, detail); item 527 fs/nfsd/nfs4idmap.c struct ent *item, key = { item 538 fs/nfsd/nfs4idmap.c ret = idmap_lookup(rqstp, nametoid_lookup, &key, nn->nametoid_cache, &item); item 543 fs/nfsd/nfs4idmap.c *id = item->id; item 544 fs/nfsd/nfs4idmap.c cache_put(&item->h, nn->nametoid_cache); item 565 fs/nfsd/nfs4idmap.c struct ent *item, key = { item 574 fs/nfsd/nfs4idmap.c ret = idmap_lookup(rqstp, idtoname_lookup, &key, nn->idtoname_cache, &item); item 579 fs/nfsd/nfs4idmap.c ret = strlen(item->name); item 584 fs/nfsd/nfs4idmap.c p = xdr_encode_opaque(p, item->name, ret); item 585 fs/nfsd/nfs4idmap.c cache_put(&item->h, nn->idtoname_cache); item 6462 fs/ocfs2/alloc.c struct ocfs2_cached_block_free *item; item 6464 fs/ocfs2/alloc.c item = kzalloc(sizeof(*item), GFP_NOFS); item 6465 fs/ocfs2/alloc.c if (item == NULL) { item 6473 fs/ocfs2/alloc.c item->free_blk = blkno; item 6474 fs/ocfs2/alloc.c item->free_bit = bit; item 6475 fs/ocfs2/alloc.c item->free_next = ctxt->c_global_allocator; item 6477 fs/ocfs2/alloc.c ctxt->c_global_allocator = item; item 6756 fs/ocfs2/alloc.c struct ocfs2_cached_block_free *item; item 6765 fs/ocfs2/alloc.c item = kzalloc(sizeof(*item), GFP_NOFS); item 6766 fs/ocfs2/alloc.c if (item == NULL) { item 6776 fs/ocfs2/alloc.c item->free_bg = suballoc; item 6777 fs/ocfs2/alloc.c item->free_blk = blkno; item 6778 fs/ocfs2/alloc.c item->free_bit = bit; item 6779 fs/ocfs2/alloc.c item->free_next = fl->f_first; item 6781 fs/ocfs2/alloc.c fl->f_first = item; item 1491 fs/ocfs2/cluster/heartbeat.c static struct o2hb_region *to_o2hb_region(struct config_item *item) item 1493 fs/ocfs2/cluster/heartbeat.c return item ? container_of(item, struct o2hb_region, hr_item) : NULL; item 1499 fs/ocfs2/cluster/heartbeat.c static void o2hb_region_release(struct config_item *item) item 1503 fs/ocfs2/cluster/heartbeat.c struct o2hb_region *reg = to_o2hb_region(item); item 1563 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_region_block_bytes_show(struct config_item *item, item 1566 fs/ocfs2/cluster/heartbeat.c return sprintf(page, "%u\n", to_o2hb_region(item)->hr_block_bytes); item 1569 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_region_block_bytes_store(struct config_item *item, item 1573 fs/ocfs2/cluster/heartbeat.c struct o2hb_region *reg = to_o2hb_region(item); item 1592 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_region_start_block_show(struct config_item *item, item 1595 fs/ocfs2/cluster/heartbeat.c return sprintf(page, "%llu\n", to_o2hb_region(item)->hr_start_block); item 1598 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_region_start_block_store(struct config_item *item, item 1602 fs/ocfs2/cluster/heartbeat.c struct o2hb_region *reg = to_o2hb_region(item); item 1618 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_region_blocks_show(struct config_item *item, char *page) item 1620 fs/ocfs2/cluster/heartbeat.c return sprintf(page, "%d\n", to_o2hb_region(item)->hr_blocks); item 1623 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_region_blocks_store(struct config_item *item, item 1627 fs/ocfs2/cluster/heartbeat.c struct o2hb_region *reg = to_o2hb_region(item); item 1646 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_region_dev_show(struct config_item *item, char *page) item 1650 fs/ocfs2/cluster/heartbeat.c if (to_o2hb_region(item)->hr_bdev) item 1651 fs/ocfs2/cluster/heartbeat.c ret = sprintf(page, "%s\n", to_o2hb_region(item)->hr_dev_name); item 1761 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_region_dev_store(struct config_item *item, item 1765 fs/ocfs2/cluster/heartbeat.c struct o2hb_region *reg = to_o2hb_region(item); item 1927 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_region_pid_show(struct config_item *item, char *page) item 1929 fs/ocfs2/cluster/heartbeat.c struct o2hb_region *reg = to_o2hb_region(item); item 2076 fs/ocfs2/cluster/heartbeat.c struct config_item *item) item 2079 fs/ocfs2/cluster/heartbeat.c struct o2hb_region *reg = to_o2hb_region(item); item 2102 fs/ocfs2/cluster/heartbeat.c "stopped" : "start aborted"), config_item_name(item), item 2116 fs/ocfs2/cluster/heartbeat.c config_item_put(item); item 2138 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_heartbeat_group_dead_threshold_show(struct config_item *item, item 2144 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_heartbeat_group_dead_threshold_store(struct config_item *item, item 2160 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_heartbeat_group_mode_show(struct config_item *item, item 2167 fs/ocfs2/cluster/heartbeat.c static ssize_t o2hb_heartbeat_group_mode_store(struct config_item *item, item 145 fs/ocfs2/cluster/nodemanager.c static struct o2nm_cluster *to_o2nm_cluster(struct config_item *item) item 147 fs/ocfs2/cluster/nodemanager.c return item ? item 148 fs/ocfs2/cluster/nodemanager.c container_of(to_config_group(item), struct o2nm_cluster, item 153 fs/ocfs2/cluster/nodemanager.c static struct o2nm_node *to_o2nm_node(struct config_item *item) item 155 fs/ocfs2/cluster/nodemanager.c return item ? container_of(item, struct o2nm_node, nd_item) : NULL; item 158 fs/ocfs2/cluster/nodemanager.c static void o2nm_node_release(struct config_item *item) item 160 fs/ocfs2/cluster/nodemanager.c struct o2nm_node *node = to_o2nm_node(item); item 164 fs/ocfs2/cluster/nodemanager.c static ssize_t o2nm_node_num_show(struct config_item *item, char *page) item 166 fs/ocfs2/cluster/nodemanager.c return sprintf(page, "%d\n", to_o2nm_node(item)->nd_num); item 185 fs/ocfs2/cluster/nodemanager.c static ssize_t o2nm_node_num_store(struct config_item *item, const char *page, item 188 fs/ocfs2/cluster/nodemanager.c struct o2nm_node *node = to_o2nm_node(item); item 235 fs/ocfs2/cluster/nodemanager.c static ssize_t o2nm_node_ipv4_port_show(struct config_item *item, char *page) item 237 fs/ocfs2/cluster/nodemanager.c return sprintf(page, "%u\n", ntohs(to_o2nm_node(item)->nd_ipv4_port)); item 240 fs/ocfs2/cluster/nodemanager.c static ssize_t o2nm_node_ipv4_port_store(struct config_item *item, item 243 fs/ocfs2/cluster/nodemanager.c struct o2nm_node *node = to_o2nm_node(item); item 263 fs/ocfs2/cluster/nodemanager.c static ssize_t o2nm_node_ipv4_address_show(struct config_item *item, char *page) item 265 fs/ocfs2/cluster/nodemanager.c return sprintf(page, "%pI4\n", &to_o2nm_node(item)->nd_ipv4_address); item 268 fs/ocfs2/cluster/nodemanager.c static ssize_t o2nm_node_ipv4_address_store(struct config_item *item, item 272 fs/ocfs2/cluster/nodemanager.c struct o2nm_node *node = to_o2nm_node(item); item 319 fs/ocfs2/cluster/nodemanager.c static ssize_t o2nm_node_local_show(struct config_item *item, char *page) item 321 fs/ocfs2/cluster/nodemanager.c return sprintf(page, "%d\n", to_o2nm_node(item)->nd_local); item 324 fs/ocfs2/cluster/nodemanager.c static ssize_t o2nm_node_local_store(struct config_item *item, const char *page, item 327 fs/ocfs2/cluster/nodemanager.c struct o2nm_node *node = to_o2nm_node(item); item 446 fs/ocfs2/cluster/nodemanager.c static ssize_t o2nm_cluster_idle_timeout_ms_show(struct config_item *item, item 449 fs/ocfs2/cluster/nodemanager.c return sprintf(page, "%u\n", to_o2nm_cluster(item)->cl_idle_timeout_ms); item 452 fs/ocfs2/cluster/nodemanager.c static ssize_t o2nm_cluster_idle_timeout_ms_store(struct config_item *item, item 455 fs/ocfs2/cluster/nodemanager.c struct o2nm_cluster *cluster = to_o2nm_cluster(item); item 483 fs/ocfs2/cluster/nodemanager.c struct config_item *item, char *page) item 486 fs/ocfs2/cluster/nodemanager.c to_o2nm_cluster(item)->cl_keepalive_delay_ms); item 490 fs/ocfs2/cluster/nodemanager.c struct config_item *item, const char *page, size_t count) item 492 fs/ocfs2/cluster/nodemanager.c struct o2nm_cluster *cluster = to_o2nm_cluster(item); item 520 fs/ocfs2/cluster/nodemanager.c struct config_item *item, char *page) item 523 fs/ocfs2/cluster/nodemanager.c to_o2nm_cluster(item)->cl_reconnect_delay_ms); item 527 fs/ocfs2/cluster/nodemanager.c struct config_item *item, const char *page, size_t count) item 530 fs/ocfs2/cluster/nodemanager.c &to_o2nm_cluster(item)->cl_reconnect_delay_ms); item 534 fs/ocfs2/cluster/nodemanager.c struct config_item *item, char *page) item 536 fs/ocfs2/cluster/nodemanager.c struct o2nm_cluster *cluster = to_o2nm_cluster(item); item 546 fs/ocfs2/cluster/nodemanager.c struct config_item *item, const char *page, size_t count) item 558 fs/ocfs2/cluster/nodemanager.c if (to_o2nm_cluster(item)->cl_fence_method != i) { item 561 fs/ocfs2/cluster/nodemanager.c to_o2nm_cluster(item)->cl_fence_method = i; item 605 fs/ocfs2/cluster/nodemanager.c struct config_item *item) item 607 fs/ocfs2/cluster/nodemanager.c struct o2nm_node *node = to_o2nm_node(item); item 639 fs/ocfs2/cluster/nodemanager.c config_item_put(item); item 654 fs/ocfs2/cluster/nodemanager.c static void o2nm_cluster_release(struct config_item *item) item 656 fs/ocfs2/cluster/nodemanager.c struct o2nm_cluster *cluster = to_o2nm_cluster(item); item 734 fs/ocfs2/cluster/nodemanager.c static void o2nm_cluster_group_drop_item(struct config_group *group, struct config_item *item) item 736 fs/ocfs2/cluster/nodemanager.c struct o2nm_cluster *cluster = to_o2nm_cluster(item); item 742 fs/ocfs2/cluster/nodemanager.c config_item_put(item); item 776 fs/ocfs2/cluster/nodemanager.c int o2nm_depend_item(struct config_item *item) item 778 fs/ocfs2/cluster/nodemanager.c return configfs_depend_item(&o2nm_cluster_group.cs_subsys, item); item 781 fs/ocfs2/cluster/nodemanager.c void o2nm_undepend_item(struct config_item *item) item 783 fs/ocfs2/cluster/nodemanager.c configfs_undepend_item(item); item 68 fs/ocfs2/cluster/nodemanager.h int o2nm_depend_item(struct config_item *item); item 69 fs/ocfs2/cluster/nodemanager.h void o2nm_undepend_item(struct config_item *item); item 49 fs/ocfs2/dlm/dlmmaster.c static void dlm_assert_master_worker(struct dlm_work_item *item, void *data); item 53 fs/ocfs2/dlm/dlmmaster.c static void dlm_deref_lockres_worker(struct dlm_work_item *item, void *data); item 2055 fs/ocfs2/dlm/dlmmaster.c struct dlm_work_item *item; item 2056 fs/ocfs2/dlm/dlmmaster.c item = kzalloc(sizeof(*item), GFP_ATOMIC); item 2057 fs/ocfs2/dlm/dlmmaster.c if (!item) item 2062 fs/ocfs2/dlm/dlmmaster.c dlm_init_work_item(dlm, item, dlm_assert_master_worker, NULL); item 2063 fs/ocfs2/dlm/dlmmaster.c item->u.am.lockres = res; /* already have a ref */ item 2065 fs/ocfs2/dlm/dlmmaster.c item->u.am.ignore_higher = ignore_higher; item 2066 fs/ocfs2/dlm/dlmmaster.c item->u.am.request_from = request_from; item 2067 fs/ocfs2/dlm/dlmmaster.c item->u.am.flags = flags; item 2074 fs/ocfs2/dlm/dlmmaster.c list_add_tail(&item->list, &dlm->work_list); item 2081 fs/ocfs2/dlm/dlmmaster.c static void dlm_assert_master_worker(struct dlm_work_item *item, void *data) item 2092 fs/ocfs2/dlm/dlmmaster.c dlm = item->dlm; item 2093 fs/ocfs2/dlm/dlmmaster.c res = item->u.am.lockres; item 2094 fs/ocfs2/dlm/dlmmaster.c ignore_higher = item->u.am.ignore_higher; item 2095 fs/ocfs2/dlm/dlmmaster.c request_from = item->u.am.request_from; item 2096 fs/ocfs2/dlm/dlmmaster.c flags = item->u.am.flags; item 2262 fs/ocfs2/dlm/dlmmaster.c struct dlm_work_item *item; item 2319 fs/ocfs2/dlm/dlmmaster.c item = kzalloc(sizeof(*item), GFP_NOFS); item 2320 fs/ocfs2/dlm/dlmmaster.c if (!item) { item 2326 fs/ocfs2/dlm/dlmmaster.c dlm_init_work_item(dlm, item, dlm_deref_lockres_worker, NULL); item 2327 fs/ocfs2/dlm/dlmmaster.c item->u.dl.deref_res = res; item 2328 fs/ocfs2/dlm/dlmmaster.c item->u.dl.deref_node = node; item 2331 fs/ocfs2/dlm/dlmmaster.c list_add_tail(&item->list, &dlm->work_list); item 2441 fs/ocfs2/dlm/dlmmaster.c static void dlm_deref_lockres_worker(struct dlm_work_item *item, void *data) item 2448 fs/ocfs2/dlm/dlmmaster.c dlm = item->dlm; item 2449 fs/ocfs2/dlm/dlmmaster.c res = item->u.dl.deref_res; item 2450 fs/ocfs2/dlm/dlmmaster.c node = item->u.dl.deref_node; item 76 fs/ocfs2/dlm/dlmrecovery.c static void dlm_request_all_locks_worker(struct dlm_work_item *item, item 78 fs/ocfs2/dlm/dlmrecovery.c static void dlm_mig_lockres_worker(struct dlm_work_item *item, void *data); item 142 fs/ocfs2/dlm/dlmrecovery.c struct dlm_work_item *item, *next; item 150 fs/ocfs2/dlm/dlmrecovery.c list_for_each_entry(item, &tmp_list, list) { item 155 fs/ocfs2/dlm/dlmrecovery.c list_for_each_entry_safe(item, next, &tmp_list, list) { item 156 fs/ocfs2/dlm/dlmrecovery.c workfunc = item->func; item 157 fs/ocfs2/dlm/dlmrecovery.c list_del_init(&item->list); item 161 fs/ocfs2/dlm/dlmrecovery.c BUG_ON(item->dlm != dlm); item 165 fs/ocfs2/dlm/dlmrecovery.c workfunc(item, item->data); item 168 fs/ocfs2/dlm/dlmrecovery.c kfree(item); item 828 fs/ocfs2/dlm/dlmrecovery.c struct dlm_work_item *item = NULL; item 844 fs/ocfs2/dlm/dlmrecovery.c item = kzalloc(sizeof(*item), GFP_NOFS); item 845 fs/ocfs2/dlm/dlmrecovery.c if (!item) { item 853 fs/ocfs2/dlm/dlmrecovery.c kfree(item); item 860 fs/ocfs2/dlm/dlmrecovery.c dlm_init_work_item(dlm, item, dlm_request_all_locks_worker, buf); item 861 fs/ocfs2/dlm/dlmrecovery.c item->u.ral.reco_master = lr->node_idx; item 862 fs/ocfs2/dlm/dlmrecovery.c item->u.ral.dead_node = lr->dead_node; item 864 fs/ocfs2/dlm/dlmrecovery.c list_add_tail(&item->list, &dlm->work_list); item 872 fs/ocfs2/dlm/dlmrecovery.c static void dlm_request_all_locks_worker(struct dlm_work_item *item, void *data) item 882 fs/ocfs2/dlm/dlmrecovery.c dlm = item->dlm; item 883 fs/ocfs2/dlm/dlmrecovery.c dead_node = item->u.ral.dead_node; item 884 fs/ocfs2/dlm/dlmrecovery.c reco_master = item->u.ral.reco_master; item 1364 fs/ocfs2/dlm/dlmrecovery.c struct dlm_work_item *item = NULL; item 1396 fs/ocfs2/dlm/dlmrecovery.c item = kzalloc(sizeof(*item), GFP_NOFS); item 1397 fs/ocfs2/dlm/dlmrecovery.c if (!buf || !item) item 1517 fs/ocfs2/dlm/dlmrecovery.c dlm_init_work_item(dlm, item, dlm_mig_lockres_worker, buf); item 1518 fs/ocfs2/dlm/dlmrecovery.c item->u.ml.lockres = res; /* already have a ref */ item 1519 fs/ocfs2/dlm/dlmrecovery.c item->u.ml.real_master = real_master; item 1520 fs/ocfs2/dlm/dlmrecovery.c item->u.ml.extra_ref = extra_refs; item 1522 fs/ocfs2/dlm/dlmrecovery.c list_add_tail(&item->list, &dlm->work_list); item 1534 fs/ocfs2/dlm/dlmrecovery.c kfree(item); item 1542 fs/ocfs2/dlm/dlmrecovery.c static void dlm_mig_lockres_worker(struct dlm_work_item *item, void *data) item 1551 fs/ocfs2/dlm/dlmrecovery.c dlm = item->dlm; item 1554 fs/ocfs2/dlm/dlmrecovery.c res = item->u.ml.lockres; item 1555 fs/ocfs2/dlm/dlmrecovery.c real_master = item->u.ml.real_master; item 1556 fs/ocfs2/dlm/dlmrecovery.c extra_ref = item->u.ml.extra_ref; item 1224 fs/ocfs2/journal.c struct ocfs2_la_recovery_item *item, *n; item 1236 fs/ocfs2/journal.c list_for_each_entry_safe(item, n, &tmp_la_list, lri_list) { item 1237 fs/ocfs2/journal.c list_del_init(&item->lri_list); item 1241 fs/ocfs2/journal.c la_dinode = item->lri_la_dinode; item 1242 fs/ocfs2/journal.c tl_dinode = item->lri_tl_dinode; item 1243 fs/ocfs2/journal.c qrec = item->lri_qrec; item 1244 fs/ocfs2/journal.c orphan_reco_type = item->lri_orphan_reco_type; item 1246 fs/ocfs2/journal.c trace_ocfs2_complete_recovery_slot(item->lri_slot, item 1269 fs/ocfs2/journal.c ret = ocfs2_recover_orphans(osb, item->lri_slot, item 1276 fs/ocfs2/journal.c item->lri_slot); item 1282 fs/ocfs2/journal.c kfree(item); item 1298 fs/ocfs2/journal.c struct ocfs2_la_recovery_item *item; item 1300 fs/ocfs2/journal.c item = kmalloc(sizeof(struct ocfs2_la_recovery_item), GFP_NOFS); item 1301 fs/ocfs2/journal.c if (!item) { item 1315 fs/ocfs2/journal.c INIT_LIST_HEAD(&item->lri_list); item 1316 fs/ocfs2/journal.c item->lri_la_dinode = la_dinode; item 1317 fs/ocfs2/journal.c item->lri_slot = slot_num; item 1318 fs/ocfs2/journal.c item->lri_tl_dinode = tl_dinode; item 1319 fs/ocfs2/journal.c item->lri_qrec = qrec; item 1320 fs/ocfs2/journal.c item->lri_orphan_reco_type = orphan_reco_type; item 1323 fs/ocfs2/journal.c list_add_tail(&item->lri_list, &journal->j_la_cleanups); item 2731 fs/ocfs2/ocfs2_trace.h TP_PROTO(int index, void *item), item 2732 fs/ocfs2/ocfs2_trace.h TP_ARGS(index, item), item 2735 fs/ocfs2/ocfs2_trace.h __field(void *, item) item 2739 fs/ocfs2/ocfs2_trace.h __entry->item = item; item 2741 fs/ocfs2/ocfs2_trace.h TP_printk("%d %p", __entry->index, __entry->item) item 135 fs/ocfs2/uptodate.c struct ocfs2_meta_cache_item *item; item 138 fs/ocfs2/uptodate.c item = rb_entry(node, struct ocfs2_meta_cache_item, c_node); item 141 fs/ocfs2/uptodate.c (unsigned long long) item->c_block); item 143 fs/ocfs2/uptodate.c rb_erase(&item->c_node, root); item 144 fs/ocfs2/uptodate.c kmem_cache_free(ocfs2_uptodate_cachep, item); item 194 fs/ocfs2/uptodate.c sector_t item) item 199 fs/ocfs2/uptodate.c if (item == ci->ci_cache.ci_array[i]) item 213 fs/ocfs2/uptodate.c struct ocfs2_meta_cache_item *item = NULL; item 216 fs/ocfs2/uptodate.c item = rb_entry(n, struct ocfs2_meta_cache_item, c_node); item 218 fs/ocfs2/uptodate.c if (block < item->c_block) item 220 fs/ocfs2/uptodate.c else if (block > item->c_block) item 223 fs/ocfs2/uptodate.c return item; item 233 fs/ocfs2/uptodate.c struct ocfs2_meta_cache_item *item = NULL; item 245 fs/ocfs2/uptodate.c item = ocfs2_search_cache_tree(ci, bh->b_blocknr); item 249 fs/ocfs2/uptodate.c trace_ocfs2_buffer_cached_end(index, item); item 251 fs/ocfs2/uptodate.c return (index != -1) || (item != NULL); item 547 fs/ocfs2/uptodate.c struct ocfs2_meta_cache_item *item) item 551 fs/ocfs2/uptodate.c (unsigned long long)item->c_block); item 553 fs/ocfs2/uptodate.c rb_erase(&item->c_node, &ci->ci_cache.ci_tree); item 561 fs/ocfs2/uptodate.c struct ocfs2_meta_cache_item *item = NULL; item 574 fs/ocfs2/uptodate.c item = ocfs2_search_cache_tree(ci, block); item 575 fs/ocfs2/uptodate.c if (item) item 576 fs/ocfs2/uptodate.c ocfs2_remove_metadata_tree(ci, item); item 580 fs/ocfs2/uptodate.c if (item) item 581 fs/ocfs2/uptodate.c kmem_cache_free(ocfs2_uptodate_cachep, item); item 860 fs/reiserfs/bitmap.c __le32 *item; item 875 fs/reiserfs/bitmap.c item = tp_item_body(path); item 887 fs/reiserfs/bitmap.c int t = get_block_num(item, pos_in_item); item 216 fs/reiserfs/inode.c __le32 * item, int pos_in_item) item 221 fs/reiserfs/inode.c get_block_num(item, pos_in_item)) item 668 fs/reiserfs/inode.c __le32 *item; item 749 fs/reiserfs/inode.c item = tp_item_body(&path); item 756 fs/reiserfs/inode.c (retval, allocated_block_nr, ih, item, pos_in_item)) { item 804 fs/reiserfs/inode.c unfm_ptr = get_block_num(item, pos_in_item); item 818 fs/reiserfs/inode.c put_block_num(item, pos_in_item, allocated_block_nr); item 1142 fs/reiserfs/inode.c item = tp_item_body(&path); item 2377 fs/reiserfs/inode.c __le32 *item; item 2413 fs/reiserfs/inode.c item = tp_item_body(&path); item 2422 fs/reiserfs/inode.c if (!get_block_num(item, pos_in_item)) { item 2428 fs/reiserfs/inode.c get_block_num(item, pos_in_item), inode); item 36 fs/reiserfs/item_ops.c static void sd_print_item(struct item_head *ih, char *item) item 40 fs/reiserfs/item_ops.c struct stat_data_v1 *sd = (struct stat_data_v1 *)item; item 47 fs/reiserfs/item_ops.c struct stat_data *sd = (struct stat_data *)item; item 55 fs/reiserfs/item_ops.c static void sd_check_item(struct item_head *ih, char *item) item 134 fs/reiserfs/item_ops.c static void direct_print_item(struct item_head *ih, char *item) item 141 fs/reiserfs/item_ops.c printk("%c", item[j++]); item 145 fs/reiserfs/item_ops.c static void direct_check_item(struct item_head *ih, char *item) item 260 fs/reiserfs/item_ops.c static void indirect_print_item(struct item_head *ih, char *item) item 267 fs/reiserfs/item_ops.c unp = (__le32 *) item; item 283 fs/reiserfs/item_ops.c static void indirect_check_item(struct item_head *ih, char *item) item 372 fs/reiserfs/item_ops.c static void direntry_print_item(struct item_head *ih, char *item) item 383 fs/reiserfs/item_ops.c deh = (struct reiserfs_de_head *)item; item 389 fs/reiserfs/item_ops.c name = item + deh_location(deh); item 412 fs/reiserfs/item_ops.c static void direntry_check_item(struct item_head *ih, char *item) item 418 fs/reiserfs/item_ops.c deh = (struct reiserfs_de_head *)item; item 657 fs/reiserfs/item_ops.c static void errcatch_print_item(struct item_head *ih, char *item) item 663 fs/reiserfs/item_ops.c static void errcatch_check_item(struct item_head *ih, char *item) item 1075 fs/reiserfs/lbalance.c char *item; item 1095 fs/reiserfs/lbalance.c item = bh->b_data + ih_location(ih); item 1108 fs/reiserfs/lbalance.c prev_record = item + prev_record_offset; item 1131 fs/reiserfs/lbalance.c prev_record, item + ih_item_len(ih) - prev_record); item 1322 fs/reiserfs/lbalance.c char *item; item 1343 fs/reiserfs/lbalance.c item = bh->b_data + ih_location(ih); item 1350 fs/reiserfs/lbalance.c item + item 1369 fs/reiserfs/lbalance.c item + (ih_item_len(ih) - paste_size) - insert_point); item 1391 fs/reiserfs/lbalance.c item)); item 2633 fs/reiserfs/reiserfs.h void (*print_item) (struct item_head *, char *item); item 2634 fs/reiserfs/reiserfs.h void (*check_item) (struct item_head *, char *item); item 2650 fs/reiserfs/reiserfs.h #define op_print_item(ih,item) item_ops[le_ih_k_type (ih)]->print_item (ih, item) item 2651 fs/reiserfs/reiserfs.h #define op_check_item(ih,item) item_ops[le_ih_k_type (ih)]->check_item (ih, item) item 3054 fs/reiserfs/reiserfs.h void padd_item(char *item, int total_length, int length); item 1186 fs/reiserfs/stree.c void padd_item(char *item, int total_length, int length) item 1191 fs/reiserfs/stree.c item[--i] = 0; item 234 fs/reiserfs/super.c char *item; item 314 fs/reiserfs/super.c item = ih_item_body(bh, ih); item 315 fs/reiserfs/super.c obj_key.on_disk_key.k_dir_id = le32_to_cpu(*(__le32 *) item); item 330 fs/xfs/xfs_bmap_item.c struct list_head *item) item 337 fs/xfs/xfs_bmap_item.c bmap = container_of(item, struct xfs_bmap_intent, bi_list); item 372 fs/xfs/xfs_bmap_item.c struct list_head *item, item 380 fs/xfs/xfs_bmap_item.c bmap = container_of(item, struct xfs_bmap_intent, bi_list); item 409 fs/xfs/xfs_bmap_item.c struct list_head *item) item 413 fs/xfs/xfs_bmap_item.c bmap = container_of(item, struct xfs_bmap_intent, bi_list); item 1558 fs/xfs/xfs_buf.c struct list_head *item, item 1564 fs/xfs/xfs_buf.c struct xfs_buf *bp = container_of(item, struct xfs_buf, b_lru); item 1581 fs/xfs/xfs_buf.c list_lru_isolate_move(lru, item, dispose); item 1634 fs/xfs/xfs_buf.c struct list_head *item, item 1639 fs/xfs/xfs_buf.c struct xfs_buf *bp = container_of(item, struct xfs_buf, b_lru); item 1659 fs/xfs/xfs_buf.c list_lru_isolate_move(lru, item, dispose); item 440 fs/xfs/xfs_extfree_item.c struct list_head *item) item 447 fs/xfs/xfs_extfree_item.c free = container_of(item, struct xfs_extent_free_item, xefi_list); item 478 fs/xfs/xfs_extfree_item.c struct list_head *item, item 485 fs/xfs/xfs_extfree_item.c free = container_of(item, struct xfs_extent_free_item, xefi_list); item 505 fs/xfs/xfs_extfree_item.c struct list_head *item) item 509 fs/xfs/xfs_extfree_item.c free = container_of(item, struct xfs_extent_free_item, xefi_list); item 531 fs/xfs/xfs_extfree_item.c struct list_head *item, item 545 fs/xfs/xfs_extfree_item.c free = container_of(item, struct xfs_extent_free_item, xefi_list); item 115 fs/xfs/xfs_filestream.c struct xfs_fstrm_item *item = item 118 fs/xfs/xfs_filestream.c xfs_filestream_put_ag(mp, item->ag); item 119 fs/xfs/xfs_filestream.c trace_xfs_filestream_free(mp, mru->key, item->ag); item 121 fs/xfs/xfs_filestream.c kmem_free(item); item 137 fs/xfs/xfs_filestream.c struct xfs_fstrm_item *item; item 250 fs/xfs/xfs_filestream.c item = kmem_alloc(sizeof(*item), KM_MAYFAIL); item 251 fs/xfs/xfs_filestream.c if (!item) item 254 fs/xfs/xfs_filestream.c item->ag = *agp; item 256 fs/xfs/xfs_filestream.c err = xfs_mru_cache_insert(mp->m_filestream, ip->i_ino, &item->mru); item 266 fs/xfs/xfs_filestream.c kmem_free(item); item 372 fs/xfs/xfs_filestream.c struct xfs_fstrm_item *item = item 374 fs/xfs/xfs_filestream.c startag = (item->ag + 1) % mp->m_sb.sb_agcount; item 1028 fs/xfs/xfs_log.c struct xfs_log_item *item, item 1032 fs/xfs/xfs_log.c item->li_mountp = mp; item 1033 fs/xfs/xfs_log.c item->li_ailp = mp->m_ail; item 1034 fs/xfs/xfs_log.c item->li_type = type; item 1035 fs/xfs/xfs_log.c item->li_ops = ops; item 1036 fs/xfs/xfs_log.c item->li_lv = NULL; item 1038 fs/xfs/xfs_log.c INIT_LIST_HEAD(&item->li_ail); item 1039 fs/xfs/xfs_log.c INIT_LIST_HEAD(&item->li_cil); item 1040 fs/xfs/xfs_log.c INIT_LIST_HEAD(&item->li_bio_list); item 1041 fs/xfs/xfs_log.c INIT_LIST_HEAD(&item->li_trans); item 727 fs/xfs/xfs_log_cil.c struct xfs_log_item *item; item 729 fs/xfs/xfs_log_cil.c item = list_first_entry(&cil->xc_cil, item 731 fs/xfs/xfs_log_cil.c list_del_init(&item->li_cil); item 733 fs/xfs/xfs_log_cil.c ctx->lv_chain = item->li_lv; item 735 fs/xfs/xfs_log_cil.c lv->lv_next = item->li_lv; item 736 fs/xfs/xfs_log_cil.c lv = item->li_lv; item 737 fs/xfs/xfs_log_cil.c item->li_lv = NULL; item 1850 fs/xfs/xfs_log_recover.c xlog_recover_item_t *item, *n; item 1859 fs/xfs/xfs_log_recover.c list_for_each_entry_safe(item, n, &sort_list, ri_list) { item 1860 fs/xfs/xfs_log_recover.c xfs_buf_log_format_t *buf_f = item->ri_buf[0].i_addr; item 1862 fs/xfs/xfs_log_recover.c switch (ITEM_TYPE(item)) { item 1864 fs/xfs/xfs_log_recover.c list_move_tail(&item->ri_list, &buffer_list); item 1869 fs/xfs/xfs_log_recover.c trans, item, pass); item 1870 fs/xfs/xfs_log_recover.c list_move(&item->ri_list, &cancel_list); item 1874 fs/xfs/xfs_log_recover.c list_move(&item->ri_list, &inode_buffer_list); item 1877 fs/xfs/xfs_log_recover.c list_move_tail(&item->ri_list, &buffer_list); item 1891 fs/xfs/xfs_log_recover.c trans, item, pass); item 1892 fs/xfs/xfs_log_recover.c list_move_tail(&item->ri_list, &inode_list); item 1937 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item) item 1939 fs/xfs/xfs_log_recover.c xfs_buf_log_format_t *buf_f = item->ri_buf[0].i_addr; item 2063 fs/xfs/xfs_log_recover.c xlog_recover_item_t *item, item 2127 fs/xfs/xfs_log_recover.c ASSERT(item->ri_buf[item_index].i_addr != NULL); item 2128 fs/xfs/xfs_log_recover.c ASSERT((item->ri_buf[item_index].i_len % XFS_BLF_CHUNK) == 0); item 2136 fs/xfs/xfs_log_recover.c logged_nextp = item->ri_buf[item_index].i_addr + item 2142 fs/xfs/xfs_log_recover.c item, bp); item 2570 fs/xfs/xfs_log_recover.c xlog_recover_item_t *item, item 2592 fs/xfs/xfs_log_recover.c ASSERT(item->ri_buf[i].i_addr != NULL); item 2593 fs/xfs/xfs_log_recover.c ASSERT(item->ri_buf[i].i_len % XFS_BLF_CHUNK == 0); item 2605 fs/xfs/xfs_log_recover.c if (item->ri_buf[i].i_len < (nbits << XFS_BLF_SHIFT)) item 2606 fs/xfs/xfs_log_recover.c nbits = item->ri_buf[i].i_len >> XFS_BLF_SHIFT; item 2616 fs/xfs/xfs_log_recover.c if (item->ri_buf[i].i_addr == NULL) { item 2621 fs/xfs/xfs_log_recover.c if (item->ri_buf[i].i_len < sizeof(xfs_disk_dquot_t)) { item 2624 fs/xfs/xfs_log_recover.c item->ri_buf[i].i_len, __func__); item 2627 fs/xfs/xfs_log_recover.c fa = xfs_dquot_verify(mp, item->ri_buf[i].i_addr, item 2639 fs/xfs/xfs_log_recover.c item->ri_buf[i].i_addr, /* source */ item 2647 fs/xfs/xfs_log_recover.c ASSERT(i == item->ri_total); item 2665 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item, item 2692 fs/xfs/xfs_log_recover.c xlog_recover_do_reg_buffer(mp, item, bp, buf_f, NULLCOMMITLSN); item 2723 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item, item 2726 fs/xfs/xfs_log_recover.c xfs_buf_log_format_t *buf_f = item->ri_buf[0].i_addr; item 2786 fs/xfs/xfs_log_recover.c error = xlog_recover_do_inode_buffer(mp, item, bp, buf_f); item 2793 fs/xfs/xfs_log_recover.c dirty = xlog_recover_do_dquot_buffer(mp, log, item, bp, buf_f); item 2797 fs/xfs/xfs_log_recover.c xlog_recover_do_reg_buffer(mp, item, bp, buf_f, current_lsn); item 2915 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item, item 2932 fs/xfs/xfs_log_recover.c if (item->ri_buf[0].i_len == sizeof(struct xfs_inode_log_format)) { item 2933 fs/xfs/xfs_log_recover.c in_f = item->ri_buf[0].i_addr; item 2937 fs/xfs/xfs_log_recover.c error = xfs_inode_item_format_convert(&item->ri_buf[0], in_f); item 2981 fs/xfs/xfs_log_recover.c ldip = item->ri_buf[1].i_addr; item 2985 fs/xfs/xfs_log_recover.c __func__, item, in_f->ilf_ino); item 3045 fs/xfs/xfs_log_recover.c __func__, item, dip, bp, in_f->ilf_ino); item 3059 fs/xfs/xfs_log_recover.c __func__, item, dip, bp, in_f->ilf_ino); item 3071 fs/xfs/xfs_log_recover.c __func__, item, dip, bp, in_f->ilf_ino, item 3084 fs/xfs/xfs_log_recover.c item, dip, bp, in_f->ilf_ino, ldip->di_forkoff); item 3089 fs/xfs/xfs_log_recover.c if (unlikely(item->ri_buf[1].i_len > isize)) { item 3095 fs/xfs/xfs_log_recover.c __func__, item->ri_buf[1].i_len, item); item 3109 fs/xfs/xfs_log_recover.c len = item->ri_buf[2].i_len; item 3110 fs/xfs/xfs_log_recover.c src = item->ri_buf[2].i_addr; item 3147 fs/xfs/xfs_log_recover.c len = item->ri_buf[attr_index].i_len; item 3148 fs/xfs/xfs_log_recover.c src = item->ri_buf[attr_index].i_addr; item 3203 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item) item 3205 fs/xfs/xfs_log_recover.c xfs_qoff_logformat_t *qoff_f = item->ri_buf[0].i_addr; item 3229 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item, item 3247 fs/xfs/xfs_log_recover.c recddq = item->ri_buf[1].i_addr; item 3252 fs/xfs/xfs_log_recover.c if (item->ri_buf[1].i_len < sizeof(xfs_disk_dquot_t)) { item 3254 fs/xfs/xfs_log_recover.c item->ri_buf[1].i_len, __func__); item 3276 fs/xfs/xfs_log_recover.c dq_f = item->ri_buf[0].i_addr; item 3315 fs/xfs/xfs_log_recover.c memcpy(ddq, recddq, item->ri_buf[1].i_len); item 3341 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item, item 3349 fs/xfs/xfs_log_recover.c efi_formatp = item->ri_buf[0].i_addr; item 3352 fs/xfs/xfs_log_recover.c error = xfs_efi_copy_format(&item->ri_buf[0], &efip->efi_format); item 3382 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item) item 3391 fs/xfs/xfs_log_recover.c efd_formatp = item->ri_buf[0].i_addr; item 3392 fs/xfs/xfs_log_recover.c ASSERT((item->ri_buf[0].i_len == (sizeof(xfs_efd_log_format_32_t) + item 3394 fs/xfs/xfs_log_recover.c (item->ri_buf[0].i_len == (sizeof(xfs_efd_log_format_64_t) + item 3437 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item, item 3445 fs/xfs/xfs_log_recover.c rui_formatp = item->ri_buf[0].i_addr; item 3448 fs/xfs/xfs_log_recover.c error = xfs_rui_copy_format(&item->ri_buf[0], &ruip->rui_format); item 3478 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item) item 3487 fs/xfs/xfs_log_recover.c rud_formatp = item->ri_buf[0].i_addr; item 3488 fs/xfs/xfs_log_recover.c ASSERT(item->ri_buf[0].i_len == sizeof(struct xfs_rud_log_format)); item 3553 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item, item 3561 fs/xfs/xfs_log_recover.c cui_formatp = item->ri_buf[0].i_addr; item 3564 fs/xfs/xfs_log_recover.c error = xfs_cui_copy_format(&item->ri_buf[0], &cuip->cui_format); item 3594 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item) item 3603 fs/xfs/xfs_log_recover.c cud_formatp = item->ri_buf[0].i_addr; item 3604 fs/xfs/xfs_log_recover.c if (item->ri_buf[0].i_len != sizeof(struct xfs_cud_log_format)) item 3670 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item, item 3678 fs/xfs/xfs_log_recover.c bui_formatp = item->ri_buf[0].i_addr; item 3683 fs/xfs/xfs_log_recover.c error = xfs_bui_copy_format(&item->ri_buf[0], &buip->bui_format); item 3713 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item) item 3722 fs/xfs/xfs_log_recover.c bud_formatp = item->ri_buf[0].i_addr; item 3723 fs/xfs/xfs_log_recover.c if (item->ri_buf[0].i_len != sizeof(struct xfs_bud_log_format)) item 3768 fs/xfs/xfs_log_recover.c xlog_recover_item_t *item) item 3783 fs/xfs/xfs_log_recover.c icl = (struct xfs_icreate_log *)item->ri_buf[0].i_addr; item 3883 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item) item 3885 fs/xfs/xfs_log_recover.c struct xfs_buf_log_format *buf_f = item->ri_buf[0].i_addr; item 3900 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item) item 3907 fs/xfs/xfs_log_recover.c if (item->ri_buf[0].i_len == sizeof(struct xfs_inode_log_format)) { item 3908 fs/xfs/xfs_log_recover.c ilfp = item->ri_buf[0].i_addr; item 3912 fs/xfs/xfs_log_recover.c error = xfs_inode_item_format_convert(&item->ri_buf[0], ilfp); item 3927 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item) item 3939 fs/xfs/xfs_log_recover.c recddq = item->ri_buf[1].i_addr; item 3942 fs/xfs/xfs_log_recover.c if (item->ri_buf[1].i_len < sizeof(struct xfs_disk_dquot)) item 3950 fs/xfs/xfs_log_recover.c dq_f = item->ri_buf[0].i_addr; item 3965 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item) item 3967 fs/xfs/xfs_log_recover.c switch (ITEM_TYPE(item)) { item 3969 fs/xfs/xfs_log_recover.c xlog_recover_buffer_ra_pass2(log, item); item 3972 fs/xfs/xfs_log_recover.c xlog_recover_inode_ra_pass2(log, item); item 3975 fs/xfs/xfs_log_recover.c xlog_recover_dquot_ra_pass2(log, item); item 3995 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item) item 3997 fs/xfs/xfs_log_recover.c trace_xfs_log_recover_item_recover(log, trans, item, XLOG_RECOVER_PASS1); item 3999 fs/xfs/xfs_log_recover.c switch (ITEM_TYPE(item)) { item 4001 fs/xfs/xfs_log_recover.c return xlog_recover_buffer_pass1(log, item); item 4003 fs/xfs/xfs_log_recover.c return xlog_recover_quotaoff_pass1(log, item); item 4019 fs/xfs/xfs_log_recover.c __func__, ITEM_TYPE(item)); item 4030 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item) item 4032 fs/xfs/xfs_log_recover.c trace_xfs_log_recover_item_recover(log, trans, item, XLOG_RECOVER_PASS2); item 4034 fs/xfs/xfs_log_recover.c switch (ITEM_TYPE(item)) { item 4036 fs/xfs/xfs_log_recover.c return xlog_recover_buffer_pass2(log, buffer_list, item, item 4039 fs/xfs/xfs_log_recover.c return xlog_recover_inode_pass2(log, buffer_list, item, item 4042 fs/xfs/xfs_log_recover.c return xlog_recover_efi_pass2(log, item, trans->r_lsn); item 4044 fs/xfs/xfs_log_recover.c return xlog_recover_efd_pass2(log, item); item 4046 fs/xfs/xfs_log_recover.c return xlog_recover_rui_pass2(log, item, trans->r_lsn); item 4048 fs/xfs/xfs_log_recover.c return xlog_recover_rud_pass2(log, item); item 4050 fs/xfs/xfs_log_recover.c return xlog_recover_cui_pass2(log, item, trans->r_lsn); item 4052 fs/xfs/xfs_log_recover.c return xlog_recover_cud_pass2(log, item); item 4054 fs/xfs/xfs_log_recover.c return xlog_recover_bui_pass2(log, item, trans->r_lsn); item 4056 fs/xfs/xfs_log_recover.c return xlog_recover_bud_pass2(log, item); item 4058 fs/xfs/xfs_log_recover.c return xlog_recover_dquot_pass2(log, buffer_list, item, item 4061 fs/xfs/xfs_log_recover.c return xlog_recover_do_icreate_pass2(log, buffer_list, item); item 4067 fs/xfs/xfs_log_recover.c __func__, ITEM_TYPE(item)); item 4080 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item; item 4083 fs/xfs/xfs_log_recover.c list_for_each_entry(item, item_list, ri_list) { item 4085 fs/xfs/xfs_log_recover.c buffer_list, item); item 4108 fs/xfs/xfs_log_recover.c struct xlog_recover_item *item; item 4121 fs/xfs/xfs_log_recover.c list_for_each_entry_safe(item, next, &trans->r_itemq, ri_list) { item 4124 fs/xfs/xfs_log_recover.c error = xlog_recover_commit_pass1(log, trans, item); item 4127 fs/xfs/xfs_log_recover.c xlog_recover_ra_pass2(log, item); item 4128 fs/xfs/xfs_log_recover.c list_move_tail(&item->ri_list, &ra_list); item 4164 fs/xfs/xfs_log_recover.c xlog_recover_item_t *item; item 4166 fs/xfs/xfs_log_recover.c item = kmem_zalloc(sizeof(xlog_recover_item_t), 0); item 4167 fs/xfs/xfs_log_recover.c INIT_LIST_HEAD(&item->ri_list); item 4168 fs/xfs/xfs_log_recover.c list_add_tail(&item->ri_list, head); item 4178 fs/xfs/xfs_log_recover.c xlog_recover_item_t *item; item 4201 fs/xfs/xfs_log_recover.c item = list_entry(trans->r_itemq.prev, xlog_recover_item_t, ri_list); item 4203 fs/xfs/xfs_log_recover.c old_ptr = item->ri_buf[item->ri_cnt-1].i_addr; item 4204 fs/xfs/xfs_log_recover.c old_len = item->ri_buf[item->ri_cnt-1].i_len; item 4208 fs/xfs/xfs_log_recover.c item->ri_buf[item->ri_cnt-1].i_len += len; item 4209 fs/xfs/xfs_log_recover.c item->ri_buf[item->ri_cnt-1].i_addr = ptr; item 4210 fs/xfs/xfs_log_recover.c trace_xfs_log_recover_item_add_cont(log, trans, item, 0); item 4235 fs/xfs/xfs_log_recover.c xlog_recover_item_t *item; item 4271 fs/xfs/xfs_log_recover.c item = list_entry(trans->r_itemq.prev, xlog_recover_item_t, ri_list); item 4272 fs/xfs/xfs_log_recover.c if (item->ri_total != 0 && item 4273 fs/xfs/xfs_log_recover.c item->ri_total == item->ri_cnt) { item 4276 fs/xfs/xfs_log_recover.c item = list_entry(trans->r_itemq.prev, item 4280 fs/xfs/xfs_log_recover.c if (item->ri_total == 0) { /* first region to be added */ item 4291 fs/xfs/xfs_log_recover.c item->ri_total = in_f->ilf_size; item 4292 fs/xfs/xfs_log_recover.c item->ri_buf = item 4293 fs/xfs/xfs_log_recover.c kmem_zalloc(item->ri_total * sizeof(xfs_log_iovec_t), item 4296 fs/xfs/xfs_log_recover.c ASSERT(item->ri_total > item->ri_cnt); item 4298 fs/xfs/xfs_log_recover.c item->ri_buf[item->ri_cnt].i_addr = ptr; item 4299 fs/xfs/xfs_log_recover.c item->ri_buf[item->ri_cnt].i_len = len; item 4300 fs/xfs/xfs_log_recover.c item->ri_cnt++; item 4301 fs/xfs/xfs_log_recover.c trace_xfs_log_recover_item_add(log, trans, item, 0); item 4314 fs/xfs/xfs_log_recover.c xlog_recover_item_t *item, *n; item 4319 fs/xfs/xfs_log_recover.c list_for_each_entry_safe(item, n, &trans->r_itemq, ri_list) { item 4321 fs/xfs/xfs_log_recover.c list_del(&item->ri_list); item 4322 fs/xfs/xfs_log_recover.c for (i = 0; i < item->ri_cnt; i++) item 4323 fs/xfs/xfs_log_recover.c kmem_free(item->ri_buf[i].i_addr); item 4325 fs/xfs/xfs_log_recover.c kmem_free(item->ri_buf); item 4326 fs/xfs/xfs_log_recover.c kmem_free(item); item 412 fs/xfs/xfs_qm.c struct list_head *item, item 418 fs/xfs/xfs_qm.c struct xfs_dquot *dqp = container_of(item, item 332 fs/xfs/xfs_refcount_item.c struct list_head *item) item 339 fs/xfs/xfs_refcount_item.c refc = container_of(item, struct xfs_refcount_intent, ri_list); item 371 fs/xfs/xfs_refcount_item.c struct list_head *item, item 380 fs/xfs/xfs_refcount_item.c refc = container_of(item, struct xfs_refcount_intent, ri_list); item 422 fs/xfs/xfs_refcount_item.c struct list_head *item) item 426 fs/xfs/xfs_refcount_item.c refc = container_of(item, struct xfs_refcount_intent, ri_list); item 379 fs/xfs/xfs_rmap_item.c struct list_head *item) item 386 fs/xfs/xfs_rmap_item.c rmap = container_of(item, struct xfs_rmap_intent, ri_list); item 421 fs/xfs/xfs_rmap_item.c struct list_head *item, item 428 fs/xfs/xfs_rmap_item.c rmap = container_of(item, struct xfs_rmap_intent, ri_list); item 464 fs/xfs/xfs_rmap_item.c struct list_head *item) item 468 fs/xfs/xfs_rmap_item.c rmap = container_of(item, struct xfs_rmap_intent, ri_list); item 1992 fs/xfs/xfs_trace.h struct xlog_recover_item *item, int pass), item 1993 fs/xfs/xfs_trace.h TP_ARGS(log, trans, item, pass), item 1996 fs/xfs/xfs_trace.h __field(unsigned long, item) item 2006 fs/xfs/xfs_trace.h __entry->item = (unsigned long)item; item 2009 fs/xfs/xfs_trace.h __entry->type = ITEM_TYPE(item); item 2011 fs/xfs/xfs_trace.h __entry->count = item->ri_cnt; item 2012 fs/xfs/xfs_trace.h __entry->total = item->ri_total; item 2020 fs/xfs/xfs_trace.h (void *)__entry->item, item 2029 fs/xfs/xfs_trace.h struct xlog_recover_item *item, int pass), \ item 2030 fs/xfs/xfs_trace.h TP_ARGS(log, trans, item, pass)) item 88 fs/xfs/xfs_trans.h void xfs_log_item_init(struct xfs_mount *mp, struct xfs_log_item *item, item 158 fs/xfs/xfs_trans_ail.c cur->item = NULL; item 171 fs/xfs/xfs_trans_ail.c struct xfs_log_item *lip = cur->item; item 176 fs/xfs/xfs_trans_ail.c cur->item = xfs_ail_next(ailp, lip); item 188 fs/xfs/xfs_trans_ail.c cur->item = NULL; item 208 fs/xfs/xfs_trans_ail.c if (cur->item == lip) item 209 fs/xfs/xfs_trans_ail.c cur->item = (struct xfs_log_item *) item 210 fs/xfs/xfs_trans_ail.c ((uintptr_t)cur->item | 1); item 243 fs/xfs/xfs_trans_ail.c cur->item = xfs_ail_next(ailp, lip); item 274 fs/xfs/xfs_trans_ail.c cur->item = __xfs_trans_ail_cursor_last(ailp, lsn); item 275 fs/xfs/xfs_trans_ail.c return cur->item; item 300 fs/xfs/xfs_trans_ail.c lip = cur ? cur->item : NULL; item 312 fs/xfs/xfs_trans_ail.c cur->item = list_entry(list->prev, struct xfs_log_item, li_ail); item 44 fs/xfs/xfs_trans_priv.h struct xfs_log_item *item; item 53 include/drm/drm_hashtab.h int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item); item 54 include/drm/drm_hashtab.h int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, item 57 include/drm/drm_hashtab.h int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item); item 61 include/drm/drm_hashtab.h int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item); item 72 include/linux/backing-dev.h enum wb_stat_item item, s64 amount) item 74 include/linux/backing-dev.h percpu_counter_add_batch(&wb->stat[item], amount, WB_STAT_BATCH); item 77 include/linux/backing-dev.h static inline void inc_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) item 79 include/linux/backing-dev.h __add_wb_stat(wb, item, 1); item 82 include/linux/backing-dev.h static inline void dec_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) item 84 include/linux/backing-dev.h __add_wb_stat(wb, item, -1); item 87 include/linux/backing-dev.h static inline s64 wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) item 89 include/linux/backing-dev.h return percpu_counter_read_positive(&wb->stat[item]); item 92 include/linux/backing-dev.h static inline s64 wb_stat_sum(struct bdi_writeback *wb, enum wb_stat_item item) item 94 include/linux/backing-dev.h return percpu_counter_sum_positive(&wb->stat[item]); item 96 include/linux/ceph/mon_client.h struct ceph_mon_subscribe_item item; item 54 include/linux/configfs.h static inline char *config_item_name(struct config_item * item) item 56 include/linux/configfs.h return item->ci_name; item 59 include/linux/configfs.h extern void config_item_init_type_name(struct config_item *item, item 92 include/linux/configfs.h static inline struct config_group *to_config_group(struct config_item *item) item 94 include/linux/configfs.h return item ? container_of(item,struct config_group,cg_item) : NULL; item 221 include/linux/configfs.h int (*commit_item)(struct config_item *item); item 222 include/linux/configfs.h void (*disconnect_notify)(struct config_group *group, struct config_item *item); item 223 include/linux/configfs.h void (*drop_item)(struct config_group *group, struct config_item *item); item 88 include/linux/counter.h struct counter_signal *signal, size_t *item); item 90 include/linux/counter.h struct counter_signal *signal, size_t item); item 229 include/linux/counter.h size_t *item); item 231 include/linux/counter.h size_t item); item 413 include/linux/counter.h int (*get)(struct counter_device *counter, size_t *item); item 414 include/linux/counter.h int (*set)(struct counter_device *counter, size_t item); item 42 include/linux/iio/sw_device.h struct iio_sw_device *to_iio_sw_device(struct config_item *item) item 44 include/linux/iio/sw_device.h return container_of(to_config_group(item), struct iio_sw_device, item 42 include/linux/iio/sw_trigger.h struct iio_sw_trigger *to_iio_sw_trigger(struct config_item *item) item 44 include/linux/iio/sw_trigger.h return container_of(to_config_group(item), struct iio_sw_trigger, item 91 include/linux/list_lru.h bool list_lru_add(struct list_lru *lru, struct list_head *item); item 104 include/linux/list_lru.h bool list_lru_del(struct list_lru *lru, struct list_head *item); item 137 include/linux/list_lru.h void list_lru_isolate(struct list_lru_one *list, struct list_head *item); item 138 include/linux/list_lru.h void list_lru_isolate_move(struct list_lru_one *list, struct list_head *item, item 52 include/linux/mfd/imx25-tsadc.h #define _MX25_ADCQ_ITEM(item, x) ((x) << ((item) * 4)) item 53 include/linux/mfd/imx25-tsadc.h #define MX25_ADCQ_ITEM(item, x) ((item) >= 8 ? \ item 54 include/linux/mfd/imx25-tsadc.h _MX25_ADCQ_ITEM((item) - 8, (x)) : _MX25_ADCQ_ITEM((item), (x))) item 248 include/linux/netfilter/nf_conntrack_h323_types.h OpenLogicalChannel item[30]; item 294 include/linux/netfilter/nf_conntrack_h323_types.h OpenLogicalChannel item[30]; item 316 include/linux/netfilter/nf_conntrack_h323_types.h OpenLogicalChannel item[30]; item 344 include/linux/netfilter/nf_conntrack_h323_types.h OpenLogicalChannel item[30]; item 387 include/linux/netfilter/nf_conntrack_h323_types.h OpenLogicalChannel item[30]; item 420 include/linux/netfilter/nf_conntrack_h323_types.h OpenLogicalChannel item[30]; item 600 include/linux/netfilter/nf_conntrack_h323_types.h MultimediaSystemControlMessage item[4]; item 666 include/linux/netfilter/nf_conntrack_h323_types.h TransportAddress item[10]; item 671 include/linux/netfilter/nf_conntrack_h323_types.h TransportAddress item[10]; item 708 include/linux/netfilter/nf_conntrack_h323_types.h TransportAddress item[10]; item 740 include/linux/netfilter/nf_conntrack_h323_types.h TransportAddress item[10]; item 868 include/linux/netfilter/nf_conntrack_h323_types.h TransportAddress item[10]; item 72 include/linux/parman.h struct parman_item *item); item 74 include/linux/parman.h struct parman_item *item); item 3316 include/linux/platform_data/cros_ec_commands.h struct ec_collect_item item[0]; item 7 include/linux/soc/qcom/smem.h int qcom_smem_alloc(unsigned host, unsigned item, size_t size); item 8 include/linux/soc/qcom/smem.h void *qcom_smem_get(unsigned host, unsigned item, size_t *size); item 139 include/linux/sunrpc/cache.h struct cache_head *item; /* cache item we wait on */ item 161 include/linux/sunrpc/svcauth.h extern void auth_domain_put(struct auth_domain *item); item 80 include/linux/usb/composite.h struct config_item item; item 11 include/linux/usb/gadget_configfs.h static ssize_t __struct##_##__name##_store(struct config_item *item, \ item 14 include/linux/usb/gadget_configfs.h struct __struct *gs = to_##__struct(item); \ item 24 include/linux/usb/gadget_configfs.h static ssize_t __struct##_##__name##_show(struct config_item *item, char *page) \ item 26 include/linux/usb/gadget_configfs.h struct __struct *gs = to_##__struct(item); \ item 87 include/linux/usb/gadget_configfs.h struct config_item *item) \ item 89 include/linux/usb/gadget_configfs.h config_item_put(item); \ item 55 include/linux/vmstat.h static inline void __count_vm_event(enum vm_event_item item) item 57 include/linux/vmstat.h raw_cpu_inc(vm_event_states.event[item]); item 60 include/linux/vmstat.h static inline void count_vm_event(enum vm_event_item item) item 62 include/linux/vmstat.h this_cpu_inc(vm_event_states.event[item]); item 65 include/linux/vmstat.h static inline void __count_vm_events(enum vm_event_item item, long delta) item 67 include/linux/vmstat.h raw_cpu_add(vm_event_states.event[item], delta); item 70 include/linux/vmstat.h static inline void count_vm_events(enum vm_event_item item, long delta) item 72 include/linux/vmstat.h this_cpu_add(vm_event_states.event[item], delta); item 82 include/linux/vmstat.h static inline void count_vm_event(enum vm_event_item item) item 85 include/linux/vmstat.h static inline void count_vm_events(enum vm_event_item item, long delta) item 88 include/linux/vmstat.h static inline void __count_vm_event(enum vm_event_item item) item 91 include/linux/vmstat.h static inline void __count_vm_events(enum vm_event_item item, long delta) item 125 include/linux/vmstat.h #define __count_zid_vm_events(item, zid, delta) \ item 126 include/linux/vmstat.h __count_vm_events(item##_NORMAL - ZONE_NORMAL + zid, delta) item 137 include/linux/vmstat.h enum numa_stat_item item) item 139 include/linux/vmstat.h atomic_long_add(x, &zone->vm_numa_stat[item]); item 140 include/linux/vmstat.h atomic_long_add(x, &vm_numa_stat[item]); item 143 include/linux/vmstat.h static inline unsigned long global_numa_state(enum numa_stat_item item) item 145 include/linux/vmstat.h long x = atomic_long_read(&vm_numa_stat[item]); item 151 include/linux/vmstat.h enum numa_stat_item item) item 153 include/linux/vmstat.h long x = atomic_long_read(&zone->vm_numa_stat[item]); item 157 include/linux/vmstat.h x += per_cpu_ptr(zone->pageset, cpu)->vm_numa_stat_diff[item]; item 164 include/linux/vmstat.h enum zone_stat_item item) item 166 include/linux/vmstat.h atomic_long_add(x, &zone->vm_stat[item]); item 167 include/linux/vmstat.h atomic_long_add(x, &vm_zone_stat[item]); item 171 include/linux/vmstat.h enum node_stat_item item) item 173 include/linux/vmstat.h atomic_long_add(x, &pgdat->vm_stat[item]); item 174 include/linux/vmstat.h atomic_long_add(x, &vm_node_stat[item]); item 177 include/linux/vmstat.h static inline unsigned long global_zone_page_state(enum zone_stat_item item) item 179 include/linux/vmstat.h long x = atomic_long_read(&vm_zone_stat[item]); item 187 include/linux/vmstat.h static inline unsigned long global_node_page_state(enum node_stat_item item) item 189 include/linux/vmstat.h long x = atomic_long_read(&vm_node_stat[item]); item 198 include/linux/vmstat.h enum zone_stat_item item) item 200 include/linux/vmstat.h long x = atomic_long_read(&zone->vm_stat[item]); item 215 include/linux/vmstat.h enum zone_stat_item item) item 217 include/linux/vmstat.h long x = atomic_long_read(&zone->vm_stat[item]); item 222 include/linux/vmstat.h x += per_cpu_ptr(zone->pageset, cpu)->vm_stat_diff[item]; item 231 include/linux/vmstat.h extern void __inc_numa_state(struct zone *zone, enum numa_stat_item item); item 233 include/linux/vmstat.h enum zone_stat_item item); item 234 include/linux/vmstat.h extern unsigned long sum_zone_numa_state(int node, enum numa_stat_item item); item 236 include/linux/vmstat.h enum node_stat_item item); item 238 include/linux/vmstat.h #define sum_zone_node_page_state(node, item) global_zone_page_state(item) item 239 include/linux/vmstat.h #define node_page_state(node, item) global_node_page_state(item) item 243 include/linux/vmstat.h void __mod_zone_page_state(struct zone *, enum zone_stat_item item, long); item 247 include/linux/vmstat.h void __mod_node_page_state(struct pglist_data *, enum node_stat_item item, long); item 287 include/linux/vmstat.h enum zone_stat_item item, long delta) item 289 include/linux/vmstat.h zone_page_state_add(delta, zone, item); item 293 include/linux/vmstat.h enum node_stat_item item, int delta) item 295 include/linux/vmstat.h node_page_state_add(delta, pgdat, item); item 298 include/linux/vmstat.h static inline void __inc_zone_state(struct zone *zone, enum zone_stat_item item) item 300 include/linux/vmstat.h atomic_long_inc(&zone->vm_stat[item]); item 301 include/linux/vmstat.h atomic_long_inc(&vm_zone_stat[item]); item 304 include/linux/vmstat.h static inline void __inc_node_state(struct pglist_data *pgdat, enum node_stat_item item) item 306 include/linux/vmstat.h atomic_long_inc(&pgdat->vm_stat[item]); item 307 include/linux/vmstat.h atomic_long_inc(&vm_node_stat[item]); item 310 include/linux/vmstat.h static inline void __dec_zone_state(struct zone *zone, enum zone_stat_item item) item 312 include/linux/vmstat.h atomic_long_dec(&zone->vm_stat[item]); item 313 include/linux/vmstat.h atomic_long_dec(&vm_zone_stat[item]); item 316 include/linux/vmstat.h static inline void __dec_node_state(struct pglist_data *pgdat, enum node_stat_item item) item 318 include/linux/vmstat.h atomic_long_dec(&pgdat->vm_stat[item]); item 319 include/linux/vmstat.h atomic_long_dec(&vm_node_stat[item]); item 323 include/linux/vmstat.h enum zone_stat_item item) item 325 include/linux/vmstat.h __inc_zone_state(page_zone(page), item); item 329 include/linux/vmstat.h enum node_stat_item item) item 331 include/linux/vmstat.h __inc_node_state(page_pgdat(page), item); item 336 include/linux/vmstat.h enum zone_stat_item item) item 338 include/linux/vmstat.h __dec_zone_state(page_zone(page), item); item 342 include/linux/vmstat.h enum node_stat_item item) item 344 include/linux/vmstat.h __dec_node_state(page_pgdat(page), item); item 76 include/net/netfilter/nf_conntrack_ecache.h int (*fcn)(unsigned int events, struct nf_ct_event *item); item 162 include/net/netfilter/nf_conntrack_ecache.h int (*fcn)(unsigned int events, struct nf_exp_event *item); item 148 include/rdma/ib_umem_odp.h typedef int (*umem_call_back)(struct ib_umem_odp *item, u64 start, u64 end, item 1252 include/sound/soc.h unsigned int item) item 1255 include/sound/soc.h return item; item 1257 include/sound/soc.h return e->values[item]; item 575 include/target/target_core_base.h static inline struct se_node_acl *acl_to_nacl(struct config_item *item) item 577 include/target/target_core_base.h return container_of(to_config_group(item), struct se_node_acl, item 581 include/target/target_core_base.h static inline struct se_node_acl *attrib_to_nacl(struct config_item *item) item 583 include/target/target_core_base.h return container_of(to_config_group(item), struct se_node_acl, item 587 include/target/target_core_base.h static inline struct se_node_acl *auth_to_nacl(struct config_item *item) item 589 include/target/target_core_base.h return container_of(to_config_group(item), struct se_node_acl, item 593 include/target/target_core_base.h static inline struct se_node_acl *param_to_nacl(struct config_item *item) item 595 include/target/target_core_base.h return container_of(to_config_group(item), struct se_node_acl, item 599 include/target/target_core_base.h static inline struct se_node_acl *fabric_stat_to_nacl(struct config_item *item) item 601 include/target/target_core_base.h return container_of(to_config_group(item), struct se_node_acl, item 859 include/target/target_core_base.h static inline struct se_tpg_np *to_tpg_np(struct config_item *item) item 861 include/target/target_core_base.h return container_of(to_config_group(item), struct se_tpg_np, item 898 include/target/target_core_base.h static inline struct se_portal_group *to_tpg(struct config_item *item) item 900 include/target/target_core_base.h return container_of(to_config_group(item), struct se_portal_group, item 904 include/target/target_core_base.h static inline struct se_portal_group *attrib_to_tpg(struct config_item *item) item 906 include/target/target_core_base.h return container_of(to_config_group(item), struct se_portal_group, item 910 include/target/target_core_base.h static inline struct se_portal_group *auth_to_tpg(struct config_item *item) item 912 include/target/target_core_base.h return container_of(to_config_group(item), struct se_portal_group, item 916 include/target/target_core_base.h static inline struct se_portal_group *param_to_tpg(struct config_item *item) item 918 include/target/target_core_base.h return container_of(to_config_group(item), struct se_portal_group, item 125 include/target/target_core_fabric.h int target_depend_item(struct config_item *item); item 126 include/target/target_core_fabric.h void target_undepend_item(struct config_item *item); item 720 include/trace/events/btrfs.h btrfs_block_group_used(&block_group->item); item 1864 include/trace/events/btrfs.h __entry->used = btrfs_block_group_used(&bg_cache->item); item 84 include/trace/trace_events.h #define __field(type, item) type item; item 87 include/trace/trace_events.h #define __field_ext(type, item, filter_type) type item; item 90 include/trace/trace_events.h #define __field_struct(type, item) type item; item 93 include/trace/trace_events.h #define __field_struct_ext(type, item, filter_type) type item; item 96 include/trace/trace_events.h #define __array(type, item, len) type item[len]; item 99 include/trace/trace_events.h #define __dynamic_array(type, item, len) u32 __data_loc_##item; item 102 include/trace/trace_events.h #define __string(item, src) __dynamic_array(char, item, -1) item 105 include/trace/trace_events.h #define __bitmask(item, nr_bits) __dynamic_array(char, item, -1) item 179 include/trace/trace_events.h #define __field(type, item) item 182 include/trace/trace_events.h #define __field_ext(type, item, filter_type) item 185 include/trace/trace_events.h #define __field_struct(type, item) item 188 include/trace/trace_events.h #define __field_struct_ext(type, item, filter_type) item 191 include/trace/trace_events.h #define __array(type, item, len) item 194 include/trace/trace_events.h #define __dynamic_array(type, item, len) u32 item; item 197 include/trace/trace_events.h #define __string(item, src) __dynamic_array(char, item, -1) item 200 include/trace/trace_events.h #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, -1) item 397 include/trace/trace_events.h #define __field_ext(type, item, filter_type) \ item 398 include/trace/trace_events.h ret = trace_define_field(event_call, #type, #item, \ item 399 include/trace/trace_events.h offsetof(typeof(field), item), \ item 400 include/trace/trace_events.h sizeof(field.item), \ item 406 include/trace/trace_events.h #define __field_struct_ext(type, item, filter_type) \ item 407 include/trace/trace_events.h ret = trace_define_field(event_call, #type, #item, \ item 408 include/trace/trace_events.h offsetof(typeof(field), item), \ item 409 include/trace/trace_events.h sizeof(field.item), \ item 415 include/trace/trace_events.h #define __field(type, item) __field_ext(type, item, FILTER_OTHER) item 418 include/trace/trace_events.h #define __field_struct(type, item) __field_struct_ext(type, item, FILTER_OTHER) item 421 include/trace/trace_events.h #define __array(type, item, len) \ item 426 include/trace/trace_events.h ret = trace_define_field(event_call, type_str, #item, \ item 427 include/trace/trace_events.h offsetof(typeof(field), item), \ item 428 include/trace/trace_events.h sizeof(field.item), \ item 435 include/trace/trace_events.h #define __dynamic_array(type, item, len) \ item 436 include/trace/trace_events.h ret = trace_define_field(event_call, "__data_loc " #type "[]", #item, \ item 437 include/trace/trace_events.h offsetof(typeof(field), __data_loc_##item), \ item 438 include/trace/trace_events.h sizeof(field.__data_loc_##item), \ item 442 include/trace/trace_events.h #define __string(item, src) __dynamic_array(char, item, -1) item 445 include/trace/trace_events.h #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, -1) item 477 include/trace/trace_events.h #define __field(type, item) item 480 include/trace/trace_events.h #define __field_ext(type, item, filter_type) item 483 include/trace/trace_events.h #define __field_struct(type, item) item 486 include/trace/trace_events.h #define __field_struct_ext(type, item, filter_type) item 489 include/trace/trace_events.h #define __array(type, item, len) item 492 include/trace/trace_events.h #define __dynamic_array(type, item, len) \ item 494 include/trace/trace_events.h __data_offsets->item = __data_size + \ item 496 include/trace/trace_events.h __data_offsets->item |= __item_length << 16; \ item 500 include/trace/trace_events.h #define __string(item, src) __dynamic_array(char, item, \ item 523 include/trace/trace_events.h #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, \ item 657 include/trace/trace_events.h #define __field(type, item) item 660 include/trace/trace_events.h #define __field_struct(type, item) item 663 include/trace/trace_events.h #define __array(type, item, len) item 666 include/trace/trace_events.h #define __dynamic_array(type, item, len) \ item 667 include/trace/trace_events.h __entry->__data_loc_##item = __data_offsets.item; item 670 include/trace/trace_events.h #define __string(item, src) __dynamic_array(char, item, -1) item 677 include/trace/trace_events.h #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, -1) item 922 include/uapi/sound/asound.h unsigned int item; /* W: item number */ item 949 include/uapi/sound/asound.h unsigned int item[128]; item 228 include/xen/grant_table.h void gnttab_unmap_refs_async(struct gntab_unmap_queue_data* item); item 229 include/xen/grant_table.h int gnttab_unmap_refs_sync(struct gntab_unmap_queue_data *item); item 1806 kernel/bpf/core.c struct bpf_prog_array_item *item; item 1809 kernel/bpf/core.c for (item = array->items; item->prog; item++) item 1810 kernel/bpf/core.c if (item->prog != &dummy_bpf_prog.prog) item 1817 kernel/bpf/core.c struct bpf_prog_array_item *item; item 1819 kernel/bpf/core.c for (item = array->items; item->prog; item++) item 1820 kernel/bpf/core.c if (item->prog != &dummy_bpf_prog.prog) item 1829 kernel/bpf/core.c struct bpf_prog_array_item *item; item 1832 kernel/bpf/core.c for (item = array->items; item->prog; item++) { item 1833 kernel/bpf/core.c if (item->prog == &dummy_bpf_prog.prog) item 1835 kernel/bpf/core.c prog_ids[i] = item->prog->aux->id; item 1837 kernel/bpf/core.c item++; item 1842 kernel/bpf/core.c return !!(item->prog); item 1874 kernel/bpf/core.c struct bpf_prog_array_item *item; item 1876 kernel/bpf/core.c for (item = array->items; item->prog; item++) item 1877 kernel/bpf/core.c if (item->prog == old_prog) { item 1878 kernel/bpf/core.c WRITE_ONCE(item->prog, &dummy_bpf_prog.prog); item 4963 kernel/trace/ring_buffer.c struct rb_item *item; item 4999 kernel/trace/ring_buffer.c item = ring_buffer_event_data(event); item 5000 kernel/trace/ring_buffer.c item->size = size; item 5001 kernel/trace/ring_buffer.c memcpy(item->str, rb_string, size); item 5145 kernel/trace/ring_buffer.c struct rb_item *item; item 5183 kernel/trace/ring_buffer.c item = ring_buffer_event_data(event); item 5185 kernel/trace/ring_buffer.c total_size += item->size + sizeof(struct rb_item); item 5186 kernel/trace/ring_buffer.c if (memcmp(&item->str[0], rb_string, item->size) != 0) { item 5188 kernel/trace/ring_buffer.c pr_info("buffer had: %.*s\n", item->size, item->str); item 5189 kernel/trace/ring_buffer.c pr_info("expected: %.*s\n", item->size, rb_string); item 50 kernel/trace/trace.h #define __field(type, item) type item; item 53 kernel/trace/trace.h #define __field_struct(type, item) __field(type, item) item 56 kernel/trace/trace.h #define __field_desc(type, container, item) item 59 kernel/trace/trace.h #define __array(type, item, size) type item[size]; item 62 kernel/trace/trace.h #define __array_desc(type, container, item, size) item 65 kernel/trace/trace.h #define __dynamic_array(type, item) type item[]; item 147 kernel/trace/trace_events.c #define __generic_field(type, item, filter_type) \ item 149 kernel/trace/trace_events.c #item, 0, 0, is_signed_type(type), \ item 154 kernel/trace/trace_events.c #define __common_field(type, item) \ item 156 kernel/trace/trace_events.c "common_" #item, \ item 157 kernel/trace/trace_events.c offsetof(typeof(ent), item), \ item 158 kernel/trace/trace_events.c sizeof(ent.item), \ item 39 kernel/trace/trace_export.c #define __field_struct(type, item) item 42 kernel/trace/trace_export.c #define __field(type, item) type item; item 45 kernel/trace/trace_export.c #define __field_desc(type, container, item) type item; item 48 kernel/trace/trace_export.c #define __array(type, item, size) type item[size]; item 51 kernel/trace/trace_export.c #define __array_desc(type, container, item, size) type item[size]; item 54 kernel/trace/trace_export.c #define __dynamic_array(type, item) type item[]; item 83 kernel/trace/trace_export.c #define __field(type, item) \ item 84 kernel/trace/trace_export.c ret = trace_define_field(event_call, #type, #item, \ item 85 kernel/trace/trace_export.c offsetof(typeof(field), item), \ item 86 kernel/trace/trace_export.c sizeof(field.item), \ item 92 kernel/trace/trace_export.c #define __field_desc(type, container, item) \ item 93 kernel/trace/trace_export.c ret = trace_define_field(event_call, #type, #item, \ item 95 kernel/trace/trace_export.c container.item), \ item 96 kernel/trace/trace_export.c sizeof(field.container.item), \ item 102 kernel/trace/trace_export.c #define __array(type, item, len) \ item 106 kernel/trace/trace_export.c ret = trace_define_field(event_call, type_str, #item, \ item 107 kernel/trace/trace_export.c offsetof(typeof(field), item), \ item 108 kernel/trace/trace_export.c sizeof(field.item), \ item 115 kernel/trace/trace_export.c #define __array_desc(type, container, item, len) \ item 117 kernel/trace/trace_export.c ret = trace_define_field(event_call, #type "[" #len "]", #item, \ item 119 kernel/trace/trace_export.c container.item), \ item 120 kernel/trace/trace_export.c sizeof(field.container.item), \ item 126 kernel/trace/trace_export.c #define __dynamic_array(type, item) \ item 127 kernel/trace/trace_export.c ret = trace_define_field(event_call, #type "[]", #item, \ item 128 kernel/trace/trace_export.c offsetof(typeof(field), item), \ item 153 kernel/trace/trace_export.c #define __field(type, item) item 156 kernel/trace/trace_export.c #define __field_desc(type, container, item) item 159 kernel/trace/trace_export.c #define __array(type, item, len) item 162 kernel/trace/trace_export.c #define __array_desc(type, container, item, len) item 165 kernel/trace/trace_export.c #define __dynamic_array(type, item) item 44 kernel/trace/trace_probe.h #define DEFINE_FIELD(type, item, name, is_signed) \ item 47 kernel/trace/trace_probe.h offsetof(typeof(field), item), \ item 48 kernel/trace/trace_probe.h sizeof(field.item), is_signed, \ item 45 lib/parman.c struct parman_item *item); item 47 lib/parman.c struct parman_item *item); item 127 lib/parman.c struct parman_item *item, unsigned long to_index, item 130 lib/parman.c parman->ops->move(parman->priv, item->index, to_index, count); item 136 lib/parman.c struct parman_item *item; item 141 lib/parman.c item = parman_prio_first_item(prio); item 143 lib/parman.c __parman_prio_move(parman, prio, item, to_index, 1); item 144 lib/parman.c list_move_tail(&item->list, &prio->item_list); item 145 lib/parman.c item->index = to_index; item 151 lib/parman.c struct parman_item *item; item 156 lib/parman.c item = parman_prio_last_item(prio); item 158 lib/parman.c __parman_prio_move(parman, prio, item, to_index, 1); item 159 lib/parman.c list_move(&item->list, &prio->item_list); item 160 lib/parman.c item->index = to_index; item 165 lib/parman.c struct parman_item *item) item 171 lib/parman.c if (last_item == item) { item 172 lib/parman.c list_del(&item->list); item 175 lib/parman.c to_index = item->index; item 178 lib/parman.c list_replace(&item->list, &last_item->list); item 184 lib/parman.c struct parman_item *item) item 202 lib/parman.c item->index = new_index; item 203 lib/parman.c list_add_tail(&item->list, &prio->item_list); item 210 lib/parman.c struct parman_item *item) item 212 lib/parman.c parman_prio_item_remove(parman, prio, item); item 353 lib/parman.c struct parman_item *item) item 355 lib/parman.c return parman->algo->item_add(parman, prio, item); item 368 lib/parman.c struct parman_item *item) item 370 lib/parman.c parman->algo->item_remove(parman, prio, item); item 691 lib/radix-tree.c void __rcu **slot, void *item, bool replace) item 695 lib/radix-tree.c rcu_assign_pointer(*slot, item); item 698 lib/radix-tree.c if (xa_is_value(item)) item 713 lib/radix-tree.c void *item) item 719 lib/radix-tree.c BUG_ON(radix_tree_is_internal_node(item)); item 725 lib/radix-tree.c error = insert_entries(node, slot, item, false); item 832 lib/radix-tree.c static void replace_slot(void __rcu **slot, void *item, item 840 lib/radix-tree.c rcu_assign_pointer(*slot, item); item 861 lib/radix-tree.c void *item, void *old) item 871 lib/radix-tree.c return !!item - !!old; item 886 lib/radix-tree.c void __rcu **slot, void *item) item 889 lib/radix-tree.c int values = !!xa_is_value(item) - !!xa_is_value(old); item 890 lib/radix-tree.c int count = calculate_count(root, node, slot, item, old); item 899 lib/radix-tree.c replace_slot(slot, item, node, count, values); item 924 lib/radix-tree.c void __rcu **slot, void *item) item 926 lib/radix-tree.c __radix_tree_replace(root, NULL, slot, item); item 941 lib/radix-tree.c void __rcu **slot, void *item) item 943 lib/radix-tree.c __radix_tree_replace(root, iter->node, slot, item); item 1423 lib/radix-tree.c unsigned long index, void *item) item 1436 lib/radix-tree.c if (item && entry != item) item 691 lib/string.c const char *item; item 694 lib/string.c item = array[index]; item 695 lib/string.c if (!item) item 697 lib/string.c if (!strcmp(item, string)) item 716 lib/string.c const char *item; item 720 lib/string.c item = array[index]; item 721 lib/string.c if (!item) item 723 lib/string.c if (sysfs_streq(item, str)) item 193 lib/test_parman.c struct test_parman_item *item = &test_parman->items[i]; item 198 lib/test_parman.c item->prio = &test_parman->prios[prio_index]; item 207 lib/test_parman.c struct test_parman_item *item = &test_parman->items[i]; item 209 lib/test_parman.c if (!item->used) item 212 lib/test_parman.c &item->prio->parman_prio, item 213 lib/test_parman.c &item->parman_item); item 275 lib/test_parman.c struct test_parman_item *item = &test_parman->items[item_index]; item 280 lib/test_parman.c if (!item->used) { item 282 lib/test_parman.c &item->prio->parman_prio, item 283 lib/test_parman.c &item->parman_item); item 286 lib/test_parman.c test_parman->prio_array[item->parman_item.index] = item; item 289 lib/test_parman.c test_parman->prio_array[item->parman_item.index] = NULL; item 291 lib/test_parman.c &item->prio->parman_prio, item 292 lib/test_parman.c &item->parman_item); item 295 lib/test_parman.c item->used = !item->used; item 315 lib/test_parman.c struct test_parman_item *item = test_parman->prio_array[i]; item 317 lib/test_parman.c if (!item) { item 329 lib/test_parman.c if (item->prio->priority < last_priority) { item 331 lib/test_parman.c item->prio->priority, last_priority); item 334 lib/test_parman.c last_priority = item->prio->priority; item 336 lib/test_parman.c if (item->parman_item.index != i) { item 338 lib/test_parman.c item->parman_item.index, i); item 1105 lib/test_xarray.c static noinline unsigned long xa_find_entry(struct xarray *xa, void *item) item 1115 lib/test_xarray.c if (entry == item) item 29 mm/compaction.c static inline void count_compact_event(enum vm_event_item item) item 31 mm/compaction.c count_vm_event(item); item 34 mm/compaction.c static inline void count_compact_events(enum vm_event_item item, long delta) item 36 mm/compaction.c count_vm_events(item, delta); item 39 mm/compaction.c #define count_compact_event(item) do { } while (0) item 40 mm/compaction.c #define count_compact_events(item, delta) do { } while (0) item 125 mm/list_lru.c bool list_lru_add(struct list_lru *lru, struct list_head *item) item 127 mm/list_lru.c int nid = page_to_nid(virt_to_page(item)); item 133 mm/list_lru.c if (list_empty(item)) { item 134 mm/list_lru.c l = list_lru_from_kmem(nlru, item, &memcg); item 135 mm/list_lru.c list_add_tail(item, &l->list); item 149 mm/list_lru.c bool list_lru_del(struct list_lru *lru, struct list_head *item) item 151 mm/list_lru.c int nid = page_to_nid(virt_to_page(item)); item 156 mm/list_lru.c if (!list_empty(item)) { item 157 mm/list_lru.c l = list_lru_from_kmem(nlru, item, NULL); item 158 mm/list_lru.c list_del_init(item); item 169 mm/list_lru.c void list_lru_isolate(struct list_lru_one *list, struct list_head *item) item 171 mm/list_lru.c list_del_init(item); item 176 mm/list_lru.c void list_lru_isolate_move(struct list_lru_one *list, struct list_head *item, item 179 mm/list_lru.c list_move(item, head); item 216 mm/list_lru.c struct list_head *item, *n; item 221 mm/list_lru.c list_for_each_safe(item, n, &l->list) { item 232 mm/list_lru.c ret = isolate(item, l, &nlru->lock, cb_arg); item 249 mm/list_lru.c list_move_tail(item, &l->list); item 357 mm/shmem.c void *item; item 361 mm/shmem.c item = xas_load(&xas); item 362 mm/shmem.c if (item != expected) item 1957 mm/vmscan.c enum vm_event_item item; item 1985 mm/vmscan.c item = current_is_kswapd() ? PGSCAN_KSWAPD : PGSCAN_DIRECT; item 1987 mm/vmscan.c __count_vm_events(item, nr_scanned); item 1988 mm/vmscan.c __count_memcg_events(lruvec_memcg(lruvec), item, nr_scanned); item 1999 mm/vmscan.c item = current_is_kswapd() ? PGSTEAL_KSWAPD : PGSTEAL_DIRECT; item 2001 mm/vmscan.c __count_vm_events(item, nr_reclaimed); item 2002 mm/vmscan.c __count_memcg_events(lruvec_memcg(lruvec), item, nr_reclaimed); item 42 mm/vmstat.c int item, cpu; item 44 mm/vmstat.c for (item = 0; item < NR_VM_NUMA_STAT_ITEMS; item++) { item 45 mm/vmstat.c atomic_long_set(&zone->vm_numa_stat[item], 0); item 47 mm/vmstat.c per_cpu_ptr(zone->pageset, cpu)->vm_numa_stat_diff[item] item 64 mm/vmstat.c int item; item 66 mm/vmstat.c for (item = 0; item < NR_VM_NUMA_STAT_ITEMS; item++) item 67 mm/vmstat.c atomic_long_set(&vm_numa_stat[item], 0); item 316 mm/vmstat.c void __mod_zone_page_state(struct zone *zone, enum zone_stat_item item, item 320 mm/vmstat.c s8 __percpu *p = pcp->vm_stat_diff + item; item 329 mm/vmstat.c zone_page_state_add(x, zone, item); item 336 mm/vmstat.c void __mod_node_page_state(struct pglist_data *pgdat, enum node_stat_item item, item 340 mm/vmstat.c s8 __percpu *p = pcp->vm_node_stat_diff + item; item 349 mm/vmstat.c node_page_state_add(x, pgdat, item); item 379 mm/vmstat.c void __inc_zone_state(struct zone *zone, enum zone_stat_item item) item 382 mm/vmstat.c s8 __percpu *p = pcp->vm_stat_diff + item; item 390 mm/vmstat.c zone_page_state_add(v + overstep, zone, item); item 395 mm/vmstat.c void __inc_node_state(struct pglist_data *pgdat, enum node_stat_item item) item 398 mm/vmstat.c s8 __percpu *p = pcp->vm_node_stat_diff + item; item 406 mm/vmstat.c node_page_state_add(v + overstep, pgdat, item); item 411 mm/vmstat.c void __inc_zone_page_state(struct page *page, enum zone_stat_item item) item 413 mm/vmstat.c __inc_zone_state(page_zone(page), item); item 417 mm/vmstat.c void __inc_node_page_state(struct page *page, enum node_stat_item item) item 419 mm/vmstat.c __inc_node_state(page_pgdat(page), item); item 423 mm/vmstat.c void __dec_zone_state(struct zone *zone, enum zone_stat_item item) item 426 mm/vmstat.c s8 __percpu *p = pcp->vm_stat_diff + item; item 434 mm/vmstat.c zone_page_state_add(v - overstep, zone, item); item 439 mm/vmstat.c void __dec_node_state(struct pglist_data *pgdat, enum node_stat_item item) item 442 mm/vmstat.c s8 __percpu *p = pcp->vm_node_stat_diff + item; item 450 mm/vmstat.c node_page_state_add(v - overstep, pgdat, item); item 455 mm/vmstat.c void __dec_zone_page_state(struct page *page, enum zone_stat_item item) item 457 mm/vmstat.c __dec_zone_state(page_zone(page), item); item 461 mm/vmstat.c void __dec_node_page_state(struct page *page, enum node_stat_item item) item 463 mm/vmstat.c __dec_node_state(page_pgdat(page), item); item 481 mm/vmstat.c enum zone_stat_item item, long delta, int overstep_mode) item 484 mm/vmstat.c s8 __percpu *p = pcp->vm_stat_diff + item; item 515 mm/vmstat.c zone_page_state_add(z, zone, item); item 518 mm/vmstat.c void mod_zone_page_state(struct zone *zone, enum zone_stat_item item, item 521 mm/vmstat.c mod_zone_state(zone, item, delta, 0); item 525 mm/vmstat.c void inc_zone_page_state(struct page *page, enum zone_stat_item item) item 527 mm/vmstat.c mod_zone_state(page_zone(page), item, 1, 1); item 531 mm/vmstat.c void dec_zone_page_state(struct page *page, enum zone_stat_item item) item 533 mm/vmstat.c mod_zone_state(page_zone(page), item, -1, -1); item 538 mm/vmstat.c enum node_stat_item item, int delta, int overstep_mode) item 541 mm/vmstat.c s8 __percpu *p = pcp->vm_node_stat_diff + item; item 572 mm/vmstat.c node_page_state_add(z, pgdat, item); item 575 mm/vmstat.c void mod_node_page_state(struct pglist_data *pgdat, enum node_stat_item item, item 578 mm/vmstat.c mod_node_state(pgdat, item, delta, 0); item 582 mm/vmstat.c void inc_node_state(struct pglist_data *pgdat, enum node_stat_item item) item 584 mm/vmstat.c mod_node_state(pgdat, item, 1, 1); item 587 mm/vmstat.c void inc_node_page_state(struct page *page, enum node_stat_item item) item 589 mm/vmstat.c mod_node_state(page_pgdat(page), item, 1, 1); item 593 mm/vmstat.c void dec_node_page_state(struct page *page, enum node_stat_item item) item 595 mm/vmstat.c mod_node_state(page_pgdat(page), item, -1, -1); item 602 mm/vmstat.c void mod_zone_page_state(struct zone *zone, enum zone_stat_item item, item 608 mm/vmstat.c __mod_zone_page_state(zone, item, delta); item 613 mm/vmstat.c void inc_zone_page_state(struct page *page, enum zone_stat_item item) item 620 mm/vmstat.c __inc_zone_state(zone, item); item 625 mm/vmstat.c void dec_zone_page_state(struct page *page, enum zone_stat_item item) item 630 mm/vmstat.c __dec_zone_page_state(page, item); item 635 mm/vmstat.c void inc_node_state(struct pglist_data *pgdat, enum node_stat_item item) item 640 mm/vmstat.c __inc_node_state(pgdat, item); item 645 mm/vmstat.c void mod_node_page_state(struct pglist_data *pgdat, enum node_stat_item item, item 651 mm/vmstat.c __mod_node_page_state(pgdat, item, delta); item 656 mm/vmstat.c void inc_node_page_state(struct page *page, enum node_stat_item item) item 663 mm/vmstat.c __inc_node_state(pgdat, item); item 668 mm/vmstat.c void dec_node_page_state(struct page *page, enum node_stat_item item) item 673 mm/vmstat.c __dec_node_page_state(page, item); item 940 mm/vmstat.c enum numa_stat_item item) item 943 mm/vmstat.c u16 __percpu *p = pcp->vm_numa_stat_diff + item; item 949 mm/vmstat.c zone_numa_state_add(v, zone, item); item 960 mm/vmstat.c enum zone_stat_item item) item 967 mm/vmstat.c count += zone_page_state(zones + i, item); item 977 mm/vmstat.c enum numa_stat_item item) item 984 mm/vmstat.c count += zone_numa_state_snapshot(zones + i, item); item 993 mm/vmstat.c enum node_stat_item item) item 995 mm/vmstat.c long x = atomic_long_read(&pgdat->vm_stat[item]); item 449 mm/workingset.c static enum lru_status shadow_lru_isolate(struct list_head *item, item 454 mm/workingset.c struct xa_node *node = container_of(item, struct xa_node, private_list); item 480 mm/workingset.c list_lru_isolate(lru, item); item 415 net/ceph/crush/mapper.c int item, int x) item 417 net/ceph/crush/mapper.c if (item >= weight_max) item 419 net/ceph/crush/mapper.c if (weight[item] >= 0x10000) item 421 net/ceph/crush/mapper.c if (weight[item] == 0) item 423 net/ceph/crush/mapper.c if ((crush_hash32_2(CRUSH_HASH_RJENKINS1, x, item) & 0xffff) item 424 net/ceph/crush/mapper.c < weight[item]) item 473 net/ceph/crush/mapper.c int item = 0; item 509 net/ceph/crush/mapper.c item = bucket_perm_choose( item 513 net/ceph/crush/mapper.c item = crush_bucket_choose( item 519 net/ceph/crush/mapper.c if (item >= map->max_devices) { item 520 net/ceph/crush/mapper.c dprintk(" bad item %d\n", item); item 526 net/ceph/crush/mapper.c if (item < 0) item 527 net/ceph/crush/mapper.c itemtype = map->buckets[-1-item]->type; item 530 net/ceph/crush/mapper.c dprintk(" item %d type %d\n", item, itemtype); item 534 net/ceph/crush/mapper.c if (item >= 0 || item 535 net/ceph/crush/mapper.c (-1-item) >= map->max_buckets) { item 540 net/ceph/crush/mapper.c in = map->buckets[-1-item]; item 547 net/ceph/crush/mapper.c if (out[i] == item) { item 555 net/ceph/crush/mapper.c if (item < 0) { item 564 net/ceph/crush/mapper.c map->buckets[-1-item], item 581 net/ceph/crush/mapper.c out2[outpos] = item; item 590 net/ceph/crush/mapper.c item, x); item 624 net/ceph/crush/mapper.c dprintk("CHOOSE got %d\n", item); item 625 net/ceph/crush/mapper.c out[outpos] = item; item 662 net/ceph/crush/mapper.c int item = 0; item 724 net/ceph/crush/mapper.c item = crush_bucket_choose( item 730 net/ceph/crush/mapper.c if (item >= map->max_devices) { item 731 net/ceph/crush/mapper.c dprintk(" bad item %d\n", item); item 740 net/ceph/crush/mapper.c if (item < 0) item 741 net/ceph/crush/mapper.c itemtype = map->buckets[-1-item]->type; item 744 net/ceph/crush/mapper.c dprintk(" item %d type %d\n", item, itemtype); item 748 net/ceph/crush/mapper.c if (item >= 0 || item 749 net/ceph/crush/mapper.c (-1-item) >= map->max_buckets) { item 758 net/ceph/crush/mapper.c in = map->buckets[-1-item]; item 765 net/ceph/crush/mapper.c if (out[i] == item) { item 774 net/ceph/crush/mapper.c if (item < 0) { item 778 net/ceph/crush/mapper.c map->buckets[-1-item], item 791 net/ceph/crush/mapper.c out2[rep] = item; item 797 net/ceph/crush/mapper.c is_out(map, weight, weight_max, item, x)) item 801 net/ceph/crush/mapper.c out[rep] = item; item 151 net/ceph/debugfs.c le64_to_cpu(monc->subs[i].item.start), item 152 net/ceph/debugfs.c (monc->subs[i].item.flags & item 295 net/ceph/mon_client.c le64_to_cpu(monc->subs[i].item.start), item 296 net/ceph/mon_client.c monc->subs[i].item.flags); item 298 net/ceph/mon_client.c memcpy(p, &monc->subs[i].item, sizeof(monc->subs[i].item)); item 299 net/ceph/mon_client.c p += sizeof(monc->subs[i].item); item 357 net/ceph/mon_client.c monc->subs[sub].item.start == start && item 358 net/ceph/mon_client.c monc->subs[sub].item.flags == flags) item 361 net/ceph/mon_client.c monc->subs[sub].item.start = start; item 362 net/ceph/mon_client.c monc->subs[sub].item.flags = flags; item 392 net/ceph/mon_client.c if (monc->subs[sub].item.flags & CEPH_SUBSCRIBE_ONETIME) item 395 net/ceph/mon_client.c monc->subs[sub].item.start = cpu_to_le64(epoch + 1); item 4922 net/ceph/osd_client.c static int decode_watcher(void **p, void *end, struct ceph_watch_item *item) item 4934 net/ceph/osd_client.c ceph_decode_copy_safe(p, end, &item->name, sizeof(item->name), bad); item 4935 net/ceph/osd_client.c ceph_decode_64_safe(p, end, item->cookie, bad); item 4939 net/ceph/osd_client.c ret = ceph_decode_entity_addr(p, end, &item->addr); item 4947 net/ceph/osd_client.c ENTITY_NAME(item->name), item->cookie, item 4948 net/ceph/osd_client.c ceph_pr_addr(&item->addr)); item 4146 net/core/devlink.c struct devlink_fmsg_item *item, *tmp; item 4148 net/core/devlink.c list_for_each_entry_safe(item, tmp, &fmsg->item_list, list) { item 4149 net/core/devlink.c list_del(&item->list); item 4150 net/core/devlink.c kfree(item); item 4158 net/core/devlink.c struct devlink_fmsg_item *item; item 4160 net/core/devlink.c item = kzalloc(sizeof(*item), GFP_KERNEL); item 4161 net/core/devlink.c if (!item) item 4164 net/core/devlink.c item->attrtype = attrtype; item 4165 net/core/devlink.c list_add_tail(&item->list, &fmsg->item_list); item 4191 net/core/devlink.c struct devlink_fmsg_item *item; item 4196 net/core/devlink.c item = kzalloc(sizeof(*item) + strlen(name) + 1, GFP_KERNEL); item 4197 net/core/devlink.c if (!item) item 4200 net/core/devlink.c item->nla_type = NLA_NUL_STRING; item 4201 net/core/devlink.c item->len = strlen(name) + 1; item 4202 net/core/devlink.c item->attrtype = DEVLINK_ATTR_FMSG_OBJ_NAME; item 4203 net/core/devlink.c memcpy(&item->value, name, item->len); item 4204 net/core/devlink.c list_add_tail(&item->list, &fmsg->item_list); item 4268 net/core/devlink.c struct devlink_fmsg_item *item; item 4273 net/core/devlink.c item = kzalloc(sizeof(*item) + value_len, GFP_KERNEL); item 4274 net/core/devlink.c if (!item) item 4277 net/core/devlink.c item->nla_type = value_nla_type; item 4278 net/core/devlink.c item->len = value_len; item 4279 net/core/devlink.c item->attrtype = DEVLINK_ATTR_FMSG_OBJ_VALUE_DATA; item 4280 net/core/devlink.c memcpy(&item->value, value, item->len); item 4281 net/core/devlink.c list_add_tail(&item->list, &fmsg->item_list); item 4499 net/core/devlink.c struct devlink_fmsg_item *item; item 4508 net/core/devlink.c list_for_each_entry(item, &fmsg->item_list, list) { item 4514 net/core/devlink.c switch (item->attrtype) { item 4519 net/core/devlink.c err = nla_put_flag(skb, item->attrtype); item 4522 net/core/devlink.c err = devlink_fmsg_item_fill_type(item, skb); item 4525 net/core/devlink.c err = devlink_fmsg_item_fill_data(item, skb); item 4528 net/core/devlink.c err = nla_put_string(skb, item->attrtype, item 4529 net/core/devlink.c (char *) &item->value); item 138 net/netfilter/nf_conntrack_ecache.c struct nf_ct_event item = { item 149 net/netfilter/nf_conntrack_ecache.c ret = notify->fcn(eventmask | missed, &item); item 184 net/netfilter/nf_conntrack_ecache.c struct nf_ct_event item; item 209 net/netfilter/nf_conntrack_ecache.c item.ct = ct; item 210 net/netfilter/nf_conntrack_ecache.c item.portid = 0; item 211 net/netfilter/nf_conntrack_ecache.c item.report = 0; item 213 net/netfilter/nf_conntrack_ecache.c ret = notify->fcn(events | missed, &item); item 249 net/netfilter/nf_conntrack_ecache.c struct nf_exp_event item = { item 254 net/netfilter/nf_conntrack_ecache.c notify->fcn(1 << event, &item); item 901 net/netfilter/nf_conntrack_h323_main.c &setup->fastStart.item[i]); item 933 net/netfilter/nf_conntrack_h323_main.c &callproc->fastStart.item[i]); item 964 net/netfilter/nf_conntrack_h323_main.c &connect->fastStart.item[i]); item 995 net/netfilter/nf_conntrack_h323_main.c &alert->fastStart.item[i]); item 1035 net/netfilter/nf_conntrack_h323_main.c &facility->fastStart.item[i]); item 1066 net/netfilter/nf_conntrack_h323_main.c &progress->fastStart.item[i]); item 1124 net/netfilter/nf_conntrack_h323_main.c &pdu->h245Control.item[i]); item 1375 net/netfilter/nf_conntrack_h323_main.c rrq->callSignalAddress.item, item 1384 net/netfilter/nf_conntrack_h323_main.c rrq->rasAddress.item, item 1416 net/netfilter/nf_conntrack_h323_main.c rcf->callSignalAddress.item, item 1466 net/netfilter/nf_conntrack_h323_main.c urq->callSignalAddress.item, item 1655 net/netfilter/nf_conntrack_h323_main.c irr->callSignalAddress.item, item 680 net/netfilter/nf_conntrack_netlink.c ctnetlink_conntrack_event(unsigned int events, struct nf_ct_event *item) item 687 net/netfilter/nf_conntrack_netlink.c struct nf_conn *ct = item->ct; item 707 net/netfilter/nf_conntrack_netlink.c if (!item->report && !nfnetlink_has_listeners(net, group)) item 715 net/netfilter/nf_conntrack_netlink.c nlh = nlmsg_put(skb, item->portid, 0, type, sizeof(*nfmsg), flags); item 800 net/netfilter/nf_conntrack_netlink.c err = nfnetlink_send(skb, net, item->portid, group, item->report, item 2830 net/netfilter/nf_conntrack_netlink.c ctnetlink_expect_event(unsigned int events, struct nf_exp_event *item) item 2832 net/netfilter/nf_conntrack_netlink.c struct nf_conntrack_expect *exp = item->exp; item 2850 net/netfilter/nf_conntrack_netlink.c if (!item->report && !nfnetlink_has_listeners(net, group)) item 2858 net/netfilter/nf_conntrack_netlink.c nlh = nlmsg_put(skb, item->portid, 0, type, sizeof(*nfmsg), flags); item 2871 net/netfilter/nf_conntrack_netlink.c nfnetlink_send(skb, net, item->portid, group, item->report, GFP_ATOMIC); item 128 net/qrtr/qrtr.c struct list_head item; item 150 net/qrtr/qrtr.c list_del(&node->item); item 439 net/qrtr/qrtr.c list_add(&node->item, &qrtr_all_nodes); item 705 net/qrtr/qrtr.c list_for_each_entry(node, &qrtr_all_nodes, item) { item 367 net/sched/cls_api.c static void tcf_chain_head_change_item(struct tcf_filter_chain_list_item *item, item 370 net/sched/cls_api.c if (item->chain_head_change) item 371 net/sched/cls_api.c item->chain_head_change(tp_head, item->chain_head_change_priv); item 377 net/sched/cls_api.c struct tcf_filter_chain_list_item *item; item 384 net/sched/cls_api.c list_for_each_entry(item, &block->chain0.filter_chain_list, list) item 385 net/sched/cls_api.c tcf_chain_head_change_item(item, tp_head); item 799 net/sched/cls_api.c struct tcf_filter_chain_list_item *item; item 802 net/sched/cls_api.c item = kmalloc(sizeof(*item), GFP_KERNEL); item 803 net/sched/cls_api.c if (!item) { item 807 net/sched/cls_api.c item->chain_head_change = ei->chain_head_change; item 808 net/sched/cls_api.c item->chain_head_change_priv = ei->chain_head_change_priv; item 815 net/sched/cls_api.c list_add(&item->list, &block->chain0.filter_chain_list); item 825 net/sched/cls_api.c tcf_chain_head_change_item(item, tp_head); item 828 net/sched/cls_api.c list_add(&item->list, &block->chain0.filter_chain_list); item 842 net/sched/cls_api.c struct tcf_filter_chain_list_item *item; item 845 net/sched/cls_api.c list_for_each_entry(item, &block->chain0.filter_chain_list, list) { item 847 net/sched/cls_api.c (item->chain_head_change == ei->chain_head_change && item 848 net/sched/cls_api.c item->chain_head_change_priv == ei->chain_head_change_priv)) { item 850 net/sched/cls_api.c tcf_chain_head_change_item(item, NULL); item 851 net/sched/cls_api.c list_del(&item->list); item 854 net/sched/cls_api.c kfree(item); item 1296 net/sched/cls_api.c struct tcf_block_owner_item *item; item 1299 net/sched/cls_api.c list_for_each_entry(item, &block->owner_list, list) item 1300 net/sched/cls_api.c tcf_block_owner_netif_keep_dst(block, item->q, item 1301 net/sched/cls_api.c item->binder_type); item 1309 net/sched/cls_api.c struct tcf_block_owner_item *item; item 1311 net/sched/cls_api.c item = kmalloc(sizeof(*item), GFP_KERNEL); item 1312 net/sched/cls_api.c if (!item) item 1314 net/sched/cls_api.c item->q = q; item 1315 net/sched/cls_api.c item->binder_type = binder_type; item 1316 net/sched/cls_api.c list_add(&item->list, &block->owner_list); item 1324 net/sched/cls_api.c struct tcf_block_owner_item *item; item 1326 net/sched/cls_api.c list_for_each_entry(item, &block->owner_list, list) { item 1327 net/sched/cls_api.c if (item->q == q && item->binder_type == binder_type) { item 1328 net/sched/cls_api.c list_del(&item->list); item 1329 net/sched/cls_api.c kfree(item); item 1714 net/sched/sch_taprio.c struct nlattr *item; item 1716 net/sched/sch_taprio.c item = nla_nest_start_noflag(msg, TCA_TAPRIO_SCHED_ENTRY); item 1717 net/sched/sch_taprio.c if (!item) item 1734 net/sched/sch_taprio.c return nla_nest_end(msg, item); item 1737 net/sched/sch_taprio.c nla_nest_cancel(msg, item); item 84 net/sunrpc/auth_gss/svcauth_gss.c static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item); item 109 net/sunrpc/auth_gss/svcauth_gss.c static inline int rsi_hash(struct rsi *item) item 111 net/sunrpc/auth_gss/svcauth_gss.c return hash_mem(item->in_handle.data, item->in_handle.len, RSI_HASHBITS) item 112 net/sunrpc/auth_gss/svcauth_gss.c ^ hash_mem(item->in_token.data, item->in_token.len, RSI_HASHBITS); item 117 net/sunrpc/auth_gss/svcauth_gss.c struct rsi *item = container_of(a, struct rsi, h); item 119 net/sunrpc/auth_gss/svcauth_gss.c return netobj_equal(&item->in_handle, &tmp->in_handle) && item 120 net/sunrpc/auth_gss/svcauth_gss.c netobj_equal(&item->in_token, &tmp->in_token); item 140 net/sunrpc/auth_gss/svcauth_gss.c struct rsi *item = container_of(citem, struct rsi, h); item 146 net/sunrpc/auth_gss/svcauth_gss.c new->in_handle.len = item->in_handle.len; item 147 net/sunrpc/auth_gss/svcauth_gss.c item->in_handle.len = 0; item 148 net/sunrpc/auth_gss/svcauth_gss.c new->in_token.len = item->in_token.len; item 149 net/sunrpc/auth_gss/svcauth_gss.c item->in_token.len = 0; item 150 net/sunrpc/auth_gss/svcauth_gss.c new->in_handle.data = item->in_handle.data; item 151 net/sunrpc/auth_gss/svcauth_gss.c item->in_handle.data = NULL; item 152 net/sunrpc/auth_gss/svcauth_gss.c new->in_token.data = item->in_token.data; item 153 net/sunrpc/auth_gss/svcauth_gss.c item->in_token.data = NULL; item 159 net/sunrpc/auth_gss/svcauth_gss.c struct rsi *item = container_of(citem, struct rsi, h); item 162 net/sunrpc/auth_gss/svcauth_gss.c new->out_handle.len = item->out_handle.len; item 163 net/sunrpc/auth_gss/svcauth_gss.c item->out_handle.len = 0; item 164 net/sunrpc/auth_gss/svcauth_gss.c new->out_token.len = item->out_token.len; item 165 net/sunrpc/auth_gss/svcauth_gss.c item->out_token.len = 0; item 166 net/sunrpc/auth_gss/svcauth_gss.c new->out_handle.data = item->out_handle.data; item 167 net/sunrpc/auth_gss/svcauth_gss.c item->out_handle.data = NULL; item 168 net/sunrpc/auth_gss/svcauth_gss.c new->out_token.data = item->out_token.data; item 169 net/sunrpc/auth_gss/svcauth_gss.c item->out_token.data = NULL; item 171 net/sunrpc/auth_gss/svcauth_gss.c new->major_status = item->major_status; item 172 net/sunrpc/auth_gss/svcauth_gss.c new->minor_status = item->minor_status; item 290 net/sunrpc/auth_gss/svcauth_gss.c static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item) item 293 net/sunrpc/auth_gss/svcauth_gss.c int hash = rsi_hash(item); item 295 net/sunrpc/auth_gss/svcauth_gss.c ch = sunrpc_cache_lookup_rcu(cd, &item->h, hash); item 347 net/sunrpc/auth_gss/svcauth_gss.c static struct rsc *rsc_lookup(struct cache_detail *cd, struct rsc *item); item 561 net/sunrpc/auth_gss/svcauth_gss.c static struct rsc *rsc_lookup(struct cache_detail *cd, struct rsc *item) item 564 net/sunrpc/auth_gss/svcauth_gss.c int hash = rsc_hash(item); item 566 net/sunrpc/auth_gss/svcauth_gss.c ch = sunrpc_cache_lookup_rcu(cd, &item->h, hash); item 39 net/sunrpc/cache.c static bool cache_defer_req(struct cache_req *req, struct cache_head *item); item 40 net/sunrpc/cache.c static void cache_revisit_request(struct cache_head *item); item 559 net/sunrpc/cache.c #define DFR_HASH(item) ((((long)item)>>4 ^ (((long)item)>>13)) % DFR_HASHSIZE) item 577 net/sunrpc/cache.c static void __hash_deferred_req(struct cache_deferred_req *dreq, struct cache_head *item) item 579 net/sunrpc/cache.c int hash = DFR_HASH(item); item 586 net/sunrpc/cache.c struct cache_head *item, item 590 net/sunrpc/cache.c dreq->item = item; item 594 net/sunrpc/cache.c __hash_deferred_req(dreq, item); item 617 net/sunrpc/cache.c static void cache_wait_req(struct cache_req *req, struct cache_head *item) item 625 net/sunrpc/cache.c setup_deferral(dreq, item, 0); item 627 net/sunrpc/cache.c if (!test_bit(CACHE_PENDING, &item->flags) || item 677 net/sunrpc/cache.c static bool cache_defer_req(struct cache_req *req, struct cache_head *item) item 682 net/sunrpc/cache.c cache_wait_req(req, item); item 683 net/sunrpc/cache.c if (!test_bit(CACHE_PENDING, &item->flags)) item 689 net/sunrpc/cache.c setup_deferral(dreq, item, 1); item 690 net/sunrpc/cache.c if (!test_bit(CACHE_PENDING, &item->flags)) item 694 net/sunrpc/cache.c cache_revisit_request(item); item 700 net/sunrpc/cache.c static void cache_revisit_request(struct cache_head *item) item 705 net/sunrpc/cache.c int hash = DFR_HASH(item); item 711 net/sunrpc/cache.c if (dreq->item == item) { item 774 net/sunrpc/cache.c struct cache_head *item; item 790 net/sunrpc/cache.c detail->cache_request(detail, crq->item, &bp, &len); item 837 net/sunrpc/cache.c if (rp->offset == 0 && !test_bit(CACHE_PENDING, &rq->item->flags)) { item 863 net/sunrpc/cache.c !test_bit(CACHE_PENDING, &rq->item->flags)) { item 866 net/sunrpc/cache.c cache_put(rq->item, cd); item 1083 net/sunrpc/cache.c if (cr->item != ch) item 1096 net/sunrpc/cache.c cache_put(cr->item, detail); item 1227 net/sunrpc/cache.c crq->item = cache_get(h); item 106 net/sunrpc/svcauth_unix.c struct cache_head *item = container_of(kref, struct cache_head, ref); item 107 net/sunrpc/svcauth_unix.c struct ip_map *im = container_of(item, struct ip_map,h); item 109 net/sunrpc/svcauth_unix.c if (test_bit(CACHE_VALID, &item->flags) && item 110 net/sunrpc/svcauth_unix.c !test_bit(CACHE_NEGATIVE, &item->flags)) item 129 net/sunrpc/svcauth_unix.c struct ip_map *item = container_of(citem, struct ip_map, h); item 131 net/sunrpc/svcauth_unix.c strcpy(new->m_class, item->m_class); item 132 net/sunrpc/svcauth_unix.c new->m_addr = item->m_addr; item 137 net/sunrpc/svcauth_unix.c struct ip_map *item = container_of(citem, struct ip_map, h); item 139 net/sunrpc/svcauth_unix.c kref_get(&item->m_client->h.ref); item 140 net/sunrpc/svcauth_unix.c new->m_client = item->m_client; item 433 net/sunrpc/svcauth_unix.c struct cache_head *item = container_of(kref, struct cache_head, ref); item 434 net/sunrpc/svcauth_unix.c struct unix_gid *ug = container_of(item, struct unix_gid, h); item 435 net/sunrpc/svcauth_unix.c if (test_bit(CACHE_VALID, &item->flags) && item 436 net/sunrpc/svcauth_unix.c !test_bit(CACHE_NEGATIVE, &item->flags)) item 450 net/sunrpc/svcauth_unix.c struct unix_gid *item = container_of(citem, struct unix_gid, h); item 451 net/sunrpc/svcauth_unix.c new->uid = item->uid; item 456 net/sunrpc/svcauth_unix.c struct unix_gid *item = container_of(citem, struct unix_gid, h); item 458 net/sunrpc/svcauth_unix.c get_group_info(item->gi); item 459 net/sunrpc/svcauth_unix.c new->gi = item->gi; item 863 net/sunrpc/xprtrdma/verbs.c unsigned long item) item 865 net/sunrpc/xprtrdma/verbs.c return likely(item < buf->rb_sc_last) ? item + 1 : 0; item 90 net/tipc/name_distr.c struct distr_item *item; item 106 net/tipc/name_distr.c item = (struct distr_item *)msg_data(buf_msg(skb)); item 107 net/tipc/name_distr.c publ_to_item(item, publ); item 118 net/tipc/name_distr.c struct distr_item *item; item 132 net/tipc/name_distr.c item = (struct distr_item *)msg_data(buf_msg(buf)); item 133 net/tipc/name_distr.c publ_to_item(item, publ); item 148 net/tipc/name_distr.c struct distr_item *item = NULL; item 163 net/tipc/name_distr.c item = (struct distr_item *)msg_data(buf_msg(skb)); item 167 net/tipc/name_distr.c publ_to_item(item, publ); item 168 net/tipc/name_distr.c item++; item 305 net/tipc/name_distr.c struct distr_item *item; item 316 net/tipc/name_distr.c item = (struct distr_item *)msg_data(msg); item 320 net/tipc/name_distr.c tipc_update_nametbl(net, item, node, mtype); item 321 net/tipc/name_distr.c item++; item 41 samples/configfs/configfs_sample.c static inline struct childless *to_childless(struct config_item *item) item 43 samples/configfs/configfs_sample.c return item ? container_of(to_configfs_subsystem(to_config_group(item)), item 47 samples/configfs/configfs_sample.c static ssize_t childless_showme_show(struct config_item *item, char *page) item 49 samples/configfs/configfs_sample.c struct childless *childless = to_childless(item); item 58 samples/configfs/configfs_sample.c static ssize_t childless_storeme_show(struct config_item *item, char *page) item 60 samples/configfs/configfs_sample.c return sprintf(page, "%d\n", to_childless(item)->storeme); item 63 samples/configfs/configfs_sample.c static ssize_t childless_storeme_store(struct config_item *item, item 66 samples/configfs/configfs_sample.c struct childless *childless = to_childless(item); item 82 samples/configfs/configfs_sample.c static ssize_t childless_description_show(struct config_item *item, char *page) item 133 samples/configfs/configfs_sample.c struct config_item item; item 137 samples/configfs/configfs_sample.c static inline struct simple_child *to_simple_child(struct config_item *item) item 139 samples/configfs/configfs_sample.c return item ? container_of(item, struct simple_child, item) : NULL; item 142 samples/configfs/configfs_sample.c static ssize_t simple_child_storeme_show(struct config_item *item, char *page) item 144 samples/configfs/configfs_sample.c return sprintf(page, "%d\n", to_simple_child(item)->storeme); item 147 samples/configfs/configfs_sample.c static ssize_t simple_child_storeme_store(struct config_item *item, item 150 samples/configfs/configfs_sample.c struct simple_child *simple_child = to_simple_child(item); item 173 samples/configfs/configfs_sample.c static void simple_child_release(struct config_item *item) item 175 samples/configfs/configfs_sample.c kfree(to_simple_child(item)); item 193 samples/configfs/configfs_sample.c static inline struct simple_children *to_simple_children(struct config_item *item) item 195 samples/configfs/configfs_sample.c return item ? container_of(to_config_group(item), item 208 samples/configfs/configfs_sample.c config_item_init_type_name(&simple_child->item, name, item 213 samples/configfs/configfs_sample.c return &simple_child->item; item 216 samples/configfs/configfs_sample.c static ssize_t simple_children_description_show(struct config_item *item, item 233 samples/configfs/configfs_sample.c static void simple_children_release(struct config_item *item) item 235 samples/configfs/configfs_sample.c kfree(to_simple_children(item)); item 295 samples/configfs/configfs_sample.c static ssize_t group_children_description_show(struct config_item *item, item 165 scripts/basic/fixdep.c struct item *next; item 172 scripts/basic/fixdep.c static struct item *hashtab[HASHSZ]; item 189 scripts/basic/fixdep.c struct item *aux; item 204 scripts/basic/fixdep.c struct item *aux = malloc(sizeof(*aux) + len); item 40 scripts/kconfig/lxdialog/checklist.c wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr); item 117 scripts/kconfig/lxdialog/dialog.h struct dialog_color item; item 53 scripts/kconfig/lxdialog/menubox.c static void do_print_item(WINDOW * win, const char *item, int line_y, item 59 scripts/kconfig/lxdialog/menubox.c strncpy(menu_item, item, menu_width - item_x); item 75 scripts/kconfig/lxdialog/menubox.c wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr); item 39 scripts/kconfig/lxdialog/util.c dlg.item.atr = A_NORMAL; item 79 scripts/kconfig/lxdialog/util.c DLG_COLOR(item, COLOR_BLACK, COLOR_WHITE, false); item 118 scripts/kconfig/lxdialog/util.c DLG_COLOR(item, COLOR_WHITE, COLOR_BLACK, false); item 199 scripts/kconfig/lxdialog/util.c init_one_color(&dlg.item); item 275 scripts/kconfig/qconf.cc item = i; item 276 scripts/kconfig/qconf.cc if (sym_get_string_value(item->menu->sym)) item 277 scripts/kconfig/qconf.cc setText(QString::fromLocal8Bit(sym_get_string_value(item->menu->sym))); item 291 scripts/kconfig/qconf.cc sym_set_string_value(item->menu->sym, text().toLatin1()); item 292 scripts/kconfig/qconf.cc parent()->updateList(item); item 387 scripts/kconfig/qconf.cc ConfigItem* item = (ConfigItem*)menu->data; item 389 scripts/kconfig/qconf.cc for (; item; item = item->nextItem) { item 390 scripts/kconfig/qconf.cc if (this == item->listView()) item 394 scripts/kconfig/qconf.cc return item; item 405 scripts/kconfig/qconf.cc ConfigItem* item = (ConfigItem*)selectedItems().first(); item 406 scripts/kconfig/qconf.cc if (!item) item 409 scripts/kconfig/qconf.cc menu = item->menu; item 418 scripts/kconfig/qconf.cc void ConfigList::updateList(ConfigItem* item) item 426 scripts/kconfig/qconf.cc ConfigItem* item; item 429 scripts/kconfig/qconf.cc item = (ConfigItem*)(*it); item 430 scripts/kconfig/qconf.cc if (!item->menu) item 432 scripts/kconfig/qconf.cc item->testUpdateMenu(menu_is_visible(item->menu)); item 441 scripts/kconfig/qconf.cc item = (ConfigItem *)topLevelItem(0); item 442 scripts/kconfig/qconf.cc if (!item) item 443 scripts/kconfig/qconf.cc item = new ConfigItem(this, 0, true); item 444 scripts/kconfig/qconf.cc last = item; item 448 scripts/kconfig/qconf.cc item = last ? last->nextSibling() : firstChild(); item 449 scripts/kconfig/qconf.cc if (!item) item 450 scripts/kconfig/qconf.cc item = new ConfigItem(this, last, rootEntry, true); item 452 scripts/kconfig/qconf.cc item->testUpdateMenu(true); item 454 scripts/kconfig/qconf.cc updateMenuList(item, rootEntry); item 465 scripts/kconfig/qconf.cc void ConfigList::setValue(ConfigItem* item, tristate val) item 471 scripts/kconfig/qconf.cc sym = item->menu ? item->menu->sym : 0; item 483 scripts/kconfig/qconf.cc if (oldval == no && item->menu->list) item 484 scripts/kconfig/qconf.cc item->setExpanded(true); item 485 scripts/kconfig/qconf.cc parent()->updateList(item); item 490 scripts/kconfig/qconf.cc void ConfigList::changeValue(ConfigItem* item) item 496 scripts/kconfig/qconf.cc menu = item->menu; item 501 scripts/kconfig/qconf.cc if (item->menu->list) item 502 scripts/kconfig/qconf.cc item->setExpanded(!item->isExpanded()); item 512 scripts/kconfig/qconf.cc if (item->menu->list) { item 514 scripts/kconfig/qconf.cc item->setExpanded(!item->isExpanded()); item 516 scripts/kconfig/qconf.cc item->setExpanded(true); item 519 scripts/kconfig/qconf.cc parent()->updateList(item); item 524 scripts/kconfig/qconf.cc parent()->lineEdit->show(item); item 549 scripts/kconfig/qconf.cc ConfigItem* item; item 559 scripts/kconfig/qconf.cc item = (ConfigItem *)(*it); item 560 scripts/kconfig/qconf.cc if (item->menu == oldroot) { item 561 scripts/kconfig/qconf.cc setCurrentItem(item); item 562 scripts/kconfig/qconf.cc scrollToItem(item); item 580 scripts/kconfig/qconf.cc ConfigItem* item; item 598 scripts/kconfig/qconf.cc item = last ? last->nextSibling() : parent->firstChild(); item 618 scripts/kconfig/qconf.cc if (!item || item->menu != child) item 619 scripts/kconfig/qconf.cc item = new ConfigItem(parent, last, child, visible); item 621 scripts/kconfig/qconf.cc item->testUpdateMenu(visible); item 624 scripts/kconfig/qconf.cc updateMenuList(item, child); item 626 scripts/kconfig/qconf.cc updateMenuList(item, 0); item 627 scripts/kconfig/qconf.cc last = item; item 631 scripts/kconfig/qconf.cc if (item && item->menu == child) { item 633 scripts/kconfig/qconf.cc if (last == item) item 635 scripts/kconfig/qconf.cc else while (last->nextSibling() != item) item 637 scripts/kconfig/qconf.cc delete item; item 645 scripts/kconfig/qconf.cc ConfigItem* item; item 663 scripts/kconfig/qconf.cc item = last ? last->nextSibling() : (ConfigItem*)parent->topLevelItem(0); item 683 scripts/kconfig/qconf.cc if (!item || item->menu != child) item 684 scripts/kconfig/qconf.cc item = new ConfigItem(parent, last, child, visible); item 686 scripts/kconfig/qconf.cc item->testUpdateMenu(visible); item 689 scripts/kconfig/qconf.cc updateMenuList(item, child); item 691 scripts/kconfig/qconf.cc updateMenuList(item, 0); item 692 scripts/kconfig/qconf.cc last = item; item 696 scripts/kconfig/qconf.cc if (item && item->menu == child) { item 698 scripts/kconfig/qconf.cc if (last == item) item 700 scripts/kconfig/qconf.cc else while (last->nextSibling() != item) item 702 scripts/kconfig/qconf.cc delete item; item 710 scripts/kconfig/qconf.cc ConfigItem* item; item 724 scripts/kconfig/qconf.cc item = (ConfigItem*)i; item 729 scripts/kconfig/qconf.cc if (item->goParent) { item 733 scripts/kconfig/qconf.cc menu = item->menu; item 743 scripts/kconfig/qconf.cc changeValue(item); item 746 scripts/kconfig/qconf.cc setValue(item, no); item 749 scripts/kconfig/qconf.cc setValue(item, mod); item 752 scripts/kconfig/qconf.cc setValue(item, yes); item 771 scripts/kconfig/qconf.cc ConfigItem* item = (ConfigItem*)itemAt(p); item 777 scripts/kconfig/qconf.cc if (!item) item 780 scripts/kconfig/qconf.cc menu = item->menu; item 785 scripts/kconfig/qconf.cc icon = item->pixmap(promptColIdx); item 789 scripts/kconfig/qconf.cc if (item->goParent) { item 799 scripts/kconfig/qconf.cc changeValue(item); item 804 scripts/kconfig/qconf.cc setValue(item, no); item 807 scripts/kconfig/qconf.cc setValue(item, mod); item 810 scripts/kconfig/qconf.cc setValue(item, yes); item 813 scripts/kconfig/qconf.cc changeValue(item); item 832 scripts/kconfig/qconf.cc ConfigItem* item = (ConfigItem*)itemAt(p); item 836 scripts/kconfig/qconf.cc if (!item) item 838 scripts/kconfig/qconf.cc if (item->goParent) { item 842 scripts/kconfig/qconf.cc menu = item->menu; item 849 scripts/kconfig/qconf.cc changeValue(item); item 862 scripts/kconfig/qconf.cc ConfigItem* item = (ConfigItem *)currentItem(); item 863 scripts/kconfig/qconf.cc if (item) { item 864 scripts/kconfig/qconf.cc item->setSelected(true); item 865 scripts/kconfig/qconf.cc menu = item->menu; item 992 scripts/kconfig/qconf.cc void ConfigView::updateList(ConfigItem* item) item 997 scripts/kconfig/qconf.cc v->list->updateList(item); item 1599 scripts/kconfig/qconf.cc ConfigItem* item; item 1622 scripts/kconfig/qconf.cc item = menuList->findConfigItem(parent); item 1623 scripts/kconfig/qconf.cc if (item) { item 1624 scripts/kconfig/qconf.cc item->setSelected(true); item 1625 scripts/kconfig/qconf.cc menuList->scrollToItem(item); item 1638 scripts/kconfig/qconf.cc item = list->findConfigItem(menu); item 1639 scripts/kconfig/qconf.cc if (item) { item 1640 scripts/kconfig/qconf.cc item->setSelected(true); item 1641 scripts/kconfig/qconf.cc list->scrollToItem(item); item 1655 scripts/kconfig/qconf.cc ConfigItem* item, *oldSelection; item 1664 scripts/kconfig/qconf.cc item = (ConfigItem*)menuList->selectedItems().first(); item 1665 scripts/kconfig/qconf.cc oldSelection = item; item 1666 scripts/kconfig/qconf.cc while (item) { item 1667 scripts/kconfig/qconf.cc if (item->menu == configList->rootEntry) { item 1669 scripts/kconfig/qconf.cc item->setSelected(true); item 1672 scripts/kconfig/qconf.cc item = (ConfigItem*)item->parent(); item 66 scripts/kconfig/qconf.h void updateList(ConfigItem *item); item 67 scripts/kconfig/qconf.h void setValue(ConfigItem* item, tristate val); item 68 scripts/kconfig/qconf.h void changeValue(ConfigItem* item); item 205 scripts/kconfig/qconf.h ConfigItem *item; item 214 scripts/kconfig/qconf.h static void updateList(ConfigItem* item); item 258 sound/aoa/codecs/onyx.c ucontrol->value.enumerated.item[0] = !!(v&ONYX_ADC_INPUT_MIC); item 279 sound/aoa/codecs/onyx.c if (ucontrol->value.enumerated.item[0] > 1) item 282 sound/aoa/codecs/onyx.c ucontrol->value.enumerated.item[0]); item 491 sound/aoa/codecs/tas.c ucontrol->value.enumerated.item[0] = !!(tas->acr & TAS_ACR_INPUT_B); item 502 sound/aoa/codecs/tas.c if (ucontrol->value.enumerated.item[0] > 1) item 513 sound/aoa/codecs/tas.c if (ucontrol->value.enumerated.item[0]) item 68 sound/aoa/soundbus/i2sbus/control.c list_add(&i2sdev->item, &c->list); item 77 sound/aoa/soundbus/i2sbus/control.c list_del(&i2sdev->item); item 367 sound/aoa/soundbus/i2sbus/core.c list_for_each_entry_safe(i2sdev, tmp, &control->list, item) item 381 sound/aoa/soundbus/i2sbus/core.c list_for_each_entry(i2sdev, &control->list, item) { item 405 sound/aoa/soundbus/i2sbus/core.c list_for_each_entry(i2sdev, &control->list, item) { item 75 sound/aoa/soundbus/i2sbus/i2sbus.h struct list_head item; item 1042 sound/core/control.c unsigned int item; item 1045 sound/core/control.c item = uinfo->value.enumerated.item; item 1051 sound/core/control.c item = min(item, uinfo->value.enumerated.items - 1); item 1052 sound/core/control.c uinfo->value.enumerated.item = item; item 1055 sound/core/control.c for (; item > 0; --item) item 1944 sound/core/control.c if (info->value.enumerated.item >= items) item 1945 sound/core/control.c info->value.enumerated.item = items - 1; item 1946 sound/core/control.c WARN(strlen(names[info->value.enumerated.item]) >= sizeof(info->value.enumerated.name), item 1948 sound/core/control.c names[info->value.enumerated.item]); item 1950 sound/core/control.c names[info->value.enumerated.item], item 71 sound/core/control_compat.c u32 item; item 98 sound/core/control_compat.c if (get_user(data->value.enumerated.item, &data32->value.enumerated.item)) item 825 sound/core/oss/mixer_oss.c if (slot->capture_item == uctl->value.enumerated.item[0]) { item 881 sound/core/oss/mixer_oss.c uctl->value.enumerated.item[idx] = slot->capture_item; item 900 sound/core/oss/mixer_oss.c static int snd_mixer_oss_build_test(struct snd_mixer_oss *mixer, struct slot *slot, const char *name, int index, int item) item 923 sound/core/oss/mixer_oss.c slot->numid[item] = kcontrol->id.numid; item 927 sound/core/oss/mixer_oss.c slot->present |= 1 << item; item 1061 sound/core/oss/mixer_oss.c uinfo->value.enumerated.item = slot.capture_item; item 826 sound/drivers/dummy.c value->value.enumerated.item[0] = dummy->iobox; item 836 sound/drivers/dummy.c if (value->value.enumerated.item[0] > 1) item 839 sound/drivers/dummy.c changed = value->value.enumerated.item[0] != dummy->iobox; item 841 sound/drivers/dummy.c dummy->iobox = value->value.enumerated.item[0]; item 953 sound/drivers/dummy.c #define FIELD_ENTRY(item, fmt) { \ item 954 sound/drivers/dummy.c .name = #item, \ item 956 sound/drivers/dummy.c .offset = offsetof(struct snd_pcm_hardware, item), \ item 957 sound/drivers/dummy.c .size = sizeof(dummy_pcm_hardware.item) } item 1002 sound/drivers/dummy.c char item[20]; item 1007 sound/drivers/dummy.c ptr = snd_info_get_str(item, line, sizeof(item)); item 1009 sound/drivers/dummy.c if (!strcmp(item, fields[i].name)) item 1014 sound/drivers/dummy.c snd_info_get_str(item, ptr, sizeof(item)); item 1015 sound/drivers/dummy.c if (kstrtoull(item, 0, &val)) item 604 sound/drivers/mts64.c uctl->value.enumerated.item[0] = mts->fps; item 616 sound/drivers/mts64.c if (uctl->value.enumerated.item[0] >= 5) item 619 sound/drivers/mts64.c if (mts->fps != uctl->value.enumerated.item[0]) { item 621 sound/drivers/mts64.c mts->fps = uctl->value.enumerated.item[0]; item 52 sound/drivers/pcsp/pcsp_mixer.c if (uinfo->value.enumerated.item > chip->max_treble) item 53 sound/drivers/pcsp/pcsp_mixer.c uinfo->value.enumerated.item = chip->max_treble; item 55 sound/drivers/pcsp/pcsp_mixer.c (unsigned long)PCSP_CALC_RATE(uinfo->value.enumerated.item)); item 63 sound/drivers/pcsp/pcsp_mixer.c ucontrol->value.enumerated.item[0] = chip->treble; item 72 sound/drivers/pcsp/pcsp_mixer.c int treble = ucontrol->value.enumerated.item[0]; item 478 sound/drivers/vx/vx_mixer.c ucontrol->value.enumerated.item[0] = chip->audio_source_target; item 487 sound/drivers/vx/vx_mixer.c if (ucontrol->value.enumerated.item[0] > 2) item 490 sound/drivers/vx/vx_mixer.c if (ucontrol->value.enumerated.item[0] > 1) item 494 sound/drivers/vx/vx_mixer.c if (chip->audio_source_target != ucontrol->value.enumerated.item[0]) { item 495 sound/drivers/vx/vx_mixer.c chip->audio_source_target = ucontrol->value.enumerated.item[0]; item 527 sound/drivers/vx/vx_mixer.c ucontrol->value.enumerated.item[0] = chip->clock_mode; item 535 sound/drivers/vx/vx_mixer.c if (ucontrol->value.enumerated.item[0] > 2) item 538 sound/drivers/vx/vx_mixer.c if (chip->clock_mode != ucontrol->value.enumerated.item[0]) { item 539 sound/drivers/vx/vx_mixer.c chip->clock_mode = ucontrol->value.enumerated.item[0]; item 372 sound/firewire/bebob/bebob_maudio.c uval->value.enumerated.item[0] = params->clk_src; item 382 sound/firewire/bebob/bebob_maudio.c id = uval->value.enumerated.item[0]; item 476 sound/firewire/bebob/bebob_maudio.c uval->value.enumerated.item[0] = val; item 489 sound/firewire/bebob/bebob_maudio.c id = uval->value.enumerated.item[0]; item 550 sound/firewire/bebob/bebob_maudio.c uval->value.enumerated.item[0] = params->dig_out_fmt; item 562 sound/firewire/bebob/bebob_maudio.c id = uval->value.enumerated.item[0]; item 467 sound/i2c/other/ak4xxx-adda.c ucontrol->value.enumerated.item[0] = item 479 sound/i2c/other/ak4xxx-adda.c unsigned char nval = ucontrol->value.enumerated.item[0] & 3; item 571 sound/i2c/other/ak4xxx-adda.c ucontrol->value.enumerated.item[0] = val; item 586 sound/i2c/other/ak4xxx-adda.c if (ucontrol->value.enumerated.item[0] >= num_names) item 591 sound/i2c/other/ak4xxx-adda.c val |= ucontrol->value.enumerated.item[0] & mask; item 734 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.enumerated.item[0] = (val >> 12) & 7; item 735 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.enumerated.item[1] = (val >> 4) & 7; item 746 sound/isa/ad1816a/ad1816a_lib.c if (ucontrol->value.enumerated.item[0] > 6 || item 747 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.enumerated.item[1] > 6) item 749 sound/isa/ad1816a/ad1816a_lib.c val = (ucontrol->value.enumerated.item[0] << 12) | item 750 sound/isa/ad1816a/ad1816a_lib.c (ucontrol->value.enumerated.item[1] << 4); item 196 sound/isa/cmi8328.c static int array_find(int array[], int item) item 201 sound/isa/cmi8328.c if (array[i] == item) item 207 sound/isa/cmi8328.c static int array_find_l(long array[], long item) item 212 sound/isa/cmi8328.c if (array[i] == item) item 754 sound/isa/es1688/es1688_lib.c ucontrol->value.enumerated.item[0] = snd_es1688_mixer_read(chip, ES1688_REC_DEV) & 7; item 765 sound/isa/es1688/es1688_lib.c if (ucontrol->value.enumerated.item[0] > 8) item 769 sound/isa/es1688/es1688_lib.c nval = (ucontrol->value.enumerated.item[0] & 7) | (oval & ~15); item 990 sound/isa/es18xx.c ucontrol->value.enumerated.item[0] = muxSource; item 998 sound/isa/es18xx.c unsigned char val = ucontrol->value.enumerated.item[0]; item 69 sound/isa/msnd/msnd_pinnacle_mixer.c ucontrol->value.enumerated.item[0] = 0; item 72 sound/isa/msnd/msnd_pinnacle_mixer.c ucontrol->value.enumerated.item[0] = 1; item 75 sound/isa/msnd/msnd_pinnacle_mixer.c ucontrol->value.enumerated.item[0] = 2; item 120 sound/isa/msnd/msnd_pinnacle_mixer.c return snd_msndmix_set_mux(msnd, ucontrol->value.enumerated.item[0]); item 706 sound/isa/sb/sb16_main.c ucontrol->value.enumerated.item[0] = snd_sb16_get_dma_mode(chip); item 718 sound/isa/sb/sb16_main.c if ((nval = ucontrol->value.enumerated.item[0]) > 2) item 188 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 0; item 191 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 1; item 194 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 2; item 197 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 4; item 207 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 4; item 220 sound/isa/sb/sb_mixer.c if (ucontrol->value.enumerated.item[0] > 4) item 222 sound/isa/sb/sb_mixer.c switch (ucontrol->value.enumerated.item[0]) { item 278 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = oval; item 290 sound/isa/sb/sb_mixer.c if (ucontrol->value.enumerated.item[0] > 2) item 296 sound/isa/sb/sb_mixer.c | (ucontrol->value.enumerated.item[0] << 6); item 329 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 1; item 332 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 2; item 335 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 0; item 348 sound/isa/sb/sb_mixer.c if (ucontrol->value.enumerated.item[0] > 2) item 350 sound/isa/sb/sb_mixer.c switch (ucontrol->value.enumerated.item[0]) { item 2010 sound/isa/wss/wss_lib.c ucontrol->value.enumerated.item[0] = (chip->image[CS4231_LEFT_INPUT] & CS4231_MIXS_ALL) >> 6; item 2011 sound/isa/wss/wss_lib.c ucontrol->value.enumerated.item[1] = (chip->image[CS4231_RIGHT_INPUT] & CS4231_MIXS_ALL) >> 6; item 2024 sound/isa/wss/wss_lib.c if (ucontrol->value.enumerated.item[0] > 3 || item 2025 sound/isa/wss/wss_lib.c ucontrol->value.enumerated.item[1] > 3) item 2027 sound/isa/wss/wss_lib.c left = ucontrol->value.enumerated.item[0] << 6; item 2028 sound/isa/wss/wss_lib.c right = ucontrol->value.enumerated.item[1] << 6; item 201 sound/mips/sgio2audio.c ucontrol->value.enumerated.item[0] = ad1843_get_recsrc(&chip->ad1843); item 213 sound/mips/sgio2audio.c ucontrol->value.enumerated.item[0]); item 775 sound/parisc/harmony.c ucontrol->value.enumerated.item[0] = value; item 792 sound/parisc/harmony.c value = ucontrol->value.enumerated.item[0] & 1; item 466 sound/pci/ac97/ac97_codec.c ucontrol->value.enumerated.item[0] = (val >> e->shift_l) & (bitmask - 1); item 468 sound/pci/ac97/ac97_codec.c ucontrol->value.enumerated.item[1] = (val >> e->shift_r) & (bitmask - 1); item 483 sound/pci/ac97/ac97_codec.c if (ucontrol->value.enumerated.item[0] > e->mask - 1) item 485 sound/pci/ac97/ac97_codec.c val = ucontrol->value.enumerated.item[0] << e->shift_l; item 488 sound/pci/ac97/ac97_codec.c if (ucontrol->value.enumerated.item[1] > e->mask - 1) item 490 sound/pci/ac97/ac97_codec.c val |= ucontrol->value.enumerated.item[1] << e->shift_r; item 81 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = ac97->indep_surround; item 88 sound/pci/ac97/ac97_patch.c unsigned char indep = !!ucontrol->value.enumerated.item[0]; item 110 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = ac97->channel_mode; item 117 sound/pci/ac97/ac97_patch.c unsigned char mode = ucontrol->value.enumerated.item[0]; item 235 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = val; item 245 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] > 2) item 247 sound/pci/ac97/ac97_patch.c val = (ucontrol->value.enumerated.item[0] + 1) << 10; item 277 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val >> 1) & 1; item 287 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] > 1) item 289 sound/pci/ac97/ac97_patch.c val = ucontrol->value.enumerated.item[0] << 1; item 378 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val & 0x0008) ? 2 : (val & 0x0020) ? 1 : 0; item 387 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] > 2) item 389 sound/pci/ac97/ac97_patch.c val = (ucontrol->value.enumerated.item[0] == 2) ? 0x0008 : item 390 sound/pci/ac97/ac97_patch.c (ucontrol->value.enumerated.item[0] == 1) ? 0x0020 : 0; item 1078 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 0; item 1080 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 1 + (val & 3); item 1090 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] > 4) item 1092 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] == 0) item 1095 sound/pci/ac97/ac97_patch.c val = 4 | (ucontrol->value.enumerated.item[0] - 1); item 1116 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val >> shift) & 7; item 1126 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] << shift, 0); item 1142 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = ac97->regs[AC97_SIGMATEL_IOMISC] & 3; item 1151 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0], 0); item 1761 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val >> 2) & 1; item 1770 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] > 1) item 1772 sound/pci/ac97/ac97_patch.c val = ucontrol->value.enumerated.item[0] << 2; item 1946 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 0; item 1948 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 1 + ((val >> 8) & 1); item 1957 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] > 2) item 1959 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] == 0) item 1963 sound/pci/ac97/ac97_patch.c ((ucontrol->value.enumerated.item[0] - 1) << 8); item 2102 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = reg2ctrl[val]; item 2113 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] > 3) item 2115 sound/pci/ac97/ac97_patch.c val = ctrl2reg[ucontrol->value.enumerated.item[0]] item 2325 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = val; item 2340 sound/pci/ac97/ac97_patch.c switch (ucontrol->value.enumerated.item[0]) item 2708 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = val; item 2717 sound/pci/ac97/ac97_patch.c (unsigned short)ucontrol->value.enumerated.item[0] << 12, item 2993 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val >> 1) & 0x01; item 3003 sound/pci/ac97/ac97_patch.c (ucontrol->value.enumerated.item[0] & 0x01) << 1); item 3166 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 2; /* SPDIF-loopback */ item 3168 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 1; /* ADC loopback */ item 3170 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 0; /* AC-link */ item 3178 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] == 2) item 3182 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] == 1 ? 0x2 : 0); item 3522 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (usSM51 << 1) + usMS; item 3536 sound/pci/ac97/ac97_patch.c usSM51 = ucontrol->value.enumerated.item[0] >> 1; item 3537 sound/pci/ac97/ac97_patch.c usMS = ucontrol->value.enumerated.item[0] & 1; item 3693 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = uaj >> item 3704 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0]<< item 3722 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = item 3733 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] << 3); item 3738 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] << 3); item 1702 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = 0; item 1707 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = 1; item 1709 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = 2; item 1723 sound/pci/asihpi/asihpi.c if (ucontrol->value.enumerated.item[0] == 1) item 1725 sound/pci/asihpi/asihpi.c if (ucontrol->value.enumerated.item[0] == 2) item 1935 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = -1; item 1938 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = idx; item 1960 sound/pci/asihpi/asihpi.c idx = ucontrol->value.enumerated.item[0]; item 2194 sound/pci/asihpi/asihpi.c if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) item 2195 sound/pci/asihpi/asihpi.c uinfo->value.enumerated.item = item 2200 sound/pci/asihpi/asihpi.c uinfo->value.enumerated.item, item 2227 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = s; item 2234 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = 0; item 2249 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0], item 2319 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = mode - 1; item 2333 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] + 1)); item 2378 sound/pci/asihpi/asihpi.c if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) item 2379 sound/pci/asihpi/asihpi.c uinfo->value.enumerated.item = item 2383 sound/pci/asihpi/asihpi.c clkcache->s[uinfo->value.enumerated.item].name); item 2397 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = 0; item 2410 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = i; item 2421 sound/pci/asihpi/asihpi.c unsigned int item; item 2426 sound/pci/asihpi/asihpi.c item = ucontrol->value.enumerated.item[0]; item 2427 sound/pci/asihpi/asihpi.c if (item >= clkcache->count) item 2428 sound/pci/asihpi/asihpi.c item = clkcache->count-1; item 2431 sound/pci/asihpi/asihpi.c h_control, clkcache->s[item].source)); item 2433 sound/pci/asihpi/asihpi.c if (clkcache->s[item].source == HPI_SAMPLECLOCK_SOURCE_AESEBU_INPUT) item 2435 sound/pci/asihpi/asihpi.c h_control, clkcache->s[item].index)); item 709 sound/pci/aw2/aw2-alsa.c ucontrol->value.enumerated.item[0] = CTL_ROUTE_DIGITAL; item 711 sound/pci/aw2/aw2-alsa.c ucontrol->value.enumerated.item[0] = CTL_ROUTE_ANALOG; item 1054 sound/pci/azt3328.c ucontrol->value.enumerated.item[0] = (val >> 8) & (reg.enum_c - 1); item 1055 sound/pci/azt3328.c ucontrol->value.enumerated.item[1] = (val >> 0) & (reg.enum_c - 1); item 1057 sound/pci/azt3328.c ucontrol->value.enumerated.item[0] = (val >> reg.lchan_shift) & (reg.enum_c - 1); item 1061 sound/pci/azt3328.c reg.reg, val, ucontrol->value.enumerated.item[0], ucontrol->value.enumerated.item[1], item 1078 sound/pci/azt3328.c if (ucontrol->value.enumerated.item[0] > reg.enum_c - 1U || item 1079 sound/pci/azt3328.c ucontrol->value.enumerated.item[1] > reg.enum_c - 1U) item 1081 sound/pci/azt3328.c val = (ucontrol->value.enumerated.item[0] << 8) | item 1082 sound/pci/azt3328.c (ucontrol->value.enumerated.item[1] << 0); item 1084 sound/pci/azt3328.c if (ucontrol->value.enumerated.item[0] > reg.enum_c - 1U) item 1087 sound/pci/azt3328.c val |= (ucontrol->value.enumerated.item[0] << reg.lchan_shift); item 644 sound/pci/bt87x.c value->value.enumerated.item[0] = (chip->reg_control & CTL_A_SEL_MASK) >> CTL_A_SEL_SHIFT; item 658 sound/pci/bt87x.c | (value->value.enumerated.item[0] << CTL_A_SEL_SHIFT); item 186 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.enumerated.item[0] = emu->capture_source; item 197 sound/pci/ca0106/ca0106_mixer.c val = ucontrol->value.enumerated.item[0] ; item 223 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.enumerated.item[0] = emu->i2c_capture_source; item 237 sound/pci/ca0106/ca0106_mixer.c source_id = ucontrol->value.enumerated.item[0] ; item 268 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.enumerated.item[0] = emu->capture_mic_line_in; item 279 sound/pci/ca0106/ca0106_mixer.c val = ucontrol->value.enumerated.item[0] ; item 2531 sound/pci/cmipci.c ucontrol->value.enumerated.item[0] = get_line_in_mode(cm); item 2543 sound/pci/cmipci.c if (ucontrol->value.enumerated.item[0] == 2) item 2547 sound/pci/cmipci.c if (ucontrol->value.enumerated.item[0] == 1) item 2569 sound/pci/cmipci.c ucontrol->value.enumerated.item[0] = item 2582 sound/pci/cmipci.c if (ucontrol->value.enumerated.item[0]) item 424 sound/pci/ctxfi/ctmixer.c ucontrol->value.enumerated.item[0] = atc->output_switch_get(atc); item 432 sound/pci/ctxfi/ctmixer.c if (ucontrol->value.enumerated.item[0] > 2) item 434 sound/pci/ctxfi/ctmixer.c return atc->output_switch_put(atc, ucontrol->value.enumerated.item[0]); item 459 sound/pci/ctxfi/ctmixer.c ucontrol->value.enumerated.item[0] = atc->mic_source_switch_get(atc); item 467 sound/pci/ctxfi/ctmixer.c if (ucontrol->value.enumerated.item[0] > 2) item 470 sound/pci/ctxfi/ctmixer.c ucontrol->value.enumerated.item[0]); item 1418 sound/pci/echoaudio/echoaudio.c ucontrol->value.enumerated.item[0] = i; item 1434 sound/pci/echoaudio/echoaudio.c emode = ucontrol->value.enumerated.item[0]; item 1496 sound/pci/echoaudio/echoaudio.c ucontrol->value.enumerated.item[0] = !!chip->professional_spdif; item 1507 sound/pci/echoaudio/echoaudio.c mode = !!ucontrol->value.enumerated.item[0]; item 1556 sound/pci/echoaudio/echoaudio.c ucontrol->value.enumerated.item[0] = i; item 1570 sound/pci/echoaudio/echoaudio.c eclock = ucontrol->value.enumerated.item[0]; item 401 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = emu->emu1010.output_source[channel]; item 412 sound/pci/emu10k1/emumixer.c val = ucontrol->value.enumerated.item[0]; item 445 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = emu->emu1010.input_source[channel]; item 456 sound/pci/emu10k1/emumixer.c val = ucontrol->value.enumerated.item[0]; item 688 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = emu->emu1010.internal_clock; item 699 sound/pci/emu10k1/emumixer.c val = ucontrol->value.enumerated.item[0] ; item 810 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = emu->emu1010.optical_out; item 822 sound/pci/emu10k1/emumixer.c val = ucontrol->value.enumerated.item[0]; item 861 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = emu->emu1010.optical_in; item 873 sound/pci/emu10k1/emumixer.c val = ucontrol->value.enumerated.item[0]; item 917 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = emu->i2c_capture_source; item 935 sound/pci/emu10k1/emumixer.c source_id = ucontrol->value.enumerated.item[0]; item 1079 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = 0; item 1082 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = 1; item 1085 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = 2; item 1088 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = 1; item 1102 sound/pci/emu10k1/emumixer.c switch(ucontrol->value.enumerated.item[0]) { item 740 sound/pci/emu10k1/p16v.c ucontrol->value.enumerated.item[0] = emu->p16v_capture_source; item 753 sound/pci/emu10k1/p16v.c val = ucontrol->value.enumerated.item[0] ; item 779 sound/pci/emu10k1/p16v.c ucontrol->value.enumerated.item[0] = emu->p16v_capture_channel; item 791 sound/pci/emu10k1/p16v.c val = ucontrol->value.enumerated.item[0] ; item 1061 sound/pci/es1938.c ucontrol->value.enumerated.item[0] = snd_es1938_mixer_read(chip, 0x1c) & 0x07; item 1069 sound/pci/es1938.c unsigned char val = ucontrol->value.enumerated.item[0]; item 971 sound/pci/fm801.c ucontrol->value.enumerated.item[0] = val; item 981 sound/pci/fm801.c if ((val = ucontrol->value.enumerated.item[0]) > 4) item 124 sound/pci/hda/hda_auto_parser.c struct auto_pin_cfg_item *item, item 129 sound/pci/hda/hda_auto_parser.c if (item->type != AUTO_PIN_MIC) item 132 sound/pci/hda/hda_auto_parser.c if (item->is_headset_mic || item->is_headphone_mic) item 135 sound/pci/hda/hda_auto_parser.c def_conf = snd_hda_codec_get_pincfg(codec, item->pin); item 479 sound/pci/hda/hda_auto_parser.c const struct auto_pin_cfg_item *item, item 492 sound/pci/hda/hda_auto_parser.c if (item && item->is_headset_mic) item 494 sound/pci/hda/hda_auto_parser.c if (item && item->is_headphone_mic) item 1651 sound/pci/hda/hda_codec.c struct hda_nid_item *item; item 1665 sound/pci/hda/hda_codec.c item = snd_array_new(&codec->mixers); item 1666 sound/pci/hda/hda_codec.c if (!item) item 1668 sound/pci/hda/hda_codec.c item->kctl = kctl; item 1669 sound/pci/hda/hda_codec.c item->nid = nid; item 1670 sound/pci/hda/hda_codec.c item->flags = flags; item 1689 sound/pci/hda/hda_codec.c struct hda_nid_item *item; item 1692 sound/pci/hda/hda_codec.c item = snd_array_new(&codec->nids); item 1693 sound/pci/hda/hda_codec.c if (!item) item 1695 sound/pci/hda/hda_codec.c item->kctl = kctl; item 1696 sound/pci/hda/hda_codec.c item->index = index; item 1697 sound/pci/hda/hda_codec.c item->nid = nid; item 1999 sound/pci/hda/hda_codec.c ucontrol->value.enumerated.item[0] = hook->mute_mode; item 2009 sound/pci/hda/hda_codec.c hook->mute_mode = ucontrol->value.enumerated.item[0]; item 3478 sound/pci/hda/hda_codec.c index = uinfo->value.enumerated.item; item 3504 sound/pci/hda/hda_codec.c idx = ucontrol->value.enumerated.item[0]; item 2213 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = spec->indep_hp_enabled; item 2226 sound/pci/hda/hda_generic.c unsigned int select = ucontrol->value.enumerated.item[0]; item 2316 sound/pci/hda/hda_generic.c if (uinfo->value.enumerated.item > spec->multi_ios) item 2317 sound/pci/hda/hda_generic.c uinfo->value.enumerated.item = spec->multi_ios; item 2318 sound/pci/hda/hda_generic.c chs = uinfo->value.enumerated.item * 2 + spec->min_channel_count; item 2328 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = item 2388 sound/pci/hda/hda_generic.c ch = ucontrol->value.enumerated.item[0]; item 2433 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = spec->aamix_mode; item 2489 sound/pci/hda/hda_generic.c unsigned int val = ucontrol->value.enumerated.item[0]; item 2657 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = 1; item 2659 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = 0; item 2670 sound/pci/hda/hda_generic.c val = ucontrol->value.enumerated.item[0] ? PIN_HP : PIN_OUT; item 2809 sound/pci/hda/hda_generic.c vref_texts[get_vref_idx(vref_caps, uinfo->value.enumerated.item)]); item 2822 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = cvt_from_vref_idx(vref_caps, idx); item 2836 sound/pci/hda/hda_generic.c if (idx == ucontrol->value.enumerated.item[0]) item 2840 sound/pci/hda/hda_generic.c val |= get_vref_idx(vref_caps, ucontrol->value.enumerated.item[0]); item 2904 sound/pci/hda/hda_generic.c if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) item 2905 sound/pci/hda/hda_generic.c uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; item 2906 sound/pci/hda/hda_generic.c idx = uinfo->value.enumerated.item; item 2951 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = item 2966 sound/pci/hda/hda_generic.c idx = ucontrol->value.enumerated.item[0]; item 3414 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = spec->cur_mux[adc_idx]; item 3424 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0]); item 3968 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = spec->micmute_led.led_mode; item 3979 sound/pci/hda/hda_generic.c mode = ucontrol->value.enumerated.item[0]; item 4693 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = val; item 4703 sound/pci/hda/hda_generic.c switch (ucontrol->value.enumerated.item[0]) { item 52 sound/pci/hda/hda_proc.c struct hda_nid_item *items = array->list, *item; item 55 sound/pci/hda/hda_proc.c item = &items[i]; item 56 sound/pci/hda/hda_proc.c if (item->nid == nid) { item 57 sound/pci/hda/hda_proc.c kctl = item->kctl; item 60 sound/pci/hda/hda_proc.c kctl->id.name, kctl->id.index + item->index, item 62 sound/pci/hda/hda_proc.c if (item->flags & HDA_NID_ITEM_AMP) item 473 sound/pci/hda/patch_analog.c ucontrol->value.enumerated.item[0] = spec->cur_smux; item 482 sound/pci/hda/patch_analog.c unsigned int val = ucontrol->value.enumerated.item[0]; item 748 sound/pci/hda/patch_analog.c ucontrol->value.enumerated.item[0] = spec->cur_smux; item 757 sound/pci/hda/patch_analog.c unsigned int val = ucontrol->value.enumerated.item[0]; item 5285 sound/pci/hda/patch_ca0132.c if (uinfo->value.enumerated.item >= MIC_BOOST_NUM_OF_STEPS) item 5286 sound/pci/hda/patch_ca0132.c uinfo->value.enumerated.item = MIC_BOOST_NUM_OF_STEPS - 1; item 5287 sound/pci/hda/patch_ca0132.c sprintf(namestr, "%d %s", (uinfo->value.enumerated.item * 10), sfx); item 5298 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->mic_boost_enum_val; item 5307 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; item 5337 sound/pci/hda/patch_ca0132.c if (uinfo->value.enumerated.item >= AE5_HEADPHONE_GAIN_MAX) item 5338 sound/pci/hda/patch_ca0132.c uinfo->value.enumerated.item = AE5_HEADPHONE_GAIN_MAX - 1; item 5340 sound/pci/hda/patch_ca0132.c ae5_headphone_gain_presets[uinfo->value.enumerated.item].name, item 5352 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->ae5_headphone_gain_val; item 5361 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; item 5391 sound/pci/hda/patch_ca0132.c if (uinfo->value.enumerated.item >= AE5_SOUND_FILTER_MAX) item 5392 sound/pci/hda/patch_ca0132.c uinfo->value.enumerated.item = AE5_SOUND_FILTER_MAX - 1; item 5394 sound/pci/hda/patch_ca0132.c ae5_filter_presets[uinfo->value.enumerated.item].name); item 5405 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->ae5_filter_val; item 5414 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; item 5442 sound/pci/hda/patch_ca0132.c if (uinfo->value.enumerated.item >= IN_SRC_NUM_OF_INPUTS) item 5443 sound/pci/hda/patch_ca0132.c uinfo->value.enumerated.item = IN_SRC_NUM_OF_INPUTS - 1; item 5445 sound/pci/hda/patch_ca0132.c in_src_str[uinfo->value.enumerated.item]); item 5455 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->in_enum_val; item 5464 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; item 5487 sound/pci/hda/patch_ca0132.c if (uinfo->value.enumerated.item >= NUM_OF_OUTPUTS) item 5488 sound/pci/hda/patch_ca0132.c uinfo->value.enumerated.item = NUM_OF_OUTPUTS - 1; item 5490 sound/pci/hda/patch_ca0132.c alt_out_presets[uinfo->value.enumerated.item].name); item 5500 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->out_enum_val; item 5509 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; item 5543 sound/pci/hda/patch_ca0132.c if (uinfo->value.enumerated.item >= NUM_OF_SVM_SETTINGS) item 5544 sound/pci/hda/patch_ca0132.c uinfo->value.enumerated.item = NUM_OF_SVM_SETTINGS - 1; item 5546 sound/pci/hda/patch_ca0132.c out_svm_set_enum_str[uinfo->value.enumerated.item]); item 5556 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->smart_volume_setting; item 5565 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; item 5607 sound/pci/hda/patch_ca0132.c if (uinfo->value.enumerated.item >= items) item 5608 sound/pci/hda/patch_ca0132.c uinfo->value.enumerated.item = items - 1; item 5610 sound/pci/hda/patch_ca0132.c ca0132_alt_eq_presets[uinfo->value.enumerated.item].name); item 5620 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->eq_preset_val; item 5630 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; item 5664 sound/pci/hda/patch_ca0132.c if (uinfo->value.enumerated.item >= items) item 5665 sound/pci/hda/patch_ca0132.c uinfo->value.enumerated.item = items - 1; item 5667 sound/pci/hda/patch_ca0132.c ca0132_voicefx_presets[uinfo->value.enumerated.item].name); item 5677 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->voicefx_val; item 5687 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; item 468 sound/pci/hda/patch_conexant.c ucontrol->value.enumerated.item[0] = spec->dc_input_bias; item 486 sound/pci/hda/patch_conexant.c idx = ucontrol->value.enumerated.item[0]; item 918 sound/pci/hda/patch_sigmatel.c ucontrol->value.enumerated.item[0] = spec->cur_smux[smux_idx]; item 224 sound/pci/hda/patch_via.c ucontrol->value.enumerated.item[0] = spec->gen.power_down_unused; item 233 sound/pci/hda/patch_via.c bool val = !!ucontrol->value.enumerated.item[0]; item 202 sound/pci/ice1712/aureon.c ucontrol->value.enumerated.item[0] = spec->pca9554_out; item 214 sound/pci/ice1712/aureon.c nval = ucontrol->value.enumerated.item[0]; item 1102 sound/pci/ice1712/aureon.c ucontrol->value.enumerated.item[0] = val & 7; item 1103 sound/pci/ice1712/aureon.c ucontrol->value.enumerated.item[1] = (val >> 4) & 7; item 1117 sound/pci/ice1712/aureon.c nval |= ucontrol->value.enumerated.item[0] & 7; item 1118 sound/pci/ice1712/aureon.c nval |= (ucontrol->value.enumerated.item[1] & 7) << 4; item 1153 sound/pci/ice1712/aureon.c ucontrol->value.enumerated.item[0] = spec->cs8415_mux; item 1168 sound/pci/ice1712/aureon.c nval |= ucontrol->value.enumerated.item[0] & 7; item 1173 sound/pci/ice1712/aureon.c spec->cs8415_mux = ucontrol->value.enumerated.item[0]; item 1365 sound/pci/ice1712/aureon.c ucontrol->value.enumerated.item[0] = (wm_get(ice, WM_MASTER) & 0x8) == 0x8; item 1376 sound/pci/ice1712/aureon.c if (ucontrol->value.enumerated.item[0]) item 578 sound/pci/ice1712/ews.c ucontrol->value.enumerated.item[0] = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & mask ? 1 : 0; item 591 sound/pci/ice1712/ews.c nval = ucontrol->value.enumerated.item[0] ? mask : 0; item 636 sound/pci/ice1712/ews.c ucontrol->value.enumerated.item[0] = data & ICE1712_EWS88MT_OUTPUT_SENSE ? 1 : 0; /* high = -10dBV, low = +4dBu */ item 652 sound/pci/ice1712/ews.c ndata = (data & ~ICE1712_EWS88MT_OUTPUT_SENSE) | (ucontrol->value.enumerated.item[0] ? ICE1712_EWS88MT_OUTPUT_SENSE : 0); item 678 sound/pci/ice1712/ews.c ucontrol->value.enumerated.item[0] = data & (1 << channel) ? 0 : 1; item 698 sound/pci/ice1712/ews.c ndata = (data & ~(1 << channel)) | (ucontrol->value.enumerated.item[0] ? 0 : (1 << channel)); item 1820 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = 13; item 1827 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = val; item 1846 sound/pci/ice1712/ice1712.c if (ucontrol->value.enumerated.item[0] == 13) { item 1908 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = val; item 2032 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = 11; item 2034 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = (cval & 7) + 1; item 2036 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = ((cval >> 3) & 1) + 9; item 2038 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = 0; item 2051 sound/pci/ice1712/ice1712.c if (ucontrol->value.enumerated.item[0] >= 11) item 2053 sound/pci/ice1712/ice1712.c else if (ucontrol->value.enumerated.item[0] >= 9) item 2055 sound/pci/ice1712/ice1712.c else if (ucontrol->value.enumerated.item[0] >= 1) item 2076 sound/pci/ice1712/ice1712.c nval = ucontrol->value.enumerated.item[0] - 1; item 2080 sound/pci/ice1712/ice1712.c nval = (ucontrol->value.enumerated.item[0] - 9) << 3; item 2102 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = 11; item 2104 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = (cval & 7) + 1; item 2106 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = ((cval >> 3) & 1) + 9; item 2108 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = 0; item 2123 sound/pci/ice1712/ice1712.c if (ucontrol->value.enumerated.item[0] >= 11) item 2125 sound/pci/ice1712/ice1712.c else if (ucontrol->value.enumerated.item[0] >= 9) item 2127 sound/pci/ice1712/ice1712.c else if (ucontrol->value.enumerated.item[0] >= 1) item 2136 sound/pci/ice1712/ice1712.c nval = ucontrol->value.enumerated.item[0] - 1; item 2140 sound/pci/ice1712/ice1712.c nval = (ucontrol->value.enumerated.item[0] - 9) << 3; item 1850 sound/pci/ice1712/ice1724.c if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) item 1851 sound/pci/ice1712/ice1724.c uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; item 1852 sound/pci/ice1712/ice1724.c if (uinfo->value.enumerated.item >= hw_rates_count) item 1856 sound/pci/ice1712/ice1724.c uinfo->value.enumerated.item - hw_rates_count]); item 1860 sound/pci/ice1712/ice1724.c ice->hw_rates->list[uinfo->value.enumerated.item]); item 1872 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0] = ice->hw_rates->count + item 1876 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0] = 0; item 1879 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0] = i; item 1913 sound/pci/ice1712/ice1724.c unsigned int item = ucontrol->value.enumerated.item[0]; item 1916 sound/pci/ice1712/ice1724.c if (item > first_ext_clock + ice->ext_clock_count - 1) item 1925 sound/pci/ice1712/ice1724.c if (item >= first_ext_clock) { item 1927 sound/pci/ice1712/ice1724.c ice->set_spdif_clock(ice, item - first_ext_clock); item 1931 sound/pci/ice1712/ice1724.c new_rate = ice->hw_rates->list[item]; item 2096 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0] = item 2107 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0], item 2116 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0] = item 2127 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0], item 361 sound/pci/ice1712/maya44.c ucontrol->value.enumerated.item[0] = sel; item 369 sound/pci/ice1712/maya44.c int sel = ucontrol->value.enumerated.item[0]; item 407 sound/pci/ice1712/maya44.c ucontrol->value.enumerated.item[0] = item 418 sound/pci/ice1712/maya44.c ucontrol->value.enumerated.item[0], item 719 sound/pci/ice1712/phase.c ucontrol->value.enumerated.item[0] = (wm_get(ice, WM_MASTER) & 0x8) == item 733 sound/pci/ice1712/phase.c if (ucontrol->value.enumerated.item[0]) item 414 sound/pci/ice1712/pontis.c ucontrol->value.enumerated.item[0] = ice->gpio.saved[0]; item 426 sound/pci/ice1712/pontis.c if (ucontrol->value.enumerated.item[0] != ice->gpio.saved[0]) { item 427 sound/pci/ice1712/pontis.c ice->gpio.saved[0] = ucontrol->value.enumerated.item[0] & 3; item 284 sound/pci/ice1712/prodigy192.c ucontrol->value.enumerated.item[0] = (val >> 7) & 0x1; item 295 sound/pci/ice1712/prodigy192.c new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80); item 558 sound/pci/ice1712/prodigy192.c ucontrol->value.enumerated.item[0] = (val & AK4114_IPS0) ? 1 : 0; item 571 sound/pci/ice1712/prodigy192.c itemvalue = (ucontrol->value.enumerated.item[0]) ? 0xff : 0x00; item 539 sound/pci/ice1712/prodigy_hifi.c ucontrol->value.enumerated.item[0] = wm_get(ice, WM_ADC_MUX) & 0x1f; item 553 sound/pci/ice1712/prodigy_hifi.c nval = (oval & 0xe0) | ucontrol->value.enumerated.item[0]; item 471 sound/pci/ice1712/se.c uc->value.enumerated.item[0] = spec->vol[n].ch1; item 567 sound/pci/ice1712/se.c vol1 = uc->value.enumerated.item[0]; item 407 sound/pci/ice1712/wtm.c ucontrol->value.enumerated.item[0] = (val >> 7) & 0x1; item 423 sound/pci/ice1712/wtm.c new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80); item 1864 sound/pci/korg1212/korg1212.c u->value.enumerated.item[0] = korg1212->sharedBufferPtr->routeData[i]; item 1867 sound/pci/korg1212/korg1212.c u->value.enumerated.item[1] = korg1212->sharedBufferPtr->routeData[i+1]; item 1884 sound/pci/korg1212/korg1212.c if (u->value.enumerated.item[0] < kAudioChannels && item 1885 sound/pci/korg1212/korg1212.c u->value.enumerated.item[0] != item 1887 sound/pci/korg1212/korg1212.c korg1212->sharedBufferPtr->routeData[i] = u->value.enumerated.item[0]; item 1892 sound/pci/korg1212/korg1212.c if (u->value.enumerated.item[1] < kAudioChannels && item 1893 sound/pci/korg1212/korg1212.c u->value.enumerated.item[1] != item 1895 sound/pci/korg1212/korg1212.c korg1212->sharedBufferPtr->routeData[i+1] = u->value.enumerated.item[1]; item 1972 sound/pci/korg1212/korg1212.c ucontrol->value.enumerated.item[0] = korg1212->clkSource; item 1985 sound/pci/korg1212/korg1212.c val = ucontrol->value.enumerated.item[0] % 3; item 442 sound/pci/oxygen/oxygen.c value->value.enumerated.item[0] = item 458 sound/pci/oxygen/oxygen.c if (value->value.enumerated.item[0]) item 493 sound/pci/oxygen/oxygen.c value->value.enumerated.item[0] = item 507 sound/pci/oxygen/oxygen.c if (value->value.enumerated.item[0]) item 545 sound/pci/oxygen/oxygen.c value->value.enumerated.item[0] = item 556 sound/pci/oxygen/oxygen.c value->value.enumerated.item[0] = item 572 sound/pci/oxygen/oxygen.c if (value->value.enumerated.item[0] == 0) item 593 sound/pci/oxygen/oxygen.c if (value->value.enumerated.item[0]) item 118 sound/pci/oxygen/oxygen_mixer.c value->value.enumerated.item[0] = chip->dac_routing; item 189 sound/pci/oxygen/oxygen_mixer.c if (value->value.enumerated.item[0] >= count) item 192 sound/pci/oxygen/oxygen_mixer.c changed = value->value.enumerated.item[0] != chip->dac_routing; item 194 sound/pci/oxygen/oxygen_mixer.c chip->dac_routing = value->value.enumerated.item[0]; item 660 sound/pci/oxygen/oxygen_mixer.c value->value.enumerated.item[0] = item 675 sound/pci/oxygen/oxygen_mixer.c if (value->value.enumerated.item[0]) item 299 sound/pci/oxygen/xonar_cs43xx.c value->value.enumerated.item[0] = item 314 sound/pci/oxygen/xonar_cs43xx.c if (value->value.enumerated.item[0]) item 66 sound/pci/oxygen/xonar_dg_mixer.c value->value.enumerated.item[0] = data->output_sel; item 76 sound/pci/oxygen/xonar_dg_mixer.c unsigned int new = value->value.enumerated.item[0]; item 286 sound/pci/oxygen/xonar_dg_mixer.c value->value.enumerated.item[0] = data->input_sel; item 299 sound/pci/oxygen/xonar_dg_mixer.c if (value->value.enumerated.item[0] > 3) item 303 sound/pci/oxygen/xonar_dg_mixer.c changed = value->value.enumerated.item[0] != data->input_sel; item 305 sound/pci/oxygen/xonar_dg_mixer.c data->input_sel = value->value.enumerated.item[0]; item 332 sound/pci/oxygen/xonar_dg_mixer.c value->value.enumerated.item[0] = item 346 sound/pci/oxygen/xonar_dg_mixer.c if (value->value.enumerated.item[0]) item 750 sound/pci/oxygen/xonar_pcm179x.c value->value.enumerated.item[0] = item 768 sound/pci/oxygen/xonar_pcm179x.c if (!value->value.enumerated.item[0]) item 859 sound/pci/oxygen/xonar_pcm179x.c value->value.enumerated.item[0] = 0; item 861 sound/pci/oxygen/xonar_pcm179x.c value->value.enumerated.item[0] = 1; item 863 sound/pci/oxygen/xonar_pcm179x.c value->value.enumerated.item[0] = 2; item 878 sound/pci/oxygen/xonar_pcm179x.c switch (value->value.enumerated.item[0]) { item 914 sound/pci/oxygen/xonar_pcm179x.c value->value.enumerated.item[0] = 0; item 916 sound/pci/oxygen/xonar_pcm179x.c value->value.enumerated.item[0] = 1; item 918 sound/pci/oxygen/xonar_pcm179x.c value->value.enumerated.item[0] = 2; item 920 sound/pci/oxygen/xonar_pcm179x.c value->value.enumerated.item[0] = 3; item 935 sound/pci/oxygen/xonar_pcm179x.c if (value->value.enumerated.item[0] > 3) item 937 sound/pci/oxygen/xonar_pcm179x.c offset = offsets[value->value.enumerated.item[0]]; item 973 sound/pci/oxygen/xonar_pcm179x.c value->value.enumerated.item[0] = 0; item 975 sound/pci/oxygen/xonar_pcm179x.c value->value.enumerated.item[0] = 1; item 977 sound/pci/oxygen/xonar_pcm179x.c value->value.enumerated.item[0] = 2; item 991 sound/pci/oxygen/xonar_pcm179x.c switch (value->value.enumerated.item[0]) { item 662 sound/pci/oxygen/xonar_wm87x6.c value->value.enumerated.item[0] = ctl->private_value & 0xf; item 676 sound/pci/oxygen/xonar_wm87x6.c return wm8776_field_set(ctl, value->value.enumerated.item[0]); item 861 sound/pci/oxygen/xonar_wm87x6.c value->value.enumerated.item[0] = 0; item 864 sound/pci/oxygen/xonar_wm87x6.c value->value.enumerated.item[0] = 1; item 866 sound/pci/oxygen/xonar_wm87x6.c value->value.enumerated.item[0] = 2; item 894 sound/pci/oxygen/xonar_wm87x6.c if (value->value.enumerated.item[0] >= 3) item 897 sound/pci/oxygen/xonar_wm87x6.c changed = value->value.enumerated.item[0] != ctl->private_value; item 899 sound/pci/oxygen/xonar_wm87x6.c ctl->private_value = value->value.enumerated.item[0]; item 902 sound/pci/oxygen/xonar_wm87x6.c switch (value->value.enumerated.item[0]) { item 945 sound/pci/oxygen/xonar_wm87x6.c value->value.enumerated.item[0] = item 959 sound/pci/oxygen/xonar_wm87x6.c if (!value->value.enumerated.item[0]) item 657 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.enumerated.item[0] = chip->audio_capture_source; item 672 sound/pci/pcxhr/pcxhr_mixer.c if (ucontrol->value.enumerated.item[0] >= i) item 675 sound/pci/pcxhr/pcxhr_mixer.c if (chip->audio_capture_source != ucontrol->value.enumerated.item[0]) { item 676 sound/pci/pcxhr/pcxhr_mixer.c chip->audio_capture_source = ucontrol->value.enumerated.item[0]; item 746 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.enumerated.item[0] = mgr->use_clock_type; item 761 sound/pci/pcxhr/pcxhr_mixer.c if (ucontrol->value.enumerated.item[0] >= clock_items) item 764 sound/pci/pcxhr/pcxhr_mixer.c if (mgr->use_clock_type != ucontrol->value.enumerated.item[0]) { item 766 sound/pci/pcxhr/pcxhr_mixer.c mgr->use_clock_type = ucontrol->value.enumerated.item[0]; item 1632 sound/pci/rme32.c ucontrol->value.enumerated.item[0] = snd_rme32_getinputtype(rme32); item 1646 sound/pci/rme32.c if (ucontrol->value.enumerated.item[0] >= items) { item 1647 sound/pci/rme32.c ucontrol->value.enumerated.item[0] = items - 1; item 1673 sound/pci/rme32.c val = ucontrol->value.enumerated.item[0] % items; item 1700 sound/pci/rme32.c ucontrol->value.enumerated.item[0] = snd_rme32_getclockmode(rme32); item 1712 sound/pci/rme32.c val = ucontrol->value.enumerated.item[0] % 3; item 1936 sound/pci/rme96.c ucontrol->value.enumerated.item[0] = snd_rme96_getinputtype(rme96); item 1949 sound/pci/rme96.c if (ucontrol->value.enumerated.item[0] == RME96_INPUT_ANALOG) { item 1950 sound/pci/rme96.c ucontrol->value.enumerated.item[0] = RME96_INPUT_XLR; item 1961 sound/pci/rme96.c if (ucontrol->value.enumerated.item[0] >= items) { item 1962 sound/pci/rme96.c ucontrol->value.enumerated.item[0] = items - 1; item 1994 sound/pci/rme96.c val = ucontrol->value.enumerated.item[0] % items; item 2023 sound/pci/rme96.c ucontrol->value.enumerated.item[0] = snd_rme96_getclockmode(rme96); item 2034 sound/pci/rme96.c val = ucontrol->value.enumerated.item[0] % 3; item 2057 sound/pci/rme96.c ucontrol->value.enumerated.item[0] = snd_rme96_getattenuation(rme96); item 2068 sound/pci/rme96.c val = ucontrol->value.enumerated.item[0] % 4; item 2090 sound/pci/rme96.c ucontrol->value.enumerated.item[0] = snd_rme96_getmontracks(rme96); item 2101 sound/pci/rme96.c val = ucontrol->value.enumerated.item[0] % 4; item 1675 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_spdif_in(hdsp); item 1687 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0] % ((hdsp->io_type == H9632) ? 4 : 3); item 1781 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 0; item 1784 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 1; item 1787 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 2; item 1790 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 3; item 1793 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 4; item 1796 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 5; item 1799 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 7; item 1802 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 8; item 1805 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 9; item 1808 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 6; item 1833 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp->system_sample_rate; item 1864 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 0; item 1867 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 1; item 1870 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 2; item 1873 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 3; item 1876 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 4; item 1879 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 5; item 1882 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 7; item 1885 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 8; item 1888 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 9; item 1891 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 6; item 1925 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_system_clock_mode(hdsp); item 2035 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_clock_source(hdsp); item 2047 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; item 2141 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_da_gain(hdsp); item 2153 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; item 2220 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_ad_gain(hdsp); item 2232 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; item 2299 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_phone_gain(hdsp); item 2311 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; item 2416 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_pref_sync_ref(hdsp); item 2444 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0] % max; item 2500 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_autosync_ref(hdsp); item 2702 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_wc_sync_check(hdsp); item 2733 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_spdif_sync_check(hdsp); item 2762 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_adatsync_sync_check(hdsp); item 2810 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_adat_sync_check(hdsp, offset); item 2982 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_rpm_input12(hdsp); item 3022 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; item 3067 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_rpm_input34(hdsp); item 3107 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; item 2423 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = item 2427 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = item 2431 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = item 2435 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = item 2444 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = item 2448 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = item 2452 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = item 2456 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = item 2466 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = item 2470 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = item 2474 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = item 2478 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = item 2482 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = item 2492 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = item 2563 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_system_clock_mode(hdspm); item 2576 sound/pci/rme9652/hdspm.c val = ucontrol->value.enumerated.item[0]; item 2655 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_clock_source(hdspm); item 2668 sound/pci/rme9652/hdspm.c val = ucontrol->value.enumerated.item[0]; item 2978 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = psf; item 2994 sound/pci/rme9652/hdspm.c val = ucontrol->value.enumerated.item[0]; item 3079 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_autosync_ref(hdspm); item 3125 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ret; item 3185 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_tco_ltc_frames(hdspm); item 3304 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_input_select(hdspm); item 3366 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_ds_wire(hdspm); item 3439 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_qs_wire(hdspm); item 3515 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_tristate(hdspm, regmask); item 3593 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_madi_speedmode(hdspm); item 4098 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = val; item 4221 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm->tco->samplerate; item 4231 sound/pci/rme9652/hdspm.c if (hdspm->tco->samplerate != ucontrol->value.enumerated.item[0]) { item 4232 sound/pci/rme9652/hdspm.c hdspm->tco->samplerate = ucontrol->value.enumerated.item[0]; item 4268 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm->tco->pull; item 4278 sound/pci/rme9652/hdspm.c if (hdspm->tco->pull != ucontrol->value.enumerated.item[0]) { item 4279 sound/pci/rme9652/hdspm.c hdspm->tco->pull = ucontrol->value.enumerated.item[0]; item 4313 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm->tco->wordclock; item 4323 sound/pci/rme9652/hdspm.c if (hdspm->tco->wordclock != ucontrol->value.enumerated.item[0]) { item 4324 sound/pci/rme9652/hdspm.c hdspm->tco->wordclock = ucontrol->value.enumerated.item[0]; item 4360 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm->tco->framerate; item 4370 sound/pci/rme9652/hdspm.c if (hdspm->tco->framerate != ucontrol->value.enumerated.item[0]) { item 4371 sound/pci/rme9652/hdspm.c hdspm->tco->framerate = ucontrol->value.enumerated.item[0]; item 4406 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm->tco->input; item 4416 sound/pci/rme9652/hdspm.c if (hdspm->tco->input != ucontrol->value.enumerated.item[0]) { item 4417 sound/pci/rme9652/hdspm.c hdspm->tco->input = ucontrol->value.enumerated.item[0]; item 920 sound/pci/rme9652/rme9652.c ucontrol->value.enumerated.item[0] = rme9652_adat1_in(rme9652); item 933 sound/pci/rme9652/rme9652.c val = ucontrol->value.enumerated.item[0] % 2; item 985 sound/pci/rme9652/rme9652.c ucontrol->value.enumerated.item[0] = rme9652_spdif_in(rme9652); item 998 sound/pci/rme9652/rme9652.c val = ucontrol->value.enumerated.item[0] % 3; item 1130 sound/pci/rme9652/rme9652.c ucontrol->value.enumerated.item[0] = rme9652_sync_mode(rme9652); item 1141 sound/pci/rme9652/rme9652.c val = ucontrol->value.enumerated.item[0] % 3; item 1220 sound/pci/rme9652/rme9652.c ucontrol->value.enumerated.item[0] = rme9652_sync_pref(rme9652); item 1234 sound/pci/rme9652/rme9652.c val = ucontrol->value.enumerated.item[0] % max; item 1383 sound/pci/rme9652/rme9652.c ucontrol->value.enumerated.item[0] = (val & mask1) ? 1 : 0; item 1384 sound/pci/rme9652/rme9652.c ucontrol->value.enumerated.item[0] |= (val & mask2) ? 2 : 0; item 915 sound/pci/sonicvibes.c ucontrol->value.enumerated.item[0] = ((snd_sonicvibes_in1(sonic, SV_IREG_LEFT_ADC) & SV_RECSRC_OUT) >> 5) - 1; item 916 sound/pci/sonicvibes.c ucontrol->value.enumerated.item[1] = ((snd_sonicvibes_in1(sonic, SV_IREG_RIGHT_ADC) & SV_RECSRC_OUT) >> 5) - 1; item 927 sound/pci/sonicvibes.c if (ucontrol->value.enumerated.item[0] >= 7 || item 928 sound/pci/sonicvibes.c ucontrol->value.enumerated.item[1] >= 7) item 930 sound/pci/sonicvibes.c left = (ucontrol->value.enumerated.item[0] + 1) << 5; item 931 sound/pci/sonicvibes.c right = (ucontrol->value.enumerated.item[1] + 1) << 5; item 1612 sound/pci/via82xx.c ucontrol->value.enumerated.item[0] = inb(port) & VIA_REG_CAPTURE_CHANNEL_MIC ? 1 : 0; item 1626 sound/pci/via82xx.c if (ucontrol->value.enumerated.item[0]) item 1406 sound/pci/ymfpci/ymfpci_main.c value->value.enumerated.item[0] = 0; item 1408 sound/pci/ymfpci/ymfpci_main.c value->value.enumerated.item[0] = 1 + ((reg & 0x200) != 0); item 1419 sound/pci/ymfpci/ymfpci_main.c if (value->value.enumerated.item[0] == 0) item 1422 sound/pci/ymfpci/ymfpci_main.c reg = (old_reg & ~0x300) | 0x100 | ((value->value.enumerated.item[0] == 2) << 9); item 797 sound/ppc/tumbler.c ucontrol->value.enumerated.item[0] = mix->capture_source; item 808 sound/ppc/tumbler.c change = ucontrol->value.enumerated.item[0] != mix->capture_source; item 810 sound/ppc/tumbler.c mix->capture_source = !!ucontrol->value.enumerated.item[0]; item 67 sound/soc/atmel/tse850-pcm5142.c ucontrol->value.enumerated.item[0] = tse850->loop1_cache; item 79 sound/soc/atmel/tse850-pcm5142.c unsigned int val = ucontrol->value.enumerated.item[0]; item 97 sound/soc/atmel/tse850-pcm5142.c ucontrol->value.enumerated.item[0] = tse850->loop2_cache; item 109 sound/soc/atmel/tse850-pcm5142.c unsigned int val = ucontrol->value.enumerated.item[0]; item 127 sound/soc/atmel/tse850-pcm5142.c ucontrol->value.enumerated.item[0] = tse850->add_cache; item 182 sound/soc/atmel/tse850-pcm5142.c ucontrol->value.enumerated.item[0] = ret; item 194 sound/soc/atmel/tse850-pcm5142.c unsigned int uV = ucontrol->value.enumerated.item[0]; item 1130 sound/soc/codecs/ab8500-codec.c ucontrol->value.enumerated.item[0] = drvdata->sid_status; item 1147 sound/soc/codecs/ab8500-codec.c if (ucontrol->value.enumerated.item[0] != SID_APPLY_FIR) { item 1199 sound/soc/codecs/ab8500-codec.c ucontrol->value.enumerated.item[0] = drvdata->anc_status; item 1220 sound/soc/codecs/ab8500-codec.c req = ucontrol->value.enumerated.item[0]; item 198 sound/soc/codecs/adau17x1.c if (ucontrol->value.enumerated.item[0] >= e->items) item 201 sound/soc/codecs/adau17x1.c switch (ucontrol->value.enumerated.item[0]) { item 225 sound/soc/codecs/adau17x1.c ucontrol->value.enumerated.item[0], e, &update); item 252 sound/soc/codecs/adau17x1.c ucontrol->value.enumerated.item[0] = val; item 177 sound/soc/codecs/ak4458.c ucontrol->value.enumerated.item[0] = ak4458->digfil; item 189 sound/soc/codecs/ak4458.c num = ucontrol->value.enumerated.item[0]; item 384 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 3; item 387 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 2; item 390 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 1; item 393 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 0; item 408 sound/soc/codecs/cpcap.c unsigned int muxval = ucontrol->value.enumerated.item[0]; item 465 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 4; item 468 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 3; item 471 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 2; item 474 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 1; item 477 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 0; item 492 sound/soc/codecs/cpcap.c unsigned int muxval = ucontrol->value.enumerated.item[0]; item 547 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 2; item 550 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 1; item 553 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 0; item 568 sound/soc/codecs/cpcap.c unsigned int muxval = ucontrol->value.enumerated.item[0]; item 69 sound/soc/codecs/cs42l51.c ucontrol->value.enumerated.item[0] = 0; item 74 sound/soc/codecs/cs42l51.c ucontrol->value.enumerated.item[0] = 1; item 77 sound/soc/codecs/cs42l51.c ucontrol->value.enumerated.item[0] = 2; item 94 sound/soc/codecs/cs42l51.c switch (ucontrol->value.enumerated.item[0]) { item 1022 sound/soc/codecs/cs43130.c unsigned int *item = ucontrol->value.enumerated.item; item 1027 sound/soc/codecs/cs43130.c if (item[0] >= e->items) item 1029 sound/soc/codecs/cs43130.c val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; item 67 sound/soc/codecs/cs47l92.c if (ucontrol->value.enumerated.item[0] > e->items - 1) item 70 sound/soc/codecs/cs47l92.c mux = ucontrol->value.enumerated.item[0]; item 334 sound/soc/codecs/da732x.c unsigned int sel = ucontrol->value.enumerated.item[0]; item 368 sound/soc/codecs/da732x.c ucontrol->value.enumerated.item[0] = DA732X_HPF_VOICE; item 371 sound/soc/codecs/da732x.c ucontrol->value.enumerated.item[0] = DA732X_HPF_MUSIC; item 374 sound/soc/codecs/da732x.c ucontrol->value.enumerated.item[0] = DA732X_HPF_DISABLED; item 910 sound/soc/codecs/hdac_hdmi.c const char *cvt_name = e->texts[ucontrol->value.enumerated.item[0]]; item 505 sound/soc/codecs/madera.c if (ucontrol->value.enumerated.item[0] > e->items - 1) item 508 sound/soc/codecs/madera.c mux = ucontrol->value.enumerated.item[0]; item 589 sound/soc/codecs/madera.c ucontrol->value.enumerated.item[0] = val; item 611 sound/soc/codecs/madera.c mux = ucontrol->value.enumerated.item[0]; item 829 sound/soc/codecs/madera.c int item; item 835 sound/soc/codecs/madera.c item = snd_soc_enum_val_to_item(e, cached_rate); item 836 sound/soc/codecs/madera.c ucontrol->value.enumerated.item[0] = item; item 849 sound/soc/codecs/madera.c const unsigned int item = ucontrol->value.enumerated.item[0]; item 852 sound/soc/codecs/madera.c if (item >= e->items) item 869 sound/soc/codecs/madera.c priv->adsp_rate_cache[adsp_num] = e->values[item]; item 1008 sound/soc/codecs/madera.c unsigned int item = ucontrol->value.enumerated.item[0]; item 1012 sound/soc/codecs/madera.c if (item >= e->items) item 1029 sound/soc/codecs/madera.c if (snd_soc_enum_item_to_val(e, item) == val) { item 1514 sound/soc/codecs/max98088.c int sel = ucontrol->value.enumerated.item[0]; item 1550 sound/soc/codecs/max98088.c ucontrol->value.enumerated.item[0] = cdata->eq_sel; item 1499 sound/soc/codecs/max98095.c unsigned int sel = ucontrol->value.enumerated.item[0]; item 1564 sound/soc/codecs/max98095.c ucontrol->value.enumerated.item[0] = cdata->eq_sel; item 1650 sound/soc/codecs/max98095.c unsigned int sel = ucontrol->value.enumerated.item[0]; item 1715 sound/soc/codecs/max98095.c ucontrol->value.enumerated.item[0] = cdata->bq_sel; item 437 sound/soc/codecs/tlv320dac33.c ucontrol->value.enumerated.item[0] = dac33->fifo_mode; item 449 sound/soc/codecs/tlv320dac33.c if (dac33->fifo_mode == ucontrol->value.enumerated.item[0]) item 455 sound/soc/codecs/tlv320dac33.c if (ucontrol->value.enumerated.item[0] >= DAC33_FIFO_LAST_MODE) item 458 sound/soc/codecs/tlv320dac33.c dac33->fifo_mode = ucontrol->value.enumerated.item[0]; item 478 sound/soc/codecs/twl6040.c ucontrol->value.enumerated.item[0] = priv->hs_power_mode; item 488 sound/soc/codecs/twl6040.c int high_perf = ucontrol->value.enumerated.item[0]; item 506 sound/soc/codecs/twl6040.c ucontrol->value.enumerated.item[0] = priv->pll_power_mode; item 517 sound/soc/codecs/twl6040.c priv->pll_power_mode = ucontrol->value.enumerated.item[0]; item 1275 sound/soc/codecs/wcd9335.c ucontrol->value.enumerated.item[0] = wcd->rx_port_value; item 1289 sound/soc/codecs/wcd9335.c wcd->rx_port_value = ucontrol->value.enumerated.item[0]; item 1479 sound/soc/codecs/wcd9335.c val = ucontrol->value.enumerated.item[0]; item 1530 sound/soc/codecs/wcd9335.c val = ucontrol->value.enumerated.item[0]; item 2230 sound/soc/codecs/wcd9335.c ucontrol->value.enumerated.item[0] = wcd->hph_mode; item 2242 sound/soc/codecs/wcd9335.c mode_val = ucontrol->value.enumerated.item[0]; item 164 sound/soc/codecs/wl1273.c ucontrol->value.enumerated.item[0] = wl1273->mode; item 182 sound/soc/codecs/wl1273.c if (wl1273->mode == ucontrol->value.enumerated.item[0]) item 189 sound/soc/codecs/wl1273.c if (ucontrol->value.enumerated.item[0] >= ARRAY_SIZE(wl1273_audio_route)) item 192 sound/soc/codecs/wl1273.c wl1273->mode = ucontrol->value.enumerated.item[0]; item 207 sound/soc/codecs/wl1273.c ucontrol->value.enumerated.item[0] = wl1273->core->audio_mode; item 221 sound/soc/codecs/wl1273.c val = ucontrol->value.enumerated.item[0]; item 230 sound/soc/codecs/wm8753.c ucontrol->value.enumerated.item[0] = wm8753->dai_func; item 241 sound/soc/codecs/wm8753.c if (wm8753->dai_func == ucontrol->value.enumerated.item[0]) item 249 sound/soc/codecs/wm8753.c wm8753->dai_func = ucontrol->value.enumerated.item[0]; item 164 sound/soc/codecs/wm8804.c unsigned int val = ucontrol->value.enumerated.item[0] << e->shift_l; item 394 sound/soc/codecs/wm8904.c int value = ucontrol->value.enumerated.item[0]; item 412 sound/soc/codecs/wm8904.c ucontrol->value.enumerated.item[0] = wm8904->drc_cfg; item 465 sound/soc/codecs/wm8904.c int value = ucontrol->value.enumerated.item[0]; item 483 sound/soc/codecs/wm8904.c ucontrol->value.enumerated.item[0] = wm8904->retune_mobile_cfg; item 459 sound/soc/codecs/wm8958-dsp2.c int value = ucontrol->value.enumerated.item[0]; item 481 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.enumerated.item[0] = wm8994->mbc_cfg; item 549 sound/soc/codecs/wm8958-dsp2.c int value = ucontrol->value.enumerated.item[0]; item 571 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.enumerated.item[0] = wm8994->vss_cfg; item 582 sound/soc/codecs/wm8958-dsp2.c int value = ucontrol->value.enumerated.item[0]; item 604 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.enumerated.item[0] = wm8994->vss_hpf_cfg; item 749 sound/soc/codecs/wm8958-dsp2.c int value = ucontrol->value.enumerated.item[0]; item 771 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.enumerated.item[0] = wm8994->enh_eq_cfg; item 497 sound/soc/codecs/wm8983.c ucontrol->value.enumerated.item[0] = 1; item 499 sound/soc/codecs/wm8983.c ucontrol->value.enumerated.item[0] = 0; item 511 sound/soc/codecs/wm8983.c if (ucontrol->value.enumerated.item[0] != 0 item 512 sound/soc/codecs/wm8983.c && ucontrol->value.enumerated.item[0] != 1) item 518 sound/soc/codecs/wm8983.c if (!ucontrol->value.enumerated.item[0]) item 522 sound/soc/codecs/wm8983.c if (ucontrol->value.enumerated.item[0]) item 537 sound/soc/codecs/wm8983.c ucontrol->value.enumerated.item[0] item 597 sound/soc/codecs/wm8985.c ucontrol->value.enumerated.item[0] = 1; item 599 sound/soc/codecs/wm8985.c ucontrol->value.enumerated.item[0] = 0; item 611 sound/soc/codecs/wm8985.c if (ucontrol->value.enumerated.item[0] != 0 item 612 sound/soc/codecs/wm8985.c && ucontrol->value.enumerated.item[0] != 1) item 618 sound/soc/codecs/wm8985.c if (!ucontrol->value.enumerated.item[0]) item 622 sound/soc/codecs/wm8985.c if (ucontrol->value.enumerated.item[0]) item 639 sound/soc/codecs/wm8985.c ucontrol->value.enumerated.item[0] item 361 sound/soc/codecs/wm8994.c int value = ucontrol->value.enumerated.item[0]; item 385 sound/soc/codecs/wm8994.c ucontrol->value.enumerated.item[0] = wm8994->drc_cfg[drc]; item 468 sound/soc/codecs/wm8994.c int value = ucontrol->value.enumerated.item[0]; item 493 sound/soc/codecs/wm8994.c ucontrol->value.enumerated.item[0] = wm8994->retune_mobile_cfg[block]; item 416 sound/soc/codecs/wm8996.c int value = ucontrol->value.enumerated.item[0]; item 440 sound/soc/codecs/wm8996.c ucontrol->value.enumerated.item[0] = wm8996->retune_mobile_cfg[block]; item 112 sound/soc/codecs/wm8998.c mux = ucontrol->value.enumerated.item[0]; item 146 sound/soc/codecs/wm8998.c ucontrol->value.enumerated.item[0], item 343 sound/soc/codecs/wm9081.c ucontrol->value.enumerated.item[0] = 1; item 345 sound/soc/codecs/wm9081.c ucontrol->value.enumerated.item[0] = 0; item 364 sound/soc/codecs/wm9081.c if (ucontrol->value.enumerated.item[0] == item 372 sound/soc/codecs/wm9081.c if (ucontrol->value.enumerated.item[0]) { item 782 sound/soc/codecs/wm_adsp.c ucontrol->value.enumerated.item[0] = dsp[e->shift_l].fw; item 796 sound/soc/codecs/wm_adsp.c if (ucontrol->value.enumerated.item[0] == dsp[e->shift_l].fw) item 799 sound/soc/codecs/wm_adsp.c if (ucontrol->value.enumerated.item[0] >= WM_ADSP_NUM_FW) item 807 sound/soc/codecs/wm_adsp.c dsp[e->shift_l].fw = ucontrol->value.enumerated.item[0]; item 117 sound/soc/fsl/fsl_audmix.c unsigned int *item = ucontrol->value.enumerated.item; item 128 sound/soc/fsl/fsl_audmix.c val = snd_soc_enum_item_to_val(e, item[0]); item 159 sound/soc/fsl/fsl_audmix.c unsigned int *item = ucontrol->value.enumerated.item; item 176 sound/soc/fsl/fsl_audmix.c val = snd_soc_enum_item_to_val(e, item[0]); item 136 sound/soc/intel/atom/sst-atom-controls.c if (uinfo->value.enumerated.item > e->max - 1) item 137 sound/soc/intel/atom/sst-atom-controls.c uinfo->value.enumerated.item = e->max - 1; item 139 sound/soc/intel/atom/sst-atom-controls.c e->texts[uinfo->value.enumerated.item]); item 169 sound/soc/intel/atom/sst-atom-controls.c ucontrol->value.enumerated.item[0] = mux; item 225 sound/soc/intel/atom/sst-atom-controls.c mux = ucontrol->value.enumerated.item[0]; item 1420 sound/soc/intel/haswell/sst-haswell-ipc.c int ret, item; item 1437 sound/soc/intel/haswell/sst-haswell-ipc.c for (item = 0; item < dx->entries_no; item++) { item 1440 sound/soc/intel/haswell/sst-haswell-ipc.c item, dx->mem_info[item].offset, item 1441 sound/soc/intel/haswell/sst-haswell-ipc.c dx->mem_info[item].size, item 1442 sound/soc/intel/haswell/sst-haswell-ipc.c dx->mem_info[item].source); item 1495 sound/soc/intel/haswell/sst-haswell-ipc.c u32 item, offset, size; item 1519 sound/soc/intel/haswell/sst-haswell-ipc.c for (item = 0; item < hsw->dx.entries_no; item++) { item 1520 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw->dx.mem_info[item].source == SST_HSW_DX_TYPE_MEMORY_DUMP item 1521 sound/soc/intel/haswell/sst-haswell-ipc.c && hsw->dx.mem_info[item].offset > DSP_DRAM_ADDR_OFFSET item 1522 sound/soc/intel/haswell/sst-haswell-ipc.c && hsw->dx.mem_info[item].offset < item 1525 sound/soc/intel/haswell/sst-haswell-ipc.c offset = hsw->dx.mem_info[item].offset item 1527 sound/soc/intel/haswell/sst-haswell-ipc.c size = (hsw->dx.mem_info[item].size + 3) & (~3); item 1548 sound/soc/intel/haswell/sst-haswell-ipc.c u32 item, offset, size; item 1551 sound/soc/intel/haswell/sst-haswell-ipc.c for (item = 0; item < hsw->dx.entries_no; item++) { item 1552 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw->dx.mem_info[item].source == SST_HSW_DX_TYPE_MEMORY_DUMP item 1553 sound/soc/intel/haswell/sst-haswell-ipc.c && hsw->dx.mem_info[item].offset > DSP_DRAM_ADDR_OFFSET item 1554 sound/soc/intel/haswell/sst-haswell-ipc.c && hsw->dx.mem_info[item].offset < item 1557 sound/soc/intel/haswell/sst-haswell-ipc.c offset = hsw->dx.mem_info[item].offset item 1559 sound/soc/intel/haswell/sst-haswell-ipc.c size = (hsw->dx.mem_info[item].size + 3) & (~3); item 1394 sound/soc/intel/skylake/skl-topology.c ucontrol->value.enumerated.item[0] = item 1397 sound/soc/intel/skylake/skl-topology.c ucontrol->value.enumerated.item[0] = 0; item 1435 sound/soc/intel/skylake/skl-topology.c mconfig->dmic_ch_combo_index = ucontrol->value.enumerated.item[0]; item 1100 sound/soc/mediatek/common/mtk-btcvsd.c if (ucontrol->value.enumerated.item[0] >= e->items) item 217 sound/soc/mediatek/mt8183/mt8183-dai-adda.c if (ucontrol->value.enumerated.item[0] >= e->items) item 145 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c if (ucontrol->value.enumerated.item[0] >= e->items) item 98 sound/soc/meson/g12a-tohdmitx.c ucontrol->value.enumerated.item[0] = item 112 sound/soc/meson/g12a-tohdmitx.c unsigned int mux = ucontrol->value.enumerated.item[0]; item 151 sound/soc/meson/g12a-tohdmitx.c ucontrol->value.enumerated.item[0] = item 165 sound/soc/meson/g12a-tohdmitx.c unsigned int mux = ucontrol->value.enumerated.item[0]; item 162 sound/soc/pxa/corgi.c ucontrol->value.enumerated.item[0] = corgi_jack_func; item 171 sound/soc/pxa/corgi.c if (corgi_jack_func == ucontrol->value.enumerated.item[0]) item 174 sound/soc/pxa/corgi.c corgi_jack_func = ucontrol->value.enumerated.item[0]; item 182 sound/soc/pxa/corgi.c ucontrol->value.enumerated.item[0] = corgi_spk_func; item 191 sound/soc/pxa/corgi.c if (corgi_spk_func == ucontrol->value.enumerated.item[0]) item 194 sound/soc/pxa/corgi.c corgi_spk_func = ucontrol->value.enumerated.item[0]; item 204 sound/soc/pxa/magician.c ucontrol->value.enumerated.item[0] = magician_in_sel; item 211 sound/soc/pxa/magician.c if (magician_in_sel == ucontrol->value.enumerated.item[0]) item 214 sound/soc/pxa/magician.c magician_in_sel = ucontrol->value.enumerated.item[0]; item 136 sound/soc/pxa/poodle.c ucontrol->value.enumerated.item[0] = poodle_jack_func; item 145 sound/soc/pxa/poodle.c if (poodle_jack_func == ucontrol->value.enumerated.item[0]) item 148 sound/soc/pxa/poodle.c poodle_jack_func = ucontrol->value.enumerated.item[0]; item 156 sound/soc/pxa/poodle.c ucontrol->value.enumerated.item[0] = poodle_spk_func; item 165 sound/soc/pxa/poodle.c if (poodle_spk_func == ucontrol->value.enumerated.item[0]) item 168 sound/soc/pxa/poodle.c poodle_spk_func = ucontrol->value.enumerated.item[0]; item 162 sound/soc/pxa/spitz.c ucontrol->value.enumerated.item[0] = spitz_jack_func; item 171 sound/soc/pxa/spitz.c if (spitz_jack_func == ucontrol->value.enumerated.item[0]) item 174 sound/soc/pxa/spitz.c spitz_jack_func = ucontrol->value.enumerated.item[0]; item 182 sound/soc/pxa/spitz.c ucontrol->value.enumerated.item[0] = spitz_spk_func; item 191 sound/soc/pxa/spitz.c if (spitz_spk_func == ucontrol->value.enumerated.item[0]) item 194 sound/soc/pxa/spitz.c spitz_spk_func = ucontrol->value.enumerated.item[0]; item 90 sound/soc/pxa/tosa.c ucontrol->value.enumerated.item[0] = tosa_jack_func; item 99 sound/soc/pxa/tosa.c if (tosa_jack_func == ucontrol->value.enumerated.item[0]) item 102 sound/soc/pxa/tosa.c tosa_jack_func = ucontrol->value.enumerated.item[0]; item 110 sound/soc/pxa/tosa.c ucontrol->value.enumerated.item[0] = tosa_spk_func; item 119 sound/soc/pxa/tosa.c if (tosa_spk_func == ucontrol->value.enumerated.item[0]) item 122 sound/soc/pxa/tosa.c tosa_spk_func = ucontrol->value.enumerated.item[0]; item 1486 sound/soc/sh/rcar/core.c if (uinfo->value.enumerated.item >= cfg->max) item 1487 sound/soc/sh/rcar/core.c uinfo->value.enumerated.item = cfg->max - 1; item 1489 sound/soc/sh/rcar/core.c cfg->texts[uinfo->value.enumerated.item], item 1511 sound/soc/sh/rcar/core.c uc->value.enumerated.item[i] = cfg->val[i]; item 1529 sound/soc/sh/rcar/core.c change |= (uc->value.enumerated.item[i] != cfg->val[i]); item 1530 sound/soc/sh/rcar/core.c cfg->val[i] = uc->value.enumerated.item[i]; item 754 sound/soc/soc-dapm.c unsigned int val, item; item 760 sound/soc/soc-dapm.c item = snd_soc_enum_val_to_item(e, val); item 768 sound/soc/soc-dapm.c item = 0; item 776 sound/soc/soc-dapm.c path->connect = (i == item); item 3453 sound/soc/soc-dapm.c ucontrol->value.enumerated.item[0] = snd_soc_enum_val_to_item(e, val); item 3457 sound/soc/soc-dapm.c ucontrol->value.enumerated.item[1] = val; item 3479 sound/soc/soc-dapm.c unsigned int *item = ucontrol->value.enumerated.item; item 3485 sound/soc/soc-dapm.c if (item[0] >= e->items) item 3488 sound/soc/soc-dapm.c val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; item 3491 sound/soc/soc-dapm.c if (item[1] > e->items) item 3493 sound/soc/soc-dapm.c val |= snd_soc_enum_item_to_val(e, item[1]) << e->shift_r; item 3514 sound/soc/soc-dapm.c ret = soc_dapm_mux_update_power(card, kcontrol, item[0], e); item 4008 sound/soc/soc-dapm.c ucontrol->value.enumerated.item[0] = rtd->params_select; item 4023 sound/soc/soc-dapm.c if (ucontrol->value.enumerated.item[0] == rtd->params_select) item 4026 sound/soc/soc-dapm.c if (ucontrol->value.enumerated.item[0] >= rtd->dai_link->num_params) item 4029 sound/soc/soc-dapm.c rtd->params_select = ucontrol->value.enumerated.item[0]; item 64 sound/soc/soc-ops.c unsigned int val, item; item 72 sound/soc/soc-ops.c item = snd_soc_enum_val_to_item(e, val); item 73 sound/soc/soc-ops.c ucontrol->value.enumerated.item[0] = item; item 76 sound/soc/soc-ops.c item = snd_soc_enum_val_to_item(e, val); item 77 sound/soc/soc-ops.c ucontrol->value.enumerated.item[1] = item; item 98 sound/soc/soc-ops.c unsigned int *item = ucontrol->value.enumerated.item; item 102 sound/soc/soc-ops.c if (item[0] >= e->items) item 104 sound/soc/soc-ops.c val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; item 107 sound/soc/soc-ops.c if (item[1] >= e->items) item 109 sound/soc/soc-ops.c val |= snd_soc_enum_item_to_val(e, item[1]) << e->shift_r; item 938 sound/soc/soc-ops.c ucontrol->value.enumerated.item[0] = val ^ invert; item 964 sound/soc/soc-ops.c unsigned int strobe = ucontrol->value.enumerated.item[0] != 0; item 143 sound/soc/sof/control.c ucontrol->value.enumerated.item[i] = cdata->chanv[i].value; item 162 sound/soc/sof/control.c value = ucontrol->value.enumerated.item[i]; item 113 sound/soc/ti/ams-delta.c if (ucontrol->value.enumerated.item[0] >= control->items) item 119 sound/soc/ti/ams-delta.c pins = ams_delta_audio_mode_pins[ucontrol->value.enumerated.item[0]]; item 201 sound/soc/ti/ams-delta.c ucontrol->value.enumerated.item[0] = mode; item 123 sound/soc/ti/n810.c ucontrol->value.enumerated.item[0] = n810_spk_func; item 133 sound/soc/ti/n810.c if (n810_spk_func == ucontrol->value.enumerated.item[0]) item 136 sound/soc/ti/n810.c n810_spk_func = ucontrol->value.enumerated.item[0]; item 145 sound/soc/ti/n810.c ucontrol->value.enumerated.item[0] = n810_jack_func; item 155 sound/soc/ti/n810.c if (n810_jack_func == ucontrol->value.enumerated.item[0]) item 158 sound/soc/ti/n810.c n810_jack_func = ucontrol->value.enumerated.item[0]; item 167 sound/soc/ti/n810.c ucontrol->value.enumerated.item[0] = n810_dmic_func; item 177 sound/soc/ti/n810.c if (n810_dmic_func == ucontrol->value.enumerated.item[0]) item 180 sound/soc/ti/n810.c n810_dmic_func = ucontrol->value.enumerated.item[0]; item 121 sound/soc/ti/rx51.c ucontrol->value.enumerated.item[0] = rx51_spk_func; item 131 sound/soc/ti/rx51.c if (rx51_spk_func == ucontrol->value.enumerated.item[0]) item 134 sound/soc/ti/rx51.c rx51_spk_func = ucontrol->value.enumerated.item[0]; item 156 sound/soc/ti/rx51.c ucontrol->value.enumerated.item[0] = rx51_dmic_func; item 166 sound/soc/ti/rx51.c if (rx51_dmic_func == ucontrol->value.enumerated.item[0]) item 169 sound/soc/ti/rx51.c rx51_dmic_func = ucontrol->value.enumerated.item[0]; item 178 sound/soc/ti/rx51.c ucontrol->value.enumerated.item[0] = rx51_jack_func; item 188 sound/soc/ti/rx51.c if (rx51_jack_func == ucontrol->value.enumerated.item[0]) item 191 sound/soc/ti/rx51.c rx51_jack_func = ucontrol->value.enumerated.item[0]; item 137 sound/soc/ux500/mop500_ab8500.c ucontrol->value.enumerated.item[0] = drvdata->mclk_sel; item 148 sound/soc/ux500/mop500_ab8500.c unsigned int val = ucontrol->value.enumerated.item[0]; item 1299 sound/sparc/cs4231.c ucontrol->value.enumerated.item[0] = item 1301 sound/sparc/cs4231.c ucontrol->value.enumerated.item[1] = item 1316 sound/sparc/cs4231.c if (ucontrol->value.enumerated.item[0] > 3 || item 1317 sound/sparc/cs4231.c ucontrol->value.enumerated.item[1] > 3) item 1319 sound/sparc/cs4231.c left = ucontrol->value.enumerated.item[0] << 6; item 1320 sound/sparc/cs4231.c right = ucontrol->value.enumerated.item[1] << 6; item 362 sound/usb/6fire/control.c if (rt->opt_coax_switch != ucontrol->value.enumerated.item[0]) { item 363 sound/usb/6fire/control.c rt->opt_coax_switch = ucontrol->value.enumerated.item[0]; item 374 sound/usb/6fire/control.c ucontrol->value.enumerated.item[0] = rt->opt_coax_switch; item 198 sound/usb/line6/toneport.c if (uinfo->value.enumerated.item >= size) item 199 sound/usb/line6/toneport.c uinfo->value.enumerated.item = size - 1; item 202 sound/usb/line6/toneport.c toneport_source_info[uinfo->value.enumerated.item].name); item 214 sound/usb/line6/toneport.c ucontrol->value.enumerated.item[0] = toneport->source; item 226 sound/usb/line6/toneport.c source = ucontrol->value.enumerated.item[0]; item 1927 sound/usb/midi.c value->value.enumerated.item[0] = kcontrol->private_value; item 1937 sound/usb/midi.c if (value->value.enumerated.item[0] > 1) item 1940 sound/usb/midi.c changed = value->value.enumerated.item[0] != kcontrol->private_value; item 1942 sound/usb/midi.c kcontrol->private_value = value->value.enumerated.item[0]; item 2543 sound/usb/mixer.c ucontrol->value.enumerated.item[0] = 0; item 2547 sound/usb/mixer.c ucontrol->value.enumerated.item[0] = val; item 2561 sound/usb/mixer.c val = ucontrol->value.enumerated.item[0]; item 460 sound/usb/mixer_quirks.c ucontrol->value.enumerated.item[0] = kcontrol->private_value; item 490 sound/usb/mixer_quirks.c unsigned int value = ucontrol->value.enumerated.item[0]; item 599 sound/usb/mixer_quirks.c ucontrol->value.enumerated.item[0] = kctl->private_value; item 680 sound/usb/mixer_quirks.c new_val = ucontrol->value.enumerated.item[0]; item 913 sound/usb/mixer_quirks.c ucontrol->value.enumerated.item[0] = kctl->private_value >> 24; item 949 sound/usb/mixer_quirks.c new_val = ucontrol->value.enumerated.item[0]; item 1871 sound/usb/mixer_quirks.c unsigned int item, item 1878 sound/usb/mixer_quirks.c item, item 1885 sound/usb/mixer_quirks.c item, err); item 1964 sound/usb/mixer_quirks.c ucontrol->value.enumerated.item[0] = idx; item 1977 sound/usb/mixer_quirks.c ucontrol->value.enumerated.item[0] = SND_RME_SPDIF_IF(status1); item 1990 sound/usb/mixer_quirks.c ucontrol->value.enumerated.item[0] = SND_RME_SPDIF_FORMAT(status1); item 2003 sound/usb/mixer_quirks.c ucontrol->value.enumerated.item[0] = SND_RME_CLK_SYNC(status1); item 378 sound/usb/mixer_scarlett.c if (uinfo->value.enumerated.item >= items) item 379 sound/usb/mixer_scarlett.c uinfo->value.enumerated.item = items - 1; item 382 sound/usb/mixer_scarlett.c scarlett_generate_name(uinfo->value.enumerated.item, item 412 sound/usb/mixer_scarlett.c ucontrol->value.enumerated.item[0] = val; item 464 sound/usb/mixer_scarlett.c ucontrol->value.enumerated.item[0] = clamp((int)buf[0], 0, 1); item 1132 sound/usb/mixer_scarlett_gen2.c ucontrol->value.enumerated.item[0] = item 1216 sound/usb/mixer_scarlett_gen2.c ucontrol->value.enumerated.item[0] = item 1266 sound/usb/mixer_scarlett_gen2.c ucontrol->value.enumerated.item[0] = item 1323 sound/usb/mixer_scarlett_gen2.c ucontrol->value.enumerated.item[0] = private->buttons[elem->control]; item 1571 sound/usb/mixer_scarlett_gen2.c unsigned int item = uinfo->value.enumerated.item; item 1579 sound/usb/mixer_scarlett_gen2.c if (item >= items) item 1580 sound/usb/mixer_scarlett_gen2.c item = uinfo->value.enumerated.item = items - 1; item 1585 sound/usb/mixer_scarlett_gen2.c if (item < ports[port_type].num[SCARLETT2_PORT_IN]) { item 1588 sound/usb/mixer_scarlett_gen2.c item + ports[port_type].src_num_offset); item 1591 sound/usb/mixer_scarlett_gen2.c item -= ports[port_type].num[SCARLETT2_PORT_IN]; item 1603 sound/usb/mixer_scarlett_gen2.c ucontrol->value.enumerated.item[0] = private->mux[elem->control]; item 187 sound/usb/mixer_us16x08.c ucontrol->value.enumerated.item[0] = elem->cache_val[index]; item 202 sound/usb/mixer_us16x08.c val = ucontrol->value.enumerated.item[0]; item 922 tools/include/uapi/sound/asound.h unsigned int item; /* W: item number */ item 949 tools/include/uapi/sound/asound.h unsigned int item[128]; item 173 tools/lib/traceevent/event-parse.c struct cmdline_list *item; item 186 tools/lib/traceevent/event-parse.c item = cmdlist; item 188 tools/lib/traceevent/event-parse.c free(item); item 336 tools/lib/traceevent/event-parse.c struct cmdline_list *item; item 341 tools/lib/traceevent/event-parse.c item = malloc(sizeof(*item)); item 342 tools/lib/traceevent/event-parse.c if (!item) item 346 tools/lib/traceevent/event-parse.c item->comm = strdup(comm); item 348 tools/lib/traceevent/event-parse.c item->comm = strdup("<...>"); item 349 tools/lib/traceevent/event-parse.c if (!item->comm) { item 350 tools/lib/traceevent/event-parse.c free(item); item 353 tools/lib/traceevent/event-parse.c item->pid = pid; item 354 tools/lib/traceevent/event-parse.c item->next = tep->cmdlist; item 356 tools/lib/traceevent/event-parse.c tep->cmdlist = item; item 446 tools/lib/traceevent/event-parse.c struct func_list *item; item 462 tools/lib/traceevent/event-parse.c item = funclist; item 464 tools/lib/traceevent/event-parse.c free(item); item 617 tools/lib/traceevent/event-parse.c struct func_list *item = malloc(sizeof(*item)); item 619 tools/lib/traceevent/event-parse.c if (!item) item 622 tools/lib/traceevent/event-parse.c item->next = tep->funclist; item 623 tools/lib/traceevent/event-parse.c item->func = strdup(func); item 624 tools/lib/traceevent/event-parse.c if (!item->func) item 628 tools/lib/traceevent/event-parse.c item->mod = strdup(mod); item 629 tools/lib/traceevent/event-parse.c if (!item->mod) item 632 tools/lib/traceevent/event-parse.c item->mod = NULL; item 633 tools/lib/traceevent/event-parse.c item->addr = addr; item 635 tools/lib/traceevent/event-parse.c tep->funclist = item; item 641 tools/lib/traceevent/event-parse.c free(item->func); item 642 tools/lib/traceevent/event-parse.c item->func = NULL; item 644 tools/lib/traceevent/event-parse.c free(item); item 700 tools/lib/traceevent/event-parse.c struct printk_list *item; item 715 tools/lib/traceevent/event-parse.c item = printklist; item 717 tools/lib/traceevent/event-parse.c free(item); item 757 tools/lib/traceevent/event-parse.c struct printk_list *item = malloc(sizeof(*item)); item 760 tools/lib/traceevent/event-parse.c if (!item) item 763 tools/lib/traceevent/event-parse.c item->next = tep->printklist; item 764 tools/lib/traceevent/event-parse.c item->addr = addr; item 769 tools/lib/traceevent/event-parse.c item->printk = strdup(fmt); item 770 tools/lib/traceevent/event-parse.c if (!item->printk) item 773 tools/lib/traceevent/event-parse.c p = item->printk + strlen(item->printk) - 1; item 781 tools/lib/traceevent/event-parse.c tep->printklist = item; item 787 tools/lib/traceevent/event-parse.c free(item); item 903 tools/lib/traceevent/event-parse.c free_arg(arg->typecast.item); item 2332 tools/lib/traceevent/event-parse.c ret = arg_num_eval(arg->typecast.item, val); item 2497 tools/lib/traceevent/event-parse.c return arg_eval(arg->typecast.item); item 2902 tools/lib/traceevent/event-parse.c arg->typecast.item = item_arg; item 3633 tools/lib/traceevent/event-parse.c val = eval_num_arg(data, size, event, arg->typecast.item); item 3659 tools/lib/traceevent/event-parse.c larg = larg->typecast.item; item 5996 tools/lib/traceevent/event-parse.c print_args(args->typecast.item); item 191 tools/lib/traceevent/event-parse.h struct tep_print_arg *item; item 40 tools/perf/builtin-config.c struct perf_config_item *item = NULL; item 59 tools/perf/builtin-config.c perf_config_items__for_each_entry(§ion->items, item) { item 60 tools/perf/builtin-config.c if (!use_system_config && item->from_system_config) item 62 tools/perf/builtin-config.c if (item->value) item 64 tools/perf/builtin-config.c item->name, item->value); item 75 tools/perf/builtin-config.c struct perf_config_item *item; item 84 tools/perf/builtin-config.c perf_config_items__for_each_entry(§ion->items, item) { item 87 tools/perf/builtin-config.c if (strcmp(name, item->name) == 0) { item 88 tools/perf/builtin-config.c char *value = item->value; item 105 tools/perf/builtin-config.c struct perf_config_item *item; item 110 tools/perf/builtin-config.c perf_config_set__for_each_entry(set, section, item) { item 111 tools/perf/builtin-config.c char *value = item->value; item 115 tools/perf/builtin-config.c item->name, value); item 525 tools/perf/util/config.c struct perf_config_item *item; item 527 tools/perf/util/config.c list_for_each_entry(item, §ion->items, node) item 528 tools/perf/util/config.c if (!strcmp(item->name, name)) item 529 tools/perf/util/config.c return item; item 557 tools/perf/util/config.c struct perf_config_item *item = zalloc(sizeof(*item)); item 559 tools/perf/util/config.c if (!item) item 562 tools/perf/util/config.c item->name = strdup(name); item 563 tools/perf/util/config.c if (!item->name) { item 565 tools/perf/util/config.c free(item); item 569 tools/perf/util/config.c list_add_tail(&item->node, §ion->items); item 570 tools/perf/util/config.c return item; item 573 tools/perf/util/config.c static int set_value(struct perf_config_item *item, const char *value) item 580 tools/perf/util/config.c zfree(&item->value); item 581 tools/perf/util/config.c item->value = val; item 592 tools/perf/util/config.c struct perf_config_item *item = NULL; item 618 tools/perf/util/config.c item = find_config_item(name, section); item 619 tools/perf/util/config.c if (!item) { item 620 tools/perf/util/config.c item = add_config_item(section, name); item 621 tools/perf/util/config.c if (!item) item 632 tools/perf/util/config.c item->from_system_config = true; item 635 tools/perf/util/config.c item->from_system_config = false; item 638 tools/perf/util/config.c ret = set_value(item, value); item 730 tools/perf/util/config.c struct perf_config_item *item; item 735 tools/perf/util/config.c perf_config_set__for_each_entry(config_set, section, item) { item 736 tools/perf/util/config.c char *value = item->value; item 740 tools/perf/util/config.c section->name, item->name); item 769 tools/perf/util/config.c static void perf_config_item__delete(struct perf_config_item *item) item 771 tools/perf/util/config.c zfree(&item->name); item 772 tools/perf/util/config.c zfree(&item->value); item 773 tools/perf/util/config.c free(item); item 778 tools/perf/util/config.c struct perf_config_item *item, *tmp; item 780 tools/perf/util/config.c list_for_each_entry_safe(item, tmp, §ion->items, node) { item 781 tools/perf/util/config.c list_del_init(&item->node); item 782 tools/perf/util/config.c perf_config_item__delete(item); item 57 tools/perf/util/config.h #define perf_config_items__for_each_entry(list, item) \ item 58 tools/perf/util/config.h list_for_each_entry(item, list, node) item 66 tools/perf/util/config.h #define perf_config_set__for_each_entry(set, section, item) \ item 68 tools/perf/util/config.h perf_config_items__for_each_entry(§ion->items, item) item 241 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->typecast.item); item 316 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->typecast.item); item 18 tools/testing/radix-tree/idr-test.c struct item *item = p; item 19 tools/testing/radix-tree/idr-test.c assert(item->index == id); item 27 tools/testing/radix-tree/idr-test.c struct item *item = idr_find(idr, id); item 28 tools/testing/radix-tree/idr-test.c assert(item->index == id); item 30 tools/testing/radix-tree/idr-test.c free(item); item 45 tools/testing/radix-tree/idr-test.c struct item *item; item 48 tools/testing/radix-tree/idr-test.c item = item_create(i, 0); item 50 tools/testing/radix-tree/idr-test.c item = item_create(i - 0x3fff, 0); item 52 tools/testing/radix-tree/idr-test.c id = idr_alloc_cyclic(&idr, item, 1, 0x4000, GFP_KERNEL); item 53 tools/testing/radix-tree/idr-test.c assert(id == item->index); item 138 tools/testing/radix-tree/idr-test.c struct item *item = item_create(i, 0); item 139 tools/testing/radix-tree/idr-test.c assert(idr_alloc(&idr, item, i, i + 1, GFP_NOWAIT) == i); item 158 tools/testing/radix-tree/idr-test.c struct item *item = item_create(indices[i], 0); item 159 tools/testing/radix-tree/idr-test.c assert(idr_alloc(&idr, item, indices[i], indices[i+1], item 333 tools/testing/radix-tree/idr-test.c struct item *item = item_create(i, 0); item 334 tools/testing/radix-tree/idr-test.c assert(idr_alloc(&idr, item, 0, 20000, GFP_KERNEL) == i); item 360 tools/testing/radix-tree/idr-test.c struct item *item = item_create(i, 0); item 361 tools/testing/radix-tree/idr-test.c assert(idr_alloc(&idr, item, i, i + 10, GFP_KERNEL) == i); item 374 tools/testing/radix-tree/idr-test.c struct item *item; item 377 tools/testing/radix-tree/idr-test.c item = item_create(i, 0); item 379 tools/testing/radix-tree/idr-test.c item = item_create(i - INT_MAX - 1, 0); item 381 tools/testing/radix-tree/idr-test.c id = idr_alloc_cyclic(&idr, item, 0, 0, GFP_KERNEL); item 382 tools/testing/radix-tree/idr-test.c assert(id == item->index); item 390 tools/testing/radix-tree/idr-test.c struct item *item = item_create(i, 0); item 391 tools/testing/radix-tree/idr-test.c assert(idr_alloc(&idr, item, 1, 20000, GFP_KERNEL) == i); item 24 tools/testing/radix-tree/iteration_check.c struct item *item = item_create(index, 0); item 31 tools/testing/radix-tree/iteration_check.c item->order = order; item 34 tools/testing/radix-tree/iteration_check.c xas_store(&xas, item); item 42 tools/testing/radix-tree/iteration_check.c free(item); item 139 tools/testing/radix-tree/iteration_check.c struct item *item; item 143 tools/testing/radix-tree/iteration_check.c item = xa_erase(&array, pgoff); item 144 tools/testing/radix-tree/iteration_check.c if (item) item 145 tools/testing/radix-tree/iteration_check.c item_free(item, pgoff); item 19 tools/testing/radix-tree/multiorder.c struct item *item = item_create(index, order); item 23 tools/testing/radix-tree/multiorder.c xas_store(&xas, item); item 30 tools/testing/radix-tree/multiorder.c free(item); item 37 tools/testing/radix-tree/multiorder.c struct item *item; item 57 tools/testing/radix-tree/multiorder.c xas_for_each(&xas, item, ULONG_MAX) { item 64 tools/testing/radix-tree/multiorder.c assert(!radix_tree_is_internal_node(item)); item 65 tools/testing/radix-tree/multiorder.c assert((item->index | mask) == (index[i] | mask)); item 66 tools/testing/radix-tree/multiorder.c assert(item->order == order[i]); item 77 tools/testing/radix-tree/multiorder.c struct item *item; item 108 tools/testing/radix-tree/multiorder.c xas_for_each_marked(&xas, item, ULONG_MAX, XA_MARK_1) { item 115 tools/testing/radix-tree/multiorder.c assert(!xa_is_internal(item)); item 116 tools/testing/radix-tree/multiorder.c assert((item->index | mask) == (tag_index[i] | mask)); item 117 tools/testing/radix-tree/multiorder.c assert(item->order == order[k]); item 136 tools/testing/radix-tree/multiorder.c xas_for_each_marked(&xas, item, ULONG_MAX, XA_MARK_2) { item 142 tools/testing/radix-tree/multiorder.c assert(!xa_is_internal(item)); item 143 tools/testing/radix-tree/multiorder.c assert((item->index | mask) == (tag_index[i] | mask)); item 144 tools/testing/radix-tree/multiorder.c assert(item->order == order[k]); item 153 tools/testing/radix-tree/multiorder.c xas_for_each_marked(&xas, item, ULONG_MAX, XA_MARK_0) { item 183 tools/testing/radix-tree/multiorder.c struct item *item; item 187 tools/testing/radix-tree/multiorder.c xas_for_each(&xas, item, ULONG_MAX) { item 188 tools/testing/radix-tree/multiorder.c if (xas_retry(&xas, item)) item 191 tools/testing/radix-tree/multiorder.c item_sanity(item, xas.xa_index); item 91 tools/testing/radix-tree/tag_check.c struct item *item; item 104 tools/testing/radix-tree/tag_check.c assert(radix_tree_gang_lookup_tag(&tree, (void **)&item, 0, 1, 0) == 1); item 105 tools/testing/radix-tree/tag_check.c assert(radix_tree_gang_lookup_tag(&tree, (void **)&item, 0, 1, 1) == 0); item 134 tools/testing/radix-tree/tag_check.c struct item *items[BATCH]; item 144 tools/testing/radix-tree/tag_check.c struct item *item = items[i]; item 146 tools/testing/radix-tree/tag_check.c while (last_index < item->index) { item 311 tools/testing/radix-tree/tag_check.c struct item *items[BATCH]; item 11 tools/testing/radix-tree/test.c struct item * item 17 tools/testing/radix-tree/test.c struct item * item 28 tools/testing/radix-tree/test.c struct item *item_create(unsigned long index, unsigned int order) item 30 tools/testing/radix-tree/test.c struct item *ret = malloc(sizeof(*ret)); item 39 tools/testing/radix-tree/test.c struct item *item = item_create(index, 0); item 40 tools/testing/radix-tree/test.c int err = radix_tree_insert(root, item->index, item); item 42 tools/testing/radix-tree/test.c free(item); item 46 tools/testing/radix-tree/test.c void item_sanity(struct item *item, unsigned long index) item 49 tools/testing/radix-tree/test.c assert(!radix_tree_is_internal_node(item)); item 50 tools/testing/radix-tree/test.c assert(item->order < BITS_PER_LONG); item 51 tools/testing/radix-tree/test.c mask = (1UL << item->order) - 1; item 52 tools/testing/radix-tree/test.c assert((item->index | mask) == (index | mask)); item 55 tools/testing/radix-tree/test.c void item_free(struct item *item, unsigned long index) item 57 tools/testing/radix-tree/test.c item_sanity(item, index); item 58 tools/testing/radix-tree/test.c free(item); item 63 tools/testing/radix-tree/test.c struct item *item = radix_tree_delete(root, index); item 65 tools/testing/radix-tree/test.c if (!item) item 68 tools/testing/radix-tree/test.c item_free(item, index); item 74 tools/testing/radix-tree/test.c struct item *item = container_of(head, struct item, rcu_head); item 76 tools/testing/radix-tree/test.c free(item); item 81 tools/testing/radix-tree/test.c struct item *item = xa_erase(xa, index); item 83 tools/testing/radix-tree/test.c if (item) { item 84 tools/testing/radix-tree/test.c item_sanity(item, index); item 85 tools/testing/radix-tree/test.c call_rcu(&item->rcu_head, item_free_rcu); item 93 tools/testing/radix-tree/test.c struct item *item; item 95 tools/testing/radix-tree/test.c item = radix_tree_lookup(root, index); item 96 tools/testing/radix-tree/test.c assert(item != NULL); item 97 tools/testing/radix-tree/test.c item_sanity(item, index); item 100 tools/testing/radix-tree/test.c struct item *item_lookup(struct radix_tree_root *root, unsigned long index) item 107 tools/testing/radix-tree/test.c struct item *item; item 109 tools/testing/radix-tree/test.c item = radix_tree_lookup(root, index); item 110 tools/testing/radix-tree/test.c assert(item == NULL); item 120 tools/testing/radix-tree/test.c struct item *items[chunk]; item 146 tools/testing/radix-tree/test.c struct item *items[chunk]; item 178 tools/testing/radix-tree/test.c struct item *item; item 184 tools/testing/radix-tree/test.c xas_for_each_marked(&xas, item, end, iftag) { item 13 tools/testing/radix-tree/test.h struct item *item_create(unsigned long index, unsigned int order); item 15 tools/testing/radix-tree/test.h void item_sanity(struct item *item, unsigned long index); item 16 tools/testing/radix-tree/test.h void item_free(struct item *item, unsigned long index); item 19 tools/testing/radix-tree/test.h struct item *item_lookup(struct radix_tree_root *root, unsigned long index); item 42 tools/testing/radix-tree/test.h struct item * item 44 tools/testing/radix-tree/test.h struct item * item 413 tools/testing/selftests/cgroup/cgroup_util.c char proc_read_text(int pid, const char *item, char *buf, size_t size) item 417 tools/testing/selftests/cgroup/cgroup_util.c snprintf(path, sizeof(path), "/proc/%d/%s", pid, item); item 48 tools/testing/selftests/cgroup/cgroup_util.h extern char proc_read_text(int pid, const char *item, char *buf, size_t size); item 892 tools/testing/selftests/rseq/param_test.c struct percpu_memcpy_buffer_node item, item 910 tools/testing/selftests/rseq/param_test.c srcptr = (char *)&item; item 912 tools/testing/selftests/rseq/param_test.c copylen = sizeof(item); item 936 tools/testing/selftests/rseq/param_test.c struct percpu_memcpy_buffer_node *item, item 953 tools/testing/selftests/rseq/param_test.c destptr = (char *)item; item 956 tools/testing/selftests/rseq/param_test.c copylen = sizeof(*item); item 978 tools/testing/selftests/rseq/param_test.c struct percpu_memcpy_buffer_node *item, item 986 tools/testing/selftests/rseq/param_test.c memcpy(item, &buffer->c[cpu].array[offset - 1], sizeof(*item)); item 1001 tools/testing/selftests/rseq/param_test.c struct percpu_memcpy_buffer_node item; item 1004 tools/testing/selftests/rseq/param_test.c result = this_cpu_memcpy_buffer_pop(buffer, &item, NULL); item 1008 tools/testing/selftests/rseq/param_test.c if (!this_cpu_memcpy_buffer_push(buffer, item, NULL)) { item 1083 tools/testing/selftests/rseq/param_test.c struct percpu_memcpy_buffer_node item; item 1088 tools/testing/selftests/rseq/param_test.c while (__percpu_memcpy_buffer_pop(&buffer, &item, i)) { item 1089 tools/testing/selftests/rseq/param_test.c sum += item.data1; item 1090 tools/testing/selftests/rseq/param_test.c sum += item.data2;