Searched refs:nsim (Results 1 – 5 of 5) sorted by relevance
23 nsim = nsimdev.nsims[0]33 return [pp for pp in pp_list if pp.get("ifindex") == nsim.ifindex]53 nsim.dfs_write("pp_hold", "y")55 refs = sum([pp["inflight"] for pp in pp_list if pp.get("ifindex") == nsim.ifindex])76 nsim.dfs_write("pp_hold", "n")87 nsim.dfs_write("pp_hold", "y")
132 def remove_nsim(self, nsim): argument133 self.nsims.remove(nsim)135 "%u" % (nsim.port_index, ))
6 from .nsim import *
10 model = "snps,nsim";11 compatible = "snps,nsim";
328 struct netdevsim *nsim, *peer; in unlink_device_store() local361 nsim = netdev_priv(dev); in unlink_device_store()362 peer = rtnl_dereference(nsim->peer); in unlink_device_store()367 RCU_INIT_POINTER(nsim->peer, NULL); in unlink_device_store()