Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 201) sorted by relevance

123456789

/fs/reiserfs/
Dsuper.c63 static int reiserfs_remount(struct super_block *s, int *flags, char *data);
65 void show_alloc_options(struct seq_file *seq, struct super_block *s);
67 static int reiserfs_sync_fs(struct super_block *s, int wait) in reiserfs_sync_fs() argument
71 reiserfs_write_lock(s); in reiserfs_sync_fs()
72 if (!journal_begin(&th, s, 1)) in reiserfs_sync_fs()
73 if (!journal_end_sync(&th, s, 1)) in reiserfs_sync_fs()
74 reiserfs_flush_old_commits(s); in reiserfs_sync_fs()
75 s->s_dirt = 0; /* Even if it's not true. in reiserfs_sync_fs()
77 reiserfs_write_unlock(s); in reiserfs_sync_fs()
81 static void reiserfs_write_super(struct super_block *s) in reiserfs_write_super() argument
[all …]
Dresize.c19 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()
38 sb = SB_DISK_SUPER_BLOCK(s); in reiserfs_resize()
40 if (SB_BLOCK_COUNT(s) >= block_count_new) { in reiserfs_resize()
46 bh = sb_bread(s, block_count_new - 1); in reiserfs_resize()
55 if (SB_BUFFER_WITH_SB(s)->b_blocknr * SB_BUFFER_WITH_SB(s)->b_size in reiserfs_resize()
63 block_r = SB_BLOCK_COUNT(s) - in reiserfs_resize()
64 (reiserfs_bmap_count(s) - 1) * s->s_blocksize * 8; in reiserfs_resize()
67 bmap_nr_new = block_count_new / (s->s_blocksize * 8); in reiserfs_resize()
68 block_r_new = block_count_new - bmap_nr_new * s->s_blocksize * 8; in reiserfs_resize()
[all …]
Dbitmap.c20 #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
55 *bmap_nr = block >> (s->s_blocksize_bits + 3); in get_bit_address()
[all …]
Dobjectid.c11 #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
49 struct super_block *s = th->t_super; in reiserfs_get_unused_objectid() local
50 struct reiserfs_super_block *rs = SB_DISK_SUPER_BLOCK(s); in reiserfs_get_unused_objectid()
51 __le32 *map = objectid_map(s, rs); in reiserfs_get_unused_objectid()
56 check_objectid_map(s, map); in reiserfs_get_unused_objectid()
58 reiserfs_prepare_for_journal(s, SB_BUFFER_WITH_SB(s), 1); in reiserfs_get_unused_objectid()
62 reiserfs_warning(s, "reiserfs-15100", "no more object ids"); in reiserfs_get_unused_objectid()
[all …]
Dreiserfs.h563 #define reiserfs_r5_hash(s) (REISERFS_SB(s)->s_mount_opt & (1 << FORCE_R5_HASH)) argument
564 #define reiserfs_rupasov_hash(s) (REISERFS_SB(s)->s_mount_opt & (1 << FORCE_RUPASOV_HASH)) argument
565 #define reiserfs_tea_hash(s) (REISERFS_SB(s)->s_mount_opt & (1 << FORCE_TEA_HASH)) argument
566 #define reiserfs_hash_detect(s) (REISERFS_SB(s)->s_mount_opt & (1 << FORCE_HASH_DETECT)) argument
567 #define reiserfs_no_border(s) (REISERFS_SB(s)->s_mount_opt & (1 << REISERFS_NO_BORDER)) argument
568 #define reiserfs_no_unhashed_relocation(s) (REISERFS_SB(s)->s_mount_opt & (1 << REISERFS_NO_UNHASHE… argument
569 #define reiserfs_hashed_relocation(s) (REISERFS_SB(s)->s_mount_opt & (1 << REISERFS_HASHED_RELOCATI… argument
570 #define reiserfs_test4(s) (REISERFS_SB(s)->s_mount_opt & (1 << REISERFS_TEST4)) argument
572 #define have_large_tails(s) (REISERFS_SB(s)->s_mount_opt & (1 << REISERFS_LARGETAIL)) argument
573 #define have_small_tails(s) (REISERFS_SB(s)->s_mount_opt & (1 << REISERFS_SMALLTAIL)) argument
[all …]
/fs/
Dsuper.c114 struct super_block *s = kzalloc(sizeof(struct super_block), GFP_USER); in alloc_super() local
117 if (s) { in alloc_super()
118 if (security_sb_alloc(s)) { in alloc_super()
119 kfree(s); in alloc_super()
120 s = NULL; in alloc_super()
124 s->s_files = alloc_percpu(struct list_head); in alloc_super()
125 if (!s->s_files) { in alloc_super()
126 security_sb_free(s); in alloc_super()
127 kfree(s); in alloc_super()
128 s = NULL; in alloc_super()
[all …]
/fs/hpfs/
Dsuper.c21 static void mark_dirty(struct super_block *s, int remount) in mark_dirty() argument
23 if (hpfs_sb(s)->sb_chkdsk && (remount || !(s->s_flags & MS_RDONLY))) { in mark_dirty()
26 if ((sb = hpfs_map_sector(s, 17, &bh, 0))) { in mark_dirty()
39 static void unmark_dirty(struct super_block *s) in unmark_dirty() argument
43 if (s->s_flags & MS_RDONLY) return; in unmark_dirty()
44 sync_blockdev(s->s_bdev); in unmark_dirty()
45 if ((sb = hpfs_map_sector(s, 17, &bh, 0))) { in unmark_dirty()
46 sb->dirty = hpfs_sb(s)->sb_chkdsk > 1 - hpfs_sb(s)->sb_was_error; in unmark_dirty()
47 sb->old_wrote = hpfs_sb(s)->sb_chkdsk >= 2 && !hpfs_sb(s)->sb_was_error; in unmark_dirty()
57 void hpfs_error(struct super_block *s, const char *fmt, ...) in hpfs_error() argument
[all …]
Dalloc.c16 static int chk_if_allocated(struct super_block *s, secno sec, char *msg) in chk_if_allocated() argument
20 if (!(bmp = hpfs_map_bitmap(s, sec >> 14, &qbh, "chk"))) goto fail; in chk_if_allocated()
22 hpfs_error(s, "sector '%s' - %08x not allocated in bitmap", msg, sec); in chk_if_allocated()
26 …if (sec >= hpfs_sb(s)->sb_dirband_start && sec < hpfs_sb(s)->sb_dirband_start + hpfs_sb(s)->sb_dir… in chk_if_allocated()
27 unsigned ssec = (sec - hpfs_sb(s)->sb_dirband_start) / 4; in chk_if_allocated()
28 if (!(bmp = hpfs_map_dnode_bitmap(s, &qbh))) goto fail; in chk_if_allocated()
30 hpfs_error(s, "sector '%s' - %08x not allocated in directory bitmap", msg, sec); in chk_if_allocated()
47 int hpfs_chk_sectors(struct super_block *s, secno start, int len, char *msg) in hpfs_chk_sectors() argument
50 start + len > hpfs_sb(s)->sb_fs_size) { in hpfs_chk_sectors()
51 hpfs_error(s, "sector(s) '%s' badly placed at %08x", msg, start); in hpfs_chk_sectors()
[all …]
Dmap.c11 unsigned *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 unsigned int *hpfs_map_bitmap(struct super_block *s, unsigned bmp_block, in hpfs_map_bitmap() argument
20 unsigned n_bands = (hpfs_sb(s)->sb_fs_size + 0x3fff) >> 14; in hpfs_map_bitmap()
21 if (hpfs_sb(s)->sb_chk) if (bmp_block >= n_bands) { in hpfs_map_bitmap()
22 hpfs_error(s, "hpfs_map_bitmap called with bad parameter: %08x at %s", bmp_block, id); in hpfs_map_bitmap()
25 sec = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); in hpfs_map_bitmap()
26 if (!sec || sec > hpfs_sb(s)->sb_fs_size-4) { in hpfs_map_bitmap()
27 hpfs_error(s, "invalid bitmap block pointer %08x -> %08x at %s", bmp_block, sec, id); in hpfs_map_bitmap()
30 return hpfs_map_4sectors(s, sec, qbh, 4); in hpfs_map_bitmap()
[all …]
Danode.c13 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 …]
Dea.c14 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 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->anode, 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 …]
Dbuffer.c14 void *hpfs_map_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp, in hpfs_map_sector() argument
19 hpfs_lock_assert(s); in hpfs_map_sector()
23 *bhp = bh = sb_bread(s, secno); in hpfs_map_sector()
34 void *hpfs_get_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp) in hpfs_get_sector() argument
39 hpfs_lock_assert(s); in hpfs_get_sector()
43 if ((*bhp = bh = sb_getblk(s, secno)) != NULL) { in hpfs_get_sector()
55 void *hpfs_map_4sectors(struct super_block *s, unsigned secno, struct quad_buffer_head *qbh, in hpfs_map_4sectors() argument
61 hpfs_lock_assert(s); in hpfs_map_4sectors()
76 qbh->bh[0] = bh = sb_bread(s, secno); in hpfs_map_4sectors()
81 qbh->bh[1] = bh = sb_bread(s, secno + 1); in hpfs_map_4sectors()
[all …]
/fs/ecryptfs/
Dkeystore.c629 struct ecryptfs_write_tag_70_packet_silly_stack *s; in ecryptfs_write_tag_70_packet() local
633 s = kmalloc(sizeof(*s), GFP_KERNEL); in ecryptfs_write_tag_70_packet()
634 if (!s) { in ecryptfs_write_tag_70_packet()
636 "[%zd] bytes of kernel memory\n", __func__, sizeof(*s)); in ecryptfs_write_tag_70_packet()
640 s->desc.flags = CRYPTO_TFM_REQ_MAY_SLEEP; in ecryptfs_write_tag_70_packet()
644 &s->auth_tok, mount_crypt_stat, in ecryptfs_write_tag_70_packet()
653 &s->desc.tfm, in ecryptfs_write_tag_70_packet()
654 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet()
661 mutex_lock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
662 s->block_size = crypto_blkcipher_blocksize(s->desc.tfm); in ecryptfs_write_tag_70_packet()
[all …]
/fs/ext3/
Dxattr.c526 ext3_xattr_set_entry(struct ext3_xattr_info *i, struct ext3_xattr_search *s) in ext3_xattr_set_entry() argument
529 size_t free, min_offs = s->end - s->base, name_len = strlen(i->name); in ext3_xattr_set_entry()
532 last = s->first; in ext3_xattr_set_entry()
540 free = min_offs - ((void *)last - s->base) - sizeof(__u32); in ext3_xattr_set_entry()
541 if (!s->not_found) { in ext3_xattr_set_entry()
542 if (!s->here->e_value_block && s->here->e_value_size) { in ext3_xattr_set_entry()
543 size_t size = le32_to_cpu(s->here->e_value_size); in ext3_xattr_set_entry()
555 if (i->value && s->not_found) { in ext3_xattr_set_entry()
558 size_t rest = (void *)last - (void *)s->here + sizeof(__u32); in ext3_xattr_set_entry()
559 memmove((void *)s->here + size, s->here, rest); in ext3_xattr_set_entry()
[all …]
/fs/cifs/
Dcifsfs.c280 cifs_show_address(struct seq_file *s, struct TCP_Server_Info *server) in cifs_show_address() argument
285 seq_printf(s, ",addr="); in cifs_show_address()
289 seq_printf(s, "%pI4", &sa->sin_addr.s_addr); in cifs_show_address()
292 seq_printf(s, "%pI6", &sa6->sin6_addr.s6_addr); in cifs_show_address()
294 seq_printf(s, "%%%u", sa6->sin6_scope_id); in cifs_show_address()
297 seq_printf(s, "(unknown)"); in cifs_show_address()
302 cifs_show_security(struct seq_file *s, struct TCP_Server_Info *server) in cifs_show_security() argument
304 seq_printf(s, ",sec="); in cifs_show_security()
308 seq_printf(s, "lanman"); in cifs_show_security()
311 seq_printf(s, "ntlmv2"); in cifs_show_security()
[all …]
/fs/ceph/
Ddebugfs.c21 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 …]
Dmds_client.c306 static const char *session_state_name(int s) in session_state_name() argument
308 switch (s) { in session_state_name()
320 static struct ceph_mds_session *get_session(struct ceph_mds_session *s) in get_session() argument
322 if (atomic_inc_not_zero(&s->s_ref)) { in get_session()
323 dout("mdsc get_session %p %d -> %d\n", s, in get_session()
324 atomic_read(&s->s_ref)-1, atomic_read(&s->s_ref)); in get_session()
325 return s; in get_session()
327 dout("mdsc get_session %p 0 -- FAIL", s); in get_session()
332 void ceph_put_mds_session(struct ceph_mds_session *s) in ceph_put_mds_session() argument
334 dout("mdsc put_session %p %d -> %d\n", s, in ceph_put_mds_session()
[all …]
/fs/fat/
Dfat.h193 unsigned char s = name[0]; in fat_checksum() local
194 s = (s<<7) + (s>>1) + name[1]; s = (s<<7) + (s>>1) + name[2]; in fat_checksum()
195 s = (s<<7) + (s>>1) + name[3]; s = (s<<7) + (s>>1) + name[4]; in fat_checksum()
196 s = (s<<7) + (s>>1) + name[5]; s = (s<<7) + (s>>1) + name[6]; in fat_checksum()
197 s = (s<<7) + (s>>1) + name[7]; s = (s<<7) + (s>>1) + name[8]; in fat_checksum()
198 s = (s<<7) + (s>>1) + name[9]; s = (s<<7) + (s>>1) + name[10]; in fat_checksum()
199 return s; in fat_checksum()
/fs/dlm/
Ddebug_fs.c51 static int 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 return seq_printf(s, "\n"); in print_format1_lock()
74 static int print_format1(struct dlm_rsb *res, struct seq_file *s) in print_format1() argument
82 rv = seq_printf(s, "\nResource %p Name (len=%d) \"", in print_format1()
89 seq_printf(s, "%c", res->res_name[i]); in print_format1()
[all …]
/fs/ext4/
Dxattr.c541 ext4_xattr_set_entry(struct ext4_xattr_info *i, struct ext4_xattr_search *s) in ext4_xattr_set_entry() argument
544 size_t free, min_offs = s->end - s->base, name_len = strlen(i->name); in ext4_xattr_set_entry()
547 last = s->first; in ext4_xattr_set_entry()
555 free = min_offs - ((void *)last - s->base) - sizeof(__u32); in ext4_xattr_set_entry()
556 if (!s->not_found) { in ext4_xattr_set_entry()
557 if (!s->here->e_value_block && s->here->e_value_size) { in ext4_xattr_set_entry()
558 size_t size = le32_to_cpu(s->here->e_value_size); in ext4_xattr_set_entry()
570 if (i->value && s->not_found) { in ext4_xattr_set_entry()
573 size_t rest = (void *)last - (void *)s->here + sizeof(__u32); in ext4_xattr_set_entry()
574 memmove((void *)s->here + size, s->here, rest); in ext4_xattr_set_entry()
[all …]
/fs/qnx6/
Dinode.c112 struct super_block *s = inode->i_sb; in qnx6_block_map() local
113 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()
150 block = qnx6_get_devblock(s, ptr); in qnx6_block_map()
181 static const char *qnx6_checkroot(struct super_block *s) in qnx6_checkroot() argument
186 struct inode *root = s->s_root->d_inode; in qnx6_checkroot()
205 void qnx6_superblock_debug(struct qnx6_super_block *sb, struct super_block *s) in qnx6_superblock_debug() argument
207 struct qnx6_sb_info *sbi = QNX6_SB(s); in qnx6_superblock_debug()
268 static struct buffer_head *qnx6_check_first_superblock(struct super_block *s, in qnx6_check_first_superblock() argument
[all …]
/fs/nls/
Dnls_base.c55 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/
Dinode.c33 void dump_imap(const char *prefix, struct super_block *s);
169 struct super_block *s = inode->i_sb; in bfs_evict_inode() local
170 struct bfs_sb_info *info = BFS_SB(s); in bfs_evict_inode()
182 di = find_inode(s, inode->i_ino, &bh); in bfs_evict_inode()
197 dump_imap("delete_inode", s); in bfs_evict_inode()
210 static void bfs_put_super(struct super_block *s) in bfs_put_super() argument
212 struct bfs_sb_info *info = BFS_SB(s); in bfs_put_super()
220 s->s_fs_info = NULL; in bfs_put_super()
225 struct super_block *s = dentry->d_sb; in bfs_statfs() local
226 struct bfs_sb_info *info = BFS_SB(s); in bfs_statfs()
[all …]
/fs/jffs2/
Dsummary.c63 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/
Dinode.c353 devpts_fill_super(struct super_block *s, void *data, int silent) in devpts_fill_super() argument
357 s->s_blocksize = 1024; in devpts_fill_super()
358 s->s_blocksize_bits = 10; in devpts_fill_super()
359 s->s_magic = DEVPTS_SUPER_MAGIC; in devpts_fill_super()
360 s->s_op = &devpts_sops; in devpts_fill_super()
361 s->s_time_gran = 1; in devpts_fill_super()
363 s->s_fs_info = new_pts_fs_info(); in devpts_fill_super()
364 if (!s->s_fs_info) in devpts_fill_super()
367 inode = new_inode(s); in devpts_fill_super()
377 s->s_root = d_make_root(inode); in devpts_fill_super()
[all …]

123456789