Home
last modified time | relevance | path

Searched refs:fs (Results 1 – 25 of 53) sorted by relevance

123

/fs/
Dfs_struct.c15 void set_fs_root(struct fs_struct *fs, const struct path *path) in set_fs_root() argument
20 spin_lock(&fs->lock); in set_fs_root()
21 write_seqcount_begin(&fs->seq); in set_fs_root()
22 old_root = fs->root; in set_fs_root()
23 fs->root = *path; in set_fs_root()
24 write_seqcount_end(&fs->seq); in set_fs_root()
25 spin_unlock(&fs->lock); in set_fs_root()
34 void set_fs_pwd(struct fs_struct *fs, const struct path *path) in set_fs_pwd() argument
39 spin_lock(&fs->lock); in set_fs_pwd()
40 write_seqcount_begin(&fs->seq); in set_fs_pwd()
[all …]
Dfilesystems.c38 struct file_system_type *get_filesystem(struct file_system_type *fs) in get_filesystem() argument
40 __module_get(fs->owner); in get_filesystem()
41 return fs; in get_filesystem()
44 void put_filesystem(struct file_system_type *fs) in put_filesystem() argument
46 module_put(fs->owner); in put_filesystem()
72 int register_filesystem(struct file_system_type * fs) in register_filesystem() argument
77 if (fs->parameters && !fs_validate_description(fs->parameters)) in register_filesystem()
80 BUG_ON(strchr(fs->name, '.')); in register_filesystem()
81 if (fs->next) in register_filesystem()
84 p = find_filesystem(fs->name, strlen(fs->name)); in register_filesystem()
[all …]
DKconfig23 source "fs/ext2/Kconfig"
24 source "fs/ext4/Kconfig"
25 source "fs/jbd2/Kconfig"
34 source "fs/reiserfs/Kconfig"
35 source "fs/jfs/Kconfig"
37 source "fs/xfs/Kconfig"
38 source "fs/gfs2/Kconfig"
39 source "fs/ocfs2/Kconfig"
40 source "fs/btrfs/Kconfig"
41 source "fs/nilfs2/Kconfig"
[all …]
Dd_path.c232 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu() argument
237 seq = read_seqcount_begin(&fs->seq); in get_fs_root_rcu()
238 *root = fs->root; in get_fs_root_rcu()
239 } while (read_seqcount_retry(&fs->seq, seq)); in get_fs_root_rcu()
280 get_fs_root_rcu(current->fs, &root); in d_path()
395 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, in get_fs_root_and_pwd_rcu() argument
401 seq = read_seqcount_begin(&fs->seq); in get_fs_root_and_pwd_rcu()
402 *root = fs->root; in get_fs_root_and_pwd_rcu()
403 *pwd = fs->pwd; in get_fs_root_and_pwd_rcu()
404 } while (read_seqcount_retry(&fs->seq, seq)); in get_fs_root_and_pwd_rcu()
[all …]
Dfhandle.c120 struct fs_struct *fs = current->fs; in get_vfsmount_from_fd() local
121 spin_lock(&fs->lock); in get_vfsmount_from_fd()
122 mnt = mntget(fs->pwd.mnt); in get_vfsmount_from_fd()
123 spin_unlock(&fs->lock); in get_vfsmount_from_fd()
Dexec.c1499 spin_lock(&p->fs->lock); in check_unsafe_exec()
1502 if (t->fs == p->fs) in check_unsafe_exec()
1507 if (p->fs->users > n_fs) in check_unsafe_exec()
1510 p->fs->in_exec = 1; in check_unsafe_exec()
1511 spin_unlock(&p->fs->lock); in check_unsafe_exec()
1827 current->fs->in_exec = 0; in __do_execve_file()
1847 current->fs->in_exec = 0; in __do_execve_file()
Dproc_namespace.c265 if (!task->fs) { in mounts_open_common()
271 get_fs_root(task->fs, &root); in mounts_open_common()
/fs/fuse/
Dvirtio_fs.c63 struct virtio_fs *fs = vq->vdev->priv; in vq_to_fsvq() local
65 return &fs->vqs[vq->index]; in vq_to_fsvq()
95 static void virtio_fs_put(struct virtio_fs *fs) in virtio_fs_put() argument
97 kref_put(&fs->refcount, release_virtio_fs_obj); in virtio_fs_put()
129 static void virtio_fs_drain_all_queues(struct virtio_fs *fs) in virtio_fs_drain_all_queues() argument
134 for (i = 0; i < fs->nvqs; i++) { in virtio_fs_drain_all_queues()
135 fsvq = &fs->vqs[i]; in virtio_fs_drain_all_queues()
140 static void virtio_fs_start_all_queues(struct virtio_fs *fs) in virtio_fs_start_all_queues() argument
145 for (i = 0; i < fs->nvqs; i++) { in virtio_fs_start_all_queues()
146 fsvq = &fs->vqs[i]; in virtio_fs_start_all_queues()
[all …]
/fs/gfs2/
Dutil.h19 #define fs_emerg(fs, fmt, ...) \ argument
20 pr_emerg("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
21 #define fs_warn(fs, fmt, ...) \ argument
22 pr_warn("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
23 #define fs_err(fs, fmt, ...) \ argument
24 pr_err("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
25 #define fs_info(fs, fmt, ...) \ argument
26 pr_info("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
/fs/verity/
DKconfig10 This option enables fs-verity. fs-verity is the dm-verity
25 fs-verity is especially useful on large files where not all
26 the contents may actually be needed. Also, fs-verity verifies
36 Enable debugging messages related to fs-verity by default.
38 Say N unless you are an fs-verity developer.
46 certificates that have been loaded into the ".fs-verity"
/fs/befs/
DChangeLog186 include/linux/fs.h. Also, befs_inode_info is huge (because of the
207 testing purposes. (fs/Config.in)
307 * Made a function to actually count the number of fs blocks used by a file.
309 (fs/befs/inode.c)
319 (fs/befs/inode.c)
325 (fs/befs/inode.c)
329 (fs/befs/inode.c)
335 (fs/befs/super.c) (fs/befs/inode.c)
341 (fs/befs/super.c)
353 typedefs, and they are inlcuded in <linux/fs.h>, which has definitions
[all …]
/fs/notify/
DKconfig6 source "fs/notify/dnotify/Kconfig"
7 source "fs/notify/inotify/Kconfig"
8 source "fs/notify/fanotify/Kconfig"
/fs/fat/
DKconfig15 M to at least one of "MSDOS fs support" or "VFAT fs support" in
37 tristate "MSDOS fs support"
52 partitions, you should use the VFAT file system (say Y to "VFAT fs
57 answer Y. This will only work if you said Y to "DOS FAT fs support"
62 tristate "VFAT (Windows-95) fs support"
71 works if you said Y to the "DOS FAT fs support" above. Please read
/fs/sdcardfs/
Dinode.c97 saved_fs = current->fs; in sdcardfs_create()
98 copied_fs = copy_fs_struct(current->fs); in sdcardfs_create()
105 current->fs = copied_fs; in sdcardfs_create()
122 current->fs = saved_fs; in sdcardfs_create()
254 saved_fs = current->fs; in sdcardfs_mkdir()
255 copied_fs = copy_fs_struct(current->fs); in sdcardfs_mkdir()
263 current->fs = copied_fs; in sdcardfs_mkdir()
323 set_fs_pwd(current->fs, &lower_path); in sdcardfs_mkdir()
334 current->fs = saved_fs; in sdcardfs_mkdir()
/fs/proc/
Dtask_nommu.c57 if (current->fs && current->fs->users > 1) in task_mem()
58 sbytes += kobjsize(current->fs); in task_mem()
60 bytes += kobjsize(current->fs); in task_mem()
/fs/fscache/
DKconfig20 /proc/fs/fscache/stats
37 /proc/fs/fscache/histogram
62 retrieved through /proc/fs/fscache/objects for debugging purposes
/fs/affs/
DChanges20 - The feature to automatically make the fs clean
27 this fs never claimed to be Posix conformant.
54 - enable international mode for dircache fs
145 restored when the fs is unmounted. (BH)
172 inode if the fs was not an OFS. This bug only shows
237 - Owner/Group defaults now to the fs user (i.e.
/fs/cifs/
DKconfig61 request timing to be displayed in /proc/fs/cifs/DebugData and also
63 value of /proc/fs/cifs/cifsFYI, see fs/cifs/README for more details).
105 /proc/fs/cifs (see fs/cifs/README for more detail) or via an
/fs/unicode/
DREADME.utf8data44 Then, build under fs/unicode/ with REGENERATE_UTF8DATA=1:
46 make REGENERATE_UTF8DATA=1 fs/unicode/
/fs/jffs2/
DTODO2 - support asynchronous operation -- add a per-fs 'reserved_space' count,
6 do shared writable mmap, if we can have a fs hook for do_wp_page() to
DMakefile11 jffs2-y += symlink.o build.o erase.o background.o fs.o writev.o
/fs/ocfs2/
DKconfig46 in conjunction with the DLM in fs/dlm. If you are using a
57 This option allows some fs statistics to be captured. Enabling
/fs/hpfs/
Danode.c70 unsigned fs; in hpfs_add_sector_to_btree() local
123fs = n < 0 ? 0 : le32_to_cpu(btree->u.external[n].file_secno) + le32_to_cpu(btree->u.external[n].l… in hpfs_add_sector_to_btree()
159 btree->u.external[n].file_secno = cpu_to_le32(fs); in hpfs_add_sector_to_btree()
181 btree->u.internal[n-1].file_secno = cpu_to_le32(fs); in hpfs_add_sector_to_btree()
258 btree->u.internal[0].file_secno = cpu_to_le32(fs); in hpfs_add_sector_to_btree()
/fs/reiserfs/
DKconfig46 bool "Stats in /proc/fs/reiserfs"
49 Create under /proc/fs/reiserfs a hierarchy of files, displaying
/fs/overlayfs/
Dovl_entry.h34 struct ovl_sb *fs; member

123