Searched refs:tags (Results 1 - 25 of 136) sorted by relevance

123456

/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Dmemory.c34 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 Dblk-mq-tag.c4 * 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 Dblk-mq.h58 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 Dmteswap.c14 /* 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 Dnv25.c34 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 Dnv40.c34 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 Dnv36.c34 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 Dnv35.c34 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 Dnv20.c47 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 Dgt215.c30 .tags = nv20_fb_tags,
H A Dg84.c30 .tags = nv20_fb_tags,
H A Dnv50.h14 u32 (*tags)(struct nvkm_fb *); member in struct:nv50_fb_func
H A Dnv49.c31 .tags = nv20_fb_tags,
H A Dnv47.c31 .tags = nv20_fb_tags,
H A Dnv30.c53 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 Dgpio.c30 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 Datags.h2 void convert_to_tag_list(struct tag *tags);
H A Datags_parse.c11 * 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 Delfcore.c29 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 Dsetup.h27 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 Dunits.h13 unsigned long parse_tag_value(const char *str, struct parse_tag *tags);
/linux-master/tools/testing/selftests/arm64/mte/
H A Dmte_common_util.h45 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 DMakefile75 rm -f tags
78 tags:
81 .PHONY: tags $(SUB_DIRS) emit_tests
/linux-master/include/scsi/
H A Dscsi_tcq.h33 req = blk_mq_tag_to_rq(shost->tag_set.tags[hwq],
/linux-master/arch/sparc/kernel/
H A Dadi_64.c17 /* 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...]

Completed in 148 milliseconds

123456