Lines Matching refs:fc
58 struct fuse_conn fc; /* fuse connection */ member
70 static struct cuse_conn *fc_to_cc(struct fuse_conn *fc) in fc_to_cc() argument
72 return container_of(fc, struct cuse_conn, fc); in fc_to_cc()
121 fuse_conn_get(&pos->fc); in cuse_open()
135 rc = fuse_do_open(&cc->fc, 0, file, 0); in cuse_open()
137 fuse_conn_put(&cc->fc); in cuse_open()
144 struct fuse_conn *fc = ff->fc; in cuse_release() local
147 fuse_conn_put(fc); in cuse_release()
156 struct cuse_conn *cc = fc_to_cc(ff->fc); in cuse_file_ioctl()
169 struct cuse_conn *cc = fc_to_cc(ff->fc); in cuse_file_compat_ioctl()
307 static void cuse_process_init_reply(struct fuse_conn *fc, struct fuse_req *req) in cuse_process_init_reply() argument
309 struct cuse_conn *cc = fc_to_cc(fc), *pos; in cuse_process_init_reply()
323 fc->minor = arg->minor; in cuse_process_init_reply()
324 fc->max_read = max_t(unsigned, arg->max_read, 4096); in cuse_process_init_reply()
325 fc->max_write = max_t(unsigned, arg->max_write, 4096); in cuse_process_init_reply()
409 fuse_abort_conn(fc); in cuse_process_init_reply()
418 struct fuse_conn *fc = &cc->fc; in cuse_send_init() local
424 req = fuse_get_req_for_background(fc, 1); in cuse_send_init()
457 fuse_request_send_background(fc, req); in cuse_send_init()
464 fuse_put_request(fc, req); in cuse_send_init()
469 static void cuse_fc_release(struct fuse_conn *fc) in cuse_fc_release() argument
471 struct cuse_conn *cc = fc_to_cc(fc); in cuse_fc_release()
472 kfree_rcu(cc, fc.rcu); in cuse_fc_release()
501 fuse_conn_init(&cc->fc); in cuse_channel_open()
503 fud = fuse_dev_alloc(&cc->fc); in cuse_channel_open()
510 cc->fc.release = cuse_fc_release; in cuse_channel_open()
512 cc->fc.initialized = 1; in cuse_channel_open()
537 struct cuse_conn *cc = fc_to_cc(fud->fc); in cuse_channel_release()
553 fuse_conn_put(&cc->fc); in cuse_channel_release()
574 return sprintf(buf, "%d\n", atomic_read(&cc->fc.num_waiting)); in cuse_class_waiting_show()
584 fuse_abort_conn(&cc->fc); in cuse_class_abort_store()