Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_bo.c89 int free_slot = -1; in vc4_get_user_label() local
93 free_slot = i; in vc4_get_user_label()
100 if (free_slot != -1) { in vc4_get_user_label()
101 WARN_ON(vc4->bo_labels[free_slot].num_allocated != 0); in vc4_get_user_label()
102 vc4->bo_labels[free_slot].name = name; in vc4_get_user_label()
103 return free_slot; in vc4_get_user_label()
116 free_slot = vc4->num_labels; in vc4_get_user_label()
120 vc4->bo_labels[free_slot].name = name; in vc4_get_user_label()
121 vc4->bo_labels[free_slot].num_allocated = 0; in vc4_get_user_label()
122 vc4->bo_labels[free_slot].size_allocated = 0; in vc4_get_user_label()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-acpi.c67 int (*free_slot)(struct platform_device *pdev); member
530 .free_slot = qcom_free_slot,
960 if (c->slot && c->slot->free_slot) in sdhci_acpi_probe()
961 c->slot->free_slot(pdev); in sdhci_acpi_probe()
985 if (c->slot && c->slot->free_slot) in sdhci_acpi_remove()
986 c->slot->free_slot(pdev); in sdhci_acpi_remove()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/usb/isp1760/
Disp1760-hcd.c834 int curr_slot, free_slot; in enqueue_qtds() local
857 free_slot = -1; in enqueue_qtds()
859 if ((free_slot == -1) && (slots[curr_slot].qtd == NULL)) in enqueue_qtds()
860 free_slot = curr_slot; in enqueue_qtds()
890 if ((curr_slot > 31) && (free_slot > -1)) { in enqueue_qtds()
896 start_bus_transfer(hcd, ptd_offset, free_slot, in enqueue_qtds()
898 curr_slot = free_slot; in enqueue_qtds()
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Dsvc_rdma_backchannel.c211 .free_slot = xprt_free_slot,
Dtransport.c742 .free_slot = xprt_rdma_free_slot,
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dpnv_php.c953 goto free_slot; in pnv_php_register_one()
968 free_slot: in pnv_php_register_one()
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dxprt.h136 void (*free_slot)(struct rpc_xprt *xprt, member
/kernel/linux/linux-5.10/drivers/scsi/
D53c700.c555 free_slot(struct NCR_700_command_slot *slot, in free_slot() function
627 free_slot(slot, hostdata); in NCR_700_scsi_done()
1565 free_slot(slot, hostdata); in NCR_700_intr()
/kernel/linux/linux-5.10/net/sunrpc/
Dxprtsock.c2638 .free_slot = xprt_free_slot,
2659 .free_slot = xprt_free_slot,
2681 .free_slot = xprt_free_slot,
2714 .free_slot = xprt_free_slot,
Dxprt.c1892 xprt->ops->free_slot(xprt, req); in xprt_release()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0027_linux_drivers_media.patch1409 + int free_slot = 0;
1411 + while (slot_data[free_slot].used && free_slot < n)
1412 + free_slot++;
1414 + return free_slot; /* >=n when there are no more free slots */
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch8307 int (*free_slot)(struct platform_device *pdev);