Home
last modified time | relevance | path

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

12

/fs/
Dfs_struct.c13 void set_fs_root(struct fs_struct *fs, const struct path *path) in set_fs_root() argument
18 spin_lock(&fs->lock); in set_fs_root()
19 write_seqcount_begin(&fs->seq); in set_fs_root()
20 old_root = fs->root; in set_fs_root()
21 fs->root = *path; in set_fs_root()
22 write_seqcount_end(&fs->seq); in set_fs_root()
23 spin_unlock(&fs->lock); in set_fs_root()
32 void set_fs_pwd(struct fs_struct *fs, const struct path *path) in set_fs_pwd() argument
37 spin_lock(&fs->lock); in set_fs_pwd()
38 write_seqcount_begin(&fs->seq); in set_fs_pwd()
[all …]
DKconfig13 source "fs/ext2/Kconfig"
14 source "fs/ext4/Kconfig"
15 source "fs/jbd2/Kconfig"
24 source "fs/reiserfs/Kconfig"
25 source "fs/jfs/Kconfig"
27 source "fs/xfs/Kconfig"
28 source "fs/gfs2/Kconfig"
29 source "fs/ocfs2/Kconfig"
30 source "fs/btrfs/Kconfig"
31 source "fs/nilfs2/Kconfig"
[all …]
Dfilesystems.c36 void get_filesystem(struct file_system_type *fs) in get_filesystem() argument
38 __module_get(fs->owner); in get_filesystem()
41 void put_filesystem(struct file_system_type *fs) in put_filesystem() argument
43 module_put(fs->owner); in put_filesystem()
69 int register_filesystem(struct file_system_type * fs) in register_filesystem() argument
74 BUG_ON(strchr(fs->name, '.')); in register_filesystem()
75 if (fs->next) in register_filesystem()
78 p = find_filesystem(fs->name, strlen(fs->name)); in register_filesystem()
82 *p = fs; in register_filesystem()
101 int unregister_filesystem(struct file_system_type * fs) in unregister_filesystem() argument
[all …]
Dfhandle.c119 struct fs_struct *fs = current->fs; in get_vfsmount_from_fd() local
120 spin_lock(&fs->lock); in get_vfsmount_from_fd()
121 mnt = mntget(fs->pwd.mnt); in get_vfsmount_from_fd()
122 spin_unlock(&fs->lock); in get_vfsmount_from_fd()
Dbinfmt_aout.c48 mm_segment_t fs; in aout_core_dump() local
61 fs = get_fs(); in aout_core_dump()
109 set_fs(fs); in aout_core_dump()
Dexec.c1321 spin_lock(&p->fs->lock); in check_unsafe_exec()
1324 if (t->fs == p->fs) in check_unsafe_exec()
1329 if (p->fs->users > n_fs) in check_unsafe_exec()
1332 p->fs->in_exec = 1; in check_unsafe_exec()
1333 spin_unlock(&p->fs->lock); in check_unsafe_exec()
1644 current->fs->in_exec = 0; in do_execveat_common()
1662 current->fs->in_exec = 0; in do_execveat_common()
Ddcache.c3105 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu() argument
3110 seq = read_seqcount_begin(&fs->seq); in get_fs_root_rcu()
3111 *root = fs->root; in get_fs_root_rcu()
3112 } while (read_seqcount_retry(&fs->seq, seq)); in get_fs_root_rcu()
3153 get_fs_root_rcu(current->fs, &root); in d_path()
3269 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, in get_fs_root_and_pwd_rcu() argument
3275 seq = read_seqcount_begin(&fs->seq); in get_fs_root_and_pwd_rcu()
3276 *root = fs->root; in get_fs_root_and_pwd_rcu()
3277 *pwd = fs->pwd; in get_fs_root_and_pwd_rcu()
3278 } while (read_seqcount_retry(&fs->seq, seq)); in get_fs_root_and_pwd_rcu()
[all …]
Dnamespace.c1547 if (&mnt->mnt == current->fs->root.mnt || in do_umount()
1589 if (&mnt->mnt == current->fs->root.mnt && !(flags & MNT_DETACH)) { in do_umount()
3160 get_fs_root(current->fs, &root); in SYSCALL_DEFINE2()
3261 set_fs_pwd(current->fs, &root); in init_mount_tree()
3262 set_fs_root(current->fs, &root); in init_mount_tree()
3358 get_fs_root(current->fs, &fs_root); in current_chrooted()
3473 struct fs_struct *fs = current->fs; in mntns_install() local
3482 if (fs->users != 1) in mntns_install()
3497 set_fs_pwd(fs, &root); in mntns_install()
3498 set_fs_root(fs, &root); in mntns_install()
Dproc_namespace.c261 if (!task->fs) { in mounts_open_common()
267 get_fs_root(task->fs, &root); in mounts_open_common()
/fs/gfs2/
Dutil.h22 #define fs_emerg(fs, fmt, ...) \ argument
23 pr_emerg("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
24 #define fs_warn(fs, fmt, ...) \ argument
25 pr_warn("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
26 #define fs_err(fs, fmt, ...) \ argument
27 pr_err("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
28 #define fs_info(fs, fmt, ...) \ argument
29 pr_info("fsid=%s: " fmt, (fs)->sd_fsname, ##__VA_ARGS__)
/fs/notify/
DKconfig5 source "fs/notify/dnotify/Kconfig"
6 source "fs/notify/inotify/Kconfig"
7 source "fs/notify/fanotify/Kconfig"
/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/fat/
DKconfig14 M to at least one of "MSDOS fs support" or "VFAT fs support" in
36 tristate "MSDOS fs support"
51 partitions, you should use the VFAT file system (say Y to "VFAT fs
56 answer Y. This will only work if you said Y to "DOS FAT fs support"
61 tristate "VFAT (Windows-95) fs support"
70 works if you said Y to the "DOS FAT fs support" above. Please read
/fs/sdcardfs/
Dinode.c93 saved_fs = current->fs; in sdcardfs_create()
94 copied_fs = copy_fs_struct(current->fs); in sdcardfs_create()
101 current->fs = copied_fs; in sdcardfs_create()
118 current->fs = saved_fs; in sdcardfs_create()
250 saved_fs = current->fs; in sdcardfs_mkdir()
251 copied_fs = copy_fs_struct(current->fs); in sdcardfs_mkdir()
259 current->fs = copied_fs; in sdcardfs_mkdir()
319 set_fs_pwd(current->fs, &lower_path); in sdcardfs_mkdir()
330 current->fs = saved_fs; in sdcardfs_mkdir()
/fs/fscache/
DKconfig19 /proc/fs/fscache/stats
36 /proc/fs/fscache/histogram
61 retrieved through /proc/fs/fscache/objects for debugging purposes
/fs/proc/
Dtask_nommu.c54 if (current->fs && current->fs->users > 1) in task_mem()
55 sbytes += kobjsize(current->fs); in task_mem()
57 bytes += kobjsize(current->fs); in task_mem()
/fs/cifs/
DKconfig43 mounted by the cifs client to be displayed in /proc/fs/cifs/Stats
50 request timing to be displayed in /proc/fs/cifs/DebugData and also
52 value of /proc/fs/cifs/cifsFYI, see fs/cifs/README for more details).
79 /proc/fs/cifs (see fs/cifs/README for more detail) or via an
/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/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
DMakefile10 jffs2-y += symlink.o build.o erase.o background.o fs.o writev.o
/fs/ocfs2/
DKconfig45 in conjunction with the DLM in fs/dlm. If you are using a
56 This option allows some fs statistics to be captured. Enabling
/fs/hpfs/
Danode.c69 unsigned fs; in hpfs_add_sector_to_btree() local
122fs = 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()
158 btree->u.external[n].file_secno = cpu_to_le32(fs); in hpfs_add_sector_to_btree()
180 btree->u.internal[n-1].file_secno = cpu_to_le32(fs); in hpfs_add_sector_to_btree()
257 btree->u.internal[0].file_secno = cpu_to_le32(fs); in hpfs_add_sector_to_btree()
/fs/reiserfs/
DKconfig45 bool "Stats in /proc/fs/reiserfs"
48 Create under /proc/fs/reiserfs a hierarchy of files, displaying
/fs/autofs4/
Dwaitq.c61 mm_segment_t fs; in autofs4_write() local
68 fs = get_fs(); in autofs4_write()
79 set_fs(fs); in autofs4_write()
/fs/cramfs/
DKconfig13 <file:fs/cramfs/README> for further information.

12