Lines Matching refs:fud
1208 struct fuse_dev *fud; in fuse_dev_alloc() local
1211 fud = kzalloc(sizeof(struct fuse_dev), GFP_KERNEL); in fuse_dev_alloc()
1212 if (!fud) in fuse_dev_alloc()
1217 kfree(fud); in fuse_dev_alloc()
1221 fud->pq.processing = pq; in fuse_dev_alloc()
1222 fuse_pqueue_init(&fud->pq); in fuse_dev_alloc()
1224 return fud; in fuse_dev_alloc()
1228 void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc) in fuse_dev_install() argument
1230 fud->fc = fuse_conn_get(fc); in fuse_dev_install()
1232 list_add_tail(&fud->entry, &fc->devices); in fuse_dev_install()
1239 struct fuse_dev *fud; in fuse_dev_alloc_install() local
1241 fud = fuse_dev_alloc(); in fuse_dev_alloc_install()
1242 if (!fud) in fuse_dev_alloc_install()
1245 fuse_dev_install(fud, fc); in fuse_dev_alloc_install()
1246 return fud; in fuse_dev_alloc_install()
1250 void fuse_dev_free(struct fuse_dev *fud) in fuse_dev_free() argument
1252 struct fuse_conn *fc = fud->fc; in fuse_dev_free()
1256 list_del(&fud->entry); in fuse_dev_free()
1261 kfree(fud->pq.processing); in fuse_dev_free()
1262 kfree(fud); in fuse_dev_free()
1349 struct fuse_dev *fud = NULL; in fuse_fill_super_common() local
1383 fud = fuse_dev_alloc_install(fc); in fuse_fill_super_common()
1384 if (!fud) in fuse_fill_super_common()
1430 *ctx->fudptr = fud; in fuse_fill_super_common()
1438 if (fud) in fuse_fill_super_common()
1439 fuse_dev_free(fud); in fuse_fill_super_common()