Searched refs:u32_size (Results 1 – 2 of 2) sorted by relevance
151 let u32_size = size_of::<u32>(); in plat_irq_ioctl() localVariable153 irq_set[0].argsz = (size_of::<plat_irq_forward_set>() + count * u32_size) as u32; in plat_irq_ioctl()159 let data = unsafe { irq_set[0].eventfd.as_mut_slice(count * u32_size) }; in plat_irq_ioctl()160 let (left, _right) = data.split_at_mut(u32_size); in plat_irq_ioctl()
964 let u32_size = mem::size_of::<u32>(); in irq_enable() localVariable966 irq_set[0].argsz = (mem::size_of::<vfio_irq_set>() + count * u32_size) as u32; in irq_enable()976 let mut data = unsafe { irq_set[0].data.as_mut_slice(count * u32_size) }; in irq_enable()978 let (left, right) = data.split_at_mut(u32_size); in irq_enable()