desc_state 631 drivers/net/ethernet/socionext/sni_ave.c static int ave_desc_switch(struct net_device *ndev, enum desc_state state) desc_state 132 drivers/virtio/virtio_ring.c struct vring_desc_state_split *desc_state; desc_state 168 drivers/virtio/virtio_ring.c struct vring_desc_state_packed *desc_state; desc_state 538 drivers/virtio/virtio_ring.c vq->split.desc_state[head].data = data; desc_state 540 drivers/virtio/virtio_ring.c vq->split.desc_state[head].indir_desc = desc; desc_state 542 drivers/virtio/virtio_ring.c vq->split.desc_state[head].indir_desc = ctx; desc_state 627 drivers/virtio/virtio_ring.c vq->split.desc_state[head].data = NULL; desc_state 648 drivers/virtio/virtio_ring.c vq->split.desc_state[head].indir_desc; desc_state 666 drivers/virtio/virtio_ring.c vq->split.desc_state[head].indir_desc = NULL; desc_state 668 drivers/virtio/virtio_ring.c *ctx = vq->split.desc_state[head].indir_desc; desc_state 713 drivers/virtio/virtio_ring.c if (unlikely(!vq->split.desc_state[i].data)) { desc_state 719 drivers/virtio/virtio_ring.c ret = vq->split.desc_state[i].data; desc_state 827 drivers/virtio/virtio_ring.c if (!vq->split.desc_state[i].data) desc_state 830 drivers/virtio/virtio_ring.c buf = vq->split.desc_state[i].data; desc_state 1064 drivers/virtio/virtio_ring.c vq->free_head = vq->packed.desc_state[id].next; desc_state 1067 drivers/virtio/virtio_ring.c vq->packed.desc_state[id].num = 1; desc_state 1068 drivers/virtio/virtio_ring.c vq->packed.desc_state[id].data = data; desc_state 1069 drivers/virtio/virtio_ring.c vq->packed.desc_state[id].indir_desc = desc; desc_state 1070 drivers/virtio/virtio_ring.c vq->packed.desc_state[id].last = id; desc_state 1172 drivers/virtio/virtio_ring.c curr = vq->packed.desc_state[curr].next; desc_state 1194 drivers/virtio/virtio_ring.c vq->packed.desc_state[id].num = descs_used; desc_state 1195 drivers/virtio/virtio_ring.c vq->packed.desc_state[id].data = data; desc_state 1196 drivers/virtio/virtio_ring.c vq->packed.desc_state[id].indir_desc = ctx; desc_state 1197 drivers/virtio/virtio_ring.c vq->packed.desc_state[id].last = prev; desc_state 1288 drivers/virtio/virtio_ring.c state = &vq->packed.desc_state[id]; desc_state 1293 drivers/virtio/virtio_ring.c vq->packed.desc_state[state->last].next = vq->free_head; desc_state 1302 drivers/virtio/virtio_ring.c curr = vq->packed.desc_state[curr].next; desc_state 1378 drivers/virtio/virtio_ring.c if (unlikely(!vq->packed.desc_state[id].data)) { desc_state 1384 drivers/virtio/virtio_ring.c ret = vq->packed.desc_state[id].data; desc_state 1387 drivers/virtio/virtio_ring.c vq->last_used_idx += vq->packed.desc_state[id].num; desc_state 1538 drivers/virtio/virtio_ring.c if (!vq->packed.desc_state[i].data) desc_state 1541 drivers/virtio/virtio_ring.c buf = vq->packed.desc_state[i].data; desc_state 1642 drivers/virtio/virtio_ring.c vq->packed.desc_state = kmalloc_array(num, desc_state 1645 drivers/virtio/virtio_ring.c if (!vq->packed.desc_state) desc_state 1648 drivers/virtio/virtio_ring.c memset(vq->packed.desc_state, 0, desc_state 1654 drivers/virtio/virtio_ring.c vq->packed.desc_state[i].next = i + 1; desc_state 1675 drivers/virtio/virtio_ring.c kfree(vq->packed.desc_state); desc_state 2113 drivers/virtio/virtio_ring.c vq->split.desc_state = kmalloc_array(vring.num, desc_state 2115 drivers/virtio/virtio_ring.c if (!vq->split.desc_state) { desc_state 2124 drivers/virtio/virtio_ring.c memset(vq->split.desc_state, 0, vring.num * desc_state 2199 drivers/virtio/virtio_ring.c kfree(vq->packed.desc_state); desc_state 2209 drivers/virtio/virtio_ring.c kfree(vq->split.desc_state);