/drivers/nvdimm/ |
D | label.c | 300 unsigned long **free, u32 *nslot) in preamble_index() argument 308 *free = (unsigned long *) nsindex->free; in preamble_index() 326 unsigned long **free, u32 *nslot) in preamble_current() argument 329 free, nslot); in preamble_current() 334 unsigned long **free, u32 *nslot) in preamble_next() argument 337 free, nslot); in preamble_next() 373 unsigned long *free; in nd_label_reserve_dpa() local 376 if (!preamble_current(ndd, &nsindex, &free, &nslot)) in nd_label_reserve_dpa() 379 for_each_clear_bit_le(slot, free, nslot) { in nd_label_reserve_dpa() 409 unsigned long *free; in nd_label_active_count() local [all …]
|
/drivers/mtd/ubi/ |
D | fastmap-wl.c | 64 wl_tree_add(e, &ubi->free); in return_unused_pool_pebs() 94 if (!ubi->free.rb_node || (ubi->free_count - ubi->beb_rsvd_pebs < 1)) in ubi_wl_get_fm_peb() 98 e = find_anchor_wl_entry(&ubi->free); in ubi_wl_get_fm_peb() 100 e = find_mean_wl_entry(ubi, &ubi->free); in ubi_wl_get_fm_peb() 105 self_check_in_wl_tree(ubi, e, &ubi->free); in ubi_wl_get_fm_peb() 109 rb_erase(&e->u.rb, &ubi->free); in ubi_wl_get_fm_peb() 137 if (!ubi->free.rb_node) in ubi_refill_pools() 150 if (!ubi->free.rb_node || in ubi_refill_pools() 154 e = find_wl_entry(ubi, &ubi->free, WL_FREE_MAX_DIFF); in ubi_refill_pools() 155 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() 675 if (!ubi->free.rb_node || 688 !ubi->free.rb_node, !ubi->used.rb_node); 695 anchor = !anchor_pebs_avalible(&ubi->free); 727 wl_tree_add(e2, &ubi->free); 926 wl_tree_add(e2, &ubi->free); 1012 if (!ubi->used.rb_node || !ubi->free.rb_node) 1023 e2 = find_wl_entry(ubi, &ubi->free, WL_FREE_MAX_DIFF); [all …]
|
/drivers/net/ethernet/cisco/enic/ |
D | enic_clsf.c | 80 enic->rfs_h.free = enic->rfs_h.max; in enic_rfs_flw_tbl_init() 100 enic->rfs_h.free++; in enic_rfs_flw_tbl_free() 147 enic->rfs_h.free++; in enic_flow_may_expire() 206 i = --enic->rfs_h.free; in enic_rx_flow_steer() 209 enic->rfs_h.free++; in enic_rx_flow_steer() 216 enic->rfs_h.free++; in enic_rx_flow_steer() 225 enic->rfs_h.free++; in enic_rx_flow_steer() 244 enic->rfs_h.free++; in enic_rx_flow_steer() 252 i = --enic->rfs_h.free; in enic_rx_flow_steer() 254 enic->rfs_h.free++; in enic_rx_flow_steer() [all …]
|
/drivers/base/ |
D | devcoredump.c | 50 void (*free)(void *data); member 64 devcd->free(devcd->data); in devcd_dev_release() 280 void (*free)(void *data)) in dev_coredumpm() 287 goto free; in dev_coredumpm() 293 goto free; in dev_coredumpm() 297 goto free; in dev_coredumpm() 307 devcd->free = free; in dev_coredumpm() 335 free: in dev_coredumpm() 336 free(data); in dev_coredumpm()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_dma.c | 146 while (chan->dma.free < count) { in nv50_dma_wait() 156 chan->dma.free = chan->dma.max - chan->dma.cur; in nv50_dma_wait() 157 if (chan->dma.free >= count) in nv50_dma_wait() 173 chan->dma.free = get - chan->dma.cur - 1; in nv50_dma_wait() 188 while (chan->dma.free < size) { in nouveau_dma_wait() 219 chan->dma.free = chan->dma.max - chan->dma.cur; in nouveau_dma_wait() 220 if (chan->dma.free >= size) in nouveau_dma_wait() 256 chan->dma.free = get - chan->dma.cur - 1; in nouveau_dma_wait()
|
/drivers/video/fbdev/ |
D | pxa3xx-gcu.c | 109 struct pxa3xx_gcu_batch *free; member 205 running->next = priv->free; in flush_running() 206 priv->free = running; in flush_running() 344 while (!priv->free) { in pxa3xx_gcu_wait_free() 348 priv->free, HZ*4); in pxa3xx_gcu_wait_free() 406 if (!priv->free) { in pxa3xx_gcu_write() 416 buffer = priv->free; in pxa3xx_gcu_write() 417 priv->free = buffer->next; in pxa3xx_gcu_write() 425 buffer->next = priv->free; in pxa3xx_gcu_write() 426 priv->free = buffer; in pxa3xx_gcu_write() [all …]
|
/drivers/tty/ |
D | tty_buffer.c | 126 llist = llist_del_all(&buf->free); in tty_buffer_free_all() 127 llist_for_each_entry_safe(p, next, llist, free) in tty_buffer_free_all() 151 struct llist_node *free; in tty_buffer_alloc() local 158 free = llist_del_first(&port->buf.free); in tty_buffer_alloc() 159 if (free) { in tty_buffer_alloc() 160 p = llist_entry(free, struct tty_buffer, free); in tty_buffer_alloc() 198 llist_add(&b->free, &buf->free); in tty_buffer_free() 570 init_llist_head(&buf->free); in tty_buffer_init()
|
/drivers/scsi/arm/ |
D | msgqueue.c | 29 if ((mq = msgq->free) != NULL) in mqe_alloc() 30 msgq->free = mq->next; in mqe_alloc() 44 mq->next = msgq->free; in mqe_free() 45 msgq->free = mq; in mqe_free() 59 msgq->free = &msgq->entries[0]; in msgqueue_initialise()
|
D | queue.c | 65 INIT_LIST_HEAD(&queue->free); in queue_initialise() 78 list_add(&q->list, &queue->free); in queue_initialise() 114 if (list_empty(&queue->free)) in __queue_add() 117 l = queue->free.next; in __queue_add() 149 list_add(ent, &queue->free); in __queue_remove()
|
/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_symbol.c | 99 free(symbol->info.rinfo); in symbol_delete() 103 free(symbol->info.ainfo); in symbol_delete() 111 free(symbol->info.finfo); in symbol_delete() 117 free(symbol->info.cinfo); in symbol_delete() 121 free(symbol->info.linfo); in symbol_delete() 127 free(symbol->name); in symbol_delete() 128 free(symbol); in symbol_delete() 308 free(node1); in symlist_free() 651 free(curnode); in symtable_dump() 663 free(curnode); in symtable_dump() [all …]
|
/drivers/infiniband/core/ |
D | uverbs_ioctl_merge.c | 329 goto free; in build_method_with_attrs() 364 goto free; in build_method_with_attrs() 386 goto free; in build_method_with_attrs() 398 free: in build_method_with_attrs() 477 goto free; in build_object_with_methods() 502 goto free; in build_object_with_methods() 521 goto free; in build_object_with_methods() 531 free: in build_object_with_methods() 611 goto free; in uverbs_alloc_spec_tree() 633 goto free; in uverbs_alloc_spec_tree() [all …]
|
/drivers/android/ |
D | binder_alloc.c | 83 BUG_ON(!new_buffer->free); in binder_insert_free_buffer() 94 BUG_ON(!buffer->free); in binder_insert_free_buffer() 114 BUG_ON(new_buffer->free); in binder_insert_allocated_buffer_locked() 119 BUG_ON(buffer->free); in binder_insert_allocated_buffer_locked() 144 BUG_ON(buffer->free); in binder_alloc_prepare_to_free_locked() 397 BUG_ON(!buffer->free); in binder_alloc_new_buf_locked() 475 new_buffer->free = 1; in binder_alloc_new_buf_locked() 480 buffer->free = 0; in binder_alloc_new_buf_locked() 553 BUG_ON(!prev->free); in binder_delete_free_buffer() 609 BUG_ON(buffer->free); in binder_free_buf_locked() [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/gpu/drm/nouveau/nvkm/engine/device/ |
D | tegra.c | 294 goto free; in nvkm_device_tegra_new() 301 goto free; in nvkm_device_tegra_new() 307 goto free; in nvkm_device_tegra_new() 314 goto free; in nvkm_device_tegra_new() 320 goto free; in nvkm_device_tegra_new() 330 goto free; in nvkm_device_tegra_new() 355 free: in nvkm_device_tegra_new()
|
/drivers/isdn/hardware/mISDN/ |
D | netjet.c | 58 int free; member 240 bc->free = card->send.size / 2; in mode_tiger() 254 bc->free = card->send.size / 2; in mode_tiger() 482 if (bc->free > card->send.size / 2) in resync() 483 bc->free = card->send.size / 2; in resync() 494 __func__, bc->bch.nr, bc->free, bc->idx, card->send.idx); in resync() 507 if (bc->free == 0) in fill_hdlc_flag() 510 __func__, bc->bch.nr, bc->free, bc->txstate, in fill_hdlc_flag() 515 bc->hsbuf, bc->free); in fill_hdlc_flag() 518 bc->free -= count; in fill_hdlc_flag() [all …]
|
/drivers/hid/intel-ish-hid/ishtp/ |
D | dma-if.c | 111 int i, j, free; in ishtp_cl_get_dma_send_buf() local 118 free = 1; in ishtp_cl_get_dma_send_buf() 121 free = 0; in ishtp_cl_get_dma_send_buf() 125 if (free) { in ishtp_cl_get_dma_send_buf()
|
/drivers/iommu/ |
D | intel_irq_remapping.c | 813 int count, free = -1; in ir_parse_one_hpet_scope() local 834 else if (ir_hpet[count].iommu == NULL && free == -1) in ir_parse_one_hpet_scope() 835 free = count; in ir_parse_one_hpet_scope() 837 if (free == -1) { in ir_parse_one_hpet_scope() 842 ir_hpet[free].iommu = iommu; in ir_parse_one_hpet_scope() 843 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope() 844 ir_hpet[free].bus = bus; in ir_parse_one_hpet_scope() 845 ir_hpet[free].devfn = PCI_DEVFN(path->device, path->function); in ir_parse_one_hpet_scope() 858 int count, free = -1; in ir_parse_one_ioapic_scope() local 879 else if (ir_ioapic[count].iommu == NULL && free == -1) in ir_parse_one_ioapic_scope() [all …]
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | port.c | 187 int free = -1; in __mlx4_register_mac() local 252 if (free < 0) in __mlx4_register_mac() 253 free = i; in __mlx4_register_mac() 288 free = free_for_dup; in __mlx4_register_mac() 290 mlx4_dbg(dev, "Free MAC index is %d\n", free); in __mlx4_register_mac() 299 table->entries[free] = cpu_to_be64(mac | MLX4_MAC_VALID); in __mlx4_register_mac() 305 table->entries[free] = 0; in __mlx4_register_mac() 308 table->refs[free] = 1; in __mlx4_register_mac() 309 table->is_dup[free] = false; in __mlx4_register_mac() 312 dup_table->refs[free] = 0; in __mlx4_register_mac() [all …]
|
/drivers/clk/ti/ |
D | fapll.c | 512 goto free; in ti_fapll_synth_setup() 524 free: in ti_fapll_synth_setup() 547 goto free; in ti_fapll_setup() 551 goto free; in ti_fapll_setup() 559 goto free; in ti_fapll_setup() 568 goto free; in ti_fapll_setup() 574 goto free; in ti_fapll_setup() 580 goto free; in ti_fapll_setup() 654 free: in ti_fapll_setup()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cq.c | 62 complete(&mcq->free); in mlx5_cq_tasklet_cb() 110 complete(&cq->free); in mlx5_cq_completion() 134 complete(&cq->free); in mlx5_cq_event() 163 init_completion(&cq->free); in mlx5_core_create_cq() 226 complete(&cq->free); in mlx5_core_destroy_cq() 227 wait_for_completion(&cq->free); in mlx5_core_destroy_cq()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_dcb.h | 32 void (*free) (struct qlcnic_dcb *); member 60 if (dcb && dcb->ops->free) in qlcnic_dcb_free() 61 dcb->ops->free(dcb); in qlcnic_dcb_free()
|
/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 41 list_for_each_entry(node, &mm->free, fl_entry) { in nvkm_mm_dump() 72 list_for_each_entry(prev, &mm->free, fl_entry) { in nvkm_mm_free() 121 list_for_each_entry(this, &mm->free, fl_entry) { in nvkm_mm_head() 194 list_for_each_entry_reverse(this, &mm->free, fl_entry) { in nvkm_mm_tail() 260 INIT_LIST_HEAD(&mm->free); in nvkm_mm_init() 276 list_add_tail(&node->fl_entry, &mm->free); in nvkm_mm_init()
|
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_mmu.c | 110 struct etnaviv_vram_mapping *free = NULL; in etnaviv_iommu_find_iova() local 144 list_for_each_entry(free, &mmu->mappings, mmu_node) { in etnaviv_iommu_find_iova() 146 if (!free->vram_node.mm) in etnaviv_iommu_find_iova() 153 if (free->use) in etnaviv_iommu_find_iova() 156 list_add(&free->scan_node, &list); in etnaviv_iommu_find_iova() 157 if (drm_mm_scan_add_block(&scan, &free->vram_node)) { in etnaviv_iommu_find_iova()
|
/drivers/gpu/drm/sis/ |
D | sis_mm.c | 142 mem->free = user_key; in sis_drm_alloc() 155 mem->free = 0; in sis_drm_alloc() 170 obj = idr_find(&dev_priv->object_idr, mem->free); in sis_drm_free() 176 idr_remove(&dev_priv->object_idr, mem->free); in sis_drm_free() 186 DRM_DEBUG("free = 0x%lx\n", mem->free); in sis_drm_free()
|