Home
last modified time | relevance | path

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

1234567

/freebsd-12-stable/sys/dev/drm2/ttm/
Dttm_memory.c40 struct ttm_mem_global *glob; member
67 mtx_lock(&zone->glob->lock);
78 mtx_unlock(&zone->glob->lock);
85 static void ttm_check_swapping(struct ttm_mem_global *glob);
105 mtx_lock(&zone->glob->lock);
118 mtx_unlock(&zone->glob->lock);
120 ttm_check_swapping(zone->glob);
126 static void ttm_mem_global_kobj_release(struct ttm_mem_global *glob) in ttm_mem_global_kobj_release() argument
130 static bool ttm_zones_above_swap_target(struct ttm_mem_global *glob, in ttm_zones_above_swap_target() argument
137 for (i = 0; i < glob->num_zones; ++i) { in ttm_zones_above_swap_target()
[all …]
Dttm_memory.h105 static inline int ttm_mem_register_shrink(struct ttm_mem_global *glob, in ttm_mem_register_shrink() argument
108 mtx_lock(&glob->lock); in ttm_mem_register_shrink()
109 if (glob->shrink != NULL) { in ttm_mem_register_shrink()
110 mtx_unlock(&glob->lock); in ttm_mem_register_shrink()
113 glob->shrink = shrink; in ttm_mem_register_shrink()
114 mtx_unlock(&glob->lock); in ttm_mem_register_shrink()
126 static inline void ttm_mem_unregister_shrink(struct ttm_mem_global *glob, in ttm_mem_unregister_shrink() argument
129 mtx_lock(&glob->lock); in ttm_mem_unregister_shrink()
130 MPASS(glob->shrink == shrink); in ttm_mem_unregister_shrink()
131 glob->shrink = NULL; in ttm_mem_unregister_shrink()
[all …]
Dttm_bo.c46 static void ttm_bo_global_kobj_release(struct ttm_bo_global *glob);
97 static ssize_t ttm_bo_global_show(struct ttm_bo_global *glob,
102 (unsigned long) atomic_read(&glob->bo_count));
126 atomic_dec(&bo->glob->bo_count); in ttm_bo_release_list()
132 ttm_mem_global_free(bdev->glob->mem_glob, acc_size); in ttm_bo_release_list()
150 ret = -msleep(bo, &bo->glob->lru_lock, flags, wmsg, 0); in ttm_bo_wait_unreserved_locked()
175 list_add_tail(&bo->swap, &bo->glob->swap_lru); in ttm_bo_add_to_lru()
283 struct ttm_bo_global *glob = bo->glob; in ttm_bo_reserve() local
287 mtx_lock(&bo->glob->lru_lock); in ttm_bo_reserve()
292 mtx_unlock(&glob->lru_lock); in ttm_bo_reserve()
[all …]
Dttm_execbuf_util.c89 struct ttm_bo_global *glob; in ttm_eu_backoff_reservation() local
95 glob = entry->bo->glob; in ttm_eu_backoff_reservation()
96 mtx_lock(&glob->lru_lock); in ttm_eu_backoff_reservation()
98 mtx_unlock(&glob->lru_lock); in ttm_eu_backoff_reservation()
115 struct ttm_bo_global *glob; in ttm_eu_reserve_buffers() local
130 glob = entry->bo->glob; in ttm_eu_reserve_buffers()
132 mtx_lock(&glob->lru_lock); in ttm_eu_reserve_buffers()
172 mtx_unlock(&glob->lru_lock); in ttm_eu_reserve_buffers()
193 mtx_unlock(&glob->lru_lock); in ttm_eu_reserve_buffers()
200 mtx_unlock(&glob->lru_lock); in ttm_eu_reserve_buffers()
[all …]
Dttm_page_alloc.h36 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, in ttm_dma_page_alloc_init() argument
Dttm_tt.c188 ttm->glob = bdev->glob; in ttm_tt_init()
218 ttm->glob = bdev->glob; in ttm_dma_tt_init()
Dttm_bo_driver.h120 struct ttm_bo_global *glob; member
537 struct ttm_bo_global *glob; member
749 struct ttm_bo_global *glob,
/freebsd-12-stable/sys/contrib/zstd/tests/
Dtest-zstd-versions.py14 import glob
75 cFiles = glob.glob(dict_source_path + "/*.c")
76 hFiles = glob.glob(dict_source_path + "/*.h")
131 list_of_zst = sorted(glob.glob('*.zst'))
146 list_zst = sorted(glob.glob('*_nodict.zst'))
169 list_zst = sorted(glob.glob('*_dictio.zst'))
242 for compressed in glob.glob("*.zst"):
244 for dec in glob.glob("*.dec"):
269 zstds = sorted(glob.glob('*.zst'))
/freebsd-12-stable/sys/contrib/libsodium/regen-msvc/
Dregen-msvc.py4 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-12-stable/contrib/mtree/
Dexcludes.c61 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-12-stable/contrib/libucl/tests/basic/
D9.in18 .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"
D13.in3 # test glob
4 .include(glob=true,something="test") "${CURDIR}/include_dir/test*.conf"
/freebsd-12-stable/contrib/libstdc++/scripts/
Dmake_exports.pl25 my $glob = \@globs;
34 $glob = \@globs;
46 $glob = \@ignored;
51 $glob = \@cxx_globs;
60 push @$glob,$ptn;
/freebsd-12-stable/sbin/restore/
Dinteractive.c80 glob_t glob; /* globbing information */ member
108 arglist.glob.gl_flags = GLOB_ALTDIRFUNC; in runcmdshell()
109 arglist.glob.gl_opendir = rst_opendir; in runcmdshell()
110 arglist.glob.gl_readdir = glob_readdir; in runcmdshell()
111 arglist.glob.gl_closedir = rst_closedir; in runcmdshell()
112 arglist.glob.gl_lstat = glob_stat; in runcmdshell()
113 arglist.glob.gl_stat = glob_stat; in runcmdshell()
120 globfree(&arglist.glob); in runcmdshell()
369 switch (glob(name, GLOB_ALTDIRFUNC, NULL, &ap->glob)) { in getcmd()
377 if (ap->glob.gl_pathc == 0) in getcmd()
[all …]
/freebsd-12-stable/sys/dev/drm2/
Ddrm_global.c45 static struct drm_global_item glob[DRM_GLOBAL_NUM]; variable
52 struct drm_global_item *item = &glob[i]; in drm_global_init()
63 struct drm_global_item *item = &glob[i]; in drm_global_release()
73 struct drm_global_item *item = &glob[ref->global_type]; in drm_global_item_ref()
105 struct drm_global_item *item = &glob[ref->global_type]; in drm_global_item_unref()
/freebsd-12-stable/usr.sbin/fmtree/
Dexcludes.c52 const char *glob; member
85 e->glob = str; in read_excludes_file()
106 if ((e->pathname && MATCH(e->glob, path)) in check_excludes()
107 || MATCH(e->glob, fname)) in check_excludes()
/freebsd-12-stable/sys/contrib/zstd/lib/
DBUCK20 srcs=glob(['compress/zstd*.c']),
31 srcs=glob(['decompress/zstd*.c']),
45 srcs=glob(['deprecated/*.c']),
56 srcs=glob(['legacy/*.c']),
73 srcs=glob(['dictBuilder/*.c']),
/freebsd-12-stable/contrib/serf/build/
Dcheck.py26 import glob
54 for case in glob.glob(testdir + "/testcases/*.response"):
/freebsd-12-stable/crypto/heimdal/lib/roken/
Dglob.hin32 * @(#)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-12-stable/contrib/libucl/python/tests/
Dtest_validation.py5 import glob
45 for jsonfile in glob.glob(TESTS_SCHEMA_FOLDER):
/freebsd-12-stable/crypto/openssh/openbsd-compat/
Dglob.h52 # 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-12-stable/sys/contrib/zstd/programs/
DBUCK3 headers=glob(['*.h'], excludes=['datagen.h', 'platform.h', 'util.h']),
4 srcs=glob(['*.c'], excludes=['datagen.c']),
/freebsd-12-stable/contrib/ntp/sntp/unity/auto/
Dunity_test_summary.py11 from glob import glob
120 targets = list(map(lambda x: x.replace('\\', '/'), glob(targets_dir + '*.test*')))
/freebsd-12-stable/contrib/subversion/subversion/svndumpfilter/
Dsvndumpfilter.c141 svn_boolean_t do_exclude, svn_boolean_t glob) in skip_path() argument
144 (glob in skip_path()
182 svn_boolean_t glob; member
483 pb->do_exclude, pb->glob); in new_node_record()
504 skip_path(copyfrom_path, pb->prefixes, pb->do_exclude, pb->glob)) in new_node_record()
677 if (skip_path(merge_source, pb->prefixes, pb->do_exclude, pb->glob)) in adjust_mergeinfo()
1019 svn_boolean_t glob; /* --pattern */ member
1059 baton->glob = opt_state->glob; in parse_baton_initialize()
1132 if (opt_state->glob) in do_filter()
1361 opt_state.glob = TRUE; in sub_main()
/freebsd-12-stable/usr.sbin/bsdconfig/networking/share/
Dmedia.subr62 glob="[Dd][Hh][Cc][Pp]"
64 $glob|[Ss][Yy][Nn][Cc]$glob|[Nn][Oo][Ss][Yy][Nn][Cc]$glob)

1234567