Home
last modified time | relevance | path

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

/linux-6.1.9/tools/virtio/ringtest/
Dvirtio_ring_0_9.c47 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-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c105 context = &cmd->context[cmd->free_head]; in __hns_roce_cmd_mbox_wait()
106 cmd->free_head = context->next; in __hns_roce_cmd_mbox_wait()
219 hr_cmd->free_head = 0; in hns_roce_cmd_use_events()
Dhns_roce_device.h542 int free_head; member
/linux-6.1.9/drivers/virtio/
Dvirtio_ring.c176 unsigned int free_head; member
547 head = vq->free_head; in virtqueue_add_split()
641 vq->free_head = vq->split.desc_extra[head].next; in virtqueue_add_split()
643 vq->free_head = i; in virtqueue_add_split()
750 vq->split.desc_extra[i].next = vq->free_head; in detach_buf_split()
751 vq->free_head = head; in detach_buf_split()
1005 vq->free_head = 0; in virtqueue_vring_attach_split()
1257 id = vq->free_head; in virtqueue_add_indirect_packed()
1317 vq->free_head = vq->packed.desc_extra[id].next; in virtqueue_add_indirect_packed()
1402 id = vq->free_head; in virtqueue_add_packed()
[all …]
/linux-6.1.9/net/netfilter/
Dnfnetlink_cttimeout.c38 struct list_head free_head; member
601 list_add(&cur->free_head, &pernet->nfct_timeout_freelist); in cttimeout_net_pre_exit()
617 list_for_each_entry_safe(cur, tmp, &pernet->nfct_timeout_freelist, free_head) { in cttimeout_net_exit()
618 list_del(&cur->free_head); in cttimeout_net_exit()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c349 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 …]
Dmlx4.h637 int free_head; member
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_cmd.c421 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()
574 dev->cmd.free_head = 0; in mthca_cmd_use_events()
Dmthca_dev.h126 int free_head; member
/linux-6.1.9/drivers/scsi/
D3w-xxxx.h411 unsigned char free_head; member
D3w-sas.c452 *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()
1384 tw_dev->free_head = TW_Q_START; in twl_reset_device_extension()
D3w-sas.h381 unsigned char free_head; member
D3w-9xxx.h662 unsigned char free_head; member
D3w-9xxx.c1101 *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()
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()
1320 tw_dev->free_head = TW_Q_START; in tw_reset_device_extension()
/linux-6.1.9/drivers/iommu/intel/
Ddmar.c1364 index = qi->free_head; in qi_submit_sync()
1388 qi->free_head = (qi->free_head + count + 1) % QI_LENGTH; in qi_submit_sync()
1395 writel(qi->free_head << shift, iommu->reg + DMAR_IQT_REG); in qi_submit_sync()
1654 qi->free_head = qi->free_tail = 0; in __dmar_enable_qi()
Diommu.h436 int free_head; /* first free entry */ member
/linux-6.1.9/arch/mips/include/asm/octeon/
Dcvmx-pow.h942 uint64_t free_head:11; member
980 uint64_t free_head:11;
/linux-6.1.9/mm/
Dpercpu.c1989 struct list_head *free_head = &pcpu_chunk_lists[pcpu_free_slot]; in pcpu_balance_free() local
1998 list_for_each_entry_safe(chunk, next, free_head, list) { in pcpu_balance_free()
2002 if (chunk == list_first_entry(free_head, struct pcpu_chunk, list)) in pcpu_balance_free()
/linux-6.1.9/net/core/
Dskbuff.c779 goto free_head; in skb_release_data()
785 free_head: in skb_release_data()