Searched refs:nsim_node (Results 1 – 1 of 1) sorted by relevance
1221 struct nsim_rate_node *nsim_node = priv; in nsim_node_tx_share_set() local1228 nsim_node->tx_share = tx_share; in nsim_node_tx_share_set()1235 struct nsim_rate_node *nsim_node = priv; in nsim_node_tx_max_set() local1242 nsim_node->tx_max = tx_max; in nsim_node_tx_max_set()1250 struct nsim_rate_node *nsim_node; in nsim_rate_node_new() local1257 nsim_node = kzalloc(sizeof(*nsim_node), GFP_KERNEL); in nsim_rate_node_new()1258 if (!nsim_node) in nsim_rate_node_new()1261 nsim_node->ddir = debugfs_create_dir(node->name, nsim_dev->nodes_ddir); in nsim_rate_node_new()1263 debugfs_create_u16("tx_share", 0400, nsim_node->ddir, &nsim_node->tx_share); in nsim_rate_node_new()1264 debugfs_create_u16("tx_max", 0400, nsim_node->ddir, &nsim_node->tx_max); in nsim_rate_node_new()[all …]