/linux-master/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | memory.c | 34 struct nvkm_tags *tags = *ptags; local 35 if (tags) { 36 mutex_lock(&fb->tags.mutex); 37 if (refcount_dec_and_test(&tags->refcount)) { 38 nvkm_mm_free(&fb->tags.mm, &tags->mn); 39 kfree(memory->tags); 40 memory->tags = NULL; 42 mutex_unlock(&fb->tags.mutex); 53 struct nvkm_tags *tags; local [all...] |
/linux-master/block/ |
H A D | blk-mq-tag.c | 4 * fairer distribution of tags between multiple submitters when a shared tag map 20 static void blk_mq_update_wake_batch(struct blk_mq_tags *tags, argument 26 sbitmap_queue_recalculate_wake_batch(&tags->bitmap_tags, 28 sbitmap_queue_recalculate_wake_batch(&tags->breserved_tags, 41 struct blk_mq_tags *tags = hctx->tags; local 59 spin_lock_irq(&tags->lock); 60 users = tags->active_queues + 1; 61 WRITE_ONCE(tags->active_queues, users); 62 blk_mq_update_wake_batch(tags, user 69 blk_mq_tag_wakeup_all(struct blk_mq_tags *tags, bool include_reserve) argument 82 struct blk_mq_tags *tags = hctx->tags; local 121 struct blk_mq_tags *tags = blk_mq_tags_from_data(data); local 135 struct blk_mq_tags *tags = blk_mq_tags_from_data(data); local 225 blk_mq_put_tag(struct blk_mq_tags *tags, struct blk_mq_ctx *ctx, unsigned int tag) argument 238 blk_mq_put_tags(struct blk_mq_tags *tags, int *tag_array, int nr_tags) argument 252 blk_mq_find_and_get_req(struct blk_mq_tags *tags, unsigned int bitnr) argument 272 struct blk_mq_tags *tags; local 328 struct blk_mq_tags *tags; member in struct:bt_tags_iter_data 341 struct blk_mq_tags *tags = iter_data->tags; local 380 bt_tags_for_each(struct blk_mq_tags *tags, struct sbitmap_queue *bt, busy_tag_iter_fn *fn, void *data, unsigned int flags) argument 394 __blk_mq_all_tag_iter(struct blk_mq_tags *tags, busy_tag_iter_fn *fn, void *priv, unsigned int flags) argument 417 blk_mq_all_tag_iter(struct blk_mq_tags *tags, busy_tag_iter_fn *fn, void *priv) argument 508 struct blk_mq_tags *tags = q->tag_set->shared_tags; local 520 struct blk_mq_tags *tags = hctx->tags; local 570 struct blk_mq_tags *tags; local 594 blk_mq_free_tags(struct blk_mq_tags *tags) argument 605 struct blk_mq_tags *tags = *tagsptr; local 655 struct blk_mq_tags *tags = set->shared_tags; local [all...] |
H A D | blk-mq.h | 58 void blk_mq_free_rqs(struct blk_mq_tag_set *set, struct blk_mq_tags *tags, 60 void blk_mq_free_rq_map(struct blk_mq_tags *tags); 64 struct blk_mq_tags *tags, 154 /* allocate multiple requests/tags in one go */ 165 void blk_mq_free_tags(struct blk_mq_tags *tags); 173 void blk_mq_put_tag(struct blk_mq_tags *tags, struct blk_mq_ctx *ctx, 175 void blk_mq_put_tags(struct blk_mq_tags *tags, int *tag_array, int nr_tags); 177 struct blk_mq_tags **tags, unsigned int depth, bool can_grow); 182 void blk_mq_tag_wakeup_all(struct blk_mq_tags *tags, bool); 185 void blk_mq_all_tag_iter(struct blk_mq_tags *tags, busy_tag_iter_f 211 blk_mq_tag_is_reserved(struct blk_mq_tags *tags, unsigned int tag) argument [all...] |
/linux-master/arch/arm64/mm/ |
H A D | mteswap.c | 14 /* tags granule is 16 bytes, 2 tags stored per byte */ 39 if (WARN(xa_is_err(ret), "Failed to store MTE tags")) { 52 void *tags = xa_load(&mte_pages, entry.val); local 54 if (!tags) 58 mte_restore_page_tags(page_address(page), tags); local 66 void *tags = xa_erase(&mte_pages, entry.val); local 68 mte_free_tag_storage(tags); 75 void *tags; local 80 xas_for_each(&xa_state, tags, last_entr [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | nv25.c | 34 u32 tags = round_up(tiles / fb->ram->parts, 0x40); local 35 if (!nvkm_mm_head(&fb->tags.mm, 0, 1, tags, tags, 1, &tile->tag)) { 47 .tags = nv20_fb_tags,
|
H A D | nv40.c | 34 u32 tags = round_up(tiles / fb->ram->parts, 0x100); local 36 !nvkm_mm_head(&fb->tags.mm, 0, 1, tags, tags, 1, &tile->tag)) { 39 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 8) << 13; 54 .tags = nv20_fb_tags,
|
H A D | nv36.c | 34 u32 tags = round_up(tiles / fb->ram->parts, 0x40); local 35 if (!nvkm_mm_head(&fb->tags.mm, 0, 1, tags, tags, 1, &tile->tag)) { 39 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 14; 48 .tags = nv20_fb_tags,
|
H A D | nv35.c | 34 u32 tags = round_up(tiles / fb->ram->parts, 0x40); local 35 if (!nvkm_mm_head(&fb->tags.mm, 0, 1, tags, tags, 1, &tile->tag)) { 39 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 13; 48 .tags = nv20_fb_tags,
|
H A D | nv20.c | 47 u32 tags = round_up(tiles / fb->ram->parts, 0x40); local 48 if (!nvkm_mm_head(&fb->tags.mm, 0, 1, tags, tags, 1, &tile->tag)) { 66 nvkm_mm_free(&fb->tags.mm, &tile->tag); 83 const u32 tags = nvkm_rd32(fb->subdev.device, 0x100320); local 84 return tags ? tags + 1 : 0; 89 .tags = nv20_fb_tags,
|
H A D | gt215.c | 30 .tags = nv20_fb_tags,
|
H A D | g84.c | 30 .tags = nv20_fb_tags,
|
H A D | nv50.h | 14 u32 (*tags)(struct nvkm_fb *); member in struct:nv50_fb_func
|
H A D | nv49.c | 31 .tags = nv20_fb_tags,
|
H A D | nv47.c | 31 .tags = nv20_fb_tags,
|
H A D | nv30.c | 53 u32 tags = round_up(tiles / fb->ram->parts, 0x40); local 54 if (!nvkm_mm_head(&fb->tags.mm, 0, 1, tags, tags, 1, &tile->tag)) { 58 tile->zcomp |= ((tile->tag->offset + tags - 1) >> 6) << 12; 119 .tags = nv20_fb_tags,
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
H A D | gpio.c | 30 static const u8 tags[] = { variable 42 for (i = 0; i < ARRAY_SIZE(tags); i++) { 44 int ret = nvkm_gpio_get(gpio, 0, tags[i], 0xff); 60 for (i = 0; i < ARRAY_SIZE(tags); i++, vid >>= 1) { 62 int ret = nvkm_gpio_set(gpio, 0, tags[i], 0xff, vid & 1); 85 for (i = 0; i < ARRAY_SIZE(tags); i++) { 87 int ret = nvkm_gpio_find(gpio, 0, tags[i], 0xff, &func);
|
/linux-master/arch/arm/kernel/ |
H A D | atags.h | 2 void convert_to_tag_list(struct tag *tags);
|
H A D | atags_parse.c | 11 * of variable-sized tags to the kernel. The first tag must be a ATAG_CORE 158 * Parse all tags in the list, checking both the global and architecture 179 struct tag *tags = (struct tag *)&default_tags; local 199 tags = atags_vaddr; 201 tags = (void *)(PAGE_OFFSET + mdesc->atag_offset); 208 if (tags->hdr.tag != ATAG_CORE) 209 convert_to_tag_list(tags); 211 if (tags->hdr.tag != ATAG_CORE) { 213 tags = (struct tag *)&default_tags; 217 mdesc->fixup(tags, [all...] |
/linux-master/arch/arm64/kernel/ |
H A D | elfcore.c | 29 void *tags = NULL; local 55 if (!tags) { 56 tags = mte_allocate_tag_storage(); 57 if (!tags) { 64 mte_save_page_tags(page_address(page), tags); local 66 if (!dump_emit(cprm, tags, MTE_PAGE_TAG_STORAGE)) { 72 if (tags) 73 mte_free_tag_storage(tags);
|
/linux-master/arch/arm/include/asm/ |
H A D | setup.h | 27 extern void save_atags(const struct tag *tags); 29 static inline void save_atags(const struct tag *tags) { } argument
|
/linux-master/tools/perf/util/ |
H A D | units.h | 13 unsigned long parse_tag_value(const char *str, struct parse_tag *tags);
|
/linux-master/tools/testing/selftests/arm64/mte/ |
H A D | mte_common_util.h | 45 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags); 49 bool tags, int fd); 52 void mte_free_memory(void *ptr, size_t size, int mem_type, bool tags); 96 int mem_type, bool tags) 103 if (tags && !MT_FETCH_TAG((uintptr_t)ptr)) { 95 check_allocated_memory(void *ptr, size_t size, int mem_type, bool tags) argument
|
/linux-master/tools/testing/selftests/powerpc/ |
H A D | Makefile | 75 rm -f tags 78 tags: 81 .PHONY: tags $(SUB_DIRS) emit_tests
|
/linux-master/include/scsi/ |
H A D | scsi_tcq.h | 33 req = blk_mq_tag_to_rq(shost->tag_set.tags[hwq],
|
/linux-master/arch/sparc/kernel/ |
H A D | adi_64.c | 17 /* Each page of storage for ADI tags can accommodate tags for 128 21 * store tags for four SWAPFILE_CLUSTER pages to reduce need for 100 /* Some of the code to support swapping ADI tags is written 101 * assumption that two ADI tags can fit inside one byte. If 160 unsigned char *tags; local 231 * store tags for as many pages in this vma as possible but not 233 * two ADI tags since each ADI tag is 4 bits. Each ADI tag 261 * only one page for storing ADI tags 284 tags 302 unsigned char *tags = NULL; local [all...] |