• Home
  • Raw
  • Download

Lines Matching refs:fud

1579 	struct fuse_dev *fud;  in fuse_dev_alloc()  local
1582 fud = kzalloc(sizeof(struct fuse_dev), GFP_KERNEL); in fuse_dev_alloc()
1583 if (!fud) in fuse_dev_alloc()
1588 kfree(fud); in fuse_dev_alloc()
1592 fud->pq.processing = pq; in fuse_dev_alloc()
1593 fuse_pqueue_init(&fud->pq); in fuse_dev_alloc()
1595 return fud; in fuse_dev_alloc()
1599 void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc) in fuse_dev_install() argument
1601 fud->fc = fuse_conn_get(fc); in fuse_dev_install()
1603 list_add_tail(&fud->entry, &fc->devices); in fuse_dev_install()
1610 struct fuse_dev *fud; in fuse_dev_alloc_install() local
1612 fud = fuse_dev_alloc(); in fuse_dev_alloc_install()
1613 if (!fud) in fuse_dev_alloc_install()
1616 fuse_dev_install(fud, fc); in fuse_dev_alloc_install()
1617 return fud; in fuse_dev_alloc_install()
1621 void fuse_dev_free(struct fuse_dev *fud) in fuse_dev_free() argument
1623 struct fuse_conn *fc = fud->fc; in fuse_dev_free()
1627 list_del(&fud->entry); in fuse_dev_free()
1632 kfree(fud->pq.processing); in fuse_dev_free()
1633 kfree(fud); in fuse_dev_free()
1764 struct fuse_dev *fud = NULL; in fuse_fill_super_common() local
1799 fud = fuse_dev_alloc_install(fc); in fuse_fill_super_common()
1800 if (!fud) in fuse_fill_super_common()
1849 *ctx->fudptr = fud; in fuse_fill_super_common()
1857 if (fud) in fuse_fill_super_common()
1858 fuse_dev_free(fud); in fuse_fill_super_common()
1914 struct fuse_dev *fud; in fuse_get_tree() local
1954 fud = READ_ONCE(ctx->file->private_data); in fuse_get_tree()
1955 if (ctx->file->f_op == &fuse_dev_operations && fud) { in fuse_get_tree()
1956 fsc->sget_key = fud->fc; in fuse_get_tree()