Lines Matching refs:fm

43 static void fuse_request_init(struct fuse_mount *fm, struct fuse_req *req)  in fuse_request_init()  argument
50 req->fm = fm; in fuse_request_init()
53 static struct fuse_req *fuse_request_alloc(struct fuse_mount *fm, gfp_t flags) in fuse_request_alloc() argument
57 fuse_request_init(fm, req); in fuse_request_alloc()
106 static struct fuse_req *fuse_get_req(struct fuse_mount *fm, bool for_background) in fuse_get_req() argument
108 struct fuse_conn *fc = fm->fc; in fuse_get_req()
130 req = fuse_request_alloc(fm, GFP_KERNEL); in fuse_get_req()
160 struct fuse_conn *fc = req->fm->fc; in fuse_put_request()
282 struct fuse_mount *fm = req->fm; in fuse_request_end() local
283 struct fuse_conn *fc = fm->fc; in fuse_request_end()
328 req->args->end(fm, req->args, req->out.h.error); in fuse_request_end()
336 struct fuse_iqueue *fiq = &req->fm->fc->iq; in queue_interrupt()
366 struct fuse_conn *fc = req->fm->fc; in request_wait_answer()
412 struct fuse_iqueue *fiq = &req->fm->fc->iq; in __fuse_request_send()
467 struct fuse_conn *fc = req->fm->fc; in fuse_force_creds()
483 ssize_t fuse_simple_request(struct fuse_mount *fm, struct fuse_args *args) in fuse_simple_request() argument
485 struct fuse_conn *fc = fm->fc; in fuse_simple_request()
491 req = fuse_request_alloc(fm, GFP_KERNEL | __GFP_NOFAIL); in fuse_simple_request()
500 req = fuse_get_req(fm, false); in fuse_simple_request()
524 struct fuse_mount *fm = req->fm; in fuse_request_queue_background() local
525 struct fuse_conn *fc = fm->fc; in fuse_request_queue_background()
548 int fuse_simple_background(struct fuse_mount *fm, struct fuse_args *args, in fuse_simple_background() argument
555 req = fuse_request_alloc(fm, gfp_flags); in fuse_simple_background()
561 req = fuse_get_req(fm, true); in fuse_simple_background()
577 static int fuse_simple_notify_reply(struct fuse_mount *fm, in fuse_simple_notify_reply() argument
581 struct fuse_iqueue *fiq = &fm->fc->iq; in fuse_simple_notify_reply()
584 req = fuse_get_req(fm, false); in fuse_simple_notify_reply()
1648 static void fuse_retrieve_end(struct fuse_mount *fm, struct fuse_args *args, in fuse_retrieve_end() argument
1658 static int fuse_retrieve(struct fuse_mount *fm, struct inode *inode, in fuse_retrieve() argument
1669 struct fuse_conn *fc = fm->fc; in fuse_retrieve()
1731 err = fuse_simple_notify_reply(fm, args, outarg->notify_unique); in fuse_retrieve()
1733 fuse_retrieve_end(fm, args, err); in fuse_retrieve()
1742 struct fuse_mount *fm; in fuse_notify_retrieve() local
1761 inode = fuse_ilookup(fc, nodeid, &fm); in fuse_notify_retrieve()
1763 err = fuse_retrieve(fm, inode, &outarg); in fuse_notify_retrieve()