Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/vc4/
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-v6.1/lib/
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()
525 pr_devel("insert in free slot %d\n", free_slot); 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()
667 } while (new_n0->slots[free_slot] != NULL); in assoc_array_insert_into_terminal_node()
668 new_n0->slots[free_slot] = node->slots[i]; in assoc_array_insert_into_terminal_node()
[all …]
/Linux-v6.1/arch/xtensa/kernel/
Dhw_breakpoint.c192 static int free_slot(struct perf_event **slot, size_t n, in free_slot() function
215 i = free_slot(this_cpu_ptr(bp_on_reg), XCHAL_NUM_IBREAK, bp); in arch_uninstall_hw_breakpoint()
223 i = free_slot(this_cpu_ptr(wp_on_reg), XCHAL_NUM_DBREAK, bp); in arch_uninstall_hw_breakpoint()
/Linux-v6.1/drivers/mmc/host/
Dsdhci-acpi.c66 int (*free_slot)(struct platform_device *pdev); member
455 .free_slot = qcom_free_slot,
913 if (c->slot && c->slot->free_slot) in sdhci_acpi_probe()
914 c->slot->free_slot(pdev); in sdhci_acpi_probe()
938 if (c->slot && c->slot->free_slot) in sdhci_acpi_remove()
939 c->slot->free_slot(pdev); in sdhci_acpi_remove()
/Linux-v6.1/drivers/net/wireless/ath/ath6kl/
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-v6.1/drivers/usb/isp1760/
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-v6.1/net/sunrpc/xprtrdma/
Dsvc_rdma_backchannel.c223 .free_slot = xprt_free_slot,
Dtransport.c738 .free_slot = xprt_rdma_free_slot,
/Linux-v6.1/drivers/pci/hotplug/
Dpnv_php.c954 goto free_slot; in pnv_php_register_one()
969 free_slot: in pnv_php_register_one()
/Linux-v6.1/drivers/media/platform/nxp/imx-jpeg/
Dmxc-jpeg.c479 int free_slot = 0; in mxc_get_free_slot() local
481 while (slot_data[free_slot].used && free_slot < n) in mxc_get_free_slot()
482 free_slot++; in mxc_get_free_slot()
484 return free_slot; /* >=n when there are no more free slots */ in mxc_get_free_slot()
/Linux-v6.1/include/linux/sunrpc/
Dxprt.h137 void (*free_slot)(struct rpc_xprt *xprt, member
/Linux-v6.1/drivers/scsi/qla2xxx/
Dqla_edif.c3227 int free_slot = -1; in qla_edif_sadb_get_sa_index() local
3283 free_slot = slot; in qla_edif_sadb_get_sa_index()
3298 if (free_slot == -1) { in qla_edif_sadb_get_sa_index()
3319 entry->sa_pair[free_slot].spi = sa_frame->spi; in qla_edif_sadb_get_sa_index()
3320 entry->sa_pair[free_slot].sa_index = sa_index; in qla_edif_sadb_get_sa_index()
3324 __func__, free_slot, entry->handle, sa_frame->spi, sa_index); in qla_edif_sadb_get_sa_index()
/Linux-v6.1/drivers/scsi/
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-v6.1/net/sunrpc/
Dxprtsock.c2662 .free_slot = xprt_free_slot,
2683 .free_slot = xprt_free_slot,
2707 .free_slot = xprt_free_slot,
2742 .free_slot = xprt_free_slot,
Dxprt.c1979 xprt->ops->free_slot(xprt, req); in xprt_release()