| /linux/tools/virtio/ringtest/ |
| H A D | virtio_ring_0_9.c | 47 unsigned short free_head; member 83 guest.free_head = 0; in alloc_ring() 113 head = guest.free_head; in add_inbuf() 127 guest.free_head = desc[head].next; in add_inbuf() 189 ring.desc[index].next = guest.free_head; in get_buf() 190 guest.free_head = index; in get_buf()
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_cmd.c | 120 context = &cmd->context[cmd->free_head]; in __hns_roce_cmd_mbox_wait() 121 cmd->free_head = context->next; in __hns_roce_cmd_mbox_wait() 234 hr_cmd->free_head = 0; in hns_roce_cmd_use_events()
|
| H A D | hns_roce_device.h | 561 int free_head; member
|
| /linux/drivers/virtio/ |
| H A D | virtio_ring.c | 217 unsigned int free_head; member 633 head = vq->free_head; in virtqueue_add_split() 733 vq->free_head += descs_used; in virtqueue_add_split() 734 if (vq->free_head >= vq->split.vring.num) in virtqueue_add_split() 735 vq->free_head -= vq->split.vring.num; in virtqueue_add_split() 738 vq->free_head = vq->split.desc_extra[head].next; in virtqueue_add_split() 740 vq->free_head = i; in virtqueue_add_split() 893 vq->split.desc_extra[i].next = vq->free_head; in detach_buf_split() 894 vq->free_head = head; in detach_buf_split() 1202 vq->free_head = 0; in virtqueue_vring_attach_split() [all …]
|
| /linux/net/netfilter/ |
| H A D | nfnetlink_cttimeout.c | 38 struct list_head free_head; member 594 list_add(&cur->free_head, &pernet->nfct_timeout_freelist); in cttimeout_net_pre_exit() 610 list_for_each_entry_safe(cur, tmp, &pernet->nfct_timeout_freelist, free_head) { in cttimeout_net_exit() 611 list_del(&cur->free_head); in cttimeout_net_exit()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | cmd.c | 349 BUG_ON(cmd->free_head < 0); in mlx4_comm_cmd_wait() 350 context = &cmd->context[cmd->free_head]; in mlx4_comm_cmd_wait() 352 cmd->free_head = context->next; in mlx4_comm_cmd_wait() 399 context->next = cmd->free_head; in mlx4_comm_cmd_wait() 400 cmd->free_head = context - cmd->context; in mlx4_comm_cmd_wait() 689 BUG_ON(cmd->free_head < 0); in mlx4_cmd_wait() 690 context = &cmd->context[cmd->free_head]; in mlx4_cmd_wait() 692 cmd->free_head = context->next; in mlx4_cmd_wait() 766 context->next = cmd->free_head; in mlx4_cmd_wait() 767 cmd->free_head = context - cmd->context; in mlx4_cmd_wait() [all …]
|
| H A D | mlx4.h | 639 int free_head; member
|
| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_cmd.c | 421 BUG_ON(dev->cmd.free_head < 0); in mthca_cmd_wait() 422 context = &dev->cmd.context[dev->cmd.free_head]; in mthca_cmd_wait() 424 dev->cmd.free_head = context->next; in mthca_cmd_wait() 460 context->next = dev->cmd.free_head; in mthca_cmd_wait() 461 dev->cmd.free_head = context - dev->cmd.context; in mthca_cmd_wait() 573 dev->cmd.free_head = 0; in mthca_cmd_use_events()
|
| H A D | mthca_dev.h | 126 int free_head; member
|
| /linux/drivers/iommu/intel/ |
| H A D | dmar.c | 1208 while (qi->desc_status[qi->free_tail] == QI_FREE && qi->free_tail != qi->free_head) { in reclaim_free_desc() 1414 index = qi->free_head; in qi_submit_sync() 1438 qi->free_head = (qi->free_head + count + 1) % QI_LENGTH; in qi_submit_sync() 1445 writel(qi->free_head << shift, iommu->reg + DMAR_IQT_REG); in qi_submit_sync() 1649 qi->free_head = qi->free_tail = 0; in __dmar_enable_qi()
|
| H A D | iommu.h | 485 int free_head; /* first free entry */ member
|
| /linux/drivers/scsi/ |
| H A D | 3w-sas.c | 452 *request_id = tw_dev->free_queue[tw_dev->free_head]; in twl_get_request_id() 453 tw_dev->free_head = (tw_dev->free_head + 1) % TW_Q_LENGTH; in twl_get_request_id() 1067 tw_dev->free_head = TW_Q_START; in twl_initialize_device_extension() 1385 tw_dev->free_head = TW_Q_START; in twl_reset_device_extension()
|
| H A D | 3w-xxxx.h | 411 unsigned char free_head; member
|
| H A D | 3w-sas.h | 381 unsigned char free_head; member
|
| H A D | 3w-9xxx.c | 1101 *request_id = tw_dev->free_queue[tw_dev->free_head]; in twa_get_request_id() 1102 tw_dev->free_head = (tw_dev->free_head + 1) % TW_Q_LENGTH; in twa_get_request_id() 1202 tw_dev->free_head = TW_Q_START; in twa_initialize_device_extension() 1611 tw_dev->free_head = TW_Q_START; in twa_reset_device_extension()
|
| H A D | 3w-9xxx.h | 662 unsigned char free_head; member
|
| H A D | 3w-xxxx.c | 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() 1320 tw_dev->free_head = TW_Q_START; in tw_reset_device_extension()
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-pow.h | 942 uint64_t free_head:11; member 980 uint64_t free_head:11;
|
| /linux/mm/ |
| H A D | percpu.c | 1954 struct list_head *free_head = &pcpu_chunk_lists[pcpu_free_slot]; in pcpu_balance_free() local 1963 list_for_each_entry_safe(chunk, next, free_head, list) { in pcpu_balance_free() 1967 if (chunk == list_first_entry(free_head, struct pcpu_chunk, list)) in pcpu_balance_free()
|
| /linux/net/core/ |
| H A D | skbuff.c | 1118 goto free_head; in skb_release_data() 1124 free_head: in skb_release_data()
|