Home
last modified time | relevance | path

Searched refs:bitem (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/sharefs/
Dconfig.c85 struct sharefs_config_bitem *bitem; in alloc_bitem() local
88 bitem = kzalloc(sizeof(*bitem), GFP_KERNEL); in alloc_bitem()
89 if (!bitem) { in alloc_bitem()
90 bitem = ERR_PTR(-ENOMEM); in alloc_bitem()
96 kfree(bitem); in alloc_bitem()
97 bitem = ERR_PTR(-ENOMEM); in alloc_bitem()
101 bitem->str = make_qstr(bitem_name); in alloc_bitem()
103 return bitem; in alloc_bitem()
106 static void free_bitem(struct sharefs_config_bitem *bitem) in free_bitem() argument
108 if (bitem == NULL) in free_bitem()
[all …]
/kernel/linux/linux-5.10/fs/hmdfs/authority/
Dconfig.c88 struct hmdfs_config_bitem *bitem; in alloc_bitem() local
91 bitem = kzalloc(sizeof(*bitem), GFP_KERNEL); in alloc_bitem()
92 if (!bitem) { in alloc_bitem()
93 bitem = ERR_PTR(-ENOMEM); in alloc_bitem()
99 kfree(bitem); in alloc_bitem()
100 bitem = ERR_PTR(-ENOMEM); in alloc_bitem()
104 bitem->str = make_qstr(bitem_name); in alloc_bitem()
106 return bitem; in alloc_bitem()
109 static void free_bitem(struct hmdfs_config_bitem *bitem) in free_bitem() argument
111 if (bitem == NULL) in free_bitem()
[all …]