Lines Matching refs:fud
1177 struct fuse_dev *fud; in fuse_dev_alloc() local
1180 fud = kzalloc(sizeof(struct fuse_dev), GFP_KERNEL); in fuse_dev_alloc()
1181 if (!fud) in fuse_dev_alloc()
1186 kfree(fud); in fuse_dev_alloc()
1190 fud->pq.processing = pq; in fuse_dev_alloc()
1191 fuse_pqueue_init(&fud->pq); in fuse_dev_alloc()
1193 return fud; in fuse_dev_alloc()
1197 void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc) in fuse_dev_install() argument
1199 fud->fc = fuse_conn_get(fc); in fuse_dev_install()
1201 list_add_tail(&fud->entry, &fc->devices); in fuse_dev_install()
1208 struct fuse_dev *fud; in fuse_dev_alloc_install() local
1210 fud = fuse_dev_alloc(); in fuse_dev_alloc_install()
1211 if (!fud) in fuse_dev_alloc_install()
1214 fuse_dev_install(fud, fc); in fuse_dev_alloc_install()
1215 return fud; in fuse_dev_alloc_install()
1219 void fuse_dev_free(struct fuse_dev *fud) in fuse_dev_free() argument
1221 struct fuse_conn *fc = fud->fc; in fuse_dev_free()
1225 list_del(&fud->entry); in fuse_dev_free()
1230 kfree(fud->pq.processing); in fuse_dev_free()
1231 kfree(fud); in fuse_dev_free()
1318 struct fuse_dev *fud = NULL; in fuse_fill_super_common() local
1352 fud = fuse_dev_alloc_install(fc); in fuse_fill_super_common()
1353 if (!fud) in fuse_fill_super_common()
1399 *ctx->fudptr = fud; in fuse_fill_super_common()
1407 if (fud) in fuse_fill_super_common()
1408 fuse_dev_free(fud); in fuse_fill_super_common()