/linux/drivers/soc/tegra/fuse/ |
H A D | fuse-tegra20.c | 22 #include <soc/tegra/fuse.h> 24 #include "fuse.h" 30 static u32 tegra20_fuse_read_early(struct tegra_fuse *fuse, unsigned int offset) in tegra20_fuse_read_early() argument 32 return readl_relaxed(fuse->base + FUSE_BEGIN + offset); in tegra20_fuse_read_early() 37 struct tegra_fuse *fuse = args; in apb_dma_complete() local 39 complete(&fuse->apbdma.wait); in apb_dma_complete() 42 static u32 tegra20_fuse_read(struct tegra_fuse *fuse, unsigned int offset) in tegra20_fuse_read() argument 50 err = pm_runtime_resume_and_get(fuse->dev); in tegra20_fuse_read() 54 mutex_lock(&fuse->apbdma.lock); in tegra20_fuse_read() 56 fuse->apbdma.config.src_addr = fuse->phys + FUSE_BEGIN + offset; in tegra20_fuse_read() [all …]
|
H A D | fuse.h | 21 u32 (*read)(struct tegra_fuse *fuse, unsigned int offset); 27 void (*init)(struct tegra_fuse *fuse); 29 int (*probe)(struct tegra_fuse *fuse); 52 u32 (*read_early)(struct tegra_fuse *fuse, unsigned int offset); 53 u32 (*read)(struct tegra_fuse *fuse, unsigned int offset);
|
H A D | Makefile | 2 obj-y += fuse-tegra.o 3 obj-y += fuse-tegra30.o 5 obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += fuse-tegra20.o
|
/linux/Documentation/filesystems/fuse/ |
H A D | fuse-passthrough.rst | 4 FUSE Passthrough 10 FUSE (Filesystem in Userspace) passthrough is a feature designed to improve the 11 performance of FUSE filesystems for I/O operations. Typically, FUSE operations 12 involve communication between the kernel and a userspace FUSE daemon, which can 13 incur overhead. Passthrough allows certain operations on a FUSE file to bypass 17 This is achieved by the FUSE daemon registering a file descriptor (pointing to 18 the backing file on a lower filesystem) with the FUSE kernel module. The kernel 20 When a FUSE file is subsequently opened, the FUSE daemon can, in its response to 31 To use FUSE passthrough: 33 1. The FUSE filesystem must be compiled with ``CONFIG_FUSE_PASSTHROUGH`` [all …]
|
H A D | fuse-io-uring.rst | 4 FUSE-over-io-uring design documentation 7 This documentation covers basic details how the fuse 9 and works. For generic details about FUSE see fuse.rst. 17 is required to also handle requests through /dev/fuse after io-uring setup 21 Fuse io-uring configuration 24 Fuse kernel requests are queued through the classical /dev/fuse 27 In order to set up fuse-over-io-uring fuse-server (user-space) 28 needs to submit SQEs (opcode = IORING_OP_URING_CMD) to the /dev/fuse 35 Note, every CPU core has its own fuse-io-uring queue. 36 Userspace handles the CQE/fuse-request and submits the result as [all …]
|
H A D | fuse.rst | 4 FUSE Overview 37 What is FUSE? 40 FUSE is a userspace filesystem framework. It consists of a kernel 41 module (fuse.ko), a userspace library (libfuse.*) and a mount utility 44 One of the most important features of FUSE is allowing secure, 50 `FUSE homepage: <https://github.com/libfuse/>`_ 57 fuse 58 This is the usual way to mount a FUSE filesystem. The first 72 obtained by opening the FUSE device ('/dev/fuse'). 84 By default FUSE doesn't check file access permissions, the [all …]
|
H A D | index.rst | 4 FUSE (Filesystem in Userspace) Technical Documentation 11 fuse 12 fuse-io 13 fuse-io-uring 14 fuse-passthrough
|
/linux/drivers/pmdomain/qcom/ |
H A D | cpr.c | 146 /* fuse quot */ 150 /* fuse quot_offset */ 367 struct fuse_corner *fuse = corner->fuse_corner; in cpr_corner_restore() local 371 ro_sel = fuse->ring_osc_idx; in cpr_corner_restore() 373 gcnt |= fuse->quot - corner->quot_adjust; in cpr_corner_restore() 377 step_quot |= fuse->step_quot & RBCPR_STEP_QUOT_STEPQUOT_MASK; in cpr_corner_restore() 802 struct fuse_corner *fuse = drv->fuse_corners; in cpr_populate_ring_osc_idx() local 803 struct fuse_corner *end = fuse + drv->desc->num_fuse_corners; in cpr_populate_ring_osc_idx() 808 for (; fuse < end; fuse++, fuses++) { in cpr_populate_ring_osc_idx() 812 fuse->ring_osc_idx = data; in cpr_populate_ring_osc_idx() [all …]
|
/linux/fs/fuse/ |
H A D | Kconfig | 3 tristate "FUSE (Filesystem in Userspace) support" 7 With FUSE it is possible to implement a fully functional filesystem 11 from the FUSE homepage: 14 installed if you've installed the "fuse" package itself. 16 See <file:Documentation/filesystems/fuse/fuse.rst> for more information. 20 a filesystem based on FUSE, answer Y or M. 26 This FUSE extension allows character devices to be 58 bool "FUSE passthrough operations support" 63 This allows bypassing FUSE server by mapping specific FUSE operations 69 bool "FUSE communication over io-uring" [all …]
|
H A D | Makefile | 3 # Makefile for the FUSE filesystem. 9 obj-$(CONFIG_FUSE_FS) += fuse.o 13 fuse-y := trace.o # put trace.o first so we see ftrace errors sooner 14 fuse-y += dev.o dir.o file.o inode.o control.o xattr.o acl.o readdir.o ioctl.o 15 fuse-y += iomode.o 16 fuse-$(CONFIG_FUSE_DAX) += dax.o 17 fuse-$(CONFIG_FUSE_PASSTHROUGH) += passthrough.o backing.o 18 fuse-$(CONFIG_SYSCTL) += sysctl.o 19 fuse-$(CONFIG_FUSE_IO_URING) += dev_uring.o
|
H A D | fuse_i.h | 2 FUSE: Filesystem in Userspace 13 # define pr_fmt(fmt) "fuse: " fmt 16 #include <linux/fuse.h> 109 /** FUSE inode */ 221 /** FUSE inode state bits */ 241 /** FUSE specific file data */ 243 /** Fuse connection for this file */ 311 /** FUSE folio descriptor */ 404 * FR_URING: request is handled through fuse-io-uring 480 * Input queue signalling is device-specific. For example, the /dev/fuse file [all …]
|
H A D | acl.c | 2 * FUSE: Filesystem in Userspace 84 * FUSE daemons before FUSE_POSIX_ACL was introduced could get and set in fuse_get_inode_acl() 119 * Fuse userspace is responsible for updating access in fuse_set_acl() 142 * Fuse daemons without FUSE_POSIX_ACL never changed the passed in fuse_set_acl() 159 * Fuse daemons without FUSE_POSIX_ACL never cached POSIX ACLs in fuse_set_acl()
|
/linux/Documentation/filesystems/ |
H A D | virtiofs.rst | 46 ro, rw, context, etc. It also supports FUSE mount options. 58 Since the virtio-fs device uses the FUSE protocol for file system requests, the 59 virtiofs file system for Linux is integrated closely with the FUSE file system 60 client. The guest acts as the FUSE client while the host acts as the FUSE 61 server. The /dev/fuse interface between the kernel and userspace is replaced 64 FUSE requests are placed into a virtqueue and processed by the host. The 68 Mapping /dev/fuse to virtqueues requires solving differences in semantics 69 between /dev/fuse and virtqueues. Each time the /dev/fuse device is read, the 70 FUSE client may choose which request to transfer, making it possible to
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fuse/ |
H A D | base.c | 27 nvkm_fuse_read(struct nvkm_fuse *fuse, u32 addr) in nvkm_fuse_read() argument 29 return fuse->func->read(fuse, addr); in nvkm_fuse_read() 47 struct nvkm_fuse *fuse; in nvkm_fuse_new_() local 48 if (!(fuse = *pfuse = kzalloc(sizeof(*fuse), GFP_KERNEL))) in nvkm_fuse_new_() 50 nvkm_subdev_ctor(&nvkm_fuse, device, type, inst, &fuse->subdev); in nvkm_fuse_new_() 51 fuse->func = func; in nvkm_fuse_new_() 52 spin_lock_init(&fuse->lock); in nvkm_fuse_new_()
|
H A D | Kbuild | 2 nvkm-y += nvkm/subdev/fuse/base.o 3 nvkm-y += nvkm/subdev/fuse/nv50.o 4 nvkm-y += nvkm/subdev/fuse/gf100.o 5 nvkm-y += nvkm/subdev/fuse/gm107.o
|
H A D | nv50.c | 27 nv50_fuse_read(struct nvkm_fuse *fuse, u32 addr) in nv50_fuse_read() argument 29 struct nvkm_device *device = fuse->subdev.device; in nv50_fuse_read() 34 spin_lock_irqsave(&fuse->lock, flags); in nv50_fuse_read() 38 spin_unlock_irqrestore(&fuse->lock, flags); in nv50_fuse_read()
|
H A D | gf100.c | 27 gf100_fuse_read(struct nvkm_fuse *fuse, u32 addr) in gf100_fuse_read() argument 29 struct nvkm_device *device = fuse->subdev.device; in gf100_fuse_read() 34 spin_lock_irqsave(&fuse->lock, flags); in gf100_fuse_read() 40 spin_unlock_irqrestore(&fuse->lock, flags); in gf100_fuse_read()
|
/linux/Documentation/devicetree/bindings/fuse/ |
H A D | nvidia,tegra20-fuse.yaml | 4 $id: http://devicetree.org/schemas/fuse/nvidia,tegra20-fuse.yaml# 7 title: NVIDIA Tegra FUSE block 38 - const: fuse 45 - const: fuse 81 fuse@7000f800 { 85 clock-names = "fuse"; 87 reset-names = "fuse";
|
/linux/Documentation/devicetree/bindings/opp/ |
H A D | opp-v2-qcom-level.yaml | 27 qcom,opp-fuse-level: 29 A positive value representing the fuse corner/level associated with 30 this OPP node. Sometimes several corners/levels shares a certain fuse 31 corner/level. A fuse corner/level contains e.g. ref uV, min uV, 39 - qcom,opp-fuse-level 53 qcom,opp-fuse-level = <1>; 57 qcom,opp-fuse-level = <2>; 61 qcom,opp-fuse-level = <3>;
|
/linux/drivers/media/platform/amphion/ |
H A D | vpu_imx8q.c | 228 u32 fuse = vpu_imx8q_get_fuse(); in vpu_imx8q_check_codec() local 231 if (fuse & VPU_ENCODER_MASK) in vpu_imx8q_check_codec() 234 fuse >>= VPU_IMX_DECODER_FUSE_OFFSET; in vpu_imx8q_check_codec() 235 fuse &= VPU_DECODER_MASK; in vpu_imx8q_check_codec() 237 if (fuse == VPU_DECODER_MASK) in vpu_imx8q_check_codec() 245 u32 fuse = vpu_imx8q_get_fuse(); in vpu_imx8q_check_fmt() local 248 fuse >>= VPU_IMX_DECODER_FUSE_OFFSET; in vpu_imx8q_check_fmt() 249 fuse &= VPU_DECODER_MASK; in vpu_imx8q_check_fmt() 251 if (fuse == VPU_DECODER_HEVC_MASK && pixelfmt == V4L2_PIX_FMT_HEVC) in vpu_imx8q_check_fmt() 253 if (fuse == VPU_DECODER_H264_MASK && pixelfmt == V4L2_PIX_FMT_H264) in vpu_imx8q_check_fmt() [all …]
|
/linux/tools/testing/selftests/filesystems/fuse/ |
H A D | fusectl_test.c | 22 #define FUSECTL_MOUNTPOINT "/sys/fs/fuse/connections" 24 #define FUSE_DEVICE "/dev/fuse" 65 "Failed to create FUSE mountpoint %s", in FIXTURE_SETUP() 70 "FUSE control filesystem not mounted"); in FIXTURE_SETUP() 75 "Failed to fork FUSE daemon process: %s", in FIXTURE_SETUP() 86 "Failed to start FUSE daemon %s", in FIXTURE_SETUP() 92 "Failed to stat FUSE mountpoint %s", in FIXTURE_SETUP() 109 sprintf(path_buf, "/sys/fs/fuse/connections/%d/abort", self->connection); in TEST_F()
|
H A D | Makefile | 10 VAR_CFLAGS := $(shell pkg-config fuse --cflags 2>/dev/null) 12 VAR_CFLAGS := -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse 15 VAR_LDLIBS := $(shell pkg-config fuse --libs 2>/dev/null)
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
H A D | gf117.c | 26 #include <subdev/fuse.h> 32 struct nvkm_fuse *fuse = device->fuse; in gf117_volt_speedo_read() local 34 if (!fuse) in gf117_volt_speedo_read() 37 return nvkm_fuse_read(fuse, 0x3a8); in gf117_volt_speedo_read()
|
H A D | gf100.c | 26 #include <subdev/fuse.h> 32 struct nvkm_fuse *fuse = device->fuse; in gf100_volt_speedo_read() local 34 if (!fuse) in gf100_volt_speedo_read() 37 return nvkm_fuse_read(fuse, 0x1cc); in gf100_volt_speedo_read()
|
H A D | gk104.c | 30 #include <subdev/fuse.h> 72 struct nvkm_fuse *fuse = device->fuse; in gk104_volt_speedo_read() local 75 if (!fuse) in gk104_volt_speedo_read() 79 ret = nvkm_fuse_read(fuse, 0x3a8); in gk104_volt_speedo_read()
|