Searched refs:free_head (Results 1 – 15 of 15) sorted by relevance
88 unsigned int free_head; member148 head = vq->free_head; in vring_add_indirect()154 vq->free_head = vq->vring.desc[head].next; in vring_add_indirect()200 head = vq->free_head; in virtqueue_add_buf_gfp()201 for (i = vq->free_head; out; i = vq->vring.desc[i].next, out--) { in virtqueue_add_buf_gfp()219 vq->free_head = i; in virtqueue_add_buf_gfp()278 vq->vring.desc[i].next = vq->free_head; in detach_buf()279 vq->free_head = head; in detach_buf()448 vq->free_head = 0; in vring_new_virtqueue()
278 BUG_ON(cmd->free_head < 0); in mlx4_cmd_wait()279 context = &cmd->context[cmd->free_head]; in mlx4_cmd_wait()281 cmd->free_head = context->next; in mlx4_cmd_wait()303 context->next = cmd->free_head; in mlx4_cmd_wait()304 cmd->free_head = context - cmd->context; in mlx4_cmd_wait()380 priv->cmd.free_head = 0; in mlx4_cmd_use_events()
195 int free_head; member
936 index = qi->free_head; in qi_submit_sync()952 qi->free_head = (qi->free_head + 2) % QI_LENGTH; in qi_submit_sync()959 writel(qi->free_head << DMAR_IQ_SHIFT, iommu->reg + DMAR_IQT_REG); in qi_submit_sync()1102 qi->free_head = qi->free_tail = 0; in __dmar_enable_qi()1164 qi->free_head = qi->free_tail = 0; in dmar_enable_qi()
405 unsigned char free_head; member
372 unsigned char free_head; member
490 *request_id = tw_dev->free_queue[tw_dev->free_head]; in twl_get_request_id()491 tw_dev->free_head = (tw_dev->free_head + 1) % TW_Q_LENGTH; in twl_get_request_id()1106 tw_dev->free_head = TW_Q_START; in twl_initialize_device_extension()1430 tw_dev->free_head = TW_Q_START; in twl_reset_device_extension()
653 unsigned char free_head; member
1102 *request_id = tw_dev->free_queue[tw_dev->free_head]; in twa_get_request_id()1103 tw_dev->free_head = (tw_dev->free_head + 1) % TW_Q_LENGTH; in twa_get_request_id()1204 tw_dev->free_head = TW_Q_START; in twa_initialize_device_extension()1627 tw_dev->free_head = TW_Q_START; in twa_reset_device_extension()
484 *request_id = tw_dev->free_queue[tw_dev->free_head]; in tw_state_request_start()485 tw_dev->free_head = (tw_dev->free_head + 1) % TW_Q_LENGTH; in tw_state_request_start()1345 tw_dev->free_head = TW_Q_START; in tw_reset_device_extension()
386 BUG_ON(dev->cmd.free_head < 0); in mthca_cmd_wait()387 context = &dev->cmd.context[dev->cmd.free_head]; in mthca_cmd_wait()389 dev->cmd.free_head = context->next; in mthca_cmd_wait()420 context->next = dev->cmd.free_head; in mthca_cmd_wait()421 dev->cmd.free_head = context - dev->cmd.context; in mthca_cmd_wait()537 dev->cmd.free_head = 0; in mthca_cmd_use_events()
127 int free_head; member
277 int free_head; /* first free entry */ member
1577 static void free_head(struct rcu_head *rcu) in free_head() function1586 call_rcu(&head->rcu, free_head); in sysctl_head_put()1958 call_rcu(&header->parent->rcu, free_head); in unregister_sysctl_table()1961 call_rcu(&header->rcu, free_head); in unregister_sysctl_table()
765 uint64_t free_head:11; member