Home
last modified time | relevance | path

Searched refs:be32_to_cpu (Results 1 – 25 of 111) sorted by relevance

12345

/fs/partitions/
Damiga.c22 sum += be32_to_cpu(*m++); in checksum_block()
53 if (checksum_block((__be32 *)data, be32_to_cpu(rdb->rdb_SummedLongs) & 0x7F) == 0) in amiga_partition()
60 be32_to_cpu(rdb->rdb_SummedLongs) & 0x7F)==0) { in amiga_partition()
71 blksize = be32_to_cpu( rdb->rdb_BlockBytes ) / 512; in amiga_partition()
74 blk = be32_to_cpu(rdb->rdb_PartitionList); in amiga_partition()
87 blk = be32_to_cpu(pb->pb_Next); in amiga_partition()
90 if (checksum_block((__be32 *)pb, be32_to_cpu(pb->pb_SummedLongs) & 0x7F) != 0 ) in amiga_partition()
95 nr_sects = (be32_to_cpu(pb->pb_Environment[10]) + 1 - in amiga_partition()
96 be32_to_cpu(pb->pb_Environment[9])) * in amiga_partition()
97 be32_to_cpu(pb->pb_Environment[3]) * in amiga_partition()
[all …]
Datari.c23 be32_to_cpu((pi)->st) <= (hdsiz) && \
24 be32_to_cpu((pi)->st) + be32_to_cpu((pi)->siz) <= (hdsiz))
76 put_partition (state, slot, be32_to_cpu(pi->st), in atari_partition()
77 be32_to_cpu(pi->siz)); in atari_partition()
85 partsect = extensect = be32_to_cpu(pi->st); in atari_partition()
102 partsect + be32_to_cpu(xrs->part[0].st), in atari_partition()
103 be32_to_cpu(xrs->part[0].siz)); in atari_partition()
116 partsect = be32_to_cpu(xrs->part[1].st) + extensect; in atari_partition()
137 be32_to_cpu(pi->st), in atari_partition()
138 be32_to_cpu(pi->siz)); in atari_partition()
Dsgi.c47 if(be32_to_cpu(magic) != SGI_LABEL_MAGIC) { in sgi_partition()
56 csum += be32_to_cpu(cs); in sgi_partition()
70 blocks = be32_to_cpu(p->num_blocks); in sgi_partition()
71 start = be32_to_cpu(p->first_block); in sgi_partition()
74 if (be32_to_cpu(p->type) == LINUX_RAID_PARTITION) in sgi_partition()
Dsysv68.c68 i = be32_to_cpu(b->dk_ios.ios_slcblk); in sysv68_partition()
81 if (be32_to_cpu(slice->nblocks)) { in sysv68_partition()
83 be32_to_cpu(slice->blkoff), in sysv68_partition()
84 be32_to_cpu(slice->nblocks)); in sysv68_partition()
/fs/xfs/
Dxfs_alloc_btree.c61 xfs_agnumber_t seqno = be32_to_cpu(agf->agf_seqno); in xfs_allocbt_set_root()
134 xfs_alloc_mark_busy(cur->bc_tp, be32_to_cpu(agf->agf_seqno), bno, 1); in xfs_allocbt_free_block()
151 xfs_agnumber_t seqno = be32_to_cpu(agf->agf_seqno); in xfs_allocbt_update_lastrec()
168 if (be32_to_cpu(rec->alloc.ar_blockcount) <= in xfs_allocbt_update_lastrec()
169 be32_to_cpu(agf->agf_longest)) in xfs_allocbt_update_lastrec()
195 cur->bc_mp->m_perag[seqno].pagf_longest = be32_to_cpu(len); in xfs_allocbt_update_lastrec()
255 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agf->agf_seqno)); in xfs_allocbt_init_ptr_from_cur()
271 return (__int64_t)be32_to_cpu(kp->ar_startblock) - in xfs_allocbt_key_diff()
275 diff = (__int64_t)be32_to_cpu(kp->ar_blockcount) - rec->ar_blockcount; in xfs_allocbt_key_diff()
279 return (__int64_t)be32_to_cpu(kp->ar_startblock) - rec->ar_startblock; in xfs_allocbt_key_diff()
[all …]
Dxfs_dir2_data.c72 ASSERT(be32_to_cpu(d->hdr.magic) == XFS_DIR2_DATA_MAGIC || in xfs_dir2_data_check()
73 be32_to_cpu(d->hdr.magic) == XFS_DIR2_BLOCK_MAGIC); in xfs_dir2_data_check()
76 if (be32_to_cpu(d->hdr.magic) == XFS_DIR2_BLOCK_MAGIC) { in xfs_dir2_data_check()
140 if (be32_to_cpu(d->hdr.magic) == XFS_DIR2_BLOCK_MAGIC) { in xfs_dir2_data_check()
147 for (i = 0; i < be32_to_cpu(btp->count); i++) { in xfs_dir2_data_check()
148 if (be32_to_cpu(lep[i].address) == addr && in xfs_dir2_data_check()
149 be32_to_cpu(lep[i].hashval) == hash) in xfs_dir2_data_check()
152 ASSERT(i < be32_to_cpu(btp->count)); in xfs_dir2_data_check()
160 if (be32_to_cpu(d->hdr.magic) == XFS_DIR2_BLOCK_MAGIC) { in xfs_dir2_data_check()
161 for (i = stale = 0; i < be32_to_cpu(btp->count); i++) { in xfs_dir2_data_check()
[all …]
Dxfs_dir2_block.c113 if (unlikely(be32_to_cpu(block->hdr.magic) != XFS_DIR2_BLOCK_MAGIC)) { in xfs_dir2_block_addname()
206 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_addname()
209 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) in xfs_dir2_block_addname()
255 for (fromidx = toidx = be32_to_cpu(btp->count) - 1, in xfs_dir2_block_addname()
259 if (be32_to_cpu(blp[fromidx].address) == XFS_DIR2_NULL_DATAPTR) { in xfs_dir2_block_addname()
272 lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); in xfs_dir2_block_addname()
273 lfloghigh -= be32_to_cpu(btp->stale) - 1; in xfs_dir2_block_addname()
274 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); in xfs_dir2_block_addname()
277 (xfs_dir2_data_aoff_t)((be32_to_cpu(btp->stale) - 1) * sizeof(*blp)), in xfs_dir2_block_addname()
279 blp += be32_to_cpu(btp->stale) - 1; in xfs_dir2_block_addname()
[all …]
Dxfs_dir2_node.c78 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC); in xfs_dir2_free_log_bests()
96 ASSERT(be32_to_cpu(free->hdr.magic) == XFS_DIR2_FREE_MAGIC); in xfs_dir2_free_log_header()
153 ASSERT(be32_to_cpu(ltp->bestcount) <= (uint)dp->i_d.di_size / mp->m_dirblksize); in xfs_dir2_leaf_to_node()
160 i < be32_to_cpu(ltp->bestcount); i++, from++, to++) { in xfs_dir2_leaf_to_node()
172 xfs_dir2_free_log_bests(tp, fbp, 0, be32_to_cpu(free->hdr.nvalid) - 1); in xfs_dir2_leaf_to_node()
225 ASSERT(index == 0 || be32_to_cpu(leaf->ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add()
227 be32_to_cpu(leaf->ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add()
273 be32_to_cpu(leaf->ents[lowstale].address) != in xfs_dir2_leafn_add()
284 be32_to_cpu(leaf->ents[highstale].address) != in xfs_dir2_leafn_add()
298 ASSERT(be32_to_cpu(leaf->ents[lowstale].address) == in xfs_dir2_leafn_add()
[all …]
Dxfs_alloc.c172 *bno = be32_to_cpu(rec->alloc.ar_startblock); in xfs_alloc_get_rec()
173 *len = be32_to_cpu(rec->alloc.ar_blockcount); in xfs_alloc_get_rec()
317 diff = be32_to_cpu(agf->agf_freeblks) in xfs_alloc_fix_minleft()
318 + be32_to_cpu(agf->agf_flcount) in xfs_alloc_fix_minleft()
579 (void *)(__psunsigned_t)be32_to_cpu(agf->agf_seqno), in xfs_alloc_trace_modagf()
580 (void *)(__psunsigned_t)be32_to_cpu(agf->agf_length), in xfs_alloc_trace_modagf()
581 (void *)(__psunsigned_t)be32_to_cpu(agf->agf_roots[XFS_BTNUM_BNO]), in xfs_alloc_trace_modagf()
582 (void *)(__psunsigned_t)be32_to_cpu(agf->agf_roots[XFS_BTNUM_CNT]), in xfs_alloc_trace_modagf()
583 (void *)(__psunsigned_t)be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNO]), in xfs_alloc_trace_modagf()
584 (void *)(__psunsigned_t)be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]), in xfs_alloc_trace_modagf()
[all …]
Dxfs_dir2_leaf.c112 leaf->hdr.count = cpu_to_be16(be32_to_cpu(btp->count)); in xfs_dir2_block_to_leaf()
113 leaf->hdr.stale = cpu_to_be16(be32_to_cpu(btp->stale)); in xfs_dir2_block_to_leaf()
118 memcpy(leaf->ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir2_block_to_leaf()
222 index < be16_to_cpu(leaf->hdr.count) && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_addname()
224 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_addname()
226 i = xfs_dir2_dataptr_to_db(mp, be32_to_cpu(lep->address)); in xfs_dir2_leaf_addname()
227 ASSERT(i < be32_to_cpu(ltp->bestcount)); in xfs_dir2_leaf_addname()
238 for (i = 0; i < be32_to_cpu(ltp->bestcount); i++) { in xfs_dir2_leaf_addname()
359 if (use_block >= be32_to_cpu(ltp->bestcount)) { in xfs_dir2_leaf_addname()
362 be32_to_cpu(ltp->bestcount) * sizeof(bestsp[0])); in xfs_dir2_leaf_addname()
[all …]
Dxfs_ialloc_btree.c84 xfs_agblock_t sbno = be32_to_cpu(start->s); in xfs_inobt_alloc_block()
176 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); in xfs_inobt_init_ptr_from_cur()
186 return (__int64_t)be32_to_cpu(key->inobt.ir_startino) - in xfs_inobt_key_diff()
229 return be32_to_cpu(k1->inobt.ir_startino) < in xfs_inobt_keys_inorder()
230 be32_to_cpu(k2->inobt.ir_startino); in xfs_inobt_keys_inorder()
239 return be32_to_cpu(r1->inobt.ir_startino) + XFS_INODES_PER_CHUNK <= in xfs_inobt_recs_inorder()
240 be32_to_cpu(r2->inobt.ir_startino); in xfs_inobt_recs_inorder()
292 *l0 = be32_to_cpu(key->inobt.ir_startino); in xfs_inobt_trace_key()
304 *l0 = be32_to_cpu(rec->inobt.ir_startino); in xfs_inobt_trace_record()
305 *l1 = be32_to_cpu(rec->inobt.ir_freecount); in xfs_inobt_trace_record()
[all …]
Dxfs_ialloc.c148 *ino = be32_to_cpu(rec->inobt.ir_startino); in xfs_inobt_get_rec()
149 *fcnt = be32_to_cpu(rec->inobt.ir_freecount); in xfs_inobt_get_rec()
204 newino = be32_to_cpu(agi->agi_newino); in xfs_ialloc_ag_alloc()
208 (args.agbno < be32_to_cpu(agi->agi_length)))) { in xfs_ialloc_ag_alloc()
210 be32_to_cpu(agi->agi_seqno), args.agbno); in xfs_ialloc_ag_alloc()
260 args.agbno = be32_to_cpu(agi->agi_root); in xfs_ialloc_ag_alloc()
262 be32_to_cpu(agi->agi_seqno), args.agbno); in xfs_ialloc_ag_alloc()
284 args.agbno = be32_to_cpu(agi->agi_root); in xfs_ialloc_ag_alloc()
286 be32_to_cpu(agi->agi_seqno), args.agbno); in xfs_ialloc_ag_alloc()
340 d = XFS_AGB_TO_DADDR(args.mp, be32_to_cpu(agi->agi_seqno), in xfs_ialloc_ag_alloc()
[all …]
Dxfs_da_btree.c259 if (be32_to_cpu(node->hdr.info.forw) == addblk->blkno) { in xfs_da_split()
273 if (be32_to_cpu(node->hdr.info.back) == addblk->blkno) { in xfs_da_split()
483 ((be32_to_cpu(node2->btree[0].hashval) < be32_to_cpu(node1->btree[0].hashval)) || in xfs_da_node_rebalance()
484 (be32_to_cpu(node2->btree[be16_to_cpu(node2->hdr.count)-1].hashval) < in xfs_da_node_rebalance()
485 be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval)))) { in xfs_da_node_rebalance()
561 blk1->hashval = be32_to_cpu(node1->btree[be16_to_cpu(node1->hdr.count)-1].hashval); in xfs_da_node_rebalance()
562 blk2->hashval = be32_to_cpu(node2->btree[be16_to_cpu(node2->hdr.count)-1].hashval); in xfs_da_node_rebalance()
614 oldblk->hashval = be32_to_cpu(node->btree[be16_to_cpu(node->hdr.count)-1 ].hashval); in xfs_da_node_add()
737 child = be32_to_cpu(oldroot->btree[0].before); in xfs_da_root_join()
826 forward = (be32_to_cpu(info->forw) < be32_to_cpu(info->back)); in xfs_da_node_toosmall()
[all …]
Dxfs_itable.c146 buf->bs_nlink = be32_to_cpu(dic->di_nlink); in xfs_bulkstat_one_dinode()
152 buf->bs_uid = be32_to_cpu(dic->di_uid); in xfs_bulkstat_one_dinode()
153 buf->bs_gid = be32_to_cpu(dic->di_gid); in xfs_bulkstat_one_dinode()
155 buf->bs_atime.tv_sec = be32_to_cpu(dic->di_atime.t_sec); in xfs_bulkstat_one_dinode()
156 buf->bs_atime.tv_nsec = be32_to_cpu(dic->di_atime.t_nsec); in xfs_bulkstat_one_dinode()
157 buf->bs_mtime.tv_sec = be32_to_cpu(dic->di_mtime.t_sec); in xfs_bulkstat_one_dinode()
158 buf->bs_mtime.tv_nsec = be32_to_cpu(dic->di_mtime.t_nsec); in xfs_bulkstat_one_dinode()
159 buf->bs_ctime.tv_sec = be32_to_cpu(dic->di_ctime.t_sec); in xfs_bulkstat_one_dinode()
160 buf->bs_ctime.tv_nsec = be32_to_cpu(dic->di_ctime.t_nsec); in xfs_bulkstat_one_dinode()
162 buf->bs_extsize = be32_to_cpu(dic->di_extsize) << mp->m_sb.sb_blocklog; in xfs_bulkstat_one_dinode()
[all …]
/fs/efs/
Dsuper.c154 if (be32_to_cpu(vh->vh_magic) != VHMAGIC) { in module_exit()
166 csum += be32_to_cpu(cs); in module_exit()
188 (int) be32_to_cpu(vh->vh_vd[i].vd_lbn), in module_exit()
189 (int) be32_to_cpu(vh->vh_vd[i].vd_nbytes)); in module_exit()
195 pt_type = (int) be32_to_cpu(vh->vh_pt[i].pt_type); in module_exit()
200 if (be32_to_cpu(vh->vh_pt[i].pt_nblks)) { in module_exit()
203 (int) be32_to_cpu(vh->vh_pt[i].pt_firstlbn), in module_exit()
204 (int) be32_to_cpu(vh->vh_pt[i].pt_nblks), in module_exit()
210 sblock = be32_to_cpu(vh->vh_pt[i].pt_firstlbn); in module_exit()
230 if (!IS_EFS_MAGIC(be32_to_cpu(super->fs_magic))) in efs_validate_super()
[all …]
/fs/hfsplus/
Dextents.c28 return be32_to_cpu(k1id) < be32_to_cpu(k2id) ? -1 : 1; in hfsplus_ext_cmp_key()
37 return be32_to_cpu(k1s) < be32_to_cpu(k2s) ? -1 : 1; in hfsplus_ext_cmp_key()
56 count = be32_to_cpu(ext->block_count); in hfsplus_ext_find_block()
58 return be32_to_cpu(ext->start_block) + off; in hfsplus_ext_find_block()
71 count += be32_to_cpu(ext->block_count); in hfsplus_ext_block_count()
83 return be32_to_cpu(ext->start_block) + be32_to_cpu(ext->block_count); in hfsplus_ext_lastblock()
147 HFSPLUS_I(inode).cached_start = be32_to_cpu(fd->key->ext.start_block); in __hfsplus_ext_cache_extent()
236 dprint(DBG_EXTENT, " %u:%u", be32_to_cpu(extent[i].start_block), in hfsplus_dump_extent()
237 be32_to_cpu(extent[i].block_count)); in hfsplus_dump_extent()
249 count = be32_to_cpu(extent->block_count); in hfsplus_add_extent()
[all …]
Dpart_tbl.c99 *part_start += be32_to_cpu(p->pdStart); in hfs_part_find()
100 *part_size = be32_to_cpu(p->pdSize); in hfs_part_find()
111 size = be32_to_cpu(pm->pmMapBlkCnt); in hfs_part_find()
115 *part_start += be32_to_cpu(pm->pmPyPartStart); in hfs_part_find()
116 *part_size = be32_to_cpu(pm->pmPartBlkCnt); in hfs_part_find()
/fs/jbd/
Drecovery.c242 be32_to_cpu(sb->s_sequence)); in journal_recover()
243 journal->j_transaction_sequence = be32_to_cpu(sb->s_sequence) + 1; in journal_recover()
301 int dropped = info.end_transaction - be32_to_cpu(sb->s_sequence); in journal_skip_recovery()
337 next_commit_ID = be32_to_cpu(sb->s_sequence); in do_one_pass()
338 next_log_block = be32_to_cpu(sb->s_start); in do_one_pass()
398 blocktype = be32_to_cpu(tmp->h_blocktype); in do_one_pass()
399 sequence = be32_to_cpu(tmp->h_sequence); in do_one_pass()
435 flags = be32_to_cpu(tag->t_flags); in do_one_pass()
452 blocknr = be32_to_cpu(tag->t_blocknr); in do_one_pass()
581 max = be32_to_cpu(header->r_count); in scan_revoke_records()
[all …]
/fs/affs/
Damigaffs.c43 hash_ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[offset]); in affs_insert_hash()
49 hash_ino = be32_to_cpu(AFFS_TAIL(sb, dir_bh)->hash_chain); in affs_insert_hash()
94 hash_ino = be32_to_cpu(AFFS_HEAD(bh)->table[offset]); in affs_remove_hash()
102 affs_adjust_checksum(bh, be32_to_cpu(ino) - hash_ino); in affs_remove_hash()
112 hash_ino = be32_to_cpu(AFFS_TAIL(sb, bh)->hash_chain); in affs_remove_hash()
168 link_ino = be32_to_cpu(AFFS_TAIL(sb, bh)->link_chain); in affs_remove_link()
173 dir = affs_iget(sb, be32_to_cpu(AFFS_TAIL(sb, link_bh)->parent)); in affs_remove_link()
200 while ((ino = be32_to_cpu(AFFS_TAIL(sb, bh)->link_chain)) != 0) { in affs_remove_link()
204 affs_adjust_checksum(bh, be32_to_cpu(ino2) - link_ino); in affs_remove_link()
208 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { in affs_remove_link()
[all …]
Dbitmap.c95 tmp = be32_to_cpu(*data); in affs_free_block()
101 tmp = be32_to_cpu(*(__be32 *)bh->b_data); in affs_free_block()
211 tmp = be32_to_cpu(*data); in affs_alloc_block()
224 tmp = be32_to_cpu(*data); in affs_alloc_block()
246 tmp = be32_to_cpu(*(__be32 *)bh->b_data); in affs_alloc_block()
305 bm->bm_key = be32_to_cpu(bmap_blk[blk]); in affs_init_bitmap()
328 bmap_bh = affs_bread(sb, be32_to_cpu(bmap_blk[blk])); in affs_init_bitmap()
348 old = be32_to_cpu(((__be32 *)bh->b_data)[offset]); in affs_init_bitmap()
/fs/jbd2/
Drecovery.c244 be32_to_cpu(sb->s_sequence)); in jbd2_journal_recover()
245 journal->j_transaction_sequence = be32_to_cpu(sb->s_sequence) + 1; in jbd2_journal_recover()
303 int dropped = info.end_transaction - be32_to_cpu(sb->s_sequence); in jbd2_journal_skip_recovery()
317 unsigned long long block = be32_to_cpu(tag->t_blocknr); in read_tag_block()
319 block |= (u64)be32_to_cpu(tag->t_blocknr_high) << 32; in read_tag_block()
381 next_commit_ID = be32_to_cpu(sb->s_sequence); in do_one_pass()
382 next_log_block = be32_to_cpu(sb->s_start); in do_one_pass()
442 blocktype = be32_to_cpu(tmp->h_blocktype); in do_one_pass()
443 sequence = be32_to_cpu(tmp->h_sequence); in do_one_pass()
492 flags = be32_to_cpu(tag->t_flags); in do_one_pass()
[all …]
/fs/hfs/
Dpart_tbl.c83 *part_start += be32_to_cpu(p->pdStart); in hfs_part_find()
84 *part_size = be32_to_cpu(p->pdSize); in hfs_part_find()
95 size = be32_to_cpu(pm->pmMapBlkCnt); in hfs_part_find()
99 *part_start += be32_to_cpu(pm->pmPyPartStart); in hfs_part_find()
100 *part_size = be32_to_cpu(pm->pmPartBlkCnt); in hfs_part_find()
Dbtree.c47 mdb->drXTFlSize, be32_to_cpu(mdb->drXTClpSiz)); in hfs_btree_open()
52 mdb->drCTFlSize, be32_to_cpu(mdb->drCTClpSiz)); in hfs_btree_open()
68 tree->root = be32_to_cpu(head->root); in hfs_btree_open()
69 tree->leaf_count = be32_to_cpu(head->leaf_count); in hfs_btree_open()
70 tree->leaf_head = be32_to_cpu(head->leaf_head); in hfs_btree_open()
71 tree->leaf_tail = be32_to_cpu(head->leaf_tail); in hfs_btree_open()
72 tree->node_count = be32_to_cpu(head->node_count); in hfs_btree_open()
73 tree->free_nodes = be32_to_cpu(head->free_nodes); in hfs_btree_open()
74 tree->attributes = be32_to_cpu(head->attributes); in hfs_btree_open()
/fs/gfs2/
Dops_export.c250 this.no_formal_ino = ((u64)be32_to_cpu(fh[0])) << 32; in gfs2_fh_to_dentry()
251 this.no_formal_ino |= be32_to_cpu(fh[1]); in gfs2_fh_to_dentry()
252 this.no_addr = ((u64)be32_to_cpu(fh[2])) << 32; in gfs2_fh_to_dentry()
253 this.no_addr |= be32_to_cpu(fh[3]); in gfs2_fh_to_dentry()
269 parent.no_formal_ino = ((u64)be32_to_cpu(fh[4])) << 32; in gfs2_fh_to_parent()
270 parent.no_formal_ino |= be32_to_cpu(fh[5]); in gfs2_fh_to_parent()
271 parent.no_addr = ((u64)be32_to_cpu(fh[6])) << 32; in gfs2_fh_to_parent()
272 parent.no_addr |= be32_to_cpu(fh[7]); in gfs2_fh_to_parent()
/fs/romfs/
Dinode.c109 sum += be32_to_cpu(*ptr++); in romfs_checksum()
137 sz = be32_to_cpu(rsb->size); in romfs_fill_super()
300 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_readdir()
324 nextfh = be32_to_cpu(ri.next); in romfs_readdir()
326 ino = be32_to_cpu(ri.spec); in romfs_readdir()
358 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_lookup()
391 offset = be32_to_cpu(ri.next) & ROMFH_MASK; in romfs_lookup()
395 if ((be32_to_cpu(ri.next) & ROMFH_TYPE) == ROMFH_HRD) in romfs_lookup()
396 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; in romfs_lookup()
516 nextfh = be32_to_cpu(ri.next); in romfs_iget()
[all …]

12345