/fs/ |
D | fs_struct.c | 13 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 …]
|
D | Kconfig | 13 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 …]
|
D | filesystems.c | 36 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 …]
|
D | fhandle.c | 119 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()
|
D | exec.c | 1268 spin_lock(&p->fs->lock); in check_unsafe_exec() 1271 if (t->fs == p->fs) in check_unsafe_exec() 1276 if (p->fs->users > n_fs) in check_unsafe_exec() 1279 p->fs->in_exec = 1; in check_unsafe_exec() 1280 spin_unlock(&p->fs->lock); in check_unsafe_exec() 1568 current->fs->in_exec = 0; in do_execve_common() 1585 current->fs->in_exec = 0; in do_execve_common()
|
D | binfmt_aout.c | 48 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()
|
D | namei.c | 546 struct fs_struct *fs = current->fs; in unlazy_walk() local 595 spin_lock(&fs->lock); in unlazy_walk() 596 if (nd->root.mnt != fs->root.mnt || nd->root.dentry != fs->root.dentry) in unlazy_walk() 599 spin_unlock(&fs->lock); in unlazy_walk() 606 spin_unlock(&fs->lock); in unlazy_walk() 681 get_fs_root(current->fs, &nd->root); in set_root() 688 struct fs_struct *fs = current->fs; in set_root_rcu() local 692 seq = read_seqcount_begin(&fs->seq); in set_root_rcu() 693 nd->root = fs->root; in set_root_rcu() 695 } while (read_seqcount_retry(&fs->seq, seq)); in set_root_rcu() [all …]
|
D | dcache.c | 3061 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu() argument 3066 seq = read_seqcount_begin(&fs->seq); in get_fs_root_rcu() 3067 *root = fs->root; in get_fs_root_rcu() 3068 } while (read_seqcount_retry(&fs->seq, seq)); in get_fs_root_rcu() 3109 get_fs_root_rcu(current->fs, &root); in d_path() 3225 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, in get_fs_root_and_pwd_rcu() argument 3231 seq = read_seqcount_begin(&fs->seq); in get_fs_root_and_pwd_rcu() 3232 *root = fs->root; in get_fs_root_and_pwd_rcu() 3233 *pwd = fs->pwd; in get_fs_root_and_pwd_rcu() 3234 } while (read_seqcount_retry(&fs->seq, seq)); in get_fs_root_and_pwd_rcu() [all …]
|
D | namespace.c | 1416 if (&mnt->mnt == current->fs->root.mnt || in do_umount() 1458 if (&mnt->mnt == current->fs->root.mnt && !(flags & MNT_DETACH)) { in do_umount() 2956 get_fs_root(current->fs, &root); in SYSCALL_DEFINE2() 3054 set_fs_pwd(current->fs, &root); in init_mount_tree() 3055 set_fs_root(current->fs, &root); in init_mount_tree() 3151 get_fs_root(current->fs, &fs_root); in current_chrooted() 3246 struct fs_struct *fs = current->fs; in mntns_install() local 3255 if (fs->users != 1) in mntns_install() 3270 set_fs_pwd(fs, &root); in mntns_install() 3271 set_fs_root(fs, &root); in mntns_install()
|
/fs/gfs2/ |
D | util.h | 22 #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/ |
D | Kconfig | 4 source "fs/notify/dnotify/Kconfig" 5 source "fs/notify/inotify/Kconfig" 6 source "fs/notify/fanotify/Kconfig"
|
/fs/befs/ |
D | ChangeLog | 186 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/ |
D | Kconfig | 14 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/ |
D | inode.c | 92 saved_fs = current->fs; in sdcardfs_create() 93 copied_fs = copy_fs_struct(current->fs); in sdcardfs_create() 98 current->fs = copied_fs; in sdcardfs_create() 99 current->fs->umask = 0; in sdcardfs_create() 113 current->fs = saved_fs; in sdcardfs_create() 308 saved_fs = current->fs; in sdcardfs_mkdir() 309 copied_fs = copy_fs_struct(current->fs); in sdcardfs_mkdir() 315 current->fs = copied_fs; in sdcardfs_mkdir() 316 current->fs->umask = 0; in sdcardfs_mkdir() 367 set_fs_pwd(current->fs, &lower_path); in sdcardfs_mkdir() [all …]
|
/fs/fscache/ |
D | Kconfig | 19 /proc/fs/fscache/stats 36 /proc/fs/fscache/histogram 61 retrieved through /proc/fs/fscache/objects for debugging purposes
|
/fs/proc/ |
D | task_nommu.c | 54 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/ |
D | Kconfig | 43 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/ |
D | Changes | 20 - 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/ |
D | TODO | 2 - 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
|
D | Makefile | 10 jffs2-y += symlink.o build.o erase.o background.o fs.o writev.o
|
/fs/ocfs2/ |
D | Kconfig | 45 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/ |
D | anode.c | 69 unsigned fs; in hpfs_add_sector_to_btree() local 122 …fs = 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/ |
D | Kconfig | 45 bool "Stats in /proc/fs/reiserfs" 48 Create under /proc/fs/reiserfs a hierarchy of files, displaying
|
/fs/autofs4/ |
D | waitq.c | 61 mm_segment_t fs; in autofs4_write() local 68 fs = get_fs(); in autofs4_write() 79 set_fs(fs); in autofs4_write()
|
/fs/cramfs/ |
D | Kconfig | 13 <file:fs/cramfs/README> for further information.
|