Home
last modified time | relevance | path

Searched refs:glob (Results 1 – 17 of 17) sorted by relevance

/linux-3.4.99/drivers/gpu/drm/ttm/
Dttm_memory.c44 struct ttm_mem_global *glob; member
92 spin_lock(&zone->glob->lock); in ttm_mem_zone_show()
103 spin_unlock(&zone->glob->lock); in ttm_mem_zone_show()
109 static void ttm_check_swapping(struct ttm_mem_global *glob);
129 spin_lock(&zone->glob->lock); in ttm_mem_zone_store()
142 spin_unlock(&zone->glob->lock); in ttm_mem_zone_store()
144 ttm_check_swapping(zone->glob); in ttm_mem_zone_store()
171 struct ttm_mem_global *glob = in ttm_mem_global_kobj_release() local
174 kfree(glob); in ttm_mem_global_kobj_release()
181 static bool ttm_zones_above_swap_target(struct ttm_mem_global *glob, in ttm_zones_above_swap_target() argument
[all …]
Dttm_execbuf_util.c88 struct ttm_bo_global *glob = bo->glob; in ttm_eu_wait_unreserved_locked() local
92 spin_unlock(&glob->lru_lock); in ttm_eu_wait_unreserved_locked()
94 spin_lock(&glob->lru_lock); in ttm_eu_wait_unreserved_locked()
104 struct ttm_bo_global *glob; in ttm_eu_backoff_reservation() local
110 glob = entry->bo->glob; in ttm_eu_backoff_reservation()
111 spin_lock(&glob->lru_lock); in ttm_eu_backoff_reservation()
113 spin_unlock(&glob->lru_lock); in ttm_eu_backoff_reservation()
131 struct ttm_bo_global *glob; in ttm_eu_reserve_buffers() local
146 glob = entry->bo->glob; in ttm_eu_reserve_buffers()
149 spin_lock(&glob->lru_lock); in ttm_eu_reserve_buffers()
[all …]
Dttm_bo.c107 struct ttm_bo_global *glob = in ttm_bo_global_show() local
111 (unsigned long) atomic_read(&glob->bo_count)); in ttm_bo_global_show()
152 atomic_dec(&bo->glob->bo_count); in ttm_bo_release_list()
158 ttm_mem_global_free(bdev->glob->mem_glob, acc_size); in ttm_bo_release_list()
189 list_add_tail(&bo->swap, &bo->glob->swap_lru); in ttm_bo_add_to_lru()
220 struct ttm_bo_global *glob = bo->glob; in ttm_bo_reserve_locked() local
244 spin_unlock(&glob->lru_lock); in ttm_bo_reserve_locked()
246 spin_lock(&glob->lru_lock); in ttm_bo_reserve_locked()
287 struct ttm_bo_global *glob = bo->glob; in ttm_bo_reserve() local
291 spin_lock(&glob->lru_lock); in ttm_bo_reserve()
[all …]
Dttm_tt.c190 ttm->glob = bdev->glob; in ttm_tt_init()
222 ttm->glob = bdev->glob; in ttm_dma_tt_init()
Dttm_page_alloc.c792 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) in ttm_page_alloc_init() argument
817 &glob->kobj, "pool"); in ttm_page_alloc_init()
845 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; in ttm_pool_populate()
888 ttm_mem_global_free_page(ttm->glob->mem_glob, in ttm_pool_unpopulate()
Dttm_page_alloc_dma.c866 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; in ttm_dma_populate()
979 ttm_mem_global_free_page(ttm->glob->mem_glob, in ttm_dma_unpopulate()
985 ttm_mem_global_free_page(ttm->glob->mem_glob, in ttm_dma_unpopulate()
1053 int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) in ttm_dma_page_alloc_init() argument
1074 &glob->kobj, "dma_pool"); in ttm_dma_page_alloc_init()
/linux-3.4.99/include/drm/ttm/
Dttm_memory.h118 static inline int ttm_mem_register_shrink(struct ttm_mem_global *glob, in ttm_mem_register_shrink() argument
121 spin_lock(&glob->lock); in ttm_mem_register_shrink()
122 if (glob->shrink != NULL) { in ttm_mem_register_shrink()
123 spin_unlock(&glob->lock); in ttm_mem_register_shrink()
126 glob->shrink = shrink; in ttm_mem_register_shrink()
127 spin_unlock(&glob->lock); in ttm_mem_register_shrink()
139 static inline void ttm_mem_unregister_shrink(struct ttm_mem_global *glob, in ttm_mem_unregister_shrink() argument
142 spin_lock(&glob->lock); in ttm_mem_unregister_shrink()
143 BUG_ON(glob->shrink != shrink); in ttm_mem_unregister_shrink()
144 glob->shrink = NULL; in ttm_mem_unregister_shrink()
[all …]
Dttm_page_alloc.h35 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages);
69 int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages);
85 static inline int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, in ttm_dma_page_alloc_init() argument
Dttm_bo_driver.h119 struct ttm_bo_global *glob; member
539 struct ttm_bo_global *glob; member
767 struct ttm_bo_global *glob,
Dttm_bo_api.h197 struct ttm_bo_global *glob; member
/linux-3.4.99/drivers/gpu/drm/
Ddrm_global.c42 static struct drm_global_item glob[DRM_GLOBAL_NUM]; variable
49 struct drm_global_item *item = &glob[i]; in drm_global_init()
60 struct drm_global_item *item = &glob[i]; in drm_global_release()
69 struct drm_global_item *item = &glob[ref->global_type]; in drm_global_item_ref()
100 struct drm_global_item *item = &glob[ref->global_type]; in drm_global_item_unref()
/linux-3.4.99/kernel/trace/
Dtrace_functions.c311 ftrace_trace_onoff_unreg(char *glob, char *cmd, char *param) in ftrace_trace_onoff_unreg() argument
321 unregister_ftrace_function_probe_func(glob, ops); in ftrace_trace_onoff_unreg()
328 char *glob, char *cmd, char *param, int enable) in ftrace_trace_onoff_callback() argument
339 if (glob[0] == '!') in ftrace_trace_onoff_callback()
340 return ftrace_trace_onoff_unreg(glob+1, cmd, param); in ftrace_trace_onoff_callback()
365 ret = register_ftrace_function_probe(glob, ops, count); in ftrace_trace_onoff_callback()
Dftrace.c3010 register_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops, in register_ftrace_function_probe() argument
3021 type = filter_parse_regex(glob, strlen(glob), &search, &not); in register_ftrace_function_probe()
3084 __unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops, in __unregister_ftrace_function_probe() argument
3094 if (glob && (strcmp(glob, "*") == 0 || !strlen(glob))) in __unregister_ftrace_function_probe()
3095 glob = NULL; in __unregister_ftrace_function_probe()
3096 else if (glob) { in __unregister_ftrace_function_probe()
3099 type = filter_parse_regex(glob, strlen(glob), &search, &not); in __unregister_ftrace_function_probe()
3121 if (glob) { in __unregister_ftrace_function_probe()
3124 if (!ftrace_match(str, glob, len, type)) in __unregister_ftrace_function_probe()
3137 unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops, in unregister_ftrace_function_probe() argument
[all …]
/linux-3.4.99/include/linux/
Dftrace.h219 register_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops,
222 unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops,
225 unregister_ftrace_function_probe_func(char *glob, struct ftrace_probe_ops *ops);
226 extern void unregister_ftrace_function_probe_all(char *glob);
/linux-3.4.99/tools/perf/Documentation/
Dperf-probe.txt57 Delete probe events. This accepts glob wildcards('*', '?') and character
83 (Only for --vars and --funcs) Set filter. FILTER is a combination of glob
145 …The lazy line matching is similar to glob matching but ignoring spaces in both of pattern and targ…
154 The filter pattern is a glob matching pattern(s) to filter variables.
Dperf-list.txt83 . If none of the above is matched, it will apply the supplied glob to all
/linux-3.4.99/drivers/gpu/drm/radeon/
Dradeon_ttm.c864 struct ttm_bo_global *glob = rdev->mman.bdev.glob; in radeon_mm_dump_table() local
866 spin_lock(&glob->lru_lock); in radeon_mm_dump_table()
868 spin_unlock(&glob->lru_lock); in radeon_mm_dump_table()