Lines Matching refs:len
683 ioeventfd_in_range(struct _ioeventfd *p, gpa_t addr, int len, const void *val) in ioeventfd_in_range() argument
695 if (len != p->length) in ioeventfd_in_range()
705 BUG_ON(!IS_ALIGNED((unsigned long)val, len)); in ioeventfd_in_range()
707 switch (len) { in ioeventfd_in_range()
730 int len, const void *val) in ioeventfd_write() argument
734 if (!ioeventfd_in_range(p, addr, len, val)) in ioeventfd_write()
807 p->length = args->len; in kvm_assign_ioeventfd_idx()
869 p->length != args->len || in kvm_deassign_ioeventfd_idx()
897 if (!args->len && bus_idx == KVM_MMIO_BUS) in kvm_deassign_ioeventfd()
911 switch (args->len) { in kvm_assign_ioeventfd()
923 if (args->addr + args->len < args->addr) in kvm_assign_ioeventfd()
931 if (!args->len && (args->flags & KVM_IOEVENTFD_FLAG_DATAMATCH)) in kvm_assign_ioeventfd()
941 if (!args->len && bus_idx == KVM_MMIO_BUS) { in kvm_assign_ioeventfd()