Home
last modified time | relevance | path

Searched refs:allocated (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/Linux-v4.19/sound/firewire/
Diso-resources.c31 r->allocated = false; in fw_iso_resources_init()
43 WARN_ON(r->allocated); in fw_iso_resources_destroy()
111 if (WARN_ON(r->allocated)) in fw_iso_resources_allocate()
137 r->allocated = true; in fw_iso_resources_allocate()
171 if (!r->allocated) { in fw_iso_resources_update()
190 r->allocated = false; in fw_iso_resources_update()
223 if (r->allocated) { in fw_iso_resources_free()
231 r->allocated = false; in fw_iso_resources_free()
/Linux-v4.19/Documentation/gpu/
Dxen-front.rst15 Buffers allocated by the frontend driver
19 :doc: Buffers allocated by the frontend driver
21 Buffers allocated by the backend
25 :doc: Buffers allocated by the backend
/Linux-v4.19/Documentation/vm/
Dpage_owner.rst4 page owner: Tracking about who allocated each page
10 page owner is for the tracking about who allocated each page.
61 memory system, so, until initialization, many pages can be allocated and
62 they would have no owner information. To fix it up, these early allocated
63 pages are investigated and marked as allocated in initialization phase.
65 at least, we can tell whether the page is allocated or not,
66 more accurately. On 2GB memory x86-64 VM box, 13343 early allocated pages
67 are catched and marked, although they are mostly allocated from struct
89 See the result about who allocated each page
Dzsmalloc.rst29 location of the allocated object. The reason for this indirection is that
64 the number of objects allocated
66 the number of objects allocated to the user
68 the number of pages allocated for the class
74 * n = number of allocated objects
/Linux-v4.19/drivers/staging/android/ion/
Dion_chunk_heap.c23 unsigned long allocated; member
42 if (allocated_size > chunk_heap->size - chunk_heap->allocated) in ion_chunk_heap_allocate()
66 chunk_heap->allocated += allocated_size; in ion_chunk_heap_allocate()
98 chunk_heap->allocated -= allocated_size; in ion_chunk_heap_free()
138 chunk_heap->allocated = 0; in ion_chunk_heap_create()
/Linux-v4.19/include/trace/events/
Dsock.h94 TP_PROTO(struct sock *sk, struct proto *prot, long allocated, int kind),
96 TP_ARGS(sk, prot, allocated, kind),
101 __field(long, allocated)
113 __entry->allocated = allocated;
127 __entry->allocated,
Dirq_matrix.h77 __field( unsigned int, allocated )
90 __entry->allocated = cmap->allocated;
100 __entry->available, __entry->allocated,
/Linux-v4.19/kernel/irq/
Dmatrix.c15 unsigned int allocated; member
149 cm->allocated--; in irq_matrix_assign_system()
253 cm->allocated++; in irq_matrix_alloc_managed()
274 cm->allocated++; in irq_matrix_assign()
344 cm->allocated++; in irq_matrix_alloc()
375 cm->allocated--; in irq_matrix_free()
422 return cm->allocated; in irq_matrix_allocated()
451 cpu, cm->available, cm->managed, cm->allocated, in irq_matrix_debug_show()
/Linux-v4.19/Documentation/media/uapi/dvb/
Ddmx-reqbufs.rst36 Memory mapped buffers are located in device memory and must be allocated
38 space. User buffers are allocated by applications themselves, and this
41 allocated by applications through a device driver, and this ioctl only
52 number allocated in the ``count`` field. The ``count`` can be smaller than the number requested, ev…
54 function correctly. The actual allocated buffer size can is returned
/Linux-v4.19/drivers/misc/
Datmel_tclib.c50 if (tc->allocated) in atmel_tc_alloc()
56 tc->allocated = true; in atmel_tc_alloc()
76 if (tc->allocated) in atmel_tc_free()
77 tc->allocated = false; in atmel_tc_free()
/Linux-v4.19/drivers/fmc/
Dfmc-match.c58 int ret, allocated = 0; in fmc_fill_id_info() local
65 allocated = 1; in fmc_fill_id_info()
101 if (allocated) { in fmc_fill_id_info()
/Linux-v4.19/drivers/xen/
Dprivcmd-buf.c32 unsigned int allocated; member
63 vma_priv->file_priv->allocated -= vma_priv->n_pages; in privcmd_buf_vmapriv_free()
150 file_priv->allocated + count > limit) in privcmd_buf_mmap()
169 file_priv->allocated += count; in privcmd_buf_mmap()
/Linux-v4.19/drivers/powercap/
Dpowercap_sys.c400 bool allocated; in powercap_release() local
406 allocated = power_zone->allocated; in powercap_release()
416 if (allocated) in powercap_release()
423 allocated = control_type->allocated; in powercap_release()
428 if (allocated) in powercap_release()
520 power_zone->allocated = true; in powercap_register_zone()
588 if (power_zone->allocated) in powercap_register_zone()
629 control_type->allocated = true; in powercap_register_control_type()
638 if (control_type->allocated) in powercap_register_control_type()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vce.c673 uint32_t handle, uint32_t *allocated) in amdgpu_vce_validate_handle() argument
693 *allocated |= 1 << i; in amdgpu_vce_validate_handle()
715 uint32_t allocated = 0; in amdgpu_vce_ring_parse_cs() local
798 &allocated); in amdgpu_vce_ring_parse_cs()
815 allocated |= 1 << session_idx; in amdgpu_vce_ring_parse_cs()
817 } else if (!(allocated & (1 << session_idx))) { in amdgpu_vce_ring_parse_cs()
917 if (allocated & ~created) { in amdgpu_vce_ring_parse_cs()
928 tmp = allocated; in amdgpu_vce_ring_parse_cs()
950 uint32_t allocated = 0; in amdgpu_vce_ring_parse_cs_vm() local
968 &allocated); in amdgpu_vce_ring_parse_cs_vm()
[all …]
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dvio.c156 if (viodev->cmo.entitled > viodev->cmo.allocated) in vio_cmo_alloc()
157 reserve_free = viodev->cmo.entitled - viodev->cmo.allocated; in vio_cmo_alloc()
168 viodev->cmo.allocated += size; in vio_cmo_alloc()
203 if (viodev->cmo.allocated > viodev->cmo.entitled) { in vio_cmo_dealloc()
204 excess_freed = min(reserve_freed, (viodev->cmo.allocated - in vio_cmo_dealloc()
210 viodev->cmo.allocated -= (reserve_freed + excess_freed); in vio_cmo_dealloc()
321 if ((viodev->cmo.entitled > viodev->cmo.allocated) && in vio_cmo_entitlement_update()
324 max_t(size_t, viodev->cmo.allocated, in vio_cmo_entitlement_update()
347 if ((viodev->cmo.entitled > viodev->cmo.allocated) && in vio_cmo_entitlement_update()
350 max_t(size_t, viodev->cmo.allocated, in vio_cmo_entitlement_update()
[all …]
/Linux-v4.19/scripts/coccinelle/free/
Ddevm_free.cocci1 /// Find uses of standard freeing functons on values allocated using devm_
2 /// functions. Values allocated using the devm_functions are freed when
141 msg="WARNING: invalid free of devm_ allocated data"
148 msg="WARNING: invalid free of devm_ allocated data"
/Linux-v4.19/Documentation/scsi/
Dhptiop.txt85 A request packet can be allocated in either IOP or host memory.
95 Requests allocated in host memory must be aligned on 32-bytes boundary.
100 allocated in IOP memory, write the offset to inbound queue port. For
101 requests allocated in host memory, write (0x80000000|(bus_addr>>5))
108 For requests allocated in IOP memory, the request offset is posted to
111 For requests allocated in host memory, (0x80000000|(bus_addr>>5))
118 For requests allocated in IOP memory, the host driver free the request
135 Requests allocated in host memory must be aligned on 32-bytes boundary.
/Linux-v4.19/fs/ext4/
Dextents.c3323 int allocated = map->m_len; in ext4_split_extent() local
3344 allocated = ee_len - (map->m_lblk - ee_block); in ext4_split_extent()
3378 return err ? err : allocated; in ext4_split_extent()
3415 int allocated = 0, max_zeroout = 0; in ext4_ext_convert_to_initialized() local
3502 allocated = map_len; in ext4_ext_convert_to_initialized()
3548 allocated = map_len; in ext4_ext_convert_to_initialized()
3551 if (allocated) { in ext4_ext_convert_to_initialized()
3559 allocated = ee_len - (map->m_lblk - ee_block); in ext4_ext_convert_to_initialized()
3589 if (max_zeroout && (allocated > split_map.m_len)) { in ext4_ext_convert_to_initialized()
3590 if (allocated <= max_zeroout) { in ext4_ext_convert_to_initialized()
[all …]
/Linux-v4.19/drivers/staging/comedi/
Dcomedi_buf.c384 unsigned int allocated = comedi_buf_write_n_allocated(s); in comedi_buf_write_free() local
386 if (nbytes > allocated) in comedi_buf_write_free()
387 nbytes = allocated; in comedi_buf_write_free()
489 unsigned int allocated; in comedi_buf_read_free() local
497 allocated = comedi_buf_read_n_allocated(async); in comedi_buf_read_free()
498 if (nbytes > allocated) in comedi_buf_read_free()
499 nbytes = allocated; in comedi_buf_read_free()
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_packet_manager.c92 if (WARN_ON(pm->allocated)) in pm_allocate_runlist_ib()
111 pm->allocated = true; in pm_allocate_runlist_ib()
248 pm->allocated = false; in pm_init()
393 if (pm->allocated) { in pm_release_ib()
395 pm->allocated = false; in pm_release_ib()
408 if (!pm->allocated) { in pm_debugfs_runlist()
/Linux-v4.19/sound/hda/
DKconfig20 int "Pre-allocated buffer size for HD-audio driver"
24 Specifies the default pre-allocated buffer-size in kB for the
/Linux-v4.19/Documentation/devicetree/bindings/powerpc/fsl/
Ddcsr.txt57 This node represents the region of DCSR space allocated to the EPU
107 This node represents the region of DCSR space allocated to the NPC
144 This node represents the region of DCSR space allocated to the NXC
168 This node represents the region of DCSR space allocated to
202 This node represents the region of DCSR space allocated to
231 This node represents the region of DCSR space allocated to
259 This node represents the region of DCSR space allocated to
291 This node represents the region of DCSR space allocated to
320 This node represents the region of DCSR space allocated to
349 This node represents the region of DCSR space allocated to
/Linux-v4.19/drivers/gpu/drm/
Ddrm_mm.c187 if (hole_node->allocated) { in drm_mm_interval_tree_add_node()
439 node->allocated = true; in drm_mm_reserve_node()
558 node->allocated = true; in drm_mm_insert_node_in_range()
587 DRM_MM_BUG_ON(!node->allocated); in drm_mm_remove_node()
597 node->allocated = false; in drm_mm_remove_node()
618 DRM_MM_BUG_ON(!old->allocated); in drm_mm_replace_node()
635 old->allocated = false; in drm_mm_replace_node()
636 new->allocated = true; in drm_mm_replace_node()
744 DRM_MM_BUG_ON(!node->allocated); in drm_mm_scan_add_block()
930 mm->head_node.allocated = false; in drm_mm_init()
/Linux-v4.19/Documentation/core-api/
Dflexible-arrays.rst74 defined by ``start`` and ``nr_elements`` has been allocated. Thereafter, a
83 particular element has never been allocated.
86 has never been stored in the array. Memory for array elements is allocated
91 Note that, if array elements are allocated with ``__GFP_ZERO``, they will be
100 zero. If storage for the indicated element is not allocated for the array,
103 allocated size of an array, call :c:func:`flex_array_shrink()`::
110 if the array's pages are allocated with ``__GFP_ZERO``.
/Linux-v4.19/Documentation/
Dflexible-arrays.txt75 defined by start and nr_elements has been allocated. Thereafter, a
84 particular element has never been allocated.
87 has never been stored in the array. Memory for array elements is allocated
92 Note that, if array elements are allocated with __GFP_ZERO, they will be
100 zero. If storage for the indicated element is not allocated for the array,
103 allocated size of an array, call::
110 if the array's pages are allocated with __GFP_ZERO.

12345678910>>...19