OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:NUM_PAGES_TO_ALLOC
(Results
1 - 2
of
2
) sorted by relevancy
/src/sys/external/bsd/drm2/dist/drm/ttm/
ttm_page_alloc.c
57
#define
NUM_PAGES_TO_ALLOC
(PAGE_SIZE/sizeof(struct page *))
177
if (val >
NUM_PAGES_TO_ALLOC
*8) {
179
NUM_PAGES_TO_ALLOC
*(PAGE_SIZE >> 7),
180
NUM_PAGES_TO_ALLOC
*(PAGE_SIZE >> 10));
182
} else if (val >
NUM_PAGES_TO_ALLOC
) {
184
NUM_PAGES_TO_ALLOC
*(PAGE_SIZE >> 10));
281
* To prevent hogging the ttm_swap process we only free
NUM_PAGES_TO_ALLOC
291
static struct page *static_buf[
NUM_PAGES_TO_ALLOC
];
298
if (
NUM_PAGES_TO_ALLOC
< nr_free)
299
npages_to_free =
NUM_PAGES_TO_ALLOC
;
[
all
...]
ttm_page_alloc_dma.c
59
#define
NUM_PAGES_TO_ALLOC
(PAGE_SIZE/sizeof(struct page *))
225
if (val >
NUM_PAGES_TO_ALLOC
*8) {
227
NUM_PAGES_TO_ALLOC
*(PAGE_SIZE >> 7),
228
NUM_PAGES_TO_ALLOC
*(PAGE_SIZE >> 10));
230
} else if (val >
NUM_PAGES_TO_ALLOC
) {
232
NUM_PAGES_TO_ALLOC
*(PAGE_SIZE >> 10));
401
* To prevent hogging the ttm_swap process we only free
NUM_PAGES_TO_ALLOC
411
static struct page *static_buf[
NUM_PAGES_TO_ALLOC
];
419
if (
NUM_PAGES_TO_ALLOC
< nr_free)
420
npages_to_free =
NUM_PAGES_TO_ALLOC
;
[
all
...]
Completed in 12 milliseconds
Indexes created Wed Oct 01 19:09:53 GMT 2025