Searched refs:shrink (Results 1 - 16 of 16) sorted by relevance

/freebsd-10.0-release/sys/dev/drm2/ttm/
H A Dttm_memory.h33 * struct ttm_mem_shrink - callback to shrink TTM memory usage.
49 * @shrink: A single callback to shrink TTM memory usage. Extend this
55 * @work: The workqueue callback for the shrink queue.
56 * @lock: Lock to protect the @shrink - and the memory accounting members,
72 struct ttm_mem_shrink *shrink; member in struct:ttm_mem_global
85 * @shrink: The object to initialize.
89 static inline void ttm_mem_init_shrink(struct ttm_mem_shrink *shrink, argument
92 shrink->do_shrink = func;
99 * @shrink
105 ttm_mem_register_shrink(struct ttm_mem_global *glob, struct ttm_mem_shrink *shrink) argument
126 ttm_mem_unregister_shrink(struct ttm_mem_global *glob, struct ttm_mem_shrink *shrink) argument
[all...]
H A Dttm_memory.c156 * At this point we only support a single shrink callback.
166 struct ttm_mem_shrink *shrink; local
169 if (glob->shrink == NULL)
173 shrink = glob->shrink;
175 ret = shrink->do_shrink(shrink);
290 /* let the page allocator first stop the shrink work. */
H A Dttm_bo.c44 static int ttm_bo_swapout(struct ttm_mem_shrink *shrink);
1474 ttm_mem_unregister_shrink(glob->mem_glob, &glob->shrink);
1508 ttm_mem_init_shrink(&glob->shrink, ttm_bo_swapout);
1509 ret = ttm_mem_register_shrink(glob->mem_glob, &glob->shrink);
1793 * A buffer object shrink method that tries to swap out the first
1797 static int ttm_bo_swapout(struct ttm_mem_shrink *shrink) argument
1800 container_of(shrink, struct ttm_bo_global, shrink);
1885 while (ttm_bo_swapout(&bdev->glob->shrink) == 0)
H A Dttm_bo_driver.h471 * @shrink: A shrink callback object used for buffer object swap.
488 struct ttm_mem_shrink shrink; member in struct:ttm_bo_global
H A Dttm_page_alloc_dma.c999 /* shrink pool if necessary (only on !is_cached pools)*/
1009 static int ttm_dma_pool_mm_shrink(struct shrinker *shrink, argument
1035 pr_debug("%s: (%s:%d) Asked to shrink %d, have %d more to go\n",
1046 manager->mm_shrink.shrink = &ttm_dma_pool_mm_shrink;
/freebsd-10.0-release/contrib/binutils/bfd/
H A Dreloc16.c149 unsigned shrink = 0; local
181 of the "shrink" at each reloc in the section. This allows us to
213 in this section and attempt to shrink it. */
214 shrink = bfd_coff_reloc16_estimate (abfd, input_section, *parent,
219 if (shrink != shrinks[i])
223 shrinks[j] += shrink - shrinks[i];
229 shrink = shrinks[reloc_count];
234 input_section->size -= shrink;
H A Dbout.c1064 unsigned int shrink,
1074 gap = value - (dot - shrink);
1085 shrink += 4 ;
1086 perform_slip (abfd, 4, input_section, r->address-shrink + 4);
1089 return shrink;
1096 unsigned int shrink)
1113 new_end = ((dot - shrink + size) & ~size);
1118 shrink_delta = (old_end - new_end) - shrink;
1130 perform_slip (abfd, shrink_delta, input_section, r->address - shrink);
1131 shrink
1058 abs32code(bfd *abfd, asection *input_section, arelent *r, unsigned int shrink, struct bfd_link_info *link_info) argument
1090 aligncode(bfd *abfd, asection *input_section, arelent *r, unsigned int shrink) argument
1143 unsigned int shrink = 0 ; local
[all...]
H A Dlibcoff.h902 #define bfd_coff_reloc16_estimate(abfd, section, reloc, shrink, link_info)\
904 (abfd, section, reloc, shrink, link_info))
H A Dcoffcode.h1393 .#define bfd_coff_reloc16_estimate(abfd, section, reloc, shrink, link_info)\
1395 . (abfd, section, reloc, shrink, link_info))
5012 unsigned int shrink ATTRIBUTE_UNUSED,
/freebsd-10.0-release/contrib/binutils/opcodes/
H A Dia64-gen.c290 static void shrink (struct ia64_opcode *);
2775 shrink (table)
2874 shrink (ia64_opcodes_a);
2875 shrink (ia64_opcodes_b);
2876 shrink (ia64_opcodes_f);
2877 shrink (ia64_opcodes_i);
2878 shrink (ia64_opcodes_m);
2879 shrink (ia64_opcodes_x);
2880 shrink (ia64_opcodes_d);
2748 shrink (table) function
/freebsd-10.0-release/sys/dev/hpt27xx/
H A Dldm.h144 HPT_UINT (*shrink)(void *handle, HPT_UINT npages); member in struct:dmapool_client
/freebsd-10.0-release/sys/dev/hptnr/
H A Dldm.h143 HPT_UINT (*shrink)(void *handle, HPT_UINT npages); member in struct:dmapool_client
/freebsd-10.0-release/sys/dev/hptrr/
H A Dldm.h143 HPT_UINT (*shrink)(void *handle, HPT_UINT npages); member in struct:dmapool_client
/freebsd-10.0-release/contrib/amd/doc/
H A Dtexinfo.tex1911 % shrink), and it is reasonable to expect all typewriter fonts to have
3397 % sufficient for this purpose, as it ignores stretch and shrink parts
3546 % No shrink because it confuses \balancecolumns.
6876 % interword stretch (and shrink), and it is reasonable to expect all
/freebsd-10.0-release/contrib/gcc/doc/include/
H A Dtexinfo.tex2026 % shrink), and it is reasonable to expect all typewriter fonts to have
3571 % sufficient for this purpose, as it ignores stretch and shrink parts
3720 % No shrink because it confuses \balancecolumns.
7095 % interword stretch (and shrink), and it is reasonable to expect all
/freebsd-10.0-release/contrib/groff/doc/
H A Dtexinfo.tex1925 % shrink), and it is reasonable to expect all typewriter fonts to have
3469 % sufficient for this purpose, as it ignores stretch and shrink parts
3618 % No shrink because it confuses \balancecolumns.
6948 % interword stretch (and shrink), and it is reasonable to expect all

Completed in 317 milliseconds