Lines Matching defs:fud
1187 struct fuse_dev *fud;
1190 fud = kzalloc(sizeof(struct fuse_dev), GFP_KERNEL);
1191 if (!fud)
1196 kfree(fud);
1200 fud->pq.processing = pq;
1201 fuse_pqueue_init(&fud->pq);
1203 return fud;
1207 void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc)
1209 fud->fc = fuse_conn_get(fc);
1211 list_add_tail(&fud->entry, &fc->devices);
1218 struct fuse_dev *fud;
1220 fud = fuse_dev_alloc();
1221 if (!fud)
1224 fuse_dev_install(fud, fc);
1225 return fud;
1229 void fuse_dev_free(struct fuse_dev *fud)
1231 struct fuse_conn *fc = fud->fc;
1235 list_del(&fud->entry);
1240 kfree(fud->pq.processing);
1241 kfree(fud);
1328 struct fuse_dev *fud = NULL;
1362 fud = fuse_dev_alloc_install(fc);
1363 if (!fud)
1409 *ctx->fudptr = fud;
1417 if (fud)
1418 fuse_dev_free(fud);