Home
last modified time | relevance | path

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

12

/fs/
Dfs_struct.c13 void set_fs_root(struct fs_struct *fs, 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, 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/ext3/Kconfig"
15 source "fs/ext4/Kconfig"
23 source "fs/jbd/Kconfig"
24 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"
[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 path = fs->pwd; in get_vfsmount_from_fd()
123 spin_unlock(&fs->lock); in get_vfsmount_from_fd()
Dnamespace.c1110 if (&mnt->mnt == current->fs->root.mnt || in do_umount()
1152 if (&mnt->mnt == current->fs->root.mnt && !(flags & MNT_DETACH)) { in do_umount()
2289 struct user_namespace *user_ns, struct fs_struct *fs) in dup_mnt_ns() argument
2327 if (fs) { in dup_mnt_ns()
2328 if (&p->mnt == fs->root.mnt) { in dup_mnt_ns()
2329 fs->root.mnt = mntget(&q->mnt); in dup_mnt_ns()
2332 if (&p->mnt == fs->pwd.mnt) { in dup_mnt_ns()
2333 fs->pwd.mnt = mntget(&q->mnt); in dup_mnt_ns()
2528 get_fs_root(current->fs, &root); in SYSCALL_DEFINE2()
2615 set_fs_pwd(current->fs, &root); in init_mount_tree()
[all …]
Dnamei.c423 struct fs_struct *fs = current->fs; in unlazy_walk() local
430 spin_lock(&fs->lock); in unlazy_walk()
431 if (nd->root.mnt != fs->root.mnt || in unlazy_walk()
432 nd->root.dentry != fs->root.dentry) in unlazy_walk()
460 spin_unlock(&fs->lock); in unlazy_walk()
475 spin_unlock(&fs->lock); in unlazy_walk()
557 get_fs_root(current->fs, &nd->root); in set_root()
565 struct fs_struct *fs = current->fs; in set_root_rcu() local
569 seq = read_seqcount_begin(&fs->seq); in set_root_rcu()
570 nd->root = fs->root; in set_root_rcu()
[all …]
Dbinfmt_aout.c73 mm_segment_t fs; in aout_core_dump() local
86 fs = get_fs(); in aout_core_dump()
135 set_fs(fs); in aout_core_dump()
Dexec.c1280 spin_lock(&p->fs->lock); in check_unsafe_exec()
1283 if (t->fs == p->fs) in check_unsafe_exec()
1288 if (p->fs->users > n_fs) { in check_unsafe_exec()
1292 if (!p->fs->in_exec) { in check_unsafe_exec()
1293 p->fs->in_exec = 1; in check_unsafe_exec()
1297 spin_unlock(&p->fs->lock); in check_unsafe_exec()
1589 current->fs->in_exec = 0; in do_execve_common()
1611 current->fs->in_exec = 0; in do_execve_common()
Dproc_namespace.c251 if (!task->fs) { in mounts_open_common()
257 get_fs_root(task->fs, &root); in mounts_open_common()
/fs/gfs2/
Dutil.h17 #define fs_printk(level, fs, fmt, arg...) \ argument
18 printk(level "GFS2: fsid=%s: " fmt , (fs)->sd_fsname , ## arg)
20 #define fs_info(fs, fmt, arg...) \ argument
21 fs_printk(KERN_INFO , fs , fmt , ## arg)
23 #define fs_warn(fs, fmt, arg...) \ argument
24 fs_printk(KERN_WARNING , fs , fmt , ## arg)
26 #define fs_err(fs, fmt, arg...) \ argument
27 fs_printk(KERN_ERR, fs , fmt , ## arg)
/fs/notify/
DKconfig4 source "fs/notify/dnotify/Kconfig"
5 source "fs/notify/inotify/Kconfig"
6 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/cifs/
DKconfig36 mounted by the cifs client to be displayed in /proc/fs/cifs/Stats
43 request timing to be displayed in /proc/fs/cifs/DebugData and also
45 value of /proc/fs/cifs/cifsFYI, see fs/cifs/README for more details).
72 /proc/fs/cifs (see fs/cifs/README for more detail) or via an
/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/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()
252 btree->u.internal[0].file_secno = cpu_to_le32(fs); in hpfs_add_sector_to_btree()
/fs/autofs4/
Dwaitq.c63 mm_segment_t fs; in autofs4_write() local
70 fs = get_fs(); in autofs4_write()
81 set_fs(fs); in autofs4_write()
/fs/reiserfs/
DKconfig45 bool "Stats in /proc/fs/reiserfs"
48 Create under /proc/fs/reiserfs a hierarchy of files, displaying
/fs/cramfs/
DKconfig13 <file:fs/cramfs/README> for further information.
/fs/coda/
DKconfig2 tristate "Coda file system support (advanced network fs)"

12