Home
last modified time | relevance | path

Searched refs:sup (Results 1 – 8 of 8) sorted by relevance

/fs/ubifs/
Dsb.c77 struct ubifs_sb_node *sup; in create_default_filesystem() local
163 sup = kzalloc(ALIGN(UBIFS_SB_NODE_SZ, c->min_io_size), GFP_KERNEL); in create_default_filesystem()
170 if (!sup || !mst || !idx || !ino || !cs) { in create_default_filesystem()
185 sup->hash_algo = cpu_to_le16(c->auth_hash_algo); in create_default_filesystem()
186 err = ubifs_hmac_wkm(c, sup->hmac_wkm); in create_default_filesystem()
190 sup->hash_algo = cpu_to_le16(0xffff); in create_default_filesystem()
193 sup->ch.node_type = UBIFS_SB_NODE; in create_default_filesystem()
194 sup->key_hash = UBIFS_KEY_HASH_R5; in create_default_filesystem()
195 sup->flags = cpu_to_le32(sup_flags); in create_default_filesystem()
196 sup->min_io_size = cpu_to_le32(c->min_io_size); in create_default_filesystem()
[all …]
Ddebug.c352 const struct ubifs_sb_node *sup = node; in ubifs_dump_node() local
353 unsigned int sup_flags = le32_to_cpu(sup->flags); in ubifs_dump_node()
356 (int)sup->key_hash, get_key_hash(sup->key_hash)); in ubifs_dump_node()
358 (int)sup->key_fmt, get_key_fmt(sup->key_fmt)); in ubifs_dump_node()
364 pr_err("\tmin_io_size %u\n", le32_to_cpu(sup->min_io_size)); in ubifs_dump_node()
365 pr_err("\tleb_size %u\n", le32_to_cpu(sup->leb_size)); in ubifs_dump_node()
366 pr_err("\tleb_cnt %u\n", le32_to_cpu(sup->leb_cnt)); in ubifs_dump_node()
367 pr_err("\tmax_leb_cnt %u\n", le32_to_cpu(sup->max_leb_cnt)); in ubifs_dump_node()
369 (unsigned long long)le64_to_cpu(sup->max_bud_bytes)); in ubifs_dump_node()
370 pr_err("\tlog_lebs %u\n", le32_to_cpu(sup->log_lebs)); in ubifs_dump_node()
[all …]
Dauth.c192 const struct ubifs_sb_node *sup) in ubifs_sb_verify_signature() argument
234 err = verify_pkcs7_signature(sup, sizeof(struct ubifs_sb_node), in ubifs_sb_verify_signature()
Dubifs.h1720 const struct ubifs_sb_node *sup);
1938 int ubifs_write_sb_node(struct ubifs_info *c, struct ubifs_sb_node *sup);
Dsuper.c1771 struct ubifs_sb_node *sup = c->sup_node; in ubifs_remount_rw() local
1773 err = ubifs_write_sb_node(c, sup); in ubifs_remount_rw()
/fs/befs/
Ddebug.c156 befs_dump_super_block(const struct super_block *sb, befs_super_block *sup) in befs_dump_super_block() argument
164 befs_debug(sb, " name %s", sup->name); in befs_dump_super_block()
165 befs_debug(sb, " magic1 %08x", fs32_to_cpu(sb, sup->magic1)); in befs_dump_super_block()
167 fs32_to_cpu(sb, sup->fs_byte_order)); in befs_dump_super_block()
169 befs_debug(sb, " block_size %u", fs32_to_cpu(sb, sup->block_size)); in befs_dump_super_block()
170 befs_debug(sb, " block_shift %u", fs32_to_cpu(sb, sup->block_shift)); in befs_dump_super_block()
172 befs_debug(sb, " num_blocks %llu", fs64_to_cpu(sb, sup->num_blocks)); in befs_dump_super_block()
173 befs_debug(sb, " used_blocks %llu", fs64_to_cpu(sb, sup->used_blocks)); in befs_dump_super_block()
174 befs_debug(sb, " inode_size %u", fs32_to_cpu(sb, sup->inode_size)); in befs_dump_super_block()
176 befs_debug(sb, " magic2 %08x", fs32_to_cpu(sb, sup->magic2)); in befs_dump_super_block()
[all …]
Dbtree.c97 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()
158 if (sup->magic != BEFS_BTREE_MAGIC) { in befs_bt_read_super()
/fs/nilfs2/
Dsufile.c937 struct nilfs_suinfo_update *sup, *supend = buf + supsz * nsup; in nilfs_sufile_set_suinfo() local
948 for (sup = buf; sup < supend; sup = (void *)sup + supsz) { in nilfs_sufile_set_suinfo()
949 if (sup->sup_segnum >= nilfs->ns_nsegments in nilfs_sufile_set_suinfo()
950 || (sup->sup_flags & in nilfs_sufile_set_suinfo()
952 || (nilfs_suinfo_update_nblocks(sup) && in nilfs_sufile_set_suinfo()
953 sup->sup_sui.sui_nblocks > in nilfs_sufile_set_suinfo()
964 sup = buf; in nilfs_sufile_set_suinfo()
965 blkoff = nilfs_sufile_get_blkoff(sufile, sup->sup_segnum); in nilfs_sufile_set_suinfo()
973 sufile, sup->sup_segnum, bh, kaddr); in nilfs_sufile_set_suinfo()
975 if (nilfs_suinfo_update_lastmod(sup)) in nilfs_sufile_set_suinfo()
[all …]