/drivers/media/platform/vsp1/ |
D | vsp1_dl.c | 106 struct list_head free; member 138 struct list_head free; member 161 struct list_head free; member 222 struct list_head free; member 285 INIT_LIST_HEAD(&pool->free); in vsp1_dl_body_pool_create() 296 list_add_tail(&dlb->free, &pool->free); in vsp1_dl_body_pool_create() 336 if (!list_empty(&pool->free)) { in vsp1_dl_body_get() 337 dlb = list_first_entry(&pool->free, struct vsp1_dl_body, free); in vsp1_dl_body_get() 338 list_del(&dlb->free); in vsp1_dl_body_get() 366 list_add_tail(&dlb->free, &dlb->pool->free); in vsp1_dl_body_put() [all …]
|
/drivers/nvdimm/ |
D | label.c | 309 unsigned long **free, u32 *nslot) in preamble_index() argument 317 *free = (unsigned long *) nsindex->free; in preamble_index() 335 unsigned long **free, u32 *nslot) in preamble_current() argument 338 free, nslot); in preamble_current() 343 unsigned long **free, u32 *nslot) in preamble_next() argument 346 free, nslot); in preamble_next() 377 unsigned long *free; in nd_label_reserve_dpa() local 380 if (!preamble_current(ndd, &nsindex, &free, &nslot)) in nd_label_reserve_dpa() 383 for_each_clear_bit_le(slot, free, nslot) { in nd_label_reserve_dpa() 498 if (test_bit_le(i, nsindex->free)) { in nd_label_data_init() [all …]
|
/drivers/net/ethernet/cisco/enic/ |
D | enic_clsf.c | 81 enic->rfs_h.free = enic->rfs_h.max; in enic_rfs_flw_tbl_init() 101 enic->rfs_h.free++; in enic_rfs_flw_tbl_free() 148 enic->rfs_h.free++; in enic_flow_may_expire() 207 i = --enic->rfs_h.free; in enic_rx_flow_steer() 210 enic->rfs_h.free++; in enic_rx_flow_steer() 217 enic->rfs_h.free++; in enic_rx_flow_steer() 226 enic->rfs_h.free++; in enic_rx_flow_steer() 245 enic->rfs_h.free++; in enic_rx_flow_steer() 253 i = --enic->rfs_h.free; in enic_rx_flow_steer() 255 enic->rfs_h.free++; in enic_rx_flow_steer() [all …]
|
/drivers/mtd/ubi/ |
D | fastmap-wl.c | 45 wl_tree_add(e, &ubi->free); in return_unused_peb() 79 if (!ubi->free.rb_node || (ubi->free_count - ubi->beb_rsvd_pebs < 1)) in ubi_wl_get_fm_peb() 83 e = find_anchor_wl_entry(&ubi->free); in ubi_wl_get_fm_peb() 85 e = find_mean_wl_entry(ubi, &ubi->free); in ubi_wl_get_fm_peb() 90 self_check_in_wl_tree(ubi, e, &ubi->free); in ubi_wl_get_fm_peb() 94 rb_erase(&e->u.rb, &ubi->free); in ubi_wl_get_fm_peb() 117 if (!ubi->free.rb_node) in has_enough_free_count() 147 wl_tree_add(ubi->fm_anchor, &ubi->free); in ubi_refill_pools() 178 e = find_wl_entry(ubi, &ubi->free, WL_FREE_MAX_DIFF); in ubi_refill_pools() 179 self_check_in_wl_tree(ubi, e, &ubi->free); in ubi_refill_pools() [all …]
|
D | wl.c | 386 e = find_mean_wl_entry(ubi, &ubi->free); in wl_get_wle() 392 self_check_in_wl_tree(ubi, e, &ubi->free); in wl_get_wle() 398 rb_erase(&e->u.rb, &ubi->free); in wl_get_wle() 673 if (!ubi->free.rb_node || 686 !ubi->free.rb_node, !ubi->used.rb_node); 700 wl_tree_add(ubi->fm_anchor, &ubi->free); 735 wl_tree_add(e2, &ubi->free); 937 wl_tree_add(e2, &ubi->free); 1023 if (!ubi->used.rb_node || !ubi->free.rb_node) 1034 e2 = find_wl_entry(ubi, &ubi->free, WL_FREE_MAX_DIFF); [all …]
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_dma.c | 131 while (chan->dma.free < count) { in nv50_dma_wait() 141 chan->dma.free = chan->dma.max - chan->dma.cur; in nv50_dma_wait() 142 if (chan->dma.free >= count) in nv50_dma_wait() 158 chan->dma.free = get - chan->dma.cur - 1; in nv50_dma_wait() 173 while (chan->dma.free < size) { in nouveau_dma_wait() 204 chan->dma.free = chan->dma.max - chan->dma.cur; in nouveau_dma_wait() 205 if (chan->dma.free >= size) in nouveau_dma_wait() 241 chan->dma.free = get - chan->dma.cur - 1; in nouveau_dma_wait()
|
/drivers/base/ |
D | devcoredump.c | 76 void (*free)(void *data); member 90 devcd->free(devcd->data); in devcd_dev_release() 331 void (*free)(void *data)) in dev_coredumpm() 338 goto free; in dev_coredumpm() 344 goto free; in dev_coredumpm() 348 goto free; in dev_coredumpm() 358 devcd->free = free; in dev_coredumpm() 393 free: in dev_coredumpm() 394 free(data); in dev_coredumpm()
|
/drivers/video/fbdev/ |
D | pxa3xx-gcu.c | 97 struct pxa3xx_gcu_batch *free; member 195 running->next = priv->free; in flush_running() 196 priv->free = running; in flush_running() 334 while (!priv->free) { in pxa3xx_gcu_wait_free() 338 priv->free, HZ*4); in pxa3xx_gcu_wait_free() 396 if (!priv->free) { in pxa3xx_gcu_write() 406 buffer = priv->free; in pxa3xx_gcu_write() 407 priv->free = buffer->next; in pxa3xx_gcu_write() 415 buffer->next = priv->free; in pxa3xx_gcu_write() 416 priv->free = buffer; in pxa3xx_gcu_write() [all …]
|
/drivers/scsi/arm/ |
D | msgqueue.c | 26 if ((mq = msgq->free) != NULL) in mqe_alloc() 27 msgq->free = mq->next; in mqe_alloc() 41 mq->next = msgq->free; in mqe_free() 42 msgq->free = mq; in mqe_free() 56 msgq->free = &msgq->entries[0]; in msgqueue_initialise()
|
D | queue.c | 62 INIT_LIST_HEAD(&queue->free); in queue_initialise() 75 list_add(&q->list, &queue->free); in queue_initialise() 111 if (list_empty(&queue->free)) in __queue_add() 114 l = queue->free.next; in __queue_add() 146 list_add(ent, &queue->free); in __queue_remove()
|
/drivers/tty/ |
D | tty_buffer.c | 130 llist = llist_del_all(&buf->free); in tty_buffer_free_all() 131 llist_for_each_entry_safe(p, next, llist, free) in tty_buffer_free_all() 157 struct llist_node *free; in tty_buffer_alloc() local 164 free = llist_del_first(&port->buf.free); in tty_buffer_alloc() 165 if (free) { in tty_buffer_alloc() 166 p = llist_entry(free, struct tty_buffer, free); in tty_buffer_alloc() 205 llist_add(&b->free, &buf->free); in tty_buffer_free() 602 init_llist_head(&buf->free); in tty_buffer_init()
|
/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_symbol.c | 95 free(symbol->info.rinfo); in symbol_delete() 99 free(symbol->info.ainfo); in symbol_delete() 107 free(symbol->info.finfo); in symbol_delete() 113 free(symbol->info.cinfo); in symbol_delete() 117 free(symbol->info.linfo); in symbol_delete() 123 free(symbol->name); in symbol_delete() 124 free(symbol); in symbol_delete() 304 free(node1); in symlist_free() 647 free(curnode); in symtable_dump() 659 free(curnode); in symtable_dump() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | tegra.c | 295 goto free; in nvkm_device_tegra_new() 302 goto free; in nvkm_device_tegra_new() 308 goto free; in nvkm_device_tegra_new() 315 goto free; in nvkm_device_tegra_new() 326 goto free; in nvkm_device_tegra_new() 332 goto free; in nvkm_device_tegra_new() 340 goto free; in nvkm_device_tegra_new() 365 free: in nvkm_device_tegra_new()
|
/drivers/gpu/drm/nouveau/nvkm/falcon/ |
D | cmdq.c | 30 u32 free; in nvkm_falcon_cmdq_has_room() local 35 free = cmdq->offset + cmdq->size - head; in nvkm_falcon_cmdq_has_room() 36 free -= HDR_SIZE; in nvkm_falcon_cmdq_has_room() 38 if (size > free) { in nvkm_falcon_cmdq_has_room() 45 free = tail - head - 1; in nvkm_falcon_cmdq_has_room() 47 return size <= free; in nvkm_falcon_cmdq_has_room()
|
/drivers/dma-buf/heaps/ |
D | deferred-free-helper.c | 26 void (*free)(struct deferred_freelist_item*, in deferred_free() 34 item->free = free; in deferred_free() 61 item->free(item, reason); in free_one_item()
|
/drivers/gpu/drm/tegra/ |
D | gem.c | 93 goto free; in tegra_bo_pin() 104 goto free; in tegra_bo_pin() 114 goto free; in tegra_bo_pin() 119 free: in tegra_bo_pin() 248 goto free; in tegra_bo_alloc_object() 258 free: in tegra_bo_alloc_object() 403 goto free; in tegra_bo_import() 430 free: in tegra_bo_import() 562 goto free; in tegra_gem_prime_map_dma_buf() 566 goto free; in tegra_gem_prime_map_dma_buf() [all …]
|
/drivers/net/wireless/intersil/orinoco/ |
D | fw.c | 129 goto free; in orinoco_dl_firmware() 137 goto free; in orinoco_dl_firmware() 194 free: in orinoco_dl_firmware() 230 goto free; in symbol_dl_image() 237 goto free; in symbol_dl_image() 243 goto free; in symbol_dl_image() 276 free: in symbol_dl_image()
|
/drivers/android/ |
D | binder_alloc.c | 78 BUG_ON(!new_buffer->free); in binder_insert_free_buffer() 89 BUG_ON(!buffer->free); in binder_insert_free_buffer() 109 BUG_ON(new_buffer->free); in binder_insert_allocated_buffer_locked() 114 BUG_ON(buffer->free); in binder_insert_allocated_buffer_locked() 139 BUG_ON(buffer->free); in binder_alloc_prepare_to_free_locked() 438 BUG_ON(!buffer->free); in binder_alloc_new_buf_locked() 519 new_buffer->free = 1; in binder_alloc_new_buf_locked() 524 buffer->free = 0; in binder_alloc_new_buf_locked() 612 BUG_ON(!prev->free); in binder_delete_free_buffer() 668 BUG_ON(buffer->free); in binder_free_buf_locked() [all …]
|
/drivers/isdn/hardware/mISDN/ |
D | netjet.c | 45 int free; member 227 bc->free = card->send.size / 2; in mode_tiger() 241 bc->free = card->send.size / 2; in mode_tiger() 469 if (bc->free > card->send.size / 2) in resync() 470 bc->free = card->send.size / 2; in resync() 481 __func__, bc->bch.nr, bc->free, bc->idx, card->send.idx); in resync() 494 if (bc->free == 0) in fill_hdlc_flag() 497 __func__, bc->bch.nr, bc->free, bc->txstate, in fill_hdlc_flag() 502 bc->hsbuf, bc->free); in fill_hdlc_flag() 505 bc->free -= count; in fill_hdlc_flag() [all …]
|
/drivers/hid/intel-ish-hid/ishtp/ |
D | dma-if.c | 102 int i, j, free; in ishtp_cl_get_dma_send_buf() local 114 free = 1; in ishtp_cl_get_dma_send_buf() 117 free = 0; in ishtp_cl_get_dma_send_buf() 121 if (free) { in ishtp_cl_get_dma_send_buf()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | base.c | 38 u16 free; member 50 if (!ptp->free) in nvkm_mmu_ptp_put() 52 ptp->free |= BIT(slot); in nvkm_mmu_ptp_put() 55 if (ptp->free == ptp->mask) { in nvkm_mmu_ptp_put() 92 ptp->free = ptp->mask; in nvkm_mmu_ptp_get() 101 slot = __ffs(ptp->free); in nvkm_mmu_ptp_get() 102 ptp->free &= ~BIT(slot); in nvkm_mmu_ptp_get() 103 if (!ptp->free) in nvkm_mmu_ptp_get()
|
/drivers/clk/ti/ |
D | fapll.c | 516 goto free; in ti_fapll_synth_setup() 529 goto free; in ti_fapll_synth_setup() 534 free: in ti_fapll_synth_setup() 558 goto free; in ti_fapll_setup() 562 goto free; in ti_fapll_setup() 571 goto free; in ti_fapll_setup() 580 goto free; in ti_fapll_setup() 586 goto free; in ti_fapll_setup() 592 goto free; in ti_fapll_setup() 665 free: in ti_fapll_setup()
|
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_mmu.c | 135 struct etnaviv_vram_mapping *free = NULL; in etnaviv_iommu_find_iova() local 157 list_for_each_entry(free, &context->mappings, mmu_node) { in etnaviv_iommu_find_iova() 159 if (!free->vram_node.mm) in etnaviv_iommu_find_iova() 166 if (free->use) in etnaviv_iommu_find_iova() 169 list_add(&free->scan_node, &list); in etnaviv_iommu_find_iova() 170 if (drm_mm_scan_add_block(&scan, &free->vram_node)) { in etnaviv_iommu_find_iova() 307 context->global->ops->free(context); in etnaviv_iommu_context_free() 346 global->ops->free(ctx); in etnaviv_iommu_context_init()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_nbio.c | 48 goto free; in amdgpu_nbio_ras_late_init() 59 goto free; in amdgpu_nbio_ras_late_init() 65 free: in amdgpu_nbio_ras_late_init()
|
/drivers/iommu/intel/ |
D | irq_remapping.c | 867 int count, free = -1; in ir_parse_one_hpet_scope() local 888 else if (ir_hpet[count].iommu == NULL && free == -1) in ir_parse_one_hpet_scope() 889 free = count; in ir_parse_one_hpet_scope() 891 if (free == -1) { in ir_parse_one_hpet_scope() 896 ir_hpet[free].iommu = iommu; in ir_parse_one_hpet_scope() 897 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope() 898 ir_hpet[free].bus = bus; in ir_parse_one_hpet_scope() 899 ir_hpet[free].devfn = PCI_DEVFN(path->device, path->function); in ir_parse_one_hpet_scope() 912 int count, free = -1; in ir_parse_one_ioapic_scope() local 933 else if (ir_ioapic[count].iommu == NULL && free == -1) in ir_parse_one_ioapic_scope() [all …]
|