Home
last modified time | relevance | path

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

123456789

/linux-3.4.99/block/partitions/
Defi.c245 if (read_lba(state, le64_to_cpu(gpt->partition_entry_lba), in alloc_read_gpt_entries()
305 if (le64_to_cpu((*gpt)->signature) != GPT_HEADER_SIGNATURE) { in is_gpt_valid()
308 (unsigned long long)le64_to_cpu((*gpt)->signature), in is_gpt_valid()
336 if (le64_to_cpu((*gpt)->my_lba) != lba) { in is_gpt_valid()
338 (unsigned long long)le64_to_cpu((*gpt)->my_lba), in is_gpt_valid()
347 if (le64_to_cpu((*gpt)->first_usable_lba) > lastlba) { in is_gpt_valid()
349 (unsigned long long)le64_to_cpu((*gpt)->first_usable_lba), in is_gpt_valid()
353 if (le64_to_cpu((*gpt)->last_usable_lba) > lastlba) { in is_gpt_valid()
355 (unsigned long long)le64_to_cpu((*gpt)->last_usable_lba), in is_gpt_valid()
402 le64_to_cpu(pte->starting_lba) > lastlba || in is_pte_valid()
[all …]
/linux-3.4.99/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()
193 (u64) le64_to_cpu(sblk->fragment_table_start)); in squashfs_fill_super()
195 (u64) le64_to_cpu(sblk->id_table_start)); in squashfs_fill_super()
224 xattr_id_table_start = le64_to_cpu(sblk->xattr_id_table_start); in squashfs_fill_super()
245 le64_to_cpu(sblk->id_table_start), next_table, in squashfs_fill_super()
253 next_table = le64_to_cpu(msblk->id_table[0]); in squashfs_fill_super()
256 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.c54 u64 start_block = le64_to_cpu(msblk->fragment_index[block]); in squashfs_frag_lookup()
63 *fragment_block = le64_to_cpu(fragment_entry.start_block); in squashfs_frag_lookup()
93 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-3.4.99/fs/nilfs2/
Ddat.c166 start = le64_to_cpu(entry->de_start); in nilfs_dat_prepare_end()
167 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_prepare_end()
192 end = start = le64_to_cpu(entry->de_start); in nilfs_dat_commit_end()
198 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_commit_end()
217 start = le64_to_cpu(entry->de_start); in nilfs_dat_abort_end()
218 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_abort_end()
354 (unsigned long long)le64_to_cpu(entry->de_start), in nilfs_dat_move()
355 (unsigned long long)le64_to_cpu(entry->de_end)); in nilfs_dat_move()
414 blocknr = le64_to_cpu(entry->de_blocknr); in nilfs_dat_translate()
455 vinfo->vi_start = le64_to_cpu(entry->de_start); in nilfs_dat_get_vinfo()
[all …]
Dthe_nilfs.c146 nilfs->ns_nongc_ctime = le64_to_cpu(raw_sr->sr_nongc_ctime); in nilfs_load_super_root()
186 nilfs->ns_last_pseg = le64_to_cpu(sbp->s_last_pseg); in nilfs_store_log_cursor()
187 nilfs->ns_last_cno = le64_to_cpu(sbp->s_last_cno); in nilfs_store_log_cursor()
188 nilfs->ns_last_seq = le64_to_cpu(sbp->s_last_seq); in nilfs_store_log_cursor()
254 nilfs->ns_sbwtime = le64_to_cpu(sbp[0]->s_wtime); in load_nilfs()
296 features = le64_to_cpu(nilfs->ns_sbp[0]->s_feature_compat_ro) & in load_nilfs()
410 nilfs->ns_first_data_block = le64_to_cpu(sbp->s_first_data_block); in nilfs_store_disk_layout()
419 nilfs_set_nsegments(nilfs, le64_to_cpu(sbp->s_nsegments)); in nilfs_store_disk_layout()
446 return offset < ((le64_to_cpu(sbp->s_nsegments) * in nilfs_sb2_bad_offset()
518 le64_to_cpu(sbp[1]->s_last_cno) > in nilfs_load_super_block()
[all …]
Dcpfile.c378 ci->ci_cno = le64_to_cpu(cp->cp_cno); in nilfs_cpfile_checkpoint_to_cpinfo()
379 ci->ci_create = le64_to_cpu(cp->cp_create); in nilfs_cpfile_checkpoint_to_cpinfo()
380 ci->ci_nblk_inc = le64_to_cpu(cp->cp_nblk_inc); in nilfs_cpfile_checkpoint_to_cpinfo()
381 ci->ci_inodes_count = le64_to_cpu(cp->cp_inodes_count); in nilfs_cpfile_checkpoint_to_cpinfo()
382 ci->ci_blocks_count = le64_to_cpu(cp->cp_blocks_count); in nilfs_cpfile_checkpoint_to_cpinfo()
383 ci->ci_next = le64_to_cpu(cp->cp_snapshot_list.ssl_next); in nilfs_cpfile_checkpoint_to_cpinfo()
456 curr = le64_to_cpu(header->ch_snapshot_list.ssl_next); in nilfs_cpfile_do_get_ssinfo()
485 next = le64_to_cpu(cp->cp_snapshot_list.ssl_next); in nilfs_cpfile_do_get_ssinfo()
619 prev = le64_to_cpu(list->ssl_prev); in nilfs_cpfile_set_snapshot()
636 prev = le64_to_cpu(list->ssl_prev); in nilfs_cpfile_set_snapshot()
[all …]
/linux-3.4.99/fs/quota/
Dquota_v2.c182 m->dqb_itime = le64_to_cpu(d->dqb_itime); in v2r0_disk2memdqb()
185 m->dqb_curspace = le64_to_cpu(d->dqb_curspace); in v2r0_disk2memdqb()
186 m->dqb_btime = le64_to_cpu(d->dqb_btime); in v2r0_disk2memdqb()
230 m->dqb_ihardlimit = le64_to_cpu(d->dqb_ihardlimit); in v2r1_disk2memdqb()
231 m->dqb_isoftlimit = le64_to_cpu(d->dqb_isoftlimit); in v2r1_disk2memdqb()
232 m->dqb_curinodes = le64_to_cpu(d->dqb_curinodes); in v2r1_disk2memdqb()
233 m->dqb_itime = le64_to_cpu(d->dqb_itime); in v2r1_disk2memdqb()
234 m->dqb_bhardlimit = v2_qbtos(le64_to_cpu(d->dqb_bhardlimit)); in v2r1_disk2memdqb()
235 m->dqb_bsoftlimit = v2_qbtos(le64_to_cpu(d->dqb_bsoftlimit)); in v2r1_disk2memdqb()
236 m->dqb_curspace = le64_to_cpu(d->dqb_curspace); in v2r1_disk2memdqb()
[all …]
/linux-3.4.99/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 bitmap_check()
93 le64_to_cpu(disk_header->blocknr), dm_block_location(b)); in bitmap_check()
132 uint64_t bits = le64_to_cpu(*w_le); in bitmap_word_used()
288 r = dm_tm_read_lock(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_lookup_bitmap()
344 r = dm_tm_read_lock(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_find_free_block()
394 r = dm_tm_shadow_block(ll->tm, le64_to_cpu(ie_disk.blocknr), in sm_ll_insert()
602 ll->nr_blocks = le64_to_cpu(smr->nr_blocks); in sm_ll_open_metadata()
603 ll->nr_allocated = le64_to_cpu(smr->nr_allocated); in sm_ll_open_metadata()
[all …]
Ddm-btree.c47 uint64_t mid_key = le64_to_cpu(n->keys[mid]); in bsearch()
321 *result_key = le64_to_cpu(ro_node(s)->keys[i]); in btree_lookup_raw()
364 root = le64_to_cpu(internal_value_le); in dm_btree_lookup()
452 le64_to_cpu(rn->keys[0]), &location); in btree_split_sibling()
456 if (key < le64_to_cpu(rn->keys[0])) { in btree_split_sibling()
562 if (key < le64_to_cpu(rn->keys[0])) { in btree_split_beneath()
630 if (i < 0 || le64_to_cpu(node->keys[i]) != key) in btree_insert_raw()
664 (le64_to_cpu(n->keys[index]) != keys[level])); in insert()
694 (le64_to_cpu(n->keys[index]) != keys[level])); in insert()
770 *result_key = le64_to_cpu(ro_node(s)->keys[i]); in find_highest_key()
/linux-3.4.99/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-3.4.99/drivers/md/
Ddm-thin-metadata.c222 if (dm_block_location(b) != le64_to_cpu(disk_super->blocknr)) { in sb_check()
224 "wanted %llu", le64_to_cpu(disk_super->blocknr), in sb_check()
229 if (le64_to_cpu(disk_super->magic) != THIN_SUPERBLOCK_MAGIC) { in sb_check()
231 "wanted %llu", le64_to_cpu(disk_super->magic), in sb_check()
277 unpack_block_time(le64_to_cpu(v_le), &b, &t); in data_block_inc()
289 unpack_block_time(le64_to_cpu(v_le), &b, &t); in data_block_dec()
301 unpack_block_time(le64_to_cpu(v1_le), &b1, &t); in data_block_equal()
302 unpack_block_time(le64_to_cpu(v2_le), &b2, &t); in data_block_equal()
314 root = le64_to_cpu(root_le); in subtree_inc()
325 root = le64_to_cpu(root_le); in subtree_dec()
[all …]
/linux-3.4.99/fs/ceph/
Dinode.c572 inode, ceph_vinop(inode), le64_to_cpu(info->version), in fill_inode()
600 if (le64_to_cpu(info->version) > 0 && in fill_inode()
601 (ci->i_version & ~1) >= le64_to_cpu(info->version)) in fill_inode()
609 ci->i_version = le64_to_cpu(info->version); in fill_inode()
630 le64_to_cpu(info->truncate_size), in fill_inode()
631 le64_to_cpu(info->size)); in fill_inode()
638 ci->i_max_size != le64_to_cpu(info->max_size)) { in fill_inode()
640 le64_to_cpu(info->max_size)); in fill_inode()
641 ci->i_max_size = le64_to_cpu(info->max_size); in fill_inode()
650 le64_to_cpu(info->xattr_version) > ci->i_xattrs.version) { in fill_inode()
[all …]
Dsnap.c643 realm = ceph_lookup_snap_realm(mdsc, le64_to_cpu(ri->ino)); in ceph_update_snap_trace()
645 realm = ceph_create_snap_realm(mdsc, le64_to_cpu(ri->ino)); in ceph_update_snap_trace()
653 err = adjust_snap_realm_parent(mdsc, realm, le64_to_cpu(ri->parent)); in ceph_update_snap_trace()
658 if (le64_to_cpu(ri->seq) > realm->seq) { in ceph_update_snap_trace()
660 realm->ino, realm, realm->seq, le64_to_cpu(ri->seq)); in ceph_update_snap_trace()
662 realm->seq = le64_to_cpu(ri->seq); in ceph_update_snap_trace()
663 realm->created = le64_to_cpu(ri->created); in ceph_update_snap_trace()
664 realm->parent_since = le64_to_cpu(ri->parent_since); in ceph_update_snap_trace()
792 split = le64_to_cpu(h->split); /* non-zero if we are splitting an in ceph_handle_snap()
839 .ino = le64_to_cpu(split_inos[i]), in ceph_handle_snap()
[all …]
Dlocks.c54 fl->fl_pid = le64_to_cpu(req->r_reply_info.filelock_reply->pid); in ceph_lock_message()
62 fl->fl_start = le64_to_cpu(req->r_reply_info.filelock_reply->start); in ceph_lock_message()
63 length = le64_to_cpu(req->r_reply_info.filelock_reply->start) + in ceph_lock_message()
64 le64_to_cpu(req->r_reply_info.filelock_reply->length); in ceph_lock_message()
/linux-3.4.99/fs/ocfs2/
Dinode.c270 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_populate_inode()
281 inode->i_atime.tv_sec = le64_to_cpu(fe->i_atime); in ocfs2_populate_inode()
283 inode->i_mtime.tv_sec = le64_to_cpu(fe->i_mtime); in ocfs2_populate_inode()
285 inode->i_ctime.tv_sec = le64_to_cpu(fe->i_ctime); in ocfs2_populate_inode()
288 if (OCFS2_I(inode)->ip_blkno != le64_to_cpu(fe->i_blkno)) in ocfs2_populate_inode()
292 (unsigned long long)le64_to_cpu(fe->i_blkno)); in ocfs2_populate_inode()
322 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
330 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
338 i_size_write(inode, le64_to_cpu(fe->i_size)); in ocfs2_populate_inode()
349 le64_to_cpu(fe->i_blkno)); in ocfs2_populate_inode()
[all …]
Drefcounttree.c112 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()
418 *ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_get_refcount_block()
772 u64 blk = 0, bg_blkno = 0, ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_remove_refcount_tree()
792 blk = le64_to_cpu(rb->rf_blkno); in ocfs2_remove_refcount_tree()
795 bg_blkno = le64_to_cpu(rb->rf_suballoc_loc); in ocfs2_remove_refcount_tree()
893 if (le64_to_cpu(rec->r_cpos) + in ocfs2_find_refcount_rec_in_rl()
896 else if (le64_to_cpu(rec->r_cpos) > cpos) in ocfs2_find_refcount_rec_in_rl()
910 le64_to_cpu(rec->r_cpos) < cpos + len) in ocfs2_find_refcount_rec_in_rl()
912 cpu_to_le32(le64_to_cpu(rec->r_cpos) - cpos); in ocfs2_find_refcount_rec_in_rl()
[all …]
Dsuballoc.c196 if (le64_to_cpu(gd->bg_blkno) != bh->b_blocknr) { in ocfs2_validate_gd_self()
200 (unsigned long long)le64_to_cpu(gd->bg_blkno)); in ocfs2_validate_gd_self()
245 (unsigned long long)le64_to_cpu(gd->bg_parent_dinode), in ocfs2_validate_gd_parent()
246 (unsigned long long)le64_to_cpu(di->i_blkno)); in ocfs2_validate_gd_parent()
602 le64_to_cpu(rec->e_blkno), in ocfs2_bg_alloc_cleanup()
778 i_size_write(alloc_inode, le64_to_cpu(fe->i_size)); in ocfs2_block_group_alloc()
843 (unsigned long long)le64_to_cpu(fe->i_blkno)); in ocfs2_reserve_suballoc_bits()
1380 (unsigned long long)le64_to_cpu(bg->bg_blkno), in ocfs2_block_group_set_bits()
1436 (unsigned long long)le64_to_cpu(fe->i_blkno), chain, in ocfs2_relink_block_group()
1437 (unsigned long long)le64_to_cpu(bg->bg_blkno), in ocfs2_relink_block_group()
[all …]
Dresize.c64 u64 blkno, gd_blkno, lgd_blkno = le64_to_cpu(gd->bg_blkno); in ocfs2_calc_new_backup_super()
162 i_size_write(bm_inode, le64_to_cpu(fe->i_size)); in ocfs2_update_last_group_and_inode()
345 (unsigned long long)le64_to_cpu(group->bg_blkno), new_clusters); in ocfs2_group_extend()
400 (unsigned long long)le64_to_cpu(gd->bg_blkno), in ocfs2_check_new_group()
405 (unsigned long long)le64_to_cpu(gd->bg_blkno), in ocfs2_check_new_group()
410 (unsigned long long)le64_to_cpu(gd->bg_blkno), in ocfs2_check_new_group()
571 i_size_write(main_bm_inode, le64_to_cpu(fe->i_size)); in ocfs2_group_add()
/linux-3.4.99/drivers/net/ethernet/icplus/
Dipg.c773 le64_to_cpu(rxfd->frag_info) & ~IPG_RFI_FRAGLEN, in init_rfdlist()
879 le64_to_cpu(txfd->frag_info) & ~IPG_TFI_FRAGLEN, in ipg_nic_txfree()
1102 le64_to_cpu(rxfd->frag_info) & ~IPG_RFI_FRAGLEN, in ipg_nic_rx_free_skb()
1115 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_FRAMESTART) in ipg_nic_rx_check_frame_type()
1117 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_FRAMEEND) in ipg_nic_rx_check_frame_type()
1128 if (IPG_DROP_ON_RX_ETH_ERRORS && (le64_to_cpu(rxfd->rfs) & in ipg_nic_rx_check_error()
1139 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_RXFIFOOVERRUN) { in ipg_nic_rx_check_error()
1145 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_RXRUNTFRAME) { in ipg_nic_rx_check_error()
1154 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_RXALIGNMENTERROR) { in ipg_nic_rx_check_error()
1169 le64_to_cpu(rxfd->frag_info) & ~IPG_RFI_FRAGLEN, in ipg_nic_rx_check_error()
[all …]
/linux-3.4.99/fs/ntfs/
Dendian.h45 return le64_to_cpu((__force le64)x); in sle64_to_cpu()
60 return le64_to_cpu(*(__force le64*)x); in sle64_to_cpup()
/linux-3.4.99/fs/cifs/
Dioctl.c68 caps = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_ioctl()
83 caps = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_ioctl()
/linux-3.4.99/drivers/usb/host/
Dxhci-dbg.c263 address = le64_to_cpu(trb->link.segment_ptr); in xhci_debug_trb()
276 address = le64_to_cpu(trb->trans_event.buffer); in xhci_debug_trb()
284 address = le64_to_cpu(trb->event_cmd.cmd_trb); in xhci_debug_trb()
321 lower_32_bits(le64_to_cpu(trb->link.segment_ptr)), in xhci_debug_segment()
322 upper_32_bits(le64_to_cpu(trb->link.segment_ptr)), in xhci_debug_segment()
403 lower_32_bits(le64_to_cpu(entry->seg_addr)), in xhci_dbg_erst()
404 upper_32_bits(le64_to_cpu(entry->seg_addr)), in xhci_dbg_erst()

123456789