Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/vc4/
Dvc4_bo.c115 int free_slot = -1; in vc4_get_user_label() local
119 free_slot = i; in vc4_get_user_label()
126 if (free_slot != -1) { in vc4_get_user_label()
127 WARN_ON(vc4->bo_labels[free_slot].num_allocated != 0); in vc4_get_user_label()
128 vc4->bo_labels[free_slot].name = name; in vc4_get_user_label()
129 return free_slot; in vc4_get_user_label()
142 free_slot = vc4->num_labels; in vc4_get_user_label()
146 vc4->bo_labels[free_slot].name = name; in vc4_get_user_label()
147 vc4->bo_labels[free_slot].num_allocated = 0; in vc4_get_user_label()
148 vc4->bo_labels[free_slot].size_allocated = 0; in vc4_get_user_label()
[all …]
/Linux-v4.19/lib/
Dassoc_array.c490 int slot, next_slot, free_slot, i, j; in assoc_array_insert_into_terminal_node() local
503 free_slot = -1; in assoc_array_insert_into_terminal_node()
511 free_slot = i; in assoc_array_insert_into_terminal_node()
528 if (free_slot >= 0) { in assoc_array_insert_into_terminal_node()
529 pr_devel("insert in free slot %d\n", free_slot); in assoc_array_insert_into_terminal_node()
530 edit->leaf_p = &node->slots[free_slot]; in assoc_array_insert_into_terminal_node()
660 free_slot = -1; in assoc_array_insert_into_terminal_node()
670 free_slot++; in assoc_array_insert_into_terminal_node()
671 } while (new_n0->slots[free_slot] != NULL); in assoc_array_insert_into_terminal_node()
672 new_n0->slots[free_slot] = node->slots[i]; in assoc_array_insert_into_terminal_node()
[all …]
/Linux-v4.19/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()
222 i = free_slot(this_cpu_ptr(wp_on_reg), XCHAL_NUM_DBREAK, bp); in arch_uninstall_hw_breakpoint()
/Linux-v4.19/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-v4.19/drivers/usb/isp1760/
Disp1760-hcd.c836 int curr_slot, free_slot; in enqueue_qtds() local
859 free_slot = -1; in enqueue_qtds()
861 if ((free_slot == -1) && (slots[curr_slot].qtd == NULL)) in enqueue_qtds()
862 free_slot = curr_slot; in enqueue_qtds()
892 if ((curr_slot > 31) && (free_slot > -1)) { in enqueue_qtds()
898 start_bus_transfer(hcd, ptd_offset, free_slot, in enqueue_qtds()
900 curr_slot = free_slot; in enqueue_qtds()
/Linux-v4.19/drivers/scsi/ufs/
Dufshcd.c670 static bool ufshcd_get_tm_free_slot(struct ufs_hba *hba, int *free_slot) in ufshcd_get_tm_free_slot() argument
675 if (!free_slot) in ufshcd_get_tm_free_slot()
684 *free_slot = tag; in ufshcd_get_tm_free_slot()
5617 int free_slot; in ufshcd_issue_tm_cmd() local
5628 wait_event(hba->tm_tag_wq, ufshcd_get_tm_free_slot(hba, &free_slot)); in ufshcd_issue_tm_cmd()
5633 task_req_descp += free_slot; in ufshcd_issue_tm_cmd()
5643 task_tag = hba->nutrs + free_slot; in ufshcd_issue_tm_cmd()
5656 ufshcd_vops_setup_task_mgmt(hba, free_slot, tm_function); in ufshcd_issue_tm_cmd()
5659 __set_bit(free_slot, &hba->outstanding_tasks); in ufshcd_issue_tm_cmd()
5664 ufshcd_writel(hba, 1 << free_slot, REG_UTP_TASK_REQ_DOOR_BELL); in ufshcd_issue_tm_cmd()
[all …]
/Linux-v4.19/net/sunrpc/xprtrdma/
Dsvc_rdma_backchannel.c266 .free_slot = xprt_free_slot,
Dtransport.c816 .free_slot = xprt_rdma_free_slot,
/Linux-v4.19/drivers/pci/hotplug/
Dpnv_php.c881 goto free_slot; in pnv_php_register_one()
896 free_slot: in pnv_php_register_one()
/Linux-v4.19/include/linux/sunrpc/
Dxprt.h129 void (*free_slot)(struct rpc_xprt *xprt, member
/Linux-v4.19/drivers/scsi/
D53c700.c538 free_slot(struct NCR_700_command_slot *slot, in free_slot() function
610 free_slot(slot, hostdata); in NCR_700_scsi_done()
1559 free_slot(slot, hostdata); in NCR_700_intr()
/Linux-v4.19/net/sunrpc/
Dxprtsock.c2766 .free_slot = xprt_free_slot,
2786 .free_slot = xprt_free_slot,
2808 .free_slot = xprt_free_slot,
2840 .free_slot = xprt_free_slot,
Dxprt.c1383 xprt->ops->free_slot(xprt, req); in xprt_release()