Home
last modified time | relevance | path

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

12345678910>>...21

/Linux-v5.4/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-v5.4/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-v5.4/kernel/irq/
Dmatrix.c15 unsigned int allocated; member
153 unsigned int cpu, best_cpu, allocated = UINT_MAX; in matrix_find_best_cpu_managed() local
161 if (!cm->online || cm->managed_allocated > allocated) in matrix_find_best_cpu_managed()
165 allocated = cm->managed_allocated; in matrix_find_best_cpu_managed()
192 cm->allocated--; in irq_matrix_assign_system()
306 cm->allocated++; in irq_matrix_alloc_managed()
329 cm->allocated++; in irq_matrix_assign()
391 cm->allocated++; in irq_matrix_alloc()
420 cm->allocated--; in irq_matrix_free()
469 return cm->allocated; in irq_matrix_allocated()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/scripts/dtc/libfdt/
Dfdt_sw.c268 static int fdt_find_add_string_(void *fdt, const char *s, int *allocated) in fdt_find_add_string_() argument
274 *allocated = 0; in fdt_find_add_string_()
280 *allocated = 1; in fdt_find_add_string_()
289 int allocated; in fdt_property_placeholder() local
295 allocated = 1; in fdt_property_placeholder()
298 nameoff = fdt_find_add_string_(fdt, name, &allocated); in fdt_property_placeholder()
305 if (allocated) in fdt_property_placeholder()
/Linux-v5.4/Documentation/core-api/
Dmemory-allocation.rst15 memory should be allocated. The GFP acronym stands for "get free
60 ``GFP_HIGHUSER_MOVABLE`` does not require that allocated memory
64 ``GFP_HIGHUSER`` means that the allocated memory is not movable,
69 ``GFP_USER`` means that the allocated memory is not movable and it
81 used to ensure that the allocated memory is accessible by hardware
96 The maximal size of a chunk that can be allocated with `kmalloc` is
101 The address of a chunk allocated with `kmalloc` is aligned to at least
107 allocator. The memory allocated by `vmalloc` and related functions is
126 When the allocated memory is no longer needed it must be freed. You
127 can use :c:func:`kvfree` for the memory allocated with `kmalloc`,
/Linux-v5.4/drivers/misc/
Datmel_tclib.c51 if (tc->allocated) in atmel_tc_alloc()
57 tc->allocated = true; in atmel_tc_alloc()
77 if (tc->allocated) in atmel_tc_free()
78 tc->allocated = false; in atmel_tc_free()
/Linux-v5.4/Documentation/media/uapi/dvb/
Ddmx-reqbufs.rst45 Memory mapped buffers are located in device memory and must be allocated
47 space. User buffers are allocated by applications themselves, and this
50 allocated by applications through a device driver, and this ioctl only
61 number allocated in the ``count`` field. The ``count`` can be smaller than the number requested, ev…
63 function correctly. The actual allocated buffer size can is returned
/Linux-v5.4/drivers/powercap/
Dpowercap_sys.c388 bool allocated; in powercap_release() local
394 allocated = power_zone->allocated; in powercap_release()
404 if (allocated) in powercap_release()
411 allocated = control_type->allocated; in powercap_release()
416 if (allocated) in powercap_release()
508 power_zone->allocated = true; in powercap_register_zone()
576 if (power_zone->allocated) in powercap_register_zone()
617 control_type->allocated = true; in powercap_register_control_type()
626 if (control_type->allocated) in powercap_register_control_type()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vce.c674 uint32_t handle, uint32_t *allocated) in amdgpu_vce_validate_handle() argument
694 *allocated |= 1 << i; in amdgpu_vce_validate_handle()
716 uint32_t allocated = 0; in amdgpu_vce_ring_parse_cs() local
799 &allocated); in amdgpu_vce_ring_parse_cs()
816 allocated |= 1 << session_idx; in amdgpu_vce_ring_parse_cs()
818 } else if (!(allocated & (1 << session_idx))) { in amdgpu_vce_ring_parse_cs()
918 if (allocated & ~created) { in amdgpu_vce_ring_parse_cs()
929 tmp = allocated; in amdgpu_vce_ring_parse_cs()
951 uint32_t allocated = 0; in amdgpu_vce_ring_parse_cs_vm() local
969 &allocated); in amdgpu_vce_ring_parse_cs_vm()
[all …]
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dvio.c152 if (viodev->cmo.entitled > viodev->cmo.allocated) in vio_cmo_alloc()
153 reserve_free = viodev->cmo.entitled - viodev->cmo.allocated; in vio_cmo_alloc()
164 viodev->cmo.allocated += size; in vio_cmo_alloc()
199 if (viodev->cmo.allocated > viodev->cmo.entitled) { in vio_cmo_dealloc()
200 excess_freed = min(reserve_freed, (viodev->cmo.allocated - in vio_cmo_dealloc()
206 viodev->cmo.allocated -= (reserve_freed + excess_freed); in vio_cmo_dealloc()
317 if ((viodev->cmo.entitled > viodev->cmo.allocated) && in vio_cmo_entitlement_update()
320 max_t(size_t, viodev->cmo.allocated, in vio_cmo_entitlement_update()
343 if ((viodev->cmo.entitled > viodev->cmo.allocated) && in vio_cmo_entitlement_update()
346 max_t(size_t, viodev->cmo.allocated, in vio_cmo_entitlement_update()
[all …]
/Linux-v5.4/scripts/coccinelle/free/
Ddevm_free.cocci2 /// Find uses of standard freeing functons on values allocated using devm_
3 /// functions. Values allocated using the devm_functions are freed when
142 msg="WARNING: invalid free of devm_ allocated data"
149 msg="WARNING: invalid free of devm_ allocated data"
/Linux-v5.4/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-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_packet_manager.c93 if (WARN_ON(pm->allocated)) in pm_allocate_runlist_ib()
112 pm->allocated = true; in pm_allocate_runlist_ib()
261 pm->allocated = false; in pm_init()
406 if (pm->allocated) { in pm_release_ib()
408 pm->allocated = false; in pm_release_ib()
421 if (!pm->allocated) { in pm_debugfs_runlist()
/Linux-v5.4/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-v5.4/drivers/gpu/drm/
Ddrm_mm.c177 if (hole_node->allocated) { in drm_mm_interval_tree_add_node()
429 node->allocated = true; in drm_mm_reserve_node()
548 node->allocated = true; in drm_mm_insert_node_in_range()
577 DRM_MM_BUG_ON(!node->allocated); in drm_mm_remove_node()
587 node->allocated = false; in drm_mm_remove_node()
608 DRM_MM_BUG_ON(!old->allocated); in drm_mm_replace_node()
625 old->allocated = false; in drm_mm_replace_node()
626 new->allocated = true; in drm_mm_replace_node()
734 DRM_MM_BUG_ON(!node->allocated); in drm_mm_scan_add_block()
920 mm->head_node.allocated = false; in drm_mm_init()
/Linux-v5.4/drivers/staging/comedi/
Dcomedi_buf.c434 unsigned int allocated = comedi_buf_write_n_allocated(s); in comedi_buf_write_free() local
436 if (nbytes > allocated) in comedi_buf_write_free()
437 nbytes = allocated; in comedi_buf_write_free()
539 unsigned int allocated; in comedi_buf_read_free() local
547 allocated = comedi_buf_read_n_allocated(async); in comedi_buf_read_free()
548 if (nbytes > allocated) in comedi_buf_read_free()
549 nbytes = allocated; in comedi_buf_read_free()
/Linux-v5.4/Documentation/devicetree/bindings/security/tpm/
Dtpm-i2c.txt7 - linux,sml-base : 64-bit base address of the reserved memory allocated for
9 - linux,sml-size : size of the memory allocated for the firmware event log
/Linux-v5.4/Documentation/
DIRQ-domain.txt63 be allocated.
86 hwirq number. When a hwirq is mapped, an irq_desc is allocated for
92 allocated for in-use IRQs. The disadvantage is that the table must be
111 IRQs. When an hwirq is mapped, an irq_desc is allocated and the
152 range of irq_descs allocated for the hwirqs. It is used when the
160 been allocated for the controller and that the IRQ number can be
164 allocated for every hwirq, even if it is unused.
175 descriptors will be allocated on-the-fly for it, and if no range is
177 *no* irq descriptors will be allocated.
183 used and no descriptor gets allocated it is very important to make sure
[all …]
/Linux-v5.4/fs/ext4/
Dextents.c3451 int allocated = map->m_len; in ext4_split_extent() local
3472 allocated = ee_len - (map->m_lblk - ee_block); in ext4_split_extent()
3506 return err ? err : allocated; in ext4_split_extent()
3543 int allocated = 0, max_zeroout = 0; in ext4_ext_convert_to_initialized() local
3630 allocated = map_len; in ext4_ext_convert_to_initialized()
3676 allocated = map_len; in ext4_ext_convert_to_initialized()
3679 if (allocated) { in ext4_ext_convert_to_initialized()
3687 allocated = ee_len - (map->m_lblk - ee_block); in ext4_ext_convert_to_initialized()
3717 if (max_zeroout && (allocated > split_map.m_len)) { in ext4_ext_convert_to_initialized()
3718 if (allocated <= max_zeroout) { in ext4_ext_convert_to_initialized()
[all …]
/Linux-v5.4/drivers/irqchip/
Dirq-mips-cpu.c178 DECLARE_BITMAP(allocated, 2);
189 hwirq = find_first_zero_bit(state->allocated, 2); in mips_cpu_ipi_alloc()
192 bitmap_set(state->allocated, hwirq, 1); in mips_cpu_ipi_alloc()
/Linux-v5.4/sound/hda/
DKconfig24 int "Pre-allocated buffer size for HD-audio driver"
28 Specifies the default pre-allocated buffer-size in kB for the

12345678910>>...21