Home
last modified time | relevance | path

Searched refs:allocate (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/Linux-v5.10/drivers/firewire/
Dcore-iso.c205 int bandwidth, bool allocate) in manage_bandwidth() argument
207 int try, new, old = allocate ? BANDWIDTH_AVAILABLE_INITIAL : 0; in manage_bandwidth()
216 new = allocate ? old - bandwidth : old + bandwidth; in manage_bandwidth()
228 return allocate ? -EAGAIN : bandwidth; in manage_bandwidth()
243 u32 channels_mask, u64 offset, bool allocate) in manage_channel() argument
249 old = all = allocate ? cpu_to_be32(~0) : 0; in manage_channel()
268 return allocate ? -EAGAIN : channel; in manage_channel()
340 bool allocate) in fw_iso_resource_manage() argument
353 allocate); in fw_iso_resource_manage()
357 allocate); in fw_iso_resource_manage()
[all …]
/Linux-v5.10/scripts/coccinelle/api/
Dkfree_mismatch.cocci169 msg = "WARNING kmalloc is used to allocate this memory at line %s" % (a[0].line)
177 msg = "WARNING kmalloc is used to allocate this memory at line %s" % (a[0].line)
185 msg = "WARNING vmalloc is used to allocate this memory at line %s" % (a[0].line)
193 msg = "WARNING vmalloc is used to allocate this memory at line %s" % (a[0].line)
201 msg = "WARNING kvmalloc is used to allocate this memory at line %s" % (a[0].line)
209 msg = "WARNING kvmalloc is used to allocate this memory at line %s" % (a[0].line)
218 msg = "WARNING kmalloc (line %s) && vmalloc (line %s) are used to allocate this memory" % (ka[0].li…
227 msg = "WARNING kmalloc (line %s) && vmalloc (line %s) are used to allocate this memory" % (ka[0].li…
/Linux-v5.10/Documentation/admin-guide/
Dnumastat.rst10 are able to allocate memory from nodes they prefer. If they succeed, numa_hit
25 numa_hit A process wanted to allocate memory from this node,
28 numa_miss A process wanted to allocate memory from another node,
31 numa_foreign A process wanted to allocate on this node,
40 interleave_hit Interleaving wanted to allocate from this node
/Linux-v5.10/Documentation/livepatch/
Dshadow-vars.rst9 to allocate/add and remove/free shadow variables to/from their parents.
51 * klp_shadow_alloc() - allocate and add a new shadow variable
60 - allocate a new shadow variable
73 - allocate a new shadow variable
120 allocate a shadow copy of the ps_lock pointer, then initialize it::
166 Sometimes it may not be convenient or possible to allocate shadow
172 For commit 1d147bfa6429, a good spot to allocate a shadow spinlock is
/Linux-v5.10/Documentation/core-api/
Didr.rst27 You can call idr_alloc() to allocate an unused ID. Look up
37 Some users need to allocate IDs larger than ``INT_MAX``. So far all of
42 If you need to allocate IDs sequentially, you can use
62 to the IDR being unable to allocate memory. To work around this,
Dmemory-allocation.rst8 allocate small chunks using `kmalloc` or `kmem_cache_alloc` families,
19 makes the question "How should I allocate memory?" not that easy to
134 The most straightforward way to allocate memory is to use a function
137 allocate memory for an array, there are kmalloc_array() and kcalloc()
156 try to allocate memory with `kmalloc` and if the allocation fails it
162 If you need to allocate many identical objects you can use the slab
167 wrappers can allocate memory from that cache.
Dmm-api.rst22 Functions which need to allocate memory often use GFP flags to express
25 flag is allowed to every function which may allocate memory. Most
Ddma-isa-lpc.rst41 In order to allocate a piece of memory that satisfies all these
45 allocate the memory during boot-up it's a good idea to also pass
48 (This scarcity also means that you should allocate the buffer as
75 You allocate these in a similar fashion as all basic resources:
/Linux-v5.10/drivers/android/
Dbinder_trace.h286 TP_PROTO(struct binder_alloc *alloc, bool allocate,
288 TP_ARGS(alloc, allocate, start, end),
291 __field(bool, allocate)
297 __entry->allocate = allocate;
302 __entry->proc, __entry->allocate,
/Linux-v5.10/Documentation/ABI/testing/
Dconfigfs-stp-policy38 Range of masters from which to allocate for users of this node.
45 Range of channels from which to allocate for users of this node.
/Linux-v5.10/Documentation/driver-api/mei/
Dmei.rst109 ENOMEM Unable to allocate memory to client internal data.
146 ENOMEM Unable to allocate memory to client internal data.
174 ENOMEM Unable to allocate memory to client internal data.
199 ENOMEM Unable to allocate memory to client internal data.
/Linux-v5.10/include/linux/
Ddma-heap.h24 int (*allocate)(struct dma_heap *heap, member
/Linux-v5.10/Documentation/admin-guide/mm/
Dhugetlbpage.rst54 which a commitment to allocate from the pool has been made,
56 guarantee that an application will be able to allocate a
80 privileges can dynamically allocate more or free some persistent huge pages
92 The administrator can allocate persistent huge pages on the kernel boot
97 Some platforms support multiple huge page sizes. To allocate huge pages
121 allocate. If the number of huge pages of default size is implicitly
151 Thus, one can use the following command to dynamically allocate/deallocate
171 allocation attempt. If the kernel is unable to allocate huge pages from
177 init files. This will enable the kernel to allocate huge pages early in
249 The recommended method to allocate or free huge pages to/from the kernel
[all …]
Dtranshuge.rst126 memory in an effort to allocate a THP immediately. This may be
245 Attempt to allocate huge pages every time we need a new page;
248 Do not allocate huge pages;
251 Only allocate huge page if it will be fully within i_size.
255 Only allocate huge pages if requested with fadvise()/madvise();
316 is incremented if a page fault fails to allocate
375 is incremented if kernel fails to allocate
384 Usually because failed to allocate some continuous swap space
/Linux-v5.10/Documentation/userspace-api/media/dvb/
Ddmx-reqbufs.rst47 To allocate device buffers applications initialize all fields of the
53 attempt to allocate the requested number of buffers and it stores the actual
/Linux-v5.10/Documentation/fault-injection/
Dnotifier-error-inject.rst31 bash: echo: write error: Cannot allocate memory
49 bash: echo: write error: Cannot allocate memory
/Linux-v5.10/Documentation/userspace-api/media/v4l/
Dvidioc-create-bufs.rst41 To allocate the device buffers applications must initialize the relevant
68 will attempt to allocate up to the requested number of buffers and store
128 No memory to allocate buffers for :ref:`memory mapped <mmap>` I/O.
/Linux-v5.10/drivers/dma-buf/
Ddma-heap.c63 return heap->ops->allocate(heap, len, fd_flags, heap_flags); in dma_heap_buffer_alloc()
205 if (!exp_info->ops || !exp_info->ops->allocate) { in dma_heap_add()
/Linux-v5.10/Documentation/admin-guide/media/
Dcafe_ccic.rst36 - alloc_bufs_at_load: Normally, the driver will not allocate any DMA
42 - dma_buf_size: The size of DMA buffers to allocate. Note that this
/Linux-v5.10/Documentation/admin-guide/sysctl/
Dfs.rst112 handles that the Linux kernel will allocate. When you get lots
116 Historically,the kernel was able to allocate file handles
125 Attempts to allocate more file descriptors than file-max are
134 allocate. Default value is 1024*1024 (1048576) which should be
183 Maximum total number of pages a non-privileged user may allocate for pipes.
192 Maximum total number of pages a non-privileged user may allocate for pipes
197 allocate up to 1024 pipes at their default size. When set to 0, no limit is
/Linux-v5.10/drivers/net/wireless/broadcom/b43/
Dphy_ac.c80 .allocate = b43_phy_ac_op_allocate,
/Linux-v5.10/drivers/staging/android/ion/
DKconfig9 used by Android to efficiently allocate buffers
/Linux-v5.10/Documentation/networking/
Dmultiqueue.rst16 alloc_netdev_mq() functions to allocate the subqueues for the device. The
56 The qdisc will allocate the number of bands to equal the number of queues that
/Linux-v5.10/Documentation/filesystems/
Dtmpfs.rst96 mpol=prefer:Node prefers to allocate memory from the given Node
98 mpol=interleave prefers to allocate from each node in turn
100 mpol=local prefers to allocate memory from the local node
170 will give you tmpfs instance on /mytmpfs which can allocate 10GB
/Linux-v5.10/Documentation/devicetree/bindings/gpu/
Daspeed-gfx.txt20 Phandle to a memory region to allocate from, as defined in

12345678910>>...13