Home
last modified time | relevance | path

Searched refs:avail_idx (Results 1 – 2 of 2) sorted by relevance

/samples/mic/mpssd/
Dmpssd.c374 return READ_ONCE(vr->info->avail_idx); in read_avail_idx()
513 __u16 avail_idx = read_avail_idx(vr); in spin_for_descriptors() local
515 while (avail_idx == le16toh(READ_ONCE(vr->vr.avail->idx))) { in spin_for_descriptors()
519 le16toh(vr->vr.avail->idx), vr->info->avail_idx); in spin_for_descriptors()
656 while (rx_vr.info->avail_idx != in virtio_net()
855 while (rx_vr.info->avail_idx != in virtio_console()
1164 __u16 avail_idx; in virtio_block() local
1215 while (vring.info->avail_idx != in virtio_block()
1218 avail_idx = in virtio_block()
1219 vring.info->avail_idx & in virtio_block()
[all …]
/samples/bpf/
Dxdp_redirect_cpu_user.c488 __u32 avail_idx, bool new) in create_cpu_entry() argument
506 ret = bpf_map_update_elem(cpus_available_map_fd, &avail_idx, &cpu, 0); in create_cpu_entry()
529 new ? "Add-new":"Replace", cpu, avail_idx, in create_cpu_entry()