/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_memory.c | 38 struct ttm_mem_global *glob; member 65 mtx_lock(&zone->glob->lock); 76 mtx_unlock(&zone->glob->lock); 83 static void ttm_check_swapping(struct ttm_mem_global *glob); 103 mtx_lock(&zone->glob->lock); 116 mtx_unlock(&zone->glob->lock); 118 ttm_check_swapping(zone->glob); 124 static void ttm_mem_global_kobj_release(struct ttm_mem_global *glob) in ttm_mem_global_kobj_release() argument 128 static bool ttm_zones_above_swap_target(struct ttm_mem_global *glob, in ttm_zones_above_swap_target() argument 135 for (i = 0; i < glob->num_zones; ++i) { in ttm_zones_above_swap_target() [all …]
|
H A D | ttm_memory.h | 104 static inline int ttm_mem_register_shrink(struct ttm_mem_global *glob, in ttm_mem_register_shrink() argument 107 mtx_lock(&glob->lock); in ttm_mem_register_shrink() 108 if (glob->shrink != NULL) { in ttm_mem_register_shrink() 109 mtx_unlock(&glob->lock); in ttm_mem_register_shrink() 112 glob->shrink = shrink; in ttm_mem_register_shrink() 113 mtx_unlock(&glob->lock); in ttm_mem_register_shrink() 125 static inline void ttm_mem_unregister_shrink(struct ttm_mem_global *glob, in ttm_mem_unregister_shrink() argument 128 mtx_lock(&glob->lock); in ttm_mem_unregister_shrink() 129 MPASS(glob->shrink == shrink); in ttm_mem_unregister_shrink() 130 glob->shrink = NULL; in ttm_mem_unregister_shrink() [all …]
|
H A D | ttm_bo.c | 44 static void ttm_bo_global_kobj_release(struct ttm_bo_global *glob); 95 static ssize_t ttm_bo_global_show(struct ttm_bo_global *glob, 100 (unsigned long) atomic_read(&glob->bo_count)); 124 atomic_dec(&bo->glob->bo_count); in ttm_bo_release_list() 130 ttm_mem_global_free(bdev->glob->mem_glob, acc_size); in ttm_bo_release_list() 148 ret = -msleep(bo, &bo->glob->lru_lock, flags, wmsg, 0); in ttm_bo_wait_unreserved_locked() 173 list_add_tail(&bo->swap, &bo->glob->swap_lru); in ttm_bo_add_to_lru() 281 struct ttm_bo_global *glob = bo->glob; in ttm_bo_reserve() local 285 mtx_lock(&bo->glob->lru_lock); in ttm_bo_reserve() 290 mtx_unlock(&glob->lru_lock); in ttm_bo_reserve() [all …]
|
H A D | ttm_execbuf_util.c | 87 struct ttm_bo_global *glob; in ttm_eu_backoff_reservation() local 93 glob = entry->bo->glob; in ttm_eu_backoff_reservation() 94 mtx_lock(&glob->lru_lock); in ttm_eu_backoff_reservation() 96 mtx_unlock(&glob->lru_lock); in ttm_eu_backoff_reservation() 113 struct ttm_bo_global *glob; in ttm_eu_reserve_buffers() local 128 glob = entry->bo->glob; in ttm_eu_reserve_buffers() 130 mtx_lock(&glob->lru_lock); in ttm_eu_reserve_buffers() 170 mtx_unlock(&glob->lru_lock); in ttm_eu_reserve_buffers() 191 mtx_unlock(&glob->lru_lock); in ttm_eu_reserve_buffers() 198 mtx_unlock(&glob->lru_lock); in ttm_eu_reserve_buffers() [all …]
|
H A D | ttm_page_alloc.h | 35 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages); 70 int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages); 86 static inline int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, in ttm_dma_page_alloc_init() argument
|
H A D | ttm_tt.c | 186 ttm->glob = bdev->glob; in ttm_tt_init() 216 ttm->glob = bdev->glob; in ttm_dma_tt_init()
|
H A D | ttm_bo_driver.h | 119 struct ttm_bo_global *glob; member 536 struct ttm_bo_global *glob; member 748 struct ttm_bo_global *glob,
|
/freebsd/sys/contrib/libsodium/regen-msvc/ |
H A D | regen-msvc.py | 4 import glob 11 for file in glob.iglob("src/libsodium/**/*.c", recursive=True): 16 for file in glob.iglob("src/libsodium/**/*.h", recursive=True): 21 for file in glob.iglob("src/libsodium/**/*.c", recursive=True): 28 for file in glob.iglob("src/libsodium/**/*.h", recursive=True): 35 for file in glob.iglob("src/libsodium/**/*.c", recursive=True): 41 for file in glob.iglob("src/libsodium/**/*.h", recursive=True): 47 for file in glob.iglob("src/libsodium/**/*.c", recursive=True): 60 for file in glob.iglob("src/libsodium/**/*.h", recursive=True):
|
/freebsd/contrib/mtree/ |
H A D | excludes.c | 61 const char *glob; member 94 e->glob = line; in read_excludes_file() 95 if (strchr(e->glob, '/') != NULL) in read_excludes_file() 114 if ((e->pathname && MATCH(e->glob, path)) in check_excludes() 115 || MATCH(e->glob, fname)) { in check_excludes()
|
/freebsd/contrib/libucl/tests/basic/ |
H A D | 9.in | 18 .include(prefix=true; key="prefix2"; target="array"; glob=true) "$CURDIR/9.inc" 19 .include(prefix=true; key="prefix3"; target="array"; glob=true) "$CURDIR/9.inc" 20 .include(prefix=true; key="prefix1"; target="array"; glob=true) "$CURDIR/9.inc" 21 .include(prefix=true; key="array"; target="array"; glob=true) "$CURDIR/9.inc" 22 .include(prefix=true; key="prefix"; glob=true) "$CURDIR/9.inc"
|
H A D | 13.in | 3 # test glob 4 .include(glob=true,something="test") "${CURDIR}/include_dir/test*.conf"
|
/freebsd/sbin/restore/ |
H A D | interactive.c | 71 glob_t glob; /* globbing information */ member 99 arglist.glob.gl_flags = GLOB_ALTDIRFUNC; in runcmdshell() 100 arglist.glob.gl_opendir = rst_opendir; in runcmdshell() 101 arglist.glob.gl_readdir = glob_readdir; in runcmdshell() 102 arglist.glob.gl_closedir = rst_closedir; in runcmdshell() 103 arglist.glob.gl_lstat = glob_stat; in runcmdshell() 104 arglist.glob.gl_stat = glob_stat; in runcmdshell() 111 globfree(&arglist.glob); in runcmdshell() 360 switch (glob(name, GLOB_ALTDIRFUNC, NULL, &ap->glob)) { in getcmd() 368 if (ap->glob.gl_pathc == 0) in getcmd() [all …]
|
/freebsd/sys/dev/drm2/ |
H A D | drm_global.c | 43 static struct drm_global_item glob[DRM_GLOBAL_NUM]; variable 50 struct drm_global_item *item = &glob[i]; in drm_global_init() 61 struct drm_global_item *item = &glob[i]; in drm_global_release() 71 struct drm_global_item *item = &glob[ref->global_type]; in drm_global_item_ref() 101 struct drm_global_item *item = &glob[ref->global_type]; in drm_global_item_unref()
|
/freebsd/sys/contrib/zstd/lib/ |
H A D | BUCK | 21 srcs=glob(['compress/zstd*.c', 'compress/hist.c']), 32 srcs=glob(['decompress/zstd*.c']), 46 srcs=glob(['deprecated/*.c']), 57 srcs=glob(['legacy/*.c']), 73 srcs=glob(['dictBuilder/*.c']),
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | glob.hin | 32 * @(#)glob.h 8.1 (Berkeley) 6/2/93 53 #define glob rk_glob 61 int gl_flags; /* Copy of flags parameter to glob. */ 63 /* Copy of errfunc parameter to glob. */ 67 * Alternate filesystem access methods for glob; replacement 97 glob (const char *, int, int (*)(const char *, int), glob_t *);
|
/freebsd/contrib/libucl/python/tests/ |
H A D | test_validation.py | 5 import glob 45 for jsonfile in glob.glob(TESTS_SCHEMA_FOLDER):
|
/freebsd/contrib/libcbor/examples/bazel/third_party/ |
H A D | libcbor.BUILD | 3 srcs = glob([ 9 ] + glob([
|
/freebsd/crypto/openssl/test/ |
H A D | run_tests.pl | 141 my ($glob) = @_; 143 if ($glob =~ m|^[\d\[\]\?\-]+$|) { 144 return glob(catfile($recipesdir,"$glob-*.t")); 147 return glob(catfile($recipesdir,"*-$glob.t"));
|
/freebsd/tests/sys/ses/ |
H A D | common.h | 40 r = glob("/dev/ses*", GLOB_NOCHECK | GLOB_NOSORT, NULL, &g); in for_each_ses_dev() 63 r = glob("/dev/ses*", GLOB_NOCHECK | GLOB_NOSORT, NULL, &g); in has_ses()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | glob.h | 52 # define glob(a, b, c, d) _ssh__compat_glob(a, b, c, d) macro 101 int glob(const char *, int, int (*)(const char *, int), glob_t *);
|
/freebsd/sys/contrib/zstd/programs/ |
H A D | BUCK | 3 headers=glob(['*.h'], excludes=['datagen.h', 'platform.h', 'util.h']), 4 srcs=glob(['*.c'], excludes=['datagen.c']),
|
/freebsd/contrib/ntp/sntp/unity/auto/ |
H A D | unity_test_summary.py | 11 from glob import glob 120 targets = list(map(lambda x: x.replace('\\', '/'), glob(targets_dir + '*.test*')))
|
/freebsd/crypto/openssl/doc/ |
H A D | build.info.in | 14 map { $_ => 1 } glob catfile($sourcedir, "man$section", "img", "*.png"); 16 map { $_ => 1 } glob catfile($sourcedir, "man$section", "*.pod"); 18 map { $_ => 1 } glob catfile($sourcedir, "man$section", "*.pod.in");
|
/freebsd/usr.sbin/bsdconfig/networking/share/ |
H A D | media.subr | 61 glob="[Dd][Hh][Cc][Pp]" 63 $glob|[Ss][Yy][Nn][Cc]$glob|[Nn][Oo][Ss][Yy][Nn][Cc]$glob)
|
/freebsd/tools/tools/notescheck/ |
H A D | notescheck.py | 11 import glob 160 for file in glob.glob(tree + '*/conf/NOTES'):
|