Searched refs:allocated (Results 1 - 25 of 139) sorted by relevance

123456

/linux-master/drivers/gpu/drm/xe/
H A Dxe_reg_sr_types.h26 unsigned int allocated; member in struct:xe_reg_sr::__anon889
H A Dxe_reg_sr.c53 if (sr->pool.used == sr->pool.allocated) {
57 ALIGN(sr->pool.allocated + 1, sr->pool.grow_step),
63 sr->pool.allocated += sr->pool.grow_step;
/linux-master/sound/firewire/
H A Diso-resources.c31 r->allocated = false;
43 WARN_ON(r->allocated);
111 if (WARN_ON(r->allocated))
137 r->allocated = true;
158 * any resources that were allocated before the bus reset. It is safe to call
159 * this function if no resources are currently allocated.
171 if (!r->allocated) {
190 r->allocated = false;
206 * fw_iso_resources_free - frees allocated resources
209 * This function deallocates the channel and bandwidth, if allocated
[all...]
H A Diso-resources.h27 bool allocated; member in struct:fw_iso_resources
/linux-master/drivers/gpu/drm/tests/
H A Ddrm_buddy_test.c32 LIST_HEAD(allocated);
67 &allocated,
76 &allocated,
85 &allocated,
95 &allocated,
136 &allocated,
149 &allocated,
160 list_splice_tail(&tmp, &allocated);
165 drm_buddy_free_list(&mm, &allocated, 0);
174 * allocated node
[all...]
/linux-master/kernel/irq/
H A Dmatrix.c13 unsigned int allocated; member in struct:cpumap
155 /* Find the best CPU which has the lowest number of managed IRQs allocated */
159 unsigned int cpu, best_cpu, allocated = UINT_MAX; local
167 if (!cm->online || cm->managed_allocated > allocated)
171 allocated = cm->managed_allocated;
180 * @replace: Replace an already allocated vector with a system
198 cm->allocated--;
252 * This removes not allocated managed interrupts from the map. It does
268 /* Get managed bit which are not allocated */
290 * @mapped_cpu: Pointer to store the CPU for which the irq was allocated
[all...]
/linux-master/include/linux/
H A Dpowercap.h53 * @allocated: This is possible that client owns the memory
70 bool allocated; member in struct:powercap_control_type
126 * @allocated: This is possible that client owns the memory
150 bool allocated; member in struct:powercap_zone
235 * @control_type: Pointer to client allocated memory for the control type
271 * @power_zone: Pointer to client allocated memory for the power zone structure
/linux-master/scripts/dtc/libfdt/
H A Dfdt_sw.c276 static int fdt_find_add_string_(void *fdt, const char *s, int *allocated) argument
282 *allocated = 0;
288 *allocated = 1;
297 int allocated; local
303 allocated = 1;
306 nameoff = fdt_find_add_string_(fdt, name, &allocated);
313 if (allocated)
H A Dfdt_rw.c123 * @allocated: Set to 0 if the string was found, 1 if not found and so
124 * allocated. Ignored if can_assume(NO_ROLLBACK)
127 static int fdt_find_add_string_(void *fdt, const char *s, int *allocated) argument
136 *allocated = 0;
149 *allocated = 1;
209 int allocated; local
214 namestroff = fdt_find_add_string_(fdt, name, &allocated);
224 if (!can_assume(NO_ROLLBACK) && allocated)
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dhw_table.c16 u8 allocated: 1; member in struct:mlx5_sf_hw
86 if (!hwc->sfs[i].allocated && free_idx == -1) {
91 if (hwc->sfs[i].allocated && hwc->sfs[i].usr_sfnum == usr_sfnum)
99 hwc->sfs[free_idx].allocated = true;
108 hwc->sfs[id].allocated = false;
176 hwc->sfs[idx].allocated = false;
199 hwc->sfs[id].allocated = false;
214 if (hwc->sfs[i].allocated)
367 if (sf_hw->allocated && sf_hw->pending_delete)
/linux-master/fs/
H A Dkernel_read_file.c14 * *@buf is NULL, a buffer will be allocated, and
16 * @buf_size: size of buf, if already allocated. If @buf not
17 * allocated, this is the largest size to allocate.
25 * via an already-allocated @buf, in at most @buf_size chunks, and
41 void *allocated = NULL; local
80 *buf = allocated = vmalloc(i_size);
115 if (allocated) {
/linux-master/include/trace/events/
H 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;
126 TP_printk("proto:%s sysctl_mem=%ld,%ld,%ld allocated=%ld sysctl_rmem=%d rmem_alloc=%d sysctl_wmem=%d wmem_alloc=%d wmem_queued=%d kind=%s",
131 __entry->allocated,
H A Dirq_matrix.h77 __field( unsigned int, allocated )
90 __entry->allocated = cmap->allocated;
100 __entry->available, __entry->allocated,
/linux-master/drivers/powercap/
H A Dpowercap_sys.c388 bool allocated; local
394 allocated = power_zone->allocated;
397 /* Destroy idrs allocated for this zone */
404 if (allocated)
411 allocated = control_type->allocated;
416 if (allocated)
508 power_zone->allocated = true;
580 if (power_zone->allocated)
[all...]
/linux-master/tools/perf/util/
H A Ddsos.h24 unsigned int allocated; member in struct:dsos
H A Ddsos.c20 dsos->allocated = 0;
38 dsos->allocated = 0;
194 if (dsos->cnt == dsos->allocated) {
198 if (dsos->allocated > 0)
199 to_allocate = dsos->allocated * 2;
204 dsos->allocated = to_allocate;
/linux-master/drivers/comedi/
H A Dcomedi_buf.c31 * DMA buffer was allocated as a single block.
101 * Currently, the DMA buffer needs to be allocated as a
166 * DMA buffer was allocated as a single block.
239 /* only want it if buffer pages allocated */
433 unsigned int allocated = comedi_buf_write_n_allocated(s); local
435 if (nbytes > allocated)
436 nbytes = allocated;
538 unsigned int allocated; local
546 allocated = comedi_buf_read_n_allocated(async);
547 if (nbytes > allocated)
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dvio.c86 * @curr: bytes currently allocated
155 if (viodev->cmo.entitled > viodev->cmo.allocated)
156 reserve_free = viodev->cmo.entitled - viodev->cmo.allocated;
167 viodev->cmo.allocated += size;
202 if (viodev->cmo.allocated > viodev->cmo.entitled) {
203 excess_freed = min(reserve_freed, (viodev->cmo.allocated -
209 viodev->cmo.allocated -= (reserve_freed + excess_freed);
320 if ((viodev->cmo.entitled > viodev->cmo.allocated) &&
323 max_t(size_t, viodev->cmo.allocated,
346 if ((viodev->cmo.entitled > viodev->cmo.allocated)
978 viodev_cmo_rd_attr(allocated); variable
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vce.c694 * @allocated: allocated a new handle?
700 uint32_t handle, uint32_t *allocated)
720 *allocated |= 1 << i;
744 uint32_t allocated = 0; local
828 &allocated);
845 allocated |= 1 << session_idx;
847 } else if (!(allocated & (1 << session_idx))) {
947 if (allocated & ~created) {
957 /* Error during parsing, free all allocated handl
699 amdgpu_vce_validate_handle(struct amdgpu_cs_parser *p, uint32_t handle, uint32_t *allocated) argument
982 uint32_t allocated = 0; local
[all...]
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_packet_manager.c95 if (WARN_ON(pm->allocated))
114 pm->allocated = true;
260 pm->allocated = false;
436 if (pm->allocated) {
438 pm->allocated = false;
451 if (!pm->allocated) {
/linux-master/drivers/gpu/drm/
H A Ddrm_buddy.c557 * free the allocated blocks.
694 LIST_HEAD(allocated);
730 list_add_tail(&block->link, &allocated);
753 list_splice_tail(&allocated, blocks);
761 * free the allocated blocks.
771 list_splice_tail(&allocated, blocks);
774 drm_buddy_free_list_internal(mm, &allocated);
855 * @blocks: Input and output list of allocated blocks.
857 * On success will contain the newly allocated blocks
946 * @blocks: output list head to add allocated block
[all...]
/linux-master/drivers/dma/qcom/
H A Dhidma.h29 atomic_t allocated; /* if this channel is allocated */ member in struct:hidma_tre
86 bool allocated; member in struct:hidma_chan
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_vce.c513 * @allocated: allocated a new handle?
519 uint32_t handle, bool *allocated)
523 *allocated = false;
541 *allocated = true;
559 bool destroyed = false, created = false, allocated = false; local
584 &allocated);
595 if (!allocated) {
667 if (allocated && !created) {
673 if ((!r && destroyed) || (r && allocated)) {
518 radeon_vce_validate_handle(struct radeon_cs_parser *p, uint32_t handle, bool *allocated) argument
[all...]
/linux-master/drivers/irqchip/
H A Dirq-mips-cpu.c180 DECLARE_BITMAP(allocated, 2);
191 hwirq = find_first_zero_bit(state->allocated, 2);
194 bitmap_set(state->allocated, hwirq, 1);
/linux-master/drivers/md/dm-vdo/
H A Derrors.c81 int allocated; member in struct:__anon741
85 .allocated = MAX_ERROR_BLOCKS,
289 if (registered_errors.count == registered_errors.allocated) {

Completed in 394 milliseconds

123456