Lines Matching +full:fiq +full:- +full:based

3   Copyright (C) 2001-2008  Miklos Szeredi <miklos@szeredi.hu>
23 #include <linux/backing-dev.h>
38 /** Bias for fi->writectr, meaning new writepages must not be sent */
46 #define FUSE_NAME_MAX (PATH_MAX - 1)
130 /** The sticky bit in inode->i_mode may have been removed, so
146 /* Files usable in writepage. Protected by fi->lock */
162 /* waitq for direct-io completion */
215 * The underlying inode->i_blkbits value will not be modified,
280 /** RB node to be linked on fuse_conn->polled_files */
286 /** Does file hold a fi->iocachectr refcount? */
404 * FR_URING: request is handled through fuse-io-uring
426 * - FR_ABORTED
427 * - FR_LOCKED (may also be modified under fc->lock, tested under both)
460 /** virtio-fs's physically contiguous buffer for in and out args */
480 * Input queue signalling is device-specific. For example, the /dev/fuse file
481 * uses fiq->waitq and fasync to wake processes that are waiting on queue
489 void (*send_forget)(struct fuse_iqueue *fiq, struct fuse_forget_link *link);
494 void (*send_interrupt)(struct fuse_iqueue *fiq, struct fuse_req *req);
499 void (*send_req)(struct fuse_iqueue *fiq, struct fuse_req *req);
504 void (*release)(struct fuse_iqueue *fiq);
539 /** Device-specific callbacks */
542 /** Device-specific state */
573 /** list entry on fc->devices */
579 FUSE_DAX_ALWAYS, /* "-o dax=always" */
580 FUSE_DAX_NEVER, /* "-o dax=never" */
581 FUSE_DAX_INODE_USER, /* "-o dax=inode" */
642 /** Current epoch for up-to-date dentries */
668 /** Constrain ->max_pages to this value during feature negotiation */
738 /** write-back cache policy (default is write-through) */
814 /** Do multi-page cached writes */
841 /** Does the filesystem support asynchronous direct-IO submission? */
850 /** Check permissions based on the file mode or not? */
874 /* Auto-mount submounts announced by the server */
956 /* Dax specific conn data, non-NULL if DAX is enabled */
989 * inode->i_blkbits.
1006 * Super block for this connection (fc->killsb must be held when
1011 /* Entry on fc->mounts */
1018 * Used as a placeholder in args->in_args[0] for consistency
1025 args->in_args[0].size = sizeof(struct fuse_zero_header); in fuse_set_zero_arg0()
1026 args->in_args[0].value = NULL; in fuse_set_zero_arg0()
1031 return sb->s_fs_info; in get_fuse_mount_super()
1036 return get_fuse_mount_super(sb)->fc; in get_fuse_conn_super()
1041 return get_fuse_mount_super(inode->i_sb); in get_fuse_mount()
1046 return get_fuse_mount_super(inode->i_sb)->fc; in get_fuse_conn()
1056 return get_fuse_inode(inode)->nodeid; in get_node_id()
1066 return atomic64_read(&fc->attr_version); in fuse_get_attr_version()
1071 return atomic64_read(&fc->evict_ctr); in fuse_get_evict_ctr()
1077 return inode->i_generation != generation || in fuse_stale_inode()
1078 inode_wrong_type(inode, attr->mode); in fuse_stale_inode()
1083 set_bit(FUSE_I_BAD, &get_fuse_inode(inode)->state); in fuse_make_bad()
1088 return unlikely(test_bit(FUSE_I_BAD, &get_fuse_inode(inode)->state)); in fuse_is_bad()
1110 descs[i].length = PAGE_SIZE - descs[i].offset; in fuse_folio_descs_length_init()
1117 if (atomic_dec_and_test(&bucket->count)) in fuse_sync_bucket_dec()
1118 wake_up(&bucket->waitq); in fuse_sync_bucket_dec()
1266 void fuse_request_assign_unique(struct fuse_iqueue *fiq, struct fuse_req *req);
1299 fuse_time_to_jiffies((o)->attr_valid, (o)->attr_valid_nsec)
1333 * @sb: partially-initialized superblock to fill in
1397 * The caller must hold fc->killsb.
1403 * File-system tells the kernel to invalidate cache for the given node id.
1409 * File-system tells the kernel to invalidate parent attributes and
1412 * If the child_nodeid is non-zero and:
1413 * - matches the inode number for the dentry matching parent/name,
1414 * - is not a mount point
1415 * - is a file or oan empty directory
1434 /** If set, it is WRITE; otherwise - READ */
1437 /** CUSE pass fuse_direct_io() a file which f_mapping->host is not from FUSE */
1488 u64 fuse_get_unique(struct fuse_iqueue *fiq);
1563 return READ_ONCE(fi->fb); in fuse_inode_backing()
1573 return xchg(&fi->fb, fb); in fuse_inode_backing_set()
1585 return ff->passthrough; in fuse_file_passthrough()