• Home
  • Raw
  • Download

Lines Matching refs:fc

60 	struct fuse_conn	fc;	/* fuse connection */  member
72 static struct cuse_conn *fc_to_cc(struct fuse_conn *fc) in fc_to_cc() argument
74 return container_of(fc, struct cuse_conn, fc); in fc_to_cc()
123 fuse_conn_get(&pos->fc); in cuse_open()
137 rc = fuse_do_open(&cc->fc, 0, file, 0); in cuse_open()
139 fuse_conn_put(&cc->fc); in cuse_open()
146 struct fuse_conn *fc = ff->fc; in cuse_release() local
149 fuse_conn_put(fc); in cuse_release()
158 struct cuse_conn *cc = fc_to_cc(ff->fc); in cuse_file_ioctl()
171 struct cuse_conn *cc = fc_to_cc(ff->fc); in cuse_file_compat_ioctl()
316 static void cuse_process_init_reply(struct fuse_conn *fc, in cuse_process_init_reply() argument
321 struct cuse_conn *cc = fc_to_cc(fc), *pos; in cuse_process_init_reply()
333 fc->minor = arg->minor; in cuse_process_init_reply()
334 fc->max_read = max_t(unsigned, arg->max_read, 4096); in cuse_process_init_reply()
335 fc->max_write = max_t(unsigned, arg->max_write, 4096); in cuse_process_init_reply()
419 fuse_abort_conn(fc); in cuse_process_init_reply()
427 struct fuse_conn *fc = &cc->fc; in cuse_send_init() local
463 rc = fuse_simple_background(fc, &ap->args, GFP_KERNEL); in cuse_send_init()
473 static void cuse_fc_release(struct fuse_conn *fc) in cuse_fc_release() argument
475 struct cuse_conn *cc = fc_to_cc(fc); in cuse_fc_release()
476 kfree_rcu(cc, fc.rcu); in cuse_fc_release()
509 fuse_conn_init(&cc->fc, file->f_cred->user_ns, &fuse_dev_fiq_ops, NULL); in cuse_channel_open()
511 fud = fuse_dev_alloc_install(&cc->fc); in cuse_channel_open()
518 cc->fc.release = cuse_fc_release; in cuse_channel_open()
520 cc->fc.initialized = 1; in cuse_channel_open()
524 fuse_conn_put(&cc->fc); in cuse_channel_open()
546 struct cuse_conn *cc = fc_to_cc(fud->fc); in cuse_channel_release()
562 fuse_conn_put(&cc->fc); in cuse_channel_release()
583 return sprintf(buf, "%d\n", atomic_read(&cc->fc.num_waiting)); in cuse_class_waiting_show()
593 fuse_abort_conn(&cc->fc); in cuse_class_abort_store()