Lines Matching +full:fiq +full:- +full:device

3   Copyright (C) 2001-2008  Miklos Szeredi <miklos@szeredi.hu>
23 #include <linux/backing-dev.h>
41 /** Bias for fi->writectr, meaning new writepages must not be sent */
100 /** The sticky bit in inode->i_mode may have been removed, so
116 /* Files usable in writepage. Protected by fi->lock */
241 /** RB node to be linked on fuse_conn->polled_files */
359 * - FR_ABORTED
360 * - FR_LOCKED (may also be modified under fc->lock, tested under both)
393 /** virtio-fs's physically contiguous buffer for in and out args */
406 * Input queue signalling is device-specific. For example, the /dev/fuse file
407 * uses fiq->waitq and fasync to wake processes that are waiting on queue
408 * readiness. These callbacks allow other device types to respond to input
415 void (*wake_forget_and_unlock)(struct fuse_iqueue *fiq)
416 __releases(fiq->lock);
421 void (*wake_interrupt_and_unlock)(struct fuse_iqueue *fiq)
422 __releases(fiq->lock);
427 void (*wake_pending_and_unlock)(struct fuse_iqueue *fiq)
428 __releases(fiq->lock);
433 void (*release)(struct fuse_iqueue *fiq);
468 /** Device-specific callbacks */
471 /** Device-specific state */
493 * Fuse device instance
496 /** Fuse connection for this device */
502 /** list entry on fc->devices */
508 FUSE_DAX_ALWAYS, /* "-o dax=always" */
509 FUSE_DAX_NEVER, /* "-o dax=never" */
510 FUSE_DAX_INODE_USER, /* "-o dax=inode" */
540 /* DAX device, may be NULL */
558 * is destroyed, when the client device is closed and the last
594 /** Constrain ->max_pages to this value during feature negotiation */
638 abort and device release */
664 /** write-back cache policy (default is write-through) */
740 /** Do multi-page cached writes */
767 /** Does the filesystem support asynchronous direct-IO submission? */
797 /* Auto-mount submounts announced by the server */
830 /** Device ID from the root super block */
854 /** List of device instances belonging to this connection */
861 /* Dax specific conn data, non-NULL if DAX is enabled */
876 * allow submounts with dedicated superblocks and thus separate device
884 * Super block for this connection (fc->killsb must be held when
889 /* Entry on fc->mounts */
896 return sb->s_fs_info; in get_fuse_mount_super()
901 return get_fuse_mount_super(sb)->fc; in get_fuse_conn_super()
906 return get_fuse_mount_super(inode->i_sb); in get_fuse_mount()
911 return get_fuse_mount_super(inode->i_sb)->fc; in get_fuse_conn()
921 return get_fuse_inode(inode)->nodeid; in get_node_id()
931 return atomic64_read(&fc->attr_version); in fuse_get_attr_version()
937 return inode->i_generation != generation || in fuse_stale_inode()
938 inode_wrong_type(inode, attr->mode); in fuse_stale_inode()
943 set_bit(FUSE_I_BAD, &get_fuse_inode(inode)->state); in fuse_make_bad()
948 return unlikely(test_bit(FUSE_I_BAD, &get_fuse_inode(inode)->state)); in fuse_is_bad()
970 descs[i].length = PAGE_SIZE - descs[i].offset; in fuse_page_descs_length_init()
977 if (atomic_dec_and_test(&bucket->count)) in fuse_sync_bucket_dec()
978 wake_up(&bucket->waitq); in fuse_sync_bucket_dec()
982 /** Device operations */
1006 struct fuse_forget_link *fuse_dequeue_forget(struct fuse_iqueue *fiq,
1097 * Initialize the client device
1102 * Cleanup the client device
1144 fuse_time_to_jiffies((o)->attr_valid, (o)->attr_valid_nsec)
1173 * @sb: partially-initialized superblock to fill in
1237 * The caller must hold fc->killsb.
1243 * File-system tells the kernel to invalidate cache for the given node id.
1249 * File-system tells the kernel to invalidate parent attributes and
1252 * If the child_nodeid is non-zero and:
1253 * - matches the inode number for the dentry matching parent/name,
1254 * - is not a mount point
1255 * - is a file or oan empty directory
1268 /** If set, it is WRITE; otherwise - READ */
1271 /** CUSE pass fuse_direct_io() a file which f_mapping->host is not from FUSE */
1322 u64 fuse_get_unique(struct fuse_iqueue *fiq);