Home
last modified time | relevance | path

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

12345678910>>...23

/linux-6.15/block/partitions/
H A Defi.c386 if (le64_to_cpu((*gpt)->my_lba) != lba) { in is_gpt_valid()
409 if (le64_to_cpu((*gpt)->last_usable_lba) < le64_to_cpu((*gpt)->first_usable_lba)) { in is_gpt_valid()
465 le64_to_cpu(pte->ending_lba) > lastlba) in is_pte_valid()
486 if (le64_to_cpu(pgpt->my_lba) != le64_to_cpu(agpt->alternate_lba)) { in compare_gpts()
493 if (le64_to_cpu(pgpt->alternate_lba) != le64_to_cpu(agpt->my_lba)) { in compare_gpts()
500 if (le64_to_cpu(pgpt->first_usable_lba) != in compare_gpts()
508 if (le64_to_cpu(pgpt->last_usable_lba) != in compare_gpts()
552 if (le64_to_cpu(agpt->my_lba) != lastlba) { in compare_gpts()
619 le64_to_cpu(pgpt->alternate_lba), in find_valid_gpt()
732 u64 size = le64_to_cpu(ptes[i].ending_lba) - in efi_partition()
[all …]
/linux-6.15/fs/bcachefs/
H A Djournal_seq_blacklist.c60 if (end < le64_to_cpu(e->start)) in bch2_journal_seq_blacklist_add()
63 if (start > le64_to_cpu(e->end)) { in bch2_journal_seq_blacklist_add()
74 end = max(end, le64_to_cpu(e->end)); in bch2_journal_seq_blacklist_add()
175 if (le64_to_cpu(e->start) >= in bch2_sb_journal_seq_blacklist_validate()
176 le64_to_cpu(e->end)) { in bch2_sb_journal_seq_blacklist_validate()
178 i, le64_to_cpu(e->start), le64_to_cpu(e->end)); in bch2_sb_journal_seq_blacklist_validate()
183 le64_to_cpu(e[0].end) > in bch2_sb_journal_seq_blacklist_validate()
184 le64_to_cpu(e[1].start)) { in bch2_sb_journal_seq_blacklist_validate()
186 i + 1, le64_to_cpu(e[0].end), le64_to_cpu(e[1].start)); in bch2_sb_journal_seq_blacklist_validate()
208 le64_to_cpu(i->start), in bch2_sb_journal_seq_blacklist_to_text()
[all …]
H A Djournal_sb.c38 b[i] = le64_to_cpu(journal->buckets[i]); in bch2_sb_journal_validate()
53 if (b[nr - 1] >= le64_to_cpu(m.nbuckets)) { in bch2_sb_journal_validate()
55 b[nr - 1], le64_to_cpu(m.nbuckets)); in bch2_sb_journal_validate()
121 b[i].start = le64_to_cpu(journal->d[i].start); in bch2_sb_journal_v2_validate()
126 le64_to_cpu(journal->d[i].start), in bch2_sb_journal_v2_validate()
127 le64_to_cpu(journal->d[i].nr)); in bch2_sb_journal_v2_validate()
131 sum += le64_to_cpu(journal->d[i].nr); in bch2_sb_journal_v2_validate()
147 if (b[nr - 1].end > le64_to_cpu(m.nbuckets)) { in bch2_sb_journal_v2_validate()
149 b[nr - 1].end - 1, le64_to_cpu(m.nbuckets)); in bch2_sb_journal_v2_validate()
181 le64_to_cpu(journal->d[i].start), in bch2_sb_journal_v2_to_text()
[all …]
H A Djournal_io.c537 le64_to_cpu(bl_entry->end), in journal_entry_blacklist_v2_validate()
555 le64_to_cpu(bl->start), in journal_entry_blacklist_v2_to_text()
556 le64_to_cpu(bl->end)); in journal_entry_blacklist_v2_to_text()
943 le64_to_cpu(jset->last_seq) > le64_to_cpu(jset->seq), in jset_validate()
947 le64_to_cpu(jset->last_seq), in jset_validate()
948 le64_to_cpu(jset->seq))) { in jset_validate()
1304 if (journal_entry_err_on(le64_to_cpu(i->j.last_seq) > le64_to_cpu(i->j.seq), in bch2_journal_read()
1308 le64_to_cpu(i->j.last_seq), in bch2_journal_read()
1309 le64_to_cpu(i->j.seq))) in bch2_journal_read()
1342 seq = le64_to_cpu(i->j.seq); in bch2_journal_read()
[all …]
H A Dsb-members.c141 if (le64_to_cpu(m.nbuckets) > BCH_MEMBER_NBUCKETS_MAX) { in validate_member()
143 i, le64_to_cpu(m.nbuckets), BCH_MEMBER_NBUCKETS_MAX); in validate_member()
147 if (le64_to_cpu(m.nbuckets) - in validate_member()
150 i, le64_to_cpu(m.nbuckets), BCH_MIN_NR_NBUCKETS); in validate_member()
184 u64 device_size = le64_to_cpu(m.nbuckets) * bucket_size; in member_to_text()
226 prt_printf(out, "Buckets:\t%llu\n", le64_to_cpu(m.nbuckets)); in member_to_text()
230 bch2_prt_datetime(out, le64_to_cpu(m.last_mount)); in member_to_text()
235 prt_printf(out, "Last superblock write:\t%llu\n", le64_to_cpu(m.seq)); in member_to_text()
392 atomic64_read(&ca->errors[i]) - le64_to_cpu(m.errors_at_reset[i])); in bch2_dev_io_errors_to_text()
440 u64 bitmap = le64_to_cpu(m->btree_allocated_bitmap); in __bch2_dev_btree_bitmap_mark()
[all …]
H A Dsuper-io.c329 prev_offset = le64_to_cpu(layout->sb_offset[0]); in validate_sb_layout()
332 offset = le64_to_cpu(layout->sb_offset[i]); in validate_sb_layout()
430 le64_to_cpu(sb->offset) != read_offset) { in bch2_sb_validate()
432 le64_to_cpu(sb->offset), read_offset); in bch2_sb_validate()
563 le64_to_cpu(sb->seq)); in bch2_sb_validate()
575 ? le64_to_cpu(v) in le_ulong_to_cpu()
614 c->sb.compat = le64_to_cpu(src->compat[0]); in bch2_sb_update()
769 sb->seq = le64_to_cpu(sb->sb->seq); in read_one_super()
883 offset = le64_to_cpu(*i); in __bch2_read_super()
1130 le64_to_cpu(ca->sb_read_scratch->seq), in bch2_write_super()
[all …]
H A Dio_misc.c224 prt_printf(out, " inum=%llu", le64_to_cpu(op.v->inum)); in bch2_logged_op_truncate_to_text()
225 prt_printf(out, " new_i_size=%llu", le64_to_cpu(op.v->new_i_size)); in bch2_logged_op_truncate_to_text()
252 subvol_inum inum = { le32_to_cpu(op->v.subvol), le64_to_cpu(op->v.inum) }; in __bch2_resume_logged_op_truncate()
253 u64 new_i_size = le64_to_cpu(op->v.new_i_size); in __bch2_resume_logged_op_truncate()
316 prt_printf(out, " inum=%llu", le64_to_cpu(op.v->inum)); in bch2_logged_op_finsert_to_text()
317 prt_printf(out, " dst_offset=%lli", le64_to_cpu(op.v->dst_offset)); in bch2_logged_op_finsert_to_text()
318 prt_printf(out, " src_offset=%llu", le64_to_cpu(op.v->src_offset)); in bch2_logged_op_finsert_to_text()
365 u64 dst_offset = le64_to_cpu(op->v.dst_offset); in __bch2_resume_logged_op_finsert()
366 u64 src_offset = le64_to_cpu(op->v.src_offset); in __bch2_resume_logged_op_finsert()
369 u64 pos = le64_to_cpu(op->v.pos); in __bch2_resume_logged_op_finsert()
[all …]
/linux-6.15/drivers/infiniband/hw/bnxt_re/
H A Dqplib_sp.c155 attr->max_mr_size = le64_to_cpu(sb->max_mr_size); in bnxt_qplib_get_dev_attr()
775 stats->missing_resp = le64_to_cpu(sb->missing_resp); in bnxt_qplib_get_roce_stats()
777 stats->bad_resp_err = le64_to_cpu(sb->bad_resp_err); in bnxt_qplib_get_roce_stats()
784 stats->dup_req = le64_to_cpu(sb->dup_req); in bnxt_qplib_get_roce_stats()
802 stats->res_srq_err = le64_to_cpu(sb->res_srq_err); in bnxt_qplib_get_roce_stats()
803 stats->res_cmp_err = le64_to_cpu(sb->res_cmp_err); in bnxt_qplib_get_roce_stats()
815 (le64_to_cpu(sb->res_oos_drop_count) - in bnxt_qplib_get_roce_stats()
863 estat->tx_roce_pkts = le64_to_cpu(sb->tx_roce_pkts); in bnxt_qplib_qext_stat()
870 estat->rx_roce_pkts = le64_to_cpu(sb->rx_roce_pkts); in bnxt_qplib_qext_stat()
876 estat->tx_cnp = le64_to_cpu(sb->tx_cnp_pkts); in bnxt_qplib_qext_stat()
[all …]
H A Dhw_counters.c316 cpu_to_be64(le64_to_cpu(hw_stats->tx_ucast_pkts)); in bnxt_re_assign_pma_port_ext_counters()
318 cpu_to_be64(le64_to_cpu(hw_stats->rx_ucast_pkts)); in bnxt_re_assign_pma_port_ext_counters()
416 le64_to_cpu(hw_stats->tx_bcast_pkts); in bnxt_re_ib_get_hw_stats()
418 le64_to_cpu(hw_stats->tx_discard_pkts); in bnxt_re_ib_get_hw_stats()
420 le64_to_cpu(hw_stats->tx_error_pkts); in bnxt_re_ib_get_hw_stats()
422 le64_to_cpu(hw_stats->rx_error_pkts); in bnxt_re_ib_get_hw_stats()
424 le64_to_cpu(hw_stats->rx_discard_pkts); in bnxt_re_ib_get_hw_stats()
426 le64_to_cpu(hw_stats->rx_ucast_pkts); in bnxt_re_ib_get_hw_stats()
428 le64_to_cpu(hw_stats->rx_ucast_bytes); in bnxt_re_ib_get_hw_stats()
430 le64_to_cpu(hw_stats->tx_ucast_pkts); in bnxt_re_ib_get_hw_stats()
[all …]
/linux-6.15/fs/squashfs/
H A Dxattr_id.c41 start_block = le64_to_cpu(msblk->xattr_id_table[block]); in squashfs_xattr_lookup()
48 *xattr = le64_to_cpu(id.xattr); in squashfs_xattr_lookup()
72 *xattr_table_start = le64_to_cpu(id_table->xattr_table_start); in squashfs_read_xattr_id_table()
109 start = le64_to_cpu(table[n]); in squashfs_read_xattr_id_table()
110 end = le64_to_cpu(table[n + 1]); in squashfs_read_xattr_id_table()
119 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_xattr_id_table()
126 if (*xattr_table_start >= le64_to_cpu(table[0])) { in squashfs_read_xattr_id_table()
H A Dexport.c53 start = le64_to_cpu(msblk->inode_lookup_table[blk]); in squashfs_inode_lookup()
60 (u64) le64_to_cpu(ino)); in squashfs_inode_lookup()
62 return le64_to_cpu(ino); in squashfs_inode_lookup()
152 start = le64_to_cpu(table[n]); in squashfs_read_inode_lookup_table()
153 end = le64_to_cpu(table[n + 1]); in squashfs_read_inode_lookup_table()
163 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_inode_lookup_table()
H A Did.c45 start_block = le64_to_cpu(msblk->id_table[block]); in squashfs_get_id()
97 start = le64_to_cpu(table[n]); in squashfs_read_id_index_table()
98 end = le64_to_cpu(table[n + 1]); in squashfs_read_id_index_table()
107 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_id_index_table()
H A Dsuper.c253 msblk->bytes_used = le64_to_cpu(sblk->bytes_used); in squashfs_fill_super()
283 root_inode = le64_to_cpu(sblk->root_inode); in squashfs_fill_super()
287 msblk->inode_table = le64_to_cpu(sblk->inode_table_start); in squashfs_fill_super()
307 (u64) le64_to_cpu(sblk->fragment_table_start)); in squashfs_fill_super()
309 (u64) le64_to_cpu(sblk->id_table_start)); in squashfs_fill_super()
357 xattr_id_table_start = le64_to_cpu(sblk->xattr_id_table_start); in squashfs_fill_super()
378 le64_to_cpu(sblk->id_table_start), next_table, msblk->ids); in squashfs_fill_super()
385 next_table = le64_to_cpu(msblk->id_table[0]); in squashfs_fill_super()
388 lookup_table_start = le64_to_cpu(sblk->lookup_table_start); in squashfs_fill_super()
401 next_table = le64_to_cpu(msblk->inode_lookup_table[0]); in squashfs_fill_super()
[all …]
H A Dfragment.c48 start_block = le64_to_cpu(msblk->fragment_index[block]); in squashfs_frag_lookup()
55 *fragment_block = le64_to_cpu(fragment_entry.start_block); in squashfs_frag_lookup()
83 if (!IS_ERR(table) && le64_to_cpu(table[0]) >= fragment_table_start) { in squashfs_read_fragment_index_table()
/linux-6.15/fs/ntfs3/
H A Dattrib.c64 CLST svcn = le64_to_cpu(attr->nres.svcn); in attr_load_runs()
65 CLST evcn = le64_to_cpu(attr->nres.evcn); in attr_load_runs()
492 svcn = le64_to_cpu(attr->nres.svcn); in attr_set_size()
493 evcn = le64_to_cpu(attr->nres.evcn); in attr_set_size()
679 svcn = le64_to_cpu(attr->nres.svcn); in attr_set_size()
1161 evcn = le64_to_cpu(attr->nres.evcn); in attr_data_get_block()
1422 off[1] = le64_to_cpu(off64[0]); in attr_wof_frame_info()
1485 off[1] = le64_to_cpu(*off64); in attr_wof_frame_info()
1493 off[0] = le64_to_cpu(*off64); in attr_wof_frame_info()
1503 off[0] = le64_to_cpu(off64[-1]); in attr_wof_frame_info()
[all …]
H A Dfslog.c512 l_size = le64_to_cpu(ra->l_size); in is_rst_area_valid()
660 u64 dp_vcn = le64_to_cpu(dp->vcn); in find_dp()
1113 return le64_to_cpu(hdr->rhdr.lsn); in hdr_file_off()
1570 u64 lsn = le64_to_cpu(rhdr->lsn); in check_subseq_log_page()
2343 lsnr = le64_to_cpu(rh->this_lsn); in read_rst_area()
2821 lsn = le64_to_cpu(hdr->lsn); in check_lsn()
4540 le64_to_cpu(dp->vcn)); in log_replay()
4554 u64 lcn0 = le64_to_cpu(r->lcn); in log_replay()
4639 le64_to_cpu(dp->vcn); in log_replay()
4839 vcn = le64_to_cpu(dp->vcn) + i; in log_replay()
[all …]
/linux-6.15/include/linux/
H A Dsiphash.h61 return siphash_1u64(le64_to_cpu(data[0]), key); in ___siphash_aligned()
63 return siphash_2u64(le64_to_cpu(data[0]), le64_to_cpu(data[1]), in ___siphash_aligned()
66 return siphash_3u64(le64_to_cpu(data[0]), le64_to_cpu(data[1]), in ___siphash_aligned()
67 le64_to_cpu(data[2]), key); in ___siphash_aligned()
69 return siphash_4u64(le64_to_cpu(data[0]), le64_to_cpu(data[1]), in ___siphash_aligned()
70 le64_to_cpu(data[2]), le64_to_cpu(data[3]), in ___siphash_aligned()
/linux-6.15/crypto/
H A Dstreebog_generic.c872 r0 = le64_to_cpu(x->qword[0] ^ y->qword[0]); in streebog_xlps()
873 r1 = le64_to_cpu(x->qword[1] ^ y->qword[1]); in streebog_xlps()
874 r2 = le64_to_cpu(x->qword[2] ^ y->qword[2]); in streebog_xlps()
875 r3 = le64_to_cpu(x->qword[3] ^ y->qword[3]); in streebog_xlps()
876 r4 = le64_to_cpu(x->qword[4] ^ y->qword[4]); in streebog_xlps()
877 r5 = le64_to_cpu(x->qword[5] ^ y->qword[5]); in streebog_xlps()
878 r6 = le64_to_cpu(x->qword[6] ^ y->qword[6]); in streebog_xlps()
879 r7 = le64_to_cpu(x->qword[7] ^ y->qword[7]); in streebog_xlps()
941 const u64 left = le64_to_cpu(x->qword[i]); in streebog_add512()
944 sum = left + le64_to_cpu(y->qword[i]) + carry; in streebog_add512()
/linux-6.15/fs/nilfs2/
H A Ddat.c173 start = le64_to_cpu(entry->de_start); in nilfs_dat_prepare_end()
174 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_prepare_end()
208 end = start = le64_to_cpu(entry->de_start); in nilfs_dat_commit_end()
214 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_commit_end()
233 start = le64_to_cpu(entry->de_start); in nilfs_dat_abort_end()
234 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_abort_end()
365 (unsigned long long)le64_to_cpu(entry->de_end)); in nilfs_dat_move()
421 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_translate()
468 vinfo->vi_start = le64_to_cpu(entry->de_start); in nilfs_dat_get_vinfo()
469 vinfo->vi_end = le64_to_cpu(entry->de_end); in nilfs_dat_get_vinfo()
[all …]
H A Dthe_nilfs.c134 nilfs->ns_nongc_ctime = le64_to_cpu(raw_sr->sr_nongc_ctime); in nilfs_load_super_root()
177 nilfs->ns_last_pseg = le64_to_cpu(sbp->s_last_pseg); in nilfs_store_log_cursor()
178 nilfs->ns_last_cno = le64_to_cpu(sbp->s_last_cno); in nilfs_store_log_cursor()
179 nilfs->ns_last_seq = le64_to_cpu(sbp->s_last_seq); in nilfs_store_log_cursor()
280 nilfs->ns_sbwtime = le64_to_cpu(sbp[0]->s_wtime); in load_nilfs()
491 nsegments = le64_to_cpu(sbp->s_nsegments); in nilfs_store_disk_layout()
560 u64 nsegments = le64_to_cpu(sbp->s_nsegments); in nilfs_sb2_bad_offset()
645 le64_to_cpu(sbp[1]->s_last_cno) > in nilfs_load_super_block()
646 le64_to_cpu(sbp[0]->s_last_cno)); in nilfs_load_super_block()
685 nilfs->ns_sbwtime = le64_to_cpu(sbp[0]->s_wtime); in nilfs_load_super_block()
[all …]
/linux-6.15/fs/quota/
H A Dquota_v2.c237 m->dqb_itime = le64_to_cpu(d->dqb_itime); in v2r0_disk2memdqb()
240 m->dqb_curspace = le64_to_cpu(d->dqb_curspace); in v2r0_disk2memdqb()
241 m->dqb_btime = le64_to_cpu(d->dqb_btime); in v2r0_disk2memdqb()
287 m->dqb_ihardlimit = le64_to_cpu(d->dqb_ihardlimit); in v2r1_disk2memdqb()
288 m->dqb_isoftlimit = le64_to_cpu(d->dqb_isoftlimit); in v2r1_disk2memdqb()
289 m->dqb_curinodes = le64_to_cpu(d->dqb_curinodes); in v2r1_disk2memdqb()
290 m->dqb_itime = le64_to_cpu(d->dqb_itime); in v2r1_disk2memdqb()
291 m->dqb_bhardlimit = v2_qbtos(le64_to_cpu(d->dqb_bhardlimit)); in v2r1_disk2memdqb()
292 m->dqb_bsoftlimit = v2_qbtos(le64_to_cpu(d->dqb_bsoftlimit)); in v2r1_disk2memdqb()
293 m->dqb_curspace = le64_to_cpu(d->dqb_curspace); in v2r1_disk2memdqb()
[all …]
/linux-6.15/fs/ocfs2/
H A Dinode.c319 inode_set_atime(inode, le64_to_cpu(fe->i_atime), in ocfs2_populate_inode()
321 inode_set_mtime(inode, le64_to_cpu(fe->i_mtime), in ocfs2_populate_inode()
323 inode_set_ctime(inode, le64_to_cpu(fe->i_ctime), in ocfs2_populate_inode()
360 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
368 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
374 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
385 le64_to_cpu(fe->i_blkno)); in ocfs2_populate_inode()
1356 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_refresh_inode()
1365 inode_set_atime(inode, le64_to_cpu(fe->i_atime), in ocfs2_refresh_inode()
1367 inode_set_mtime(inode, le64_to_cpu(fe->i_mtime), in ocfs2_refresh_inode()
[all …]
/linux-6.15/drivers/bus/mhi/host/
H A Ddebugfs.c68 seq_printf(m, " base: 0x%0llx len: 0x%llx", le64_to_cpu(er_ctxt->rbase), in mhi_debugfs_events_show()
69 le64_to_cpu(er_ctxt->rlen)); in mhi_debugfs_events_show()
71 seq_printf(m, " rp: 0x%llx wp: 0x%llx", le64_to_cpu(er_ctxt->rp), in mhi_debugfs_events_show()
72 le64_to_cpu(er_ctxt->wp)); in mhi_debugfs_events_show()
119 le64_to_cpu(chan_ctxt->rbase), le64_to_cpu(chan_ctxt->rlen), in mhi_debugfs_channels_show()
120 le64_to_cpu(chan_ctxt->rp), le64_to_cpu(chan_ctxt->wp)); in mhi_debugfs_channels_show()
/linux-6.15/drivers/net/ethernet/intel/igc/
H A Digc_dump.c192 i, le64_to_cpu(u0->a), in igc_rings_dump()
193 le64_to_cpu(u0->b), in igc_rings_dump()
275 le64_to_cpu(u0->a), in igc_rings_dump()
276 le64_to_cpu(u0->b), in igc_rings_dump()
281 le64_to_cpu(u0->a), in igc_rings_dump()
282 le64_to_cpu(u0->b), in igc_rings_dump()
/linux-6.15/drivers/net/ethernet/apm/xgene-v2/
H A Dmain.c94 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers()
95 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers()
163 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_slot_available()
201 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_start_xmit()
202 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_start_xmit()
227 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_hw_done()
228 !GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0))) in is_tx_hw_done()
307 if (GET_BITS(E, le64_to_cpu(raw_desc->m0))) in xge_rx_poll()
315 len = GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)); in xge_rx_poll()
319 rx_error = GET_BITS(D, le64_to_cpu(raw_desc->m2)); in xge_rx_poll()
[all …]

12345678910>>...23