Searched refs:nsim_node (Results 1 – 1 of 1) sorted by relevance
1218 struct nsim_rate_node *nsim_node = priv; in nsim_node_tx_share_set() local1225 nsim_node->tx_share = tx_share; in nsim_node_tx_share_set()1232 struct nsim_rate_node *nsim_node = priv; in nsim_node_tx_max_set() local1239 nsim_node->tx_max = tx_max; in nsim_node_tx_max_set()1247 struct nsim_rate_node *nsim_node; in nsim_rate_node_new() local1254 nsim_node = kzalloc(sizeof(*nsim_node), GFP_KERNEL); in nsim_rate_node_new()1255 if (!nsim_node) in nsim_rate_node_new()1258 nsim_node->ddir = debugfs_create_dir(node->name, nsim_dev->nodes_ddir); in nsim_rate_node_new()1260 debugfs_create_u16("tx_share", 0400, nsim_node->ddir, &nsim_node->tx_share); in nsim_rate_node_new()1261 debugfs_create_u16("tx_max", 0400, nsim_node->ddir, &nsim_node->tx_max); in nsim_rate_node_new()[all …]