Symbol: glob
crypto/heimdal/appl/ftp/ftp/cmds.c
1572
if (glob(*cpp, flags, NULL, &gl) ||
crypto/heimdal/appl/ftp/ftp/cmds.c
539
if (glob(argv[i], flags, NULL, &gl) || gl.gl_pathc == 0) {
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
2684
if (glob((yyvsp[(1) - (1)].s), flags, NULL, &gl) ||
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
846
if (glob($1, flags, NULL, &gl) ||
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2232
if (glob(whichf, flags, 0, &gl)) {
crypto/heimdal/appl/ftp/ftpd/popen.c
150
glob(argv[argc], flags, NULL, &gl) ||
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
665
static int glob_to_regexp(char *glob, char *realm, char **regexp)
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
671
if (glob[strlen(glob)-1] == '\\')
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
677
append_realm = (realm != NULL) && (strchr(glob, '@') == NULL);
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
678
p = (char *) malloc(strlen(glob)*2+ 3 + (append_realm ? 3 : 0));
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
684
while (*glob) {
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
685
switch (*glob) {
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
697
*p++ = *glob;
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
701
*p++ = *++glob;
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
704
*p++ = *glob;
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
707
glob++;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
498
if (glob(MECH_CONF_PATTERN, 0, NULL, &globbuf) == 0) {
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
55
static kadm5_ret_t glob_to_regexp(char *glob, char *realm, char **regexp)
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
61
if (glob[strlen(glob)-1] == '\\')
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
67
append_realm = (realm != NULL) && (strchr(glob, '@') == NULL);
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
68
p = (char *) malloc(strlen(glob)*2+ 3 + (append_realm ? 3 : 0));
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
74
while (*glob) {
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
75
switch (*glob) {
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
87
*p++ = *glob;
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
91
*p++ = *++glob;
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
94
*p++ = *glob;
crypto/krb5/src/lib/kadm5/srv/svr_iters.c
97
glob++;
crypto/openssh/auth2-pubkey.c
336
r = glob(file, 0, NULL, &gl);
crypto/openssh/auth2-pubkey.c
823
r = glob(file, 0, NULL, &gl);
crypto/openssh/openbsd-compat/glob.h
101
int glob(const char *, int, int (*)(const char *, int), glob_t *);
crypto/openssh/readconf.c
2109
r = glob(arg2, GLOB_TILDE, NULL, &gl);
crypto/openssh/servconf.c
2358
if ((r = glob(arg, 0, NULL, &gbuf)) != 0) {
crypto/openssh/sftp-glob.c
154
if ((r = glob(pattern, flags | GLOB_ALTDIRFUNC, errfunc, pglob)) != 0)
crypto/openssh/sftp.c
2024
(void)glob(tmp, GLOB_DOOFFS|GLOB_MARK, NULL, &g);
crypto/openssh/sftp.c
752
if (glob(src, GLOB_NOCHECK | GLOB_MARK, NULL, &g)) {
include/glob.h
108
int glob(const char * __restrict, int,
lib/libc/gen/glob-compat11.c
1084
__sym_compat(glob, freebsd11_glob, FBSD_1.0);
lib/libc/tests/gen/glob2_test.c
121
glob(".", 0, NULL, &g);
lib/libc/tests/gen/glob2_test.c
126
glob(".*", 0, NULL, &g);
lib/libc/tests/gen/glob2_test.c
160
rv = glob("test/*", 0, errfunc, &g);
lib/libc/tests/gen/glob2_test.c
169
rv = glob("test/*", GLOB_ERR, errfunc, &g);
lib/libc/tests/gen/glob2_test.c
80
rc = glob(pattern, 0, 0, &g);
sbin/ipfw/ipfw2.c
3765
cmd->p.glob = strpbrk(arg, "*?[") != NULL ? 1 : 0;
sbin/restore/interactive.c
100
arglist.glob.gl_opendir = rst_opendir;
sbin/restore/interactive.c
101
arglist.glob.gl_readdir = glob_readdir;
sbin/restore/interactive.c
102
arglist.glob.gl_closedir = rst_closedir;
sbin/restore/interactive.c
103
arglist.glob.gl_lstat = glob_stat;
sbin/restore/interactive.c
104
arglist.glob.gl_stat = glob_stat;
sbin/restore/interactive.c
111
globfree(&arglist.glob);
sbin/restore/interactive.c
360
switch (glob(name, GLOB_ALTDIRFUNC, NULL, &ap->glob)) {
sbin/restore/interactive.c
368
if (ap->glob.gl_pathc == 0)
sbin/restore/interactive.c
371
ap->argcnt = ap->glob.gl_pathc;
sbin/restore/interactive.c
374
strncpy(name, ap->glob.gl_pathv[ap->glob.gl_pathc - ap->argcnt], size);
sbin/restore/interactive.c
378
globfree(&ap->glob);
sbin/restore/interactive.c
71
glob_t glob; /* globbing information */
sbin/restore/interactive.c
99
arglist.glob.gl_flags = GLOB_ALTDIRFUNC;
sys/dev/drm2/drm_global.c
101
struct drm_global_item *item = &glob[ref->global_type];
sys/dev/drm2/drm_global.c
43
static struct drm_global_item glob[DRM_GLOBAL_NUM];
sys/dev/drm2/drm_global.c
50
struct drm_global_item *item = &glob[i];
sys/dev/drm2/drm_global.c
61
struct drm_global_item *item = &glob[i];
sys/dev/drm2/drm_global.c
71
struct drm_global_item *item = &glob[ref->global_type];
sys/dev/drm2/ttm/ttm_bo.c
100
(unsigned long) atomic_read(&glob->bo_count));
sys/dev/drm2/ttm/ttm_bo.c
1229
struct ttm_mem_global *mem_glob = bdev->glob->mem_glob;
sys/dev/drm2/ttm/ttm_bo.c
124
atomic_dec(&bo->glob->bo_count);
sys/dev/drm2/ttm/ttm_bo.c
1262
bo->glob = bdev->glob;
sys/dev/drm2/ttm/ttm_bo.c
1278
atomic_inc(&bo->glob->bo_count);
sys/dev/drm2/ttm/ttm_bo.c
130
ttm_mem_global_free(bdev->glob->mem_glob, acc_size);
sys/dev/drm2/ttm/ttm_bo.c
1364
struct ttm_bo_global *glob = bdev->glob;
sys/dev/drm2/ttm/ttm_bo.c
1371
mtx_lock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
1373
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
1382
mtx_lock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
1384
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
1469
static void ttm_bo_global_kobj_release(struct ttm_bo_global *glob)
sys/dev/drm2/ttm/ttm_bo.c
1472
ttm_mem_unregister_shrink(glob->mem_glob, &glob->shrink);
sys/dev/drm2/ttm/ttm_bo.c
1473
vm_page_free(glob->dummy_read_page);
sys/dev/drm2/ttm/ttm_bo.c
1478
struct ttm_bo_global *glob = ref->object;
sys/dev/drm2/ttm/ttm_bo.c
148
ret = -msleep(bo, &bo->glob->lru_lock, flags, wmsg, 0);
sys/dev/drm2/ttm/ttm_bo.c
1480
if (refcount_release(&glob->kobj_ref))
sys/dev/drm2/ttm/ttm_bo.c
1481
ttm_bo_global_kobj_release(glob);
sys/dev/drm2/ttm/ttm_bo.c
1488
struct ttm_bo_global *glob = ref->object;
sys/dev/drm2/ttm/ttm_bo.c
1492
sx_init(&glob->device_list_mutex, "ttmdlm");
sys/dev/drm2/ttm/ttm_bo.c
1493
mtx_init(&glob->lru_lock, "ttmlru", NULL, MTX_DEF);
sys/dev/drm2/ttm/ttm_bo.c
1494
glob->mem_glob = bo_ref->mem_glob;
sys/dev/drm2/ttm/ttm_bo.c
1497
glob->dummy_read_page = vm_page_alloc_noobj_contig(0, 1, 0,
sys/dev/drm2/ttm/ttm_bo.c
1500
if (unlikely(glob->dummy_read_page == NULL)) {
sys/dev/drm2/ttm/ttm_bo.c
1510
INIT_LIST_HEAD(&glob->swap_lru);
sys/dev/drm2/ttm/ttm_bo.c
1511
INIT_LIST_HEAD(&glob->device_list);
sys/dev/drm2/ttm/ttm_bo.c
1513
ttm_mem_init_shrink(&glob->shrink, ttm_bo_swapout);
sys/dev/drm2/ttm/ttm_bo.c
1514
ret = ttm_mem_register_shrink(glob->mem_glob, &glob->shrink);
sys/dev/drm2/ttm/ttm_bo.c
1520
atomic_set(&glob->bo_count, 0);
sys/dev/drm2/ttm/ttm_bo.c
1522
refcount_init(&glob->kobj_ref, 1);
sys/dev/drm2/ttm/ttm_bo.c
1526
vm_page_free(glob->dummy_read_page);
sys/dev/drm2/ttm/ttm_bo.c
1528
free(glob, M_DRM_GLOBAL);
sys/dev/drm2/ttm/ttm_bo.c
1537
struct ttm_bo_global *glob = bdev->glob;
sys/dev/drm2/ttm/ttm_bo.c
1552
sx_xlock(&glob->device_list_mutex);
sys/dev/drm2/ttm/ttm_bo.c
1554
sx_xunlock(&glob->device_list_mutex);
sys/dev/drm2/ttm/ttm_bo.c
1562
mtx_lock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
1568
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
1579
struct ttm_bo_global *glob,
sys/dev/drm2/ttm/ttm_bo.c
1608
bdev->glob = glob;
sys/dev/drm2/ttm/ttm_bo.c
1612
sx_xlock(&glob->device_list_mutex);
sys/dev/drm2/ttm/ttm_bo.c
1613
list_add_tail(&bdev->device_list, &glob->device_list);
sys/dev/drm2/ttm/ttm_bo.c
1614
sx_xunlock(&glob->device_list_mutex);
sys/dev/drm2/ttm/ttm_bo.c
173
list_add_tail(&bo->swap, &bo->glob->swap_lru);
sys/dev/drm2/ttm/ttm_bo.c
1804
struct ttm_bo_global *glob =
sys/dev/drm2/ttm/ttm_bo.c
1811
mtx_lock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
1812
list_for_each_entry(bo, &glob->swap_lru, swap) {
sys/dev/drm2/ttm/ttm_bo.c
1819
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
1833
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
1890
while (ttm_bo_swapout(&bdev->glob->shrink) == 0)
sys/dev/drm2/ttm/ttm_bo.c
281
struct ttm_bo_global *glob = bo->glob;
sys/dev/drm2/ttm/ttm_bo.c
285
mtx_lock(&bo->glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
290
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
293
mtx_unlock(&bo->glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
335
struct ttm_bo_global *glob = bo->glob;
sys/dev/drm2/ttm/ttm_bo.c
338
mtx_lock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
342
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
345
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
358
struct ttm_bo_global *glob = bo->glob;
sys/dev/drm2/ttm/ttm_bo.c
360
mtx_lock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
362
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
371
struct ttm_bo_global *glob = bo->glob;
sys/dev/drm2/ttm/ttm_bo.c
387
page_flags, glob->dummy_read_page);
sys/dev/drm2/ttm/ttm_bo.c
394
glob->dummy_read_page);
sys/dev/drm2/ttm/ttm_bo.c
44
static void ttm_bo_global_kobj_release(struct ttm_bo_global *glob);
sys/dev/drm2/ttm/ttm_bo.c
551
struct ttm_bo_global *glob = bo->glob;
sys/dev/drm2/ttm/ttm_bo.c
557
mtx_lock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
566
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
584
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
612
struct ttm_bo_global *glob = bo->glob;
sys/dev/drm2/ttm/ttm_bo.c
632
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
649
mtx_lock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
661
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
670
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
678
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
693
struct ttm_bo_global *glob = bdev->glob;
sys/dev/drm2/ttm/ttm_bo.c
697
mtx_lock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
724
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
733
mtx_lock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
739
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
863
struct ttm_bo_global *glob = bdev->glob;
sys/dev/drm2/ttm/ttm_bo.c
868
mtx_lock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
876
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
891
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_bo.c
95
static ssize_t ttm_bo_global_show(struct ttm_bo_global *glob,
sys/dev/drm2/ttm/ttm_bo_api.h
191
struct ttm_bo_global *glob;
sys/dev/drm2/ttm/ttm_bo_driver.h
119
struct ttm_bo_global *glob;
sys/dev/drm2/ttm/ttm_bo_driver.h
536
struct ttm_bo_global *glob;
sys/dev/drm2/ttm/ttm_bo_driver.h
748
struct ttm_bo_global *glob,
sys/dev/drm2/ttm/ttm_execbuf_util.c
113
struct ttm_bo_global *glob;
sys/dev/drm2/ttm/ttm_execbuf_util.c
128
glob = entry->bo->glob;
sys/dev/drm2/ttm/ttm_execbuf_util.c
130
mtx_lock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_execbuf_util.c
170
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_execbuf_util.c
191
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_execbuf_util.c
198
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_execbuf_util.c
207
struct ttm_bo_global *glob;
sys/dev/drm2/ttm/ttm_execbuf_util.c
217
glob = bo->glob;
sys/dev/drm2/ttm/ttm_execbuf_util.c
219
mtx_lock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_execbuf_util.c
230
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_execbuf_util.c
87
struct ttm_bo_global *glob;
sys/dev/drm2/ttm/ttm_execbuf_util.c
93
glob = entry->bo->glob;
sys/dev/drm2/ttm/ttm_execbuf_util.c
94
mtx_lock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_execbuf_util.c
96
mtx_unlock(&glob->lru_lock);
sys/dev/drm2/ttm/ttm_memory.c
103
mtx_lock(&zone->glob->lock);
sys/dev/drm2/ttm/ttm_memory.c
116
mtx_unlock(&zone->glob->lock);
sys/dev/drm2/ttm/ttm_memory.c
118
ttm_check_swapping(zone->glob);
sys/dev/drm2/ttm/ttm_memory.c
124
static void ttm_mem_global_kobj_release(struct ttm_mem_global *glob)
sys/dev/drm2/ttm/ttm_memory.c
128
static bool ttm_zones_above_swap_target(struct ttm_mem_global *glob,
sys/dev/drm2/ttm/ttm_memory.c
135
for (i = 0; i < glob->num_zones; ++i) {
sys/dev/drm2/ttm/ttm_memory.c
136
zone = glob->zones[i];
sys/dev/drm2/ttm/ttm_memory.c
160
static void ttm_shrink(struct ttm_mem_global *glob, bool from_wq,
sys/dev/drm2/ttm/ttm_memory.c
166
mtx_lock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.c
167
if (glob->shrink == NULL)
sys/dev/drm2/ttm/ttm_memory.c
170
while (ttm_zones_above_swap_target(glob, from_wq, extra)) {
sys/dev/drm2/ttm/ttm_memory.c
171
shrink = glob->shrink;
sys/dev/drm2/ttm/ttm_memory.c
172
mtx_unlock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.c
174
mtx_lock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.c
179
mtx_unlock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.c
186
struct ttm_mem_global *glob = arg;
sys/dev/drm2/ttm/ttm_memory.c
188
ttm_shrink(glob, true, 0ULL);
sys/dev/drm2/ttm/ttm_memory.c
191
static int ttm_mem_init_kernel_zone(struct ttm_mem_global *glob,
sys/dev/drm2/ttm/ttm_memory.c
204
zone->glob = glob;
sys/dev/drm2/ttm/ttm_memory.c
205
glob->zone_kernel = zone;
sys/dev/drm2/ttm/ttm_memory.c
207
glob->zones[glob->num_zones++] = zone;
sys/dev/drm2/ttm/ttm_memory.c
211
static int ttm_mem_init_dma32_zone(struct ttm_mem_global *glob,
sys/dev/drm2/ttm/ttm_memory.c
240
zone->glob = glob;
sys/dev/drm2/ttm/ttm_memory.c
241
glob->zone_dma32 = zone;
sys/dev/drm2/ttm/ttm_memory.c
243
glob->zones[glob->num_zones++] = zone;
sys/dev/drm2/ttm/ttm_memory.c
247
int ttm_mem_global_init(struct ttm_mem_global *glob)
sys/dev/drm2/ttm/ttm_memory.c
254
mtx_init(&glob->lock, "ttmgz", NULL, MTX_DEF);
sys/dev/drm2/ttm/ttm_memory.c
255
glob->swap_queue = taskqueue_create("ttm_swap", M_WAITOK,
sys/dev/drm2/ttm/ttm_memory.c
256
taskqueue_thread_enqueue, &glob->swap_queue);
sys/dev/drm2/ttm/ttm_memory.c
257
taskqueue_start_threads(&glob->swap_queue, 1, PVM, "ttm swap");
sys/dev/drm2/ttm/ttm_memory.c
258
TASK_INIT(&glob->work, 0, ttm_shrink_work, glob);
sys/dev/drm2/ttm/ttm_memory.c
260
refcount_init(&glob->kobj_ref, 1);
sys/dev/drm2/ttm/ttm_memory.c
264
ret = ttm_mem_init_kernel_zone(glob, mem);
sys/dev/drm2/ttm/ttm_memory.c
267
ret = ttm_mem_init_dma32_zone(glob, mem);
sys/dev/drm2/ttm/ttm_memory.c
270
for (i = 0; i < glob->num_zones; ++i) {
sys/dev/drm2/ttm/ttm_memory.c
271
zone = glob->zones[i];
sys/dev/drm2/ttm/ttm_memory.c
275
ttm_page_alloc_init(glob, glob->zone_kernel->max_mem/(2*PAGE_SIZE));
sys/dev/drm2/ttm/ttm_memory.c
276
ttm_dma_page_alloc_init(glob, glob->zone_kernel->max_mem/(2*PAGE_SIZE));
sys/dev/drm2/ttm/ttm_memory.c
279
ttm_mem_global_release(glob);
sys/dev/drm2/ttm/ttm_memory.c
283
void ttm_mem_global_release(struct ttm_mem_global *glob)
sys/dev/drm2/ttm/ttm_memory.c
292
taskqueue_drain(glob->swap_queue, &glob->work);
sys/dev/drm2/ttm/ttm_memory.c
293
taskqueue_free(glob->swap_queue);
sys/dev/drm2/ttm/ttm_memory.c
294
glob->swap_queue = NULL;
sys/dev/drm2/ttm/ttm_memory.c
295
for (i = 0; i < glob->num_zones; ++i) {
sys/dev/drm2/ttm/ttm_memory.c
296
zone = glob->zones[i];
sys/dev/drm2/ttm/ttm_memory.c
300
if (refcount_release(&glob->kobj_ref))
sys/dev/drm2/ttm/ttm_memory.c
301
ttm_mem_global_kobj_release(glob);
sys/dev/drm2/ttm/ttm_memory.c
304
static void ttm_check_swapping(struct ttm_mem_global *glob)
sys/dev/drm2/ttm/ttm_memory.c
310
mtx_lock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.c
311
for (i = 0; i < glob->num_zones; ++i) {
sys/dev/drm2/ttm/ttm_memory.c
312
zone = glob->zones[i];
sys/dev/drm2/ttm/ttm_memory.c
319
mtx_unlock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.c
322
taskqueue_enqueue(glob->swap_queue, &glob->work);
sys/dev/drm2/ttm/ttm_memory.c
326
static void ttm_mem_global_free_zone(struct ttm_mem_global *glob,
sys/dev/drm2/ttm/ttm_memory.c
333
mtx_lock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.c
334
for (i = 0; i < glob->num_zones; ++i) {
sys/dev/drm2/ttm/ttm_memory.c
335
zone = glob->zones[i];
sys/dev/drm2/ttm/ttm_memory.c
340
mtx_unlock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.c
343
void ttm_mem_global_free(struct ttm_mem_global *glob,
sys/dev/drm2/ttm/ttm_memory.c
346
return ttm_mem_global_free_zone(glob, NULL, amount);
sys/dev/drm2/ttm/ttm_memory.c
349
static int ttm_mem_global_reserve(struct ttm_mem_global *glob,
sys/dev/drm2/ttm/ttm_memory.c
358
mtx_lock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.c
359
for (i = 0; i < glob->num_zones; ++i) {
sys/dev/drm2/ttm/ttm_memory.c
360
zone = glob->zones[i];
sys/dev/drm2/ttm/ttm_memory.c
372
for (i = 0; i < glob->num_zones; ++i) {
sys/dev/drm2/ttm/ttm_memory.c
373
zone = glob->zones[i];
sys/dev/drm2/ttm/ttm_memory.c
38
struct ttm_mem_global *glob;
sys/dev/drm2/ttm/ttm_memory.c
382
mtx_unlock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.c
383
ttm_check_swapping(glob);
sys/dev/drm2/ttm/ttm_memory.c
389
static int ttm_mem_global_alloc_zone(struct ttm_mem_global *glob,
sys/dev/drm2/ttm/ttm_memory.c
396
while (unlikely(ttm_mem_global_reserve(glob,
sys/dev/drm2/ttm/ttm_memory.c
404
ttm_shrink(glob, false, memory + (memory >> 2) + 16);
sys/dev/drm2/ttm/ttm_memory.c
410
int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory,
sys/dev/drm2/ttm/ttm_memory.c
418
return ttm_mem_global_alloc_zone(glob, NULL, memory, no_wait,
sys/dev/drm2/ttm/ttm_memory.c
424
int ttm_mem_global_alloc_page(struct ttm_mem_global *glob,
sys/dev/drm2/ttm/ttm_memory.c
436
if (glob->zone_dma32 && page_to_pfn(page) > 0x00100000UL)
sys/dev/drm2/ttm/ttm_memory.c
437
zone = glob->zone_kernel;
sys/dev/drm2/ttm/ttm_memory.c
438
return ttm_mem_global_alloc_zone(glob, zone, PAGE_SIZE, no_wait,
sys/dev/drm2/ttm/ttm_memory.c
442
void ttm_mem_global_free_page(struct ttm_mem_global *glob, struct vm_page *page)
sys/dev/drm2/ttm/ttm_memory.c
446
if (glob->zone_dma32 && page_to_pfn(page) > 0x00100000UL)
sys/dev/drm2/ttm/ttm_memory.c
447
zone = glob->zone_kernel;
sys/dev/drm2/ttm/ttm_memory.c
448
ttm_mem_global_free_zone(glob, zone, PAGE_SIZE);
sys/dev/drm2/ttm/ttm_memory.c
65
mtx_lock(&zone->glob->lock);
sys/dev/drm2/ttm/ttm_memory.c
76
mtx_unlock(&zone->glob->lock);
sys/dev/drm2/ttm/ttm_memory.c
83
static void ttm_check_swapping(struct ttm_mem_global *glob);
sys/dev/drm2/ttm/ttm_memory.h
104
static inline int ttm_mem_register_shrink(struct ttm_mem_global *glob,
sys/dev/drm2/ttm/ttm_memory.h
107
mtx_lock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.h
108
if (glob->shrink != NULL) {
sys/dev/drm2/ttm/ttm_memory.h
109
mtx_unlock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.h
112
glob->shrink = shrink;
sys/dev/drm2/ttm/ttm_memory.h
113
mtx_unlock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.h
125
static inline void ttm_mem_unregister_shrink(struct ttm_mem_global *glob,
sys/dev/drm2/ttm/ttm_memory.h
128
mtx_lock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.h
129
MPASS(glob->shrink == shrink);
sys/dev/drm2/ttm/ttm_memory.h
130
glob->shrink = NULL;
sys/dev/drm2/ttm/ttm_memory.h
131
mtx_unlock(&glob->lock);
sys/dev/drm2/ttm/ttm_memory.h
136
extern int ttm_mem_global_init(struct ttm_mem_global *glob);
sys/dev/drm2/ttm/ttm_memory.h
137
extern void ttm_mem_global_release(struct ttm_mem_global *glob);
sys/dev/drm2/ttm/ttm_memory.h
138
extern int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory,
sys/dev/drm2/ttm/ttm_memory.h
140
extern void ttm_mem_global_free(struct ttm_mem_global *glob,
sys/dev/drm2/ttm/ttm_memory.h
142
extern int ttm_mem_global_alloc_page(struct ttm_mem_global *glob,
sys/dev/drm2/ttm/ttm_memory.h
145
extern void ttm_mem_global_free_page(struct ttm_mem_global *glob,
sys/dev/drm2/ttm/ttm_page_alloc.c
805
int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages)
sys/dev/drm2/ttm/ttm_page_alloc.c
848
struct ttm_mem_global *mem_glob = ttm->glob->mem_glob;
sys/dev/drm2/ttm/ttm_page_alloc.c
890
ttm_mem_global_free_page(ttm->glob->mem_glob,
sys/dev/drm2/ttm/ttm_page_alloc.h
35
int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages);
sys/dev/drm2/ttm/ttm_page_alloc.h
70
int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages);
sys/dev/drm2/ttm/ttm_page_alloc.h
86
static inline int ttm_dma_page_alloc_init(struct ttm_mem_global *glob,
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
1054
int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages)
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
1075
&glob->kobj, "dma_pool");
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
867
struct ttm_mem_global *mem_glob = ttm->glob->mem_glob;
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
980
ttm_mem_global_free_page(ttm->glob->mem_glob,
sys/dev/drm2/ttm/ttm_page_alloc_dma.c
986
ttm_mem_global_free_page(ttm->glob->mem_glob,
sys/dev/drm2/ttm/ttm_tt.c
186
ttm->glob = bdev->glob;
sys/dev/drm2/ttm/ttm_tt.c
216
ttm->glob = bdev->glob;
sys/dev/qlnx/qlnxe/ecore_dev.c
5110
OFFSETOF(struct nvm_cfg1, glob) +
sys/dev/qlnx/qlnxe/ecore_dev.c
5278
OFFSETOF(struct nvm_cfg1, glob) +
sys/dev/qlnx/qlnxe/ecore_dev.c
5346
OFFSETOF(struct nvm_cfg1, glob) +
sys/dev/qlnx/qlnxe/ecore_mcp.c
2334
OFFSETOF(struct nvm_cfg1, glob) +
sys/dev/qlnx/qlnxe/nvm_cfg.h
1998
struct nvm_cfg1_glob glob; /* 0x0 */
sys/dev/qlnx/qlnxe/spad_layout.h
206
#define NVM_GLOB(x) NVM_CFG1(glob).x
sys/netinet/ip_fw.h
508
int glob;
sys/netpfil/ipfw/ip_fw2.c
432
if (cmd->p.glob) {
tests/sys/ses/common.h
40
r = glob("/dev/ses*", GLOB_NOCHECK | GLOB_NOSORT, NULL, &g);
tests/sys/ses/common.h
63
r = glob("/dev/ses*", GLOB_NOCHECK | GLOB_NOSORT, NULL, &g);
tests/sys/ses/destructive.c
54
r = glob("/dev/ses*", GLOB_NOCHECK | GLOB_NOSORT, NULL, &g);
usr.bin/login/login_fbtab.c
126
if (glob(pattern, GLOB_NOSORT, NULL, &gl) != 0)
usr.sbin/cron/cron/popen.c
66
extern char **glob(), **copyblk();
usr.sbin/cron/cron/popen.c
91
if (!(pop = glob(argv[argc]))) { /* globbing failed */
usr.sbin/jail/config.c
308
if (glob(cfname, GLOB_NOCHECK, NULL, &g) != 0)
usr.sbin/newsyslog/newsyslog.c
1050
gres = glob(globent->log, GLOB_NOCHECK, NULL, &pglob);
usr.sbin/newsyslog/newsyslog.c
1179
res = glob(q, GLOB_NOCHECK, NULL, &pglob);
usr.sbin/sesutil/sesutil.c
221
if (glob((uflag != NULL ? uflag : "/dev/ses[0-9]*"), 0, NULL, &g) ==
usr.sbin/sesutil/sesutil.c
439
if (glob(uflag, 0, NULL, &g) == GLOB_NOMATCH) {
usr.sbin/sesutil/sesutil.c
742
if (glob(uflag, 0, NULL, &g) == GLOB_NOMATCH) {
usr.sbin/sesutil/sesutil.c
894
if (glob(uflag, 0, NULL, &g) == GLOB_NOMATCH) {