Home
last modified time | relevance | path

Searched refs:allocation (Results 1 – 25 of 169) sorted by relevance

1234567

/linux-2.6.39/arch/cris/arch-v32/mm/
Dintmem.c51 struct intmem_allocation* allocation; in crisv32_intmem_alloc() local
58 list_for_each_entry_safe(allocation, tmp, &intmem_allocations, entry) { in crisv32_intmem_alloc()
59 int alignment = allocation->offset % align; in crisv32_intmem_alloc()
62 if (allocation->status == STATUS_FREE && in crisv32_intmem_alloc()
63 allocation->size >= size + alignment) { in crisv32_intmem_alloc()
64 if (allocation->size > size + alignment) { in crisv32_intmem_alloc()
68 alloc->size = allocation->size - size - in crisv32_intmem_alloc()
70 alloc->offset = allocation->offset + size + in crisv32_intmem_alloc()
72 list_add(&alloc->entry, &allocation->entry); in crisv32_intmem_alloc()
77 tmp->offset = allocation->offset; in crisv32_intmem_alloc()
[all …]
/linux-2.6.39/drivers/acpi/acpica/
Dutalloc.c325 void *allocation; in acpi_ut_allocate() local
337 allocation = acpi_os_allocate(size); in acpi_ut_allocate()
338 if (!allocation) { in acpi_ut_allocate()
348 return_PTR(allocation); in acpi_ut_allocate()
369 void *allocation; in acpi_ut_allocate_zeroed() local
373 allocation = acpi_ut_allocate(size, component, module, line); in acpi_ut_allocate_zeroed()
374 if (allocation) { in acpi_ut_allocate_zeroed()
378 ACPI_MEMSET(allocation, 0, size); in acpi_ut_allocate_zeroed()
381 return (allocation); in acpi_ut_allocate_zeroed()
/linux-2.6.39/mm/
Ddmapool.c49 size_t allocation; member
99 pages * (pool->allocation / pool->size), in show_pools()
136 size_t allocation; in dma_pool_create() local
153 allocation = max_t(size_t, size, PAGE_SIZE); in dma_pool_create()
156 boundary = allocation; in dma_pool_create()
173 retval->allocation = allocation; in dma_pool_create()
212 } while (offset < pool->allocation); in pool_initialise_page()
222 page->vaddr = dma_alloc_coherent(pool->dev, pool->allocation, in pool_alloc_page()
226 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_alloc_page()
249 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_free_page()
[all …]
/linux-2.6.39/Documentation/trace/
Devents-kmem.txt3 The kmem tracing system captures events related to object and page allocation
6 o Slab allocation of small objects of unknown type (kmalloc)
7 o Slab allocation of small objects of known type
8 o Page allocation
15 1. Slab allocation of small objects of unknown type
23 internal fragmented as a result of the allocation pattern. By correlating
25 the allocation sites were.
28 2. Slab allocation of small objects of known type
39 3. Page allocation
46 These four events deal with page allocation and freeing. mm_page_alloc is
[all …]
/linux-2.6.39/include/linux/
Ddmapool.h18 size_t size, size_t align, size_t allocation);
31 size_t size, size_t align, size_t allocation);
Dnetlink.h186 __u32 group, gfp_t allocation);
188 __u32 pid, __u32 group, gfp_t allocation,
/linux-2.6.39/Documentation/vm/
Dnuma_memory_policy.txt30 allocation" described below. However, during boot up, the system
67 A VMA policy will govern the allocation of pages that back this region of
116 support allocation at fault time--a.k.a lazy allocation--so hugetlbfs
118 Although hugetlbfs segments now support lazy allocation, their support
170 the node where the allocation takes place.
172 MPOL_PREFERRED: This mode specifies that the allocation should be
174 allocation fails, the kernel will search other nodes, in order of
177 containing the cpu where the allocation takes place.
182 the policy is interpreted as local allocation. "Local" allocation
184 containing the cpu where the allocation takes place.
[all …]
Dnuma73 selected zone/node cannot satisfy the allocation request. This situation,
88 By default, Linux will attempt to satisfy memory allocation requests from the
91 for the node where the request originates. This is called "local allocation."
96 Local allocation will tend to keep subsequent access to the allocated memory
111 allocation behavior using Linux NUMA memory policy.
128 Some kernel allocations do not want or cannot tolerate this allocation fallback
133 A typical model for making such an allocation is to obtain the node id of the
136 the node id returned. When such an allocation fails, the requesting subsystem
139 itself on allocation failure. The kernel profiling subsystem is an example of
Dbalance11 __GFP_IO allocation requests are made to prevent file system deadlocks.
13 In the absence of non sleepable allocation requests, it seems detrimental
40 with a slight change in the allocation routine, it is possible to reduce
68 probably because all allocation requests are coming from intr context
82 watermark[WMARK_HIGH]. When low_on_memory is set, page allocation requests will
Dovercommit-accounting5 ensures a seriously wild allocation fails while allowing
18 pages but will receive errors on memory allocation as
Dhugetlbpage.txt43 but no allocation has yet been made. Reserved huge pages
97 with the allocation and freeing of persistent huge pages.
99 The success or failure of huge page allocation depends on the amount of
101 allocation attempt. If the kernel is unable to allocate huge pages from
193 resulting effect on persistent huge page allocation is as follows:
199 memory for a huge page, the allocation will not "fallback" to the nearest
202 possibly, allocation of persistent huge pages on nodes not allowed by
228 5) Boot-time huge page allocation attempts to distribute the requested number
257 applied, from which node the huge page allocation will be attempted.
/linux-2.6.39/arch/x86/mm/
Dnuma_32.c199 void *allocation = node_remap_alloc_vaddr[nid]; in alloc_remap() local
203 if (!allocation || (allocation + size) >= node_remap_end_vaddr[nid]) in alloc_remap()
207 memset(allocation, 0, size); in alloc_remap()
209 return allocation; in alloc_remap()
/linux-2.6.39/Documentation/fault-injection/
Dfault-injection.txt12 injects slab allocation failures. (kmalloc(), kmem_cache_alloc(), ...)
16 injects page allocation failures. (alloc_pages(), get_free_pages(), ...)
108 specifies the minimum page allocation order to be injected
164 o Inject slab allocation failures into module init/exit code
199 o Inject page allocation failures only for a specific module
/linux-2.6.39/Documentation/cgroups/
Dresource_counter.txt34 would exceed the limit, the resource allocation is rejected (see
40 resource allocation attempts that failed.
67 This is not very important which operation - resource allocation
69 * if the allocation is performed first, this may create a
171 b. Put hooks in resource allocation/release paths
/linux-2.6.39/Documentation/
DSM501.txt38 The centralised memory allocation allows the driver to ensure that the
39 maximum possible resource allocation can be made to the video subsystem
42 The primary issue with memory allocation is that of moving the video
/linux-2.6.39/fs/dlm/
Dlowcomms.h20 void *dlm_lowcomms_get_buffer(int nodeid, int len, gfp_t allocation, char **ppc);
/linux-2.6.39/fs/jffs2/
DREADME.Locking18 contiguous allocation of space on the medium. It is automatically
55 allocation may trigger garbage-collection, which may need to move a
60 before calling the space allocation functions.
64 by the normal file system code _after_ allocation of space.
110 This spinlock also covers allocation of new inode numbers, which is
/linux-2.6.39/Documentation/filesystems/
Dtmpfs.txt81 tmpfs has a mount option to set the NUMA memory allocation policy for
85 mpol=default use the process allocation policy
105 NUMA memory allocation policies have optional flags that can be used in
109 memory allocation policy mode flags and their effect on memory policy.
115 allocation policy of MPOL_BIND | MPOL_F_STATIC_NODES.
/linux-2.6.39/scripts/coccinelle/null/
Deno.cocci1 /// The various basic memory allocation functions don't return ERR_PTR
/linux-2.6.39/drivers/media/dvb/
DKconfig19 bool "Dynamic DVB minor allocation"
24 allocation for any device that uses the DVB major number.
/linux-2.6.39/Documentation/video4linux/
Dcafe_ccic25 perhaps decreases the chances of an allocation failure later on.
28 option is only consulted for load-time allocation; when buffers are
/linux-2.6.39/net/netlink/
Daf_netlink.c850 gfp_t allocation) in netlink_trim() argument
861 struct sk_buff *nskb = skb_clone(skb, allocation); in netlink_trim()
868 if (!pskb_expand_head(skb, 0, -delta, allocation)) in netlink_trim()
979 gfp_t allocation; member
1009 p->skb2 = skb_clone(p->skb, p->allocation); in do_one_broadcast()
1047 u32 group, gfp_t allocation, in netlink_broadcast_filtered() argument
1056 skb = netlink_trim(skb, allocation); in netlink_broadcast_filtered()
1066 info.allocation = allocation; in netlink_broadcast_filtered()
1090 if (info.congested && (allocation & __GFP_WAIT)) in netlink_broadcast_filtered()
1099 u32 group, gfp_t allocation) in netlink_broadcast() argument
[all …]
/linux-2.6.39/tools/perf/Documentation/
Dperf-kmem.txt32 Show per-allocation statistics
/linux-2.6.39/drivers/message/i2o/
DREADME.ioctl148 ENOMEM Kernel memory allocation error
185 ENOMEM Kernel memory allocation error
230 ENOMEM Kernel memory allocation error
272 ENOMEM Kernel memory allocation error
309 ENOMEM Kernel memory allocation error
370 ENOMEM Kernel memory allocation error
/linux-2.6.39/Documentation/i2o/
Dioctl148 ENOMEM Kernel memory allocation error
185 ENOMEM Kernel memory allocation error
230 ENOMEM Kernel memory allocation error
272 ENOMEM Kernel memory allocation error
309 ENOMEM Kernel memory allocation error
370 ENOMEM Kernel memory allocation error

1234567