Searched refs:sup (Results 1 – 6 of 6) sorted by relevance
/fs/ubifs/ |
D | sb.c | 75 struct ubifs_sb_node *sup; in create_default_filesystem() local 161 sup = kzalloc(tmp, GFP_KERNEL); in create_default_filesystem() 162 if (!sup) in create_default_filesystem() 169 sup->ch.node_type = UBIFS_SB_NODE; in create_default_filesystem() 170 sup->key_hash = UBIFS_KEY_HASH_R5; in create_default_filesystem() 171 sup->flags = cpu_to_le32(sup_flags); in create_default_filesystem() 172 sup->min_io_size = cpu_to_le32(c->min_io_size); in create_default_filesystem() 173 sup->leb_size = cpu_to_le32(c->leb_size); in create_default_filesystem() 174 sup->leb_cnt = cpu_to_le32(c->leb_cnt); in create_default_filesystem() 175 sup->max_leb_cnt = cpu_to_le32(c->max_leb_cnt); in create_default_filesystem() [all …]
|
D | debug.c | 335 const struct ubifs_sb_node *sup = node; in dbg_dump_node() local 336 unsigned int sup_flags = le32_to_cpu(sup->flags); in dbg_dump_node() 339 (int)sup->key_hash, get_key_hash(sup->key_hash)); in dbg_dump_node() 341 (int)sup->key_fmt, get_key_fmt(sup->key_fmt)); in dbg_dump_node() 348 le32_to_cpu(sup->min_io_size)); in dbg_dump_node() 350 le32_to_cpu(sup->leb_size)); in dbg_dump_node() 352 le32_to_cpu(sup->leb_cnt)); in dbg_dump_node() 354 le32_to_cpu(sup->max_leb_cnt)); in dbg_dump_node() 356 (unsigned long long)le64_to_cpu(sup->max_bud_bytes)); in dbg_dump_node() 358 le32_to_cpu(sup->log_lebs)); in dbg_dump_node() [all …]
|
D | super.c | 1596 struct ubifs_sb_node *sup; in ubifs_remount_rw() local 1598 sup = ubifs_read_sb_node(c); in ubifs_remount_rw() 1599 if (IS_ERR(sup)) { in ubifs_remount_rw() 1600 err = PTR_ERR(sup); in ubifs_remount_rw() 1603 sup->leb_cnt = cpu_to_le32(c->leb_cnt); in ubifs_remount_rw() 1604 err = ubifs_write_sb_node(c, sup); in ubifs_remount_rw() 1605 kfree(sup); in ubifs_remount_rw()
|
D | ubifs.h | 1646 int ubifs_write_sb_node(struct ubifs_info *c, struct ubifs_sb_node *sup);
|
/fs/befs/ |
D | debug.c | 178 befs_dump_super_block(const struct super_block *sb, befs_super_block * sup) in befs_dump_super_block() argument 186 befs_debug(sb, " name %s", sup->name); in befs_dump_super_block() 187 befs_debug(sb, " magic1 %08x", fs32_to_cpu(sb, sup->magic1)); in befs_dump_super_block() 189 fs32_to_cpu(sb, sup->fs_byte_order)); in befs_dump_super_block() 191 befs_debug(sb, " block_size %u", fs32_to_cpu(sb, sup->block_size)); in befs_dump_super_block() 192 befs_debug(sb, " block_shift %u", fs32_to_cpu(sb, sup->block_shift)); in befs_dump_super_block() 194 befs_debug(sb, " num_blocks %Lu", fs64_to_cpu(sb, sup->num_blocks)); in befs_dump_super_block() 195 befs_debug(sb, " used_blocks %Lu", fs64_to_cpu(sb, sup->used_blocks)); in befs_dump_super_block() 197 befs_debug(sb, " magic2 %08x", fs32_to_cpu(sb, sup->magic2)); in befs_dump_super_block() 199 fs32_to_cpu(sb, sup->blocks_per_ag)); in befs_dump_super_block() [all …]
|
D | btree.c | 97 befs_btree_super * sup); 135 befs_btree_super * sup) in befs_bt_read_super() argument 151 sup->magic = fs32_to_cpu(sb, od_sup->magic); in befs_bt_read_super() 152 sup->node_size = fs32_to_cpu(sb, od_sup->node_size); in befs_bt_read_super() 153 sup->max_depth = fs32_to_cpu(sb, od_sup->max_depth); in befs_bt_read_super() 154 sup->data_type = fs32_to_cpu(sb, od_sup->data_type); in befs_bt_read_super() 155 sup->root_node_ptr = fs64_to_cpu(sb, od_sup->root_node_ptr); in befs_bt_read_super() 156 sup->free_node_ptr = fs64_to_cpu(sb, od_sup->free_node_ptr); in befs_bt_read_super() 157 sup->max_size = fs64_to_cpu(sb, od_sup->max_size); in befs_bt_read_super() 160 if (sup->magic != BEFS_BTREE_MAGIC) { in befs_bt_read_super()
|