Home
last modified time | relevance | path

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

/external/rust/crates/vmm_vhost/src/vhost_user/
Ddummy_slave.rs226 } else if !(VHOST_USER_CONFIG_OFFSET..VHOST_USER_CONFIG_SIZE).contains(&offset) in get_config()
227 || size > VHOST_USER_CONFIG_SIZE - VHOST_USER_CONFIG_OFFSET in get_config()
228 || size + offset > VHOST_USER_CONFIG_SIZE in get_config()
239 } else if !(VHOST_USER_CONFIG_OFFSET..VHOST_USER_CONFIG_SIZE).contains(&offset) in set_config()
240 || size > VHOST_USER_CONFIG_SIZE - VHOST_USER_CONFIG_OFFSET in set_config()
241 || size + offset > VHOST_USER_CONFIG_SIZE in set_config()
Dmessage.rs37 pub const VHOST_USER_CONFIG_SIZE: u32 = 0x1000; constant
665 || self.size > VHOST_USER_CONFIG_SIZE in is_valid()
666 || self.size + self.offset > VHOST_USER_CONFIG_SIZE in is_valid()
1002 VHOST_USER_CONFIG_SIZE - VHOST_USER_CONFIG_OFFSET, in check_user_config_msg()
1013 msg.offset = VHOST_USER_CONFIG_SIZE; in check_user_config_msg()
1015 msg.offset = VHOST_USER_CONFIG_SIZE - 1; in check_user_config_msg()