Home
last modified time | relevance | path

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

12345678910>>...23

/linux/sound/firewire/
A 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/Documentation/vm/
A 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,
67 are catched and marked, although they are mostly allocated from struct
90 Page allocated via order XXX, ...
94 Page allocated via order XXX, ...
102 See the result about who allocated each page
[all …]
A 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/kernel/irq/
A 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()
307 cm->allocated++; in irq_matrix_alloc_managed()
330 cm->allocated++; in irq_matrix_assign()
398 cm->allocated++; in irq_matrix_alloc()
429 cm->allocated--; in irq_matrix_free()
478 return cm->allocated; in irq_matrix_allocated()
[all …]
/linux/Documentation/gpu/
A 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/drivers/net/ethernet/mellanox/mlx5/core/sf/
A Dhw_table.c15 u8 allocated: 1; member
85 if (!hwc->sfs[i].allocated && free_idx == -1) { in mlx5_sf_hw_table_id_alloc()
90 if (hwc->sfs[i].allocated && hwc->sfs[i].usr_sfnum == usr_sfnum) in mlx5_sf_hw_table_id_alloc()
98 hwc->sfs[free_idx].allocated = true; in mlx5_sf_hw_table_id_alloc()
107 hwc->sfs[id].allocated = false; in mlx5_sf_hw_table_id_free()
175 hwc->sfs[idx].allocated = false; in mlx5_sf_hw_table_hwc_sf_free()
198 hwc->sfs[id].allocated = false; in mlx5_sf_hw_table_sf_deferred_free()
213 if (hwc->sfs[i].allocated) in mlx5_sf_hw_table_hwc_dealloc_all()
332 if (sf_hw->allocated && sf_hw->pending_delete) in mlx5_sf_hw_vhca_event()
/linux/scripts/dtc/libfdt/
A Dfdt_sw.c276 static int fdt_find_add_string_(void *fdt, const char *s, int *allocated) in fdt_find_add_string_() argument
282 *allocated = 0; in fdt_find_add_string_()
288 *allocated = 1; in fdt_find_add_string_()
297 int allocated; in fdt_property_placeholder() local
303 allocated = 1; in fdt_property_placeholder()
306 nameoff = fdt_find_add_string_(fdt, name, &allocated); in fdt_property_placeholder()
313 if (allocated) in fdt_property_placeholder()
A Dfdt_rw.c127 static int fdt_find_add_string_(void *fdt, const char *s, int *allocated) in fdt_find_add_string_() argument
136 *allocated = 0; in fdt_find_add_string_()
149 *allocated = 1; in fdt_find_add_string_()
209 int allocated; in fdt_add_property_() local
214 namestroff = fdt_find_add_string_(fdt, name, &allocated); in fdt_add_property_()
224 if (!can_assume(NO_ROLLBACK) && allocated) in fdt_add_property_()
/linux/Documentation/userspace-api/media/dvb/
A Ddmx-reqbufs.rst38 Memory mapped buffers are located in device memory and must be allocated
40 space. User buffers are allocated by applications themselves, and this
43 allocated by applications through a device driver, and this ioctl only
54 number allocated in the ``count`` field. The ``count`` can be smaller than the number requested, ev…
56 function correctly. The actual allocated buffer size can is returned
/linux/arch/powerpc/platforms/pseries/
A Dvio.c154 if (viodev->cmo.entitled > viodev->cmo.allocated) in vio_cmo_alloc()
166 viodev->cmo.allocated += size; in vio_cmo_alloc()
201 if (viodev->cmo.allocated > viodev->cmo.entitled) { in vio_cmo_dealloc()
322 max_t(size_t, viodev->cmo.allocated, in vio_cmo_entitlement_update()
348 max_t(size_t, viodev->cmo.allocated, in vio_cmo_entitlement_update()
450 max(viodev->cmo.allocated, level); in vio_cmo_balance()
471 if (viodev->cmo.allocated > viodev->cmo.entitled) in vio_cmo_balance()
676 if (viodev->cmo.allocated < viodev->cmo.entitled) in vio_cmo_set_dev_desired()
816 if (viodev->cmo.allocated) { in vio_cmo_bus_remove()
819 __func__, viodev->cmo.allocated); in vio_cmo_bus_remove()
[all …]
/linux/include/trace/events/
A Dsock.h95 TP_PROTO(struct sock *sk, struct proto *prot, long allocated, int kind),
97 TP_ARGS(sk, prot, allocated, kind),
102 __field(long, allocated)
114 __entry->allocated = allocated;
128 __entry->allocated,
A Dirq_matrix.h77 __field( unsigned int, allocated )
90 __entry->allocated = cmap->allocated;
100 __entry->available, __entry->allocated,
/linux/drivers/powercap/
A Dpowercap_sys.c387 bool allocated; in powercap_release() local
393 allocated = power_zone->allocated; in powercap_release()
403 if (allocated) in powercap_release()
410 allocated = control_type->allocated; in powercap_release()
415 if (allocated) in powercap_release()
507 power_zone->allocated = true; in powercap_register_zone()
575 if (power_zone->allocated) in powercap_register_zone()
616 control_type->allocated = true; in powercap_register_control_type()
625 if (control_type->allocated) in powercap_register_control_type()
/linux/Documentation/core-api/
A 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
141 The maximal size of a chunk that can be allocated with `kmalloc` is
146 The address of a chunk allocated with `kmalloc` is aligned to at least
150 Chunks allocated with kmalloc() can be resized with krealloc(). Similarly
155 request pages from the page allocator. The memory allocated by `vmalloc`
173 When the allocated memory is no longer needed it must be freed. You can
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_vce.c720 *allocated |= 1 << i; in amdgpu_vce_validate_handle()
742 uint32_t allocated = 0; in amdgpu_vce_ring_parse_cs() local
825 &allocated); in amdgpu_vce_ring_parse_cs()
842 allocated |= 1 << session_idx; in amdgpu_vce_ring_parse_cs()
944 if (allocated & ~created) { in amdgpu_vce_ring_parse_cs()
955 tmp = allocated; in amdgpu_vce_ring_parse_cs()
977 uint32_t allocated = 0; in amdgpu_vce_ring_parse_cs_vm() local
995 &allocated); in amdgpu_vce_ring_parse_cs_vm()
1006 allocated |= 1 << session_idx; in amdgpu_vce_ring_parse_cs_vm()
1033 if (allocated & ~created) { in amdgpu_vce_ring_parse_cs_vm()
[all …]
/linux/scripts/coccinelle/free/
A 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
134 msg="WARNING: invalid free of devm_ allocated data"
141 msg="WARNING: invalid free of devm_ allocated data"
/linux/Documentation/scsi/
A Dhptiop.rst111 A request packet can be allocated in either IOP or host memory.
121 Requests allocated in host memory must be aligned on 32-bytes boundary.
126 allocated in IOP memory, write the offset to inbound queue port. For
127 requests allocated in host memory, write (0x80000000|(bus_addr>>5))
134 For requests allocated in IOP memory, the request offset is posted to
137 For requests allocated in host memory, (0x80000000|(bus_addr>>5))
144 For requests allocated in IOP memory, the host driver free the request
161 Requests allocated in host memory must be aligned on 32-bytes boundary.
/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_packet_manager.c94 if (WARN_ON(pm->allocated)) in pm_allocate_runlist_ib()
113 pm->allocated = true; in pm_allocate_runlist_ib()
273 pm->allocated = false; in pm_init()
419 if (pm->allocated) { in pm_release_ib()
421 pm->allocated = false; in pm_release_ib()
434 if (!pm->allocated) { in pm_debugfs_runlist()
/linux/Documentation/devicetree/bindings/powerpc/fsl/
A 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/drivers/comedi/
A 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/Documentation/devicetree/bindings/dma/
A Dsnps,dma-spear1340.yaml26 for transfers on dynamically allocated channel. Fourth cell is the
27 peripheral master identifier for transfers on an allocated channel. Fifth
28 cell is an optional mask of the DMA channels permitted to be allocated
69 (first free allocated), while one - descending (last free allocated).
/linux/fs/
A Dkernel_read_file.c41 void *allocated = NULL; in kernel_read_file() local
80 *buf = allocated = vmalloc(i_size); in kernel_read_file()
115 if (allocated) { in kernel_read_file()
/linux/Documentation/trace/
A Devents-kmem.rst42 of writing, no information is available on what slab is being allocated from,
55 a simple indicator of page allocator activity. Pages may be allocated from
58 If pages are allocated directly from the buddy allocator, the
85 When a per-CPU list is empty or pages of the wrong type are allocated,
87 triggered is mm_page_alloc_zone_locked for each page allocated with the
101 can be allocated and freed on the same CPU through some algorithm change.
/linux/drivers/gpu/drm/radeon/
A Dradeon_vce.c519 uint32_t handle, bool *allocated) in radeon_vce_validate_handle() argument
523 *allocated = false; in radeon_vce_validate_handle()
541 *allocated = true; in radeon_vce_validate_handle()
559 bool destroyed = false, created = false, allocated = false; in radeon_vce_cs_parse() local
584 &allocated); in radeon_vce_cs_parse()
595 if (!allocated) { in radeon_vce_cs_parse()
667 if (allocated && !created) { in radeon_vce_cs_parse()
673 if ((!r && destroyed) || (r && allocated)) { in radeon_vce_cs_parse()
/linux/Documentation/core-api/irq/
A Dirq-domain.rst76 be allocated.
99 hwirq number. When a hwirq is mapped, an irq_desc is allocated for
105 allocated for in-use IRQs. The disadvantage is that the table must be
124 IRQs. When an hwirq is mapped, an irq_desc is allocated and the
168 range of irq_descs allocated for the hwirqs. It is used when the
181 been allocated for the controller and that the IRQ number can be
185 allocated for every hwirq, even if it is unused.
196 descriptors will be allocated on-the-fly for it, and if no range is
198 irq_domain_create_linear() which means *no* irq descriptors will be allocated.
204 used and no descriptor gets allocated it is very important to make sure
[all …]

Completed in 34 milliseconds

12345678910>>...23