Home
last modified time | relevance | path

Searched refs:free_slot (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/gpu/drm/vc4/
H A Dvc4_bo.c93 int free_slot = -1; in vc4_get_user_label() local
97 free_slot = i; in vc4_get_user_label()
104 if (free_slot != -1) { in vc4_get_user_label()
105 WARN_ON(vc4->bo_labels[free_slot].num_allocated != 0); in vc4_get_user_label()
106 vc4->bo_labels[free_slot].name = name; in vc4_get_user_label()
107 return free_slot; in vc4_get_user_label()
120 free_slot = vc4->num_labels; in vc4_get_user_label()
124 vc4->bo_labels[free_slot].name = name; in vc4_get_user_label()
125 vc4->bo_labels[free_slot].num_allocated = 0; in vc4_get_user_label()
126 vc4->bo_labels[free_slot].size_allocated = 0; in vc4_get_user_label()
[all …]
/linux/lib/
H A Dassoc_array.c486 int slot, next_slot, free_slot, i, j; in assoc_array_insert_into_terminal_node() local
499 free_slot = -1; in assoc_array_insert_into_terminal_node()
507 free_slot = i; in assoc_array_insert_into_terminal_node()
524 if (free_slot >= 0) { in assoc_array_insert_into_terminal_node()
526 edit->leaf_p = &node->slots[free_slot]; in assoc_array_insert_into_terminal_node()
656 free_slot = -1; in assoc_array_insert_into_terminal_node()
666 free_slot++; in assoc_array_insert_into_terminal_node()
668 new_n0->slots[free_slot] = node->slots[i]; in assoc_array_insert_into_terminal_node()
676 free_slot++; in assoc_array_insert_into_terminal_node()
677 } while (new_n0->slots[free_slot] != NULL); in assoc_array_insert_into_terminal_node()
[all …]
/linux/arch/xtensa/kernel/
H A Dhw_breakpoint.c193 static int free_slot(struct perf_event **slot, size_t n, in free_slot() function
216 i = free_slot(this_cpu_ptr(bp_on_reg), XCHAL_NUM_IBREAK, bp); in arch_uninstall_hw_breakpoint()
224 i = free_slot(this_cpu_ptr(wp_on_reg), XCHAL_NUM_DBREAK, bp); in arch_uninstall_hw_breakpoint()
/linux/drivers/mmc/host/
H A Dsdhci-acpi.c67 int (*free_slot)(struct platform_device *pdev); member
458 .free_slot = qcom_free_slot,
962 if (c->slot && c->slot->free_slot) in sdhci_acpi_probe()
963 c->slot->free_slot(pdev); in sdhci_acpi_probe()
987 if (c->slot && c->slot->free_slot) in sdhci_acpi_remove()
988 c->slot->free_slot(pdev); in sdhci_acpi_remove()
/linux/drivers/net/wireless/ath/ath6kl/
H A Dmain.c67 u8 free_slot; in ath6kl_add_new_sta() local
69 free_slot = aid - 1; in ath6kl_add_new_sta()
71 sta = &ar->sta_list[free_slot]; in ath6kl_add_new_sta()
81 ar->sta_list_index = ar->sta_list_index | (1 << free_slot); in ath6kl_add_new_sta()
82 ar->ap_stats.sta[free_slot].aid = cpu_to_le32(aid); in ath6kl_add_new_sta()
/linux/drivers/usb/isp1760/
H A Disp1760-hcd.c1123 int curr_slot, free_slot; in enqueue_qtds() local
1146 free_slot = -1; in enqueue_qtds()
1148 if ((free_slot == -1) && (slots[curr_slot].qtd == NULL)) in enqueue_qtds()
1149 free_slot = curr_slot; in enqueue_qtds()
1178 if ((curr_slot > slot_num - 1) && (free_slot > -1)) { in enqueue_qtds()
1184 start_bus_transfer(hcd, ptd_offset, free_slot, in enqueue_qtds()
1186 curr_slot = free_slot; in enqueue_qtds()
/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_backchannel.c214 .free_slot = xprt_free_slot,
H A Dtransport.c728 .free_slot = xprt_rdma_free_slot,
/linux/drivers/pci/hotplug/
H A Dpnv_php.c955 goto free_slot; in pnv_php_register_one()
970 free_slot: in pnv_php_register_one()
/linux/include/linux/sunrpc/
H A Dxprt.h142 void (*free_slot)(struct rpc_xprt *xprt, member
/linux/drivers/scsi/qla2xxx/
H A Dqla_edif.c3257 int free_slot = -1; in qla_edif_sadb_get_sa_index() local
3313 free_slot = slot; in qla_edif_sadb_get_sa_index()
3328 if (free_slot == -1) { in qla_edif_sadb_get_sa_index()
3349 entry->sa_pair[free_slot].spi = sa_frame->spi; in qla_edif_sadb_get_sa_index()
3350 entry->sa_pair[free_slot].sa_index = sa_index; in qla_edif_sadb_get_sa_index()
3354 __func__, free_slot, entry->handle, sa_frame->spi, sa_index); in qla_edif_sadb_get_sa_index()
/linux/drivers/scsi/
H A D53c700.c554 free_slot(struct NCR_700_command_slot *slot, in free_slot() function
626 free_slot(slot, hostdata); in NCR_700_scsi_done()
1563 free_slot(slot, hostdata); in NCR_700_intr()
/linux/net/sunrpc/
H A Dxprtsock.c3026 .free_slot = xprt_free_slot,
3048 .free_slot = xprt_free_slot,
3072 .free_slot = xprt_free_slot,
3108 .free_slot = xprt_free_slot,
H A Dxprt.c1991 xprt->ops->free_slot(xprt, req); in xprt_release()