| /fs/ |
| A D | fs_struct.c | 22 fs->root = *path; in set_fs_root() 38 old_pwd = fs->pwd; in set_fs_pwd() 39 fs->pwd = *path; in set_fs_pwd() 63 fs = p->fs; in chroot_fs_refs() 64 if (fs) { in chroot_fs_refs() 91 struct fs_struct *fs = tsk->fs; in exit_fs() local 93 if (fs) { in exit_fs() 110 if (fs) { in copy_fs_struct() 111 fs->users = 1; in copy_fs_struct() 123 return fs; in copy_fs_struct() [all …]
|
| A D | filesystems.c | 41 return fs; in get_filesystem() 78 !fs_validate_description(fs->name, fs->parameters)) in register_filesystem() 85 p = find_filesystem(fs->name, strlen(fs->name)); in register_filesystem() 89 *p = fs; in register_filesystem() 271 if (fs && !try_module_get(fs->owner)) in __get_fs_type() 272 fs = NULL; in __get_fs_type() 274 return fs; in __get_fs_type() 286 if (!fs) in get_fs_type() 291 if (dot && fs && !(fs->fs_flags & FS_HAS_SUBTYPE)) { in get_fs_type() 293 fs = NULL; in get_fs_type() [all …]
|
| A D | Kconfig | 35 source "fs/ext2/Kconfig" 36 source "fs/ext4/Kconfig" 37 source "fs/jbd2/Kconfig" 46 source "fs/jfs/Kconfig" 48 source "fs/xfs/Kconfig" 49 source "fs/gfs2/Kconfig" 50 source "fs/ocfs2/Kconfig" 51 source "fs/btrfs/Kconfig" 53 source "fs/f2fs/Kconfig" 146 source "fs/udf/Kconfig" [all …]
|
| A D | d_path.c | 239 static void get_fs_root_rcu(struct fs_struct *fs, struct path *root) in get_fs_root_rcu() argument 244 seq = read_seqbegin(&fs->seq); in get_fs_root_rcu() 245 *root = fs->root; in get_fs_root_rcu() 246 } while (read_seqretry(&fs->seq, seq)); in get_fs_root_rcu() 286 get_fs_root_rcu(current->fs, &root); in d_path() 382 static void get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, in get_fs_root_and_pwd_rcu() argument 388 seq = read_seqbegin(&fs->seq); in get_fs_root_and_pwd_rcu() 389 *root = fs->root; in get_fs_root_and_pwd_rcu() 390 *pwd = fs->pwd; in get_fs_root_and_pwd_rcu() 391 } while (read_seqretry(&fs->seq, seq)); in get_fs_root_and_pwd_rcu() [all …]
|
| A D | exec.c | 1127 current->fs->in_exec = 0; in begin_new_exec() 1390 current->fs->in_exec = 0; in free_bprm() 1518 read_seqlock_excl(&p->fs->seq); in check_unsafe_exec() 1521 if (t->fs == p->fs) in check_unsafe_exec() 1527 if (p->fs->users > n_fs) in check_unsafe_exec() 1530 p->fs->in_exec = 1; in check_unsafe_exec() 1531 read_sequnlock_excl(&p->fs->seq); in check_unsafe_exec()
|
| /fs/fuse/ |
| A D | virtio_fs.c | 423 fs->mqs_kobj = kobject_create_and_add("mqs", &fs->kobj); in virtio_fs_add_instance() 475 return fs; in virtio_fs_find_instance() 510 if (!fs->tag) in virtio_fs_read_tag() 951 fs->nvqs = VQ_REQUEST + fs->num_request_queues; in virtio_fs_setup_vqs() 952 fs->vqs = kcalloc(fs->nvqs, sizeof(fs->vqs[VQ_HIPRIO]), GFP_KERNEL); in virtio_fs_setup_vqs() 953 if (!fs->vqs) in virtio_fs_setup_vqs() 992 kfree(fs->vqs); in virtio_fs_setup_vqs() 1125 fs = kzalloc(sizeof(*fs), GFP_KERNEL); in virtio_fs_probe() 1126 if (!fs) in virtio_fs_probe() 1488 fs = fiq->priv; in virtio_fs_send_req() [all …]
|
| /fs/bcachefs/ |
| A D | fs-io-buffered.c | 809 while (fs->data + fs->nr > fi) { in folios_trunc() 824 folios fs; in __bch2_buffered_write() local 834 darray_init(&fs); in __bch2_buffered_write() 842 BUG_ON(!fs.nr); in __bch2_buffered_write() 844 f = darray_first(fs); in __bch2_buffered_write() 851 f = darray_last(fs); in __bch2_buffered_write() 864 ret = bch2_folio_set(c, inode_inum(inode), fs.data, fs.nr); in __bch2_buffered_write() 905 darray_for_each(fs, fi) in __bch2_buffered_write() 915 folios_trunc(&fs, fi); in __bch2_buffered_write() 924 folios_trunc(&fs, fi); in __bch2_buffered_write() [all …]
|
| A D | Makefile | 45 fs.o \ 46 fs-ioctl.o \ 47 fs-io.o \ 48 fs-io-buffered.o \ 49 fs-io-direct.o \ 50 fs-io-pagecache.o \
|
| A D | fs-io-pagecache.c | 17 folios *fs) in bch2_filemap_get_contig_folios_d() argument 27 ret = darray_make_room_gfp(fs, 1, gfp & GFP_KERNEL); in bch2_filemap_get_contig_folios_d() 35 BUG_ON(fs->nr && folio_pos(f) != pos); in bch2_filemap_get_contig_folios_d() 38 darray_push(fs, f); in bch2_filemap_get_contig_folios_d() 41 if (!fs->nr && !ret && (fgp_flags & FGP_CREAT)) in bch2_filemap_get_contig_folios_d() 44 return fs->nr ? 0 : ret; in bch2_filemap_get_contig_folios_d() 183 struct folio **fs, unsigned nr_folios) in bch2_folio_set() argument 185 u64 offset = folio_sector(fs[0]); in bch2_folio_set() 189 struct bch_folio *s = bch2_folio_create(fs[folio_idx], GFP_KERNEL); in bch2_folio_set() 210 struct folio *folio = fs[folio_idx]; in bch2_folio_set()
|
| A D | super.c | 1265 if (fs == sb) in bch2_dev_in_fs() 1274 if (fs->sb->block_size != sb->sb->block_size) in bch2_dev_in_fs() 1281 if (fs->sb->seq == sb->sb->seq && in bch2_dev_in_fs() 1288 prt_bdevname(&buf, fs->bdev); in bch2_dev_in_fs() 1294 prt_bdevname(&buf, fs->bdev); in bch2_dev_in_fs() 1324 prt_bdevname(&buf, fs->bdev); in bch2_dev_in_fs() 1328 prt_bdevname(&buf, fs->bdev); in bch2_dev_in_fs() 1543 ca->fs = c; in bch2_dev_attach() 1562 ca->fs = c; in bch2_dev_alloc() 1607 ca->disk_sb.holder->c = ca->fs; in __bch2_dev_attach_bdev() [all …]
|
| A D | sb-members.c | 40 bch2_fs_inconsistent(ca->fs, in bch2_dev_bucket_missing() 418 struct bch_fs *c = ca->fs; in bch2_dev_io_errors_to_text() 421 mutex_lock(&ca->fs->sb_lock); in bch2_dev_io_errors_to_text() 423 mutex_unlock(&ca->fs->sb_lock); in bch2_dev_io_errors_to_text() 449 struct bch_fs *c = ca->fs; in bch2_dev_errors_reset()
|
| /fs/gfs2/ |
| A D | util.h | 19 #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/ |
| A D | Kconfig | 9 This option enables fs-verity. fs-verity is the dm-verity 24 fs-verity is especially useful on large files where not all 25 the contents may actually be needed. Also, fs-verity verifies 37 fs-verity builtin signatures. 40 the only way to do signatures with fs-verity, and the
|
| /fs/befs/ |
| A D | ChangeLog | 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) 365 (fs/befs/super.c) 370 (fs/befs/super.c) 376 (fs/befs/super.c) 379 (fs/befs/debug.c) [all …]
|
| /fs/notify/ |
| A D | Kconfig | 5 source "fs/notify/dnotify/Kconfig" 6 source "fs/notify/inotify/Kconfig" 7 source "fs/notify/fanotify/Kconfig"
|
| /fs/overlayfs/ |
| A D | super.c | 929 if (ofs->fs[i].is_lower && in ovl_lower_uuid_ok() 931 ofs->fs[i].bad_uuid = true; in ovl_lower_uuid_ok() 949 if (ofs->fs[i].sb == sb) in ovl_get_fsid() 978 ofs->fs[ofs->numfs].sb = sb; in ovl_get_fsid() 979 ofs->fs[ofs->numfs].pseudo_dev = dev; in ovl_get_fsid() 980 ofs->fs[ofs->numfs].bad_uuid = bad_uuid; in ovl_get_fsid() 1003 if (ofs->fs == NULL) in ovl_get_layers() 1018 err = get_anon_bdev(&ofs->fs[0].pseudo_dev); in ovl_get_layers() 1026 ofs->fs[0].is_lower = false; in ovl_get_layers() 1080 layers[ofs->numlayer].fs = &ofs->fs[fsid]; in ovl_get_layers() [all …]
|
| A D | ovl_entry.h | 38 struct ovl_sb *fs; member 65 struct ovl_sb *fs; member
|
| /fs/fat/ |
| A D | Kconfig | 17 M to at least one of "MSDOS fs support" or "VFAT fs support" in 39 tristate "MSDOS fs support" 54 partitions, you should use the VFAT file system (say Y to "VFAT fs 59 answer Y. This will only work if you said Y to "DOS FAT fs support" 64 tristate "VFAT (Windows-95) fs support" 73 works if you said Y to the "DOS FAT fs support" above. Please read
|
| /fs/smb/ |
| A D | Kconfig | 5 source "fs/smb/client/Kconfig" 6 source "fs/smb/server/Kconfig"
|
| /fs/proc/ |
| A D | task_nommu.c | 55 if (current->fs && current->fs->users > 1) in task_mem() 56 sbytes += kobjsize(current->fs); in task_mem() 58 bytes += kobjsize(current->fs); in task_mem()
|
| /fs/affs/ |
| A 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/unicode/ |
| A D | README.utf8data | 44 Then, build under fs/unicode/ with REGENERATE_UTF8DATA=1: 46 make REGENERATE_UTF8DATA=1 fs/unicode/
|
| /fs/netfs/ |
| A D | Kconfig | 17 /proc/fs/fscache/stats 52 /proc/fs/fscache/stats
|
| /fs/ocfs2/ |
| A D | Kconfig | 48 in conjunction with the DLM in fs/dlm. If you are using a 59 This option allows some fs statistics to be captured. Enabling
|
| /fs/hpfs/ |
| A D | anode.c | 70 unsigned fs; in hpfs_add_sector_to_btree() local 123 …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() 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()
|