/fs/reiserfs/ |
D | super.c | 64 static int reiserfs_remount(struct super_block *s, int *flags, char *data); 67 static int reiserfs_sync_fs(struct super_block *s, int wait) in reiserfs_sync_fs() argument 75 dquot_writeback_dquots(s, -1); in reiserfs_sync_fs() 76 reiserfs_write_lock(s); in reiserfs_sync_fs() 77 if (!journal_begin(&th, s, 1)) in reiserfs_sync_fs() 79 reiserfs_flush_old_commits(s); in reiserfs_sync_fs() 80 reiserfs_write_unlock(s); in reiserfs_sync_fs() 87 struct super_block *s; in flush_old_commits() local 90 s = sbi->s_journal->j_work_sb; in flush_old_commits() 98 reiserfs_sync_fs(s, 1); in flush_old_commits() [all …]
|
D | resize.c | 19 int reiserfs_resize(struct super_block *s, unsigned long block_count_new) in reiserfs_resize() argument 25 struct reiserfs_bitmap_info *old_bitmap = SB_AP_BITMAP(s); in reiserfs_resize() 39 sb = SB_DISK_SUPER_BLOCK(s); in reiserfs_resize() 41 if (SB_BLOCK_COUNT(s) >= block_count_new) { in reiserfs_resize() 47 depth = reiserfs_write_unlock_nested(s); in reiserfs_resize() 48 bh = sb_bread(s, block_count_new - 1); in reiserfs_resize() 49 reiserfs_write_lock_nested(s, depth); in reiserfs_resize() 60 if (SB_BUFFER_WITH_SB(s)->b_blocknr * SB_BUFFER_WITH_SB(s)->b_size in reiserfs_resize() 68 block_r = SB_BLOCK_COUNT(s) - in reiserfs_resize() 69 (reiserfs_bmap_count(s) - 1) * s->s_blocksize * 8; in reiserfs_resize() [all …]
|
D | bitmap.c | 20 #define SB_ALLOC_OPTS(s) (REISERFS_SB(s)->s_alloc_options.bits) argument 36 #define concentrating_formatted_nodes(s) test_bit(_ALLOC_concentrating_formatted_nodes, &SB_ALLOC_… argument 37 #define displacing_large_files(s) test_bit(_ALLOC_displacing_large_files, &SB_ALLOC_OPTS(s)) argument 38 …efine displacing_new_packing_localities(s) test_bit(_ALLOC_displacing_new_packing_localities, &SB… argument 42 reiserfs_info(s, "block allocator option \"%s\" is set", #optname); \ 43 set_bit(_ALLOC_ ## optname , &SB_ALLOC_OPTS(s)); \ 45 #define TEST_OPTION(optname, s) \ argument 46 test_bit(_ALLOC_ ## optname , &SB_ALLOC_OPTS(s)) 48 static inline void get_bit_address(struct super_block *s, in get_bit_address() argument 57 *bmap_nr = block >> (s->s_blocksize_bits + 3); in get_bit_address() [all …]
|
D | objectid.c | 11 #define objectid_map(s,rs) (old_format_only (s) ? \ argument 17 static void check_objectid_map(struct super_block *s, __le32 * map) in check_objectid_map() argument 20 reiserfs_panic(s, "vs-15010", "map corrupted: %lx", in check_objectid_map() 27 static void check_objectid_map(struct super_block *s, __le32 * map) in check_objectid_map() argument 51 struct super_block *s = th->t_super; in reiserfs_get_unused_objectid() local 52 struct reiserfs_super_block *rs = SB_DISK_SUPER_BLOCK(s); in reiserfs_get_unused_objectid() 53 __le32 *map = objectid_map(s, rs); in reiserfs_get_unused_objectid() 58 check_objectid_map(s, map); in reiserfs_get_unused_objectid() 60 reiserfs_prepare_for_journal(s, SB_BUFFER_WITH_SB(s), 1); in reiserfs_get_unused_objectid() 64 reiserfs_warning(s, "reiserfs-15100", "no more object ids"); in reiserfs_get_unused_objectid() [all …]
|
D | reiserfs.h | 716 #define reiserfs_r5_hash(s) (REISERFS_SB(s)->s_mount_opt & (1 << FORCE_R5_HASH)) argument 717 #define reiserfs_rupasov_hash(s) (REISERFS_SB(s)->s_mount_opt & (1 << FORCE_RUPASOV_HASH)) argument 718 #define reiserfs_tea_hash(s) (REISERFS_SB(s)->s_mount_opt & (1 << FORCE_TEA_HASH)) argument 719 #define reiserfs_hash_detect(s) (REISERFS_SB(s)->s_mount_opt & (1 << FORCE_HASH_DETECT)) argument 720 #define reiserfs_no_border(s) (REISERFS_SB(s)->s_mount_opt & (1 << REISERFS_NO_BORDER)) argument 721 #define reiserfs_no_unhashed_relocation(s) (REISERFS_SB(s)->s_mount_opt & (1 << REISERFS_NO_UNHASHE… argument 722 #define reiserfs_hashed_relocation(s) (REISERFS_SB(s)->s_mount_opt & (1 << REISERFS_HASHED_RELOCATI… argument 723 #define reiserfs_test4(s) (REISERFS_SB(s)->s_mount_opt & (1 << REISERFS_TEST4)) argument 725 #define have_large_tails(s) (REISERFS_SB(s)->s_mount_opt & (1 << REISERFS_LARGETAIL)) argument 726 #define have_small_tails(s) (REISERFS_SB(s)->s_mount_opt & (1 << REISERFS_SMALLTAIL)) argument [all …]
|
/fs/hpfs/ |
D | alloc.c | 11 static void hpfs_claim_alloc(struct super_block *s, secno sec) in hpfs_claim_alloc() argument 13 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_claim_alloc() 16 hpfs_error(s, "free count underflow, allocating sector %08x", sec); in hpfs_claim_alloc() 24 static void hpfs_claim_free(struct super_block *s, secno sec) in hpfs_claim_free() argument 26 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_claim_free() 29 hpfs_error(s, "free count overflow, freeing sector %08x", sec); in hpfs_claim_free() 37 static void hpfs_claim_dirband_alloc(struct super_block *s, secno sec) in hpfs_claim_dirband_alloc() argument 39 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_claim_dirband_alloc() 42 hpfs_error(s, "dirband free count underflow, allocating sector %08x", sec); in hpfs_claim_dirband_alloc() 50 static void hpfs_claim_dirband_free(struct super_block *s, secno sec) in hpfs_claim_dirband_free() argument [all …]
|
D | map.c | 11 __le32 *hpfs_map_dnode_bitmap(struct super_block *s, struct quad_buffer_head *qbh) in hpfs_map_dnode_bitmap() argument 13 return hpfs_map_4sectors(s, hpfs_sb(s)->sb_dmap, qbh, 0); in hpfs_map_dnode_bitmap() 16 __le32 *hpfs_map_bitmap(struct super_block *s, unsigned bmp_block, in hpfs_map_bitmap() argument 21 unsigned n_bands = (hpfs_sb(s)->sb_fs_size + 0x3fff) >> 14; in hpfs_map_bitmap() 22 if (hpfs_sb(s)->sb_chk) if (bmp_block >= n_bands) { in hpfs_map_bitmap() 23 hpfs_error(s, "hpfs_map_bitmap called with bad parameter: %08x at %s", bmp_block, id); in hpfs_map_bitmap() 26 sec = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); in hpfs_map_bitmap() 27 if (!sec || sec > hpfs_sb(s)->sb_fs_size-4) { in hpfs_map_bitmap() 28 hpfs_error(s, "invalid bitmap block pointer %08x -> %08x at %s", bmp_block, sec, id); in hpfs_map_bitmap() 31 ret = hpfs_map_4sectors(s, sec, qbh, 4); in hpfs_map_bitmap() [all …]
|
D | super.c | 22 static void mark_dirty(struct super_block *s, int remount) in mark_dirty() argument 24 if (hpfs_sb(s)->sb_chkdsk && (remount || !(s->s_flags & MS_RDONLY))) { in mark_dirty() 27 if ((sb = hpfs_map_sector(s, 17, &bh, 0))) { in mark_dirty() 40 static void unmark_dirty(struct super_block *s) in unmark_dirty() argument 44 if (s->s_flags & MS_RDONLY) return; in unmark_dirty() 45 sync_blockdev(s->s_bdev); in unmark_dirty() 46 if ((sb = hpfs_map_sector(s, 17, &bh, 0))) { in unmark_dirty() 47 sb->dirty = hpfs_sb(s)->sb_chkdsk > 1 - hpfs_sb(s)->sb_was_error; in unmark_dirty() 48 sb->old_wrote = hpfs_sb(s)->sb_chkdsk >= 2 && !hpfs_sb(s)->sb_was_error; in unmark_dirty() 56 void hpfs_error(struct super_block *s, const char *fmt, ...) in hpfs_error() argument [all …]
|
D | anode.c | 13 secno hpfs_bplus_lookup(struct super_block *s, struct inode *inode, in hpfs_bplus_lookup() argument 22 if (hpfs_sb(s)->sb_chk) if (hpfs_stop_cycles(s, a, &c1, &c2, "hpfs_bplus_lookup")) return -1; in hpfs_bplus_lookup() 28 if (!(anode = hpfs_map_anode(s, a, &bh))) return -1; in hpfs_bplus_lookup() 32 hpfs_error(s, "sector %08x not found in internal anode %08x", sec, a); in hpfs_bplus_lookup() 40 if (hpfs_sb(s)->sb_chk) if (hpfs_chk_sectors(s, a, 1, "data")) { in hpfs_bplus_lookup() 53 hpfs_error(s, "sector %08x not found in external anode %08x", sec, a); in hpfs_bplus_lookup() 60 secno hpfs_add_sector_to_btree(struct super_block *s, secno node, int fnod, unsigned fsecno) in hpfs_add_sector_to_btree() argument 72 if (!(fnode = hpfs_map_fnode(s, node, &bh))) return -1; in hpfs_add_sector_to_btree() 75 if (!(anode = hpfs_map_anode(s, node, &bh))) return -1; in hpfs_add_sector_to_btree() 81 hpfs_error(s, "anode %08x has no entries", a); in hpfs_add_sector_to_btree() [all …]
|
D | ea.c | 14 void hpfs_ea_ext_remove(struct super_block *s, secno a, int ano, unsigned len) in hpfs_ea_ext_remove() argument 21 hpfs_error(s, "EAs don't end correctly, %s %08x, len %08x", in hpfs_ea_ext_remove() 25 if (hpfs_ea_read(s, a, ano, pos, 4, ex)) return; in hpfs_ea_ext_remove() 28 hpfs_error(s, "ea_indirect(ea) set while ea->valuelen!=8, %s %08x, pos %08x", in hpfs_ea_ext_remove() 32 if (hpfs_ea_read(s, a, ano, pos + 4, ea->namelen + 9, ex+4)) in hpfs_ea_ext_remove() 34 hpfs_ea_remove(s, ea_sec(ea), ea_in_anode(ea), ea_len(ea)); in hpfs_ea_ext_remove() 38 if (!ano) hpfs_free_sectors(s, a, (len+511) >> 9); in hpfs_ea_ext_remove() 42 if ((anode = hpfs_map_anode(s, a, &bh))) { in hpfs_ea_ext_remove() 43 hpfs_remove_btree(s, &anode->btree); in hpfs_ea_ext_remove() 45 hpfs_free_sectors(s, a, 1); in hpfs_ea_ext_remove() [all …]
|
D | buffer.c | 13 secno hpfs_search_hotfix_map(struct super_block *s, secno sec) in hpfs_search_hotfix_map() argument 16 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_search_hotfix_map() 25 unsigned hpfs_search_hotfix_map_for_range(struct super_block *s, secno sec, unsigned n) in hpfs_search_hotfix_map_for_range() argument 28 struct hpfs_sb_info *sbi = hpfs_sb(s); in hpfs_search_hotfix_map_for_range() 37 void hpfs_prefetch_sectors(struct super_block *s, unsigned secno, int n) in hpfs_prefetch_sectors() argument 42 if (n <= 0 || unlikely(secno >= hpfs_sb(s)->sb_fs_size)) in hpfs_prefetch_sectors() 45 if (unlikely(hpfs_search_hotfix_map_for_range(s, secno, n) != n)) in hpfs_prefetch_sectors() 48 bh = sb_find_get_block(s, secno); in hpfs_prefetch_sectors() 59 if (unlikely(secno >= hpfs_sb(s)->sb_fs_size)) in hpfs_prefetch_sectors() 61 sb_breadahead(s, secno); in hpfs_prefetch_sectors() [all …]
|
/fs/ |
D | super.c | 150 struct super_block *s = container_of(work, struct super_block, in destroy_super_work() local 155 percpu_free_rwsem(&s->s_writers.rw_sem[i]); in destroy_super_work() 156 kfree(s); in destroy_super_work() 161 struct super_block *s = container_of(head, struct super_block, rcu); in destroy_super_rcu() local 162 INIT_WORK(&s->destroy_work, destroy_super_work); in destroy_super_rcu() 163 schedule_work(&s->destroy_work); in destroy_super_rcu() 172 static void destroy_super(struct super_block *s) in destroy_super() argument 174 list_lru_destroy(&s->s_dentry_lru); in destroy_super() 175 list_lru_destroy(&s->s_inode_lru); in destroy_super() 176 security_sb_free(s); in destroy_super() [all …]
|
/fs/ecryptfs/ |
D | keystore.c | 635 struct ecryptfs_write_tag_70_packet_silly_stack *s; in ecryptfs_write_tag_70_packet() local 639 s = kmalloc(sizeof(*s), GFP_KERNEL); in ecryptfs_write_tag_70_packet() 640 if (!s) { in ecryptfs_write_tag_70_packet() 642 "[%zd] bytes of kernel memory\n", __func__, sizeof(*s)); in ecryptfs_write_tag_70_packet() 646 s->desc.flags = CRYPTO_TFM_REQ_MAY_SLEEP; in ecryptfs_write_tag_70_packet() 650 &s->auth_tok, mount_crypt_stat, in ecryptfs_write_tag_70_packet() 659 &s->desc.tfm, in ecryptfs_write_tag_70_packet() 660 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet() 667 mutex_lock(s->tfm_mutex); in ecryptfs_write_tag_70_packet() 668 s->block_size = crypto_blkcipher_blocksize(s->desc.tfm); in ecryptfs_write_tag_70_packet() [all …]
|
/fs/dlm/ |
D | debug_fs.c | 51 static void print_format1_lock(struct seq_file *s, struct dlm_lkb *lkb, in print_format1_lock() argument 54 seq_printf(s, "%08x %s", lkb->lkb_id, print_lockmode(lkb->lkb_grmode)); in print_format1_lock() 58 seq_printf(s, " (%s)", print_lockmode(lkb->lkb_rqmode)); in print_format1_lock() 62 seq_printf(s, " Remote: %3d %08x", lkb->lkb_nodeid, in print_format1_lock() 65 seq_printf(s, " Master: %08x", lkb->lkb_remid); in print_format1_lock() 69 seq_printf(s, " wait_type: %d", lkb->lkb_wait_type); in print_format1_lock() 71 seq_puts(s, "\n"); in print_format1_lock() 74 static void print_format1(struct dlm_rsb *res, struct seq_file *s) in print_format1() argument 81 seq_printf(s, "\nResource %p Name (len=%d) \"", res, res->res_length); in print_format1() 85 seq_printf(s, "%c", res->res_name[i]); in print_format1() [all …]
|
/fs/ceph/ |
D | debugfs.c | 21 static int mdsmap_show(struct seq_file *s, void *p) in mdsmap_show() argument 24 struct ceph_fs_client *fsc = s->private; in mdsmap_show() 28 seq_printf(s, "epoch %d\n", fsc->mdsc->mdsmap->m_epoch); in mdsmap_show() 29 seq_printf(s, "root %d\n", fsc->mdsc->mdsmap->m_root); in mdsmap_show() 30 seq_printf(s, "session_timeout %d\n", in mdsmap_show() 32 seq_printf(s, "session_autoclose %d\n", in mdsmap_show() 39 seq_printf(s, "\tmds%d\t%s\t(%s)\n", i, in mdsmap_show() 49 static int mdsc_show(struct seq_file *s, void *p) in mdsc_show() argument 51 struct ceph_fs_client *fsc = s->private; in mdsc_show() 64 seq_printf(s, "%lld\tmds%d\t", req->r_tid, in mdsc_show() [all …]
|
/fs/cifs/ |
D | cifsfs.c | 304 cifs_show_address(struct seq_file *s, struct TCP_Server_Info *server) in cifs_show_address() argument 309 seq_puts(s, ",addr="); in cifs_show_address() 313 seq_printf(s, "%pI4", &sa->sin_addr.s_addr); in cifs_show_address() 316 seq_printf(s, "%pI6", &sa6->sin6_addr.s6_addr); in cifs_show_address() 318 seq_printf(s, "%%%u", sa6->sin6_scope_id); in cifs_show_address() 321 seq_puts(s, "(unknown)"); in cifs_show_address() 326 cifs_show_security(struct seq_file *s, struct cifs_ses *ses) in cifs_show_security() argument 330 seq_puts(s, ",sec=none"); in cifs_show_security() 334 seq_puts(s, ",sec="); in cifs_show_security() 338 seq_puts(s, "lanman"); in cifs_show_security() [all …]
|
/fs/f2fs/ |
D | debug.c | 258 static int stat_show(struct seq_file *s, void *v) in stat_show() argument 268 seq_printf(s, "\n=====[ partition info(%pg). #%d, %s, CP: %s]=====\n", in stat_show() 272 seq_printf(s, "[SB: 1] [CP: 2] [SIT: %d] [NAT: %d] ", in stat_show() 274 seq_printf(s, "[SSA: %d] [MAIN: %d", in stat_show() 276 seq_printf(s, "(OverProv:%d Resv:%d)]\n\n", in stat_show() 279 seq_printf(s, "Utilization: %u%% (%u valid blocks, %u discard blocks)\n", in stat_show() 282 seq_printf(s, "Utilization: %u%% (%u valid blocks)\n", in stat_show() 285 seq_printf(s, " - Node: %u (Inode: %u, ", in stat_show() 287 seq_printf(s, "Other: %u)\n - Data: %u\n", in stat_show() 290 seq_printf(s, " - Inline_xattr Inode: %u\n", in stat_show() [all …]
|
/fs/ext4/ |
D | xattr.c | 637 ext4_xattr_set_entry(struct ext4_xattr_info *i, struct ext4_xattr_search *s, in ext4_xattr_set_entry() argument 641 size_t free, min_offs = s->end - s->base, name_len = strlen(i->name); in ext4_xattr_set_entry() 644 last = s->first; in ext4_xattr_set_entry() 647 if ((void *)next >= s->end) { in ext4_xattr_set_entry() 657 free = min_offs - ((void *)last - s->base) - sizeof(__u32); in ext4_xattr_set_entry() 658 if (!s->not_found) { in ext4_xattr_set_entry() 659 if (!s->here->e_value_block && s->here->e_value_size) { in ext4_xattr_set_entry() 660 size_t size = le32_to_cpu(s->here->e_value_size); in ext4_xattr_set_entry() 671 if (i->value && s->not_found) { in ext4_xattr_set_entry() 674 size_t rest = (void *)last - (void *)s->here + sizeof(__u32); in ext4_xattr_set_entry() [all …]
|
/fs/qnx6/ |
D | inode.c | 113 struct super_block *s = inode->i_sb; in qnx6_block_map() local 114 struct qnx6_sb_info *sbi = QNX6_SB(s); in qnx6_block_map() 134 block = qnx6_get_devblock(s, ei->di_block_ptr[levelptr]); in qnx6_block_map() 137 bh = sb_bread(s, block); in qnx6_block_map() 149 block = qnx6_get_devblock(s, ptr); in qnx6_block_map() 180 static const char *qnx6_checkroot(struct super_block *s) in qnx6_checkroot() argument 185 struct inode *root = d_inode(s->s_root); in qnx6_checkroot() 204 void qnx6_superblock_debug(struct qnx6_super_block *sb, struct super_block *s) in qnx6_superblock_debug() argument 206 struct qnx6_sb_info *sbi = QNX6_SB(s); in qnx6_superblock_debug() 257 static struct buffer_head *qnx6_check_first_superblock(struct super_block *s, in qnx6_check_first_superblock() argument [all …]
|
/fs/fat/ |
D | fat.h | 207 unsigned char s = name[0]; in fat_checksum() local 208 s = (s<<7) + (s>>1) + name[1]; s = (s<<7) + (s>>1) + name[2]; in fat_checksum() 209 s = (s<<7) + (s>>1) + name[3]; s = (s<<7) + (s>>1) + name[4]; in fat_checksum() 210 s = (s<<7) + (s>>1) + name[5]; s = (s<<7) + (s>>1) + name[6]; in fat_checksum() 211 s = (s<<7) + (s>>1) + name[7]; s = (s<<7) + (s>>1) + name[8]; in fat_checksum() 212 s = (s<<7) + (s>>1) + name[9]; s = (s<<7) + (s>>1) + name[10]; in fat_checksum() 213 return s; in fat_checksum()
|
/fs/nls/ |
D | nls_base.c | 55 int utf8_to_utf32(const u8 *s, int inlen, unicode_t *pu) in utf8_to_utf32() argument 62 c0 = *s; in utf8_to_utf32() 76 s++; in utf8_to_utf32() 77 c = (*s ^ 0x80) & 0xFF; in utf8_to_utf32() 86 int utf32_to_utf8(unicode_t u, u8 *s, int maxout) in utf32_to_utf8() argument 92 if (!s) in utf32_to_utf8() 104 *s = (u8) (t->cval | (l >> c)); in utf32_to_utf8() 107 s++; in utf32_to_utf8() 108 *s = (u8) (0x80 | ((l >> c) & 0x3F)); in utf32_to_utf8() 117 static inline void put_utf16(wchar_t *s, unsigned c, enum utf16_endian endian) in put_utf16() argument [all …]
|
/fs/bfs/ |
D | inode.c | 168 struct super_block *s = inode->i_sb; in bfs_evict_inode() local 169 struct bfs_sb_info *info = BFS_SB(s); in bfs_evict_inode() 181 di = find_inode(s, inode->i_ino, &bh); in bfs_evict_inode() 196 bfs_dump_imap("delete_inode", s); in bfs_evict_inode() 209 static void bfs_put_super(struct super_block *s) in bfs_put_super() argument 211 struct bfs_sb_info *info = BFS_SB(s); in bfs_put_super() 219 s->s_fs_info = NULL; in bfs_put_super() 224 struct super_block *s = dentry->d_sb; in bfs_statfs() local 225 struct bfs_sb_info *info = BFS_SB(s); in bfs_statfs() 226 u64 id = huge_encode_dev(s->s_bdev->bd_dev); in bfs_statfs() [all …]
|
/fs/jffs2/ |
D | summary.c | 63 static int jffs2_sum_add_mem(struct jffs2_summary *s, union jffs2_sum_mem *item) in jffs2_sum_add_mem() argument 65 if (!s->sum_list_head) in jffs2_sum_add_mem() 66 s->sum_list_head = (union jffs2_sum_mem *) item; in jffs2_sum_add_mem() 67 if (s->sum_list_tail) in jffs2_sum_add_mem() 68 s->sum_list_tail->u.next = (union jffs2_sum_mem *) item; in jffs2_sum_add_mem() 69 s->sum_list_tail = (union jffs2_sum_mem *) item; in jffs2_sum_add_mem() 73 s->sum_size += JFFS2_SUMMARY_INODE_SIZE; in jffs2_sum_add_mem() 74 s->sum_num++; in jffs2_sum_add_mem() 79 s->sum_size += JFFS2_SUMMARY_DIRENT_SIZE(item->d.nsize); in jffs2_sum_add_mem() 80 s->sum_num++; in jffs2_sum_add_mem() [all …]
|
/fs/devpts/ |
D | inode.c | 379 devpts_fill_super(struct super_block *s, void *data, int silent) in devpts_fill_super() argument 383 s->s_blocksize = 1024; in devpts_fill_super() 384 s->s_blocksize_bits = 10; in devpts_fill_super() 385 s->s_magic = DEVPTS_SUPER_MAGIC; in devpts_fill_super() 386 s->s_op = &devpts_sops; in devpts_fill_super() 387 s->s_time_gran = 1; in devpts_fill_super() 389 s->s_fs_info = new_pts_fs_info(s); in devpts_fill_super() 390 if (!s->s_fs_info) in devpts_fill_super() 393 inode = new_inode(s); in devpts_fill_super() 403 s->s_root = d_make_root(inode); in devpts_fill_super() [all …]
|
/fs/9p/ |
D | v9fs.c | 88 static int get_cache_mode(char *s) in get_cache_mode() argument 92 if (!strcmp(s, "loose")) { in get_cache_mode() 95 } else if (!strcmp(s, "fscache")) { in get_cache_mode() 98 } else if (!strcmp(s, "mmap")) { in get_cache_mode() 101 } else if (!strcmp(s, "none")) { in get_cache_mode() 105 pr_info("Unknown Cache mode %s\n", s); in get_cache_mode() 122 char *s, *e; in v9fs_parse_options() local 240 s = match_strdup(&args[0]); in v9fs_parse_options() 241 if (!s) { in v9fs_parse_options() 247 ret = get_cache_mode(s); in v9fs_parse_options() [all …]
|