Lines Matching refs:hard_iface
455 * @hard_iface: hard interface which should be added.
457 int batadv_debugfs_add_hardif(struct batadv_hard_iface *hard_iface)
465 hard_iface->debug_dir = debugfs_create_dir(hard_iface->net_dev->name,
467 if (!hard_iface->debug_dir)
473 hard_iface->debug_dir,
474 hard_iface->net_dev,
482 debugfs_remove_recursive(hard_iface->debug_dir);
483 hard_iface->debug_dir = NULL;
495 * @hard_iface: hard interface which is deleted.
497 void batadv_debugfs_del_hardif(struct batadv_hard_iface *hard_iface)
500 debugfs_remove_recursive(hard_iface->debug_dir);
501 hard_iface->debug_dir = NULL;