Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v6.6/block/partitions/
Defi.c288 if (read_lba(state, le64_to_cpu(gpt->partition_entry_lba), in alloc_read_gpt_entries()
347 if (le64_to_cpu((*gpt)->signature) != GPT_HEADER_SIGNATURE) { in is_gpt_valid()
350 (unsigned long long)le64_to_cpu((*gpt)->signature), in is_gpt_valid()
386 if (le64_to_cpu((*gpt)->my_lba) != lba) { in is_gpt_valid()
388 (unsigned long long)le64_to_cpu((*gpt)->my_lba), in is_gpt_valid()
397 if (le64_to_cpu((*gpt)->first_usable_lba) > lastlba) { in is_gpt_valid()
399 (unsigned long long)le64_to_cpu((*gpt)->first_usable_lba), in is_gpt_valid()
403 if (le64_to_cpu((*gpt)->last_usable_lba) > lastlba) { in is_gpt_valid()
405 (unsigned long long)le64_to_cpu((*gpt)->last_usable_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()
[all …]
/Linux-v6.6/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c144 attr->max_mr_size = le64_to_cpu(sb->max_mr_size); in bnxt_qplib_get_dev_attr()
740 stats->to_retransmits = le64_to_cpu(sb->to_retransmits); in bnxt_qplib_get_roce_stats()
741 stats->seq_err_naks_rcvd = le64_to_cpu(sb->seq_err_naks_rcvd); in bnxt_qplib_get_roce_stats()
742 stats->max_retry_exceeded = le64_to_cpu(sb->max_retry_exceeded); in bnxt_qplib_get_roce_stats()
743 stats->rnr_naks_rcvd = le64_to_cpu(sb->rnr_naks_rcvd); in bnxt_qplib_get_roce_stats()
744 stats->missing_resp = le64_to_cpu(sb->missing_resp); in bnxt_qplib_get_roce_stats()
745 stats->unrecoverable_err = le64_to_cpu(sb->unrecoverable_err); in bnxt_qplib_get_roce_stats()
746 stats->bad_resp_err = le64_to_cpu(sb->bad_resp_err); in bnxt_qplib_get_roce_stats()
747 stats->local_qp_op_err = le64_to_cpu(sb->local_qp_op_err); in bnxt_qplib_get_roce_stats()
748 stats->local_protection_err = le64_to_cpu(sb->local_protection_err); in bnxt_qplib_get_roce_stats()
[all …]
Dhw_counters.c333 le64_to_cpu(hw_stats->tx_bcast_pkts); in bnxt_re_ib_get_hw_stats()
335 le64_to_cpu(hw_stats->tx_discard_pkts); in bnxt_re_ib_get_hw_stats()
337 le64_to_cpu(hw_stats->tx_error_pkts); in bnxt_re_ib_get_hw_stats()
339 le64_to_cpu(hw_stats->rx_error_pkts); in bnxt_re_ib_get_hw_stats()
341 le64_to_cpu(hw_stats->rx_discard_pkts); in bnxt_re_ib_get_hw_stats()
343 le64_to_cpu(hw_stats->rx_ucast_pkts); in bnxt_re_ib_get_hw_stats()
345 le64_to_cpu(hw_stats->rx_ucast_bytes); in bnxt_re_ib_get_hw_stats()
347 le64_to_cpu(hw_stats->tx_ucast_pkts); in bnxt_re_ib_get_hw_stats()
349 le64_to_cpu(hw_stats->tx_ucast_bytes); in bnxt_re_ib_get_hw_stats()
/Linux-v6.6/fs/ntfs3/
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()
452 old_valid = le64_to_cpu(attr_b->nres.valid_size); in attr_set_size()
453 old_size = le64_to_cpu(attr_b->nres.data_size); in attr_set_size()
454 old_alloc = le64_to_cpu(attr_b->nres.alloc_size); in attr_set_size()
470 svcn = le64_to_cpu(attr_b->nres.svcn); in attr_set_size()
471 evcn = le64_to_cpu(attr_b->nres.evcn); in attr_set_size()
490 svcn = le64_to_cpu(attr->nres.svcn); in attr_set_size()
491 evcn = le64_to_cpu(attr->nres.evcn); in attr_set_size()
597 next_svcn = le64_to_cpu(attr->nres.evcn) + 1; in attr_set_size()
[all …]
Dfslog.c417 u64 lsn = le64_to_cpu(cr->oldest_lsn); in oldest_client_lsn()
512 l_size = le64_to_cpu(ra->l_size); in is_rst_area_valid()
643 u64 dp_vcn = le64_to_cpu(dp->vcn); in find_dp()
1072 lsn <= le64_to_cpu(log->ra->current_lsn); in is_lsn_in_file()
1079 return le64_to_cpu(hdr->rhdr.lsn); in hdr_file_off()
1087 u64 h_lsn = le64_to_cpu(hdr->rhdr.lsn); in base_lsn()
1092 h_lsn <= le64_to_cpu(hdr->record_hdr.last_end_lsn)) ? in base_lsn()
1104 return lsn >= le64_to_cpu(client->oldest_lsn) && in verify_client_lsn()
1105 lsn <= le64_to_cpu(log->ra->current_lsn) && lsn; in verify_client_lsn()
1262 info->last_lsn = le64_to_cpu(r_page->rhdr.lsn); in log_read_rst()
[all …]
/Linux-v6.6/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()
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()
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()
288 msblk->directory_table = le64_to_cpu(sblk->directory_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()
354 xattr_id_table_start = le64_to_cpu(sblk->xattr_id_table_start); in squashfs_fill_super()
375 le64_to_cpu(sblk->id_table_start), next_table, msblk->ids); in squashfs_fill_super()
382 next_table = le64_to_cpu(msblk->id_table[0]); in squashfs_fill_super()
385 lookup_table_start = le64_to_cpu(sblk->lookup_table_start); in squashfs_fill_super()
[all …]
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-v6.6/include/linux/
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-v6.6/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()
/Linux-v6.6/fs/nilfs2/
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()
371 (unsigned long long)le64_to_cpu(entry->de_start), in nilfs_dat_move()
372 (unsigned long long)le64_to_cpu(entry->de_end)); in nilfs_dat_move()
431 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_translate()
472 vinfo->vi_start = le64_to_cpu(entry->de_start); in nilfs_dat_get_vinfo()
[all …]
Dthe_nilfs.c136 nilfs->ns_nongc_ctime = le64_to_cpu(raw_sr->sr_nongc_ctime); in nilfs_load_super_root()
176 nilfs->ns_last_pseg = le64_to_cpu(sbp->s_last_pseg); in nilfs_store_log_cursor()
177 nilfs->ns_last_cno = le64_to_cpu(sbp->s_last_cno); in nilfs_store_log_cursor()
178 nilfs->ns_last_seq = le64_to_cpu(sbp->s_last_seq); in nilfs_store_log_cursor()
273 nilfs->ns_sbwtime = le64_to_cpu(sbp[0]->s_wtime); in load_nilfs()
322 features = le64_to_cpu(nilfs->ns_sbp[0]->s_feature_compat_ro) & in load_nilfs()
463 nilfs->ns_first_data_block = le64_to_cpu(sbp->s_first_data_block); in nilfs_store_disk_layout()
474 nsegments = le64_to_cpu(sbp->s_nsegments); in nilfs_store_disk_layout()
543 u64 nsegments = le64_to_cpu(sbp->s_nsegments); in nilfs_sb2_bad_offset()
628 le64_to_cpu(sbp[1]->s_last_cno) > in nilfs_load_super_block()
[all …]
/Linux-v6.6/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 …]
/Linux-v6.6/fs/ocfs2/
Dinode.c292 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_populate_inode()
305 inode->i_atime.tv_sec = le64_to_cpu(fe->i_atime); in ocfs2_populate_inode()
307 inode->i_mtime.tv_sec = le64_to_cpu(fe->i_mtime); in ocfs2_populate_inode()
309 inode_set_ctime(inode, le64_to_cpu(fe->i_ctime), in ocfs2_populate_inode()
312 if (OCFS2_I(inode)->ip_blkno != le64_to_cpu(fe->i_blkno)) in ocfs2_populate_inode()
316 (unsigned long long)le64_to_cpu(fe->i_blkno)); in ocfs2_populate_inode()
346 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
354 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
360 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
371 le64_to_cpu(fe->i_blkno)); in ocfs2_populate_inode()
[all …]
/Linux-v6.6/drivers/bus/mhi/host/
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-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Drx.c346 rx_status->mactime = le64_to_cpu(phy_info->timestamp); in iwl_mvm_rx_rx_mpdu()
857 mvm->radio_stats.rx_time = le64_to_cpu(stats->rx_time); in iwl_mvm_handle_rx_statistics_tlv()
858 mvm->radio_stats.tx_time = le64_to_cpu(stats->tx_time); in iwl_mvm_handle_rx_statistics_tlv()
859 mvm->radio_stats.on_time_rf = le64_to_cpu(stats->on_time_rf); in iwl_mvm_handle_rx_statistics_tlv()
861 le64_to_cpu(stats->on_time_scan); in iwl_mvm_handle_rx_statistics_tlv()
882 mvm->radio_stats.rx_time = le64_to_cpu(stats->rx_time); in iwl_mvm_handle_rx_statistics_tlv()
883 mvm->radio_stats.tx_time = le64_to_cpu(stats->tx_time); in iwl_mvm_handle_rx_statistics_tlv()
884 mvm->radio_stats.on_time_rf = le64_to_cpu(stats->on_time_rf); in iwl_mvm_handle_rx_statistics_tlv()
886 le64_to_cpu(stats->on_time_scan); in iwl_mvm_handle_rx_statistics_tlv()
950 le64_to_cpu(stats->general.common.rx_time); in iwl_mvm_handle_rx_statistics()
[all …]
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp_eth.c135 port = le64_to_cpu(src->port); in nfp_eth_port_translate()
136 state = le64_to_cpu(src->state); in nfp_eth_port_translate()
249 entry->link_modes_supp[i] = le64_to_cpu(ethm.supported_modes[i]); in nfp_eth_read_media()
250 entry->link_modes_ad[i] = le64_to_cpu(ethm.advertised_modes[i]); in nfp_eth_read_media()
437 reg = le64_to_cpu(entries[idx].state); in nfp_eth_set_mod_enable()
439 reg = le64_to_cpu(entries[idx].control); in nfp_eth_set_mod_enable()
484 reg = le64_to_cpu(entries[idx].state); in nfp_eth_set_configured()
486 reg = le64_to_cpu(entries[idx].control); in nfp_eth_set_configured()
516 reg = le64_to_cpu(entries[idx].raw[raw_idx]); in nfp_eth_set_bit_config()
551 reg = le64_to_cpu(entries[idx].control); in nfp_eth_set_idmode()
/Linux-v6.6/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()
/Linux-v6.6/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 …]
/Linux-v6.6/drivers/md/persistent-data/
Ddm-space-map-common.c44 if (dm_block_location(b) != le64_to_cpu(mi_le->blocknr)) { in index_check()
46 le64_to_cpu(mi_le->blocknr), dm_block_location(b)); in index_check()
94 if (dm_block_location(b) != le64_to_cpu(disk_header->blocknr)) { in dm_bitmap_check()
96 le64_to_cpu(disk_header->blocknr), dm_block_location(b)); in dm_bitmap_check()
135 uint64_t bits = le64_to_cpu(*w_le); in dm_bitmap_word_used()
297 r = dm_tm_read_lock(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_lookup_bitmap()
365 r = dm_tm_read_lock(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_find_free_block()
438 r = dm_tm_shadow_block(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_insert()
548 le64_to_cpu(n->keys[index]) == key; in contains_key()
613 r = dm_tm_shadow_block(ll->tm, le64_to_cpu(ic->ie_disk.blocknr), in shadow_bitmap()
[all …]
/Linux-v6.6/drivers/bus/mhi/ep/
Dring.c21 return le64_to_cpu(rlen) / sizeof(struct mhi_ring_element); in mhi_ep_ring_num_elems()
171 ring->rbase = le64_to_cpu(val); in mhi_ep_ring_start()
181 ring->rd_offset = mhi_ep_ring_addr2offset(ring, le64_to_cpu(val)); in mhi_ep_ring_start()
182 ring->wr_offset = mhi_ep_ring_addr2offset(ring, le64_to_cpu(val)); in mhi_ep_ring_start()
190 ret = mhi_ep_cache_ring(ring, le64_to_cpu(val)); in mhi_ep_ring_start()
/Linux-v6.6/drivers/md/
Ddm-thin-metadata.c271 if (dm_block_location(b) != le64_to_cpu(disk_super->blocknr)) { in sb_check()
273 __func__, le64_to_cpu(disk_super->blocknr), in sb_check()
278 if (le64_to_cpu(disk_super->magic) != THIN_SUPERBLOCK_MAGIC) { in sb_check()
280 __func__, le64_to_cpu(disk_super->magic), in sb_check()
335 unpack_block_time(le64_to_cpu(*value_le), &b, &t); in with_runs()
376 unpack_block_time(le64_to_cpu(v1_le), &b1, &t); in data_block_equal()
377 unpack_block_time(le64_to_cpu(v2_le), &b2, &t); in data_block_equal()
389 dm_tm_inc(info->tm, le64_to_cpu(*root_le)); in subtree_inc()
399 if (dm_btree_del(info, le64_to_cpu(*root_le))) in subtree_dec()
749 pmd->root = le64_to_cpu(disk_super->data_mapping_root); in __open_metadata()
[all …]
/Linux-v6.6/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()

12345678910>>...20