Lines Matching refs:alt_name
29 kfree(nspm->alt_name); in namespace_pmem_release()
41 kfree(nsblk->alt_name); in namespace_blk_release()
252 char *input, *pos, *alt_name, **ns_altname; in __alt_name_store() local
258 ns_altname = &nspm->alt_name; in __alt_name_store()
262 ns_altname = &nsblk->alt_name; in __alt_name_store()
279 alt_name = kzalloc(NSLABEL_NAME_LEN, GFP_KERNEL); in __alt_name_store()
280 if (!alt_name) { in __alt_name_store()
285 *ns_altname = alt_name; in __alt_name_store()
434 ns_altname = nspm->alt_name; in alt_name_show()
438 ns_altname = nsblk->alt_name; in alt_name_show()
444 static DEVICE_ATTR_RW(alt_name);
2000 WARN_ON(nspm->alt_name || nspm->uuid); in create_namespace_pmem()
2001 nspm->alt_name = kmemdup((void __force *) label0->name, in create_namespace_pmem()
2013 if (!nspm->alt_name || !nspm->uuid) { in create_namespace_pmem()
2260 nsblk->alt_name = kmemdup(name, NSLABEL_NAME_LEN, in create_namespace_blk()
2262 if (!nsblk->alt_name) in create_namespace_blk()