| /linux/drivers/firewire/ |
| H A D | core-iso.c | 300 int bandwidth, bool allocate) in manage_bandwidth() 302 int try, new, old = allocate ? BANDWIDTH_AVAILABLE_INITIAL : 0; in manage_bandwidth() 311 new = allocate ? old - bandwidth : old + bandwidth; in manage_bandwidth() 323 return allocate ? -EAGAIN : bandwidth; in manage_channel() 338 u32 channels_mask, u64 offset, bool allocate) in manage_channel() 344 old = all = allocate ? cpu_to_be32(~0) : 0; in manage_channel() 363 return allocate ? -EAGAIN : channel; in manage_channel() 409 * @allocate: whether to allocate (true) or deallocate (false) 411 * In parameters: card, generation, channels_mask, bandwidth, allocate 286 manage_bandwidth(struct fw_card * card,int irm_id,int generation,int bandwidth,bool allocate) manage_bandwidth() argument 324 manage_channel(struct fw_card * card,int irm_id,int generation,u32 channels_mask,u64 offset,bool allocate) manage_channel() argument 421 fw_iso_resource_manage(struct fw_card * card,int generation,u64 channels_mask,int * channel,int * bandwidth,bool allocate) fw_iso_resource_manage() argument [all...] |
| /linux/scripts/coccinelle/api/ |
| H A D | kfree_mismatch.cocci | 169 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/Documentation/admin-guide/ |
| H A D | numastat.rst | 10 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
|
| H A D | binderfs.rst | 47 To allocate a new binder device in a binderfs instance a request needs to be 58 binder_device`` with the name to the kernel it will allocate a new binder
|
| /linux/Documentation/livepatch/ |
| H A D | shadow-vars.rst | 9 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/Documentation/core-api/ |
| H A D | idr.rst | 30 You can call idr_alloc() to allocate an unused ID. Look up 40 Some users need to allocate IDs larger than ``INT_MAX``. So far all of 45 If you need to allocate IDs sequentially, you can use 65 to the IDR being unable to allocate memory. To work around this,
|
| H A D | memory-allocation.rst | 8 allocate small chunks using `kmalloc` or `kmem_cache_alloc` families, 19 makes the question "How should I allocate memory?" not that easy to 143 The most straightforward way to allocate memory is to use a function 146 allocate memory for an array, there are kmalloc_array() and kcalloc() 151 conveniently allocate a single object or arrays of objects with kzalloc_obj() 181 try to allocate memory with `kmalloc` and if the allocation fails it 187 If you need to allocate many identical objects you can use the slab 192 wrappers can allocate memory from that cache.
|
| H A D | dma-isa-lpc.rst | 41 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/Documentation/userspace-api/ |
| H A D | dma-buf-heaps.rst | 7 Dma-buf Heaps are a way for userspace to allocate dma-buf objects. They are 8 typically used to allocate buffers from a specific allocation pool, or to share 50 - The name must describe the memory region the heap will allocate from, and 71 at the RAM address 0x42000000, intended to allocate video framebuffers,
|
| /linux/sound/soc/sof/intel/ |
| H A D | hda-sdw-bpt.c | 36 bool allocate, enable, set_fifo_size; in chain_dma_trigger() local 45 allocate = true; in chain_dma_trigger() 50 allocate = true; in chain_dma_trigger() 55 allocate = false; in chain_dma_trigger() 84 if (allocate) in chain_dma_trigger()
|
| /linux/Documentation/driver-api/cxl/allocation/ |
| H A D | page-allocator.rst | 18 of the linux kernel is to allocate memory from the `local NUMA node` first, 31 As of v6.15, the page allocator attempts to allocate from the highest 41 will fallback to allocate from :code:`ZONE_NORMAL`.
|
| /linux/Documentation/ABI/testing/ |
| H A D | configfs-stp-policy | 38 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/Documentation/driver-api/mei/ |
| H A D | mei.rst | 109 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/Documentation/driver-api/cxl/linux/ |
| H A D | dax-driver.rst | 38 dictates where the kernel will allocate the :code:`struct folio` descriptors 40 hotplug will set aside a portion of the memory block capacity to allocate
|
| /linux/Documentation/userspace-api/media/dvb/ |
| H A D | dmx-reqbufs.rst | 47 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/Documentation/fault-injection/ |
| H A D | notifier-error-inject.rst | 31 bash: echo: write error: Cannot allocate memory 49 bash: echo: write error: Cannot allocate memory
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | transhuge.rst | 49 ability to allocate memory in blocks that are bigger than a base page 173 memory in an effort to allocate a THP immediately. This may be 443 Attempt to allocate huge pages every time we need a new page; 448 Do not allocate huge pages. Note that ``madvise(..., MADV_COLLAPSE)`` 453 Only allocate huge page if it will be fully within i_size; 459 Only allocate huge pages if requested with madvise(); 501 Attempt to allocate <size> huge pages every time we need a new page; 508 Do not allocate <size> huge pages. Note that ``madvise(..., 513 Only allocate <size> huge page if it will be fully within i_size. 517 Only allocate <size> huge pages if requested with madvise(); [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-create-bufs.rst | 41 To allocate the device buffers applications must initialize the relevant 68 will attempt to allocate up to the requested number of buffers and store 137 No memory to allocate buffers for :ref:`memory mapped <mmap>` I/O.
|
| /linux/Documentation/admin-guide/media/ |
| H A D | cafe_ccic.rst | 36 - 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/drivers/dma-buf/ |
| H A D | dma-heap.c | 97 dmabuf = heap->ops->allocate(heap, len, heap_allocation->fd_flags, in dma_heap_ioctl_allocate() 244 if (!exp_info->ops || !exp_info->ops->allocate) { in dma_heap_add()
|
| /linux/sound/soc/sof/ |
| H A D | ipc4-pcm.c | 302 bool allocate, enable, set_fifo_size; 310 allocate = true; 322 allocate = true; in sof_ipc4_chain_dma_trigger() 332 allocate = false; in sof_ipc4_chain_dma_trigger() 383 if (allocate) in sof_ipc4_chain_dma_trigger() 392 stream_priv->chain_dma_allocated = allocate; in sof_ipc4_chain_dma_trigger() 461 /* allocate memory for the pipeline data */ in sof_ipc4_trigger_pipelines() 938 /* allocate memory for max number of pipeline IDs */ in sof_ipc4_pcm_setup() 319 bool allocate, enable, set_fifo_size; sof_ipc4_chain_dma_trigger() local
|
| /linux/Documentation/networking/ |
| H A D | multiqueue.rst | 16 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/drivers/net/wireless/broadcom/b43/ |
| H A D | phy_ac.c | 80 .allocate = b43_phy_ac_op_allocate,
|
| /linux/arch/arm/mm/ |
| H A D | proc-xscale.S | 92 1: mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line 94 mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line 96 mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line 98 mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line
|
| /linux/Documentation/admin-guide/aoe/ |
| H A D | todo.rst | 16 efficiently allocate sk_buffs without introducing any potential for
|