/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_cmdbuf.c | 259 struct vmw_cmdbuf_man *man = header->man; in __vmw_cmdbuf_header_free() local 284 struct vmw_cmdbuf_man *man = header->man; in vmw_cmdbuf_header_free() local 304 struct vmw_cmdbuf_man *man = header->man; in vmw_cmdbuf_header_submit() local 676 man->cur->cb_header->length = man->cur_pos; in __vmw_cmdbuf_cur_flush() 731 (man->idle_queue, vmw_cmdbuf_man_idle(man, true), in vmw_cmdbuf_idle() 735 (man->idle_queue, vmw_cmdbuf_man_idle(man, true), in vmw_cmdbuf_idle() 979 header->man = man; in vmw_cmdbuf_alloc() 1035 return (void *) (man->cur->cmd + man->cur_pos); in vmw_cmdbuf_reserve_cur() 1309 man = kzalloc(sizeof(*man), GFP_KERNEL); in vmw_cmdbuf_man_create() 1310 if (!man) in vmw_cmdbuf_man_create() [all …]
|
A D | vmwgfx_cmdbuf_res.c | 48 struct vmw_cmdbuf_res_manager *man; member 217 cres->man = man; in vmw_cmdbuf_res_add() 259 vmw_cmdbuf_res_free(man, entry); in vmw_cmdbuf_res_remove() 292 man = kzalloc(sizeof(*man), GFP_KERNEL); in vmw_cmdbuf_res_man_create() 293 if (!man) in vmw_cmdbuf_res_man_create() 296 man->dev_priv = dev_priv; in vmw_cmdbuf_res_man_create() 297 INIT_LIST_HEAD(&man->list); in vmw_cmdbuf_res_man_create() 300 return man; in vmw_cmdbuf_res_man_create() 302 kfree(man); in vmw_cmdbuf_res_man_create() 323 drm_ht_remove(&man->resources); in vmw_cmdbuf_res_man_destroy() [all …]
|
A D | vmwgfx_gmrid_manager.c | 57 struct vmwgfx_gmrid_man *gman = to_gmrid_manager(man); in vmw_gmrid_man_get_node() 126 struct vmwgfx_gmrid_man *gman = to_gmrid_manager(man); in vmw_gmrid_man_put_node() 139 struct ttm_resource_manager *man; in vmw_gmrid_man_init() local 146 man = &gman->manager; in vmw_gmrid_man_init() 148 man->func = &vmw_gmrid_manager_func; in vmw_gmrid_man_init() 150 man->use_tt = true; in vmw_gmrid_man_init() 151 ttm_resource_manager_init(man, 0); in vmw_gmrid_man_init() 169 ttm_resource_manager_set_used(man, true); in vmw_gmrid_man_init() 178 ttm_resource_manager_set_used(man, false); in vmw_gmrid_man_fini() 180 ttm_resource_manager_evict_all(&dev_priv->bdev, man); in vmw_gmrid_man_fini() [all …]
|
A D | vmwgfx_thp.c | 27 return container_of(man, struct vmw_thp_manager, manager); in to_thp_manager() 51 static int vmw_thp_get_node(struct ttm_resource_manager *man, in vmw_thp_get_node() argument 56 struct vmw_thp_manager *rman = to_thp_manager(man); in vmw_thp_get_node() 72 lpfn = man->size; in vmw_thp_get_node() 120 struct vmw_thp_manager *rman = to_thp_manager(man); in vmw_thp_put_node() 152 struct vmw_thp_manager *rman = to_thp_manager(man); in vmw_thp_fini() 156 ttm_resource_manager_set_used(man, false); in vmw_thp_fini() 158 ret = ttm_resource_manager_evict_all(&dev_priv->bdev, man); in vmw_thp_fini() 165 ttm_resource_manager_cleanup(man); in vmw_thp_fini() 170 static void vmw_thp_debug(struct ttm_resource_manager *man, in vmw_thp_debug() argument [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_preempt_mgr.c | 29 to_preempt_mgr(struct ttm_resource_manager *man) in to_preempt_mgr() argument 48 struct ttm_resource_manager *man; in mem_info_preempt_used_show() local 130 man->size, (u64)atomic64_read(&mgr->used)); in amdgpu_preempt_mgr_debug() 149 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_preempt_mgr_init() local 152 man->use_tt = true; in amdgpu_preempt_mgr_init() 153 man->func = &amdgpu_preempt_mgr_func; in amdgpu_preempt_mgr_init() 155 ttm_resource_manager_init(man, (1 << 30)); in amdgpu_preempt_mgr_init() 167 ttm_resource_manager_set_used(man, true); in amdgpu_preempt_mgr_init() 182 struct ttm_resource_manager *man = &mgr->manager; in amdgpu_preempt_mgr_fini() local 185 ttm_resource_manager_set_used(man, false); in amdgpu_preempt_mgr_fini() [all …]
|
A D | amdgpu_gtt_mgr.c | 35 to_gtt_mgr(struct ttm_resource_manager *man) in to_gtt_mgr() argument 60 struct ttm_resource_manager *man; in amdgpu_mem_info_gtt_total_show() local 80 struct ttm_resource_manager *man; in amdgpu_mem_info_gtt_used_show() local 130 struct amdgpu_gtt_mgr *mgr = to_gtt_mgr(man); in amdgpu_gtt_mgr_new() 193 struct amdgpu_gtt_mgr *mgr = to_gtt_mgr(man); in amdgpu_gtt_mgr_del() 268 man->size, atomic64_read(&mgr->used)); in amdgpu_gtt_mgr_debug() 291 man->use_tt = true; in amdgpu_gtt_mgr_init() 292 man->func = &amdgpu_gtt_mgr_func; in amdgpu_gtt_mgr_init() 303 ttm_resource_manager_set_used(man, true); in amdgpu_gtt_mgr_init() 321 ttm_resource_manager_set_used(man, false); in amdgpu_gtt_mgr_fini() [all …]
|
A D | amdgpu_vram_mgr.c | 40 to_vram_mgr(struct ttm_resource_manager *man) in to_vram_mgr() argument 99 struct ttm_resource_manager *man; in amdgpu_mem_info_vram_used_show() local 119 struct ttm_resource_manager *man; in amdgpu_mem_info_vis_vram_used_show() local 288 amdgpu_vram_mgr_do_reserve(man); in amdgpu_vram_mgr_reserve_range() 385 lpfn = man->size; in amdgpu_vram_mgr_new() 512 amdgpu_vram_mgr_do_reserve(man); in amdgpu_vram_mgr_del() 678 man->size, amdgpu_vram_mgr_usage(man) >> 20, in amdgpu_vram_mgr_debug() 702 man->func = &amdgpu_vram_mgr_func; in amdgpu_vram_mgr_init() 704 drm_mm_init(&mgr->mm, 0, man->size); in amdgpu_vram_mgr_init() 710 ttm_resource_manager_set_used(man, true); in amdgpu_vram_mgr_init() [all …]
|
A D | amdgpu_ttm.h | 117 uint64_t amdgpu_gtt_mgr_usage(struct ttm_resource_manager *man); 118 int amdgpu_gtt_mgr_recover(struct ttm_resource_manager *man); 120 uint64_t amdgpu_preempt_mgr_usage(struct ttm_resource_manager *man); 132 uint64_t amdgpu_vram_mgr_usage(struct ttm_resource_manager *man); 133 uint64_t amdgpu_vram_mgr_vis_usage(struct ttm_resource_manager *man); 134 int amdgpu_vram_mgr_reserve_range(struct ttm_resource_manager *man, 136 int amdgpu_vram_mgr_query_page_status(struct ttm_resource_manager *man,
|
/linux/drivers/gpu/drm/ttm/ |
A D | ttm_range_manager.c | 53 to_range_manager(struct ttm_resource_manager *man) in to_range_manager() argument 72 lpfn = man->size; in ttm_range_man_alloc() 145 struct ttm_resource_manager *man; in ttm_range_man_init_nocheck() local 152 man = &rman->manager; in ttm_range_man_init_nocheck() 153 man->use_tt = use_tt; in ttm_range_man_init_nocheck() 155 man->func = &ttm_range_manager_func; in ttm_range_man_init_nocheck() 157 ttm_resource_manager_init(man, p_size); in ttm_range_man_init_nocheck() 163 ttm_resource_manager_set_used(man, true); in ttm_range_man_init_nocheck() 184 if (!man) in ttm_range_man_fini_nocheck() 187 ttm_resource_manager_set_used(man, false); in ttm_range_man_fini_nocheck() [all …]
|
A D | ttm_resource.c | 54 return man->func->alloc(man, bo, place, res_ptr); in ttm_resource_alloc() 59 struct ttm_resource_manager *man; in ttm_resource_free() local 65 man->func->free(man, *res); in ttm_resource_free() 132 spin_lock_init(&man->move_lock); in ttm_resource_manager_init() 133 man->size = p_size; in ttm_resource_manager_init() 136 INIT_LIST_HEAD(&man->lru[i]); in ttm_resource_manager_init() 137 man->move = NULL; in ttm_resource_manager_init() 179 spin_lock(&man->move_lock); in ttm_resource_manager_evict_all() 181 spin_unlock(&man->move_lock); in ttm_resource_manager_evict_all() 206 if (man->func->debug) in ttm_resource_manager_debug() [all …]
|
A D | ttm_sys_manager.c | 10 static int ttm_sys_man_alloc(struct ttm_resource_manager *man, in ttm_sys_man_alloc() argument 23 static void ttm_sys_man_free(struct ttm_resource_manager *man, in ttm_sys_man_free() argument 36 struct ttm_resource_manager *man = &bdev->sysman; in ttm_sys_man_init() local 42 man->use_tt = true; in ttm_sys_man_init() 43 man->func = &ttm_sys_manager_func; in ttm_sys_man_init() 45 ttm_resource_manager_init(man, 0); in ttm_sys_man_init() 46 ttm_set_driver_manager(bdev, TTM_PL_SYSTEM, man); in ttm_sys_man_init() 47 ttm_resource_manager_set_used(man, true); in ttm_sys_man_init()
|
A D | ttm_device.c | 145 struct ttm_resource_manager *man; in ttm_device_swapout() local 152 man = ttm_manager_type(bdev, i); in ttm_device_swapout() 153 if (!man || !man->use_tt) in ttm_device_swapout() 235 struct ttm_resource_manager *man; in ttm_device_fini() local 238 man = ttm_manager_type(bdev, TTM_PL_SYSTEM); in ttm_device_fini() 239 ttm_resource_manager_set_used(man, false); in ttm_device_fini() 253 if (list_empty(&man->lru[0])) in ttm_device_fini() 264 struct ttm_resource_manager *man; in ttm_device_clear_dma_mappings() local 285 man = ttm_manager_type(bdev, i); in ttm_device_clear_dma_mappings() 286 if (!man || !man->use_tt) in ttm_device_clear_dma_mappings() [all …]
|
A D | ttm_bo.c | 57 struct ttm_resource_manager *man; in ttm_bo_mem_space_debug() local 105 struct ttm_resource_manager *man; in ttm_bo_move_to_lru_tail() local 144 struct ttm_resource_manager *man; in ttm_bo_bulk_move_lru_tail() local 159 struct ttm_resource_manager *man; in ttm_bo_bulk_move_lru_tail() local 702 if (&bo->lru != &man->lru[i]) in ttm_mem_evict_first() 748 spin_lock(&man->move_lock); in ttm_bo_add_move_fence() 749 fence = dma_fence_get(man->move); in ttm_bo_add_move_fence() 750 spin_unlock(&man->move_lock); in ttm_bo_add_move_fence() 784 struct ttm_resource_manager *man; in ttm_bo_mem_force_space() local 831 if (!man || !ttm_resource_manager_used(man)) in ttm_bo_mem_space() [all …]
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_ttm.c | 159 struct ttm_resource_manager *man = kzalloc(sizeof(*man), GFP_KERNEL); in nouveau_ttm_init_vram() local 161 if (!man) in nouveau_ttm_init_vram() 164 man->func = &nouveau_vram_manager; in nouveau_ttm_init_vram() 166 ttm_resource_manager_init(man, in nouveau_ttm_init_vram() 187 kfree(man); in nouveau_ttm_fini_vram() 195 struct ttm_resource_manager *man; in nouveau_ttm_init_gtt() local 207 man = kzalloc(sizeof(*man), GFP_KERNEL); in nouveau_ttm_init_gtt() 208 if (!man) in nouveau_ttm_init_gtt() 211 man->func = func; in nouveau_ttm_init_gtt() 212 man->use_tt = true; in nouveau_ttm_init_gtt() [all …]
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_ttm_buddy_manager.c | 25 to_buddy_manager(struct ttm_resource_manager *man) in to_buddy_manager() argument 35 struct i915_ttm_buddy_manager *bman = to_buddy_manager(man); in i915_ttm_buddy_man_alloc() 185 struct ttm_resource_manager *man; in i915_ttm_buddy_man_init() local 202 man = &bman->manager; in i915_ttm_buddy_man_init() 203 man->use_tt = use_tt; in i915_ttm_buddy_man_init() 204 man->func = &i915_ttm_buddy_manager_func; in i915_ttm_buddy_man_init() 207 ttm_resource_manager_set_used(man, true); in i915_ttm_buddy_man_init() 208 ttm_set_driver_manager(bdev, type, man); in i915_ttm_buddy_man_init() 234 ttm_resource_manager_set_used(man, false); in i915_ttm_buddy_man_fini() 236 ret = ttm_resource_manager_evict_all(bdev, man); in i915_ttm_buddy_man_fini() [all …]
|
A D | intel_region_ttm.c | 164 struct ttm_resource_manager *man = mem->region_private; in intel_region_ttm_resource_alloc() local 173 ret = man->func->alloc(man, &mock_bo, &place, &res); in intel_region_ttm_resource_alloc() 189 struct ttm_resource_manager *man = mem->region_private; in intel_region_ttm_resource_free() local 191 man->func->free(man, res); in intel_region_ttm_resource_free()
|
/linux/include/drm/ttm/ |
A D | ttm_resource.h | 71 int (*alloc)(struct ttm_resource_manager *man, 85 void (*free)(struct ttm_resource_manager *man, 98 void (*debug)(struct ttm_resource_manager *man, 229 WARN_ON(!list_empty(&man->lru[i])); in ttm_resource_manager_set_used() 230 man->use_type = used; in ttm_resource_manager_set_used() 244 return man->use_type; in ttm_resource_manager_used() 255 ttm_resource_manager_cleanup(struct ttm_resource_manager *man) in ttm_resource_manager_cleanup() argument 257 dma_fence_put(man->move); in ttm_resource_manager_cleanup() 258 man->move = NULL; in ttm_resource_manager_cleanup() 271 void ttm_resource_manager_init(struct ttm_resource_manager *man, [all …]
|
/linux/tools/kvm/kvm_stat/ |
A D | Makefile | 5 MANDIR=usr/share/man 13 all: man 31 man: $(MAN1) target 33 install-man: man 41 install: install-tools install-man 42 .PHONY: all clean man install-tools install-man install
|
/linux/tools/perf/Documentation/ |
A D | Makefile | 42 mandir?=$(prefix)/share/man 54 DOC_REF = origin/man 173 all: html man info 179 man: man1 man5 man7 target 186 install: install-man 188 check-man-tools: 193 do-install-man: man 194 $(call QUIET_INSTALL, Documentation-man) \ 202 install-man: check-man-tools man do-install-man 207 DO_INSTALL_MAN = do-install-man [all …]
|
/linux/tools/bpf/bpftool/Documentation/ |
A D | Makefile | 16 mandir ?= $(prefix)/man 24 man: man8 target 50 install: man 51 $(call QUIET_INSTALL, Documentation-man) 56 $(call QUIET_UNINST, Documentation-man) 60 .PHONY: man man8 clean install uninstall 61 .DEFAULT_GOAL := man
|
/linux/tools/power/acpi/tools/acpidump/ |
A D | Makefile | 11 EXTRA_INSTALL = install-man 12 EXTRA_UNINSTALL = uninstall-man 48 install-man: $(srctree)/man/acpidump.8 51 uninstall-man:
|
/linux/Documentation/translations/zh_CN/doc-guide/ |
A D | kernel-doc.rst | 480 如何使用kernel-doc生成手册(man)页 485 $ scripts/kernel-doc -man \ 487 | scripts/split-man.pl /tmp/man 492 $ scripts/kernel-doc -man \ 494 | scripts/split-man.pl /tmp/man 496 $ scripts/kernel-doc -man \ 498 | scripts/split-man.pl /tmp/man
|
/linux/drivers/atm/ |
A D | firestream.c | 467 man = 511; in make_rate() 474 man = rate; in make_rate() 479 man = man<<1; in make_rate() 486 man = man<<1; in make_rate() 500 man = man>>(32-9); in make_rate() 506 man = (man>>(32-9)) + 1; in make_rate() 509 man = 0; in make_rate() 513 man = (man>>(32-9)); in make_rate() 520 man = (man>>(32-9)) + 1; in make_rate() 527 man = (man>>(32-9)); in make_rate() [all …]
|
/linux/tools/testing/selftests/bpf/ |
A D | Makefile.docs | 17 mandir ?= $(prefix)/man 64 $(Q)$(INSTALL) -d -m 755 $(DESTDIR)$$(man$2dir) 65 $(Q)$(INSTALL) -m 644 $$(DOC_MAN$2) $(DESTDIR)$$(man$2dir) 69 $(Q)$(RM) $$(addprefix $(DESTDIR)$$(man$2dir)/,$$(_DOC_MAN$2)) 70 $(Q)$(RMDIR) $(DESTDIR)$$(man$2dir)
|
/linux/tools/power/pm-graph/ |
A D | Makefile | 29 install -d $(DESTDIR)$(PREFIX)/share/man/man8 30 install bootgraph.8 $(DESTDIR)$(PREFIX)/share/man/man8 31 install sleepgraph.8 $(DESTDIR)$(PREFIX)/share/man/man8 34 rm -f $(DESTDIR)$(PREFIX)/share/man/man8/bootgraph.8 35 rm -f $(DESTDIR)$(PREFIX)/share/man/man8/sleepgraph.8
|