Lines Matching refs:fud
1061 struct fuse_dev *fud; in fuse_dev_alloc() local
1064 fud = kzalloc(sizeof(struct fuse_dev), GFP_KERNEL); in fuse_dev_alloc()
1065 if (!fud) in fuse_dev_alloc()
1070 kfree(fud); in fuse_dev_alloc()
1074 fud->pq.processing = pq; in fuse_dev_alloc()
1075 fuse_pqueue_init(&fud->pq); in fuse_dev_alloc()
1077 return fud; in fuse_dev_alloc()
1081 void fuse_dev_install(struct fuse_dev *fud, struct fuse_conn *fc) in fuse_dev_install() argument
1083 fud->fc = fuse_conn_get(fc); in fuse_dev_install()
1085 list_add_tail(&fud->entry, &fc->devices); in fuse_dev_install()
1092 struct fuse_dev *fud; in fuse_dev_alloc_install() local
1094 fud = fuse_dev_alloc(); in fuse_dev_alloc_install()
1095 if (!fud) in fuse_dev_alloc_install()
1098 fuse_dev_install(fud, fc); in fuse_dev_alloc_install()
1099 return fud; in fuse_dev_alloc_install()
1103 void fuse_dev_free(struct fuse_dev *fud) in fuse_dev_free() argument
1105 struct fuse_conn *fc = fud->fc; in fuse_dev_free()
1109 list_del(&fud->entry); in fuse_dev_free()
1114 kfree(fud->pq.processing); in fuse_dev_free()
1115 kfree(fud); in fuse_dev_free()
1121 struct fuse_dev *fud; in fuse_fill_super_common() local
1163 fud = fuse_dev_alloc_install(fc); in fuse_fill_super_common()
1164 if (!fud) in fuse_fill_super_common()
1208 *ctx->fudptr = fud; in fuse_fill_super_common()
1216 fuse_dev_free(fud); in fuse_fill_super_common()