Searched refs:inject_error (Results 1 – 5 of 5) sorted by relevance
18 ret = -ns->udp_ports.inject_error; in nsim_udp_tunnel_set_port()19 ns->udp_ports.inject_error = 0; in nsim_udp_tunnel_set_port()47 ret = -ns->udp_ports.inject_error; in nsim_udp_tunnel_unset_port()48 ns->udp_ports.inject_error = 0; in nsim_udp_tunnel_unset_port()78 ret = -ns->udp_ports.inject_error; in nsim_udp_tunnel_sync_table()79 ns->udp_ports.inject_error = 0; in nsim_udp_tunnel_sync_table()149 &ns->udp_ports.inject_error); in nsim_udp_tunnels_info_create()
97 u32 inject_error; member
179 u8 inject_error; in inject_errors_store() local182 if (kstrtou8(buf, 0, &inject_error)) in inject_errors_store()185 if (inject_error & ~INJECT_ERROR_MASK) in inject_errors_store()193 v |= FIELD_PREP(INJECT_ERROR_MASK, inject_error); in inject_errors_store()
230 static DEVICE_ATTR_RW(inject_error);
336 static DEVICE_ATTR_RW(inject_error);