/linux-4.4.14/drivers/gpu/drm/ttm/ |
H A D | ttm_memory.c | 44 struct ttm_mem_global *glob; member in struct:ttm_mem_zone 92 spin_lock(&zone->glob->lock); ttm_mem_zone_show() 103 spin_unlock(&zone->glob->lock); ttm_mem_zone_show() 109 static void ttm_check_swapping(struct ttm_mem_global *glob); 129 spin_lock(&zone->glob->lock); ttm_mem_zone_store() 142 spin_unlock(&zone->glob->lock); ttm_mem_zone_store() 144 ttm_check_swapping(zone->glob); ttm_mem_zone_store() 171 struct ttm_mem_global *glob = ttm_mem_global_kobj_release() local 174 kfree(glob); ttm_mem_global_kobj_release() 181 static bool ttm_zones_above_swap_target(struct ttm_mem_global *glob, ttm_zones_above_swap_target() argument 188 for (i = 0; i < glob->num_zones; ++i) { ttm_zones_above_swap_target() 189 zone = glob->zones[i]; ttm_zones_above_swap_target() 213 static void ttm_shrink(struct ttm_mem_global *glob, bool from_wq, ttm_shrink() argument 219 spin_lock(&glob->lock); ttm_shrink() 220 if (glob->shrink == NULL) ttm_shrink() 223 while (ttm_zones_above_swap_target(glob, from_wq, extra)) { ttm_shrink() 224 shrink = glob->shrink; ttm_shrink() 225 spin_unlock(&glob->lock); ttm_shrink() 227 spin_lock(&glob->lock); ttm_shrink() 232 spin_unlock(&glob->lock); ttm_shrink() 239 struct ttm_mem_global *glob = ttm_shrink_work() local 242 ttm_shrink(glob, true, 0ULL); ttm_shrink_work() 245 static int ttm_mem_init_kernel_zone(struct ttm_mem_global *glob, ttm_mem_init_kernel_zone() argument 264 zone->glob = glob; ttm_mem_init_kernel_zone() 265 glob->zone_kernel = zone; ttm_mem_init_kernel_zone() 267 &zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, zone->name); ttm_mem_init_kernel_zone() 272 glob->zones[glob->num_zones++] = zone; ttm_mem_init_kernel_zone() 277 static int ttm_mem_init_highmem_zone(struct ttm_mem_global *glob, ttm_mem_init_highmem_zone() argument 300 zone->glob = glob; ttm_mem_init_highmem_zone() 301 glob->zone_highmem = zone; ttm_mem_init_highmem_zone() 303 &zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, "%s", ttm_mem_init_highmem_zone() 309 glob->zones[glob->num_zones++] = zone; ttm_mem_init_highmem_zone() 313 static int ttm_mem_init_dma32_zone(struct ttm_mem_global *glob, ttm_mem_init_dma32_zone() argument 348 zone->glob = glob; ttm_mem_init_dma32_zone() 349 glob->zone_dma32 = zone; ttm_mem_init_dma32_zone() 351 &zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, zone->name); ttm_mem_init_dma32_zone() 356 glob->zones[glob->num_zones++] = zone; ttm_mem_init_dma32_zone() 361 int ttm_mem_global_init(struct ttm_mem_global *glob) ttm_mem_global_init() argument 368 spin_lock_init(&glob->lock); ttm_mem_global_init() 369 glob->swap_queue = create_singlethread_workqueue("ttm_swap"); ttm_mem_global_init() 370 INIT_WORK(&glob->work, ttm_shrink_work); ttm_mem_global_init() 372 &glob->kobj, &ttm_mem_glob_kobj_type, ttm_get_kobj(), "memory_accounting"); ttm_mem_global_init() 374 kobject_put(&glob->kobj); ttm_mem_global_init() 380 ret = ttm_mem_init_kernel_zone(glob, &si); ttm_mem_global_init() 384 ret = ttm_mem_init_highmem_zone(glob, &si); ttm_mem_global_init() 388 ret = ttm_mem_init_dma32_zone(glob, &si); ttm_mem_global_init() 392 for (i = 0; i < glob->num_zones; ++i) { ttm_mem_global_init() 393 zone = glob->zones[i]; ttm_mem_global_init() 397 ttm_page_alloc_init(glob, glob->zone_kernel->max_mem/(2*PAGE_SIZE)); ttm_mem_global_init() 398 ttm_dma_page_alloc_init(glob, glob->zone_kernel->max_mem/(2*PAGE_SIZE)); ttm_mem_global_init() 401 ttm_mem_global_release(glob); ttm_mem_global_init() 406 void ttm_mem_global_release(struct ttm_mem_global *glob) ttm_mem_global_release() argument 415 flush_workqueue(glob->swap_queue); ttm_mem_global_release() 416 destroy_workqueue(glob->swap_queue); ttm_mem_global_release() 417 glob->swap_queue = NULL; ttm_mem_global_release() 418 for (i = 0; i < glob->num_zones; ++i) { ttm_mem_global_release() 419 zone = glob->zones[i]; ttm_mem_global_release() 423 kobject_del(&glob->kobj); ttm_mem_global_release() 424 kobject_put(&glob->kobj); ttm_mem_global_release() 428 static void ttm_check_swapping(struct ttm_mem_global *glob) ttm_check_swapping() argument 434 spin_lock(&glob->lock); ttm_check_swapping() 435 for (i = 0; i < glob->num_zones; ++i) { ttm_check_swapping() 436 zone = glob->zones[i]; ttm_check_swapping() 443 spin_unlock(&glob->lock); ttm_check_swapping() 446 (void)queue_work(glob->swap_queue, &glob->work); ttm_check_swapping() 450 static void ttm_mem_global_free_zone(struct ttm_mem_global *glob, ttm_mem_global_free_zone() argument 457 spin_lock(&glob->lock); ttm_mem_global_free_zone() 458 for (i = 0; i < glob->num_zones; ++i) { ttm_mem_global_free_zone() 459 zone = glob->zones[i]; ttm_mem_global_free_zone() 464 spin_unlock(&glob->lock); ttm_mem_global_free_zone() 467 void ttm_mem_global_free(struct ttm_mem_global *glob, ttm_mem_global_free() argument 470 return ttm_mem_global_free_zone(glob, NULL, amount); ttm_mem_global_free() 474 static int ttm_mem_global_reserve(struct ttm_mem_global *glob, ttm_mem_global_reserve() argument 483 spin_lock(&glob->lock); ttm_mem_global_reserve() 484 for (i = 0; i < glob->num_zones; ++i) { ttm_mem_global_reserve() 485 zone = glob->zones[i]; ttm_mem_global_reserve() 497 for (i = 0; i < glob->num_zones; ++i) { ttm_mem_global_reserve() 498 zone = glob->zones[i]; ttm_mem_global_reserve() 507 spin_unlock(&glob->lock); ttm_mem_global_reserve() 508 ttm_check_swapping(glob); ttm_mem_global_reserve() 514 static int ttm_mem_global_alloc_zone(struct ttm_mem_global *glob, ttm_mem_global_alloc_zone() argument 521 while (unlikely(ttm_mem_global_reserve(glob, ttm_mem_global_alloc_zone() 529 ttm_shrink(glob, false, memory + (memory >> 2) + 16); ttm_mem_global_alloc_zone() 535 int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory, ttm_mem_global_alloc() argument 543 return ttm_mem_global_alloc_zone(glob, NULL, memory, no_wait, ttm_mem_global_alloc() 548 int ttm_mem_global_alloc_page(struct ttm_mem_global *glob, ttm_mem_global_alloc_page() argument 561 if (PageHighMem(page) && glob->zone_highmem != NULL) ttm_mem_global_alloc_page() 562 zone = glob->zone_highmem; ttm_mem_global_alloc_page() 564 if (glob->zone_dma32 && page_to_pfn(page) > 0x00100000UL) ttm_mem_global_alloc_page() 565 zone = glob->zone_kernel; ttm_mem_global_alloc_page() 567 return ttm_mem_global_alloc_zone(glob, zone, PAGE_SIZE, no_wait, ttm_mem_global_alloc_page() 571 void ttm_mem_global_free_page(struct ttm_mem_global *glob, struct page *page) ttm_mem_global_free_page() argument 576 if (PageHighMem(page) && glob->zone_highmem != NULL) ttm_mem_global_free_page() 577 zone = glob->zone_highmem; ttm_mem_global_free_page() 579 if (glob->zone_dma32 && page_to_pfn(page) > 0x00100000UL) ttm_mem_global_free_page() 580 zone = glob->zone_kernel; ttm_mem_global_free_page() 582 ttm_mem_global_free_zone(glob, zone, PAGE_SIZE); ttm_mem_global_free_page()
|
H A D | ttm_execbuf_util.c | 61 struct ttm_bo_global *glob; ttm_eu_backoff_reservation() local 67 glob = entry->bo->glob; ttm_eu_backoff_reservation() 69 spin_lock(&glob->lru_lock); list_for_each_entry() 76 spin_unlock(&glob->lru_lock); 99 struct ttm_bo_global *glob; ttm_eu_reserve_buffers() local 107 glob = entry->bo->glob; ttm_eu_reserve_buffers() 175 spin_lock(&glob->lru_lock); 177 spin_unlock(&glob->lru_lock); 187 struct ttm_bo_global *glob; ttm_eu_fence_buffer_objects() local 197 glob = bo->glob; ttm_eu_fence_buffer_objects() 199 spin_lock(&glob->lru_lock); ttm_eu_fence_buffer_objects() 210 spin_unlock(&glob->lru_lock);
|
H A D | ttm_bo.c | 108 struct ttm_bo_global *glob = ttm_bo_global_show() local 112 (unsigned long) atomic_read(&glob->bo_count)); ttm_bo_global_show() 152 atomic_dec(&bo->glob->bo_count); ttm_bo_release_list() 161 ttm_mem_global_free(bdev->glob->mem_glob, acc_size); ttm_bo_release_list() 180 list_add_tail(&bo->swap, &bo->glob->swap_lru); ttm_bo_add_to_lru() 224 spin_lock(&bo->glob->lru_lock); ttm_bo_del_sub_from_lru() 226 spin_unlock(&bo->glob->lru_lock); ttm_bo_del_sub_from_lru() 237 struct ttm_bo_global *glob = bo->glob; ttm_bo_add_ttm() local 253 page_flags, glob->dummy_read_page); ttm_bo_add_ttm() 260 glob->dummy_read_page); ttm_bo_add_ttm() 429 struct ttm_bo_global *glob = bo->glob; ttm_bo_cleanup_refs_or_queue() local 433 spin_lock(&glob->lru_lock); ttm_bo_cleanup_refs_or_queue() 440 spin_unlock(&glob->lru_lock); ttm_bo_cleanup_refs_or_queue() 464 spin_unlock(&glob->lru_lock); ttm_bo_cleanup_refs_or_queue() 486 struct ttm_bo_global *glob = bo->glob; ttm_bo_cleanup_refs_and_unlock() local 495 spin_unlock(&glob->lru_lock); ttm_bo_cleanup_refs_and_unlock() 507 spin_lock(&glob->lru_lock); ttm_bo_cleanup_refs_and_unlock() 519 spin_unlock(&glob->lru_lock); ttm_bo_cleanup_refs_and_unlock() 533 spin_unlock(&glob->lru_lock); ttm_bo_cleanup_refs_and_unlock() 541 spin_unlock(&glob->lru_lock); ttm_bo_cleanup_refs_and_unlock() 556 struct ttm_bo_global *glob = bdev->glob; ttm_bo_delayed_delete() local 560 spin_lock(&glob->lru_lock); ttm_bo_delayed_delete() 579 spin_unlock(&glob->lru_lock); ttm_bo_delayed_delete() 582 spin_lock(&glob->lru_lock); ttm_bo_delayed_delete() 589 spin_unlock(&glob->lru_lock); ttm_bo_delayed_delete() 597 spin_lock(&glob->lru_lock); ttm_bo_delayed_delete() 603 spin_unlock(&glob->lru_lock); ttm_bo_delayed_delete() 716 struct ttm_bo_global *glob = bdev->glob; ttm_mem_evict_first() local 721 spin_lock(&glob->lru_lock); ttm_mem_evict_first() 742 spin_unlock(&glob->lru_lock); ttm_mem_evict_first() 756 spin_unlock(&glob->lru_lock); ttm_mem_evict_first() 1094 struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; ttm_bo_init() 1128 bo->glob = bdev->glob; ttm_bo_init() 1150 atomic_inc(&bo->glob->bo_count); ttm_bo_init() 1244 struct ttm_bo_global *glob = bdev->glob; ttm_bo_force_list_clean() local 1251 spin_lock(&glob->lru_lock); ttm_bo_force_list_clean() 1253 spin_unlock(&glob->lru_lock); ttm_bo_force_list_clean() 1262 spin_lock(&glob->lru_lock); ttm_bo_force_list_clean() 1264 spin_unlock(&glob->lru_lock); ttm_bo_force_list_clean() 1354 struct ttm_bo_global *glob = ttm_bo_global_kobj_release() local 1357 ttm_mem_unregister_shrink(glob->mem_glob, &glob->shrink); ttm_bo_global_kobj_release() 1358 __free_page(glob->dummy_read_page); ttm_bo_global_kobj_release() 1359 kfree(glob); ttm_bo_global_kobj_release() 1364 struct ttm_bo_global *glob = ref->object; ttm_bo_global_release() local 1366 kobject_del(&glob->kobj); ttm_bo_global_release() 1367 kobject_put(&glob->kobj); ttm_bo_global_release() 1375 struct ttm_bo_global *glob = ref->object; ttm_bo_global_init() local 1378 mutex_init(&glob->device_list_mutex); ttm_bo_global_init() 1379 spin_lock_init(&glob->lru_lock); ttm_bo_global_init() 1380 glob->mem_glob = bo_ref->mem_glob; ttm_bo_global_init() 1381 glob->dummy_read_page = alloc_page(__GFP_ZERO | GFP_DMA32); ttm_bo_global_init() 1383 if (unlikely(glob->dummy_read_page == NULL)) { ttm_bo_global_init() 1388 INIT_LIST_HEAD(&glob->swap_lru); ttm_bo_global_init() 1389 INIT_LIST_HEAD(&glob->device_list); ttm_bo_global_init() 1391 ttm_mem_init_shrink(&glob->shrink, ttm_bo_swapout); ttm_bo_global_init() 1392 ret = ttm_mem_register_shrink(glob->mem_glob, &glob->shrink); ttm_bo_global_init() 1398 atomic_set(&glob->bo_count, 0); ttm_bo_global_init() 1401 &glob->kobj, &ttm_bo_glob_kobj_type, ttm_get_kobj(), "buffer_objects"); ttm_bo_global_init() 1403 kobject_put(&glob->kobj); ttm_bo_global_init() 1406 __free_page(glob->dummy_read_page); ttm_bo_global_init() 1408 kfree(glob); ttm_bo_global_init() 1419 struct ttm_bo_global *glob = bdev->glob; ttm_bo_device_release() local 1434 mutex_lock(&glob->device_list_mutex); ttm_bo_device_release() 1436 mutex_unlock(&glob->device_list_mutex); ttm_bo_device_release() 1443 spin_lock(&glob->lru_lock); ttm_bo_device_release() 1449 spin_unlock(&glob->lru_lock); ttm_bo_device_release() 1458 struct ttm_bo_global *glob, ttm_bo_device_init() 1483 bdev->glob = glob; ttm_bo_device_init() 1486 mutex_lock(&glob->device_list_mutex); ttm_bo_device_init() 1487 list_add_tail(&bdev->device_list, &glob->device_list); ttm_bo_device_init() 1488 mutex_unlock(&glob->device_list_mutex); ttm_bo_device_init() 1618 struct ttm_bo_global *glob = ttm_bo_swapout() local 1625 spin_lock(&glob->lru_lock); ttm_bo_swapout() 1626 list_for_each_entry(bo, &glob->swap_lru, swap) { ttm_bo_swapout() 1633 spin_unlock(&glob->lru_lock); ttm_bo_swapout() 1646 spin_unlock(&glob->lru_lock); ttm_bo_swapout() 1699 while (ttm_bo_swapout(&bdev->glob->shrink) == 0) ttm_bo_swapout_all() 1457 ttm_bo_device_init(struct ttm_bo_device *bdev, struct ttm_bo_global *glob, struct ttm_bo_driver *driver, struct address_space *mapping, uint64_t file_page_offset, bool need_dma32) ttm_bo_device_init() argument
|
H A D | ttm_tt.c | 192 ttm->glob = bdev->glob; ttm_tt_init() 224 ttm->glob = bdev->glob; ttm_dma_tt_init()
|
H A D | ttm_page_alloc.c | 812 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) ttm_page_alloc_init() argument 837 &glob->kobj, "pool"); ttm_page_alloc_init() 866 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; ttm_pool_populate() 909 ttm_mem_global_free_page(ttm->glob->mem_glob, ttm_pool_unpopulate()
|
H A D | ttm_page_alloc_dma.c | 879 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; ttm_dma_populate() 978 ttm_mem_global_free_page(ttm->glob->mem_glob, ttm_dma_unpopulate() 984 ttm_mem_global_free_page(ttm->glob->mem_glob, ttm_dma_unpopulate() 1080 int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) ttm_dma_page_alloc_init() argument 1101 &glob->kobj, "dma_pool"); ttm_dma_page_alloc_init()
|
/linux-4.4.14/include/drm/ttm/ |
H A D | ttm_memory.h | 109 * @glob: The struct ttm_mem_global object to register with. 116 static inline int ttm_mem_register_shrink(struct ttm_mem_global *glob, ttm_mem_register_shrink() argument 119 spin_lock(&glob->lock); ttm_mem_register_shrink() 120 if (glob->shrink != NULL) { ttm_mem_register_shrink() 121 spin_unlock(&glob->lock); ttm_mem_register_shrink() 124 glob->shrink = shrink; ttm_mem_register_shrink() 125 spin_unlock(&glob->lock); ttm_mem_register_shrink() 132 * @glob: The struct ttm_mem_global object to unregister from. 137 static inline void ttm_mem_unregister_shrink(struct ttm_mem_global *glob, ttm_mem_unregister_shrink() argument 140 spin_lock(&glob->lock); ttm_mem_unregister_shrink() 141 BUG_ON(glob->shrink != shrink); ttm_mem_unregister_shrink() 142 glob->shrink = NULL; ttm_mem_unregister_shrink() 143 spin_unlock(&glob->lock); ttm_mem_unregister_shrink() 146 extern int ttm_mem_global_init(struct ttm_mem_global *glob); 147 extern void ttm_mem_global_release(struct ttm_mem_global *glob); 148 extern int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory, 150 extern void ttm_mem_global_free(struct ttm_mem_global *glob, 152 extern int ttm_mem_global_alloc_page(struct ttm_mem_global *glob, 155 extern void ttm_mem_global_free_page(struct ttm_mem_global *glob,
|
H A D | ttm_page_alloc.h | 37 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages); 71 int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages); 87 static inline int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, ttm_dma_page_alloc_init() argument
|
H A D | ttm_bo_driver.h | 122 struct ttm_bo_global *glob; member in struct:ttm_tt 518 struct ttm_bo_global *glob; member in struct:ttm_bo_device 714 * @glob: A pointer to an initialized struct ttm_bo_global. 726 struct ttm_bo_global *glob, 918 spin_lock(&bo->glob->lru_lock); ttm_bo_unreserve() 920 spin_unlock(&bo->glob->lru_lock); ttm_bo_unreserve()
|
H A D | ttm_bo_api.h | 200 struct ttm_bo_global *glob; member in struct:ttm_buffer_object
|
/linux-4.4.14/tools/perf/util/ |
H A D | ctype.c | 14 P = GIT_PRINT_EXTRA, /* printable - alpha - digit - glob - regex */
|
H A D | strfilter.h | 3 /* General purpose glob matching filter */ 22 * @rules: Filter rule, which is a combination of glob expressions.
|
H A D | dwarf-aux.h | 50 /* Matching diename with glob pattern */ 51 extern bool die_match_name(Dwarf_Die *dw_die, const char *glob);
|
H A D | string.c | 239 * strglobmatch - glob expression pattern matching 256 * strlazymatch - matching pattern strings lazily with glob pattern
|
H A D | strfilter.c | 50 /* Escape and special case: '!' is also used in glob pattern */ get_token()
|
H A D | dwarf-aux.c | 148 * die_match_name - Match diename and glob 150 * @glob: a string of target glob pattern 152 * Glob matching the name of @dw_die and @glob. Return false if matching fail. 154 bool die_match_name(Dwarf_Die *dw_die, const char *glob) die_match_name() argument 159 return name ? strglobmatch(name, glob) : false; die_match_name()
|
/linux-4.4.14/drivers/gpu/drm/ |
H A D | drm_global.c | 42 static struct drm_global_item glob[DRM_GLOBAL_NUM]; variable in typeref:struct:drm_global_item 49 struct drm_global_item *item = &glob[i]; drm_global_init() 60 struct drm_global_item *item = &glob[i]; drm_global_release() 69 struct drm_global_item *item = &glob[ref->global_type]; drm_global_item_ref() 98 struct drm_global_item *item = &glob[ref->global_type]; drm_global_item_unref()
|
/linux-4.4.14/lib/ |
H A D | glob.c | 2 #include <linux/glob.h> 9 MODULE_DESCRIPTION("glob(7) matching"); 17 * Perform shell-style glob matching, returning true (1) if the match 34 * Note that according to glob(7) (and unlike bash), character classes 131 /* Boot with "glob.verbose=1" to show successful tests, too */ 147 KERN_ERR "glob: \"%s\" vs. \"%s\": %s *** ERROR ***\n"; test() 149 KERN_DEBUG "glob: \"%s\" vs. \"%s\": %s OK\n"; test() 256 KERN_INFO "glob: %u self-tests passed, %u failed\n"; glob_init()
|
H A D | Makefile | 151 obj-$(CONFIG_GLOB) += glob.o
|
/linux-4.4.14/kernel/trace/ |
H A D | trace_functions.c | 523 struct ftrace_hash *hash, char *glob, ftrace_trace_probe_callback() 534 if (glob[0] == '!') { ftrace_trace_probe_callback() 535 unregister_ftrace_function_probe_func(glob+1, ops); ftrace_trace_probe_callback() 556 ret = register_ftrace_function_probe(glob, ops, count); ftrace_trace_probe_callback() 563 char *glob, char *cmd, char *param, int enable) ftrace_trace_onoff_callback() 573 return ftrace_trace_probe_callback(ops, hash, glob, cmd, ftrace_trace_onoff_callback() 579 char *glob, char *cmd, char *param, int enable) ftrace_stacktrace_callback() 585 return ftrace_trace_probe_callback(ops, hash, glob, cmd, ftrace_stacktrace_callback() 591 char *glob, char *cmd, char *param, int enable) ftrace_dump_callback() 598 return ftrace_trace_probe_callback(ops, hash, glob, cmd, ftrace_dump_callback() 604 char *glob, char *cmd, char *param, int enable) ftrace_cpudump_callback() 611 return ftrace_trace_probe_callback(ops, hash, glob, cmd, ftrace_cpudump_callback() 522 ftrace_trace_probe_callback(struct ftrace_probe_ops *ops, struct ftrace_hash *hash, char *glob, char *cmd, char *param, int enable) ftrace_trace_probe_callback() argument 562 ftrace_trace_onoff_callback(struct ftrace_hash *hash, char *glob, char *cmd, char *param, int enable) ftrace_trace_onoff_callback() argument 578 ftrace_stacktrace_callback(struct ftrace_hash *hash, char *glob, char *cmd, char *param, int enable) ftrace_stacktrace_callback() argument 590 ftrace_dump_callback(struct ftrace_hash *hash, char *glob, char *cmd, char *param, int enable) ftrace_dump_callback() argument 603 ftrace_cpudump_callback(struct ftrace_hash *hash, char *glob, char *cmd, char *param, int enable) ftrace_cpudump_callback() argument
|
H A D | trace_events_trigger.c | 511 * @glob: The raw string used to register the trigger 523 static int register_trigger(char *glob, struct event_trigger_ops *ops, register_trigger() argument 557 * @glob: The raw string used to register the trigger 567 static void unregister_trigger(char *glob, struct event_trigger_ops *ops, unregister_trigger() argument 592 * @glob: The raw string used to register the trigger 607 char *glob, char *cmd, char *param) event_trigger_callback() 631 if (glob[0] == '!') { event_trigger_callback() 632 cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file); event_trigger_callback() 665 ret = cmd_ops->reg(glob, trigger_ops, trigger_data, file); event_trigger_callback() 901 register_snapshot_trigger(char *glob, struct event_trigger_ops *ops, register_snapshot_trigger() argument 905 int ret = register_trigger(glob, ops, data, file); register_snapshot_trigger() 908 unregister_trigger(glob, ops, data, file); register_snapshot_trigger() 1163 char *glob, char *cmd, char *param) event_enable_trigger_func() 1221 if (glob[0] == '!') { event_enable_trigger_func() 1222 cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file); event_enable_trigger_func() 1266 ret = cmd_ops->reg(glob, trigger_ops, trigger_data, file); event_enable_trigger_func() 1294 static int event_enable_register_trigger(char *glob, event_enable_register_trigger() argument 1331 static void event_enable_unregister_trigger(char *glob, event_enable_unregister_trigger() argument 605 event_trigger_callback(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, char *cmd, char *param) event_trigger_callback() argument 1161 event_enable_trigger_func(struct event_command *cmd_ops, struct trace_event_file *file, char *glob, char *cmd, char *param) event_enable_trigger_func() argument
|
H A D | ftrace.c | 3708 register_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops, register_ftrace_function_probe() argument 3724 func_g.type = filter_parse_regex(glob, strlen(glob), register_ftrace_function_probe() 3820 __unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops, __unregister_ftrace_function_probe() argument 3835 if (glob && (strcmp(glob, "*") == 0 || !strlen(glob))) __unregister_ftrace_function_probe() 3837 else if (glob) { __unregister_ftrace_function_probe() 3840 func_g.type = filter_parse_regex(glob, strlen(glob), __unregister_ftrace_function_probe() 3843 func_g.search = glob; __unregister_ftrace_function_probe() 3911 unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops, unregister_ftrace_function_probe() argument 3914 __unregister_ftrace_function_probe(glob, ops, data, unregister_ftrace_function_probe() 3919 unregister_ftrace_function_probe_func(char *glob, struct ftrace_probe_ops *ops) unregister_ftrace_function_probe_func() argument 3921 __unregister_ftrace_function_probe(glob, ops, NULL, PROBE_TEST_FUNC); unregister_ftrace_function_probe_func() 3924 void unregister_ftrace_function_probe_all(char *glob) unregister_ftrace_function_probe_all() argument 3926 __unregister_ftrace_function_probe(glob, NULL, NULL, 0); unregister_ftrace_function_probe_all()
|
H A D | trace.h | 1309 char *glob, char *cmd, char *params); 1310 int (*reg)(char *glob, 1314 void (*unreg)(char *glob,
|
H A D | trace_events.c | 2713 char *glob, char *cmd, char *param, int enabled) event_enable_func() 2752 if (glob[0] == '!') { event_enable_func() 2753 unregister_ftrace_function_probe_func(glob+1, ops); event_enable_func() 2795 ret = register_ftrace_function_probe(glob, ops, data); event_enable_func() 2712 event_enable_func(struct ftrace_hash *hash, char *glob, char *cmd, char *param, int enabled) event_enable_func() argument
|
H A D | trace.c | 6025 char *glob, char *cmd, char *param, int enable) ftrace_trace_snapshot_callback() 6038 if (glob[0] == '!') { ftrace_trace_snapshot_callback() 6039 unregister_ftrace_function_probe_func(glob+1, ops); ftrace_trace_snapshot_callback() 6060 ret = register_ftrace_function_probe(glob, ops, count); ftrace_trace_snapshot_callback() 6024 ftrace_trace_snapshot_callback(struct ftrace_hash *hash, char *glob, char *cmd, char *param, int enable) ftrace_trace_snapshot_callback() argument
|
/linux-4.4.14/tools/perf/tests/ |
H A D | attr.py | 5 import glob 246 for f in glob.glob(tempdir + '/event*'): 263 for f in glob.glob(options.test_dir + '/' + options.test):
|
/linux-4.4.14/include/uapi/linux/ |
H A D | atmioc.h | 33 #define ATMIOC_AREQUIPA 0xc0 /* Application requested IP over ATM, glob. u. */
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_buffer.c | 395 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); vmw_ttm_map_dma() local 420 ret = ttm_mem_global_alloc(glob, vmw_tt->sg_alloc_size, false, vmw_ttm_map_dma() 438 ttm_mem_global_free(glob, over_alloc); vmw_ttm_map_dma() 468 ttm_mem_global_free(glob, vmw_tt->sg_alloc_size); vmw_ttm_map_dma() 640 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); vmw_ttm_populate() local 649 ret = ttm_mem_global_alloc(glob, size, false, true); vmw_ttm_populate() 655 ttm_mem_global_free(glob, size); vmw_ttm_populate() 667 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); vmw_ttm_unpopulate() local 681 ttm_mem_global_free(glob, size); vmw_ttm_unpopulate()
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
H A D | qxl_ttm.c | 455 struct ttm_bo_global *glob = rdev->mman.bdev.glob; qxl_mm_dump_table() local 457 spin_lock(&glob->lru_lock); qxl_mm_dump_table() 459 spin_unlock(&glob->lru_lock); qxl_mm_dump_table()
|
H A D | qxl_release.c | 439 struct ttm_bo_global *glob; qxl_release_fence_buffer_objects() local 464 glob = bo->glob; qxl_release_fence_buffer_objects() 466 spin_lock(&glob->lru_lock); qxl_release_fence_buffer_objects() 476 spin_unlock(&glob->lru_lock); qxl_release_fence_buffer_objects()
|
/linux-4.4.14/tools/testing/selftests/vm/ |
H A D | thuge-gen.c | 21 #include <glob.h> 62 glob("/sys/kernel/mm/hugepages/hugepages-*kB", 0, NULL, &g); find_pagesizes()
|
/linux-4.4.14/arch/blackfin/kernel/ |
H A D | vmlinux.lds.S | 89 /* This gets done first, so the glob doesn't suck it in */
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 1024 struct ttm_bo_global *glob = rdev->mman.bdev.glob; radeon_mm_dump_table() local 1026 spin_lock(&glob->lru_lock); radeon_mm_dump_table() 1028 spin_unlock(&glob->lru_lock); radeon_mm_dump_table()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.c | 1094 struct ttm_bo_global *glob = adev->mman.bdev.glob; amdgpu_mm_dump_table() local 1096 spin_lock(&glob->lru_lock); amdgpu_mm_dump_table() 1098 spin_unlock(&glob->lru_lock); amdgpu_mm_dump_table()
|
/linux-4.4.14/include/linux/ |
H A D | ftrace.h | 318 register_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops, 321 unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops, 324 unregister_ftrace_function_probe_func(char *glob, struct ftrace_probe_ops *ops); 325 extern void unregister_ftrace_function_probe_all(char *glob);
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gf100.c | 904 char glob[128]; gf100_gr_trap_mp() local 906 nvkm_snprintbf(glob, sizeof(glob), gf100_mp_global_error, gerr); gf100_gr_trap_mp() 911 gpc, tpc, gerr, glob, werr, warp ? warp->name : ""); gf100_gr_trap_mp()
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | mips-cm.c | 332 /* glob state & sresp together */ mips_cm_error_report()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dev.c | 1091 offsetof(struct nvm_cfg1, glob) + qed_hw_get_nvm_info() 1097 offsetof(struct nvm_cfg1, glob) + qed_hw_get_nvm_info() 1213 offsetof(struct nvm_cfg1, glob) + qed_hw_get_nvm_info()
|
H A D | qed_hsi.h | 5031 struct nvm_cfg1_glob glob; /* 0x0 */ member in struct:nvm_cfg1
|
/linux-4.4.14/drivers/isdn/i4l/ |
H A D | isdn_tty.c | 1876 * match the MSN against the MSNs (glob patterns) defined for tty_emulator,
|
/linux-4.4.14/drivers/scsi/ |
H A D | FlashPoint.c | 2370 /*if glob tagged started */ FPT_ssel()
|
/linux-4.4.14/scripts/ |
H A D | checkpatch.pl | 683 unlink glob ".checkpatch-camelcase.*";
|
/linux-4.4.14/drivers/ata/ |
H A D | libata-core.c | 62 #include <linux/glob.h>
|