Home
last modified time | relevance | path

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

12345678910>>...18

/kernel/linux/linux-5.10/block/partitions/
Defi.c290 if (read_lba(state, le64_to_cpu(gpt->partition_entry_lba), in alloc_read_gpt_entries()
349 if (le64_to_cpu((*gpt)->signature) != GPT_HEADER_SIGNATURE) { in is_gpt_valid()
352 (unsigned long long)le64_to_cpu((*gpt)->signature), in is_gpt_valid()
388 if (le64_to_cpu((*gpt)->my_lba) != lba) { in is_gpt_valid()
390 (unsigned long long)le64_to_cpu((*gpt)->my_lba), in is_gpt_valid()
399 if (le64_to_cpu((*gpt)->first_usable_lba) > lastlba) { in is_gpt_valid()
401 (unsigned long long)le64_to_cpu((*gpt)->first_usable_lba), in is_gpt_valid()
405 if (le64_to_cpu((*gpt)->last_usable_lba) > lastlba) { in is_gpt_valid()
407 (unsigned long long)le64_to_cpu((*gpt)->last_usable_lba), in is_gpt_valid()
411 if (le64_to_cpu((*gpt)->last_usable_lba) < le64_to_cpu((*gpt)->first_usable_lba)) { in is_gpt_valid()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c130 attr->max_mr_size = le64_to_cpu(sb->max_mr_size); in bnxt_qplib_get_dev_attr()
823 stats->to_retransmits = le64_to_cpu(sb->to_retransmits); in bnxt_qplib_get_roce_stats()
824 stats->seq_err_naks_rcvd = le64_to_cpu(sb->seq_err_naks_rcvd); in bnxt_qplib_get_roce_stats()
825 stats->max_retry_exceeded = le64_to_cpu(sb->max_retry_exceeded); in bnxt_qplib_get_roce_stats()
826 stats->rnr_naks_rcvd = le64_to_cpu(sb->rnr_naks_rcvd); in bnxt_qplib_get_roce_stats()
827 stats->missing_resp = le64_to_cpu(sb->missing_resp); in bnxt_qplib_get_roce_stats()
828 stats->unrecoverable_err = le64_to_cpu(sb->unrecoverable_err); in bnxt_qplib_get_roce_stats()
829 stats->bad_resp_err = le64_to_cpu(sb->bad_resp_err); in bnxt_qplib_get_roce_stats()
830 stats->local_qp_op_err = le64_to_cpu(sb->local_qp_op_err); in bnxt_qplib_get_roce_stats()
831 stats->local_protection_err = le64_to_cpu(sb->local_protection_err); in bnxt_qplib_get_roce_stats()
[all …]
Dhw_counters.c133 le64_to_cpu(bnxt_re_stats->tx_bcast_pkts); in bnxt_re_ib_get_hw_stats()
135 le64_to_cpu(bnxt_re_stats->rx_error_pkts); in bnxt_re_ib_get_hw_stats()
137 le64_to_cpu(bnxt_re_stats->rx_discard_pkts); in bnxt_re_ib_get_hw_stats()
139 le64_to_cpu(bnxt_re_stats->rx_ucast_pkts); in bnxt_re_ib_get_hw_stats()
141 le64_to_cpu(bnxt_re_stats->rx_ucast_bytes); in bnxt_re_ib_get_hw_stats()
143 le64_to_cpu(bnxt_re_stats->tx_ucast_pkts); in bnxt_re_ib_get_hw_stats()
145 le64_to_cpu(bnxt_re_stats->tx_ucast_bytes); in bnxt_re_ib_get_hw_stats()
/kernel/linux/linux-5.10/fs/squashfs/
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()
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()
Dsuper.c163 msblk->bytes_used = le64_to_cpu(sblk->bytes_used); in squashfs_fill_super()
193 root_inode = le64_to_cpu(sblk->root_inode); in squashfs_fill_super()
197 msblk->inode_table = le64_to_cpu(sblk->inode_table_start); in squashfs_fill_super()
198 msblk->directory_table = le64_to_cpu(sblk->directory_table_start); in squashfs_fill_super()
217 (u64) le64_to_cpu(sblk->fragment_table_start)); in squashfs_fill_super()
219 (u64) le64_to_cpu(sblk->id_table_start)); in squashfs_fill_super()
251 xattr_id_table_start = le64_to_cpu(sblk->xattr_id_table_start); in squashfs_fill_super()
272 le64_to_cpu(sblk->id_table_start), next_table, msblk->ids); in squashfs_fill_super()
279 next_table = le64_to_cpu(msblk->id_table[0]); in squashfs_fill_super()
282 lookup_table_start = le64_to_cpu(sblk->lookup_table_start); in squashfs_fill_super()
[all …]
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()
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()
/kernel/linux/linux-5.10/include/linux/
Dsiphash.h60 return siphash_1u64(le64_to_cpu(data[0]), key); in ___siphash_aligned()
62 return siphash_2u64(le64_to_cpu(data[0]), le64_to_cpu(data[1]), in ___siphash_aligned()
65 return siphash_3u64(le64_to_cpu(data[0]), le64_to_cpu(data[1]), in ___siphash_aligned()
66 le64_to_cpu(data[2]), key); in ___siphash_aligned()
68 return siphash_4u64(le64_to_cpu(data[0]), le64_to_cpu(data[1]), in ___siphash_aligned()
69 le64_to_cpu(data[2]), le64_to_cpu(data[3]), in ___siphash_aligned()
/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_client.c62 open_ret->ino = le64_to_cpu(resp->ino); in hmdfs_send_open()
63 open_ret->fid.ver = le64_to_cpu(resp->file_ver); in hmdfs_send_open()
65 open_ret->file_size = le64_to_cpu(resp->file_size); in hmdfs_send_open()
66 open_ret->remote_ctime.tv_sec = le64_to_cpu(resp->ctime); in hmdfs_send_open()
68 open_ret->stable_ctime.tv_sec = le64_to_cpu(resp->stable_ctime); in hmdfs_send_open()
488 mkdir_ret->i_size = le64_to_cpu(resp->i_size); in hmdfs_client_start_mkdir()
489 mkdir_ret->i_mtime = le64_to_cpu(resp->i_mtime); in hmdfs_client_start_mkdir()
491 mkdir_ret->i_ino = le64_to_cpu(resp->i_ino); in hmdfs_client_start_mkdir()
536 create_ret->i_size = le64_to_cpu(resp->i_size); in hmdfs_client_start_create()
537 create_ret->i_mtime = le64_to_cpu(resp->i_mtime); in hmdfs_client_start_create()
[all …]
/kernel/linux/linux-5.10/crypto/
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()
/kernel/linux/linux-5.10/fs/nilfs2/
Ddat.c165 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_prepare_end()
190 end = start = le64_to_cpu(entry->de_start); in nilfs_dat_commit_end()
196 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_commit_end()
215 start = le64_to_cpu(entry->de_start); in nilfs_dat_abort_end()
216 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_abort_end()
353 (unsigned long long)le64_to_cpu(entry->de_start), in nilfs_dat_move()
354 (unsigned long long)le64_to_cpu(entry->de_end)); in nilfs_dat_move()
413 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_translate()
454 vinfo->vi_start = le64_to_cpu(entry->de_start); in nilfs_dat_get_vinfo()
455 vinfo->vi_end = le64_to_cpu(entry->de_end); in nilfs_dat_get_vinfo()
[all …]
Dthe_nilfs.c137 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()
274 nilfs->ns_sbwtime = le64_to_cpu(sbp[0]->s_wtime); in load_nilfs()
319 features = le64_to_cpu(nilfs->ns_sbp[0]->s_feature_compat_ro) & in load_nilfs()
443 nilfs->ns_first_data_block = le64_to_cpu(sbp->s_first_data_block); in nilfs_store_disk_layout()
454 nilfs_set_nsegments(nilfs, le64_to_cpu(sbp->s_nsegments)); in nilfs_store_disk_layout()
496 u64 nsegments = le64_to_cpu(sbp->s_nsegments); in nilfs_sb2_bad_offset()
575 le64_to_cpu(sbp[1]->s_last_cno) > in nilfs_load_super_block()
[all …]
Dcpfile.c415 ci->ci_cno = le64_to_cpu(cp->cp_cno); in nilfs_cpfile_checkpoint_to_cpinfo()
416 ci->ci_create = le64_to_cpu(cp->cp_create); in nilfs_cpfile_checkpoint_to_cpinfo()
417 ci->ci_nblk_inc = le64_to_cpu(cp->cp_nblk_inc); in nilfs_cpfile_checkpoint_to_cpinfo()
418 ci->ci_inodes_count = le64_to_cpu(cp->cp_inodes_count); in nilfs_cpfile_checkpoint_to_cpinfo()
419 ci->ci_blocks_count = le64_to_cpu(cp->cp_blocks_count); in nilfs_cpfile_checkpoint_to_cpinfo()
420 ci->ci_next = le64_to_cpu(cp->cp_snapshot_list.ssl_next); in nilfs_cpfile_checkpoint_to_cpinfo()
496 curr = le64_to_cpu(header->ch_snapshot_list.ssl_next); in nilfs_cpfile_do_get_ssinfo()
525 next = le64_to_cpu(cp->cp_snapshot_list.ssl_next); in nilfs_cpfile_do_get_ssinfo()
659 prev = le64_to_cpu(list->ssl_prev); in nilfs_cpfile_set_snapshot()
676 prev = le64_to_cpu(list->ssl_prev); in nilfs_cpfile_set_snapshot()
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/crypto/
Dglue_helper.h74 dst->a = cpu_to_be64(le64_to_cpu(src->a)); in le128_to_be128()
75 dst->b = cpu_to_be64(le64_to_cpu(src->b)); in le128_to_be128()
86 u64 a = le64_to_cpu(i->a); in le128_inc()
87 u64 b = le64_to_cpu(i->b); in le128_inc()
/kernel/linux/linux-5.10/drivers/md/persistent-data/
Ddm-space-map-common.c41 if (dm_block_location(b) != le64_to_cpu(mi_le->blocknr)) { in index_check()
43 le64_to_cpu(mi_le->blocknr), dm_block_location(b)); in index_check()
91 if (dm_block_location(b) != le64_to_cpu(disk_header->blocknr)) { in dm_bitmap_check()
93 le64_to_cpu(disk_header->blocknr), dm_block_location(b)); in dm_bitmap_check()
132 uint64_t bits = le64_to_cpu(*w_le); in dm_bitmap_word_used()
294 r = dm_tm_read_lock(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_lookup_bitmap()
362 r = dm_tm_read_lock(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_find_free_block()
434 r = dm_tm_shadow_block(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_mutate()
685 ll->nr_blocks = le64_to_cpu(smr.nr_blocks); in sm_ll_open_metadata()
686 ll->nr_allocated = le64_to_cpu(smr.nr_allocated); in sm_ll_open_metadata()
[all …]
/kernel/linux/linux-5.10/fs/quota/
Dquota_v2.c228 m->dqb_itime = le64_to_cpu(d->dqb_itime); in v2r0_disk2memdqb()
231 m->dqb_curspace = le64_to_cpu(d->dqb_curspace); in v2r0_disk2memdqb()
232 m->dqb_btime = le64_to_cpu(d->dqb_btime); in v2r0_disk2memdqb()
278 m->dqb_ihardlimit = le64_to_cpu(d->dqb_ihardlimit); in v2r1_disk2memdqb()
279 m->dqb_isoftlimit = le64_to_cpu(d->dqb_isoftlimit); in v2r1_disk2memdqb()
280 m->dqb_curinodes = le64_to_cpu(d->dqb_curinodes); in v2r1_disk2memdqb()
281 m->dqb_itime = le64_to_cpu(d->dqb_itime); in v2r1_disk2memdqb()
282 m->dqb_bhardlimit = v2_qbtos(le64_to_cpu(d->dqb_bhardlimit)); in v2r1_disk2memdqb()
283 m->dqb_bsoftlimit = v2_qbtos(le64_to_cpu(d->dqb_bsoftlimit)); in v2r1_disk2memdqb()
284 m->dqb_curspace = le64_to_cpu(d->dqb_curspace); in v2r1_disk2memdqb()
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/
Dinode.c294 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_populate_inode()
307 inode->i_atime.tv_sec = le64_to_cpu(fe->i_atime); in ocfs2_populate_inode()
309 inode->i_mtime.tv_sec = le64_to_cpu(fe->i_mtime); in ocfs2_populate_inode()
311 inode->i_ctime.tv_sec = le64_to_cpu(fe->i_ctime); in ocfs2_populate_inode()
314 if (OCFS2_I(inode)->ip_blkno != le64_to_cpu(fe->i_blkno)) in ocfs2_populate_inode()
318 (unsigned long long)le64_to_cpu(fe->i_blkno)); in ocfs2_populate_inode()
348 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
356 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
362 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
373 le64_to_cpu(fe->i_blkno)); in ocfs2_populate_inode()
[all …]
Drefcounttree.c105 if (le64_to_cpu(rb->rf_blkno) != bh->b_blocknr) { in ocfs2_validate_refcount_block()
109 (unsigned long long)le64_to_cpu(rb->rf_blkno)); in ocfs2_validate_refcount_block()
411 *ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_get_refcount_block()
769 u64 blk = 0, bg_blkno = 0, ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_remove_refcount_tree()
789 blk = le64_to_cpu(rb->rf_blkno); in ocfs2_remove_refcount_tree()
792 bg_blkno = le64_to_cpu(rb->rf_suballoc_loc); in ocfs2_remove_refcount_tree()
890 if (le64_to_cpu(rec->r_cpos) + in ocfs2_find_refcount_rec_in_rl()
893 else if (le64_to_cpu(rec->r_cpos) > cpos) in ocfs2_find_refcount_rec_in_rl()
907 le64_to_cpu(rec->r_cpos) < cpos + len) in ocfs2_find_refcount_rec_in_rl()
909 cpu_to_le32(le64_to_cpu(rec->r_cpos) - cpos); in ocfs2_find_refcount_rec_in_rl()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene-v2/
Dmain.c96 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers()
97 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers()
165 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_slot_available()
166 (GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)) == SLOT_EMPTY)) in is_tx_slot_available()
203 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_start_xmit()
204 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_start_xmit()
229 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_hw_done()
230 !GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0))) in is_tx_hw_done()
309 if (GET_BITS(E, le64_to_cpu(raw_desc->m0))) in xge_rx_poll()
317 len = GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)); in xge_rx_poll()
[all …]
/kernel/linux/linux-5.10/drivers/md/
Ddm-thin-metadata.c267 if (dm_block_location(b) != le64_to_cpu(disk_super->blocknr)) { in sb_check()
269 "wanted %llu", le64_to_cpu(disk_super->blocknr), in sb_check()
274 if (le64_to_cpu(disk_super->magic) != THIN_SUPERBLOCK_MAGIC) { in sb_check()
276 "wanted %llu", le64_to_cpu(disk_super->magic), in sb_check()
322 unpack_block_time(le64_to_cpu(v_le), &b, &t); in data_block_inc()
334 unpack_block_time(le64_to_cpu(v_le), &b, &t); in data_block_dec()
346 unpack_block_time(le64_to_cpu(v1_le), &b1, &t); in data_block_equal()
347 unpack_block_time(le64_to_cpu(v2_le), &b2, &t); in data_block_equal()
359 root = le64_to_cpu(root_le); in subtree_inc()
370 root = le64_to_cpu(root_le); in subtree_dec()
[all …]
/kernel/linux/linux-5.10/fs/ubifs/
Dmaster.c352 c->max_sqnum = le64_to_cpu(c->mst_node->ch.sqnum); in ubifs_read_master()
353 c->highest_inum = le64_to_cpu(c->mst_node->highest_inum); in ubifs_read_master()
354 c->cmt_no = le64_to_cpu(c->mst_node->cmt_no); in ubifs_read_master()
362 c->bi.old_idx_sz = le64_to_cpu(c->mst_node->index_size); in ubifs_read_master()
375 c->lst.total_free = le64_to_cpu(c->mst_node->total_free); in ubifs_read_master()
376 c->lst.total_dirty = le64_to_cpu(c->mst_node->total_dirty); in ubifs_read_master()
377 c->lst.total_used = le64_to_cpu(c->mst_node->total_used); in ubifs_read_master()
378 c->lst.total_dead = le64_to_cpu(c->mst_node->total_dead); in ubifs_read_master()
379 c->lst.total_dark = le64_to_cpu(c->mst_node->total_dark); in ubifs_read_master()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c400 rx_status->mactime = le64_to_cpu(phy_info->timestamp); in iwl_mvm_rx_rx_mpdu()
771 mvm->radio_stats.rx_time = le64_to_cpu(stats->rx_time); in iwl_mvm_handle_rx_statistics_tlv()
772 mvm->radio_stats.tx_time = le64_to_cpu(stats->tx_time); in iwl_mvm_handle_rx_statistics_tlv()
773 mvm->radio_stats.on_time_rf = le64_to_cpu(stats->on_time_rf); in iwl_mvm_handle_rx_statistics_tlv()
774 mvm->radio_stats.on_time_scan = le64_to_cpu(stats->on_time_scan); in iwl_mvm_handle_rx_statistics_tlv()
847 le64_to_cpu(stats->general.common.rx_time); in iwl_mvm_handle_rx_statistics()
849 le64_to_cpu(stats->general.common.tx_time); in iwl_mvm_handle_rx_statistics()
851 le64_to_cpu(stats->general.common.on_time_rf); in iwl_mvm_handle_rx_statistics()
853 le64_to_cpu(stats->general.common.on_time_scan); in iwl_mvm_handle_rx_statistics()
869 le64_to_cpu(stats->general.common.rx_time); in iwl_mvm_handle_rx_statistics()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dkexec_image.c60 flags = le64_to_cpu(h->flags); in image_load()
84 kbuf.memsz = le64_to_cpu(h->image_size); in image_load()
85 text_offset = le64_to_cpu(h->text_offset); in image_load()

12345678910>>...18