Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/virtio/
Dvirtio_ring.c88 unsigned int free_head; member
148 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()
/linux-2.6.39/drivers/net/mlx4/
Dcmd.c278 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()
Dmlx4.h195 int free_head; member
/linux-2.6.39/drivers/pci/
Ddmar.c936 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()
/linux-2.6.39/drivers/scsi/
D3w-xxxx.h405 unsigned char free_head; member
D3w-sas.h372 unsigned char free_head; member
D3w-sas.c490 *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()
D3w-9xxx.h653 unsigned char free_head; member
D3w-9xxx.c1102 *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()
D3w-xxxx.c484 *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()
/linux-2.6.39/drivers/infiniband/hw/mthca/
Dmthca_cmd.c386 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()
Dmthca_dev.h127 int free_head; member
/linux-2.6.39/include/linux/
Dintel-iommu.h277 int free_head; /* first free entry */ member
/linux-2.6.39/kernel/
Dsysctl.c1577 static void free_head(struct rcu_head *rcu) in free_head() function
1586 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()
/linux-2.6.39/drivers/staging/octeon/
Dcvmx-pow.h765 uint64_t free_head:11; member