Lines Matching defs:fud
1420 struct fuse_dev *fud;
1423 fud = kzalloc(sizeof(struct fuse_dev), GFP_KERNEL);
1424 if (!fud)
1429 kfree(fud);
1433 fud->pq.processing = pq;
1434 fuse_pqueue_init(&fud->pq);
1436 return fud;
1440 void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc)
1442 fud->fc = fuse_conn_get(fc);
1444 list_add_tail(&fud->entry, &fc->devices);
1451 struct fuse_dev *fud;
1453 fud = fuse_dev_alloc();
1454 if (!fud)
1457 fuse_dev_install(fud, fc);
1458 return fud;
1462 void fuse_dev_free(struct fuse_dev *fud)
1464 struct fuse_conn *fc = fud->fc;
1468 list_del(&fud->entry);
1473 kfree(fud->pq.processing);
1474 kfree(fud);
1622 struct fuse_dev *fud = NULL;
1657 fud = fuse_dev_alloc_install(fc);
1658 if (!fud)
1704 *ctx->fudptr = fud;
1712 if (fud)
1713 fuse_dev_free(fud);
1767 struct fuse_dev *fud;
1807 fud = READ_ONCE(ctx->file->private_data);
1808 if (ctx->file->f_op == &fuse_dev_operations && fud) {
1809 fsc->sget_key = fud->fc;