Home
last modified time | relevance | path

Searched refs:le64_to_cpu (Results 1 – 25 of 42) sorted by relevance

12

/external/u-boot/disk/
Dpart_efi.c86 if (le64_to_cpu(gpt_h->signature) != GPT_HEADER_SIGNATURE) { in validate_gpt_header()
89 le64_to_cpu(gpt_h->signature), in validate_gpt_header()
113 if (le64_to_cpu(gpt_h->my_lba) != lba) { in validate_gpt_header()
115 le64_to_cpu(gpt_h->my_lba), in validate_gpt_header()
124 if (le64_to_cpu(gpt_h->first_usable_lba) > lastlba) { in validate_gpt_header()
126 le64_to_cpu(gpt_h->first_usable_lba), lastlba); in validate_gpt_header()
129 if (le64_to_cpu(gpt_h->last_usable_lba) > lastlba) { in validate_gpt_header()
131 le64_to_cpu(gpt_h->last_usable_lba), lastlba); in validate_gpt_header()
136 LBAF "\n", le64_to_cpu(gpt_h->first_usable_lba), in validate_gpt_header()
137 le64_to_cpu(gpt_h->last_usable_lba), lastlba); in validate_gpt_header()
[all …]
/external/squashfs-tools/kernel/fs/squashfs/
Dsuper.c144 if (le64_to_cpu(sblk->xattr_table_start) != SQUASHFS_INVALID_BLK) in squashfs_fill_super()
149 msblk->bytes_used = le64_to_cpu(sblk->bytes_used); in squashfs_fill_super()
164 root_inode = le64_to_cpu(sblk->root_inode); in squashfs_fill_super()
168 msblk->inode_table = le64_to_cpu(sblk->inode_table_start); in squashfs_fill_super()
169 msblk->directory_table = le64_to_cpu(sblk->directory_table_start); in squashfs_fill_super()
186 (u64) le64_to_cpu(sblk->fragment_table_start)); in squashfs_fill_super()
188 (u64) le64_to_cpu(sblk->id_table_start)); in squashfs_fill_super()
210 le64_to_cpu(sblk->id_table_start), le16_to_cpu(sblk->no_ids)); in squashfs_fill_super()
230 le64_to_cpu(sblk->fragment_table_start), fragments); in squashfs_fill_super()
238 lookup_table_start = le64_to_cpu(sblk->lookup_table_start); in squashfs_fill_super()
Dexport.c57 u64 start = le64_to_cpu(msblk->inode_lookup_table[blk]); in squashfs_inode_lookup()
68 (u64) le64_to_cpu(ino)); in squashfs_inode_lookup()
70 return le64_to_cpu(ino); in squashfs_inode_lookup()
Dfragment.c56 u64 start_block = le64_to_cpu(msblk->fragment_index[block]); in squashfs_frag_lookup()
65 *fragment_block = le64_to_cpu(fragment_entry.start_block); in squashfs_frag_lookup()
Dinode.c202 inode->i_size = le64_to_cpu(sqsh_ino->file_size); in squashfs_read_inode()
206 le64_to_cpu(sqsh_ino->sparse) - 1) >> 9) + 1; in squashfs_read_inode()
211 squashfs_i(inode)->start = le64_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
Did.c53 u64 start_block = le64_to_cpu(msblk->id_table[block]); in squashfs_get_id()
/external/f2fs-tools/fsck/
Dquotaio_v2.c54 m->dqb_ihardlimit = le64_to_cpu(d->dqb_ihardlimit); in v2r1_disk2memdqblk()
55 m->dqb_isoftlimit = le64_to_cpu(d->dqb_isoftlimit); in v2r1_disk2memdqblk()
56 m->dqb_bhardlimit = le64_to_cpu(d->dqb_bhardlimit); in v2r1_disk2memdqblk()
57 m->dqb_bsoftlimit = le64_to_cpu(d->dqb_bsoftlimit); in v2r1_disk2memdqblk()
58 m->dqb_curinodes = le64_to_cpu(d->dqb_curinodes); in v2r1_disk2memdqblk()
59 m->dqb_curspace = le64_to_cpu(d->dqb_curspace); in v2r1_disk2memdqblk()
60 m->dqb_itime = le64_to_cpu(d->dqb_itime); in v2r1_disk2memdqblk()
61 m->dqb_btime = le64_to_cpu(d->dqb_btime); in v2r1_disk2memdqblk()
Dnode.h84 u64 blocks = le64_to_cpu(dn->inode_blk->i.i_blocks); in inc_inode_blocks()
Dsegment.c121 filesize = le64_to_cpu(inode->i.i_size); in f2fs_read()
253 if (offset > le64_to_cpu(inode->i.i_size)) { in f2fs_write()
/external/u-boot/fs/ubifs/
Dmaster.c272 c->max_sqnum = le64_to_cpu(c->mst_node->ch.sqnum); in ubifs_read_master()
273 c->highest_inum = le64_to_cpu(c->mst_node->highest_inum); in ubifs_read_master()
274 c->cmt_no = le64_to_cpu(c->mst_node->cmt_no); in ubifs_read_master()
282 c->bi.old_idx_sz = le64_to_cpu(c->mst_node->index_size); in ubifs_read_master()
295 c->lst.total_free = le64_to_cpu(c->mst_node->total_free); in ubifs_read_master()
296 c->lst.total_dirty = le64_to_cpu(c->mst_node->total_dirty); in ubifs_read_master()
297 c->lst.total_used = le64_to_cpu(c->mst_node->total_used); in ubifs_read_master()
298 c->lst.total_dead = le64_to_cpu(c->mst_node->total_dead); in ubifs_read_master()
299 c->lst.total_dark = le64_to_cpu(c->mst_node->total_dark); in ubifs_read_master()
Ddebug.c228 (unsigned long long)le64_to_cpu(ch->sqnum)); in dump_ch()
347 (unsigned long long)le64_to_cpu(sup->max_bud_bytes)); in ubifs_dump_node()
357 (unsigned long long)le64_to_cpu(sup->rp_size)); in ubifs_dump_node()
370 (unsigned long long)le64_to_cpu(mst->highest_inum)); in ubifs_dump_node()
372 (unsigned long long)le64_to_cpu(mst->cmt_no)); in ubifs_dump_node()
382 (unsigned long long)le64_to_cpu(mst->index_size)); in ubifs_dump_node()
396 (unsigned long long)le64_to_cpu(mst->total_free)); in ubifs_dump_node()
398 (unsigned long long)le64_to_cpu(mst->total_dirty)); in ubifs_dump_node()
400 (unsigned long long)le64_to_cpu(mst->total_used)); in ubifs_dump_node()
402 (unsigned long long)le64_to_cpu(mst->total_dead)); in ubifs_dump_node()
[all …]
Dreplay.c453 le64_to_cpu(dent->inum) > MAX_INUM) { in ubifs_validate_entry()
596 loff_t new_size = le64_to_cpu(ino->size); in replay_bud()
629 !le64_to_cpu(dent->inum), &used); in replay_bud()
635 loff_t old_size = le64_to_cpu(trun->old_size); in replay_bud()
636 loff_t new_size = le64_to_cpu(trun->new_size); in replay_bud()
861 if (le64_to_cpu(node->cmt_no) != c->cmt_no) { in replay_log_leb()
864 (unsigned long long)le64_to_cpu(node->cmt_no), in replay_log_leb()
869 c->cs_sqnum = le64_to_cpu(node->ch.sqnum); in replay_log_leb()
Dubifs.c350 dent->name, (unsigned long long)le64_to_cpu(dent->inum), in ubifs_printdir()
353 ubifs_assert(le64_to_cpu(dent->ch.sqnum) > ubifs_inode(dir)->creat_sqnum); in ubifs_printdir()
358 le64_to_cpu(dent->inum), dent->type); in ubifs_printdir()
434 dent->name, (unsigned long long)le64_to_cpu(dent->inum), in ubifs_finddir()
437 ubifs_assert(le64_to_cpu(dent->ch.sqnum) > ubifs_inode(dir)->creat_sqnum); in ubifs_finddir()
443 *inum = le64_to_cpu(dent->inum); in ubifs_finddir()
700 ubifs_assert(le64_to_cpu(dn->ch.sqnum) > ubifs_inode(inode)->creat_sqnum); in read_block()
Drecovery.c342 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1; in ubifs_recover_master_node()
832 if (le64_to_cpu(cs_node->cmt_no) != c->cmt_no) { in get_cs_sqnum()
834 (unsigned long long)le64_to_cpu(cs_node->cmt_no), in get_cs_sqnum()
838 *cs_sqnum = le64_to_cpu(cs_node->ch.sqnum); in get_cs_sqnum()
1437 i_size = le64_to_cpu(ino->size); in fix_size_in_place()
1507 e->i_size = le64_to_cpu(ino->size); in ubifs_recover_size()
Dorphan.c570 cmt_no = le64_to_cpu(orph->cmt_no) & LLONG_MAX; in do_kill_orphans()
603 inum = le64_to_cpu(orph->inos[i]); in do_kill_orphans()
615 if (le64_to_cpu(orph->cmt_no) & (1ULL << 63)) { in do_kill_orphans()
859 inum = le64_to_cpu(orph->inos[i]); in dbg_read_orphans()
/external/u-boot/arch/arm/lib/
Dimage.c55 image_size = le64_to_cpu(ih->image_size); in booti_setup()
56 text_offset = le64_to_cpu(ih->text_offset); in booti_setup()
67 if (!force_reloc && (le64_to_cpu(ih->flags) & BIT(3))) in booti_setup()
/external/u-boot/tools/
Dzynqmpbif.c547 shdr = (void *)(elf + le64_to_cpu(ehdr->e_shoff)); in elf2flat64()
550 for (i = 0; i < le64_to_cpu(ehdr->e_shnum); i++, shdr++) { in elf2flat64()
556 if (le64_to_cpu(shdr->sh_addr) < min_addr) in elf2flat64()
557 min_addr = le64_to_cpu(shdr->sh_addr); in elf2flat64()
558 if ((le64_to_cpu(shdr->sh_addr) + le64_to_cpu(shdr->sh_size)) > in elf2flat64()
560 max_addr = le64_to_cpu(shdr->sh_addr) + in elf2flat64()
561 le64_to_cpu(shdr->sh_size); in elf2flat64()
570 shdr = (void *)(elf + le64_to_cpu(ehdr->e_shoff)); in elf2flat64()
571 for (i = 0; i < le64_to_cpu(ehdr->e_shnum); i++, shdr++) { in elf2flat64()
572 char *dst = flat + le64_to_cpu(shdr->sh_addr) - min_addr; in elf2flat64()
[all …]
Dzynqmpimage.c167 (unsigned long long)le64_to_cpu(ph->load_address)); in print_partition()
170 (unsigned long long)le64_to_cpu(ph->entry_point)); in print_partition()
/external/selinux/libsepol/src/
Dprivate.h30 #define le64_to_cpu(x) (x) macro
37 #define le64_to_cpu(x) bswap_64(x) macro
/external/u-boot/include/
Dcompiler.h99 # define le64_to_cpu(x) (x) macro
112 # define le64_to_cpu(x) uswap_64(x) macro
Dzfs_common.h48 : le64_to_cpu(x))
/external/u-boot/include/linux/byteorder/
Dgeneric.h87 #define le64_to_cpu __le64_to_cpu macro
156 *var = cpu_to_le64(le64_to_cpu(*var) + val); in le64_add_cpu()
/external/f2fs-tools/include/
Df2fs_fs.h154 #define le64_to_cpu(x) ((__u64)(x)) macro
161 #define le64_to_cpu(x) bswap_64(x) macro
247 #member, le64_to_cpu(((ptr)->member)), \
248 le64_to_cpu(((ptr)->member))); \
433 #define get_sb_le64(member) le64_to_cpu(sb->member)
436 #define get_newsb_le64(member) le64_to_cpu(new_sb->member)
474 #define get_cp_le64(member) le64_to_cpu(cp->member)
/external/fsverity-utils/
Dutil.h80 # define le64_to_cpu(v) ((__force u64)(__le64)(v)) macro
93 # define le64_to_cpu(v) (__builtin_bswap64((__force u64)(v))) macro
/external/u-boot/arch/mips/include/asm/mach-generic/
Dmangle-port.h33 # define ioswabq(a, x) le64_to_cpu(x)

12