/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_reg_sr_types.h | 26 unsigned int allocated; member in struct:xe_reg_sr::__anon889
|
H A D | xe_reg_sr.c | 53 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 D | iso-resources.c | 31 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 D | iso-resources.h | 27 bool allocated; member in struct:fw_iso_resources
|
/linux-master/drivers/gpu/drm/tests/ |
H A D | drm_buddy_test.c | 30 LIST_HEAD(allocated); 65 &allocated, 74 &allocated, 83 &allocated, 93 &allocated, 134 &allocated, 147 &allocated, 158 list_splice_tail(&tmp, &allocated); 163 drm_buddy_free_list(&mm, &allocated); 172 * allocated node [all...] |
/linux-master/kernel/irq/ |
H A D | matrix.c | 13 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 D | powercap.h | 53 * @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 D | fdt_sw.c | 276 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 D | fdt_rw.c | 123 * @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 D | hw_table.c | 16 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 D | kernel_read_file.c | 14 * *@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/drivers/powercap/ |
H A D | powercap_sys.c | 388 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/include/trace/events/ |
H A D | irq_matrix.h | 77 __field( unsigned int, allocated ) 90 __entry->allocated = cmap->allocated; 100 __entry->available, __entry->allocated,
|
H A D | sock.h | 95 TP_PROTO(struct sock *sk, struct proto *prot, long allocated, int kind), 97 TP_ARGS(sk, prot, allocated, kind), 102 __field(long, allocated) 116 __entry->allocated = allocated; 125 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", 130 __entry->allocated,
|
/linux-master/drivers/comedi/ |
H A D | comedi_buf.c | 31 * 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 D | vio.c | 86 * @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 D | amdgpu_vce.c | 694 * @allocated: allocated a new handle? 700 uint32_t handle, uint32_t *allocated) 720 *allocated |= 1 << i; 744 uint32_t allocated = 0; local 827 &allocated); 844 allocated |= 1 << session_idx; 846 } else if (!(allocated & (1 << session_idx))) { 946 if (allocated & ~created) { 956 /* Error during parsing, free all allocated handl 699 amdgpu_vce_validate_handle(struct amdgpu_cs_parser *p, uint32_t handle, uint32_t *allocated) argument 981 uint32_t allocated = 0; local [all...] |
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_packet_manager.c | 95 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 D | drm_buddy.c | 407 * free the allocated blocks. 499 LIST_HEAD(allocated); 537 list_add_tail(&block->link, &allocated); 556 list_splice_tail(&allocated, blocks); 564 * free the allocated blocks. 574 list_splice_tail(&allocated, blocks); 577 drm_buddy_free_list(mm, &allocated); 658 * @blocks: Input and output list of allocated blocks. 660 * On success will contain the newly allocated blocks 730 * @blocks: output list head to add allocated block [all...] |
/linux-master/drivers/dma/qcom/ |
H A D | hidma.h | 29 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 D | radeon_vce.c | 513 * @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 D | irq-mips-cpu.c | 180 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 D | errors.c | 81 int allocated; member in struct:__anon741 85 .allocated = MAX_ERROR_BLOCKS, 289 if (registered_errors.count == registered_errors.allocated) {
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_ppgtt.c | 190 if (!vma_res->allocated) { 193 vma_res->allocated = true; 210 if (!vma_res->allocated)
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_vma_resource.h | 78 * this is after any padding that might have been allocated. 79 * @node_size: Size of the allocated range manager node with padding 85 * @allocated: Backend private data. TODO: Should move into @private. 133 bool allocated:1; member in struct:i915_vma_resource 192 * @node_size: Size of the allocated range manager node minus padding. 196 * Initializes a vma resource allocated using i915_vma_resource_alloc().
|