Lines Matching refs:fm
12 static ssize_t fuse_send_ioctl(struct fuse_mount *fm, struct fuse_args *args) in fuse_send_ioctl() argument
14 ssize_t ret = fuse_simple_request(fm, args); in fuse_send_ioctl()
162 struct fuse_mount *fm = ff->fm; in fuse_do_ioctl() local
195 ap.pages = fuse_pages_alloc(fm->fc->max_pages, GFP_KERNEL, &ap.descs); in fuse_do_ioctl()
200 fuse_page_descs_length_init(ap.descs, 0, fm->fc->max_pages); in fuse_do_ioctl()
236 if (max_pages > fm->fc->max_pages) in fuse_do_ioctl()
273 transferred = fuse_send_ioctl(fm, &ap.args); in fuse_do_ioctl()
301 err = fuse_copy_ioctl_iovec(fm->fc, iov_page, vaddr, in fuse_do_ioctl()
311 err = fuse_verify_ioctl_iov(fm->fc, in_iov, in_iovs); in fuse_do_ioctl()
315 err = fuse_verify_ioctl_iov(fm->fc, out_iov, out_iovs); in fuse_do_ioctl()
373 struct fuse_mount *fm = ff->fm; in fuse_priv_ioctl() local
407 err = fuse_send_ioctl(fm, &args); in fuse_priv_ioctl()
419 struct fuse_mount *fm = get_fuse_mount(inode); in fuse_priv_ioctl_prepare() local
425 return fuse_file_open(fm, get_node_id(inode), O_RDONLY, isdir); in fuse_priv_ioctl_prepare()