Home
last modified time | relevance | path

Searched refs:be64_to_cpu (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_port.c143 ret += be64_to_cpu(*curr); in en_stats_adder()
310 stats->rx_errors = be64_to_cpu(mlx4_en_stats->PCS) + in mlx4_en_DUMP_ETH_STATS()
314 be64_to_cpu(mlx4_en_stats->RInRangeLengthErr) + in mlx4_en_DUMP_ETH_STATS()
315 be64_to_cpu(mlx4_en_stats->ROutRangeLengthErr) + in mlx4_en_DUMP_ETH_STATS()
342 be64_to_cpu(mlx4_en_stats->RInRangeLengthErr); in mlx4_en_DUMP_ETH_STATS()
344 be64_to_cpu(mlx4_en_stats->ROutRangeLengthErr); in mlx4_en_DUMP_ETH_STATS()
356 priv->pkstats.rx_prio[0][0] = be64_to_cpu(mlx4_en_stats->RTOT_prio_0); in mlx4_en_DUMP_ETH_STATS()
357 priv->pkstats.rx_prio[0][1] = be64_to_cpu(mlx4_en_stats->ROCT_prio_0); in mlx4_en_DUMP_ETH_STATS()
358 priv->pkstats.rx_prio[1][0] = be64_to_cpu(mlx4_en_stats->RTOT_prio_1); in mlx4_en_DUMP_ETH_STATS()
359 priv->pkstats.rx_prio[1][1] = be64_to_cpu(mlx4_en_stats->ROCT_prio_1); in mlx4_en_DUMP_ETH_STATS()
[all …]
/linux/arch/powerpc/platforms/pseries/
H A Drtas-fadump.c57 addr = be64_to_cpu(fdm->rgn[i].destination_address); in rtas_fadump_get_config()
70 base = be64_to_cpu(fdm->rgn[i].source_address); in rtas_fadump_get_config()
71 size = be64_to_cpu(fdm->rgn[i].source_len); in rtas_fadump_get_config()
75 be64_to_cpu(fdm->rgn[i].destination_address); in rtas_fadump_get_config()
86 fadump_conf->param_area = be64_to_cpu(fdm->rgn[i].destination_address); in rtas_fadump_get_config()
338 while (be64_to_cpu(reg_entry->reg_id) != fadump_str_to_u64("CPUEND")) { in rtas_fadump_read_regs()
339 rtas_fadump_set_regval(regs, be64_to_cpu(reg_entry->reg_id), in rtas_fadump_read_regs()
340 be64_to_cpu(reg_entry->reg_value)); in rtas_fadump_read_regs()
374 if (be64_to_cpu(reg_header->magic_number) != in rtas_fadump_build_cpu_notes()
381 pr_debug("Magic Number: %llx\n", be64_to_cpu(reg_header->magic_number)); in rtas_fadump_build_cpu_notes()
[all …]
H A Dpapr_platform_attributes.c122 (buf + be64_to_cpu(hdr->array_offset)); in papr_get_attr()
125 be64_to_cpu(hdr->array_offset) + (be64_to_cpu(hdr->num_attrs) in papr_get_attr()
174 return sysfs_emit(buf, "%llu\n", be64_to_cpu(esi.val)); in val_show()
288 num_attrs = be64_to_cpu(esi_hdr->num_attrs); in papr_init()
290 (esi_buf + be64_to_cpu(esi_hdr->array_offset)); in papr_init()
293 be64_to_cpu(esi_hdr->array_offset) + in papr_init()
323 be64_to_cpu(esi_attrs[idx].id)); in papr_init()
336 if (add_attr_group(be64_to_cpu(esi_attrs[idx].id), in papr_init()
H A Dras.c449 regs->gpr[3] = be64_to_cpu(savep[0]); /* restore original r3 */ in fwnmi_get_errinfo()
495 if ((be64_to_cpu(regs->msr) & in pSeries_system_reset_exception()
498 regs_set_return_ip(regs, be64_to_cpu((__be64)regs->nip)); in pSeries_system_reset_exception()
518 regs->gpr[3] = be64_to_cpu(savep[0]); /* restore original r3 */ in pSeries_system_reset_exception()
642 eaddr = be64_to_cpu(mce_log->effective_address); in mce_handle_err_virtmode()
645 paddr = be64_to_cpu(mce_log->logical_address); in mce_handle_err_virtmode()
670 eaddr = be64_to_cpu(mce_log->effective_address); in mce_handle_err_virtmode()
687 eaddr = be64_to_cpu(mce_log->effective_address); in mce_handle_err_virtmode()
704 eaddr = be64_to_cpu(mce_log->effective_address); in mce_handle_err_virtmode()
725 eaddr = be64_to_cpu(mce_log->effective_address); in mce_handle_err_virtmode()
/linux/fs/ocfs2/dlm/
H A Ddlmast.c89 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
90 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
97 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
98 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast()
108 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast()
109 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast()
155 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_bast()
156 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_bast()
203 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_do_local_ast()
204 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in dlm_do_local_ast()
[all …]
/linux/arch/powerpc/platforms/powernv/
H A Dopal-fadump.c60 addr = be64_to_cpu(addr); in opal_fadump_dt_scan()
77 fadump_conf->boot_mem_top = be64_to_cpu(addr); in opal_fadump_dt_scan()
104 fadump_conf->boot_mem_dest_addr = be64_to_cpu(fdm->rgn[0].dest); in opal_fadump_update_config()
108 fadump_conf->fadumphdr_addr = be64_to_cpu(fdm->fadumphdr_addr); in opal_fadump_update_config()
130 base = be64_to_cpu(fdm->rgn[i].src); in opal_fadump_get_config()
131 size = be64_to_cpu(fdm->rgn[i].size); in opal_fadump_get_config()
146 fadump_conf->reserve_dump_area_start = be64_to_cpu(fdm->rgn[0].dest); in opal_fadump_get_config()
164 i, be64_to_cpu(fdm->rgn[i].src), in opal_fadump_get_config()
165 be64_to_cpu(fdm->rgn[i].size)); in opal_fadump_get_config()
212 opal_fdm->fadumphdr_addr = cpu_to_be64(be64_to_cpu(opal_fdm->rgn[0].dest) + in opal_fadump_init_mem_struct()
[all …]
H A Dopal-memory-errors.c38 paddr_start = be64_to_cpu(merr_evt->u.resilience.physical_address_start); in handle_memory_error_event()
39 paddr_end = be64_to_cpu(merr_evt->u.resilience.physical_address_end); in handle_memory_error_event()
42 paddr_start = be64_to_cpu(merr_evt->u.dyn_dealloc.physical_address_start); in handle_memory_error_event()
43 paddr_end = be64_to_cpu(merr_evt->u.dyn_dealloc.physical_address_end); in handle_memory_error_event()
H A Deeh-powernv.c1264 be64_to_cpu(data->gemXfir), in pnv_eeh_dump_hub_diag_common()
1265 be64_to_cpu(data->gemRfir), in pnv_eeh_dump_hub_diag_common()
1266 be64_to_cpu(data->gemRirqfir), in pnv_eeh_dump_hub_diag_common()
1267 be64_to_cpu(data->gemMask), in pnv_eeh_dump_hub_diag_common()
1268 be64_to_cpu(data->gemRwof)); in pnv_eeh_dump_hub_diag_common()
1274 be64_to_cpu(data->lemFir), in pnv_eeh_dump_hub_diag_common()
1275 be64_to_cpu(data->lemErrMask), in pnv_eeh_dump_hub_diag_common()
1276 be64_to_cpu(data->lemAction0), in pnv_eeh_dump_hub_diag_common()
1277 be64_to_cpu(data->lemAction1), in pnv_eeh_dump_hub_diag_common()
1278 be64_to_cpu(data->lemWof)); in pnv_eeh_dump_hub_diag_common()
[all …]
H A Dopal-core.c278 be64_to_cpu(regs.gpr[1]), be64_to_cpu(regs.nip)); in opalcore_append_cpu_notes()
484 addr = be64_to_cpu(addr); in opalcore_config_init()
495 addr = be64_to_cpu(addr); in opalcore_config_init()
520 be64_to_cpu(opalc_metadata->region[i].dest); in opalcore_config_init()
522 be64_to_cpu(opalc_metadata->region[i].size); in opalcore_config_init()
540 addr = be64_to_cpu(opalc_cpu_metadata->region[0].dest); in opalcore_config_init()
548 be64_to_cpu(opalc_cpu_metadata->region[0].size); in opalcore_config_init()
/linux/arch/powerpc/kvm/
H A Dbook3s_hv_rm_mmu.c309 if ((be64_to_cpu(*hpte) & HPTE_V_VALID) == 0 && in kvmppc_do_h_enter()
327 pte = be64_to_cpu(hpte[0]); in kvmppc_do_h_enter()
346 pte = be64_to_cpu(hpte[0]); in kvmppc_do_h_enter()
501 pte = orig_pte = be64_to_cpu(hpte[0]); in kvmppc_do_h_remove()
502 pte_r = be64_to_cpu(hpte[1]); in kvmppc_do_h_remove()
530 be64_to_cpu(hpte[1])); in kvmppc_do_h_remove()
600 hp0 = be64_to_cpu(hp[0]); in kvmppc_h_bulk_remove()
601 hp1 = be64_to_cpu(hp[1]); in kvmppc_h_bulk_remove()
663 be64_to_cpu(hp[0]), be64_to_cpu(hp[1])); in kvmppc_h_bulk_remove()
691 v = pte_v = be64_to_cpu(hpte[0]); in kvmppc_h_protect()
[all …]
H A Dbook3s_pr_papr.c60 if ((be64_to_cpu(*hpte) & HPTE_V_VALID) == 0) in kvmppc_h_pr_enter()
100 pte[0] = be64_to_cpu((__force __be64)pte[0]); in kvmppc_h_pr_remove()
101 pte[1] = be64_to_cpu((__force __be64)pte[1]); in kvmppc_h_pr_remove()
183 pte[0] = be64_to_cpu((__force __be64)pte[0]); in kvmppc_h_pr_bulk_remove()
184 pte[1] = be64_to_cpu((__force __be64)pte[1]); in kvmppc_h_pr_bulk_remove()
228 pte[0] = be64_to_cpu((__force __be64)pte[0]); in kvmppc_h_pr_protect()
229 pte[1] = be64_to_cpu((__force __be64)pte[1]); in kvmppc_h_pr_protect()
/linux/drivers/infiniband/hw/cxgb4/
H A Dev.c74 be64_to_cpu(p[0]), be64_to_cpu(p[1]), be64_to_cpu(p[2]), in dump_err_cqe()
75 be64_to_cpu(p[3]), be64_to_cpu(p[4]), be64_to_cpu(p[5]), in dump_err_cqe()
76 be64_to_cpu(p[6]), be64_to_cpu(p[7])); in dump_err_cqe()
/linux/fs/xfs/libxfs/
H A Dxfs_rmap_btree.c204 if (XFS_RMAP_NON_INODE_OWNER(be64_to_cpu(rec->rmap.rm_owner)) || in xfs_rmapbt_init_high_key_from_rec()
205 XFS_RMAP_IS_BMBT_BLOCK(be64_to_cpu(rec->rmap.rm_offset))) in xfs_rmapbt_init_high_key_from_rec()
207 off = be64_to_cpu(key->rmap.rm_offset); in xfs_rmapbt_init_high_key_from_rec()
255 cmp_int(be64_to_cpu(kp->rm_owner), rec->rm_owner) ?: in xfs_rmapbt_cmp_key_with_cur()
256 cmp_int(offset_keymask(be64_to_cpu(kp->rm_offset)), in xfs_rmapbt_cmp_key_with_cur()
280 d = cmp_int(be64_to_cpu(kp1->rm_owner), in xfs_rmapbt_cmp_two_keys()
281 be64_to_cpu(kp2->rm_owner)); in xfs_rmapbt_cmp_two_keys()
290 d = cmp_int(offset_keymask(be64_to_cpu(kp1->rm_offset)), in xfs_rmapbt_cmp_two_keys()
291 offset_keymask(be64_to_cpu(kp2->rm_offset))); in xfs_rmapbt_cmp_two_keys()
410 a = be64_to_cpu(k1->rmap.rm_owner); in xfs_rmapbt_keys_inorder()
[all …]
H A Dxfs_rtrmap_btree.c150 if (XFS_RMAP_NON_INODE_OWNER(be64_to_cpu(rec->rmap.rm_owner)) || in xfs_rtrmapbt_init_high_key_from_rec()
151 XFS_RMAP_IS_BMBT_BLOCK(be64_to_cpu(rec->rmap.rm_offset))) in xfs_rtrmapbt_init_high_key_from_rec()
153 off = be64_to_cpu(key->rmap.rm_offset); in xfs_rtrmapbt_init_high_key_from_rec()
197 cmp_int(be64_to_cpu(kp->rm_owner), rec->rm_owner) ?: in xfs_rtrmapbt_cmp_key_with_cur()
198 cmp_int(offset_keymask(be64_to_cpu(kp->rm_offset)), in xfs_rtrmapbt_cmp_key_with_cur()
222 d = cmp_int(be64_to_cpu(kp1->rm_owner), in xfs_rtrmapbt_cmp_two_keys()
223 be64_to_cpu(kp2->rm_owner)); in xfs_rtrmapbt_cmp_two_keys()
232 d = cmp_int(offset_keymask(be64_to_cpu(kp1->rm_offset)), in xfs_rtrmapbt_cmp_two_keys()
233 offset_keymask(be64_to_cpu(kp2->rm_offset))); in xfs_rtrmapbt_cmp_two_keys()
324 a = be64_to_cpu(k1->rmap.rm_owner); in xfs_rtrmapbt_keys_inorder()
[all …]
H A Dxfs_inode_buf.c168 return xfs_inode_decode_bigtime(be64_to_cpu(ts)); in xfs_inode_from_disk_ts()
240 ip->i_disk_size = be64_to_cpu(from->di_size); in xfs_inode_from_disk()
241 ip->i_nblocks = be64_to_cpu(from->di_nblocks); in xfs_inode_from_disk()
252 be64_to_cpu(from->di_changecount)); in xfs_inode_from_disk()
254 ip->i_diflags2 = be64_to_cpu(from->di_flags2); in xfs_inode_from_disk()
399 be64_to_cpu(dip->di_size) <= fork_size && in xfs_dinode_verify_fork()
411 if (be64_to_cpu(dip->di_size) <= fork_size && in xfs_dinode_verify_fork()
422 if (be64_to_cpu(dip->di_size) > fork_size && in xfs_dinode_verify_fork()
613 if (be64_to_cpu(dip->di_ino) != ino) in xfs_dinode_verify()
637 di_size = be64_to_cpu(dip->di_size); in xfs_dinode_verify()
[all …]
H A Dxfs_bmap_btree.c101 return (xfs_filblks_t)(be64_to_cpu(r->l1) & xfs_mask64lo(21)); in xfs_bmbt_disk_get_blockcount()
111 return ((xfs_fileoff_t)be64_to_cpu(r->l0) & in xfs_bmbt_disk_get_startoff()
237 error = xfs_alloc_vextent_start_ag(&args, be64_to_cpu(start->l)); in xfs_bmbt_alloc_block()
377 return cmp_int(be64_to_cpu(key->bmbt.br_startoff), in xfs_bmbt_cmp_key_with_cur()
390 return cmp_int(be64_to_cpu(k1->bmbt.br_startoff), in xfs_bmbt_cmp_two_keys()
391 be64_to_cpu(k2->bmbt.br_startoff)); in xfs_bmbt_cmp_two_keys()
479 return be64_to_cpu(k1->bmbt.br_startoff) < in xfs_bmbt_keys_inorder()
480 be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_keys_inorder()
503 return xbtree_key_contig(be64_to_cpu(key1->bmbt.br_startoff), in xfs_bmbt_keys_contiguous()
504 be64_to_cpu(key2->bmbt.br_startoff)); in xfs_bmbt_keys_contiguous()
/linux/fs/omfs/
H A Dfile.c70 next = be64_to_cpu(oe->e_next); in omfs_shrink_inode()
76 start = be64_to_cpu(entry->e_cluster); in omfs_shrink_inode()
77 count = be64_to_cpu(entry->e_blocks); in omfs_shrink_inode()
145 new_block = be64_to_cpu(entry->e_cluster) + in omfs_grow_extent()
146 be64_to_cpu(entry->e_blocks); in omfs_grow_extent()
151 be64_to_cpu(~terminator->e_blocks) + 1)); in omfs_grow_extent()
176 be64_to_cpu(~terminator->e_blocks) + (u64) new_count)); in omfs_grow_extent()
198 be64_to_cpu(ent->e_blocks)); in find_block()
208 be64_to_cpu(ent->e_cluster)) + in find_block()
247 next = be64_to_cpu(oe->e_next); in omfs_get_block()
/linux/drivers/scsi/csiostor/
H A Dcsio_attr.c340 fhs->tx_frames += (be64_to_cpu(fcoe_port_stats.tx_bcast_frames) + in csio_get_stats()
341 be64_to_cpu(fcoe_port_stats.tx_mcast_frames) + in csio_get_stats()
342 be64_to_cpu(fcoe_port_stats.tx_ucast_frames) + in csio_get_stats()
343 be64_to_cpu(fcoe_port_stats.tx_offload_frames)); in csio_get_stats()
344 fhs->tx_words += (be64_to_cpu(fcoe_port_stats.tx_bcast_bytes) + in csio_get_stats()
345 be64_to_cpu(fcoe_port_stats.tx_mcast_bytes) + in csio_get_stats()
346 be64_to_cpu(fcoe_port_stats.tx_ucast_bytes) + in csio_get_stats()
347 be64_to_cpu(fcoe_port_stats.tx_offload_bytes)) / in csio_get_stats()
349 fhs->rx_frames += (be64_to_cpu(fcoe_port_stats.rx_bcast_frames) + in csio_get_stats()
350 be64_to_cpu(fcoe_port_stats.rx_mcast_frames) + in csio_get_stats()
[all …]
/linux/arch/powerpc/include/asm/
H A Dpgtable-be-types.h13 return be64_to_cpu(x.pte); in pte_val()
28 return be64_to_cpu(x.pmd); in pmd_val()
42 return be64_to_cpu(x.pud); in pud_val()
58 return be64_to_cpu(x.pgd); in pgd_val()
/linux/arch/powerpc/sysdev/xive/
H A Dnative.c63 opal_flags = be64_to_cpu(flags); in xive_native_populate_irq_data()
70 data->eoi_page = be64_to_cpu(eoi_page); in xive_native_populate_irq_data()
71 data->trig_page = be64_to_cpu(trig_page); in xive_native_populate_irq_data()
122 *target = be64_to_cpu(vp); in xive_native_get_irq_config()
161 q->eoi_phys = be64_to_cpu(qeoi_page_be); in xive_native_configure_queue()
424 vp_cam = be64_to_cpu(vp_cam_be); in xive_native_setup_cpu()
760 *out_cam_id = be64_to_cpu(vp_cam_be) & 0xffffffffu; in xive_native_get_vp_info()
801 *out_qpage = be64_to_cpu(qpage); in xive_native_get_queue_info()
803 *out_qsize = be64_to_cpu(qsize); in xive_native_get_queue_info()
805 *out_qeoi_page = be64_to_cpu(qeoi_page); in xive_native_get_queue_info()
[all …]
/linux/arch/powerpc/boot/
H A Dopal.c49 len = be64_to_cpu(olen); in opal_con_putc()
74 opal.base = be64_to_cpu(opal.base); in opal_init()
77 opal.entry = be64_to_cpu(opal.entry); in opal_init()
/linux/fs/gfs2/
H A Dglops.c399 if (unlikely(ip->i_no_addr != be64_to_cpu(str->di_num.no_addr))) { in gfs2_dinode_in()
407 ip->i_no_formal_ino = be64_to_cpu(str->di_num.no_formal_ino); in gfs2_dinode_in()
423 i_size_write(inode, be64_to_cpu(str->di_size)); in gfs2_dinode_in()
424 gfs2_set_inode_blocks(inode, be64_to_cpu(str->di_blocks)); in gfs2_dinode_in()
425 atime.tv_sec = be64_to_cpu(str->di_atime); in gfs2_dinode_in()
430 inode_set_mtime(inode, be64_to_cpu(str->di_mtime), in gfs2_dinode_in()
432 inode_set_ctime(inode, be64_to_cpu(str->di_ctime), in gfs2_dinode_in()
435 ip->i_goal = be64_to_cpu(str->di_goal_meta); in gfs2_dinode_in()
436 ip->i_generation = be64_to_cpu(str->di_generation); in gfs2_dinode_in()
439 ip->i_eattr = be64_to_cpu(str->di_eattr); in gfs2_dinode_in()
/linux/net/rds/
H A Dthreads.c280 if (be64_to_cpu(*a1) < be64_to_cpu(*a2)) in rds_addr_cmp()
285 x = be64_to_cpu(*++a1); in rds_addr_cmp()
286 y = be64_to_cpu(*++a2); in rds_addr_cmp()
/linux/lib/crypto/
H A Dgf128mul.c142 u64 a = be64_to_cpu(x->a); in gf128mul_x8_lle()
143 u64 b = be64_to_cpu(x->b); in gf128mul_x8_lle()
153 u64 a = be64_to_cpu(x->a); in gf128mul_x8_lle_ti()
154 u64 b = be64_to_cpu(x->b); in gf128mul_x8_lle_ti()
163 u64 a = be64_to_cpu(x->a); in gf128mul_x8_bbe()
164 u64 b = be64_to_cpu(x->b); in gf128mul_x8_bbe()
/linux/fs/xfs/
H A Dxfs_buf_item_recover.c844 lsn = be64_to_cpu(hdr->rt_lsn); in xlog_recover_get_buf_lsn()
860 lsn = be64_to_cpu(btb->bb_u.s.bb_lsn); in xlog_recover_get_buf_lsn()
870 lsn = be64_to_cpu(btb->bb_u.l.bb_lsn); in xlog_recover_get_buf_lsn()
875 lsn = be64_to_cpu(((struct xfs_agf *)blk)->agf_lsn); in xlog_recover_get_buf_lsn()
879 lsn = be64_to_cpu(((struct xfs_agfl *)blk)->agfl_lsn); in xlog_recover_get_buf_lsn()
883 lsn = be64_to_cpu(((struct xfs_agi *)blk)->agi_lsn); in xlog_recover_get_buf_lsn()
887 lsn = be64_to_cpu(((struct xfs_dsymlink_hdr *)blk)->sl_lsn); in xlog_recover_get_buf_lsn()
893 lsn = be64_to_cpu(((struct xfs_dir3_blk_hdr *)blk)->lsn); in xlog_recover_get_buf_lsn()
913 lsn = be64_to_cpu(((struct xfs_dsb *)blk)->sb_lsn); in xlog_recover_get_buf_lsn()
935 lsn = be64_to_cpu(((struct xfs_da3_blkinfo *)blk)->lsn); in xlog_recover_get_buf_lsn()

12345678910>>...12