Searched refs:ft_wwn (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/target/tcm_fc/ |
H A D | tfc_conf.c | 234 struct ft_lport_wwn *ft_wwn; ft_add_tpg() local 259 ft_wwn = container_of(wwn, struct ft_lport_wwn, se_wwn); ft_add_tpg() 264 tpg->lport_wwn = ft_wwn; ft_add_tpg() 282 ft_wwn->tpg = tpg; ft_add_tpg() 291 struct ft_lport_wwn *ft_wwn = tpg->lport_wwn; ft_del_tpg() local 302 ft_wwn->tpg = NULL; ft_del_tpg() 321 struct ft_lport_wwn *ft_wwn; ft_lport_find_tpg() local 323 list_for_each_entry(ft_wwn, &ft_wwn_list, ft_wwn_node) { ft_lport_find_tpg() 324 if (ft_wwn->wwpn == lport->wwpn) ft_lport_find_tpg() 325 return ft_wwn->tpg; ft_lport_find_tpg() 343 struct ft_lport_wwn *ft_wwn; ft_add_wwn() local 350 ft_wwn = kzalloc(sizeof(*ft_wwn), GFP_KERNEL); ft_add_wwn() 351 if (!ft_wwn) ft_add_wwn() 353 ft_wwn->wwpn = wwpn; ft_add_wwn() 359 kfree(ft_wwn); ft_add_wwn() 363 list_add_tail(&ft_wwn->ft_wwn_node, &ft_wwn_list); ft_add_wwn() 364 ft_format_wwn(ft_wwn->name, sizeof(ft_wwn->name), wwpn); ft_add_wwn() 367 return &ft_wwn->se_wwn; ft_add_wwn() 372 struct ft_lport_wwn *ft_wwn = container_of(wwn, ft_del_wwn() local 375 pr_debug("del wwn %s\n", ft_wwn->name); ft_del_wwn() 377 list_del(&ft_wwn->ft_wwn_node); ft_del_wwn() 380 kfree(ft_wwn); ft_del_wwn()
|
Completed in 37 milliseconds