Home
last modified time | relevance | path

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

12345678910>>...27

/linux/drivers/gpu/drm/tests/
A Ddrm_buddy_test.c32 LIST_HEAD(allocated); in drm_test_buddy_alloc_range_bias()
67 &allocated, in drm_test_buddy_alloc_range_bias()
76 &allocated, in drm_test_buddy_alloc_range_bias()
85 &allocated, in drm_test_buddy_alloc_range_bias()
95 &allocated, in drm_test_buddy_alloc_range_bias()
136 &allocated, in drm_test_buddy_alloc_range_bias()
191 &allocated, in drm_test_buddy_alloc_range_bias()
220 &allocated, in drm_test_buddy_alloc_range_bias()
249 &allocated, in drm_test_buddy_alloc_range_bias()
268 LIST_HEAD(allocated); in drm_test_buddy_alloc_clear()
[all …]
/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/kernel/irq/
A Dmatrix.c13 unsigned int allocated; member
159 unsigned int cpu, best_cpu, allocated = UINT_MAX; in matrix_find_best_cpu_managed() local
167 if (!cm->online || cm->managed_allocated > allocated) in matrix_find_best_cpu_managed()
171 allocated = cm->managed_allocated; in matrix_find_best_cpu_managed()
198 cm->allocated--; in irq_matrix_assign_system()
313 cm->allocated++; in irq_matrix_alloc_managed()
336 cm->allocated++; in irq_matrix_assign()
404 cm->allocated++; in irq_matrix_alloc()
435 cm->allocated--; in irq_matrix_free()
484 return cm->allocated - cm->managed_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.c16 u8 allocated: 1; member
86 if (!hwc->sfs[i].allocated && free_idx == -1) { in mlx5_sf_hw_table_id_alloc()
91 if (hwc->sfs[i].allocated && hwc->sfs[i].usr_sfnum == usr_sfnum) in mlx5_sf_hw_table_id_alloc()
99 hwc->sfs[free_idx].allocated = true; in mlx5_sf_hw_table_id_alloc()
108 hwc->sfs[id].allocated = false; in mlx5_sf_hw_table_id_free()
176 hwc->sfs[idx].allocated = false; in mlx5_sf_hw_table_hwc_sf_free()
199 hwc->sfs[id].allocated = false; in mlx5_sf_hw_table_sf_deferred_free()
214 if (hwc->sfs[i].allocated) in mlx5_sf_hw_table_hwc_dealloc_all()
367 if (sf_hw->allocated && sf_hw->pending_delete) in mlx5_sf_hw_vhca_event()
/linux/Documentation/mm/
A Dpage_owner.rst2 page owner: Tracking about who allocated each page
8 page owner is for the tracking about who allocated each page.
28 allocated base pages, which gives us a quick overview of where the memory
54 pages are investigated and marked as allocated in initialization phase.
56 at least, we can tell whether the page is allocated or not,
58 are caught and marked, although they are mostly allocated from struct
124 Page allocated via order XXX, ...
128 Page allocated via order XXX, ...
141 See the result about who allocated each page
145 Page allocated via order XXX, ...
[all …]
/linux/Documentation/core-api/
A Dmemory-allocation.rst15 memory should be allocated. The GFP acronym stands for "get free
61 ``GFP_HIGHUSER_MOVABLE`` does not require that allocated memory
65 ``GFP_HIGHUSER`` means that the allocated memory is not movable,
70 ``GFP_USER`` means that the allocated memory is not movable and it
82 used to ensure that the allocated memory is accessible by hardware
142 The maximal size of a chunk that can be allocated with `kmalloc` is
147 The address of a chunk allocated with `kmalloc` is aligned to at least
158 request pages from the page allocator. The memory allocated by `vmalloc`
176 When the allocated memory is no longer needed it must be freed.
185 Memory allocated by `vmalloc` can be freed with `vfree` or `kvfree`.
[all …]
/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()
/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/Documentation/devicetree/bindings/dma/stm32/
A Dst,stm32-dma3.yaml76 -bit 1: The source allocated port
77 0x0: port 0 is allocated to the source transfer
78 0x1: port 1 is allocated to the source transfer
82 -bit 5: The destination allocated port
83 0x0: port 0 is allocated to the destination transfer
84 0x1: port 1 is allocated to the destination transfer
/linux/drivers/powercap/
A 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()
580 if (power_zone->allocated) in powercap_register_zone()
621 control_type->allocated = true; in powercap_register_control_type()
630 if (control_type->allocated) in powercap_register_control_type()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_vce.c720 *allocated |= 1 << i; in amdgpu_vce_validate_handle()
744 uint32_t allocated = 0; in amdgpu_vce_ring_parse_cs() local
827 &allocated); in amdgpu_vce_ring_parse_cs()
844 allocated |= 1 << session_idx; in amdgpu_vce_ring_parse_cs()
946 if (allocated & ~created) { in amdgpu_vce_ring_parse_cs()
957 tmp = allocated; in amdgpu_vce_ring_parse_cs()
981 uint32_t allocated = 0; in amdgpu_vce_ring_parse_cs_vm() local
999 &allocated); in amdgpu_vce_ring_parse_cs_vm()
1010 allocated |= 1 << session_idx; in amdgpu_vce_ring_parse_cs_vm()
1037 if (allocated & ~created) { in amdgpu_vce_ring_parse_cs_vm()
[all …]
/linux/arch/powerpc/platforms/pseries/
A Dvio.c155 if (viodev->cmo.entitled > viodev->cmo.allocated) in vio_cmo_alloc()
167 viodev->cmo.allocated += size; in vio_cmo_alloc()
202 if (viodev->cmo.allocated > viodev->cmo.entitled) { in vio_cmo_dealloc()
323 max_t(size_t, viodev->cmo.allocated, in vio_cmo_entitlement_update()
349 max_t(size_t, viodev->cmo.allocated, in vio_cmo_entitlement_update()
451 max(viodev->cmo.allocated, level); in vio_cmo_balance()
472 if (viodev->cmo.allocated > viodev->cmo.entitled) in vio_cmo_balance()
677 if (viodev->cmo.allocated < viodev->cmo.entitled) in vio_cmo_set_dev_desired()
817 if (viodev->cmo.allocated) { in vio_cmo_bus_remove()
820 __func__, viodev->cmo.allocated); in vio_cmo_bus_remove()
[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/include/trace/events/
A Dsock.h96 TP_PROTO(struct sock *sk, struct proto *prot, long allocated, int kind),
98 TP_ARGS(sk, prot, allocated, kind),
103 __field(long, allocated)
117 __entry->allocated = allocated;
131 __entry->allocated,
A Dirq_matrix.h77 __field( unsigned int, allocated )
90 __entry->allocated = cmap->allocated;
100 __entry->available, __entry->allocated,
/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/
A Ddrm_buddy.c694 LIST_HEAD(allocated); in __alloc_range()
730 list_add_tail(&block->link, &allocated); in __alloc_range()
753 list_splice_tail(&allocated, blocks); in __alloc_range()
771 list_splice_tail(&allocated, blocks); in __alloc_range()
986 LIST_HEAD(allocated); in drm_buddy_alloc_blocks()
1079 list_add_tail(&block->link, &allocated); in drm_buddy_alloc_blocks()
1094 trim_list = &allocated; in drm_buddy_alloc_blocks()
1097 if (!list_is_singular(&allocated)) { in drm_buddy_alloc_blocks()
1111 list_splice_tail(trim_list, &allocated); in drm_buddy_alloc_blocks()
1114 list_splice_tail(&allocated, blocks); in drm_buddy_alloc_blocks()
[all …]
/linux/Documentation/translations/zh_CN/mm/
A Dpage_owner.rst68 Page allocated via order XXX, ...
72 Page allocated via order XXX, ...
86 Page allocated via order XXX, ...
/linux/Documentation/devicetree/bindings/dma/
A Dsnps,dma-spear1340.yaml32 for transfers on dynamically allocated channel. Fourth cell is the
33 peripheral master identifier for transfers on an allocated channel. Fifth
34 cell is an optional mask of the DMA channels permitted to be allocated
75 (first free allocated), while one - descending (last free allocated).
/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.c433 unsigned int allocated = comedi_buf_write_n_allocated(s); in comedi_buf_write_free() local
435 if (nbytes > allocated) in comedi_buf_write_free()
436 nbytes = allocated; in comedi_buf_write_free()
538 unsigned int allocated; in comedi_buf_read_free() local
546 allocated = comedi_buf_read_n_allocated(async); in comedi_buf_read_free()
547 if (nbytes > allocated) in comedi_buf_read_free()
548 nbytes = allocated; in comedi_buf_read_free()
/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/devicetree/bindings/tpm/
A Dtpm-common.yaml25 base address of reserved memory allocated for firmware event log
30 size of reserved memory allocated for firmware event log
34 description: reserved memory allocated for firmware event log
/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_packet_manager.c98 if (WARN_ON(pm->allocated)) in pm_allocate_runlist_ib()
116 pm->allocated = true; in pm_allocate_runlist_ib()
269 pm->allocated = false; in pm_init()
454 if (pm->allocated) { in pm_release_ib()
456 pm->allocated = false; in pm_release_ib()
469 if (!pm->allocated) { in pm_debugfs_runlist()

Completed in 29 milliseconds

12345678910>>...27