Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v4.19/block/partitions/
Defi.c304 if (read_lba(state, le64_to_cpu(gpt->partition_entry_lba), in alloc_read_gpt_entries()
363 if (le64_to_cpu((*gpt)->signature) != GPT_HEADER_SIGNATURE) { in is_gpt_valid()
366 (unsigned long long)le64_to_cpu((*gpt)->signature), in is_gpt_valid()
402 if (le64_to_cpu((*gpt)->my_lba) != lba) { in is_gpt_valid()
404 (unsigned long long)le64_to_cpu((*gpt)->my_lba), in is_gpt_valid()
413 if (le64_to_cpu((*gpt)->first_usable_lba) > lastlba) { in is_gpt_valid()
415 (unsigned long long)le64_to_cpu((*gpt)->first_usable_lba), in is_gpt_valid()
419 if (le64_to_cpu((*gpt)->last_usable_lba) > lastlba) { in is_gpt_valid()
421 (unsigned long long)le64_to_cpu((*gpt)->last_usable_lba), in is_gpt_valid()
425 if (le64_to_cpu((*gpt)->last_usable_lba) < le64_to_cpu((*gpt)->first_usable_lba)) { in is_gpt_valid()
[all …]
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c127 attr->max_mr_size = le64_to_cpu(sb->max_mr_size); in bnxt_qplib_get_dev_attr()
809 stats->to_retransmits = le64_to_cpu(sb->to_retransmits); in bnxt_qplib_get_roce_stats()
810 stats->seq_err_naks_rcvd = le64_to_cpu(sb->seq_err_naks_rcvd); in bnxt_qplib_get_roce_stats()
811 stats->max_retry_exceeded = le64_to_cpu(sb->max_retry_exceeded); in bnxt_qplib_get_roce_stats()
812 stats->rnr_naks_rcvd = le64_to_cpu(sb->rnr_naks_rcvd); in bnxt_qplib_get_roce_stats()
813 stats->missing_resp = le64_to_cpu(sb->missing_resp); in bnxt_qplib_get_roce_stats()
814 stats->unrecoverable_err = le64_to_cpu(sb->unrecoverable_err); in bnxt_qplib_get_roce_stats()
815 stats->bad_resp_err = le64_to_cpu(sb->bad_resp_err); in bnxt_qplib_get_roce_stats()
816 stats->local_qp_op_err = le64_to_cpu(sb->local_qp_op_err); in bnxt_qplib_get_roce_stats()
817 stats->local_protection_err = le64_to_cpu(sb->local_protection_err); in bnxt_qplib_get_roce_stats()
[all …]
Dhw_counters.c130 le64_to_cpu(bnxt_re_stats->tx_bcast_pkts); in bnxt_re_ib_get_hw_stats()
132 le64_to_cpu(bnxt_re_stats->rx_ucast_pkts); in bnxt_re_ib_get_hw_stats()
134 le64_to_cpu(bnxt_re_stats->rx_ucast_bytes); in bnxt_re_ib_get_hw_stats()
136 le64_to_cpu(bnxt_re_stats->tx_ucast_pkts); in bnxt_re_ib_get_hw_stats()
138 le64_to_cpu(bnxt_re_stats->tx_ucast_bytes); in bnxt_re_ib_get_hw_stats()
/Linux-v4.19/include/linux/
Dsiphash.h57 return siphash_1u64(le64_to_cpu(data[0]), key); in ___siphash_aligned()
59 return siphash_2u64(le64_to_cpu(data[0]), le64_to_cpu(data[1]), in ___siphash_aligned()
62 return siphash_3u64(le64_to_cpu(data[0]), le64_to_cpu(data[1]), in ___siphash_aligned()
63 le64_to_cpu(data[2]), key); in ___siphash_aligned()
65 return siphash_4u64(le64_to_cpu(data[0]), le64_to_cpu(data[1]), in ___siphash_aligned()
66 le64_to_cpu(data[2]), le64_to_cpu(data[3]), in ___siphash_aligned()
/Linux-v4.19/fs/squashfs/
Dsuper.c141 msblk->bytes_used = le64_to_cpu(sblk->bytes_used); in squashfs_fill_super()
171 root_inode = le64_to_cpu(sblk->root_inode); in squashfs_fill_super()
175 msblk->inode_table = le64_to_cpu(sblk->inode_table_start); in squashfs_fill_super()
176 msblk->directory_table = le64_to_cpu(sblk->directory_table_start); in squashfs_fill_super()
194 (u64) le64_to_cpu(sblk->fragment_table_start)); in squashfs_fill_super()
196 (u64) le64_to_cpu(sblk->id_table_start)); in squashfs_fill_super()
226 xattr_id_table_start = le64_to_cpu(sblk->xattr_id_table_start); in squashfs_fill_super()
247 le64_to_cpu(sblk->id_table_start), next_table, in squashfs_fill_super()
255 next_table = le64_to_cpu(msblk->id_table[0]); in squashfs_fill_super()
258 lookup_table_start = le64_to_cpu(sblk->lookup_table_start); in squashfs_fill_super()
[all …]
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()
150 if (!IS_ERR(table) && le64_to_cpu(table[0]) >= lookup_table_start) { in squashfs_read_inode_lookup_table()
Dfragment.c61 start_block = le64_to_cpu(msblk->fragment_index[block]); in squashfs_frag_lookup()
68 *fragment_block = le64_to_cpu(fragment_entry.start_block); in squashfs_frag_lookup()
96 if (!IS_ERR(table) && le64_to_cpu(table[0]) >= fragment_table_start) { in squashfs_read_fragment_index_table()
Dxattr_id.c47 u64 start_block = le64_to_cpu(msblk->xattr_id_table[block]); in squashfs_xattr_lookup()
56 *xattr = le64_to_cpu(id.xattr); in squashfs_xattr_lookup()
76 *xattr_table_start = le64_to_cpu(id_table->xattr_table_start); in squashfs_read_xattr_id_table()
Did.c51 u64 start_block = le64_to_cpu(msblk->id_table[block]); in squashfs_get_id()
96 if (!IS_ERR(table) && le64_to_cpu(table[0]) >= id_table_start) { in squashfs_read_id_index_table()
/Linux-v4.19/fs/nilfs2/
Ddat.c158 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_prepare_end()
183 end = start = le64_to_cpu(entry->de_start); in nilfs_dat_commit_end()
189 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_commit_end()
208 start = le64_to_cpu(entry->de_start); in nilfs_dat_abort_end()
209 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_abort_end()
346 (unsigned long long)le64_to_cpu(entry->de_start), in nilfs_dat_move()
347 (unsigned long long)le64_to_cpu(entry->de_end)); in nilfs_dat_move()
406 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_translate()
447 vinfo->vi_start = le64_to_cpu(entry->de_start); in nilfs_dat_get_vinfo()
448 vinfo->vi_end = le64_to_cpu(entry->de_end); 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()
246 nilfs->ns_sbwtime = le64_to_cpu(sbp[0]->s_wtime); in load_nilfs()
288 features = le64_to_cpu(nilfs->ns_sbp[0]->s_feature_compat_ro) & in load_nilfs()
415 nilfs->ns_first_data_block = le64_to_cpu(sbp->s_first_data_block); in nilfs_store_disk_layout()
426 nilfs_set_nsegments(nilfs, le64_to_cpu(sbp->s_nsegments)); in nilfs_store_disk_layout()
453 return offset < ((le64_to_cpu(sbp->s_nsegments) * in nilfs_sb2_bad_offset()
525 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 …]
/Linux-v4.19/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()
287 r = dm_tm_read_lock(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_lookup_bitmap()
353 r = dm_tm_read_lock(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_find_free_block()
402 r = dm_tm_shadow_block(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_mutate()
653 ll->nr_blocks = le64_to_cpu(smr.nr_blocks); in sm_ll_open_metadata()
654 ll->nr_allocated = le64_to_cpu(smr.nr_allocated); in sm_ll_open_metadata()
[all …]
/Linux-v4.19/arch/x86/include/asm/crypto/
Dglue_helper.h79 dst->a = cpu_to_be64(le64_to_cpu(src->a)); in le128_to_be128()
80 dst->b = cpu_to_be64(le64_to_cpu(src->b)); in le128_to_be128()
91 u64 a = le64_to_cpu(i->a); in le128_inc()
92 u64 b = le64_to_cpu(i->b); in le128_inc()
/Linux-v4.19/fs/quota/
Dquota_v2.c205 m->dqb_itime = le64_to_cpu(d->dqb_itime); in v2r0_disk2memdqb()
208 m->dqb_curspace = le64_to_cpu(d->dqb_curspace); in v2r0_disk2memdqb()
209 m->dqb_btime = le64_to_cpu(d->dqb_btime); in v2r0_disk2memdqb()
255 m->dqb_ihardlimit = le64_to_cpu(d->dqb_ihardlimit); in v2r1_disk2memdqb()
256 m->dqb_isoftlimit = le64_to_cpu(d->dqb_isoftlimit); in v2r1_disk2memdqb()
257 m->dqb_curinodes = le64_to_cpu(d->dqb_curinodes); in v2r1_disk2memdqb()
258 m->dqb_itime = le64_to_cpu(d->dqb_itime); in v2r1_disk2memdqb()
259 m->dqb_bhardlimit = v2_qbtos(le64_to_cpu(d->dqb_bhardlimit)); in v2r1_disk2memdqb()
260 m->dqb_bsoftlimit = v2_qbtos(le64_to_cpu(d->dqb_bsoftlimit)); in v2r1_disk2memdqb()
261 m->dqb_curspace = le64_to_cpu(d->dqb_curspace); in v2r1_disk2memdqb()
[all …]
/Linux-v4.19/fs/ocfs2/
Dinode.c308 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_populate_inode()
321 inode->i_atime.tv_sec = le64_to_cpu(fe->i_atime); in ocfs2_populate_inode()
323 inode->i_mtime.tv_sec = le64_to_cpu(fe->i_mtime); in ocfs2_populate_inode()
325 inode->i_ctime.tv_sec = le64_to_cpu(fe->i_ctime); in ocfs2_populate_inode()
328 if (OCFS2_I(inode)->ip_blkno != le64_to_cpu(fe->i_blkno)) in ocfs2_populate_inode()
332 (unsigned long long)le64_to_cpu(fe->i_blkno)); in ocfs2_populate_inode()
362 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
370 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
376 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
387 le64_to_cpu(fe->i_blkno)); in ocfs2_populate_inode()
[all …]
Drefcounttree.c113 if (le64_to_cpu(rb->rf_blkno) != bh->b_blocknr) { in ocfs2_validate_refcount_block()
117 (unsigned long long)le64_to_cpu(rb->rf_blkno)); in ocfs2_validate_refcount_block()
417 *ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_get_refcount_block()
775 u64 blk = 0, bg_blkno = 0, ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_remove_refcount_tree()
795 blk = le64_to_cpu(rb->rf_blkno); in ocfs2_remove_refcount_tree()
798 bg_blkno = le64_to_cpu(rb->rf_suballoc_loc); in ocfs2_remove_refcount_tree()
896 if (le64_to_cpu(rec->r_cpos) + in ocfs2_find_refcount_rec_in_rl()
899 else if (le64_to_cpu(rec->r_cpos) > cpos) in ocfs2_find_refcount_rec_in_rl()
913 le64_to_cpu(rec->r_cpos) < cpos + len) in ocfs2_find_refcount_rec_in_rl()
915 cpu_to_le32(le64_to_cpu(rec->r_cpos) - cpos); in ocfs2_find_refcount_rec_in_rl()
[all …]
/Linux-v4.19/fs/ubifs/
Dmaster.c279 c->max_sqnum = le64_to_cpu(c->mst_node->ch.sqnum); in ubifs_read_master()
280 c->highest_inum = le64_to_cpu(c->mst_node->highest_inum); in ubifs_read_master()
281 c->cmt_no = le64_to_cpu(c->mst_node->cmt_no); in ubifs_read_master()
289 c->bi.old_idx_sz = le64_to_cpu(c->mst_node->index_size); in ubifs_read_master()
302 c->lst.total_free = le64_to_cpu(c->mst_node->total_free); in ubifs_read_master()
303 c->lst.total_dirty = le64_to_cpu(c->mst_node->total_dirty); in ubifs_read_master()
304 c->lst.total_used = le64_to_cpu(c->mst_node->total_used); in ubifs_read_master()
305 c->lst.total_dead = le64_to_cpu(c->mst_node->total_dead); in ubifs_read_master()
306 c->lst.total_dark = le64_to_cpu(c->mst_node->total_dark); in ubifs_read_master()
/Linux-v4.19/fs/ceph/
Dquota.c64 vino.ino = le64_to_cpu(h->ino); in ceph_handle_quota()
74 ci->i_rbytes = le64_to_cpu(h->rbytes); in ceph_handle_quota()
75 ci->i_rfiles = le64_to_cpu(h->rfiles); in ceph_handle_quota()
76 ci->i_rsubdirs = le64_to_cpu(h->rsubdirs); in ceph_handle_quota()
77 __ceph_update_quota(ci, le64_to_cpu(h->max_bytes), in ceph_handle_quota()
78 le64_to_cpu(h->max_files)); in ceph_handle_quota()
Dinode.c754 inode, ceph_vinop(inode), le64_to_cpu(info->version), in fill_inode()
794 le64_to_cpu(info->version) > (ci->i_version & ~1))) in fill_inode()
832 ci->i_files = le64_to_cpu(info->files); in fill_inode()
833 ci->i_subdirs = le64_to_cpu(info->subdirs); in fill_inode()
853 le64_to_cpu(info->truncate_size), in fill_inode()
854 le64_to_cpu(info->size)); in fill_inode()
857 ci->i_max_size != le64_to_cpu(info->max_size)) { in fill_inode()
859 le64_to_cpu(info->max_size)); in fill_inode()
860 ci->i_max_size = le64_to_cpu(info->max_size); in fill_inode()
869 ci->i_rbytes = le64_to_cpu(info->rbytes); in fill_inode()
[all …]
Dsnap.c684 realm = ceph_lookup_snap_realm(mdsc, le64_to_cpu(ri->ino)); in ceph_update_snap_trace()
686 realm = ceph_create_snap_realm(mdsc, le64_to_cpu(ri->ino)); in ceph_update_snap_trace()
694 err = adjust_snap_realm_parent(mdsc, realm, le64_to_cpu(ri->parent)); in ceph_update_snap_trace()
699 if (le64_to_cpu(ri->seq) > realm->seq) { in ceph_update_snap_trace()
701 realm->ino, realm, realm->seq, le64_to_cpu(ri->seq)); in ceph_update_snap_trace()
703 realm->seq = le64_to_cpu(ri->seq); in ceph_update_snap_trace()
704 realm->created = le64_to_cpu(ri->created); in ceph_update_snap_trace()
705 realm->parent_since = le64_to_cpu(ri->parent_since); in ceph_update_snap_trace()
846 split = le64_to_cpu(h->split); /* non-zero if we are splitting an in ceph_handle_snap()
892 .ino = le64_to_cpu(split_inos[i]), in ceph_handle_snap()
[all …]
/Linux-v4.19/drivers/net/ethernet/apm/xgene-v2/
Dmain.c110 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers()
111 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_refill_buffers()
179 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_slot_available()
180 (GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)) == SLOT_EMPTY)) in is_tx_slot_available()
217 addr_hi = GET_BITS(NEXT_DESC_ADDRH, le64_to_cpu(raw_desc->m1)); in xge_start_xmit()
218 addr_lo = GET_BITS(NEXT_DESC_ADDRL, le64_to_cpu(raw_desc->m1)); in xge_start_xmit()
243 if (GET_BITS(E, le64_to_cpu(raw_desc->m0)) && in is_tx_hw_done()
244 !GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0))) in is_tx_hw_done()
323 if (GET_BITS(E, le64_to_cpu(raw_desc->m0))) in xge_rx_poll()
331 len = GET_BITS(PKT_SIZE, le64_to_cpu(raw_desc->m0)); in xge_rx_poll()
[all …]
/Linux-v4.19/drivers/md/
Ddm-thin-metadata.c251 if (dm_block_location(b) != le64_to_cpu(disk_super->blocknr)) { in sb_check()
253 "wanted %llu", le64_to_cpu(disk_super->blocknr), in sb_check()
258 if (le64_to_cpu(disk_super->magic) != THIN_SUPERBLOCK_MAGIC) { in sb_check()
260 "wanted %llu", le64_to_cpu(disk_super->magic), in sb_check()
306 unpack_block_time(le64_to_cpu(v_le), &b, &t); in data_block_inc()
318 unpack_block_time(le64_to_cpu(v_le), &b, &t); in data_block_dec()
330 unpack_block_time(le64_to_cpu(v1_le), &b1, &t); in data_block_equal()
331 unpack_block_time(le64_to_cpu(v2_le), &b2, &t); in data_block_equal()
343 root = le64_to_cpu(root_le); in subtree_inc()
354 root = le64_to_cpu(root_le); in subtree_dec()
[all …]
/Linux-v4.19/fs/cifs/
Dioctl.c105 fsinf->vol_create_time = le64_to_cpu(tcon->vol_create_time); in smb_mnt_get_fsinfo()
112 fsinf->cifs_posix_caps = le64_to_cpu(tcon->fsUnixInfo.Capability); in smb_mnt_get_fsinfo()
141 caps = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_ioctl()
168 caps = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_ioctl()
/Linux-v4.19/drivers/scsi/megaraid/
Dmegaraid_sas_fp.c398 if (le64_to_cpu(quad->logStart) <= row && row <= in MR_GetSpanBlock()
399 le64_to_cpu(quad->logEnd) && (mega_mod64(row - le64_to_cpu(quad->logStart), in MR_GetSpanBlock()
403 blk = mega_div64_32((row-le64_to_cpu(quad->logStart)), le32_to_cpu(quad->diff)); in MR_GetSpanBlock()
406 blk = (blk + le64_to_cpu(quad->offsetInSpan)) << raid->stripeShift; in MR_GetSpanBlock()
461 if (le64_to_cpu(quad->logStart) <= row && in mr_spanset_get_span_block()
462 row <= le64_to_cpu(quad->logEnd) && in mr_spanset_get_span_block()
463 (mega_mod64(row - le64_to_cpu(quad->logStart), in mr_spanset_get_span_block()
468 ((row - le64_to_cpu(quad->logStart)), in mr_spanset_get_span_block()
470 blk = (blk + le64_to_cpu(quad->offsetInSpan)) in mr_spanset_get_span_block()
578 if (le64_to_cpu(quad->logStart) <= row && in get_strip_from_row()
[all …]

12345678910>>...15