Home
last modified time | relevance | path

Searched refs:allocate (Results 1 - 25 of 75) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/firewire/
H A Dcore-iso.c205 int bandwidth, bool allocate) in manage_bandwidth()
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()
249 old = all = allocate ? cpu_to_be32(~0) : 0; in manage_channel()
268 return allocate ? -EAGAIN : channel; in manage_channel()
314 * @allocate: whether to allocate (true) or deallocate (false)
316 * In parameters: card, generation, channels_mask, bandwidth, allocate
204 manage_bandwidth(struct fw_card *card, int irm_id, int generation, int bandwidth, bool allocate) manage_bandwidth() argument
242 manage_channel(struct fw_card *card, int irm_id, int generation, u32 channels_mask, u64 offset, bool allocate) manage_channel() argument
338 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...]
/kernel/linux/linux-6.6/drivers/firewire/
H A Dcore-iso.c205 int bandwidth, bool allocate) in manage_bandwidth()
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()
249 old = all = allocate ? cpu_to_be32(~0) : 0; in manage_channel()
268 return allocate ? -EAGAIN : channel; in manage_channel()
314 * @allocate: whether to allocate (true) or deallocate (false)
316 * In parameters: card, generation, channels_mask, bandwidth, allocate
204 manage_bandwidth(struct fw_card *card, int irm_id, int generation, int bandwidth, bool allocate) manage_bandwidth() argument
242 manage_channel(struct fw_card *card, int irm_id, int generation, u32 channels_mask, u64 offset, bool allocate) manage_channel() argument
338 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...]
/kernel/linux/linux-5.10/drivers/android/
H A 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;
301 TP_printk("proc=%d allocate=%d offset=%zu size=%zu",
302 __entry->proc, __entry->allocate,
/kernel/linux/linux-6.6/drivers/android/
H A Dbinder_trace.h319 TP_PROTO(struct binder_alloc *alloc, bool allocate,
321 TP_ARGS(alloc, allocate, start, end),
324 __field(bool, allocate)
330 __entry->allocate = allocate;
334 TP_printk("proc=%d allocate=%d offset=%zu size=%zu",
335 __entry->proc, __entry->allocate,
/kernel/linux/linux-5.10/include/linux/
H A Ddma-heap.h19 * @allocate: allocate dmabuf and return fd
21 * allocate returns dmabuf fd on success, -errno on error.
24 int (*allocate)(struct dma_heap *heap, member
/kernel/linux/linux-6.6/include/linux/
H A Ddma-heap.h19 * @allocate: allocate dmabuf and return struct dma_buf ptr
21 * allocate returns dmabuf on success, ERR_PTR(-errno) on error.
24 struct dma_buf *(*allocate)(struct dma_heap *heap, member
/kernel/linux/linux-6.6/rust/alloc/
H A Dalloc.rs242 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() functions
317 let new_ptr = self.allocate(new_layout)?; in shrink()
332 match Global.allocate(layout) { in exchange_malloc()
H A Draw_vec.rs178 // Don't allocate here because `Drop` will not deallocate when `capacity` is 0. in allocate_in()
193 AllocInit::Uninitialized => alloc.allocate(layout), in allocate_in()
213 // Don't allocate here because `Drop` will not deallocate when `capacity` is 0. in try_allocate_in()
221 AllocInit::Uninitialized => alloc.allocate(layout), in try_allocate_in()
296 /// If `len` exceeds `self.capacity()`, this may fail to actually allocate
359 /// If `len` exceeds `self.capacity()`, this may fail to actually allocate
524 alloc.allocate(new_layout) in finish_grow()
551 // * We don't ever allocate `> isize::MAX` byte-size objects.
552 // * We don't overflow `usize::MAX` and actually allocate too little.
554 // On 64-bit we just need to check for overflow since trying to allocate
[all...]
/kernel/linux/linux-6.6/sound/soc/sof/
H A Dipc4-pcm.c210 bool allocate, enable, set_fifo_size; in sof_ipc4_chain_dma_trigger() local
216 allocate = true; in sof_ipc4_chain_dma_trigger()
228 allocate = true; in sof_ipc4_chain_dma_trigger()
233 allocate = false; in sof_ipc4_chain_dma_trigger()
270 if (allocate) in sof_ipc4_chain_dma_trigger()
317 /* allocate memory for the pipeline data */ in sof_ipc4_trigger_pipelines()
616 /* allocate memory for max number of pipeline IDs */ in sof_ipc4_pcm_setup()
/kernel/linux/linux-5.10/drivers/dma-buf/
H A Ddma-heap.c64 return heap->ops->allocate(heap, len, fd_flags, heap_flags); in dma_heap_buffer_alloc()
141 /* If necessary, allocate buffer for ioctl argument */ in dma_heap_ioctl()
219 if (!exp_info->ops || !exp_info->ops->allocate) { in dma_heap_add()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
H A Dphy_ac.c80 .allocate = b43_phy_ac_op_allocate,
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/
H A Dphy_ac.c80 .allocate = b43_phy_ac_op_allocate,
/kernel/linux/linux-5.10/drivers/staging/android/ion/
H A Dion_system_heap.c207 .allocate = ion_system_heap_allocate,
344 .allocate = ion_system_contig_heap_allocate,
H A Dion.h72 * @allocate: allocate memory
78 * allocate, phys, and map_user return 0 on success, -errno on error.
86 int (*allocate)(struct ion_heap *heap, member
H A Dion_cma_heap.c97 .allocate = ion_cma_allocate,
H A Dion.c50 ret = heap->ops->allocate(heap, buffer, len, flags); in ion_buffer_create()
57 ret = heap->ops->allocate(heap, buffer, len, flags); in ion_buffer_create()
356 * request of the caller allocate from it. Repeat until allocate has in ion_alloc()
567 if (!heap->ops->allocate || !heap->ops->free) in ion_device_add_heap()
/kernel/linux/linux-6.6/drivers/dma-buf/
H A Ddma-heap.c67 dmabuf = heap->ops->allocate(heap, len, fd_flags, heap_flags); in dma_heap_buffer_alloc()
153 /* If necessary, allocate buffer for ioctl argument */ in dma_heap_ioctl()
231 if (!exp_info->ops || !exp_info->ops->allocate) { in dma_heap_add()
/kernel/linux/linux-6.6/drivers/nvdimm/
H A Dnamespace_devs.c380 * @label_id: namespace id to allocate space
453 resource_size_t allocate, available = 0; in scan_allocate() local
499 allocate = min(available, n); in scan_allocate()
504 rc = adjust_resource(res, res->start - allocate, in scan_allocate()
505 resource_size(res) + allocate); in scan_allocate()
508 action = "allocate"; in scan_allocate()
514 - allocate, resource_size(next) in scan_allocate()
515 + allocate); in scan_allocate()
521 action = "allocate"; in scan_allocate()
527 action = "allocate"; in scan_allocate()
[all...]
/kernel/linux/linux-5.10/drivers/dma-buf/heaps/
H A Dsystem_heap.c64 * Avoid trying to allocate memory if the process in system_heap_allocate()
104 .allocate = system_heap_allocate,
H A Dcma_heap.c137 .allocate = cma_heap_allocate,
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dsleep.S70 sub sp, sp, r4 @ allocate CPU state on stack
/kernel/linux/linux-5.10/arch/arm/mm/
H A Dproc-xscale.S47 * Virtual address used to allocate the cache when flushed
81 * This macro cleans the entire dcache using line allocate.
91 1: mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line
93 mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line
95 mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line
97 mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line
/kernel/linux/linux-6.6/arch/arm/mm/
H A Dproc-xscale.S47 * Virtual address used to allocate the cache when flushed
81 * This macro cleans the entire dcache using line allocate.
91 1: mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line
93 mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line
95 mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line
97 mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line
/kernel/linux/linux-5.10/drivers/nvdimm/
H A Dnamespace_devs.c506 /* allocate blk from highest dpa first */ in init_dpa_allocation()
526 * @label_id: namespace id to allocate space
616 resource_size_t allocate, available = 0; in scan_allocate() local
662 allocate = min(available, n); in scan_allocate()
667 rc = adjust_resource(res, res->start - allocate, in scan_allocate()
668 resource_size(res) + allocate); in scan_allocate()
671 action = "allocate"; in scan_allocate()
677 - allocate, resource_size(next) in scan_allocate()
678 + allocate); in scan_allocate()
684 action = "allocate"; in scan_allocate()
[all...]
/kernel/linux/linux-5.10/Documentation/target/
H A Dtcm_mod_builder.py227 buf += " printk(KERN_ERR \"Unable to allocate struct " + fabric_mod_name + "_tpg\");\n"
268 buf += " printk(KERN_ERR \"Unable to allocate struct " + fabric_mod_name + "_" + fabric_mod_port + "\");\n"

Completed in 16 milliseconds

123