Lines Matching defs:fm

43 static void fuse_request_init(struct fuse_mount *fm, struct fuse_req *req)
50 req->fm = fm;
53 static struct fuse_req *fuse_request_alloc(struct fuse_mount *fm, gfp_t flags)
57 fuse_request_init(fm, req);
106 static struct fuse_req *fuse_get_req(struct fuse_mount *fm, bool for_background)
108 struct fuse_conn *fc = fm->fc;
130 req = fuse_request_alloc(fm, GFP_KERNEL);
160 struct fuse_conn *fc = req->fm->fc;
282 struct fuse_mount *fm = req->fm;
283 struct fuse_conn *fc = fm->fc;
328 req->args->end(fm, req->args, req->out.h.error);
336 struct fuse_iqueue *fiq = &req->fm->fc->iq;
366 struct fuse_conn *fc = req->fm->fc;
412 struct fuse_iqueue *fiq = &req->fm->fc->iq;
467 struct fuse_conn *fc = req->fm->fc;
485 ssize_t fuse_simple_request(struct fuse_mount *fm, struct fuse_args *args)
487 struct fuse_conn *fc = fm->fc;
493 req = fuse_request_alloc(fm, GFP_KERNEL | __GFP_NOFAIL);
502 req = fuse_get_req(fm, false);
526 struct fuse_mount *fm = req->fm;
527 struct fuse_conn *fc = fm->fc;
550 int fuse_simple_background(struct fuse_mount *fm, struct fuse_args *args,
557 req = fuse_request_alloc(fm, gfp_flags);
563 req = fuse_get_req(fm, true);
579 static int fuse_simple_notify_reply(struct fuse_mount *fm,
583 struct fuse_iqueue *fiq = &fm->fc->iq;
586 req = fuse_get_req(fm, false);
1651 static void fuse_retrieve_end(struct fuse_mount *fm, struct fuse_args *args,
1661 static int fuse_retrieve(struct fuse_mount *fm, struct inode *inode,
1672 struct fuse_conn *fc = fm->fc;
1734 err = fuse_simple_notify_reply(fm, args, outarg->notify_unique);
1736 fuse_retrieve_end(fm, args, err);
1745 struct fuse_mount *fm;
1764 inode = fuse_ilookup(fc, nodeid, &fm);
1766 err = fuse_retrieve(fm, inode, &outarg);