Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 14 of 14) sorted by relevance

/fs/ubifs/
A Dio.c261 type = ch->node_type; in ubifs_check_node()
330 struct ubifs_ch *ch = buf; in ubifs_pad() local
336 ch->padding[0] = ch->padding[1] = 0; in ubifs_pad()
337 ch->sqnum = 0; in ubifs_pad()
387 struct ubifs_ch *ch = node; in ubifs_prepare_node() local
393 ch->len = cpu_to_le32(len); in ubifs_prepare_node()
396 ch->padding[0] = ch->padding[1] = 0; in ubifs_prepare_node()
398 ch->crc = cpu_to_le32(crc); in ubifs_prepare_node()
432 ch->padding[0] = ch->padding[1] = 0; in ubifs_prep_grp_node()
947 ch->node_type, type); in ubifs_read_node_wbuf()
[all …]
A Dscan.c66 struct ubifs_ch *ch = buf; in ubifs_scan_a_node() local
69 magic = le32_to_cpu(ch->magic); in ubifs_scan_a_node()
83 dbg_ntype(ch->node_type), lnum, offs); in ubifs_scan_a_node()
88 if (ch->node_type == UBIFS_PAD_NODE) { in ubifs_scan_a_node()
91 int node_len = le32_to_cpu(ch->len); in ubifs_scan_a_node()
190 struct ubifs_ch *ch = buf; in ubifs_add_snod() local
198 snod->sqnum = le64_to_cpu(ch->sqnum); in ubifs_add_snod()
199 snod->type = ch->node_type; in ubifs_add_snod()
201 snod->len = le32_to_cpu(ch->len); in ubifs_add_snod()
204 switch (ch->node_type) { in ubifs_add_snod()
[all …]
A Dubifs-media.h481 struct ubifs_ch ch; member
521 struct ubifs_ch ch; member
548 struct ubifs_ch ch; member
569 struct ubifs_ch ch; member
583 struct ubifs_ch ch; member
617 struct ubifs_ch ch; member
680 struct ubifs_ch ch; member
721 struct ubifs_ch ch; member
754 struct ubifs_ch ch; member
770 struct ubifs_ch ch; member
[all …]
A Drecovery.c124 struct ubifs_ch *ch = buf; in get_master_node() local
155 struct ubifs_ch *ch = buf; in get_master_node() local
157 if (ch->node_type != UBIFS_MST_NODE) in get_master_node()
469 struct ubifs_ch *ch = buf; in no_more_nodes() local
470 int skip, dlen = le32_to_cpu(ch->len); in no_more_nodes()
576 struct ubifs_ch *ch; in drop_last_group() local
580 ch = snod->node; in drop_last_group()
660 struct ubifs_ch *ch = buf; in ubifs_recover_leb() local
1019 struct ubifs_ch *ch = buf; in clean_an_unclean_leb() local
1449 len = le32_to_cpu(ino->ch.len); in fix_size_in_place()
[all …]
A Dlog.c233 ref->ch.node_type = UBIFS_REF_NODE; in ubifs_add_bud_to_log()
369 cs->ch.node_type = UBIFS_CS_NODE; in ubifs_log_start_commit()
391 ref->ch.node_type = UBIFS_REF_NODE; in ubifs_log_start_commit()
598 struct ubifs_ch *ch = node; in add_node() local
599 int len = le32_to_cpu(ch->len), remains = c->leb_size - *offs; in add_node()
A Ddebug.c223 static void dump_ch(const struct ubifs_ch *ch) in dump_ch() argument
227 pr_err("\tnode_type %d (%s)\n", ch->node_type, in dump_ch()
228 dbg_ntype(ch->node_type)); in dump_ch()
230 dbg_gtype(ch->group_type)); in dump_ch()
312 const struct ubifs_ch *ch = node; in ubifs_dump_node() local
316 if (le32_to_cpu(ch->magic) != UBIFS_NODE_MAGIC) { in ubifs_dump_node()
326 switch (ch->node_type) { in ubifs_dump_node()
550 (int)ch->node_type); in ubifs_dump_node()
2058 struct ubifs_ch *ch; in check_leaf() local
2098 ch = node; in check_leaf()
[all …]
A Dsb.c166 sup->ch.node_type = UBIFS_SB_NODE; in create_default_filesystem()
208 mst->ch.node_type = UBIFS_MST_NODE; in create_default_filesystem()
274 idx->ch.node_type = UBIFS_IDX_NODE; in create_default_filesystem()
296 ino->ch.node_type = UBIFS_INO_NODE; in create_default_filesystem()
331 cs->ch.node_type = UBIFS_CS_NODE; in create_default_filesystem()
A Dubifs.c384 ubifs_assert(le64_to_cpu(dent->ch.sqnum) > ubifs_inode(dir)->creat_sqnum); in ubifs_printdir()
468 ubifs_assert(le64_to_cpu(dent->ch.sqnum) > ubifs_inode(dir)->creat_sqnum); in ubifs_finddir()
741 ubifs_assert(le64_to_cpu(dn->ch.sqnum) > ubifs_inode(inode)->creat_sqnum); in read_block()
747 dlen = le32_to_cpu(dn->ch.len) - UBIFS_DATA_NODE_SZ; in read_block()
A Dtnc.c459 struct ubifs_ch *ch = buf; in try_read_node() local
471 if (le32_to_cpu(ch->magic) != UBIFS_NODE_MAGIC) in try_read_node()
474 if (ch->node_type != type) in try_read_node()
477 node_len = le32_to_cpu(ch->len); in try_read_node()
486 node_crc = le32_to_cpu(ch->crc); in try_read_node()
1703 struct ubifs_ch *ch = buf; in validate_data_node() local
1706 if (ch->node_type != UBIFS_DATA_NODE) { in validate_data_node()
1708 ch->node_type, UBIFS_DATA_NODE); in validate_data_node()
1718 len = le32_to_cpu(ch->len); in validate_data_node()
A Dorphan.c291 orph->ch.node_type = UBIFS_ORPH_NODE; in write_orph_node()
603 n = (le32_to_cpu(orph->ch.len) - UBIFS_ORPH_NODE_SZ) >> 3; in do_kill_orphans()
859 n = (le32_to_cpu(orph->ch.len) - UBIFS_ORPH_NODE_SZ) >> 3; in dbg_read_orphans()
A Dreplay.c451 if (le32_to_cpu(dent->ch.len) != nlen + UBIFS_DENT_NODE_SZ + 1 || in ubifs_validate_entry()
871 c->cs_sqnum = le64_to_cpu(node->ch.sqnum); in replay_log_leb()
A Dmaster.c274 c->max_sqnum = le64_to_cpu(c->mst_node->ch.sqnum); in ubifs_read_master()
/fs/zfs/
A Dzfs.c1168 char *cname, ch; in dnode_get_path() local
1246 ch = *path; in dnode_get_path()
1271 *path = ch; in dnode_get_path()
1318 char *cname, ch; in get_filesystem_dnode() local
1329 ch = *fsname; in get_filesystem_dnode()
1346 *fsname = ch; in get_filesystem_dnode()
/fs/exfat/
A Dnode.c374 uint16_t ch = le16_to_cpu(source[si]); in decompress_upcase() local
376 if (ch == 0xffff && si + 1 < size) /* indicates a run */ in decompress_upcase()
379 output[oi++] = ch; in decompress_upcase()

Completed in 56 milliseconds