/linux-4.4.14/block/partitions/ |
H A D | amiga.c | 24 sum += be32_to_cpu(*m++); checksum_block() 54 if (checksum_block((__be32 *)data, be32_to_cpu(rdb->rdb_SummedLongs) & 0x7F) == 0) amiga_partition() 61 be32_to_cpu(rdb->rdb_SummedLongs) & 0x7F)==0) { amiga_partition() 72 blksize = be32_to_cpu( rdb->rdb_BlockBytes ) / 512; amiga_partition() 81 blk = be32_to_cpu(rdb->rdb_PartitionList); amiga_partition() 94 blk = be32_to_cpu(pb->pb_Next); amiga_partition() 97 if (checksum_block((__be32 *)pb, be32_to_cpu(pb->pb_SummedLongs) & 0x7F) != 0 ) amiga_partition() 102 nr_sects = (be32_to_cpu(pb->pb_Environment[10]) + 1 - amiga_partition() 103 be32_to_cpu(pb->pb_Environment[9])) * amiga_partition() 104 be32_to_cpu(pb->pb_Environment[3]) * amiga_partition() 105 be32_to_cpu(pb->pb_Environment[5]) * amiga_partition() 109 start_sect = be32_to_cpu(pb->pb_Environment[9]) * amiga_partition() 110 be32_to_cpu(pb->pb_Environment[3]) * amiga_partition() 111 be32_to_cpu(pb->pb_Environment[5]) * amiga_partition() 131 be32_to_cpu(pb->pb_Environment[6]), amiga_partition() 132 be32_to_cpu(pb->pb_Environment[4])); amiga_partition()
|
H A D | atari.c | 23 be32_to_cpu((pi)->st) <= (hdsiz) && \ 24 be32_to_cpu((pi)->st) + be32_to_cpu((pi)->siz) <= (hdsiz)) 76 put_partition (state, slot, be32_to_cpu(pi->st), atari_partition() 77 be32_to_cpu(pi->siz)); atari_partition() 85 partsect = extensect = be32_to_cpu(pi->st); atari_partition() 102 partsect + be32_to_cpu(xrs->part[0].st), atari_partition() 103 be32_to_cpu(xrs->part[0].siz)); atari_partition() 116 partsect = be32_to_cpu(xrs->part[1].st) + extensect; atari_partition() 137 be32_to_cpu(pi->st), atari_partition() 138 be32_to_cpu(pi->siz)); atari_partition()
|
H A D | sgi.c | 47 if(be32_to_cpu(magic) != SGI_LABEL_MAGIC) { sgi_partition() 49 bdevname(bdev, b), be32_to_cpu(magic));*/ sgi_partition() 56 csum += be32_to_cpu(cs); sgi_partition() 70 blocks = be32_to_cpu(p->num_blocks); sgi_partition() 71 start = be32_to_cpu(p->first_block); sgi_partition() 74 if (be32_to_cpu(p->type) == LINUX_RAID_PARTITION) sgi_partition()
|
H A D | sysv68.c | 69 i = be32_to_cpu(b->dk_ios.ios_slcblk); sysv68_partition() 83 if (be32_to_cpu(slice->nblocks)) { sysv68_partition() 85 be32_to_cpu(slice->blkoff), sysv68_partition() 86 be32_to_cpu(slice->nblocks)); sysv68_partition()
|
H A D | mac.c | 65 blocks_in_map = be32_to_cpu(part->map_count); mac_partition() 85 be32_to_cpu(part->start_block) * (secsize/512), mac_partition() 86 be32_to_cpu(part->block_count) * (secsize/512)); mac_partition() 102 if ((be32_to_cpu(part->status) & MAC_STATUS_BOOTABLE) mac_partition()
|
H A D | sun.c | 87 use_vtoc = ((be32_to_cpu(label->vtoc.sanity) == SUN_VTOC_SANITY) && sun_partition() 88 (be32_to_cpu(label->vtoc.version) == 1) && sun_partition() 105 st_sector = be32_to_cpu(p->start_cylinder) * spc; sun_partition() 106 num_sectors = be32_to_cpu(p->num_sectors); sun_partition()
|
H A D | aix.c | 202 vgda_len = be32_to_cpu(p->vgda_len); aix_partition() 203 vgda_sector = be32_to_cpu(p->vgda_psn[0]); aix_partition() 240 int psn_part1 = be32_to_cpu(pvd->psn_part1); aix_partition()
|
/linux-4.4.14/include/linux/ |
H A D | libfdt_env.h | 12 #define fdt32_to_cpu(x) be32_to_cpu(x)
|
H A D | virtio_byteorder.h | 36 return be32_to_cpu((__force __be32)val); __virtio32_to_cpu()
|
/linux-4.4.14/drivers/infiniband/core/ |
H A D | cm_msgs.h | 112 return cpu_to_be32(be32_to_cpu(req_msg->offset32) >> 8); cm_req_get_local_qpn() 117 req_msg->offset32 = cpu_to_be32((be32_to_cpu(qpn) << 8) | cm_req_set_local_qpn() 118 (be32_to_cpu(req_msg->offset32) & cm_req_set_local_qpn() 124 return (u8) be32_to_cpu(req_msg->offset32); cm_req_get_resp_res() 130 (be32_to_cpu(req_msg->offset32) & cm_req_set_resp_res() 136 return (u8) be32_to_cpu(req_msg->offset36); cm_req_get_init_depth() 143 (be32_to_cpu(req_msg->offset36) & cm_req_set_init_depth() 149 return (u8) ((be32_to_cpu(req_msg->offset40) & 0xF8) >> 3); cm_req_get_remote_resp_timeout() 156 (be32_to_cpu(req_msg->offset40) & cm_req_set_remote_resp_timeout() 162 u8 transport_type = (u8) (be32_to_cpu(req_msg->offset40) & 0x06) >> 1; cm_req_get_qp_type() 180 req_msg->offset40 = cpu_to_be32((be32_to_cpu( cm_req_set_qp_type() 185 req_msg->offset40 = cpu_to_be32((be32_to_cpu( cm_req_set_qp_type() 191 req_msg->offset40 = cpu_to_be32(be32_to_cpu( cm_req_set_qp_type() 199 return be32_to_cpu(req_msg->offset40) & 0x1; cm_req_get_flow_ctrl() 206 (be32_to_cpu(req_msg->offset40) & cm_req_set_flow_ctrl() 212 return cpu_to_be32(be32_to_cpu(req_msg->offset44) >> 8); cm_req_get_starting_psn() 218 req_msg->offset44 = cpu_to_be32((be32_to_cpu(starting_psn) << 8) | cm_req_set_starting_psn() 219 (be32_to_cpu(req_msg->offset44) & 0x000000FF)); cm_req_set_starting_psn() 224 return (u8) ((be32_to_cpu(req_msg->offset44) & 0xF8) >> 3); cm_req_get_local_resp_timeout() 231 (be32_to_cpu(req_msg->offset44) & 0xFFFFFF07)); cm_req_set_local_resp_timeout() 236 return (u8) (be32_to_cpu(req_msg->offset44) & 0x7); cm_req_get_retry_count() 243 (be32_to_cpu(req_msg->offset44) & 0xFFFFFFF8)); cm_req_set_retry_count() 292 return cpu_to_be32(be32_to_cpu(req_msg->primary_offset88) >> 12); cm_req_get_primary_flow_label() 299 (be32_to_cpu(req_msg->primary_offset88) & cm_req_set_primary_flow_label() 301 (be32_to_cpu(flow_label) << 12)); cm_req_set_primary_flow_label() 306 return (u8) (be32_to_cpu(req_msg->primary_offset88) & 0x3F); cm_req_get_primary_packet_rate() 313 (be32_to_cpu(req_msg->primary_offset88) & cm_req_set_primary_packet_rate() 354 return cpu_to_be32(be32_to_cpu(req_msg->alt_offset132) >> 12); cm_req_get_alt_flow_label() 361 (be32_to_cpu(req_msg->alt_offset132) & cm_req_set_alt_flow_label() 363 (be32_to_cpu(flow_label) << 12)); cm_req_set_alt_flow_label() 368 return (u8) (be32_to_cpu(req_msg->alt_offset132) & 0x3F); cm_req_get_alt_packet_rate() 375 (be32_to_cpu(req_msg->alt_offset132) & cm_req_set_alt_packet_rate() 520 return cpu_to_be32(be32_to_cpu(rep_msg->offset12) >> 8); cm_rep_get_local_qpn() 525 rep_msg->offset12 = cpu_to_be32((be32_to_cpu(qpn) << 8) | cm_rep_set_local_qpn() 526 (be32_to_cpu(rep_msg->offset12) & 0x000000FF)); cm_rep_set_local_qpn() 531 return cpu_to_be32(be32_to_cpu(rep_msg->offset16) >> 8); cm_rep_get_local_eecn() 536 rep_msg->offset16 = cpu_to_be32((be32_to_cpu(eecn) << 8) | cm_rep_set_local_eecn() 537 (be32_to_cpu(rep_msg->offset16) & 0x000000FF)); cm_rep_set_local_eecn() 548 return cpu_to_be32(be32_to_cpu(rep_msg->offset20) >> 8); cm_rep_get_starting_psn() 554 rep_msg->offset20 = cpu_to_be32((be32_to_cpu(starting_psn) << 8) | cm_rep_set_starting_psn() 555 (be32_to_cpu(rep_msg->offset20) & 0x000000FF)); cm_rep_set_starting_psn() 640 return cpu_to_be32(be32_to_cpu(dreq_msg->offset8) >> 8); cm_dreq_get_remote_qpn() 645 dreq_msg->offset8 = cpu_to_be32((be32_to_cpu(qpn) << 8) | cm_dreq_set_remote_qpn() 646 (be32_to_cpu(dreq_msg->offset8) & 0x000000FF)); cm_dreq_set_remote_qpn() 689 return cpu_to_be32(be32_to_cpu(lap_msg->offset12) >> 8); cm_lap_get_remote_qpn() 694 lap_msg->offset12 = cpu_to_be32((be32_to_cpu(qpn) << 8) | cm_lap_set_remote_qpn() 695 (be32_to_cpu(lap_msg->offset12) & cm_lap_set_remote_qpn() 701 return (u8) ((be32_to_cpu(lap_msg->offset12) & 0xF8) >> 3); cm_lap_get_remote_resp_timeout() 708 (be32_to_cpu(lap_msg->offset12) & cm_lap_set_remote_resp_timeout() 714 return cpu_to_be32(be32_to_cpu(lap_msg->offset56) >> 12); cm_lap_get_flow_label() 721 (be32_to_cpu(lap_msg->offset56) & 0x00000FFF) | cm_lap_set_flow_label() 722 (be32_to_cpu(flow_label) << 12)); cm_lap_set_flow_label() 727 return (u8) be32_to_cpu(lap_msg->offset56); cm_lap_get_traffic_class() 734 (be32_to_cpu(lap_msg->offset56) & cm_lap_set_traffic_class() 825 return cpu_to_be32(be32_to_cpu(sidr_rep_msg->offset8) >> 8); cm_sidr_rep_get_qpn() 831 sidr_rep_msg->offset8 = cpu_to_be32((be32_to_cpu(qpn) << 8) | cm_sidr_rep_set_qpn() 832 (be32_to_cpu(sidr_rep_msg->offset8) & cm_sidr_rep_set_qpn()
|
/linux-4.4.14/fs/xfs/libxfs/ |
H A D | xfs_alloc_btree.c | 53 xfs_agnumber_t seqno = be32_to_cpu(agf->agf_seqno); xfs_allocbt_set_root() 118 xfs_extent_busy_insert(cur->bc_tp, be32_to_cpu(agf->agf_seqno), bno, 1, xfs_allocbt_free_block() 138 xfs_agnumber_t seqno = be32_to_cpu(agf->agf_seqno); xfs_allocbt_update_lastrec() 156 if (be32_to_cpu(rec->alloc.ar_blockcount) <= xfs_allocbt_update_lastrec() 157 be32_to_cpu(agf->agf_longest)) xfs_allocbt_update_lastrec() 184 pag->pagf_longest = be32_to_cpu(len); xfs_allocbt_update_lastrec() 245 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agf->agf_seqno)); xfs_allocbt_init_ptr_from_cur() 261 return (__int64_t)be32_to_cpu(kp->ar_startblock) - xfs_allocbt_key_diff() 265 diff = (__int64_t)be32_to_cpu(kp->ar_blockcount) - rec->ar_blockcount; xfs_allocbt_key_diff() 269 return (__int64_t)be32_to_cpu(kp->ar_startblock) - rec->ar_startblock; xfs_allocbt_key_diff() 303 be32_to_cpu(block->bb_u.s.bb_owner) != pag->pag_agno) xfs_allocbt_verify() 321 be32_to_cpu(block->bb_u.s.bb_owner) != pag->pag_agno) xfs_allocbt_verify() 341 (be32_to_cpu(block->bb_u.s.bb_leftsib) >= mp->m_sb.sb_agblocks && xfs_allocbt_verify() 345 (be32_to_cpu(block->bb_u.s.bb_rightsib) >= mp->m_sb.sb_agblocks && xfs_allocbt_verify() 396 return be32_to_cpu(k1->alloc.ar_startblock) < xfs_allocbt_keys_inorder() 397 be32_to_cpu(k2->alloc.ar_startblock); xfs_allocbt_keys_inorder() 399 return be32_to_cpu(k1->alloc.ar_blockcount) < xfs_allocbt_keys_inorder() 400 be32_to_cpu(k2->alloc.ar_blockcount) || xfs_allocbt_keys_inorder() 402 be32_to_cpu(k1->alloc.ar_startblock) < xfs_allocbt_keys_inorder() 403 be32_to_cpu(k2->alloc.ar_startblock)); xfs_allocbt_keys_inorder() 414 return be32_to_cpu(r1->alloc.ar_startblock) + xfs_allocbt_recs_inorder() 415 be32_to_cpu(r1->alloc.ar_blockcount) <= xfs_allocbt_recs_inorder() 416 be32_to_cpu(r2->alloc.ar_startblock); xfs_allocbt_recs_inorder() 418 return be32_to_cpu(r1->alloc.ar_blockcount) < xfs_allocbt_recs_inorder() 419 be32_to_cpu(r2->alloc.ar_blockcount) || xfs_allocbt_recs_inorder() 421 be32_to_cpu(r1->alloc.ar_startblock) < xfs_allocbt_recs_inorder() 422 be32_to_cpu(r2->alloc.ar_startblock)); xfs_allocbt_recs_inorder() 475 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]); xfs_allocbt_init_cursor() 478 cur->bc_nlevels = be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNO]); xfs_allocbt_init_cursor()
|
H A D | xfs_inode_buf.c | 207 to->di_uid = be32_to_cpu(from->di_uid); xfs_dinode_from_disk() 208 to->di_gid = be32_to_cpu(from->di_gid); xfs_dinode_from_disk() 209 to->di_nlink = be32_to_cpu(from->di_nlink); xfs_dinode_from_disk() 214 to->di_atime.t_sec = be32_to_cpu(from->di_atime.t_sec); xfs_dinode_from_disk() 215 to->di_atime.t_nsec = be32_to_cpu(from->di_atime.t_nsec); xfs_dinode_from_disk() 216 to->di_mtime.t_sec = be32_to_cpu(from->di_mtime.t_sec); xfs_dinode_from_disk() 217 to->di_mtime.t_nsec = be32_to_cpu(from->di_mtime.t_nsec); xfs_dinode_from_disk() 218 to->di_ctime.t_sec = be32_to_cpu(from->di_ctime.t_sec); xfs_dinode_from_disk() 219 to->di_ctime.t_nsec = be32_to_cpu(from->di_ctime.t_nsec); xfs_dinode_from_disk() 222 to->di_extsize = be32_to_cpu(from->di_extsize); xfs_dinode_from_disk() 223 to->di_nextents = be32_to_cpu(from->di_nextents); xfs_dinode_from_disk() 227 to->di_dmevmask = be32_to_cpu(from->di_dmevmask); xfs_dinode_from_disk() 230 to->di_gen = be32_to_cpu(from->di_gen); xfs_dinode_from_disk() 234 to->di_crtime.t_sec = be32_to_cpu(from->di_crtime.t_sec); xfs_dinode_from_disk() 235 to->di_crtime.t_nsec = be32_to_cpu(from->di_crtime.t_nsec); xfs_dinode_from_disk() 422 ip->i_d.di_gen = be32_to_cpu(dip->di_gen); xfs_iread()
|
H A D | xfs_dir2_block.c | 219 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * xfs_dir2_block_need_space() 222 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) xfs_dir2_block_need_space() 299 fromidx = toidx = be32_to_cpu(btp->count) - 1; xfs_dir2_block_compact() 315 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); xfs_dir2_block_compact() 316 *lfloghigh -= be32_to_cpu(btp->stale) - 1; xfs_dir2_block_compact() 317 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); xfs_dir2_block_compact() 320 (xfs_dir2_data_aoff_t)((be32_to_cpu(btp->stale) - 1) * sizeof(*blp)), xfs_dir2_block_compact() 430 lfloglow = be32_to_cpu(btp->count); xfs_dir2_block_addname() 437 for (low = 0, high = be32_to_cpu(btp->count) - 1; low <= high; ) { xfs_dir2_block_addname() 439 if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval) xfs_dir2_block_addname() 446 while (mid >= 0 && be32_to_cpu(blp[mid].hashval) >= args->hashval) { xfs_dir2_block_addname() 497 highstale < be32_to_cpu(btp->count) && xfs_dir2_block_addname() 507 (highstale == be32_to_cpu(btp->count) || xfs_dir2_block_addname() 519 ASSERT(highstale < be32_to_cpu(btp->count)); xfs_dir2_block_addname() 639 be32_to_cpu(blp[ent].address))); xfs_dir2_block_lookup() 691 for (low = 0, high = be32_to_cpu(btp->count) - 1; ; ) { xfs_dir2_block_lookup_int() 694 if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval) xfs_dir2_block_lookup_int() 709 while (mid > 0 && be32_to_cpu(blp[mid - 1].hashval) == args->hashval) { xfs_dir2_block_lookup_int() 717 if ((addr = be32_to_cpu(blp[mid].address)) == XFS_DIR2_NULL_DATAPTR) xfs_dir2_block_lookup_int() 737 } while (++mid < be32_to_cpu(btp->count) && xfs_dir2_block_lookup_int() 738 be32_to_cpu(blp[mid].hashval) == hash); xfs_dir2_block_lookup_int() 795 be32_to_cpu(blp[ent].address))); xfs_dir2_block_removename() 869 be32_to_cpu(blp[ent].address))); xfs_dir2_block_replace() 894 return be32_to_cpu(la->hashval) < be32_to_cpu(lb->hashval) ? -1 : xfs_dir2_block_sort() 895 (be32_to_cpu(la->hashval) > be32_to_cpu(lb->hashval) ? 1 : 0); xfs_dir2_block_sort() 951 if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) == xfs_dir2_leaf_to_block() 955 (xfs_dir2_db_t)(be32_to_cpu(ltp->bestcount) - 1)))) xfs_dir2_leaf_to_block() 1017 ASSERT(to == be32_to_cpu(btp->count)); xfs_dir2_leaf_to_block() 1018 xfs_dir2_block_log_leaf(tp, dbp, 0, be32_to_cpu(btp->count) - 1); xfs_dir2_leaf_to_block() 1248 xfs_sort(blp, be32_to_cpu(btp->count), sizeof(*blp), xfs_dir2_block_sort); xfs_dir2_sf_to_block() 1254 xfs_dir2_block_log_leaf(tp, bp, 0, be32_to_cpu(btp->count) - 1); xfs_dir2_sf_to_block()
|
H A D | xfs_ialloc_btree.c | 92 xfs_agblock_t sbno = be32_to_cpu(start->s); xfs_inobt_alloc_block() 193 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); xfs_inobt_init_ptr_from_cur() 205 ASSERT(cur->bc_private.a.agno == be32_to_cpu(agi->agi_seqno)); xfs_finobt_init_ptr_from_cur() 214 return (__int64_t)be32_to_cpu(key->inobt.ir_startino) - xfs_inobt_key_diff() 247 be32_to_cpu(block->bb_u.s.bb_owner) != pag->pag_agno) xfs_inobt_verify() 266 (be32_to_cpu(block->bb_u.s.bb_leftsib) >= mp->m_sb.sb_agblocks && xfs_inobt_verify() 270 (be32_to_cpu(block->bb_u.s.bb_rightsib) >= mp->m_sb.sb_agblocks && xfs_inobt_verify() 319 return be32_to_cpu(k1->inobt.ir_startino) < xfs_inobt_keys_inorder() 320 be32_to_cpu(k2->inobt.ir_startino); xfs_inobt_keys_inorder() 329 return be32_to_cpu(r1->inobt.ir_startino) + XFS_INODES_PER_CHUNK <= xfs_inobt_recs_inorder() 330 be32_to_cpu(r2->inobt.ir_startino); xfs_inobt_recs_inorder() 398 cur->bc_nlevels = be32_to_cpu(agi->agi_level); xfs_inobt_init_cursor() 401 cur->bc_nlevels = be32_to_cpu(agi->agi_free_level); xfs_inobt_init_cursor()
|
H A D | xfs_da_format.c | 457 to->forw = be32_to_cpu(from->hdr.info.forw); xfs_dir2_leaf_hdr_from_disk() 458 to->back = be32_to_cpu(from->hdr.info.back); xfs_dir2_leaf_hdr_from_disk() 489 to->forw = be32_to_cpu(hdr3->info.hdr.forw); xfs_dir3_leaf_hdr_from_disk() 490 to->back = be32_to_cpu(hdr3->info.hdr.back); xfs_dir3_leaf_hdr_from_disk() 538 to->forw = be32_to_cpu(from->hdr.info.forw); xfs_da2_node_hdr_from_disk() 539 to->back = be32_to_cpu(from->hdr.info.back); xfs_da2_node_hdr_from_disk() 566 to->forw = be32_to_cpu(hdr3->info.hdr.forw); xfs_da3_node_hdr_from_disk() 567 to->back = be32_to_cpu(hdr3->info.hdr.back); xfs_da3_node_hdr_from_disk() 661 to->magic = be32_to_cpu(from->hdr.magic); xfs_dir2_free_hdr_from_disk() 662 to->firstdb = be32_to_cpu(from->hdr.firstdb); xfs_dir2_free_hdr_from_disk() 663 to->nvalid = be32_to_cpu(from->hdr.nvalid); xfs_dir2_free_hdr_from_disk() 664 to->nused = be32_to_cpu(from->hdr.nused); xfs_dir2_free_hdr_from_disk() 688 to->magic = be32_to_cpu(hdr3->hdr.magic); xfs_dir3_free_hdr_from_disk() 689 to->firstdb = be32_to_cpu(hdr3->firstdb); xfs_dir3_free_hdr_from_disk() 690 to->nvalid = be32_to_cpu(hdr3->nvalid); xfs_dir3_free_hdr_from_disk() 691 to->nused = be32_to_cpu(hdr3->nused); xfs_dir3_free_hdr_from_disk()
|
H A D | xfs_symlink_remote.c | 90 if (offset != be32_to_cpu(dsl->sl_offset)) xfs_symlink_hdr_ok() 92 if (size != be32_to_cpu(dsl->sl_bytes)) xfs_symlink_hdr_ok() 116 if (be32_to_cpu(dsl->sl_offset) + xfs_symlink_verify() 117 be32_to_cpu(dsl->sl_bytes) >= MAXPATHLEN) xfs_symlink_verify()
|
H A D | xfs_dquot_buf.c | 102 if (id != -1 && id != be32_to_cpu(ddq->d_id)) { xfs_dqcheck() 107 str, ddq, id, be32_to_cpu(ddq->d_id)); xfs_dqcheck() 119 str, (int)be32_to_cpu(ddq->d_id), ddq); xfs_dqcheck() 130 str, (int)be32_to_cpu(ddq->d_id), ddq); xfs_dqcheck() 141 str, (int)be32_to_cpu(ddq->d_id), ddq); xfs_dqcheck() 242 id = be32_to_cpu(ddq->d_id); xfs_dquot_buf_verify()
|
H A D | xfs_da_btree.c | 472 if (be32_to_cpu(node->hdr.info.forw) == addblk->blkno) { xfs_da3_split() 486 if (be32_to_cpu(node->hdr.info.back) == addblk->blkno) { xfs_da3_split() 770 ((be32_to_cpu(btree2[0].hashval) < be32_to_cpu(btree1[0].hashval)) || xfs_da3_node_rebalance() 771 (be32_to_cpu(btree2[nodehdr2.count - 1].hashval) < xfs_da3_node_rebalance() 772 be32_to_cpu(btree1[nodehdr1.count - 1].hashval)))) { xfs_da3_node_rebalance() 863 blk1->hashval = be32_to_cpu(btree1[nodehdr1.count - 1].hashval); xfs_da3_node_rebalance() 864 blk2->hashval = be32_to_cpu(btree2[nodehdr2.count - 1].hashval); xfs_da3_node_rebalance() 924 oldblk->hashval = be32_to_cpu(btree[nodehdr.count - 1].hashval); xfs_da3_node_add() 1079 child = be32_to_cpu(btree[0].before); xfs_da3_root_join() 1255 return be32_to_cpu(btree[nodehdr.count - 1].hashval); xfs_da3_node_lasthash() 1302 if (be32_to_cpu(btree[blk->index].hashval) == lasthash) xfs_da3_fixhashpath() 1310 lasthash = be32_to_cpu(btree[nodehdr.count - 1].hashval); xfs_da3_fixhashpath() 1360 drop_blk->hashval = be32_to_cpu(btree[index - 1].hashval); xfs_da3_node_remove() 1398 if ((be32_to_cpu(drop_btree[0].hashval) < xfs_da3_node_unbalance() 1399 be32_to_cpu(save_btree[0].hashval)) || xfs_da3_node_unbalance() 1400 (be32_to_cpu(drop_btree[drop_hdr.count - 1].hashval) < xfs_da3_node_unbalance() 1401 be32_to_cpu(save_btree[save_hdr.count - 1].hashval))) { xfs_da3_node_unbalance() 1433 save_blk->hashval = be32_to_cpu(save_btree[save_hdr.count - 1].hashval); xfs_da3_node_unbalance() 1522 blk->hashval = be32_to_cpu(btree[max - 1].hashval); xfs_da3_node_lookup_int() 1531 btreehashval = be32_to_cpu(btree[probe].hashval); xfs_da3_node_lookup_int() 1541 (be32_to_cpu(btree[probe].hashval) == hashval)); xfs_da3_node_lookup_int() 1548 be32_to_cpu(btree[probe].hashval) >= hashval) { xfs_da3_node_lookup_int() 1552 be32_to_cpu(btree[probe].hashval) < hashval) { xfs_da3_node_lookup_int() 1561 blkno = be32_to_cpu(btree[max - 1].before); xfs_da3_node_lookup_int() 1564 blkno = be32_to_cpu(btree[probe].before); xfs_da3_node_lookup_int() 1633 ((be32_to_cpu(btree2[0].hashval) < be32_to_cpu(btree1[0].hashval)) || xfs_da3_node_order() 1634 (be32_to_cpu(btree2[node2hdr.count - 1].hashval) < xfs_da3_node_order() 1635 be32_to_cpu(btree1[node1hdr.count - 1].hashval)))) { xfs_da3_node_order() 1694 be32_to_cpu(old_info->back), xfs_da3_blk_link() 1701 ASSERT(be32_to_cpu(tmp_info->forw) == old_blk->blkno); xfs_da3_blk_link() 1715 be32_to_cpu(old_info->forw), xfs_da3_blk_link() 1722 ASSERT(be32_to_cpu(tmp_info->back) == old_blk->blkno); xfs_da3_blk_link() 1761 ASSERT((be32_to_cpu(save_info->forw) == drop_blk->blkno) || xfs_da3_blk_unlink() 1762 (be32_to_cpu(save_info->back) == drop_blk->blkno)); xfs_da3_blk_unlink() 1763 ASSERT((be32_to_cpu(drop_info->forw) == save_blk->blkno) || xfs_da3_blk_unlink() 1764 (be32_to_cpu(drop_info->back) == save_blk->blkno)); xfs_da3_blk_unlink() 1769 if (be32_to_cpu(save_info->back) == drop_blk->blkno) { xfs_da3_blk_unlink() 1774 be32_to_cpu(drop_info->back), xfs_da3_blk_unlink() 1781 ASSERT(be32_to_cpu(tmp_info->forw) == drop_blk->blkno); xfs_da3_blk_unlink() 1791 be32_to_cpu(drop_info->forw), xfs_da3_blk_unlink() 1798 ASSERT(be32_to_cpu(tmp_info->back) == drop_blk->blkno); xfs_da3_blk_unlink() 1856 blkno = be32_to_cpu(btree[blk->index].before); xfs_da3_path_shift() 1860 blkno = be32_to_cpu(btree[blk->index].before); xfs_da3_path_shift() 1914 blk->hashval = be32_to_cpu(btree[nodehdr.count - 1].hashval); xfs_da3_path_shift() 1919 blkno = be32_to_cpu(btree[blk->index].before); xfs_da3_path_shift() 2195 dead_hash = be32_to_cpu(ents[leafhdr.count - 1].hashval); xfs_da3_swap_lastblock() 2203 dead_hash = be32_to_cpu(btree[deadhdr.count - 1].hashval); xfs_da3_swap_lastblock() 2209 if ((sib_blkno = be32_to_cpu(dead_info->back))) { xfs_da3_swap_lastblock() 2215 be32_to_cpu(sib_info->forw) != last_blkno || xfs_da3_swap_lastblock() 2231 if ((sib_blkno = be32_to_cpu(dead_info->forw))) { xfs_da3_swap_lastblock() 2237 be32_to_cpu(sib_info->back) != last_blkno || xfs_da3_swap_lastblock() 2271 be32_to_cpu(btree[entno].hashval) < dead_hash; xfs_da3_swap_lastblock() 2280 par_blkno = be32_to_cpu(btree[entno].before); xfs_da3_swap_lastblock() 2293 be32_to_cpu(btree[entno].before) != last_blkno; xfs_da3_swap_lastblock()
|
H A D | xfs_alloc.c | 132 *bno = be32_to_cpu(rec->alloc.ar_startblock); xfs_alloc_get_rec() 133 *len = be32_to_cpu(rec->alloc.ar_blockcount); xfs_alloc_get_rec() 299 diff = be32_to_cpu(agf->agf_freeblks) xfs_alloc_fix_minleft() 469 if (be32_to_cpu(agfl->agfl_magicnum) != XFS_AGFL_MAGIC) xfs_agfl_verify() 477 if (bp->b_pag && be32_to_cpu(agfl->agfl_seqno) != bp->b_pag->pag_agno) xfs_agfl_verify() 481 if (be32_to_cpu(agfl->agfl_bno[i]) != NULLAGBLOCK && xfs_agfl_verify() 482 be32_to_cpu(agfl->agfl_bno[i]) >= mp->m_sb.sb_agblocks) xfs_agfl_verify() 581 if (unlikely(be32_to_cpu(agf->agf_freeblks) > xfs_alloc_update_counters() 582 be32_to_cpu(agf->agf_length))) xfs_alloc_update_counters() 748 be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length)); xfs_alloc_ag_vextent_exact() 1042 ASSERT(ltbno + ltlen <= be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length)); xfs_alloc_ag_vextent_near() 1252 ASSERT(ltnew + rlen <= be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length)); xfs_alloc_ag_vextent_near() 1467 be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length), xfs_alloc_ag_vextent_size() 1518 (be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_flcount) xfs_alloc_ag_vextent_small() 1538 be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length), xfs_alloc_ag_vextent_small() 2107 error = xfs_alloc_read_agfl(mp, tp, be32_to_cpu(agf->agf_seqno), xfs_alloc_get_freelist() 2117 bno = be32_to_cpu(agfl_bno[be32_to_cpu(agf->agf_flfirst)]); xfs_alloc_get_freelist() 2120 if (be32_to_cpu(agf->agf_flfirst) == XFS_AGFL_SIZE(mp)) xfs_alloc_get_freelist() 2123 pag = xfs_perag_get(mp, be32_to_cpu(agf->agf_seqno)); xfs_alloc_get_freelist() 2222 be32_to_cpu(agf->agf_seqno), &agflbp))) xfs_alloc_put_freelist() 2225 if (be32_to_cpu(agf->agf_fllast) == XFS_AGFL_SIZE(mp)) xfs_alloc_put_freelist() 2228 pag = xfs_perag_get(mp, be32_to_cpu(agf->agf_seqno)); xfs_alloc_put_freelist() 2243 ASSERT(be32_to_cpu(agf->agf_flcount) <= XFS_AGFL_SIZE(mp)); xfs_alloc_put_freelist() 2246 blockp = &agfl_bno[be32_to_cpu(agf->agf_fllast)]; xfs_alloc_put_freelist() 2274 XFS_AGF_GOOD_VERSION(be32_to_cpu(agf->agf_versionnum)) && xfs_agf_verify() 2275 be32_to_cpu(agf->agf_freeblks) <= be32_to_cpu(agf->agf_length) && xfs_agf_verify() 2276 be32_to_cpu(agf->agf_flfirst) < XFS_AGFL_SIZE(mp) && xfs_agf_verify() 2277 be32_to_cpu(agf->agf_fllast) < XFS_AGFL_SIZE(mp) && xfs_agf_verify() 2278 be32_to_cpu(agf->agf_flcount) <= XFS_AGFL_SIZE(mp))) xfs_agf_verify() 2281 if (be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNO]) > XFS_BTREE_MAXLEVELS || xfs_agf_verify() 2282 be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]) > XFS_BTREE_MAXLEVELS) xfs_agf_verify() 2291 if (bp->b_pag && be32_to_cpu(agf->agf_seqno) != bp->b_pag->pag_agno) xfs_agf_verify() 2295 be32_to_cpu(agf->agf_btreeblks) > be32_to_cpu(agf->agf_length)) xfs_agf_verify() 2408 pag->pagf_freeblks = be32_to_cpu(agf->agf_freeblks); xfs_alloc_read_agf() 2409 pag->pagf_btreeblks = be32_to_cpu(agf->agf_btreeblks); xfs_alloc_read_agf() 2410 pag->pagf_flcount = be32_to_cpu(agf->agf_flcount); xfs_alloc_read_agf() 2411 pag->pagf_longest = be32_to_cpu(agf->agf_longest); xfs_alloc_read_agf() 2413 be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNOi]); xfs_alloc_read_agf() 2415 be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNTi]); xfs_alloc_read_agf() 2423 ASSERT(pag->pagf_freeblks == be32_to_cpu(agf->agf_freeblks)); xfs_alloc_read_agf() 2424 ASSERT(pag->pagf_btreeblks == be32_to_cpu(agf->agf_btreeblks)); xfs_alloc_read_agf() 2425 ASSERT(pag->pagf_flcount == be32_to_cpu(agf->agf_flcount)); xfs_alloc_read_agf() 2426 ASSERT(pag->pagf_longest == be32_to_cpu(agf->agf_longest)); xfs_alloc_read_agf() 2428 be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNOi])); xfs_alloc_read_agf() 2430 be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNTi])); xfs_alloc_read_agf() 2701 be32_to_cpu(XFS_BUF_TO_AGF(args.agbp)->agf_length)) { xfs_free_extent()
|
H A D | xfs_sb.c | 356 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); __xfs_sb_from_disk() 357 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); __xfs_sb_from_disk() 366 to->sb_rextsize = be32_to_cpu(from->sb_rextsize); __xfs_sb_from_disk() 367 to->sb_agblocks = be32_to_cpu(from->sb_agblocks); __xfs_sb_from_disk() 368 to->sb_agcount = be32_to_cpu(from->sb_agcount); __xfs_sb_from_disk() 369 to->sb_rbmblocks = be32_to_cpu(from->sb_rbmblocks); __xfs_sb_from_disk() 370 to->sb_logblocks = be32_to_cpu(from->sb_logblocks); __xfs_sb_from_disk() 393 to->sb_inoalignmt = be32_to_cpu(from->sb_inoalignmt); __xfs_sb_from_disk() 394 to->sb_unit = be32_to_cpu(from->sb_unit); __xfs_sb_from_disk() 395 to->sb_width = be32_to_cpu(from->sb_width); __xfs_sb_from_disk() 399 to->sb_logsunit = be32_to_cpu(from->sb_logsunit); __xfs_sb_from_disk() 400 to->sb_features2 = be32_to_cpu(from->sb_features2); __xfs_sb_from_disk() 401 to->sb_bad_features2 = be32_to_cpu(from->sb_bad_features2); __xfs_sb_from_disk() 402 to->sb_features_compat = be32_to_cpu(from->sb_features_compat); __xfs_sb_from_disk() 403 to->sb_features_ro_compat = be32_to_cpu(from->sb_features_ro_compat); __xfs_sb_from_disk() 404 to->sb_features_incompat = be32_to_cpu(from->sb_features_incompat); __xfs_sb_from_disk() 406 be32_to_cpu(from->sb_features_log_incompat); __xfs_sb_from_disk() 409 to->sb_spino_align = be32_to_cpu(from->sb_spino_align); __xfs_sb_from_disk()
|
H A D | xfs_dir2_leaf.c | 128 if (be32_to_cpu(ents[i].hashval) > xfs_dir3_leaf_check_int() 129 be32_to_cpu(ents[i + 1].hashval)) xfs_dir3_leaf_check_int() 430 leafhdr.count = be32_to_cpu(btp->count); xfs_dir2_block_to_leaf() 431 leafhdr.stale = be32_to_cpu(btp->stale); xfs_dir2_block_to_leaf() 439 memcpy(ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t)); xfs_dir2_block_to_leaf() 670 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; xfs_dir2_leaf_addname() 672 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) xfs_dir2_leaf_addname() 674 i = xfs_dir2_dataptr_to_db(args->geo, be32_to_cpu(lep->address)); xfs_dir2_leaf_addname() 675 ASSERT(i < be32_to_cpu(ltp->bestcount)); xfs_dir2_leaf_addname() 686 for (i = 0; i < be32_to_cpu(ltp->bestcount); i++) { xfs_dir2_leaf_addname() 809 if (use_block >= be32_to_cpu(ltp->bestcount)) { xfs_dir2_leaf_addname() 812 be32_to_cpu(ltp->bestcount) * sizeof(bestsp[0])); xfs_dir2_leaf_addname() 816 be32_to_cpu(ltp->bestcount) - 1); xfs_dir2_leaf_addname() 1191 xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); xfs_dir2_leaf_lookup() 1256 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; xfs_dir2_leaf_lookup_int() 1261 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) xfs_dir2_leaf_lookup_int() 1267 be32_to_cpu(lep->address)); xfs_dir2_leaf_lookup_int() 1289 be32_to_cpu(lep->address))); xfs_dir2_leaf_lookup_int() 1384 db = xfs_dir2_dataptr_to_db(args->geo, be32_to_cpu(lep->address)); xfs_dir2_leaf_removename() 1386 xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); xfs_dir2_leaf_removename() 1448 if (db == be32_to_cpu(ltp->bestcount) - 1) { xfs_dir2_leaf_removename() 1461 (be32_to_cpu(ltp->bestcount) - (db - i)) * sizeof(*bestsp)); xfs_dir2_leaf_removename() 1465 be32_to_cpu(ltp->bestcount) - 1); xfs_dir2_leaf_removename() 1520 xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); xfs_dir2_leaf_replace() 1566 if ((hash = be32_to_cpu(lep[mid].hashval)) == hashwant) xfs_dir2_leaf_search_hash() 1577 while (mid > 0 && be32_to_cpu(lep[mid - 1].hashval) == hashwant) { xfs_dir2_leaf_search_hash() 1629 ASSERT(db == be32_to_cpu(ltp->bestcount) - 1); xfs_dir2_leaf_trim_data() 1646 memmove(&bestsp[1], &bestsp[0], be32_to_cpu(ltp->bestcount) * sizeof(*bestsp)); xfs_dir2_leaf_trim_data() 1648 xfs_dir3_leaf_log_bests(args, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); xfs_dir2_leaf_trim_data() 1795 xfs_dir3_leaf_log_bests(args, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); xfs_dir2_node_to_leaf()
|
H A D | xfs_attr_leaf.c | 178 to->forw = be32_to_cpu(hdr3->info.hdr.forw); xfs_attr3_leaf_hdr_from_disk() 179 to->back = be32_to_cpu(hdr3->info.hdr.back); xfs_attr3_leaf_hdr_from_disk() 192 to->forw = be32_to_cpu(from->hdr.info.forw); xfs_attr3_leaf_hdr_from_disk() 193 to->back = be32_to_cpu(from->hdr.info.back); xfs_attr3_leaf_hdr_from_disk() 942 nargs.hashval = be32_to_cpu(entry->hashval); xfs_attr3_leaf_to_shortform() 1282 (be32_to_cpu(entry->hashval) >= be32_to_cpu((entry-1)->hashval))); xfs_attr3_leaf_add_work() 1284 (be32_to_cpu(entry->hashval) <= be32_to_cpu((entry+1)->hashval))); xfs_attr3_leaf_add_work() 1412 ((be32_to_cpu(entries2[0].hashval) < xfs_attr3_leaf_order() 1413 be32_to_cpu(entries1[0].hashval)) || xfs_attr3_leaf_order() 1414 (be32_to_cpu(entries2[leaf2hdr->count - 1].hashval) < xfs_attr3_leaf_order() 1415 be32_to_cpu(entries1[leaf1hdr->count - 1].hashval)))) { xfs_attr3_leaf_order() 1585 blk1->hashval = be32_to_cpu(entries1[ichdr1.count - 1].hashval); xfs_attr3_leaf_rebalance() 1586 blk2->hashval = be32_to_cpu(entries2[ichdr2.count - 1].hashval); xfs_attr3_leaf_rebalance() 2048 drop_blk->hashval = be32_to_cpu(entry[drophdr.count - 1].hashval); xfs_attr3_leaf_unbalance() 2131 save_blk->hashval = be32_to_cpu(entry[savehdr.count - 1].hashval); xfs_attr3_leaf_unbalance() 2180 if (be32_to_cpu(entry->hashval) < hashval) xfs_attr3_leaf_lookup_int() 2182 else if (be32_to_cpu(entry->hashval) > hashval) xfs_attr3_leaf_lookup_int() 2188 ASSERT(span <= 4 || be32_to_cpu(entry->hashval) == hashval); xfs_attr3_leaf_lookup_int() 2194 while (probe > 0 && be32_to_cpu(entry->hashval) >= hashval) { xfs_attr3_leaf_lookup_int() 2199 be32_to_cpu(entry->hashval) < hashval) { xfs_attr3_leaf_lookup_int() 2203 if (probe == ichdr.count || be32_to_cpu(entry->hashval) != hashval) { xfs_attr3_leaf_lookup_int() 2211 for (; probe < ichdr.count && (be32_to_cpu(entry->hashval) == hashval); xfs_attr3_leaf_lookup_int() 2245 args->rmtvaluelen = be32_to_cpu(name_rmt->valuelen); xfs_attr3_leaf_lookup_int() 2246 args->rmtblkno = be32_to_cpu(name_rmt->valueblk); xfs_attr3_leaf_lookup_int() 2298 args->rmtvaluelen = be32_to_cpu(name_rmt->valuelen); xfs_attr3_leaf_getvalue() 2299 args->rmtblkno = be32_to_cpu(name_rmt->valueblk); xfs_attr3_leaf_getvalue() 2483 return be32_to_cpu(entries[ichdr.count - 1].hashval); xfs_attr_leaf_lasthash() 2584 ASSERT(be32_to_cpu(entry->hashval) == args->hashval); xfs_attr3_leaf_clearflag() 2740 ASSERT(be32_to_cpu(entry1->hashval) == be32_to_cpu(entry2->hashval)); xfs_attr3_leaf_flipflags()
|
H A D | xfs_dir2_data.c | 93 XFS_WANT_CORRUPTED_RETURN(mp, be32_to_cpu(btp->count) < __xfs_dir3_data_check() 182 for (i = 0; i < be32_to_cpu(btp->count); i++) { __xfs_dir3_data_check() 183 if (be32_to_cpu(lep[i].address) == addr && __xfs_dir3_data_check() 184 be32_to_cpu(lep[i].hashval) == hash) __xfs_dir3_data_check() 188 i < be32_to_cpu(btp->count)); __xfs_dir3_data_check() 198 for (i = stale = 0; i < be32_to_cpu(btp->count); i++) { __xfs_dir3_data_check() 204 be32_to_cpu(lep[i].hashval) >= __xfs_dir3_data_check() 205 be32_to_cpu(lep[i - 1].hashval)); __xfs_dir3_data_check() 208 be32_to_cpu(btp->count) - be32_to_cpu(btp->stale)); __xfs_dir3_data_check() 209 XFS_WANT_CORRUPTED_RETURN(mp, stale == be32_to_cpu(btp->stale)); __xfs_dir3_data_check()
|
H A D | xfs_ialloc.c | 116 irec->ir_startino = be32_to_cpu(rec->inobt.ir_startino); xfs_inobt_get_rec() 129 be32_to_cpu(rec->inobt.ir_u.f.ir_freecount); xfs_inobt_get_rec() 169 xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); xfs_inobt_insert() 235 ASSERT(freecount == be32_to_cpu(agi->agi_freecount)); xfs_check_agi_freecount() 520 xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); xfs_inobt_insert_sprec() 641 newino = be32_to_cpu(agi->agi_newino); xfs_ialloc_ag_alloc() 642 agno = be32_to_cpu(agi->agi_seqno); xfs_ialloc_ag_alloc() 648 (args.agbno < be32_to_cpu(agi->agi_length)))) { xfs_ialloc_ag_alloc() 708 args.agbno = be32_to_cpu(agi->agi_root); xfs_ialloc_ag_alloc() 729 args.agbno = be32_to_cpu(agi->agi_root); xfs_ialloc_ag_alloc() 745 args.agbno = be32_to_cpu(agi->agi_root); xfs_ialloc_ag_alloc() 1114 xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); xfs_dialloc_ag_inobt() 1138 pagino = be32_to_cpu(agi->agi_newino); xfs_dialloc_ag_inobt() 1290 error = xfs_inobt_lookup(cur, be32_to_cpu(agi->agi_newino), xfs_dialloc_ag_inobt() 1459 error = xfs_inobt_lookup(cur, be32_to_cpu(agi->agi_newino), xfs_dialloc_ag_finobt_newino() 1539 xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); xfs_dialloc_ag() 1561 pagino = be32_to_cpu(agi->agi_newino); xfs_dialloc_ag() 1898 xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); xfs_difree_inobt() 1908 ASSERT(XFS_AGINO_TO_AGBNO(mp, agino) < be32_to_cpu(agi->agi_length)); xfs_difree_inobt() 2027 xfs_agnumber_t agno = be32_to_cpu(agi->agi_seqno); xfs_difree_finobt() 2517 if (!XFS_AGI_GOOD_VERSION(be32_to_cpu(agi->agi_versionnum))) xfs_agi_verify() 2520 if (be32_to_cpu(agi->agi_level) > XFS_BTREE_MAXLEVELS) xfs_agi_verify() 2528 if (bp->b_pag && be32_to_cpu(agi->agi_seqno) != bp->b_pag->pag_agno) xfs_agi_verify() 2625 pag->pagi_freecount = be32_to_cpu(agi->agi_freecount); xfs_ialloc_read_agi() 2626 pag->pagi_count = be32_to_cpu(agi->agi_count); xfs_ialloc_read_agi() 2634 ASSERT(pag->pagi_freecount == be32_to_cpu(agi->agi_freecount) || xfs_ialloc_read_agi()
|
H A D | xfs_dir2_node.c | 330 ASSERT(be32_to_cpu(ltp->bestcount) <= xfs_dir2_leaf_to_node() 339 for (i = n = 0; i < be32_to_cpu(ltp->bestcount); i++, from++, to++) { xfs_dir2_leaf_to_node() 349 freehdr.nvalid = be32_to_cpu(ltp->bestcount); xfs_dir2_leaf_to_node() 420 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); xfs_dir2_leafn_add() 422 be32_to_cpu(ents[index].hashval) >= args->hashval); xfs_dir2_leafn_add() 504 return be32_to_cpu(ents[leafhdr.count - 1].hashval); xfs_dir2_leafn_lasthash() 566 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; xfs_dir2_leafn_lookup_for_addname() 571 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) xfs_dir2_leafn_lookup_for_addname() 577 be32_to_cpu(lep->address)); xfs_dir2_leafn_lookup_for_addname() 713 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; xfs_dir2_leafn_lookup_for_entry() 718 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) xfs_dir2_leafn_lookup_for_entry() 724 be32_to_cpu(lep->address)); xfs_dir2_leafn_lookup_for_entry() 763 be32_to_cpu(lep->address))); xfs_dir2_leafn_lookup_for_entry() 933 (be32_to_cpu(ents2[0].hashval) < be32_to_cpu(ents1[0].hashval) || xfs_dir2_leafn_order() 934 be32_to_cpu(ents2[hdr2.count - 1].hashval) < xfs_dir2_leafn_order() 935 be32_to_cpu(ents1[hdr1.count - 1].hashval))) xfs_dir2_leafn_order() 1002 midhash = be32_to_cpu(ents2[mid - hdr1.count].hashval); xfs_dir2_leafn_rebalance() 1004 midhash = be32_to_cpu(ents1[mid].hashval); xfs_dir2_leafn_rebalance() 1192 db = xfs_dir2_dataptr_to_db(args->geo, be32_to_cpu(lep->address)); xfs_dir2_leafn_remove() 1194 off = xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address)); xfs_dir2_leafn_remove() 1546 drop_blk->hashval = be32_to_cpu(dents[drophdr.count - 1].hashval); xfs_dir2_leafn_unbalance() 1555 save_blk->hashval = be32_to_cpu(sents[savehdr.count - 1].hashval); xfs_dir2_leafn_unbalance() 2191 be32_to_cpu(lep->address))); xfs_dir2_node_replace()
|
/linux-4.4.14/crypto/ |
H A D | cast6_generic.c | 129 key[0] = be32_to_cpu(p_key[0]); /* A */ __cast6_setkey() 130 key[1] = be32_to_cpu(p_key[1]); /* B */ __cast6_setkey() 131 key[2] = be32_to_cpu(p_key[2]); /* C */ __cast6_setkey() 132 key[3] = be32_to_cpu(p_key[3]); /* D */ __cast6_setkey() 133 key[4] = be32_to_cpu(p_key[4]); /* E */ __cast6_setkey() 134 key[5] = be32_to_cpu(p_key[5]); /* F */ __cast6_setkey() 135 key[6] = be32_to_cpu(p_key[6]); /* G */ __cast6_setkey() 136 key[7] = be32_to_cpu(p_key[7]); /* H */ __cast6_setkey() 192 block[0] = be32_to_cpu(src[0]); __cast6_encrypt() 193 block[1] = be32_to_cpu(src[1]); __cast6_encrypt() 194 block[2] = be32_to_cpu(src[2]); __cast6_encrypt() 195 block[3] = be32_to_cpu(src[3]); __cast6_encrypt() 230 block[0] = be32_to_cpu(src[0]); __cast6_decrypt() 231 block[1] = be32_to_cpu(src[1]); __cast6_decrypt() 232 block[2] = be32_to_cpu(src[2]); __cast6_decrypt() 233 block[3] = be32_to_cpu(src[3]); __cast6_decrypt()
|
H A D | blowfish_generic.c | 48 u32 yl = be32_to_cpu(in_blk[0]); bf_encrypt() 49 u32 yr = be32_to_cpu(in_blk[1]); bf_encrypt() 82 u32 yl = be32_to_cpu(in_blk[0]); bf_decrypt() 83 u32 yr = be32_to_cpu(in_blk[1]); bf_decrypt()
|
H A D | seed.c | 339 x1 = be32_to_cpu(key[0]); seed_set_key() 340 x2 = be32_to_cpu(key[1]); seed_set_key() 341 x3 = be32_to_cpu(key[2]); seed_set_key() 342 x4 = be32_to_cpu(key[3]); seed_set_key() 376 x1 = be32_to_cpu(src[0]); seed_encrypt() 377 x2 = be32_to_cpu(src[1]); seed_encrypt() 378 x3 = be32_to_cpu(src[2]); seed_encrypt() 379 x4 = be32_to_cpu(src[3]); seed_encrypt() 414 x1 = be32_to_cpu(src[0]); seed_decrypt() 415 x2 = be32_to_cpu(src[1]); seed_decrypt() 416 x3 = be32_to_cpu(src[2]); seed_decrypt() 417 x4 = be32_to_cpu(src[3]); seed_decrypt()
|
H A D | cast5_generic.c | 326 l = be32_to_cpu(src[0]); __cast5_encrypt() 327 r = be32_to_cpu(src[1]); __cast5_encrypt() 380 l = be32_to_cpu(src[0]); __cast5_decrypt() 381 r = be32_to_cpu(src[1]); __cast5_decrypt() 502 x[0] = be32_to_cpu(p_key[0]); cast5_setkey() 503 x[1] = be32_to_cpu(p_key[1]); cast5_setkey() 504 x[2] = be32_to_cpu(p_key[2]); cast5_setkey() 505 x[3] = be32_to_cpu(p_key[3]); cast5_setkey()
|
/linux-4.4.14/arch/arm/boot/compressed/ |
H A D | libfdt_env.h | 14 #define fdt32_to_cpu(x) be32_to_cpu(x)
|
/linux-4.4.14/fs/efs/ |
H A D | super.c | 167 if (be32_to_cpu(vh->vh_magic) != VHMAGIC) { efs_validate_vh() 179 csum += be32_to_cpu(cs); efs_validate_vh() 200 name, (int) be32_to_cpu(vh->vh_vd[i].vd_lbn), efs_validate_vh() 201 (int) be32_to_cpu(vh->vh_vd[i].vd_nbytes)); efs_validate_vh() 207 pt_type = (int) be32_to_cpu(vh->vh_pt[i].pt_type); efs_validate_vh() 212 if (be32_to_cpu(vh->vh_pt[i].pt_nblks)) { efs_validate_vh() 214 i, (int)be32_to_cpu(vh->vh_pt[i].pt_firstlbn), efs_validate_vh() 215 (int)be32_to_cpu(vh->vh_pt[i].pt_nblks), efs_validate_vh() 221 sblock = be32_to_cpu(vh->vh_pt[i].pt_firstlbn); efs_validate_vh() 240 if (!IS_EFS_MAGIC(be32_to_cpu(super->fs_magic))) efs_validate_super() 243 sb->fs_magic = be32_to_cpu(super->fs_magic); efs_validate_super() 244 sb->total_blocks = be32_to_cpu(super->fs_size); efs_validate_super() 245 sb->first_block = be32_to_cpu(super->fs_firstcg); efs_validate_super() 246 sb->group_size = be32_to_cpu(super->fs_cgfsize); efs_validate_super() 247 sb->data_free = be32_to_cpu(super->fs_tfree); efs_validate_super() 248 sb->inode_free = be32_to_cpu(super->fs_tinode); efs_validate_super()
|
H A D | inode.c | 102 inode->i_size = be32_to_cpu(efs_inode->di_size); efs_iget() 103 inode->i_atime.tv_sec = be32_to_cpu(efs_inode->di_atime); efs_iget() 104 inode->i_mtime.tv_sec = be32_to_cpu(efs_inode->di_mtime); efs_iget() 105 inode->i_ctime.tv_sec = be32_to_cpu(efs_inode->di_ctime); efs_iget() 117 rdev = be32_to_cpu(efs_inode->di_u.di_dev.ndev); efs_iget()
|
H A D | dir.c | 71 inodenum = be32_to_cpu(dirslot->inode); efs_readdir()
|
H A D | namei.c | 54 inodenum = be32_to_cpu(dirslot->inode); efs_find_entry()
|
/linux-4.4.14/arch/powerpc/kvm/ |
H A D | book3s_rtas.c | 26 if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { kvm_rtas_set_xive() 31 irq = be32_to_cpu(args->args[0]); kvm_rtas_set_xive() 32 server = be32_to_cpu(args->args[1]); kvm_rtas_set_xive() 33 priority = be32_to_cpu(args->args[2]); kvm_rtas_set_xive() 47 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { kvm_rtas_get_xive() 52 irq = be32_to_cpu(args->args[0]); kvm_rtas_get_xive() 72 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { kvm_rtas_int_off() 77 irq = be32_to_cpu(args->args[0]); kvm_rtas_int_off() 91 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { kvm_rtas_int_on() 96 irq = be32_to_cpu(args->args[0]); kvm_rtas_int_on() 233 args.rets = &args.args[be32_to_cpu(args.nargs)]; kvmppc_rtas_hcall() 239 if (d->token == be32_to_cpu(args.token)) { kvmppc_rtas_hcall()
|
H A D | book3s_32_mmu.c | 232 pte0 = be32_to_cpu(pteg[i]); kvmppc_mmu_book3s_32_xlate_pte() 233 pte1 = be32_to_cpu(pteg[i + 1]); kvmppc_mmu_book3s_32_xlate_pte() 297 i, be32_to_cpu(pteg[i]), kvmppc_mmu_book3s_32_xlate_pte() 298 be32_to_cpu(pteg[i+1]), ptem); kvmppc_mmu_book3s_32_xlate_pte()
|
/linux-4.4.14/arch/powerpc/boot/ |
H A D | libfdt_env.h | 19 #define fdt32_to_cpu(x) be32_to_cpu(x)
|
H A D | of.h | 32 #define be32_to_cpu(x) swab32(x) macro 39 #define be32_to_cpu(x) (x) macro
|
H A D | ofconsole.c | 31 of_stdout_handle = be32_to_cpu(of_stdout_handle); of_console_open()
|
H A D | oflib.c | 66 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; of_call_prom() 93 rets[i-1] = be32_to_cpu(args.args[nargs+i]); of_call_prom_ret() 95 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; of_call_prom_ret()
|
/linux-4.4.14/arch/arm/mach-exynos/ |
H A D | s5p-dev-mfc.c | 80 mfc_mem.loff = be32_to_cpu(prop[0]); s5p_fdt_alloc_mfc_mem() 81 mfc_mem.lsize = be32_to_cpu(prop[1]); s5p_fdt_alloc_mfc_mem() 87 mfc_mem.roff = be32_to_cpu(prop[0]); s5p_fdt_alloc_mfc_mem() 88 mfc_mem.rsize = be32_to_cpu(prop[1]); s5p_fdt_alloc_mfc_mem()
|
/linux-4.4.14/sound/firewire/tascam/ |
H A D | tascam-proc.c | 24 reg = be32_to_cpu(data); proc_read_firmware() 31 fpga = be32_to_cpu(data); proc_read_firmware() 38 arm = be32_to_cpu(data); proc_read_firmware() 45 hw = be32_to_cpu(data); proc_read_firmware()
|
/linux-4.4.14/fs/hfs/ |
H A D | part_tbl.c | 83 *part_start += be32_to_cpu(p->pdStart); hfs_part_find() 84 *part_size = be32_to_cpu(p->pdSize); hfs_part_find() 95 size = be32_to_cpu(pm->pmMapBlkCnt); hfs_part_find() 99 *part_start += be32_to_cpu(pm->pmPyPartStart); hfs_part_find() 100 *part_size = be32_to_cpu(pm->pmPartBlkCnt); hfs_part_find()
|
H A D | btree.c | 48 mdb->drXTFlSize, be32_to_cpu(mdb->drXTClpSiz)); hfs_btree_open() 60 mdb->drCTFlSize, be32_to_cpu(mdb->drCTClpSiz)); hfs_btree_open() 83 tree->root = be32_to_cpu(head->root); hfs_btree_open() 84 tree->leaf_count = be32_to_cpu(head->leaf_count); hfs_btree_open() 85 tree->leaf_head = be32_to_cpu(head->leaf_head); hfs_btree_open() 86 tree->leaf_tail = be32_to_cpu(head->leaf_tail); hfs_btree_open() 87 tree->node_count = be32_to_cpu(head->node_count); hfs_btree_open() 88 tree->free_nodes = be32_to_cpu(head->free_nodes); hfs_btree_open() 89 tree->attributes = be32_to_cpu(head->attributes); hfs_btree_open()
|
H A D | dir.c | 100 be32_to_cpu(entry.thread.ParID), DT_DIR)) hfs_readdir() 111 if (be32_to_cpu(fd.key->cat.ParID) != inode->i_ino) { hfs_readdir() 132 be32_to_cpu(entry.dir.DirID), DT_DIR)) hfs_readdir() 141 be32_to_cpu(entry.file.FlNum), DT_REG)) hfs_readdir()
|
H A D | inode.c | 267 u32 log_size = be32_to_cpu(__log_size); hfs_inode_read_fork() 279 HFS_I(inode)->alloc_blocks = be32_to_cpu(phys_size) / hfs_inode_read_fork() 299 return inode->i_ino == be32_to_cpu(rec->dir.DirID); hfs_test_inode() 301 return inode->i_ino == be32_to_cpu(rec->file.FlNum); hfs_test_inode() 344 inode->i_ino = be32_to_cpu(rec->file.FlNum); hfs_read_inode() 357 inode->i_ino = be32_to_cpu(rec->dir.DirID); hfs_read_inode() 389 cnid = be32_to_cpu(rec->dir.DirID); hfs_iget() 392 cnid = be32_to_cpu(rec->file.FlNum); hfs_iget() 464 be32_to_cpu(rec.dir.DirID) != inode->i_ino) { hfs_write_inode() 485 be32_to_cpu(rec.file.FlNum) != inode->i_ino) { hfs_write_inode()
|
H A D | bnode.c | 144 be32_to_cpu(desc.next), be32_to_cpu(desc.prev), hfs_bnode_dump() 161 hfs_dbg_cont(BNODE_MOD, ",%d)", be32_to_cpu(cnid)); hfs_bnode_dump() 342 node->prev = be32_to_cpu(desc->prev); hfs_bnode_find() 343 node->next = be32_to_cpu(desc->next); hfs_bnode_find()
|
H A D | mdb.c | 102 HFS_SB(sb)->alloc_blksz = size = be32_to_cpu(mdb->drAlBlkSiz); hfs_mdb_get() 138 HFS_SB(sb)->clumpablks = be32_to_cpu(mdb->drClpSiz) / hfs_mdb_get() 147 HFS_SB(sb)->next_id = be32_to_cpu(mdb->drNxtCNID); hfs_mdb_get() 150 HFS_SB(sb)->file_count = be32_to_cpu(mdb->drFilCnt); hfs_mdb_get() 151 HFS_SB(sb)->folder_count = be32_to_cpu(mdb->drDirCnt); hfs_mdb_get()
|
H A D | bitmap.c | 46 n = be32_to_cpu(val); hfs_find_set_zero_bits() 59 n = be32_to_cpu(val); hfs_find_set_zero_bits() 88 n = be32_to_cpu(*curr); hfs_find_set_zero_bits()
|
H A D | extent.c | 58 return be32_to_cpu(fnum1) < be32_to_cpu(fnum2) ? -1 : 1; hfs_ext_keycmp() 287 u32 cnid = be32_to_cpu(file->FlNum); hfs_free_fork() 292 total_blocks = be32_to_cpu(file->PyLen); hfs_free_fork() 295 total_blocks = be32_to_cpu(file->RPyLen); hfs_free_fork()
|
H A D | catalog.c | 171 return be32_to_cpu(k1p) < be32_to_cpu(k2p) ? -1 : 1; hfs_cat_keycmp() 235 if (be32_to_cpu(file.FlNum) == cnid) { hfs_cat_delete()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | pci.c | 126 hose->global_number, be32_to_cpu(common->version)); pnv_pci_dump_p7ioc_diag_data() 130 be32_to_cpu(data->brdgCtl)); pnv_pci_dump_p7ioc_diag_data() 134 be32_to_cpu(data->portStatusReg), pnv_pci_dump_p7ioc_diag_data() 135 be32_to_cpu(data->rootCmplxStatus), pnv_pci_dump_p7ioc_diag_data() 136 be32_to_cpu(data->busAgentStatus)); pnv_pci_dump_p7ioc_diag_data() 141 be32_to_cpu(data->deviceStatus), pnv_pci_dump_p7ioc_diag_data() 142 be32_to_cpu(data->slotStatus), pnv_pci_dump_p7ioc_diag_data() 143 be32_to_cpu(data->linkStatus), pnv_pci_dump_p7ioc_diag_data() 144 be32_to_cpu(data->devCmdStatus), pnv_pci_dump_p7ioc_diag_data() 145 be32_to_cpu(data->devSecStatus)); pnv_pci_dump_p7ioc_diag_data() 149 be32_to_cpu(data->rootErrorStatus), pnv_pci_dump_p7ioc_diag_data() 150 be32_to_cpu(data->uncorrErrorStatus), pnv_pci_dump_p7ioc_diag_data() 151 be32_to_cpu(data->corrErrorStatus)); pnv_pci_dump_p7ioc_diag_data() 155 be32_to_cpu(data->tlpHdr1), pnv_pci_dump_p7ioc_diag_data() 156 be32_to_cpu(data->tlpHdr2), pnv_pci_dump_p7ioc_diag_data() 157 be32_to_cpu(data->tlpHdr3), pnv_pci_dump_p7ioc_diag_data() 158 be32_to_cpu(data->tlpHdr4)); pnv_pci_dump_p7ioc_diag_data() 162 be32_to_cpu(data->sourceId), pnv_pci_dump_p7ioc_diag_data() 218 hose->global_number, be32_to_cpu(common->version)); pnv_pci_dump_phb3_diag_data() 221 be32_to_cpu(data->brdgCtl)); pnv_pci_dump_phb3_diag_data() 225 be32_to_cpu(data->portStatusReg), pnv_pci_dump_phb3_diag_data() 226 be32_to_cpu(data->rootCmplxStatus), pnv_pci_dump_phb3_diag_data() 227 be32_to_cpu(data->busAgentStatus)); pnv_pci_dump_phb3_diag_data() 232 be32_to_cpu(data->deviceStatus), pnv_pci_dump_phb3_diag_data() 233 be32_to_cpu(data->slotStatus), pnv_pci_dump_phb3_diag_data() 234 be32_to_cpu(data->linkStatus), pnv_pci_dump_phb3_diag_data() 235 be32_to_cpu(data->devCmdStatus), pnv_pci_dump_phb3_diag_data() 236 be32_to_cpu(data->devSecStatus)); pnv_pci_dump_phb3_diag_data() 240 be32_to_cpu(data->rootErrorStatus), pnv_pci_dump_phb3_diag_data() 241 be32_to_cpu(data->uncorrErrorStatus), pnv_pci_dump_phb3_diag_data() 242 be32_to_cpu(data->corrErrorStatus)); pnv_pci_dump_phb3_diag_data() 246 be32_to_cpu(data->tlpHdr1), pnv_pci_dump_phb3_diag_data() 247 be32_to_cpu(data->tlpHdr2), pnv_pci_dump_phb3_diag_data() 248 be32_to_cpu(data->tlpHdr3), pnv_pci_dump_phb3_diag_data() 249 be32_to_cpu(data->tlpHdr4)); pnv_pci_dump_phb3_diag_data() 253 be32_to_cpu(data->sourceId), pnv_pci_dump_phb3_diag_data() 315 switch (be32_to_cpu(common->ioType)) { pnv_pci_dump_phb_diag_data() 324 __func__, be32_to_cpu(common->ioType)); pnv_pci_dump_phb_diag_data() 452 *val = (rc == OPAL_SUCCESS) ? be32_to_cpu(v32) : 0xffffffff; pnv_pci_cfg_read()
|
H A D | opal-msglog.c | 47 out_pos = be32_to_cpu(ACCESS_ONCE(mc->out_pos)); opal_msglog_read() 61 avail = be32_to_cpu(mc->obuf_size) - out_pos; opal_msglog_read() 79 if (out_pos > be32_to_cpu(mc->obuf_size)) { opal_msglog_read()
|
H A D | opal-sensor.c | 59 *sensor_data = be32_to_cpu(data); opal_get_sensor_data() 64 *sensor_data = be32_to_cpu(data); opal_get_sensor_data()
|
H A D | opal-rtc.c | 60 y_m_d = be32_to_cpu(__y_m_d); opal_get_boot_time()
|
H A D | opal-hmi.c | 90 be32_to_cpu(hmi_evt->u.xstop_error.u.pir)); print_core_checkstop_reason() 92 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & print_core_checkstop_reason() 141 be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id)); print_nx_checkstop_reason() 143 if (be32_to_cpu(hmi_evt->u.xstop_error.xstop_reason) & print_nx_checkstop_reason() 273 type = be32_to_cpu(msg.msg_type); hmi_event_handler()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | trace.c | 63 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; ibhdr_exhdr_len() 79 return ((u64)be32_to_cpu(p[0]) << 32) | be32_to_cpu(p[1]); ib_u64_get() 99 be32_to_cpu(eh->imm_data)); parse_everbs_hdrs() 107 be32_to_cpu(eh->rc.reth.rkey), parse_everbs_hdrs() 108 be32_to_cpu(eh->rc.reth.length), parse_everbs_hdrs() 109 be32_to_cpu(eh->rc.imm_data)); parse_everbs_hdrs() 120 be32_to_cpu(eh->rc.reth.rkey), parse_everbs_hdrs() 121 be32_to_cpu(eh->rc.reth.length)); parse_everbs_hdrs() 128 be32_to_cpu(eh->aeth) >> 24, parse_everbs_hdrs() 129 be32_to_cpu(eh->aeth) & HFI1_MSN_MASK); parse_everbs_hdrs() 134 (be32_to_cpu(eh->at.aeth) >> 24) & 0xff, parse_everbs_hdrs() 135 be32_to_cpu(eh->at.aeth) & HFI1_MSN_MASK, parse_everbs_hdrs() 153 be32_to_cpu(eh->ud.deth[0]), parse_everbs_hdrs() 154 be32_to_cpu(eh->ud.deth[1]) & HFI1_QPN_MASK); parse_everbs_hdrs()
|
H A D | trace.h | 484 (be32_to_cpu(ohdr->bth[0]) >> 24) & 0xff; 486 (be32_to_cpu(ohdr->bth[0]) >> 23) & 1; 488 (be32_to_cpu(ohdr->bth[0]) >> 22) & 1; 490 (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; 492 (be32_to_cpu(ohdr->bth[0]) >> 16) & 0xf; 494 be32_to_cpu(ohdr->bth[0]) & 0xffff; 496 (be32_to_cpu(ohdr->bth[1]) >> HFI1_FECN_SHIFT) 499 (be32_to_cpu(ohdr->bth[1]) >> HFI1_BECN_SHIFT) 502 be32_to_cpu(ohdr->bth[1]) & HFI1_QPN_MASK; 504 (be32_to_cpu(ohdr->bth[2]) >> 31) & 1; 507 be32_to_cpu(ohdr->bth[2]) & 0x7fffffff; 591 __entry->qpn = be32_to_cpu(ohdr->bth[1]) & HFI1_QPN_MASK; 592 __entry->opcode = (be32_to_cpu(ohdr->bth[0]) >> 24) & 0xff; 594 __entry->pkey = be32_to_cpu(ohdr->bth[0]) & 0xffff; 1074 __entry->lrh0 = be32_to_cpu(lrh[0]); 1075 __entry->lrh1 = be32_to_cpu(lrh[1]); 1076 __entry->bth0 = be32_to_cpu(bth[0]); 1077 __entry->bth1 = be32_to_cpu(bth[1]); 1078 __entry->bth2 = be32_to_cpu(bth[2]);
|
H A D | uc.c | 283 opcode = be32_to_cpu(ohdr->bth[0]); hfi1_uc_rcv() 287 bth1 = be32_to_cpu(ohdr->bth[1]); hfi1_uc_rcv() 306 u16 pkey = (u16)be32_to_cpu(ohdr->bth[0]); hfi1_uc_rcv() 318 psn = be32_to_cpu(ohdr->bth[2]); hfi1_uc_rcv() 431 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; hfi1_uc_rcv() 482 qp->r_len = be32_to_cpu(reth->length); 486 u32 rkey = be32_to_cpu(reth->rkey); 526 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; 553 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3;
|
H A D | driver.c | 294 vtf = be32_to_cpu(hdr->u.l.grh.version_tclass_flow); rcv_hdrerr() 302 qp_num = be32_to_cpu(ohdr->bth[1]) & HFI1_QPN_MASK; rcv_hdrerr() 365 opcode = be32_to_cpu(bth[0]) >> 24; rcv_hdrerr() 383 lqpn = be32_to_cpu(bth[1]) & HFI1_QPN_MASK; rcv_hdrerr() 461 is_fecn = (be32_to_cpu(ohdr->bth[1]) >> HFI1_FECN_SHIFT) & process_ecn() 463 is_becn = (be32_to_cpu(ohdr->bth[1]) >> HFI1_BECN_SHIFT) & process_ecn() 471 u32 src_qpn = be32_to_cpu(ohdr->u.ud.deth[1]) & HFI1_QPN_MASK; process_ecn() 472 u16 pkey = (u16)be32_to_cpu(ohdr->bth[0]); process_ecn() 481 u32 lqpn = be32_to_cpu(ohdr->bth[1]) & HFI1_QPN_MASK; process_ecn() 488 bth1 = be32_to_cpu(ohdr->bth[1]); process_ecn() 596 is_ecn |= be32_to_cpu(ohdr->bth[1]) & prescan_rxq() 598 is_ecn |= be32_to_cpu(ohdr->bth[1]) & prescan_rxq() 604 qpn = be32_to_cpu(ohdr->bth[1]) & HFI1_QPN_MASK; prescan_rxq()
|
H A D | rc.c | 1002 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; hfi1_rc_send_complete() 1010 psn = be32_to_cpu(ohdr->bth[2]); hfi1_rc_send_complete() 1457 aeth = be32_to_cpu(ohdr->u.aeth); rc_rcv_resp() 1483 aeth = be32_to_cpu(ohdr->u.aeth); rc_rcv_resp() 1487 val = ((u64) be32_to_cpu(p[0]) << 32) | rc_rcv_resp() 1488 be32_to_cpu(p[1]); rc_rcv_resp() 1543 aeth = be32_to_cpu(ohdr->u.aeth); rc_rcv_resp() 1547 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; rc_rcv_resp() 1571 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; rc_rcv_resp() 1582 aeth = be32_to_cpu(ohdr->u.aeth); rc_rcv_resp() 1729 len = be32_to_cpu(reth->length); OP() 1737 u32 rkey = be32_to_cpu(reth->rkey); OP() 1959 bth0 = be32_to_cpu(ohdr->bth[0]); hfi1_rc_rcv() 1963 bth1 = be32_to_cpu(ohdr->bth[1]); hfi1_rc_rcv() 1980 psn = be32_to_cpu(ohdr->bth[2]); hfi1_rc_rcv() 2151 qp->r_len = be32_to_cpu(reth->length); hfi1_rc_rcv() 2155 u32 rkey = be32_to_cpu(reth->rkey); hfi1_rc_rcv() 2208 len = be32_to_cpu(reth->length); OP() 2210 u32 rkey = be32_to_cpu(reth->rkey); OP() 2283 vaddr = ((u64) be32_to_cpu(ateth->vaddr[0]) << 32) | OP() 2284 be32_to_cpu(ateth->vaddr[1]); OP() 2287 rkey = be32_to_cpu(ateth->rkey); OP() 2401 opcode = be32_to_cpu(ohdr->bth[0]); hfi1_rc_hdrerr() 2405 psn = be32_to_cpu(ohdr->bth[2]); hfi1_rc_hdrerr()
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
H A D | c2_rnic.c | 160 ((u64)be32_to_cpu(reply->fw_ver_major) << 32) | c2_rnic_query() 161 ((be32_to_cpu(reply->fw_ver_minor) & 0xFFFF) << 16) | c2_rnic_query() 162 (be32_to_cpu(reply->fw_ver_patch) & 0xFFFF); c2_rnic_query() 166 props->vendor_id = be32_to_cpu(reply->vendor_id); c2_rnic_query() 167 props->vendor_part_id = be32_to_cpu(reply->part_number); c2_rnic_query() 168 props->hw_ver = be32_to_cpu(reply->hw_version); c2_rnic_query() 169 props->max_qp = be32_to_cpu(reply->max_qps); c2_rnic_query() 170 props->max_qp_wr = be32_to_cpu(reply->max_qp_depth); c2_rnic_query() 174 props->max_cq = be32_to_cpu(reply->max_cqs); c2_rnic_query() 175 props->max_cqe = be32_to_cpu(reply->max_cq_depth); c2_rnic_query() 176 props->max_mr = be32_to_cpu(reply->max_mrs); c2_rnic_query() 177 props->max_pd = be32_to_cpu(reply->max_pds); c2_rnic_query() 178 props->max_qp_rd_atom = be32_to_cpu(reply->max_qp_ird); c2_rnic_query() 180 props->max_res_rd_atom = be32_to_cpu(reply->max_global_ird); c2_rnic_query() 181 props->max_qp_init_rd_atom = be32_to_cpu(reply->max_qp_ord); c2_rnic_query() 186 props->max_mw = be32_to_cpu(reply->max_mws); c2_rnic_query() 509 be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q0_QSIZE)), c2_rnic_init() 510 be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q0_MSGSIZE)), c2_rnic_init() 512 be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q0_POOLSTART)), c2_rnic_init() 514 be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q0_SHARED)), c2_rnic_init() 518 qsize = be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q1_QSIZE)); c2_rnic_init() 519 msgsize = be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q1_MSGSIZE)); c2_rnic_init() 535 be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q1_SHARED)), c2_rnic_init() 539 qsize = be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q2_QSIZE)); c2_rnic_init() 540 msgsize = be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q2_MSGSIZE)); c2_rnic_init() 556 be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q2_SHARED)), c2_rnic_init()
|
H A D | c2_ae.c | 172 resource_indicator = be32_to_cpu(wr->ae.ae_generic.resource_type); c2_ae_event() 201 be32_to_cpu(wr->ae.ae_generic.resource_type), c2_ae_event() 202 be32_to_cpu(wr->ae.ae_generic.resource), c2_ae_event() 203 to_qp_state_str(be32_to_cpu(wr->ae.ae_generic.qp_state))); c2_ae_event() 205 c2_set_qp_state(qp, be32_to_cpu(wr->ae.ae_generic.qp_state)); c2_ae_event() 217 be32_to_cpu(res->private_data_length); c2_ae_event() 291 be32_to_cpu(req->private_data_length); c2_ae_event()
|
H A D | c2_mq.c | 48 BUG_ON(m->magic != be32_to_cpu(~CCWR_MAGIC)); c2_mq_alloc() 83 BUG_ON(m->magic != be32_to_cpu(CCWR_MAGIC)); c2_mq_consume()
|
H A D | c2_cq.c | 180 entry->byte_len = be32_to_cpu(ce->bytes_rcvd); c2_poll_one() 193 be32_to_cpu(c2_wr_get_wqe_count(ce)) + 1); c2_poll_one() 352 cq->mq.index = be32_to_cpu(reply->mq_index); c2_init_cq() 354 peer_pa = c2dev->pa + be32_to_cpu(reply->adapter_shared); c2_init_cq()
|
/linux-4.4.14/drivers/target/iscsi/ |
H A D | iscsi_target_erl0.c | 95 cmd->write_data_done != be32_to_cpu(hdr->offset)) iscsit_dataout_within_command_recovery_check() 102 seq = iscsit_get_seq_holder(cmd, be32_to_cpu(hdr->offset), iscsit_dataout_within_command_recovery_check() 114 (seq->offset != be32_to_cpu(hdr->offset) || iscsit_dataout_within_command_recovery_check() 115 seq->data_sn != be32_to_cpu(hdr->datasn))) iscsit_dataout_within_command_recovery_check() 120 seq->data_sn != be32_to_cpu(hdr->datasn)) iscsit_dataout_within_command_recovery_check() 149 if ((be32_to_cpu(hdr->offset) < cmd->seq_start_offset) || iscsit_dataout_check_unsolicited_sequence() 150 ((be32_to_cpu(hdr->offset) + payload_length) > cmd->seq_end_offset)) { iscsit_dataout_check_unsolicited_sequence() 154 be32_to_cpu(hdr->offset), payload_length, cmd->seq_start_offset, iscsit_dataout_check_unsolicited_sequence() 237 if ((be32_to_cpu(hdr->offset) < cmd->seq_start_offset) || iscsit_dataout_check_sequence() 238 ((be32_to_cpu(hdr->offset) + payload_length) > cmd->seq_end_offset)) { iscsit_dataout_check_sequence() 242 be32_to_cpu(hdr->offset), payload_length, cmd->seq_start_offset, iscsit_dataout_check_sequence() 252 seq = iscsit_get_seq_holder(cmd, be32_to_cpu(hdr->offset), iscsit_dataout_check_sequence() 367 if (be32_to_cpu(hdr->datasn) > data_sn) { iscsit_dataout_check_datasn() 370 be32_to_cpu(hdr->datasn), data_sn); iscsit_dataout_check_datasn() 372 } else if (be32_to_cpu(hdr->datasn) < data_sn) { iscsit_dataout_check_datasn() 375 cmd->init_task_tag, be32_to_cpu(hdr->datasn), data_sn); iscsit_dataout_check_datasn() 413 if (be32_to_cpu(hdr->offset) != cmd->write_data_done) { iscsit_dataout_pre_datapduinorder_yes() 416 be32_to_cpu(hdr->offset), cmd->write_data_done); iscsit_dataout_pre_datapduinorder_yes() 423 if (be32_to_cpu(hdr->offset) > seq->offset) { iscsit_dataout_pre_datapduinorder_yes() 426 be32_to_cpu(hdr->offset), seq->offset); iscsit_dataout_pre_datapduinorder_yes() 429 } else if (be32_to_cpu(hdr->offset) < seq->offset) { iscsit_dataout_pre_datapduinorder_yes() 432 cmd->init_task_tag, be32_to_cpu(hdr->offset), iscsit_dataout_pre_datapduinorder_yes() 452 be32_to_cpu(hdr->offset), payload_length) : iscsit_dataout_pre_datapduinorder_yes() 464 pdu = iscsit_get_pdu_holder(cmd, be32_to_cpu(hdr->offset), iscsit_dataout_pre_datapduinorder_no() 479 be32_to_cpu(hdr->offset), payload_length); iscsit_dataout_pre_datapduinorder_no() 553 if (iscsit_dataout_update_r2t(cmd, be32_to_cpu(hdr->offset), iscsit_dataout_post_crc_passed() 561 be32_to_cpu(hdr->datasn), iscsit_dataout_post_crc_passed() 588 be32_to_cpu(hdr->offset), iscsit_dataout_post_crc_passed() 596 cmd, be32_to_cpu(hdr->datasn), iscsit_dataout_post_crc_passed() 613 be32_to_cpu(hdr->offset), iscsit_dataout_post_crc_passed() 621 cmd, be32_to_cpu(hdr->datasn), iscsit_dataout_post_crc_passed() 681 return iscsit_recover_dataout_sequence(cmd, be32_to_cpu(hdr->offset), iscsit_dataout_post_crc_failed()
|
/linux-4.4.14/fs/gfs2/ |
H A D | export.c | 170 this.no_formal_ino = ((u64)be32_to_cpu(fh[0])) << 32; gfs2_fh_to_dentry() 171 this.no_formal_ino |= be32_to_cpu(fh[1]); gfs2_fh_to_dentry() 172 this.no_addr = ((u64)be32_to_cpu(fh[2])) << 32; gfs2_fh_to_dentry() 173 this.no_addr |= be32_to_cpu(fh[3]); gfs2_fh_to_dentry() 191 parent.no_formal_ino = ((u64)be32_to_cpu(fh[4])) << 32; gfs2_fh_to_parent() 192 parent.no_formal_ino |= be32_to_cpu(fh[5]); gfs2_fh_to_parent() 193 parent.no_addr = ((u64)be32_to_cpu(fh[6])) << 32; gfs2_fh_to_parent() 194 parent.no_addr |= be32_to_cpu(fh[7]); gfs2_fh_to_parent()
|
H A D | xattr.h | 16 #define GFS2_EA_REC_LEN(ea) be32_to_cpu((ea)->ea_rec_len) 17 #define GFS2_EA_DATA_LEN(ea) be32_to_cpu((ea)->ea_data_len)
|
H A D | glops.c | 336 ip->i_inode.i_mode = be32_to_cpu(str->di_mode); gfs2_dinode_in() 341 ip->i_inode.i_rdev = MKDEV(be32_to_cpu(str->di_major), gfs2_dinode_in() 342 be32_to_cpu(str->di_minor)); gfs2_dinode_in() 346 i_uid_write(&ip->i_inode, be32_to_cpu(str->di_uid)); gfs2_dinode_in() 347 i_gid_write(&ip->i_inode, be32_to_cpu(str->di_gid)); gfs2_dinode_in() 348 gfs2_set_nlink(&ip->i_inode, be32_to_cpu(str->di_nlink)); gfs2_dinode_in() 352 atime.tv_nsec = be32_to_cpu(str->di_atime_nsec); gfs2_dinode_in() 356 ip->i_inode.i_mtime.tv_nsec = be32_to_cpu(str->di_mtime_nsec); gfs2_dinode_in() 358 ip->i_inode.i_ctime.tv_nsec = be32_to_cpu(str->di_ctime_nsec); gfs2_dinode_in() 363 ip->i_diskflags = be32_to_cpu(str->di_flags); gfs2_dinode_in() 376 ip->i_entries = be32_to_cpu(str->di_entries); gfs2_dinode_in()
|
H A D | util.h | 87 u32 magic = be32_to_cpu(mh->mh_magic); gfs2_meta_check() 108 u32 magic = be32_to_cpu(mh->mh_magic); gfs2_metatype_check_i() 109 u16 t = be32_to_cpu(mh->mh_type); gfs2_metatype_check_i()
|
H A D | recovery.c | 129 lh->lh_flags = be32_to_cpu(str->lh_flags); gfs2_log_header_in() 130 lh->lh_tail = be32_to_cpu(str->lh_tail); gfs2_log_header_in() 131 lh->lh_blkno = be32_to_cpu(str->lh_blkno); gfs2_log_header_in() 132 lh->lh_hash = be32_to_cpu(str->lh_hash); gfs2_log_header_in() 335 length = be32_to_cpu(ld->ld_length); foreach_descriptor() 337 if (be32_to_cpu(ld->ld_header.mh_type) == GFS2_METATYPE_LH) { foreach_descriptor()
|
H A D | lops.c | 530 unsigned int blks = be32_to_cpu(ld->ld_data1); buf_lo_scan_elements() 535 if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_METADATA) buf_lo_scan_elements() 683 unsigned int blks = be32_to_cpu(ld->ld_length); revoke_lo_scan_elements() 684 unsigned int revokes = be32_to_cpu(ld->ld_data1); revoke_lo_scan_elements() 691 if (pass != 0 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_REVOKE) revoke_lo_scan_elements() 767 unsigned int blks = be32_to_cpu(ld->ld_data1); databuf_lo_scan_elements() 773 if (pass != 1 || be32_to_cpu(ld->ld_type) != GFS2_LOG_DESC_JDATA) databuf_lo_scan_elements()
|
/linux-4.4.14/drivers/mtd/ubi/ |
H A D | fastmap.c | 283 if (be32_to_cpu(new_vh->lnum) != aeb->lnum) { update_vol() 284 if (be32_to_cpu(new_vh->lnum) < aeb->lnum) update_vol() 318 if (av->highest_lnum == be32_to_cpu(new_vh->lnum)) update_vol() 320 be32_to_cpu(new_vh->data_size); update_vol() 342 if (av->highest_lnum <= be32_to_cpu(new_vh->lnum)) { update_vol() 343 av->highest_lnum = be32_to_cpu(new_vh->lnum); update_vol() 344 av->last_data_size = be32_to_cpu(new_vh->data_size); update_vol() 348 av->used_ebs = be32_to_cpu(new_vh->used_ebs); update_vol() 375 if (be32_to_cpu(new_vh->vol_id) == UBI_FM_SB_VOLUME_ID || process_pool_aeb() 376 be32_to_cpu(new_vh->vol_id) == UBI_FM_DATA_VOLUME_ID) { process_pool_aeb() 387 if (be32_to_cpu(new_vh->vol_id) > tmp_av->vol_id) process_pool_aeb() 389 else if (be32_to_cpu(new_vh->vol_id) < tmp_av->vol_id) process_pool_aeb() 405 ubi_assert(be32_to_cpu(new_vh->vol_id) == av->vol_id); process_pool_aeb() 481 pnum = be32_to_cpu(pebs[i]); scan_pool() 502 image_seq = be32_to_cpu(ech->image_seq); scan_pool() 506 be32_to_cpu(ech->image_seq), ubi->image_seq); scan_pool() 536 new_aeb->lnum = be32_to_cpu(vh->lnum); scan_pool() 630 if (be32_to_cpu(fmhdr->magic) != UBI_FM_HDR_MAGIC) { ubi_attach_fastmap() 632 be32_to_cpu(fmhdr->magic), UBI_FM_HDR_MAGIC); ubi_attach_fastmap() 640 if (be32_to_cpu(fmpl->magic) != UBI_FM_POOL_MAGIC) { ubi_attach_fastmap() 642 be32_to_cpu(fmpl->magic), UBI_FM_POOL_MAGIC); ubi_attach_fastmap() 650 if (be32_to_cpu(fmpl_wl->magic) != UBI_FM_POOL_MAGIC) { ubi_attach_fastmap() 652 be32_to_cpu(fmpl_wl->magic), UBI_FM_POOL_MAGIC); ubi_attach_fastmap() 686 for (i = 0; i < be32_to_cpu(fmhdr->free_peb_count); i++) { ubi_attach_fastmap() 692 add_aeb(ai, &ai->free, be32_to_cpu(fmec->pnum), ubi_attach_fastmap() 693 be32_to_cpu(fmec->ec), 0); ubi_attach_fastmap() 697 for (i = 0; i < be32_to_cpu(fmhdr->used_peb_count); i++) { ubi_attach_fastmap() 703 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), ubi_attach_fastmap() 704 be32_to_cpu(fmec->ec), 0); ubi_attach_fastmap() 708 for (i = 0; i < be32_to_cpu(fmhdr->scrub_peb_count); i++) { ubi_attach_fastmap() 714 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), ubi_attach_fastmap() 715 be32_to_cpu(fmec->ec), 1); ubi_attach_fastmap() 719 for (i = 0; i < be32_to_cpu(fmhdr->erase_peb_count); i++) { ubi_attach_fastmap() 725 add_aeb(ai, &ai->erase, be32_to_cpu(fmec->pnum), ubi_attach_fastmap() 726 be32_to_cpu(fmec->ec), 1); ubi_attach_fastmap() 730 ai->bad_peb_count = be32_to_cpu(fmhdr->bad_peb_count); ubi_attach_fastmap() 733 for (i = 0; i < be32_to_cpu(fmhdr->vol_count); i++) { ubi_attach_fastmap() 739 if (be32_to_cpu(fmvhdr->magic) != UBI_FM_VHDR_MAGIC) { ubi_attach_fastmap() 741 be32_to_cpu(fmvhdr->magic), UBI_FM_VHDR_MAGIC); ubi_attach_fastmap() 745 av = add_vol(ai, be32_to_cpu(fmvhdr->vol_id), ubi_attach_fastmap() 746 be32_to_cpu(fmvhdr->used_ebs), ubi_attach_fastmap() 747 be32_to_cpu(fmvhdr->data_pad), ubi_attach_fastmap() 749 be32_to_cpu(fmvhdr->last_eb_bytes)); ubi_attach_fastmap() 760 if (ai->highest_vol_id < be32_to_cpu(fmvhdr->vol_id)) ubi_attach_fastmap() 761 ai->highest_vol_id = be32_to_cpu(fmvhdr->vol_id); ubi_attach_fastmap() 765 fm_pos += (sizeof(__be32) * be32_to_cpu(fm_eba->reserved_pebs)); ubi_attach_fastmap() 769 if (be32_to_cpu(fm_eba->magic) != UBI_FM_EBA_MAGIC) { ubi_attach_fastmap() 771 be32_to_cpu(fm_eba->magic), UBI_FM_EBA_MAGIC); ubi_attach_fastmap() 775 for (j = 0; j < be32_to_cpu(fm_eba->reserved_pebs); j++) { ubi_attach_fastmap() 776 int pnum = be32_to_cpu(fm_eba->pnum[j]); ubi_attach_fastmap() 896 if (be32_to_cpu(fmsb->magic) != UBI_FM_SB_MAGIC) { ubi_scan_fastmap() 898 be32_to_cpu(fmsb->magic), UBI_FM_SB_MAGIC); ubi_scan_fastmap() 910 used_blocks = be32_to_cpu(fmsb->used_blocks); ubi_scan_fastmap() 941 pnum = be32_to_cpu(fmsb->block_loc[i]); ubi_scan_fastmap() 958 image_seq = be32_to_cpu(ech->image_seq); ubi_scan_fastmap() 968 be32_to_cpu(ech->image_seq), ubi->image_seq); ubi_scan_fastmap() 981 if (be32_to_cpu(vh->vol_id) != UBI_FM_SB_VOLUME_ID) { ubi_scan_fastmap() 983 be32_to_cpu(vh->vol_id), ubi_scan_fastmap() 989 if (be32_to_cpu(vh->vol_id) != UBI_FM_DATA_VOLUME_ID) { ubi_scan_fastmap() 991 be32_to_cpu(vh->vol_id), ubi_scan_fastmap() 1014 tmp_crc = be32_to_cpu(fmsb2->data_crc); ubi_scan_fastmap() 1048 e->pnum = be32_to_cpu(fmsb2->block_loc[i]); ubi_scan_fastmap() 1049 e->ec = be32_to_cpu(fmsb2->block_ec[i]); ubi_scan_fastmap()
|
H A D | debug.c | 66 pr_err("\tmagic %#08x\n", be32_to_cpu(ec_hdr->magic)); ubi_dump_ec_hdr() 69 pr_err("\tvid_hdr_offset %d\n", be32_to_cpu(ec_hdr->vid_hdr_offset)); ubi_dump_ec_hdr() 70 pr_err("\tdata_offset %d\n", be32_to_cpu(ec_hdr->data_offset)); ubi_dump_ec_hdr() 71 pr_err("\timage_seq %d\n", be32_to_cpu(ec_hdr->image_seq)); ubi_dump_ec_hdr() 72 pr_err("\thdr_crc %#08x\n", be32_to_cpu(ec_hdr->hdr_crc)); ubi_dump_ec_hdr() 85 pr_err("\tmagic %08x\n", be32_to_cpu(vid_hdr->magic)); ubi_dump_vid_hdr() 90 pr_err("\tvol_id %d\n", be32_to_cpu(vid_hdr->vol_id)); ubi_dump_vid_hdr() 91 pr_err("\tlnum %d\n", be32_to_cpu(vid_hdr->lnum)); ubi_dump_vid_hdr() 92 pr_err("\tdata_size %d\n", be32_to_cpu(vid_hdr->data_size)); ubi_dump_vid_hdr() 93 pr_err("\tused_ebs %d\n", be32_to_cpu(vid_hdr->used_ebs)); ubi_dump_vid_hdr() 94 pr_err("\tdata_pad %d\n", be32_to_cpu(vid_hdr->data_pad)); ubi_dump_vid_hdr() 97 pr_err("\thdr_crc %08x\n", be32_to_cpu(vid_hdr->hdr_crc)); ubi_dump_vid_hdr() 143 pr_err("\treserved_pebs %d\n", be32_to_cpu(r->reserved_pebs)); ubi_dump_vtbl_record() 144 pr_err("\talignment %d\n", be32_to_cpu(r->alignment)); ubi_dump_vtbl_record() 145 pr_err("\tdata_pad %d\n", be32_to_cpu(r->data_pad)); ubi_dump_vtbl_record() 163 pr_err("\tcrc %#08x\n", be32_to_cpu(r->crc)); ubi_dump_vtbl_record()
|
H A D | attach.c | 197 int vol_id = be32_to_cpu(vid_hdr->vol_id); validate_vid_hdr() 198 int used_ebs = be32_to_cpu(vid_hdr->used_ebs); validate_vid_hdr() 199 int data_pad = be32_to_cpu(vid_hdr->data_pad); validate_vid_hdr() 265 ubi_assert(vol_id == be32_to_cpu(vid_hdr->vol_id)); add_volume() 289 av->used_ebs = be32_to_cpu(vid_hdr->used_ebs); add_volume() 290 av->data_pad = be32_to_cpu(vid_hdr->data_pad); add_volume() 396 len = be32_to_cpu(vid_hdr->data_size); ubi_compare_lebs() 403 data_crc = be32_to_cpu(vid_hdr->data_crc); ubi_compare_lebs() 458 vol_id = be32_to_cpu(vid_hdr->vol_id); ubi_add_to_av() 459 lnum = be32_to_cpu(vid_hdr->lnum); ubi_add_to_av() 552 be32_to_cpu(vid_hdr->data_size); ubi_add_to_av() 588 av->last_data_size = be32_to_cpu(vid_hdr->data_size); ubi_add_to_av() 906 image_seq = be32_to_cpu(ech->image_seq); scan_peb() 993 vol_id = be32_to_cpu(vidh->vol_id); scan_peb() 999 int lnum = be32_to_cpu(vidh->lnum); scan_peb() 1661 if (av->vol_id != be32_to_cpu(vidh->vol_id)) { self_check_ai() 1671 if (aeb->lnum != be32_to_cpu(vidh->lnum)) { self_check_ai() 1676 if (av->used_ebs != be32_to_cpu(vidh->used_ebs)) { self_check_ai() 1681 if (av->data_pad != be32_to_cpu(vidh->data_pad)) { self_check_ai() 1690 if (av->highest_lnum != be32_to_cpu(vidh->lnum)) { self_check_ai() 1695 if (av->last_data_size != be32_to_cpu(vidh->data_size)) { self_check_ai()
|
/linux-4.4.14/fs/hfsplus/ |
H A D | extents.c | 28 return be32_to_cpu(k1id) < be32_to_cpu(k2id) ? -1 : 1; hfsplus_ext_cmp_key() 37 return be32_to_cpu(k1s) < be32_to_cpu(k2s) ? -1 : 1; hfsplus_ext_cmp_key() 56 count = be32_to_cpu(ext->block_count); hfsplus_ext_find_block() 58 return be32_to_cpu(ext->start_block) + off; hfsplus_ext_find_block() 71 count += be32_to_cpu(ext->block_count); hfsplus_ext_block_count() 83 return be32_to_cpu(ext->start_block) + be32_to_cpu(ext->block_count); hfsplus_ext_lastblock() 191 hip->cached_start = be32_to_cpu(fd->key->ext.start_block); __hfsplus_ext_cache_extent() 297 be32_to_cpu(extent[i].start_block), hfsplus_dump_extent() 298 be32_to_cpu(extent[i].block_count)); hfsplus_dump_extent() 310 count = be32_to_cpu(extent->block_count); hfsplus_add_extent() 312 start = be32_to_cpu(extent->start_block); hfsplus_add_extent() 340 count = be32_to_cpu(extent->block_count); hfsplus_free_extents() 351 start = be32_to_cpu(extent->start_block); hfsplus_free_extents() 382 count = be32_to_cpu(extent->block_count); hfsplus_free_extents() 394 total_blocks = be32_to_cpu(fork->total_blocks); hfsplus_free_fork() 400 blocks += be32_to_cpu(fork->extents[i].block_count); hfsplus_free_fork() 416 start = be32_to_cpu(fd.key->ext.start_block); hfsplus_free_fork()
|
H A D | part_tbl.c | 82 *part_start += be32_to_cpu(p->pdStart); hfs_parse_old_pmap() 83 *part_size = be32_to_cpu(p->pdSize); hfs_parse_old_pmap() 95 int size = be32_to_cpu(pm->pmMapBlkCnt); hfs_parse_new_pmap() 103 *part_start += be32_to_cpu(pm->pmPyPartStart); hfs_parse_new_pmap() 104 *part_size = be32_to_cpu(pm->pmPartBlkCnt); hfs_parse_new_pmap()
|
H A D | btree.c | 167 tree->root = be32_to_cpu(head->root); hfs_btree_open() 168 tree->leaf_count = be32_to_cpu(head->leaf_count); hfs_btree_open() 169 tree->leaf_head = be32_to_cpu(head->leaf_head); hfs_btree_open() 170 tree->leaf_tail = be32_to_cpu(head->leaf_tail); hfs_btree_open() 171 tree->node_count = be32_to_cpu(head->node_count); hfs_btree_open() 172 tree->free_nodes = be32_to_cpu(head->free_nodes); hfs_btree_open() 173 tree->attributes = be32_to_cpu(head->attributes); hfs_btree_open()
|
H A D | inode.c | 189 i_uid_write(inode, be32_to_cpu(perms->owner)); hfsplus_get_perms() 193 i_gid_write(inode, be32_to_cpu(perms->group)); hfsplus_get_perms() 449 count += be32_to_cpu(fork->extents[i].block_count); hfsplus_inode_read_fork() 455 hip->alloc_blocks = be32_to_cpu(fork->total_blocks); hfsplus_inode_read_fork() 461 be32_to_cpu(fork->clump_size) >> sbi->alloc_blksz_shift; hfsplus_inode_read_fork() 496 inode->i_size = 2 + be32_to_cpu(folder->valence); hfsplus_cat_read_inode() 504 be32_to_cpu(folder->subfolders); hfsplus_cat_read_inode() 523 be32_to_cpu(file->permissions.dev)); hfsplus_cat_read_inode() 532 be32_to_cpu(file->permissions.dev)); hfsplus_cat_read_inode()
|
H A D | bitmap.c | 53 n = be32_to_cpu(val); hfsplus_block_allocate() 67 n = be32_to_cpu(val); hfsplus_block_allocate() 118 n = be32_to_cpu(*curr); hfsplus_block_allocate()
|
H A D | dir.c | 68 cnid = be32_to_cpu(entry.folder.id); hfsplus_lookup() 75 cnid = be32_to_cpu(entry.file.id); hfsplus_lookup() 100 be32_to_cpu(entry.file.permissions.dev); hfsplus_lookup() 183 be32_to_cpu(entry.thread.parentID), DT_DIR)) hfsplus_readdir() 193 if (be32_to_cpu(fd.key->cat.parent) != inode->i_ino) { hfsplus_readdir() 220 be32_to_cpu(entry.folder.id)) hfsplus_readdir() 223 be32_to_cpu(entry.folder.id), DT_DIR)) hfsplus_readdir() 250 be32_to_cpu(entry.file.id), type)) hfsplus_readdir()
|
H A D | super.c | 424 sbi->total_blocks = be32_to_cpu(vhdr->total_blocks); hfsplus_fill_super() 425 sbi->free_blocks = be32_to_cpu(vhdr->free_blocks); hfsplus_fill_super() 426 sbi->next_cnid = be32_to_cpu(vhdr->next_cnid); hfsplus_fill_super() 427 sbi->file_count = be32_to_cpu(vhdr->file_count); hfsplus_fill_super() 428 sbi->folder_count = be32_to_cpu(vhdr->folder_count); hfsplus_fill_super() 430 be32_to_cpu(vhdr->data_clump_sz) >> sbi->alloc_blksz_shift; hfsplus_fill_super() 434 be32_to_cpu(vhdr->rsrc_clump_sz) >> sbi->alloc_blksz_shift; hfsplus_fill_super() 526 inode = hfsplus_iget(sb, be32_to_cpu(entry.folder.id)); hfsplus_fill_super()
|
H A D | attributes.c | 42 return be32_to_cpu(k1_cnid) < be32_to_cpu(k2_cnid) ? -1 : 1; hfsplus_attr_bin_cmp_key() 270 if (cnid != be32_to_cpu(found_cnid)) __hfsplus_delete_attr() 276 switch (be32_to_cpu(record_type)) { __hfsplus_delete_attr()
|
H A D | bnode.c | 308 be32_to_cpu(desc.next), be32_to_cpu(desc.prev), hfs_bnode_dump() 325 hfs_dbg_cont(BNODE_MOD, ",%d)", be32_to_cpu(cnid)); hfs_bnode_dump() 510 node->prev = be32_to_cpu(desc->prev); hfs_bnode_find() 511 node->next = be32_to_cpu(desc->next); hfs_bnode_find() 664 const u32 volume_attr = be32_to_cpu(sbi->s_vhdr->attributes); hfs_bnode_need_zeroout()
|
H A D | xattr.c | 89 head->free_nodes = cpu_to_be32(be32_to_cpu(head->node_count) - 1); hfsplus_init_header_node() 99 if (be32_to_cpu(head->node_count) > hdr_node_map_rec_bits) { hfsplus_init_header_node() 103 desc->next = cpu_to_be32(be32_to_cpu(head->leaf_tail) + 1); hfsplus_init_header_node() 106 map_nodes = (be32_to_cpu(head->node_count) - hfsplus_init_header_node() 114 be32_to_cpu(head->node_count) - be32_to_cpu(head->free_nodes); hfsplus_init_header_node() 543 record_type = be32_to_cpu(xattr_record_type); __hfsplus_getxattr() 745 if (be32_to_cpu(attr_key.cnid) != inode->i_ino) hfsplus_listxattr()
|
H A D | bfind.c | 82 if (be32_to_cpu(cur_cnid) < be32_to_cpu(search_cnid)) hfs_find_1st_rec_by_cnid() 202 nidx = be32_to_cpu(data); hfs_brec_find()
|
H A D | catalog.c | 23 return be32_to_cpu(k1p) < be32_to_cpu(k2p) ? -1 : 1; hfsplus_cat_case_cmp_key() 36 return be32_to_cpu(k1p) < be32_to_cpu(k2p) ? -1 : 1; hfsplus_cat_bin_cmp_key() 217 be32_to_cpu(tmp.thread.parentID), hfsplus_find_cat()
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_debug.c | 42 be32_to_cpu(cmd_rsp.rx)); read_file_tgt_int_stats() 46 be32_to_cpu(cmd_rsp.rxorn)); read_file_tgt_int_stats() 50 be32_to_cpu(cmd_rsp.rxeol)); read_file_tgt_int_stats() 54 be32_to_cpu(cmd_rsp.txurn)); read_file_tgt_int_stats() 58 be32_to_cpu(cmd_rsp.txto)); read_file_tgt_int_stats() 62 be32_to_cpu(cmd_rsp.cst)); read_file_tgt_int_stats() 100 be32_to_cpu(cmd_rsp.xretries)); read_file_tgt_tx_stats() 104 be32_to_cpu(cmd_rsp.fifoerr)); read_file_tgt_tx_stats() 108 be32_to_cpu(cmd_rsp.filtered)); read_file_tgt_tx_stats() 112 be32_to_cpu(cmd_rsp.timer_exp)); read_file_tgt_tx_stats() 116 be32_to_cpu(cmd_rsp.shortretries)); read_file_tgt_tx_stats() 120 be32_to_cpu(cmd_rsp.longretries)); read_file_tgt_tx_stats() 124 be32_to_cpu(cmd_rsp.qnull)); read_file_tgt_tx_stats() 128 be32_to_cpu(cmd_rsp.encap_fail)); read_file_tgt_tx_stats() 132 be32_to_cpu(cmd_rsp.nobuf)); read_file_tgt_tx_stats() 170 be32_to_cpu(cmd_rsp.nobuf)); read_file_tgt_rx_stats() 174 be32_to_cpu(cmd_rsp.host_send)); read_file_tgt_rx_stats() 178 be32_to_cpu(cmd_rsp.host_done)); read_file_tgt_rx_stats()
|
/linux-4.4.14/drivers/usb/misc/ |
H A D | ezusb.c | 95 if (be32_to_cpu(record->addr) > fx.max_internal_adress) { ezusb_ihex_firmware_download() 96 ret = ezusb_writememory(dev, be32_to_cpu(record->addr), ezusb_ihex_firmware_download() 103 be32_to_cpu(record->addr), record->data, ezusb_ihex_firmware_download() 115 if (be32_to_cpu(record->addr) <= fx.max_internal_adress) { ezusb_ihex_firmware_download() 116 ret = ezusb_writememory(dev, be32_to_cpu(record->addr), ezusb_ihex_firmware_download() 123 be32_to_cpu(record->addr), record->data, ezusb_ihex_firmware_download()
|
H A D | emi26.c | 115 err = emi26_writememory(dev, be32_to_cpu(rec->addr), emi26_load_firmware() 135 addr = be32_to_cpu(rec->addr); emi26_load_firmware() 156 err = emi26_writememory(dev, be32_to_cpu(rec->addr), emi26_load_firmware() 173 if (!INTERNAL_RAM(be32_to_cpu(rec->addr))) { emi26_load_firmware() 174 err = emi26_writememory(dev, be32_to_cpu(rec->addr), emi26_load_firmware() 189 if (INTERNAL_RAM(be32_to_cpu(rec->addr))) { emi26_load_firmware() 190 err = emi26_writememory(dev, be32_to_cpu(rec->addr), emi26_load_firmware()
|
H A D | emi62.c | 122 err = emi62_writememory(dev, be32_to_cpu(rec->addr), emi62_load_firmware() 142 addr = be32_to_cpu(rec->addr); emi62_load_firmware() 163 err = emi62_writememory(dev, be32_to_cpu(rec->addr), emi62_load_firmware() 180 if (!INTERNAL_RAM(be32_to_cpu(rec->addr))) { emi62_load_firmware() 181 err = emi62_writememory(dev, be32_to_cpu(rec->addr), emi62_load_firmware() 196 if (INTERNAL_RAM(be32_to_cpu(rec->addr))) { emi62_load_firmware() 197 err = emi62_writememory(dev, be32_to_cpu(rec->addr), emi62_load_firmware()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_dcb_nl.c | 331 be32_to_cpu(hw_qcn->extended_enable) >> RPG_ENABLE_BIT; mlx4_en_dcbnl_ieee_getqcn() 333 be32_to_cpu(hw_qcn->rppp_max_rps); mlx4_en_dcbnl_ieee_getqcn() 335 be32_to_cpu(hw_qcn->rpg_time_reset); mlx4_en_dcbnl_ieee_getqcn() 337 be32_to_cpu(hw_qcn->rpg_byte_reset); mlx4_en_dcbnl_ieee_getqcn() 339 be32_to_cpu(hw_qcn->rpg_threshold); mlx4_en_dcbnl_ieee_getqcn() 341 be32_to_cpu(hw_qcn->rpg_max_rate); mlx4_en_dcbnl_ieee_getqcn() 343 be32_to_cpu(hw_qcn->rpg_ai_rate); mlx4_en_dcbnl_ieee_getqcn() 345 be32_to_cpu(hw_qcn->rpg_hai_rate); mlx4_en_dcbnl_ieee_getqcn() 347 be32_to_cpu(hw_qcn->rpg_gd); mlx4_en_dcbnl_ieee_getqcn() 349 be32_to_cpu(hw_qcn->rpg_min_dec_fac); mlx4_en_dcbnl_ieee_getqcn() 351 be32_to_cpu(hw_qcn->rpg_min_rate); mlx4_en_dcbnl_ieee_getqcn() 459 be32_to_cpu(hw_qcn_stats->rppp_created_rps); mlx4_en_dcbnl_ieee_getqcnstats()
|
H A D | en_port.c | 223 be32_to_cpu(mlx4_en_stats->RJBBR) + mlx4_en_DUMP_ETH_STATS() 224 be32_to_cpu(mlx4_en_stats->RCRC) + mlx4_en_DUMP_ETH_STATS() 225 be32_to_cpu(mlx4_en_stats->RRUNT) + mlx4_en_DUMP_ETH_STATS() 228 be32_to_cpu(mlx4_en_stats->RSHORT) + mlx4_en_DUMP_ETH_STATS() 239 stats->rx_dropped = be32_to_cpu(mlx4_en_stats->RDROP); mlx4_en_DUMP_ETH_STATS() 240 stats->rx_length_errors = be32_to_cpu(mlx4_en_stats->RdropLength); mlx4_en_DUMP_ETH_STATS() 242 stats->rx_crc_errors = be32_to_cpu(mlx4_en_stats->RCRC); mlx4_en_DUMP_ETH_STATS() 244 stats->rx_fifo_errors = be32_to_cpu(mlx4_en_stats->RdropOvflw); mlx4_en_DUMP_ETH_STATS() 251 stats->tx_dropped = be32_to_cpu(mlx4_en_stats->TDROP); mlx4_en_DUMP_ETH_STATS() 259 priv->pkstats.rx_jabbers = be32_to_cpu(mlx4_en_stats->RJBBR); mlx4_en_DUMP_ETH_STATS()
|
H A D | fw_qos.c | 182 *availible_vpp = (u16)be32_to_cpu(out_param->availible_vpp); mlx4_ALLOCATE_VPP_get() 185 vpp_p_up[i] = (u8)be32_to_cpu(out_param->vpp_p_up[i]); mlx4_ALLOCATE_VPP_get() 244 out_param[i].bw_share = be32_to_cpu(ctx->qos_p_up[i].bw_share); mlx4_SET_VPORT_QOS_get() 246 be32_to_cpu(ctx->qos_p_up[i].max_avg_bw); mlx4_SET_VPORT_QOS_get() 248 !!(be32_to_cpu(ctx->qos_p_up[i].enable) & 31); mlx4_SET_VPORT_QOS_get()
|
H A D | mcg.c | 206 members_count = be32_to_cpu(mgm->members_count) & 0xffffff; new_steering_entry() 207 prot = be32_to_cpu(mgm->members_count) >> 30; new_steering_entry() 351 m_count = be32_to_cpu(mgm->members_count) & 0xffffff; promisc_steering_entry() 356 u32 qpn = be32_to_cpu(mgm->qp[i]) & MGM_QPN_MASK; promisc_steering_entry() 473 members_count = be32_to_cpu(mgm->members_count) & add_promisc_qp() 475 prot = be32_to_cpu(mgm->members_count) >> 30; add_promisc_qp() 478 if ((be32_to_cpu(mgm->qp[i]) & add_promisc_qp() 626 be32_to_cpu(mgm->members_count) & remove_promisc_qp() 637 if ((be32_to_cpu(mgm->qp[i]) & remove_promisc_qp() 731 if (!(be32_to_cpu(mgm->members_count) & 0xffffff)) { find_entry() 740 be32_to_cpu(mgm->members_count) >> 30 == prot) find_entry() 744 *index = be32_to_cpu(mgm->next_gid_index) >> 6; find_entry() 887 cpu_to_be32(be32_to_cpu(spec->vxlan.vni) << 8); parse_trans_rule() 889 cpu_to_be32(be32_to_cpu(spec->vxlan.vni_mask) << 8); parse_trans_rule() 960 "VNID = %d ", be32_to_cpu(cur->vxlan.vni)); mlx4_err_rule() 1124 if (!(be32_to_cpu(mgm->members_count) & 0xffffff)) { mlx4_qp_attach_common() 1144 members_count = be32_to_cpu(mgm->members_count) & 0xffffff; mlx4_qp_attach_common() 1152 if ((be32_to_cpu(mgm->qp[i]) & MGM_QPN_MASK) == qp->qpn) { mlx4_qp_attach_common() 1246 members_count = be32_to_cpu(mgm->members_count) & 0xffffff; mlx4_qp_detach_common() 1248 if ((be32_to_cpu(mgm->qp[i]) & MGM_QPN_MASK) == qp->qpn) { mlx4_qp_detach_common() 1277 int amgm_index = be32_to_cpu(mgm->next_gid_index) >> 6; mlx4_qp_detach_common() 1299 int cur_next_index = be32_to_cpu(mgm->next_gid_index) >> 6; mlx4_qp_detach_common()
|
H A D | eq.c | 508 cqn = be32_to_cpu(eqe->event.comp.cqn) & 0xffffff; mlx4_eq_int() 525 be32_to_cpu(eqe->event.qp.qpn) mlx4_eq_int() 540 mlx4_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & mlx4_eq_int() 552 be32_to_cpu(eqe->event.srq.srqn) mlx4_eq_int() 563 be32_to_cpu(eqe->event.srq.srqn), mlx4_eq_int() 574 mlx4_srq_event(dev, be32_to_cpu(eqe->event.srq.srqn) & mlx4_eq_int() 587 port = be32_to_cpu(eqe->event.port_change.port) >> 28; mlx4_eq_int() 608 (be32_to_cpu(eqe->event.port_change.port) & 0xFFFFFFF) mlx4_eq_int() 622 (be32_to_cpu(eqe->event.port_change.port) & 0xFFFFFFF) mlx4_eq_int() 647 (be32_to_cpu(eqe->event.port_change.port) & 0xFFFFFFF) mlx4_eq_int() 665 be32_to_cpu(eqe->event.cq_err.cqn) & 0xffffff); mlx4_eq_int() 669 be32_to_cpu(eqe->event.cq_err.cqn) mlx4_eq_int() 684 be32_to_cpu(eqe->event.cq_err.cqn) mlx4_eq_int() 714 flr_slave = be32_to_cpu(eqe->event.flr_event.slave_id); mlx4_eq_int()
|
H A D | en_ethtool.c | 523 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); ptys_get_supported_port() 553 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_oper); ptys_get_active_port() 556 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); ptys_get_active_port() 749 be32_to_cpu(ptys_reg.eth_proto_cap)); ethtool_get_ptys_settings() 751 be32_to_cpu(ptys_reg.eth_proto_admin)); ethtool_get_ptys_settings() 753 be32_to_cpu(ptys_reg.eth_proto_oper)); ethtool_get_ptys_settings() 755 be32_to_cpu(ptys_reg.eth_proto_lp_adv)); ethtool_get_ptys_settings() 762 eth_proto = be32_to_cpu(ptys_reg.eth_proto_cap); ethtool_get_ptys_settings() 765 eth_proto = be32_to_cpu(ptys_reg.eth_proto_admin); ethtool_get_ptys_settings() 786 eth_proto = be32_to_cpu(ptys_reg.eth_proto_lp_adv); ethtool_get_ptys_settings() 865 be32_to_cpu(proto_cap)); speed_set_ptys_admin() 918 be32_to_cpu(proto_admin)); mlx4_en_set_settings() 925 be32_to_cpu(ptys_reg.eth_proto_admin), ret); mlx4_en_set_settings()
|
/linux-4.4.14/drivers/scsi/libsas/ |
H A D | sas_task.c | 22 be32_to_cpu(iu->sense_data_len)); sas_ssp_task_response()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
H A D | cxio_hal.h | 132 #define RSPQ_CQID(rsp) (be32_to_cpu(rsp->cq_ptrid) & 0xffff) 133 #define RSPQ_CQPTR(rsp) ((be32_to_cpu(rsp->cq_ptrid) >> 16) & 0xffff) 134 #define RSPQ_GENBIT(rsp) ((be32_to_cpu(rsp->flags) >> 16) & 1) 135 #define RSPQ_OVERFLOW(rsp) ((be32_to_cpu(rsp->flags) >> 17) & 1) 136 #define RSPQ_AN(rsp) ((be32_to_cpu(rsp->flags) >> 18) & 1) 137 #define RSPQ_SE(rsp) ((be32_to_cpu(rsp->flags) >> 19) & 1) 138 #define RSPQ_NOTIFY(rsp) ((be32_to_cpu(rsp->flags) >> 20) & 1) 139 #define RSPQ_CQBRANCH(rsp) ((be32_to_cpu(rsp->flags) >> 21) & 1) 140 #define RSPQ_CREDIT_THRESH(rsp) ((be32_to_cpu(rsp->flags) >> 22) & 1)
|
H A D | cxio_wr.h | 418 return G_FW_RIWR_OP(be32_to_cpu(wqe->op_seop_flags)); fw_riwrh_opcode() 603 #define SW_CQE(x) (G_CQE_SWCQE(be32_to_cpu((x).header))) 604 #define CQE_OOO(x) (G_CQE_OOO(be32_to_cpu((x).header))) 605 #define CQE_QPID(x) (G_CQE_QPID(be32_to_cpu((x).header))) 606 #define CQE_GENBIT(x) (G_CQE_GENBIT(be32_to_cpu((x).header))) 607 #define CQE_TYPE(x) (G_CQE_TYPE(be32_to_cpu((x).header))) 610 #define CQE_STATUS(x) (G_CQE_STATUS(be32_to_cpu((x).header))) 611 #define CQE_OPCODE(x) (G_CQE_OPCODE(be32_to_cpu((x).header))) 614 (G_CQE_OPCODE(be32_to_cpu((x).header)) == T3_SEND) || \ 615 (G_CQE_OPCODE(be32_to_cpu((x).header)) == T3_SEND_WITH_SE) || \ 616 (G_CQE_OPCODE(be32_to_cpu((x).header)) == T3_SEND_WITH_INV) || \ 617 (G_CQE_OPCODE(be32_to_cpu((x).header)) == T3_SEND_WITH_SE_INV)) 619 #define CQE_LEN(x) (be32_to_cpu((x).len)) 622 #define CQE_WRID_STAG(x) (be32_to_cpu((x).u.rcqe.stag)) 623 #define CQE_WRID_MSN(x) (be32_to_cpu((x).u.rcqe.msn))
|
/linux-4.4.14/drivers/media/usb/usbtv/ |
H A D | usbtv.h | 49 #define USBTV_MAGIC_OK(chunk) ((be32_to_cpu(chunk[0]) & 0xff000000) \ 51 #define USBTV_FRAME_ID(chunk) ((be32_to_cpu(chunk[0]) & 0x00ff0000) >> 16) 52 #define USBTV_ODD(chunk) ((be32_to_cpu(chunk[0]) & 0x0000f000) >> 15) 53 #define USBTV_CHUNK_NO(chunk) (be32_to_cpu(chunk[0]) & 0x00000fff)
|
/linux-4.4.14/fs/affs/ |
H A D | bitmap.c | 72 tmp = be32_to_cpu(*data); affs_free_block() 78 tmp = be32_to_cpu(*(__be32 *)bh->b_data); affs_free_block() 187 tmp = be32_to_cpu(*data); affs_alloc_block() 200 tmp = be32_to_cpu(*data); affs_alloc_block() 222 tmp = be32_to_cpu(*(__be32 *)bh->b_data); affs_alloc_block() 280 bm->bm_key = be32_to_cpu(bmap_blk[blk]); affs_init_bitmap() 303 bmap_bh = affs_bread(sb, be32_to_cpu(bmap_blk[blk])); affs_init_bitmap() 323 old = be32_to_cpu(((__be32 *)bh->b_data)[offset]); affs_init_bitmap() 329 //old = be32_to_cpu(*(__be32 *)bh->b_data); affs_init_bitmap()
|
H A D | dir.c | 87 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); affs_readdir() 95 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain); affs_readdir() 104 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); affs_readdir() 126 ino = be32_to_cpu(AFFS_TAIL(sb, fh_bh)->hash_chain); affs_readdir()
|
H A D | amigaffs.c | 39 hash_ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[offset]); affs_insert_hash() 45 hash_ino = be32_to_cpu(AFFS_TAIL(sb, dir_bh)->hash_chain); affs_insert_hash() 91 hash_ino = be32_to_cpu(AFFS_HEAD(bh)->table[offset]); affs_remove_hash() 99 affs_adjust_checksum(bh, be32_to_cpu(ino) - hash_ino); affs_remove_hash() 109 hash_ino = be32_to_cpu(AFFS_TAIL(sb, bh)->hash_chain); affs_remove_hash() 158 link_ino = be32_to_cpu(AFFS_TAIL(sb, bh)->link_chain); affs_remove_link() 163 dir = affs_iget(sb, be32_to_cpu(AFFS_TAIL(sb, link_bh)->parent)); affs_remove_link() 198 while ((ino = be32_to_cpu(AFFS_TAIL(sb, bh)->link_chain)) != 0) { affs_remove_link() 202 affs_adjust_checksum(bh, be32_to_cpu(ino2) - link_ino); affs_remove_link() 206 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { affs_remove_link() 287 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { affs_remove_header() 344 sum += be32_to_cpu(*ptr++); affs_checksum_block() 364 checksum += be32_to_cpu(*ptr); affs_fix_checksum()
|
H A D | inode.c | 41 if (affs_checksum_block(sb, bh) || be32_to_cpu(AFFS_HEAD(bh)->ptype) != T_SHORT) { affs_iget() 49 prot = be32_to_cpu(tail->protect); affs_iget() 90 switch (be32_to_cpu(tail->stype)) { affs_iget() 96 if (be32_to_cpu(tail->stype) == ST_USERDIR || affs_iget() 125 size = be32_to_cpu(tail->size); affs_iget() 149 = (be32_to_cpu(tail->change.days) * (24 * 60 * 60) + affs_iget() 150 be32_to_cpu(tail->change.mins) * 60 + affs_iget() 151 be32_to_cpu(tail->change.ticks) / 50 + affs_iget() 391 affs_adjust_checksum(inode_bh, block - be32_to_cpu(chain)); affs_add_entry()
|
H A D | file.c | 102 key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); affs_grow_extcache() 141 tmp = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); affs_alloc_extblock() 180 ext_key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); affs_get_extblock_slow() 260 ext_key = be32_to_cpu(AFFS_TAIL(sb, bh)->extension); affs_get_extblock_slow() 319 map_bh(bh_result, sb, (sector_t)be32_to_cpu(AFFS_BLOCK(sb, ext_bh, block))); affs_get_block() 341 u32 tmp = be32_to_cpu(AFFS_HEAD(ext_bh)->first_data); affs_get_block() 586 u32 tmp_next = be32_to_cpu(AFFS_DATA_HEAD(prev_bh)->next); affs_extent_file_ofs() 735 u32 tmp_next = be32_to_cpu(AFFS_DATA_HEAD(prev_bh)->next); affs_write_end_ofs() 769 u32 tmp_next = be32_to_cpu(AFFS_DATA_HEAD(prev_bh)->next); affs_write_end_ofs() 779 } else if (be32_to_cpu(AFFS_DATA_HEAD(bh)->size) < tmp) affs_write_end_ofs() 891 ext_key = be32_to_cpu(AFFS_TAIL(sb, ext_bh)->extension); affs_truncate() 906 affs_free_block(sb, be32_to_cpu(AFFS_BLOCK(sb, ext_bh, i))); affs_truncate() 926 tmp = be32_to_cpu(AFFS_DATA_HEAD(bh)->next); affs_truncate() 944 affs_free_block(sb, be32_to_cpu(AFFS_BLOCK(sb, ext_bh, i))); affs_truncate() 946 ext_key = be32_to_cpu(AFFS_TAIL(sb, ext_bh)->extension); affs_truncate()
|
H A D | namei.c | 201 key = be32_to_cpu(AFFS_HEAD(bh)->table[affs_hash_name(sb, dentry->d_name.name, dentry->d_name.len)]); affs_find_entry() 212 key = be32_to_cpu(AFFS_TAIL(sb, bh)->hash_chain); affs_find_entry() 235 switch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) { affs_lookup() 239 ino = be32_to_cpu(AFFS_TAIL(sb, bh)->original); affs_lookup()
|
H A D | affs.h | 17 #define AFFS_GET_HASHENTRY(data,hashkey) be32_to_cpu(((struct dir_front *)data)->hashtable[hashkey]) 275 u32 tmp = be32_to_cpu(((__be32 *)bh->b_data)[5]); affs_adjust_checksum() 281 u32 tmp = be32_to_cpu(((__be32 *)bh->b_data)[0]); affs_adjust_bitmapchecksum()
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
H A D | mobility.c | 61 dn = of_find_node_by_phandle(be32_to_cpu(phandle)); delete_dt_node() 150 dn = of_find_node_by_phandle(be32_to_cpu(phandle)); update_dt_node() 166 nprops = be32_to_cpu(upwa->nprops); update_dt_node() 175 vd = be32_to_cpu(*(__be32 *)prop_data); update_dt_node() 185 vd = be32_to_cpu(*(__be32 *)prop_data); update_dt_node() 223 parent_dn = of_find_node_by_phandle(be32_to_cpu(parent_phandle)); add_dt_node() 260 while (be32_to_cpu(*data) & NODE_ACTION_MASK) { pseries_devicetree_update() 262 u32 action = be32_to_cpu(*data) & NODE_ACTION_MASK; pseries_devicetree_update() 263 u32 node_count = be32_to_cpu(*data) & NODE_COUNT_MASK; pseries_devicetree_update()
|
H A D | hotplug-memory.c | 105 *p = be32_to_cpu(*p); dlpar_clone_drconf_property() 112 lmbs[i].drc_index = be32_to_cpu(lmbs[i].drc_index); dlpar_clone_drconf_property() 113 lmbs[i].flags = be32_to_cpu(lmbs[i].flags); dlpar_clone_drconf_property() 185 lmb_size = be32_to_cpu(regs[3]); pseries_remove_mem_node() 488 be32_to_cpu(lmbs[i].drc_index)); dlpar_memory_add_by_count() 645 lmb_size = be32_to_cpu(regs[3]); pseries_add_mem_node() 678 entries = be32_to_cpu(*p++); pseries_update_drconf_memory() 686 if ((be32_to_cpu(old_drmem[i].flags) & DRCONF_MEM_ASSIGNED) && pseries_update_drconf_memory() 687 (!(be32_to_cpu(new_drmem[i].flags) & DRCONF_MEM_ASSIGNED))) { pseries_update_drconf_memory() 692 } else if ((!(be32_to_cpu(old_drmem[i].flags) & pseries_update_drconf_memory() 694 (be32_to_cpu(new_drmem[i].flags) & pseries_update_drconf_memory()
|
H A D | dlpar.c | 56 name = (char *)ccwa + be32_to_cpu(ccwa->name_offset); dlpar_parse_cc_property() 59 prop->length = be32_to_cpu(ccwa->prop_length); dlpar_parse_cc_property() 60 value = (char *)ccwa + be32_to_cpu(ccwa->prop_offset); dlpar_parse_cc_property() 86 name = (char *)ccwa + be32_to_cpu(ccwa->name_offset); dlpar_parse_cc_node() 359 thread = be32_to_cpu(intserv[i]); for_each_present_cpu() 439 thread = be32_to_cpu(intserv[i]); for_each_present_cpu() 528 be32_to_cpu(hp_elog->_drc_u.drc_count); handle_dlpar_errorlog() 532 be32_to_cpu(hp_elog->_drc_u.drc_index); handle_dlpar_errorlog()
|
/linux-4.4.14/sound/firewire/dice/ |
H A D | dice-transaction.c | 79 clock = be32_to_cpu(info); set_clock_info() 136 *source = be32_to_cpu(info) & CLOCK_SOURCE_MASK; snd_dice_transaction_get_clock_source() 151 index = (be32_to_cpu(info) & CLOCK_RATE_MASK) >> CLOCK_RATE_SHIFT; snd_dice_transaction_get_rate() 370 dice->global_offset = be32_to_cpu(pointers[0]) * 4; snd_dice_transaction_init() 371 dice->tx_offset = be32_to_cpu(pointers[2]) * 4; snd_dice_transaction_init() 372 dice->rx_offset = be32_to_cpu(pointers[4]) * 4; snd_dice_transaction_init() 373 dice->sync_offset = be32_to_cpu(pointers[6]) * 4; snd_dice_transaction_init() 374 dice->rsrv_offset = be32_to_cpu(pointers[8]) * 4; snd_dice_transaction_init() 377 if (be32_to_cpu(pointers[1]) * 4 >= GLOBAL_CLOCK_CAPABILITIES + 4) snd_dice_transaction_init()
|
H A D | dice.c | 85 value = be32_to_cpu(pointers[i]); dice_interface_check() 98 be32_to_cpu(pointers[0]) * 4 + GLOBAL_VERSION, dice_interface_check() 106 "unknown DICE version: 0x%08x\n", be32_to_cpu(version)); dice_interface_check() 155 dice->tx_channels[mode] = be32_to_cpu(values[0]); dice_read_mode_params() 156 dice->tx_midi_ports[mode] = be32_to_cpu(values[1]); dice_read_mode_params() 163 dice->rx_channels[mode] = be32_to_cpu(values[0]); dice_read_mode_params() 164 dice->rx_midi_ports[mode] = be32_to_cpu(values[1]); dice_read_mode_params() 181 dice->clock_caps = be32_to_cpu(value); dice_read_params()
|
/linux-4.4.14/sound/soc/codecs/ |
H A D | wm_adsp.c | 1169 type = be32_to_cpu(region->type) & 0xff; wm_adsp_load() 1317 if (be32_to_cpu(val) != 0xbedead) wm_adsp_read_algs() 1319 pos + len, be32_to_cpu(val)); wm_adsp_read_algs() 1347 alg_region->alg = be32_to_cpu(id); wm_adsp_create_region() 1348 alg_region->base = be32_to_cpu(base); wm_adsp_create_region() 1380 n_algs = be32_to_cpu(adsp1_id.n_algs); wm_adsp1_setup_algs() 1381 dsp->fw_id = be32_to_cpu(adsp1_id.fw.id); wm_adsp1_setup_algs() 1384 (be32_to_cpu(adsp1_id.fw.ver) & 0xff0000) >> 16, wm_adsp1_setup_algs() 1385 (be32_to_cpu(adsp1_id.fw.ver) & 0xff00) >> 8, wm_adsp1_setup_algs() 1386 be32_to_cpu(adsp1_id.fw.ver) & 0xff, wm_adsp1_setup_algs() 1408 i, be32_to_cpu(adsp1_alg[i].alg.id), wm_adsp1_setup_algs() 1409 (be32_to_cpu(adsp1_alg[i].alg.ver) & 0xff0000) >> 16, wm_adsp1_setup_algs() 1410 (be32_to_cpu(adsp1_alg[i].alg.ver) & 0xff00) >> 8, wm_adsp1_setup_algs() 1411 be32_to_cpu(adsp1_alg[i].alg.ver) & 0xff, wm_adsp1_setup_algs() 1412 be32_to_cpu(adsp1_alg[i].dm), wm_adsp1_setup_algs() 1413 be32_to_cpu(adsp1_alg[i].zm)); wm_adsp1_setup_algs() 1424 len = be32_to_cpu(adsp1_alg[i + 1].dm); wm_adsp1_setup_algs() 1425 len -= be32_to_cpu(adsp1_alg[i].dm); wm_adsp1_setup_algs() 1431 be32_to_cpu(adsp1_alg[i].alg.id)); wm_adsp1_setup_algs() 1444 len = be32_to_cpu(adsp1_alg[i + 1].zm); wm_adsp1_setup_algs() 1445 len -= be32_to_cpu(adsp1_alg[i].zm); wm_adsp1_setup_algs() 1451 be32_to_cpu(adsp1_alg[i].alg.id)); wm_adsp1_setup_algs() 1483 n_algs = be32_to_cpu(adsp2_id.n_algs); wm_adsp2_setup_algs() 1484 dsp->fw_id = be32_to_cpu(adsp2_id.fw.id); wm_adsp2_setup_algs() 1485 dsp->fw_id_version = be32_to_cpu(adsp2_id.fw.ver); wm_adsp2_setup_algs() 1518 i, be32_to_cpu(adsp2_alg[i].alg.id), wm_adsp2_setup_algs() 1519 (be32_to_cpu(adsp2_alg[i].alg.ver) & 0xff0000) >> 16, wm_adsp2_setup_algs() 1520 (be32_to_cpu(adsp2_alg[i].alg.ver) & 0xff00) >> 8, wm_adsp2_setup_algs() 1521 be32_to_cpu(adsp2_alg[i].alg.ver) & 0xff, wm_adsp2_setup_algs() 1522 be32_to_cpu(adsp2_alg[i].xm), wm_adsp2_setup_algs() 1523 be32_to_cpu(adsp2_alg[i].ym), wm_adsp2_setup_algs() 1524 be32_to_cpu(adsp2_alg[i].zm)); wm_adsp2_setup_algs() 1535 len = be32_to_cpu(adsp2_alg[i + 1].xm); wm_adsp2_setup_algs() 1536 len -= be32_to_cpu(adsp2_alg[i].xm); wm_adsp2_setup_algs() 1542 be32_to_cpu(adsp2_alg[i].alg.id)); wm_adsp2_setup_algs() 1555 len = be32_to_cpu(adsp2_alg[i + 1].ym); wm_adsp2_setup_algs() 1556 len -= be32_to_cpu(adsp2_alg[i].ym); wm_adsp2_setup_algs() 1562 be32_to_cpu(adsp2_alg[i].alg.id)); wm_adsp2_setup_algs() 1575 len = be32_to_cpu(adsp2_alg[i + 1].zm); wm_adsp2_setup_algs() 1576 len -= be32_to_cpu(adsp2_alg[i].zm); wm_adsp2_setup_algs() 1582 be32_to_cpu(adsp2_alg[i].alg.id)); wm_adsp2_setup_algs() 1634 switch (be32_to_cpu(hdr->rev) & 0xff) { wm_adsp_load_coeff() 1639 file, be32_to_cpu(hdr->rev) & 0xff); wm_adsp_load_coeff()
|
H A D | rl6347a.c | 103 *value = be32_to_cpu(buf); rl6347a_hw_read()
|
/linux-4.4.14/arch/arm/mach-s5pv210/ |
H A D | s5pv210.c | 39 iodesc.pfn = __phys_to_pfn(be32_to_cpu(reg[0])); s5pv210_fdt_map_sys() 40 iodesc.length = be32_to_cpu(reg[1]) - 1; s5pv210_fdt_map_sys()
|
/linux-4.4.14/sound/firewire/fireworks/ |
H A D | fireworks_command.c | 151 if ((be32_to_cpu(header->version) < 1) || efw_transaction() 152 (be32_to_cpu(header->category) != category) || efw_transaction() 153 (be32_to_cpu(header->command) != command) || efw_transaction() 154 (be32_to_cpu(header->status) != EFR_STATUS_OK)) { efw_transaction() 156 be32_to_cpu(header->category), efw_transaction() 157 be32_to_cpu(header->command), efw_transaction() 158 efr_status_names[be32_to_cpu(header->status)]); efw_transaction() 169 be32_to_cpu(header->length) * sizeof(__be32) - efw_transaction()
|
H A D | fireworks_transaction.c | 82 t.seqnum = be32_to_cpu(((struct snd_efw_transaction *)cmd)->seqnum) + 1; snd_efw_transaction_run() 127 length = min_t(size_t, be32_to_cpu(t->length) * sizeof(u32), length); copy_resp_to_buf() 245 seqnum = be32_to_cpu(((struct snd_efw_transaction *)data)->seqnum); efw_response()
|
/linux-4.4.14/fs/romfs/ |
H A D | super.c | 167 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; romfs_readdir() 195 nextfh = be32_to_cpu(ri.next); romfs_readdir() 197 ino = be32_to_cpu(ri.spec); romfs_readdir() 228 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; romfs_lookup() 250 offset = be32_to_cpu(ri.next) & ROMFH_MASK; romfs_lookup() 254 if ((be32_to_cpu(ri.next) & ROMFH_TYPE) == ROMFH_HRD) romfs_lookup() 255 offset = be32_to_cpu(ri.spec) & ROMFH_MASK; romfs_lookup() 314 nextfh = be32_to_cpu(ri.next); romfs_iget() 318 pos = be32_to_cpu(ri.spec) & ROMFH_MASK; romfs_iget() 340 i->i_size = be32_to_cpu(ri.size); romfs_iget() 368 nextfh = be32_to_cpu(ri.spec); romfs_iget() 459 sum += be32_to_cpu(*ptr++); romfs_checksum() 501 img_size = be32_to_cpu(rsb->size); romfs_fill_super()
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
H A D | mthca_cq.c | 195 be32_to_cpu(cqe[0]), be32_to_cpu(cqe[1]), be32_to_cpu(cqe[2]), dump_cqe() 196 be32_to_cpu(cqe[3]), be32_to_cpu(cqe[4]), be32_to_cpu(cqe[5]), dump_cqe() 197 be32_to_cpu(cqe[6]), be32_to_cpu(cqe[7])); dump_cqe() 312 mthca_free_srq_wqe(srq, be32_to_cpu(cqe->wqe)); mthca_cq_clean() 388 be32_to_cpu(cqe->my_qpn), be32_to_cpu(cqe->wqe), handle_error_cqe() 510 cq->cqn, cq->cons_index, be32_to_cpu(cqe->my_qpn), mthca_poll_one() 511 be32_to_cpu(cqe->wqe)); mthca_poll_one() 519 if (!*cur_qp || be32_to_cpu(cqe->my_qpn) != (*cur_qp)->qpn) { mthca_poll_one() 526 be32_to_cpu(cqe->my_qpn) & mthca_poll_one() 530 be32_to_cpu(cqe->my_qpn) & 0xffffff); mthca_poll_one() 540 wqe_index = ((be32_to_cpu(cqe->wqe) - (*cur_qp)->send_wqe_offset) mthca_poll_one() 546 u32 wqe = be32_to_cpu(cqe->wqe); mthca_poll_one() 554 wqe = be32_to_cpu(cqe->wqe); mthca_poll_one() 601 entry->byte_len = be32_to_cpu(cqe->byte_cnt); mthca_poll_one() 619 entry->byte_len = be32_to_cpu(cqe->byte_cnt); mthca_poll_one() 640 entry->src_qp = be32_to_cpu(cqe->rqpn) & 0xffffff; mthca_poll_one() 642 entry->pkey_index = be32_to_cpu(cqe->imm_etype_pkey_eec) >> 16; mthca_poll_one() 644 checksum = (be32_to_cpu(cqe->rqpn) >> 24) | mthca_poll_one() 645 ((be32_to_cpu(cqe->my_ee) >> 16) & 0xff00); mthca_poll_one() 930 printk(KERN_ERR "[%2x] %08x\n", j * 4, be32_to_cpu(ctx[j])); mthca_free_cq()
|
H A D | mthca_av.c | 228 j * 4, be32_to_cpu(((__be32 *) av)[j])); mthca_create_ah() 272 header->lrh.service_level = be32_to_cpu(ah->av->sl_tclass_flowlabel) >> 28; mthca_read_ah() 277 (be32_to_cpu(ah->av->sl_tclass_flowlabel) >> 20) & 0xff; mthca_read_ah() 282 be32_to_cpu(ah->av->port_pd) >> 24, mthca_read_ah() 303 attr->sl = be32_to_cpu(ah->av->sl_tclass_flowlabel) >> 28; mthca_ah_query() 304 attr->port_num = be32_to_cpu(ah->av->port_pd) >> 24; mthca_ah_query() 312 be32_to_cpu(ah->av->sl_tclass_flowlabel) >> 20; mthca_ah_query() 314 be32_to_cpu(ah->av->sl_tclass_flowlabel) & 0xfffff; mthca_ah_query()
|
H A D | mthca_eq.c | 276 disarm_cqn = be32_to_cpu(eqe->event.comp.cqn) & 0xffffff; mthca_eq_int() 282 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, mthca_eq_int() 287 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, mthca_eq_int() 292 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, mthca_eq_int() 297 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, mthca_eq_int() 302 mthca_srq_event(dev, be32_to_cpu(eqe->event.srq.srqn) & 0xffffff, mthca_eq_int() 307 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, mthca_eq_int() 312 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, mthca_eq_int() 317 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, mthca_eq_int() 322 mthca_qp_event(dev, be32_to_cpu(eqe->event.qp.qpn) & 0xffffff, mthca_eq_int() 335 (be32_to_cpu(eqe->event.port_change.port) >> 28) & 3, mthca_eq_int() 343 be32_to_cpu(eqe->event.cq_err.cqn) & 0xffffff); mthca_eq_int() 344 mthca_cq_event(dev, be32_to_cpu(eqe->event.cq_err.cqn), mthca_eq_int()
|
H A D | mthca_mcg.c | 110 *index = be32_to_cpu(mgm->next_gid_index) >> 6; find_mgm() 268 int amgm_index_to_free = be32_to_cpu(mgm->next_gid_index) >> 6; mthca_multicast_detach() 290 int curr_next_index = be32_to_cpu(mgm->next_gid_index) >> 6; mthca_multicast_detach()
|
H A D | mthca_qp.c | 400 ib_ah_attr->port_num = (be32_to_cpu(path->port_pkey) >> 24) & 0x3; to_ib_ah_attr() 406 ib_ah_attr->sl = be32_to_cpu(path->sl_tclass_flowlabel) >> 28; to_ib_ah_attr() 416 (be32_to_cpu(path->sl_tclass_flowlabel) >> 20) & 0xff; to_ib_ah_attr() 418 be32_to_cpu(path->sl_tclass_flowlabel) & 0xfffff; to_ib_ah_attr() 456 mthca_state = be32_to_cpu(context->flags) >> 28; mthca_query_qp() 462 to_ib_mig_state((be32_to_cpu(context->flags) >> 11) & 0x3); mthca_query_qp() 463 qp_attr->qkey = be32_to_cpu(context->qkey); mthca_query_qp() 464 qp_attr->rq_psn = be32_to_cpu(context->rnr_nextrecvpsn) & 0xffffff; mthca_query_qp() 465 qp_attr->sq_psn = be32_to_cpu(context->next_send_psn) & 0xffffff; mthca_query_qp() 466 qp_attr->dest_qp_num = be32_to_cpu(context->remote_qpn) & 0xffffff; mthca_query_qp() 468 to_ib_qp_access_flags(be32_to_cpu(context->params2)); mthca_query_qp() 474 be32_to_cpu(context->alt_path.port_pkey) & 0x7f; mthca_query_qp() 478 qp_attr->pkey_index = be32_to_cpu(context->pri_path.port_pkey) & 0x7f; mthca_query_qp() 480 (be32_to_cpu(context->pri_path.port_pkey) >> 24) & 0x3; mthca_query_qp() 485 qp_attr->max_rd_atomic = 1 << ((be32_to_cpu(context->params1) >> 21) & 0x7); mthca_query_qp() 488 1 << ((be32_to_cpu(context->params2) >> 21) & 0x7); mthca_query_qp() 490 (be32_to_cpu(context->rnr_nextrecvpsn) >> 24) & 0x1f; mthca_query_qp() 492 qp_attr->retry_cnt = (be32_to_cpu(context->params1) >> 16) & 0x7; mthca_query_qp()
|
/linux-4.4.14/drivers/staging/gdm724x/ |
H A D | gdm_endian.c | 54 return be32_to_cpu(x); gdm_dev32_to_cpu()
|
/linux-4.4.14/drivers/char/tpm/ |
H A D | tpm_eventlog.h | 10 #define do_endian_conversion(x) be32_to_cpu(x)
|
H A D | tpm-interface.c | 341 count = be32_to_cpu(*((__be32 *) (buf + 2))); tpm_transmit() 342 ordinal = be32_to_cpu(*((__be32 *) (buf + 6))); tpm_transmit() 415 err = be32_to_cpu(header->return_code); tpm_transmit_cmd() 531 if (be32_to_cpu(tpm_cmd.header.out.return_code) != 0 || tpm_get_timeouts() 532 be32_to_cpu(tpm_cmd.header.out.length) tpm_get_timeouts() 536 old_timeout[0] = be32_to_cpu(tpm_cmd.params.getcap_out.cap.timeout.a); tpm_get_timeouts() 537 old_timeout[1] = be32_to_cpu(tpm_cmd.params.getcap_out.cap.timeout.b); tpm_get_timeouts() 538 old_timeout[2] = be32_to_cpu(tpm_cmd.params.getcap_out.cap.timeout.c); tpm_get_timeouts() 539 old_timeout[3] = be32_to_cpu(tpm_cmd.params.getcap_out.cap.timeout.d); tpm_get_timeouts() 588 if (be32_to_cpu(tpm_cmd.header.out.return_code) != 0 || tpm_get_timeouts() 589 be32_to_cpu(tpm_cmd.header.out.length) tpm_get_timeouts() 595 usecs_to_jiffies(be32_to_cpu(duration_cap->tpm_short)); tpm_get_timeouts() 597 usecs_to_jiffies(be32_to_cpu(duration_cap->tpm_medium)); tpm_get_timeouts() 599 usecs_to_jiffies(be32_to_cpu(duration_cap->tpm_long)); tpm_get_timeouts() 809 rc = be32_to_cpu(cmd.header.out.return_code); tpm_do_selftest() 1035 recd = be32_to_cpu(tpm_cmd.params.getrandom_out.rng_data_len); tpm_get_random()
|
H A D | tpm-sysfs.c | 74 be32_to_cpu(*((__be32 *) (data + 24)))); pubek_show() 102 num_pcrs = be32_to_cpu(cap.num_pcrs); pcrs_show() 192 be32_to_cpu(cap.manufacturer_id)); caps_show()
|
/linux-4.4.14/tools/testing/selftests/powerpc/vphn/ |
H A D | test-vphn.c | 8 #define be32_to_cpu(x) bswap_32(x) macro 13 #define be32_to_cpu(x) (x) macro 372 len = be32_to_cpu(output[0]); test_one() 380 u32 val = be32_to_cpu(output[i]); test_one()
|
/linux-4.4.14/fs/logfs/ |
H A D | super.c | 62 printk("%3x: %6x %8x", segno, be32_to_cpu(se.ec_level), dump_segfile() 63 be32_to_cpu(se.valid)); dump_segfile() 66 printk(" %6x %8x", be32_to_cpu(se.ec_level), dump_segfile() 67 be32_to_cpu(se.valid)); dump_segfile() 71 printk(" %6x %8x", be32_to_cpu(se.ec_level), dump_segfile() 72 be32_to_cpu(se.valid)); dump_segfile() 76 printk(" %6x %8x", be32_to_cpu(se.ec_level), dump_segfile() 77 be32_to_cpu(se.valid)); dump_segfile() 204 ec = be32_to_cpu(se.ec_level) >> 4; write_one_sb() 405 super->s_bad_seg_reserve = be32_to_cpu(ds->ds_bad_seg_reserve); __logfs_read_sb() 421 super->s_journal_seg[i] = be32_to_cpu(ds->ds_journal_seg[i]); __logfs_read_sb()
|
/linux-4.4.14/fs/befs/ |
H A D | endian.h | 38 return be32_to_cpu((__force __be32)n); fs32_to_cpu() 80 run.allocation_group = be32_to_cpu((__force __be32)n.allocation_group); fsrun_to_cpu()
|
/linux-4.4.14/arch/powerpc/lib/ |
H A D | locks.c | 35 yield_count = be32_to_cpu(lppaca_of(holder_cpu).yield_count); __spin_yield() 61 yield_count = be32_to_cpu(lppaca_of(holder_cpu).yield_count); __rw_yield()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
H A D | cq.c | 125 switch (be32_to_cpu(cqe->sop_drop_qpn) >> 24) { handle_good_req() 139 wc->byte_len = be32_to_cpu(cqe->byte_cnt); handle_good_req() 185 be32_to_cpu(cqe->srqn)); handle_responder() 202 wc->byte_len = be32_to_cpu(cqe->byte_cnt); handle_responder() 222 wc->ex.invalidate_rkey = be32_to_cpu(cqe->imm_inval_pkey); handle_responder() 226 wc->sl = (be32_to_cpu(cqe->flags_rqpn) >> 24) & 0xf; handle_responder() 227 wc->src_qp = be32_to_cpu(cqe->flags_rqpn) & 0xffffff; handle_responder() 229 g = (be32_to_cpu(cqe->flags_rqpn) >> 28) & 3; handle_responder() 232 u16 pkey = be32_to_cpu(cqe->imm_inval_pkey) & 0xffff; handle_responder() 248 pr_info("%08x %08x %08x %08x\n", be32_to_cpu(p[0]), dump_cqe() 249 be32_to_cpu(p[1]), be32_to_cpu(p[2]), dump_cqe() 250 be32_to_cpu(p[3])); dump_cqe() 341 byte_count = be32_to_cpu(cqe64->byte_cnt); handle_atomic() 345 *(uint32_t *)addr = be32_to_cpu(*((__be32 *)addr)); handle_atomic() 389 item->expected = be32_to_cpu(cqe->expected_trans_sig) >> 16; get_sig_err_item() 390 item->actual = be32_to_cpu(cqe->actual_trans_sig) >> 16; get_sig_err_item() 394 item->expected = be32_to_cpu(cqe->expected_reftag); get_sig_err_item() 395 item->actual = be32_to_cpu(cqe->actual_reftag); get_sig_err_item() 399 item->expected = be32_to_cpu(cqe->expected_trans_sig) & 0xffff; get_sig_err_item() 400 item->actual = be32_to_cpu(cqe->actual_trans_sig) & 0xffff; get_sig_err_item() 407 item->key = be32_to_cpu(cqe->mkey); get_sig_err_item() 527 mlx5_base_mkey(be32_to_cpu(sig_err_cqe->mkey))); mlx5_poll_one() 531 cq->mcq.cqn, be32_to_cpu(sig_err_cqe->mkey)); mlx5_poll_one()
|
H A D | odp.c | 335 key = be32_to_cpu(dseg->lkey); pagefault_data_segments() 336 byte_count = be32_to_cpu(dseg->byte_count); pagefault_data_segments() 395 ds = be32_to_cpu(ctrl->qpn_ds) & MLX5_WQE_CTRL_DS_MASK; mlx5_ib_mr_initiator_pfault_handler() 409 ctrl_wqe_index = (be32_to_cpu(ctrl->opmod_idx_opcode) & mlx5_ib_mr_initiator_pfault_handler() 419 ctrl_qpn = (be32_to_cpu(ctrl->qpn_ds) & MLX5_WQE_CTRL_QPN_MASK) >> mlx5_ib_mr_initiator_pfault_handler() 432 opcode = be32_to_cpu(ctrl->opmod_idx_opcode) & mlx5_ib_mr_initiator_pfault_handler()
|
/linux-4.4.14/fs/xfs/ |
H A D | xfs_attr_list.c | 265 if (cursor->hashval > be32_to_cpu( xfs_attr_node_list() 270 } else if (cursor->hashval <= be32_to_cpu( xfs_attr_node_list() 319 <= be32_to_cpu(btree->hashval)) { xfs_attr_node_list() 320 cursor->blkno = be32_to_cpu(btree->before); xfs_attr_node_list() 392 if (be32_to_cpu(entry->hashval) == cursor->hashval) { xfs_attr3_leaf_list_int() 398 } else if (be32_to_cpu(entry->hashval) > xfs_attr3_leaf_list_int() 419 if (be32_to_cpu(entry->hashval) != cursor->hashval) { xfs_attr3_leaf_list_int() 420 cursor->hashval = be32_to_cpu(entry->hashval); xfs_attr3_leaf_list_int() 443 int valuelen = be32_to_cpu(name_rmt->valuelen); xfs_attr3_leaf_list_int() 455 args.rmtblkno = be32_to_cpu(name_rmt->valueblk); xfs_attr3_leaf_list_int()
|
H A D | uuid.c | 42 fsid[1] = be32_to_cpu(uup->uu_timelow); uuid_getnodeuniq()
|
H A D | xfs_acl.c | 51 count = be32_to_cpu(aclp->acl_cnt); xfs_acl_from_disk() 69 acl_e->e_tag = be32_to_cpu(ace->ae_tag); xfs_acl_from_disk() 74 acl_e->e_uid = xfs_uid_to_kuid(be32_to_cpu(ace->ae_id)); xfs_acl_from_disk() 77 acl_e->e_gid = xfs_gid_to_kgid(be32_to_cpu(ace->ae_id)); xfs_acl_from_disk()
|
H A D | xfs_trace.h | 193 __entry->bt_hashval = be32_to_cpu(btree->hashval); 194 __entry->bt_before = be32_to_cpu(btree->before); 884 __entry->id = be32_to_cpu(dqp->q_core.d_id); 1510 __entry->agno = be32_to_cpu(agf->agf_seqno), 1512 __entry->length = be32_to_cpu(agf->agf_length), 1513 __entry->bno_root = be32_to_cpu(agf->agf_roots[XFS_BTNUM_BNO]), 1514 __entry->cnt_root = be32_to_cpu(agf->agf_roots[XFS_BTNUM_CNT]), 1516 be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNO]), 1518 be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]), 1519 __entry->flfirst = be32_to_cpu(agf->agf_flfirst), 1520 __entry->fllast = be32_to_cpu(agf->agf_fllast), 1521 __entry->flcount = be32_to_cpu(agf->agf_flcount), 1522 __entry->freeblks = be32_to_cpu(agf->agf_freeblks), 1523 __entry->longest = be32_to_cpu(agf->agf_longest); 2109 __entry->agno = be32_to_cpu(in_f->icl_ag); 2110 __entry->agbno = be32_to_cpu(in_f->icl_agbno); 2111 __entry->count = be32_to_cpu(in_f->icl_count); 2112 __entry->isize = be32_to_cpu(in_f->icl_isize); 2113 __entry->length = be32_to_cpu(in_f->icl_length); 2114 __entry->gen = be32_to_cpu(in_f->icl_gen);
|
H A D | xfs_fsops.c | 348 agsize - be32_to_cpu(arec->ar_startblock)); xfs_growfs_data_private() 377 agsize - be32_to_cpu(arec->ar_startblock)); xfs_growfs_data_private() 378 nfree += be32_to_cpu(arec->ar_blockcount); xfs_growfs_data_private() 453 be32_to_cpu(agi->agi_length) == mp->m_sb.sb_agblocks); xfs_growfs_data_private() 465 ASSERT(be32_to_cpu(agf->agf_length) == xfs_growfs_data_private() 466 be32_to_cpu(agi->agi_length)); xfs_growfs_data_private() 473 be32_to_cpu(agf->agf_length) - new), new); xfs_growfs_data_private()
|
H A D | xfs_log_recover.c | 300 &head->h_fs_uuid, be32_to_cpu(head->h_fmt)); xlog_header_check_dump() 582 uint h_size = be32_to_cpu(head->h_size); xlog_find_verify_log_record() 592 BTOBB(be32_to_cpu(head->h_len)) + xhdrs) xlog_find_verify_log_record() 981 log->l_curr_cycle = be32_to_cpu(rhead->h_cycle); xlog_find_tail() 1003 int h_size = be32_to_cpu(rhead->h_size); xlog_find_tail() 1004 int h_version = be32_to_cpu(rhead->h_version); xlog_find_tail() 1018 BTOBB(be32_to_cpu(rhead->h_len))) % log->l_logBBsize; xlog_find_tail() 1021 be32_to_cpu(rhead->h_num_logops) == 1) { xlog_find_tail() 1844 magic32 = be32_to_cpu(*(__be32 *)blk); xlog_recover_get_buf_lsn() 1996 magic32 = be32_to_cpu(*(__be32 *)bp->b_addr); xlog_recover_validate_buf_type() 3067 agno = be32_to_cpu(icl->icl_ag); xlog_recover_do_icreate_pass2() 3072 agbno = be32_to_cpu(icl->icl_agbno); xlog_recover_do_icreate_pass2() 3077 isize = be32_to_cpu(icl->icl_isize); xlog_recover_do_icreate_pass2() 3082 count = be32_to_cpu(icl->icl_count); xlog_recover_do_icreate_pass2() 3087 length = be32_to_cpu(icl->icl_length); xlog_recover_do_icreate_pass2() 3151 length, be32_to_cpu(icl->icl_gen)); xlog_recover_do_icreate_pass2() 3656 tid = be32_to_cpu(ohead->oh_tid); xlog_recover_ophdr_to_trans() 3670 ASSERT(be32_to_cpu(ohead->oh_len) == 0); 3715 len = be32_to_cpu(ohead->oh_len); xlog_recover_process_ophdr() 3754 end = dp + be32_to_cpu(rhead->h_len); xlog_recover_process_data() 3755 num_logops = be32_to_cpu(rhead->h_num_logops); xlog_recover_process_data() 3773 dp += be32_to_cpu(ohead->oh_len); xlog_recover_process_data() 4027 agino = be32_to_cpu(dip->di_next_unlinked); xlog_recover_process_one_iunlink() 4114 agino = be32_to_cpu(agi->agi_unlinked[bucket]); xlog_recover_process_iunlinks() 4144 crc = xlog_cksum(log, rhead, dp, be32_to_cpu(rhead->h_len)); xlog_unpack_data_crc() 4179 for (i = 0; i < BTOBB(be32_to_cpu(rhead->h_len)) && xlog_unpack_data() 4187 for ( ; i < BTOBB(be32_to_cpu(rhead->h_len)); i++) { xlog_unpack_data() 4213 (be32_to_cpu(rhead->h_version) & (~XLOG_VERSION_OKBITS))))) { xlog_valid_rec_header() 4215 __func__, be32_to_cpu(rhead->h_version)); xlog_valid_rec_header() 4220 hlen = be32_to_cpu(rhead->h_len); xlog_valid_rec_header() 4282 h_size = be32_to_cpu(rhead->h_size); xlog_do_recovery_pass() 4283 if ((be32_to_cpu(rhead->h_version) & XLOG_VERSION_2) && xlog_do_recovery_pass() 4368 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); xlog_do_recovery_pass() 4443 bblks = (int)BTOBB(be32_to_cpu(rhead->h_len)); xlog_do_recovery_pass() 4782 freeblks += be32_to_cpu(agfp->agf_freeblks) + xlog_recover_check_summary() 4783 be32_to_cpu(agfp->agf_flcount); xlog_recover_check_summary() 4794 itotal += be32_to_cpu(agi->agi_count); xlog_recover_check_summary() 4795 ifree += be32_to_cpu(agi->agi_freecount); xlog_recover_check_summary()
|
H A D | xfs_qm.c | 96 next_index = be32_to_cpu(dqp->q_core.d_id) + 1; xfs_qm_dquot_walk() 178 be32_to_cpu(dqp->q_core.d_id)); xfs_qm_dqpurge() 631 be32_to_cpu(ddqp->d_btimer) : XFS_QM_BTIMELIMIT; xfs_qm_init_quotainfo() 633 be32_to_cpu(ddqp->d_itimer) : XFS_QM_ITIMELIMIT; xfs_qm_init_quotainfo() 635 be32_to_cpu(ddqp->d_rtbtimer) : XFS_QM_RTBTIMELIMIT; xfs_qm_init_quotainfo() 1578 be32_to_cpu(dqp->q_core.d_id)); xfs_qm_dqfree_one() 1809 ip->i_d.di_uid != be32_to_cpu(udqp->q_core.d_id)) { xfs_qm_vop_chown_reserve() 1822 ip->i_d.di_gid != be32_to_cpu(gdqp->q_core.d_id)) { xfs_qm_vop_chown_reserve() 1831 xfs_get_projid(ip) != be32_to_cpu(pdqp->q_core.d_id)) { xfs_qm_vop_chown_reserve() 1919 ASSERT(ip->i_d.di_uid == be32_to_cpu(udqp->q_core.d_id)); xfs_qm_vop_create_dqattach() 1926 ASSERT(ip->i_d.di_gid == be32_to_cpu(gdqp->q_core.d_id)); xfs_qm_vop_create_dqattach() 1932 ASSERT(xfs_get_projid(ip) == be32_to_cpu(pdqp->q_core.d_id)); xfs_qm_vop_create_dqattach()
|
/linux-4.4.14/drivers/net/ethernet/sgi/ |
H A D | ioc3-eth.c | 170 #define ioc3_r_mcr() be32_to_cpu(ioc3->mcr) 173 #define ioc3_r_emcr() be32_to_cpu(ioc3->emcr) 175 #define ioc3_r_eisr() be32_to_cpu(ioc3->eisr) 177 #define ioc3_r_eier() be32_to_cpu(ioc3->eier) 179 #define ioc3_r_ercsr() be32_to_cpu(ioc3->ercsr) 181 #define ioc3_r_erbr_h() be32_to_cpu(ioc3->erbr_h) 183 #define ioc3_r_erbr_l() be32_to_cpu(ioc3->erbr_l) 185 #define ioc3_r_erbar() be32_to_cpu(ioc3->erbar) 187 #define ioc3_r_ercir() be32_to_cpu(ioc3->ercir) 189 #define ioc3_r_erpir() be32_to_cpu(ioc3->erpir) 191 #define ioc3_r_ertr() be32_to_cpu(ioc3->ertr) 193 #define ioc3_r_etcsr() be32_to_cpu(ioc3->etcsr) 195 #define ioc3_r_ersr() be32_to_cpu(ioc3->ersr) 197 #define ioc3_r_etcdc() be32_to_cpu(ioc3->etcdc) 199 #define ioc3_r_ebir() be32_to_cpu(ioc3->ebir) 201 #define ioc3_r_etbr_h() be32_to_cpu(ioc3->etbr_h) 203 #define ioc3_r_etbr_l() be32_to_cpu(ioc3->etbr_l) 205 #define ioc3_r_etcir() be32_to_cpu(ioc3->etcir) 207 #define ioc3_r_etpir() be32_to_cpu(ioc3->etpir) 209 #define ioc3_r_emar_h() be32_to_cpu(ioc3->emar_h) 211 #define ioc3_r_emar_l() be32_to_cpu(ioc3->emar_l) 213 #define ioc3_r_ehar_h() be32_to_cpu(ioc3->ehar_h) 215 #define ioc3_r_ehar_l() be32_to_cpu(ioc3->ehar_l) 217 #define ioc3_r_micr() be32_to_cpu(ioc3->micr) 219 #define ioc3_r_midr_r() be32_to_cpu(ioc3->midr_r) 221 #define ioc3_r_midr_w() be32_to_cpu(ioc3->midr_w) 591 w0 = be32_to_cpu(rxb->w0); ioc3_rx() 594 err = be32_to_cpu(rxb->err); /* It's valid ... */ ioc3_rx() 645 w0 = be32_to_cpu(rxb->w0); ioc3_rx()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
H A D | t4.h | 213 #define SW_CQE(x) (CQE_SWCQE_G(be32_to_cpu((x)->header))) 214 #define CQE_QPID(x) (CQE_QPID_G(be32_to_cpu((x)->header))) 215 #define CQE_TYPE(x) (CQE_TYPE_G(be32_to_cpu((x)->header))) 218 #define CQE_STATUS(x) (CQE_STATUS_G(be32_to_cpu((x)->header))) 219 #define CQE_OPCODE(x) (CQE_OPCODE_G(be32_to_cpu((x)->header))) 222 (CQE_OPCODE_G(be32_to_cpu((x)->header)) == FW_RI_SEND) || \ 223 (CQE_OPCODE_G(be32_to_cpu((x)->header)) == FW_RI_SEND_WITH_SE) || \ 224 (CQE_OPCODE_G(be32_to_cpu((x)->header)) == FW_RI_SEND_WITH_INV) || \ 225 (CQE_OPCODE_G(be32_to_cpu((x)->header)) == FW_RI_SEND_WITH_SE_INV)) 227 #define CQE_LEN(x) (be32_to_cpu((x)->len)) 230 #define CQE_WRID_STAG(x) (be32_to_cpu((x)->u.rcqe.stag)) 231 #define CQE_WRID_MSN(x) (be32_to_cpu((x)->u.rcqe.msn)) 237 #define CQE_WRID_HI(x) (be32_to_cpu((x)->u.gen.wrid_hi)) 238 #define CQE_WRID_LOW(x) (be32_to_cpu((x)->u.gen.wrid_low))
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | qp.c | 95 int qpn = be32_to_cpu(pf_eqe->flags_qpn) & MLX5_QPN_MASK; mlx5_eq_pagefault() 108 pfault.flags = (be32_to_cpu(pf_eqe->flags_qpn) >> MLX5_QPN_BITS) & mlx5_eq_pagefault() 110 pfault.bytes_committed = be32_to_cpu( mlx5_eq_pagefault() 121 be32_to_cpu(pf_eqe->rdma.r_key); mlx5_eq_pagefault() 125 be32_to_cpu(pf_eqe->rdma.rdma_op_len); mlx5_eq_pagefault() 213 qp->qpn = be32_to_cpu(out.qpn) & 0xffffff; mlx5_core_create_qp() 396 *xrcdn = be32_to_cpu(out.xrcdn); mlx5_core_xrcd_alloc()
|
H A D | mr.c | 88 mr->key = mlx5_idx_to_mkey(be32_to_cpu(lout.mkey) & 0xffffff) | key; mlx5_core_create_mkey() 89 mr->pd = be32_to_cpu(in->seg.flags_pd) & 0xffffff; mlx5_core_create_mkey() 92 be32_to_cpu(lout.mkey), key, mr->key); mlx5_core_create_mkey() 182 *mkey = be32_to_cpu(out.dump_fill_mkey); mlx5_core_dump_fill_mkey() 216 sig_index[i] = be32_to_cpu(out.psv_idx[i]) & 0xffffff; mlx5_core_create_psv()
|
H A D | debugfs.c | 303 param = (unsigned long)mlx5_qp_state_str(be32_to_cpu(ctx->flags) >> 28); qp_read_field() 307 param = (unsigned long)mlx5_qp_type_str((be32_to_cpu(ctx->flags) >> 16) & 0xff); qp_read_field() 345 param = (be32_to_cpu(ctx->log_pg_sz_remote_qpn) >> 24) & 0x1f; qp_read_field() 349 param = be32_to_cpu(ctx->log_pg_sz_remote_qpn) & 0xffffff; qp_read_field() 380 param = 1 << ((be32_to_cpu(ctx->log_sz_usr_page) >> 24) & 0x1f); eq_read_field() 420 param = 1 << ((be32_to_cpu(ctx->log_sz_usr_page) >> 24) & 0x1f); cq_read_field()
|
H A D | en_rx.c | 108 u16 tot_len = be32_to_cpu(cqe->byte_cnt) - ETH_HLEN; mlx5e_lro_update_hdr() 151 skb_set_hash(skb, be32_to_cpu(cqe->rss_hash_result), ht); mlx5e_skb_set_hash() 191 u32 cqe_bcnt = be32_to_cpu(cqe->byte_cnt); mlx5e_build_rx_skb() 196 lro_num_seg = be32_to_cpu(cqe->srqn) >> 24; mlx5e_build_rx_skb()
|
H A D | eq.c | 217 cqn = be32_to_cpu(eqe->data.comp.cqn) & 0xffffff; mlx5_eq_int() 229 rsn = be32_to_cpu(eqe->data.qp_srq.qp_srq_n) & 0xffffff; mlx5_eq_int() 237 rsn = be32_to_cpu(eqe->data.qp_srq.qp_srq_n) & 0xffffff; mlx5_eq_int() 244 mlx5_cmd_comp_handler(dev, be32_to_cpu(eqe->data.cmd.vector)); mlx5_eq_int() 267 cqn = be32_to_cpu(eqe->data.cq_err.cqn) & 0xffffff; mlx5_eq_int() 276 s32 npages = be32_to_cpu(eqe->data.req_pages.num_pages); mlx5_eq_int()
|
/linux-4.4.14/drivers/atm/ |
H A D | fore200e.c | 1931 tmp.section_bip = be32_to_cpu(fore200e->stats->oc3.section_bip8_errors); fore200e_fetch_stats() 1932 tmp.line_bip = be32_to_cpu(fore200e->stats->oc3.line_bip24_errors); fore200e_fetch_stats() 1933 tmp.path_bip = be32_to_cpu(fore200e->stats->oc3.path_bip8_errors); fore200e_fetch_stats() 1934 tmp.line_febe = be32_to_cpu(fore200e->stats->oc3.line_febe_errors); fore200e_fetch_stats() 1935 tmp.path_febe = be32_to_cpu(fore200e->stats->oc3.path_febe_errors); fore200e_fetch_stats() 1936 tmp.corr_hcs = be32_to_cpu(fore200e->stats->oc3.corr_hcs_errors); fore200e_fetch_stats() 1937 tmp.uncorr_hcs = be32_to_cpu(fore200e->stats->oc3.ucorr_hcs_errors); fore200e_fetch_stats() 1938 tmp.tx_cells = be32_to_cpu(fore200e->stats->aal0.cells_transmitted) + fore200e_fetch_stats() 1939 be32_to_cpu(fore200e->stats->aal34.cells_transmitted) + fore200e_fetch_stats() 1940 be32_to_cpu(fore200e->stats->aal5.cells_transmitted); fore200e_fetch_stats() 1941 tmp.rx_cells = be32_to_cpu(fore200e->stats->aal0.cells_received) + fore200e_fetch_stats() 1942 be32_to_cpu(fore200e->stats->aal34.cells_received) + fore200e_fetch_stats() 1943 be32_to_cpu(fore200e->stats->aal5.cells_received); fore200e_fetch_stats() 2951 be32_to_cpu(fore200e->stats->phy.crc_header_errors), fore200e_proc_read() 2952 be32_to_cpu(fore200e->stats->phy.framing_errors)); fore200e_proc_read() 2964 be32_to_cpu(fore200e->stats->oc3.section_bip8_errors), fore200e_proc_read() 2965 be32_to_cpu(fore200e->stats->oc3.path_bip8_errors), fore200e_proc_read() 2966 be32_to_cpu(fore200e->stats->oc3.line_bip24_errors), fore200e_proc_read() 2967 be32_to_cpu(fore200e->stats->oc3.line_febe_errors), fore200e_proc_read() 2968 be32_to_cpu(fore200e->stats->oc3.path_febe_errors), fore200e_proc_read() 2969 be32_to_cpu(fore200e->stats->oc3.corr_hcs_errors), fore200e_proc_read() 2970 be32_to_cpu(fore200e->stats->oc3.ucorr_hcs_errors)); fore200e_proc_read() 2981 be32_to_cpu(fore200e->stats->atm.cells_transmitted), fore200e_proc_read() 2982 be32_to_cpu(fore200e->stats->atm.cells_received), fore200e_proc_read() 2983 be32_to_cpu(fore200e->stats->atm.vpi_bad_range), fore200e_proc_read() 2984 be32_to_cpu(fore200e->stats->atm.vpi_no_conn), fore200e_proc_read() 2985 be32_to_cpu(fore200e->stats->atm.vci_bad_range), fore200e_proc_read() 2986 be32_to_cpu(fore200e->stats->atm.vci_no_conn)); fore200e_proc_read() 2994 be32_to_cpu(fore200e->stats->aal0.cells_transmitted), fore200e_proc_read() 2995 be32_to_cpu(fore200e->stats->aal0.cells_received), fore200e_proc_read() 2996 be32_to_cpu(fore200e->stats->aal0.cells_dropped)); fore200e_proc_read() 3012 be32_to_cpu(fore200e->stats->aal34.cells_transmitted), fore200e_proc_read() 3013 be32_to_cpu(fore200e->stats->aal34.cells_received), fore200e_proc_read() 3014 be32_to_cpu(fore200e->stats->aal34.cells_dropped), fore200e_proc_read() 3015 be32_to_cpu(fore200e->stats->aal34.cells_crc_errors), fore200e_proc_read() 3016 be32_to_cpu(fore200e->stats->aal34.cells_protocol_errors), fore200e_proc_read() 3017 be32_to_cpu(fore200e->stats->aal34.cspdus_transmitted), fore200e_proc_read() 3018 be32_to_cpu(fore200e->stats->aal34.cspdus_received), fore200e_proc_read() 3019 be32_to_cpu(fore200e->stats->aal34.cspdus_dropped), fore200e_proc_read() 3020 be32_to_cpu(fore200e->stats->aal34.cspdus_protocol_errors)); fore200e_proc_read() 3036 be32_to_cpu(fore200e->stats->aal5.cells_transmitted), fore200e_proc_read() 3037 be32_to_cpu(fore200e->stats->aal5.cells_received), fore200e_proc_read() 3038 be32_to_cpu(fore200e->stats->aal5.cells_dropped), fore200e_proc_read() 3039 be32_to_cpu(fore200e->stats->aal5.congestion_experienced), fore200e_proc_read() 3040 be32_to_cpu(fore200e->stats->aal5.cspdus_transmitted), fore200e_proc_read() 3041 be32_to_cpu(fore200e->stats->aal5.cspdus_received), fore200e_proc_read() 3042 be32_to_cpu(fore200e->stats->aal5.cspdus_dropped), fore200e_proc_read() 3043 be32_to_cpu(fore200e->stats->aal5.cspdus_crc_errors), fore200e_proc_read() 3044 be32_to_cpu(fore200e->stats->aal5.cspdus_protocol_errors)); fore200e_proc_read() 3055 be32_to_cpu(fore200e->stats->aux.small_b1_failed), fore200e_proc_read() 3056 be32_to_cpu(fore200e->stats->aux.large_b1_failed), fore200e_proc_read() 3057 be32_to_cpu(fore200e->stats->aux.small_b2_failed), fore200e_proc_read() 3058 be32_to_cpu(fore200e->stats->aux.large_b2_failed), fore200e_proc_read() 3059 be32_to_cpu(fore200e->stats->aux.rpd_alloc_failed), fore200e_proc_read()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
H A D | cq.c | 499 be32_to_cpu(buf[0]), be32_to_cpu(buf[1]), be32_to_cpu(buf[2]), dump_cqe() 500 be32_to_cpu(buf[3]), be32_to_cpu(buf[4]), be32_to_cpu(buf[5]), dump_cqe() 501 be32_to_cpu(buf[6]), be32_to_cpu(buf[7])); dump_cqe() 511 be32_to_cpu(cqe->my_qpn), be16_to_cpu(cqe->wqe_index), mlx4_ib_handle_error_cqe() 590 wc->src_qp = be32_to_cpu(hdr->tun.flags_src_qp) & 0xFFFFFF; use_tunnel_data() 715 (be32_to_cpu(cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK) != (*cur_qp)->mqp.qpn) { mlx4_ib_poll_one() 722 be32_to_cpu(cqe->vlan_my_qpn)); mlx4_ib_poll_one() 725 cq->mcq.cqn, be32_to_cpu(cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK); mlx4_ib_poll_one() 736 g_mlpath_rqpn = be32_to_cpu(cqe->g_mlpath_rqpn); mlx4_ib_poll_one() 796 wc->byte_len = be32_to_cpu(cqe->byte_cnt); mlx4_ib_poll_one() 828 wc->byte_len = be32_to_cpu(cqe->byte_cnt); mlx4_ib_poll_one() 839 wc->ex.invalidate_rkey = be32_to_cpu(cqe->immed_rss_invalid); mlx4_ib_poll_one() 864 g_mlpath_rqpn = be32_to_cpu(cqe->g_mlpath_rqpn); mlx4_ib_poll_one() 868 wc->pkey_index = be32_to_cpu(cqe->immed_rss_invalid) & 0x7f; mlx4_ib_poll_one() 873 if (be32_to_cpu(cqe->vlan_my_qpn) & mlx4_ib_poll_one() 961 if ((be32_to_cpu(cqe->vlan_my_qpn) & MLX4_CQE_QPN_MASK) == qpn) { __mlx4_ib_cq_clean()
|
H A D | ah.c | 164 ah_attr->port_num = be32_to_cpu(ah->av.ib.port_pd) >> 24; mlx4_ib_query_ah() 167 ah_attr->sl = be32_to_cpu(ah->av.eth.sl_tclass_flowlabel) >> 29; mlx4_ib_query_ah() 169 ah_attr->sl = be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) >> 28; mlx4_ib_query_ah() 180 be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) >> 20; mlx4_ib_query_ah() 182 be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) & 0xfffff; mlx4_ib_query_ah()
|
H A D | mcg.c | 414 (be32_to_cpu(src->sl_flowlabel_hoplimit) & 0xf0000000) != cmp_rec() 415 (be32_to_cpu(dst->sl_flowlabel_hoplimit) & 0xf0000000)) cmp_rec() 418 (be32_to_cpu(src->sl_flowlabel_hoplimit) & 0x0fffff00) != cmp_rec() 419 (be32_to_cpu(dst->sl_flowlabel_hoplimit) & 0x0fffff00)) cmp_rec() 422 (be32_to_cpu(src->sl_flowlabel_hoplimit) & 0x000000ff) != cmp_rec() 423 (be32_to_cpu(dst->sl_flowlabel_hoplimit) & 0x000000ff)) cmp_rec() 1031 be32_to_cpu(group->rec.qkey), sysfs_show_group() 1037 (be32_to_cpu(group->rec.sl_flowlabel_hoplimit) & 0xf0000000) >> 28, sysfs_show_group() 1038 (be32_to_cpu(group->rec.sl_flowlabel_hoplimit) & 0x0fffff00) >> 8, sysfs_show_group() 1039 be32_to_cpu(group->rec.sl_flowlabel_hoplimit) & 0x000000ff, sysfs_show_group()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | pci-calgary_64.c | 594 val = be32_to_cpu(readl(target)); calioc2_tce_cache_blast() 612 val = be32_to_cpu(readl(target)); calioc2_tce_cache_blast() 628 val = be32_to_cpu(readl(target)); calioc2_tce_cache_blast() 631 val = be32_to_cpu(readl(target)); calioc2_tce_cache_blast() 642 val = be32_to_cpu(readl(target)); calioc2_tce_cache_blast() 651 val = be32_to_cpu(readl(target)); calioc2_tce_cache_blast() 678 low = be32_to_cpu(readl(target)); calgary_reserve_peripheral_mem_1() 680 high = be32_to_cpu(readl(target)); calgary_reserve_peripheral_mem_1() 682 sizelow = be32_to_cpu(readl(target)); calgary_reserve_peripheral_mem_1() 702 val32 = be32_to_cpu(readl(target)); calgary_reserve_peripheral_mem_2() 707 low = be32_to_cpu(readl(target)); calgary_reserve_peripheral_mem_2() 709 high = be32_to_cpu(readl(target)); calgary_reserve_peripheral_mem_2() 711 sizelow = be32_to_cpu(readl(target)); calgary_reserve_peripheral_mem_2() 713 sizehigh = be32_to_cpu(readl(target)); calgary_reserve_peripheral_mem_2() 836 csr = be32_to_cpu(readl(target)); calgary_dump_error_regs() 839 plssr = be32_to_cpu(readl(target)); calgary_dump_error_regs() 858 csr = be32_to_cpu(readl(target)); calioc2_dump_error_regs() 861 plssr = be32_to_cpu(readl(target)); calioc2_dump_error_regs() 864 csmr = be32_to_cpu(readl(target)); calioc2_dump_error_regs() 867 mck = be32_to_cpu(readl(target)); calioc2_dump_error_regs() 880 errregs[i] = be32_to_cpu(readl(target)); calioc2_dump_error_regs() 887 rcstat = be32_to_cpu(readl(target)); calioc2_dump_error_regs() 901 val32 = be32_to_cpu(readl(target)); calgary_watchdog() 913 val32 = be32_to_cpu(readl(target)); calgary_watchdog() 998 val32 = be32_to_cpu(readl(target)); calgary_enable_translation() 1030 val32 = be32_to_cpu(readl(target)); calgary_disable_translation() 1110 val = be32_to_cpu(readl(target)); calgary_locate_bbars()
|
/linux-4.4.14/fs/jbd2/ |
H A D | recovery.c | 266 be32_to_cpu(sb->s_sequence)); jbd2_journal_recover() 267 journal->j_transaction_sequence = be32_to_cpu(sb->s_sequence) + 1; jbd2_journal_recover() 329 be32_to_cpu(journal->j_superblock->s_sequence); jbd2_journal_skip_recovery() 344 unsigned long long block = be32_to_cpu(tag->t_blocknr); read_tag_block() 346 block |= (u64)be32_to_cpu(tag->t_blocknr_high) << 32; read_tag_block() 443 next_commit_ID = be32_to_cpu(sb->s_sequence); do_one_pass() 444 next_log_block = be32_to_cpu(sb->s_start); do_one_pass() 504 blocktype = be32_to_cpu(tmp->h_blocktype); do_one_pass() 505 sequence = be32_to_cpu(tmp->h_sequence); do_one_pass() 602 be32_to_cpu(tmp->h_sequence))) { do_one_pass() 701 be32_to_cpu(cbh->h_chksum[0]); do_one_pass() 847 rcount = be32_to_cpu(header->r_count); scan_revoke_records() 866 blocknr = be32_to_cpu(* ((__be32 *) (bh->b_data+offset))); scan_revoke_records()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
H A D | ipath_uc.c | 261 psn = be32_to_cpu(ohdr->bth[2]); ipath_uc_rcv() 274 psn = be32_to_cpu(((__be32 *) data)[0]); ipath_uc_rcv() 277 psn = be32_to_cpu(ohdr->bth[2]); ipath_uc_rcv() 283 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; ipath_uc_rcv() 394 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; 437 qp->r_len = be32_to_cpu(reth->length); 440 u32 rkey = be32_to_cpu(reth->rkey); 496 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; 522 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3;
|
H A D | ipath_rc.c | 1149 aeth = be32_to_cpu(ohdr->u.aeth); ipath_rc_rcv_resp() 1151 aeth = be32_to_cpu(((__be32 *) data)[0]); ipath_rc_rcv_resp() 1170 aeth = be32_to_cpu(ohdr->u.aeth); ipath_rc_rcv_resp() 1172 aeth = be32_to_cpu(((__be32 *) data)[0]); ipath_rc_rcv_resp() 1179 val = ((u64) be32_to_cpu(p[0]) << 32) | ipath_rc_rcv_resp() 1180 be32_to_cpu(p[1]); ipath_rc_rcv_resp() 1242 aeth = be32_to_cpu(ohdr->u.aeth); 1244 aeth = be32_to_cpu(((__be32 *) data)[0]); 1248 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; 1279 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; 1292 aeth = be32_to_cpu(ohdr->u.aeth); 1294 aeth = be32_to_cpu(((__be32 *) data)[0]); 1438 len = be32_to_cpu(reth->length); OP() 1442 u32 rkey = be32_to_cpu(reth->rkey); OP() 1593 psn = be32_to_cpu(ohdr->bth[2]); ipath_rc_rcv() 1605 psn = be32_to_cpu(((__be32 *) data)[0]); ipath_rc_rcv() 1608 psn = be32_to_cpu(ohdr->bth[2]); ipath_rc_rcv() 1617 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; ipath_rc_rcv() 1719 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; 1765 qp->r_len = be32_to_cpu(reth->length); 1768 u32 rkey = be32_to_cpu(reth->rkey); 1821 len = be32_to_cpu(reth->length); OP() 1823 u32 rkey = be32_to_cpu(reth->rkey); OP() 1895 vaddr = ((u64) be32_to_cpu(ateth->vaddr[0]) << 32) | OP() 1896 be32_to_cpu(ateth->vaddr[1]); OP() 1899 rkey = be32_to_cpu(ateth->rkey); OP()
|
H A D | ipath_ud.c | 425 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); ipath_ud_rcv() 426 src_qp = be32_to_cpu(ohdr->u.ud.deth[1]); ipath_ud_rcv() 438 qkey = be32_to_cpu(((__be32 *) data)[1]); ipath_ud_rcv() 439 src_qp = be32_to_cpu(((__be32 *) data)[2]); ipath_ud_rcv() 442 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); ipath_ud_rcv() 443 src_qp = be32_to_cpu(ohdr->u.ud.deth[1]); ipath_ud_rcv() 478 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; ipath_ud_rcv() 497 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; ipath_ud_rcv()
|
/linux-4.4.14/sound/firewire/digi00x/ |
H A D | digi00x-stream.c | 43 data = be32_to_cpu(reg) & 0x0f; snd_dg00x_stream_get_local_rate() 82 *clock = be32_to_cpu(reg) & 0x0f; snd_dg00x_stream_get_clock() 98 *detect = be32_to_cpu(reg) > 0; snd_dg00x_stream_check_external_clock() 116 data = be32_to_cpu(reg) & 0x0f; snd_dg00x_stream_get_external_rate() 146 curr = be32_to_cpu(data); begin_session()
|
H A D | digi00x-proc.c | 21 *mode = be32_to_cpu(data) & 0x01; get_optical_iface_mode()
|
H A D | digi00x-transaction.c | 52 dg00x->msg = be32_to_cpu(*buf); handle_unknown_message()
|
/linux-4.4.14/drivers/mtd/ |
H A D | ofpart.c | 183 (*pparts)[i].offset = be32_to_cpu(part->offset); parse_ofoldpart_partitions() 184 (*pparts)[i].size = be32_to_cpu(part->len) & ~1; parse_ofoldpart_partitions() 186 if (be32_to_cpu(part->len) & 1) parse_ofoldpart_partitions()
|
/linux-4.4.14/drivers/pci/hotplug/ |
H A D | rpaphp_core.c | 227 for (i = 0; i < be32_to_cpu(indexes[0]); i++) { rpaphp_get_drc_props() 234 *drc_index = be32_to_cpu(*my_index); rpaphp_get_drc_props() 236 *drc_power_domain = be32_to_cpu(domains[i+1]); rpaphp_get_drc_props() 326 for (i = 0; i < be32_to_cpu(indexes[0]); i++) { rpaphp_add_slot() 329 index = be32_to_cpu(indexes[i + 1]); rpaphp_add_slot() 331 be32_to_cpu(power_domains[i + 1])); rpaphp_add_slot()
|
/linux-4.4.14/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_marshal.c | 100 nchunks = be32_to_cpu(ary->wc_nchunks); decode_write_list() 134 nchunks = be32_to_cpu(ary->wc_nchunks); decode_reply_array() 172 be32_to_cpu(rmsgp->rm_body.rm_padded.rm_align); svc_rdma_xdr_decode_req() 174 be32_to_cpu(rmsgp->rm_body.rm_padded.rm_thresh); svc_rdma_xdr_decode_req() 238 &wr_ary->wc_array[be32_to_cpu(wr_ary->wc_nchunks)]. svc_rdma_xdr_get_reply_hdr_len() 247 &wr_ary->wc_array[be32_to_cpu(wr_ary->wc_nchunks)]; svc_rdma_xdr_get_reply_hdr_len()
|
H A D | svc_rdma_sendto.c | 196 int chunk = be32_to_cpu(wr_ary->wc_nchunks); svc_rdma_get_reply_array() 328 nchunks = be32_to_cpu(arg_ary->wc_nchunks); send_write_chunks() 336 write_len = min(xfer_len, be32_to_cpu(arg_ch->rs_length)); send_write_chunks() 348 be32_to_cpu(arg_ch->rs_handle), send_write_chunks() 396 nchunks = be32_to_cpu(arg_ary->wc_nchunks); send_reply_chunks() 402 write_len = min(xfer_len, be32_to_cpu(ch->rs_length)); send_reply_chunks() 413 be32_to_cpu(ch->rs_handle), send_reply_chunks()
|
H A D | rpc_rdma.c | 581 i = be32_to_cpu(**iptrp); rpcrdma_count_chunks() 593 be32_to_cpu(seg->rs_length), ifdebug() 595 be32_to_cpu(seg->rs_handle)); ifdebug() 597 total_len += be32_to_cpu(seg->rs_length); 810 be32_to_cpu(headerp->rm_xid)); rpcrdma_reply_handler() 881 __func__, be32_to_cpu(headerp->rm_type), rpcrdma_reply_handler() 891 credits = be32_to_cpu(headerp->rm_credit); rpcrdma_reply_handler() 928 __func__, be32_to_cpu(headerp->rm_vers)); rpcrdma_reply_handler() 934 __func__, be32_to_cpu(headerp->rm_xid), rpcrdma_reply_handler() 942 __func__, rep, req, be32_to_cpu(headerp->rm_xid)); rpcrdma_reply_handler()
|
/linux-4.4.14/drivers/mmc/host/ |
H A D | of_mmc_spi.c | 97 mask = mmc_vddrange_to_ocrmask(be32_to_cpu(voltage_ranges[j]), mmc_spi_get_pdata() 98 be32_to_cpu(voltage_ranges[j + 1])); mmc_spi_get_pdata()
|
/linux-4.4.14/drivers/usb/usbip/ |
H A D | usbip_common.c | 464 base->command = be32_to_cpu(base->command); correct_endian_basic() 465 base->seqnum = be32_to_cpu(base->seqnum); correct_endian_basic() 466 base->devid = be32_to_cpu(base->devid); correct_endian_basic() 467 base->direction = be32_to_cpu(base->direction); correct_endian_basic() 468 base->ep = be32_to_cpu(base->ep); correct_endian_basic() 483 pdu->transfer_flags = be32_to_cpu(pdu->transfer_flags); correct_endian_cmd_submit() 516 pdu->seqnum = be32_to_cpu(pdu->seqnum); correct_endian_cmd_unlink() 571 iso->offset = be32_to_cpu(iso->offset); usbip_iso_packet_correct_endian() 572 iso->length = be32_to_cpu(iso->length); usbip_iso_packet_correct_endian() 573 iso->status = be32_to_cpu(iso->status); usbip_iso_packet_correct_endian() 574 iso->actual_length = be32_to_cpu(iso->actual_length); usbip_iso_packet_correct_endian()
|
/linux-4.4.14/drivers/target/sbp/ |
H A D | sbp_target.c | 86 *guid = (u64)be32_to_cpu(high) << 32 | be32_to_cpu(low); read_peer_guid() 303 LOGIN_ORB_LUN(be32_to_cpu(req->orb.misc)), &ret); sbp_management_request_login() 306 LOGIN_ORB_LUN(be32_to_cpu(req->orb.misc))); sbp_management_request_login() 356 if (LOGIN_ORB_EXCLUSIVE(be32_to_cpu(req->orb.misc)) && sbp_management_request_login() 423 1 << LOGIN_ORB_RECONNECT(be32_to_cpu(req->orb.misc)), sbp_management_request_login() 441 login->exclusive = LOGIN_ORB_EXCLUSIVE(be32_to_cpu(req->orb.misc)); sbp_management_request_login() 476 LOGIN_ORB_RESPONSE_LENGTH(be32_to_cpu(req->orb.length)), sbp_management_request_login() 543 RECONNECT_ORB_LOGIN_ID(be32_to_cpu(req->orb.misc))); sbp_management_request_reconnect() 588 id = LOGOUT_ORB_LOGIN_ID(be32_to_cpu(req->orb.misc)); sbp_management_request_logout() 894 be32_to_cpu(req->orb.misc)); tgt_agent_process_work() 899 switch (ORB_REQUEST_FORMAT(be32_to_cpu(req->orb.misc))) { tgt_agent_process_work() 995 if (be32_to_cpu(req->orb.next_orb.high) & 0x80000000) { tgt_agent_fetch_work() 1157 if (!CMDBLK_ORB_PG_TBL_PRESENT(be32_to_cpu(req->orb.misc))) sbp_fetch_page_table() 1160 pg_tbl_sz = CMDBLK_ORB_DATA_SIZE(be32_to_cpu(req->orb.misc)) * sbp_fetch_page_table() 1184 data_size = CMDBLK_ORB_DATA_SIZE(be32_to_cpu(req->orb.misc)); sbp_calc_data_length_direction() 1185 direction = CMDBLK_ORB_DIRECTION(be32_to_cpu(req->orb.misc)); sbp_calc_data_length_direction() 1275 max_payload = 4 << CMDBLK_ORB_MAX_PAYLOAD(be32_to_cpu(req->orb.misc)); sbp_rw_data() 1276 speed = CMDBLK_ORB_SPEED(be32_to_cpu(req->orb.misc)); sbp_rw_data() 1278 pg_size = CMDBLK_ORB_PG_SIZE(be32_to_cpu(req->orb.misc)); sbp_rw_data() 1292 num_pte = CMDBLK_ORB_DATA_SIZE(be32_to_cpu(req->orb.misc)); sbp_rw_data() 1310 be32_to_cpu(pte->segment_base_lo); sbp_rw_data() 1351 length = (((be32_to_cpu(req->status.status) >> 24) & 0x07) + 1) * 4; sbp_send_status() 1477 be32_to_cpu(req->orb.misc), be32_to_cpu(req->orb.length), sbp_mgt_agent_process() 1480 if (!ORB_NOTIFY(be32_to_cpu(req->orb.misc)) || sbp_mgt_agent_process() 1481 ORB_REQUEST_FORMAT(be32_to_cpu(req->orb.misc)) != 0) { sbp_mgt_agent_process() 1486 switch (MANAGEMENT_ORB_FUNCTION(be32_to_cpu(req->orb.misc))) { sbp_mgt_agent_process() 1551 MANAGEMENT_ORB_FUNCTION(be32_to_cpu(req->orb.misc))); sbp_mgt_agent_process()
|
H A D | sbp_target.h | 189 return (u64)(be32_to_cpu(ptr->high) & 0x0000ffff) << 32 | sbp2_pointer_to_addr() 190 (be32_to_cpu(ptr->low) & 0xfffffffc); sbp2_pointer_to_addr()
|
/linux-4.4.14/drivers/scsi/ |
H A D | ipr.c | 1473 u32 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); ipr_process_ccn() 1574 be32_to_cpu(vpd->wwid[0]), be32_to_cpu(vpd->wwid[1])); ipr_log_ext_vpd_compact() 1587 ipr_err(" WWN: %08X%08X\n", be32_to_cpu(vpd->wwid[0]), ipr_log_ext_vpd() 1588 be32_to_cpu(vpd->wwid[1])); ipr_log_ext_vpd() 1622 be32_to_cpu(error->ioa_data[0]), ipr_log_enhanced_cache_error() 1623 be32_to_cpu(error->ioa_data[1]), ipr_log_enhanced_cache_error() 1624 be32_to_cpu(error->ioa_data[2])); ipr_log_enhanced_cache_error() 1654 be32_to_cpu(error->ioa_data[0]), ipr_log_cache_error() 1655 be32_to_cpu(error->ioa_data[1]), ipr_log_cache_error() 1656 be32_to_cpu(error->ioa_data[2])); ipr_log_cache_error() 1675 errors_logged = be32_to_cpu(error->errors_logged); ipr_log_enhanced_config_error() 1678 be32_to_cpu(error->errors_detected), errors_logged); ipr_log_enhanced_config_error() 1716 errors_logged = be32_to_cpu(error->errors_logged); ipr_log_sis64_config_error() 1719 be32_to_cpu(error->errors_detected), errors_logged); ipr_log_sis64_config_error() 1758 errors_logged = be32_to_cpu(error->errors_logged); ipr_log_config_error() 1761 be32_to_cpu(error->errors_detected), errors_logged); ipr_log_config_error() 1781 be32_to_cpu(dev_entry->ioa_data[0]), ipr_log_config_error() 1782 be32_to_cpu(dev_entry->ioa_data[1]), ipr_log_config_error() 1783 be32_to_cpu(dev_entry->ioa_data[2]), ipr_log_config_error() 1784 be32_to_cpu(dev_entry->ioa_data[3]), ipr_log_config_error() 1785 be32_to_cpu(dev_entry->ioa_data[4])); ipr_log_config_error() 1819 num_entries = min_t(u32, be32_to_cpu(error->num_entries), ipr_log_enhanced_array_error() 1826 if (be32_to_cpu(error->exposed_mode_adn) == i) ipr_log_enhanced_array_error() 1875 if (be32_to_cpu(error->exposed_mode_adn) == i) ipr_log_array_error() 1916 be32_to_cpu(data[i]), ipr_log_hex_data() 1917 be32_to_cpu(data[i+1]), ipr_log_hex_data() 1918 be32_to_cpu(data[i+2]), ipr_log_hex_data() 1919 be32_to_cpu(data[i+3])); ipr_log_hex_data() 1945 be32_to_cpu(hostrcb->hcam.u.error.prc)); ipr_log_enhanced_dual_ioa_error() 1948 be32_to_cpu(hostrcb->hcam.length) - ipr_log_enhanced_dual_ioa_error() 1971 be32_to_cpu(hostrcb->hcam.u.error.prc)); ipr_log_dual_ioa_error() 1974 be32_to_cpu(hostrcb->hcam.length) - ipr_log_dual_ioa_error() 2157 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); ipr_log_path_elem() 2163 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); ipr_log_path_elem() 2169 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); ipr_log_path_elem() 2175 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); ipr_log_path_elem() 2181 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); ipr_log_path_elem() 2191 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); ipr_log_path_elem() 2227 be32_to_cpu(cfg->wwid[0]), ipr_log64_path_elem() 2228 be32_to_cpu(cfg->wwid[1])); ipr_log64_path_elem() 2237 be32_to_cpu(cfg->wwid[0]), be32_to_cpu(cfg->wwid[1])); ipr_log64_path_elem() 2260 add_len = be32_to_cpu(hostrcb->hcam.length) - ipr_log_fabric_error() 2354 add_len = be32_to_cpu(hostrcb->hcam.length) - ipr_log_sis64_fabric_error() 2383 be32_to_cpu(hostrcb->hcam.length)); ipr_log_generic_error() 2404 be32_to_cpu(error->wwn[0]), be32_to_cpu(error->wwn[1]), ipr_log_sis64_device_error() 2405 be32_to_cpu(error->wwn[2]), be32_to_cpu(error->wwn[3])); ipr_log_sis64_device_error() 2419 ipr_log_hex_data(ioa_cfg, error->ioa_data, be32_to_cpu(error->length_of_error)); ipr_log_sis64_device_error() 2468 ioasc = be32_to_cpu(hostrcb->hcam.u.error64.fd_ioasc); ipr_handle_log_data() 2470 ioasc = be32_to_cpu(hostrcb->hcam.u.error.fd_ioasc); ipr_handle_log_data() 2488 if (((be32_to_cpu(error->sense_data[0]) & 0x0000ff00) >> 8) == ILLEGAL_REQUEST && ipr_handle_log_data() 2500 if (be32_to_cpu(hostrcb->hcam.length) > sizeof(hostrcb->hcam.u.raw)) ipr_handle_log_data() 2569 u32 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); ipr_process_error() 2573 fd_ioasc = be32_to_cpu(hostrcb->hcam.u.error64.fd_ioasc); ipr_process_error() 2575 fd_ioasc = be32_to_cpu(hostrcb->hcam.u.error.fd_ioasc); ipr_process_error() 3142 if (rc || ((be32_to_cpu(sdt->hdr.state) != IPR_FMT3_SDT_READY_TO_USE) && ipr_get_ioa_dump() 3143 (be32_to_cpu(sdt->hdr.state) != IPR_FMT2_SDT_READY_TO_USE))) { ipr_get_ioa_dump() 3146 rc, be32_to_cpu(sdt->hdr.state)); ipr_get_ioa_dump() 3153 num_entries = be32_to_cpu(sdt->hdr.num_entries_used); ipr_get_ioa_dump() 3174 sdt_word = be32_to_cpu(sdt->entry[i].start_token); ipr_get_ioa_dump() 3176 bytes_to_copy = be32_to_cpu(sdt->entry[i].end_token); ipr_get_ioa_dump() 3179 end_off = be32_to_cpu(sdt->entry[i].end_token); ipr_get_ioa_dump() 4025 src = (u8 *)image_hdr + be32_to_cpu(image_hdr->header_length); ipr_store_update_fw() 4026 dnld_size = fw_entry->size - be32_to_cpu(image_hdr->header_length); ipr_store_update_fw() 4170 (be32_to_cpu(dump->ioa_dump.sdt.hdr.num_entries_used) * ipr_read_dump() 5066 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); ipr_device_reset() 5364 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); 5540 while ((be32_to_cpu(*hrr_queue->hrrq_curr) & IPR_HRRQ_TOGGLE_BIT) == ipr_process_hrrq() 5543 cmd_index = (be32_to_cpu(*hrr_queue->hrrq_curr) & ipr_process_hrrq() 5556 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); ipr_process_hrrq() 5698 if ((be32_to_cpu(*hrrq->hrrq_curr) & IPR_HRRQ_TOGGLE_BIT) == ipr_isr_mhrrq() 5706 if ((be32_to_cpu(*hrrq->hrrq_curr) & IPR_HRRQ_TOGGLE_BIT) == ipr_isr_mhrrq() 5850 u32 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); ipr_erp_done() 5915 u32 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); ipr_erp_request_sense() 5996 ioasc = be32_to_cpu(ioasa->hdr.ioasc) & IPR_IOASC_IOASC_MASK; ipr_dump_ioasa() 5997 fd_ioasc = be32_to_cpu(ioasa->hdr.fd_ioasc) & IPR_IOASC_IOASC_MASK; ipr_dump_ioasa() 6034 be32_to_cpu(ioasa_data[i]), ipr_dump_ioasa() 6035 be32_to_cpu(ioasa_data[i+1]), ipr_dump_ioasa() 6036 be32_to_cpu(ioasa_data[i+2]), ipr_dump_ioasa() 6037 be32_to_cpu(ioasa_data[i+3])); ipr_dump_ioasa() 6055 u32 ioasc = be32_to_cpu(ioasa->hdr.ioasc); ipr_gen_sense() 6077 failing_lba = be32_to_cpu(ioasa->u.vset.failing_lba_hi); ipr_gen_sense() 6084 failing_lba = be32_to_cpu(ioasa->u.vset.failing_lba_lo); ipr_gen_sense() 6098 (be32_to_cpu(ioasa->hdr.ioasc_specific) & IPR_FIELD_POINTER_VALID)) { ipr_gen_sense() 6109 be32_to_cpu(ioasa->hdr.ioasc_specific)) >> 8) & 0xff; ipr_gen_sense() 6112 be32_to_cpu(ioasa->hdr.ioasc_specific)) & 0xff; ipr_gen_sense() 6116 failing_lba = be32_to_cpu(ioasa->u.vset.failing_lba_lo); ipr_gen_sense() 6118 failing_lba = be32_to_cpu(ioasa->u.dasd.failing_lba); ipr_gen_sense() 6147 if ((be32_to_cpu(ioasa->hdr.ioasc_specific) & IPR_AUTOSENSE_VALID) == 0) ipr_get_autosense() 6177 u32 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); ipr_erp_start() 6276 u32 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); ipr_scsi_done() 6279 scsi_set_resid(scsi_cmd, be32_to_cpu(ipr_cmd->s.ioasa.hdr.residual_data_len)); ipr_scsi_done() 6632 u32 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); ipr_sata_done() 6643 if (be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc_specific) & IPR_ATA_DEVICE_WAS_RESET) ipr_sata_done() 7393 u32 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); ipr_reset_cmd_failed() 7417 u32 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); ipr_reset_mode_sense_failed() 7507 u32 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); ipr_reset_mode_sense_page24_failed() 7683 u32 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); ipr_ioa_service_action_failed() 8318 ((be32_to_cpu(sdt.hdr.state) != IPR_FMT3_SDT_READY_TO_USE) && ipr_get_unit_check_buffer() 8319 (be32_to_cpu(sdt.hdr.state) != IPR_FMT2_SDT_READY_TO_USE))) { ipr_get_unit_check_buffer() 8325 if (be32_to_cpu(sdt.hdr.state) == IPR_FMT3_SDT_READY_TO_USE) ipr_get_unit_check_buffer() 8326 length = be32_to_cpu(sdt.entry[0].end_token); ipr_get_unit_check_buffer() 8328 length = (be32_to_cpu(sdt.entry[0].end_token) - ipr_get_unit_check_buffer() 8329 be32_to_cpu(sdt.entry[0].start_token)) & ipr_get_unit_check_buffer() 8338 be32_to_cpu(sdt.entry[0].start_token), ipr_get_unit_check_buffer() 8344 ioasc = be32_to_cpu(hostrcb->hcam.u.error.fd_ioasc); ipr_get_unit_check_buffer() 8971 ioasc = be32_to_cpu(ipr_cmd->s.ioasa.hdr.ioasc); ipr_reset_ioa_job()
|
H A D | sd_dif.c | 146 if (be32_to_cpu(pi->ref_tag) == virt) bip_for_each_vec() 198 if (be32_to_cpu(pi->ref_tag) == phys) bip_for_each_vec()
|
/linux-4.4.14/net/sched/ |
H A D | em_cmp.c | 54 val = be32_to_cpu(val); em_cmp_match()
|
/linux-4.4.14/kernel/ |
H A D | module_signing.c | 54 sig_len = be32_to_cpu(ms.sig_len); mod_verify_sig()
|
/linux-4.4.14/fs/omfs/ |
H A D | file.c | 64 extent_count = be32_to_cpu(oe->e_extent_count); omfs_shrink_inode() 122 u32 extent_count = be32_to_cpu(oe->e_extent_count); omfs_grow_extent() 158 if (be32_to_cpu(oe->e_extent_count) > max_count-1) omfs_grow_extent() 246 extent_count = be32_to_cpu(oe->e_extent_count); omfs_get_block()
|
H A D | inode.c | 87 count = be32_to_cpu(oi->i_head.h_body_size); omfs_update_checksums() 470 sbi->s_blocksize = be32_to_cpu(omfs_sb->s_blocksize); omfs_fill_super() 471 sbi->s_mirrors = be32_to_cpu(omfs_sb->s_mirrors); omfs_fill_super() 473 sbi->s_sys_blocksize = be32_to_cpu(omfs_sb->s_sys_blocksize); omfs_fill_super() 515 sbi->s_clustersize = be32_to_cpu(omfs_rb->r_clustersize); omfs_fill_super()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | epapr_paravirt.c | 51 u32 inst = be32_to_cpu(insts[i]); early_init_dt_scan_epapr()
|
H A D | rtas.c | 224 display_width = be32_to_cpu(*p); rtas_progress() 227 form_feed = be32_to_cpu(*p); rtas_progress() 230 display_lines = be32_to_cpu(*p); rtas_progress() 329 return tokp ? be32_to_cpu(*tokp) : RTAS_UNKNOWN_SERVICE; rtas_token() 452 if (be32_to_cpu(rtas_args->rets[0]) == -1) rtas_call() 457 outputs[i] = be32_to_cpu(rtas_args->rets[i+1]); rtas_call() 458 ret = (nret > 0)? be32_to_cpu(rtas_args->rets[0]): 0; rtas_call() 1052 nargs = be32_to_cpu(args.nargs); ppc_rtas() 1053 nret = be32_to_cpu(args.nret); ppc_rtas() 1054 token = be32_to_cpu(args.token); ppc_rtas() 1080 u64 handle = ((u64)be32_to_cpu(args.args[0]) << 32) ppc_rtas() 1081 | be32_to_cpu(args.args[1]); ppc_rtas() 1102 if (be32_to_cpu(args.rets[0]) == -1) ppc_rtas()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_uc.c | 264 opcode = be32_to_cpu(ohdr->bth[0]); qib_uc_rcv() 268 psn = be32_to_cpu(ohdr->bth[2]); qib_uc_rcv() 391 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; qib_uc_rcv() 432 qp->r_len = be32_to_cpu(reth->length); 436 u32 rkey = be32_to_cpu(reth->rkey); 477 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; 504 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3;
|
H A D | qib_rc.c | 989 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; qib_rc_send_complete() 997 psn = be32_to_cpu(ohdr->bth[2]); qib_rc_send_complete() 1452 aeth = be32_to_cpu(ohdr->u.aeth); qib_rc_rcv_resp() 1478 aeth = be32_to_cpu(ohdr->u.aeth); qib_rc_rcv_resp() 1482 val = ((u64) be32_to_cpu(p[0]) << 32) | qib_rc_rcv_resp() 1483 be32_to_cpu(p[1]); qib_rc_rcv_resp() 1539 aeth = be32_to_cpu(ohdr->u.aeth); qib_rc_rcv_resp() 1543 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; qib_rc_rcv_resp() 1568 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; qib_rc_rcv_resp() 1580 aeth = be32_to_cpu(ohdr->u.aeth); qib_rc_rcv_resp() 1731 len = be32_to_cpu(reth->length); OP() 1739 u32 rkey = be32_to_cpu(reth->rkey); OP() 1889 opcode = be32_to_cpu(ohdr->bth[0]); qib_rc_rcv() 1893 psn = be32_to_cpu(ohdr->bth[2]); qib_rc_rcv() 2018 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; qib_rc_rcv() 2063 qp->r_len = be32_to_cpu(reth->length); qib_rc_rcv() 2067 u32 rkey = be32_to_cpu(reth->rkey); qib_rc_rcv() 2121 len = be32_to_cpu(reth->length); OP() 2123 u32 rkey = be32_to_cpu(reth->rkey); OP() 2193 vaddr = ((u64) be32_to_cpu(ateth->vaddr[0]) << 32) | OP() 2194 be32_to_cpu(ateth->vaddr[1]); OP() 2197 rkey = be32_to_cpu(ateth->rkey); OP()
|
H A D | qib_ud.c | 448 qkey = be32_to_cpu(ohdr->u.ud.deth[0]); qib_ud_rcv() 449 src_qp = be32_to_cpu(ohdr->u.ud.deth[1]) & QIB_QPN_MASK; qib_ud_rcv() 455 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; qib_ud_rcv() 472 pkey1 = be32_to_cpu(ohdr->bth[0]); qib_ud_rcv() 513 opcode = be32_to_cpu(ohdr->bth[0]) >> 24; qib_ud_rcv() 572 qib_lookup_pkey(ibp, be32_to_cpu(ohdr->bth[0])) : 0; qib_ud_rcv()
|
/linux-4.4.14/sound/firewire/ |
H A D | isight.c | 181 count = be32_to_cpu(payload->sample_count); isight_packet() 183 total = be32_to_cpu(payload->sample_total); isight_packet() 497 value->value.integer.value[0] = (s32)be32_to_cpu(gain); isight_gain_get() 565 isight->gain_min = be32_to_cpu(value); isight_create_mixer() 570 isight->gain_max = be32_to_cpu(value); isight_create_mixer() 578 isight->gain_tlv[2] = (s32)be32_to_cpu(value) * 100; isight_create_mixer() 583 isight->gain_tlv[3] = (s32)be32_to_cpu(value) * 100; isight_create_mixer()
|
/linux-4.4.14/arch/powerpc/sysdev/qe_lib/ |
H A D | qe.c | 380 const __be32 *code = base + be32_to_cpu(ucode->code_offset); qe_upload_microcode() 392 out_be32(&qe_immr->iram.iadd, be32_to_cpu(ucode->iram_offset) | qe_upload_microcode() 395 for (i = 0; i < be32_to_cpu(ucode->count); i++) qe_upload_microcode() 396 out_be32(&qe_immr->iram.idata, be32_to_cpu(code[i])); qe_upload_microcode() 399 out_be32(&qe_immr->iram.iready, be32_to_cpu(QE_IRAM_READY)); qe_upload_microcode() 434 length = be32_to_cpu(hdr->length); qe_upload_firmware() 465 be32_to_cpu(firmware->microcode[i].count); qe_upload_firmware() 474 crc = be32_to_cpu(*(__be32 *)((void *)firmware + calc_size)); qe_upload_firmware() 515 u32 trap = be32_to_cpu(ucode->traps[j]); qe_upload_firmware() 522 out_be32(&qe_immr->rsp[i].eccr, be32_to_cpu(ucode->eccr)); qe_upload_firmware()
|
/linux-4.4.14/net/rds/ |
H A D | recv.c | 126 rds_rdma_unuse(rs, be32_to_cpu(buffer.rdma.h_rdma_rkey), 0); rds_recv_incoming_exthdrs() 133 be32_to_cpu(buffer.rdma_dest.h_rdma_rkey), rds_recv_incoming_exthdrs() 134 be32_to_cpu(buffer.rdma_dest.h_rdma_offset)); rds_recv_incoming_exthdrs() 172 be32_to_cpu(inc->i_hdr.h_len), rds_recv_incoming() 229 be32_to_cpu(inc->i_hdr.h_len), rds_recv_incoming() 280 -be32_to_cpu(inc->i_hdr.h_len), rds_still_queued() 471 if (ret < be32_to_cpu(inc->i_hdr.h_len)) { rds_recvmsg() 473 ret = be32_to_cpu(inc->i_hdr.h_len); rds_recvmsg() 515 -be32_to_cpu(inc->i_hdr.h_len), rds_clear_recv_queue() 534 minfo.len = be32_to_cpu(inc->i_hdr.h_len); rds_inc_info_copy()
|
/linux-4.4.14/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 114 return be32_to_cpu(descr->dmac_cmd_status) & GELIC_DESCR_DMA_STAT_MASK; gelic_descr_get_status() 168 be32_to_cpu(card->rx_chain.head->dmac_cmd_status)); gelic_card_enable_rxdmac() 170 be32_to_cpu(card->rx_chain.head->next_descr_addr)); gelic_card_enable_rxdmac() 212 (be32_to_cpu(descr->dmac_cmd_status) & gelic_descr_set_status() 442 be32_to_cpu(descr->buf_addr), gelic_card_release_rx_chain() 511 BUG_ON(!(be32_to_cpu(descr->data_status) & GELIC_DESCR_TX_TAIL)); gelic_descr_release_tx() 513 dma_unmap_single(ctodev(card), be32_to_cpu(descr->buf_addr), skb->len, gelic_descr_release_tx() 929 data_status = be32_to_cpu(descr->data_status); gelic_net_pass_skb_up() 930 data_error = be32_to_cpu(descr->data_error); gelic_net_pass_skb_up() 932 dma_unmap_single(ctodev(card), be32_to_cpu(descr->buf_addr), gelic_net_pass_skb_up() 936 skb_put(skb, be32_to_cpu(descr->valid_size)? gelic_net_pass_skb_up() 937 be32_to_cpu(descr->valid_size) : gelic_net_pass_skb_up() 938 be32_to_cpu(descr->result_size)); gelic_net_pass_skb_up() 941 be32_to_cpu(descr->result_size), gelic_net_pass_skb_up() 942 be32_to_cpu(descr->buf_size), gelic_net_pass_skb_up() 943 be32_to_cpu(descr->dmac_cmd_status)); gelic_net_pass_skb_up() 1054 be32_to_cpu(descr->dmac_cmd_status) & gelic_card_decode_one_descr()
|
/linux-4.4.14/drivers/net/wireless/ath/ar5523/ |
H A D | ar5523.c | 54 dlen = be32_to_cpu(hdr->len) - sizeof(*hdr); ar5523_read_reply() 61 ar5523_dbg(ar, "Code = %d len = %d\n", be32_to_cpu(hdr->code) & 0xff, ar5523_read_reply() 66 olen = be32_to_cpu(rp[0]); ar5523_read_reply() 112 be32_to_cpu(hdr->code) & 0xff, hdr->priv); ar5523_cmd_rx_cb() 114 code = be32_to_cpu(hdr->code); ar5523_cmd_rx_cb() 115 hdrlen = be32_to_cpu(hdr->len); ar5523_cmd_rx_cb() 362 *val = be32_to_cpu(val_be); ar5523_get_capability() 465 be32_to_cpu(reset.flags), ar5523_set_chan() 563 rxlen = be32_to_cpu(desc->len); ar5523_data_rx_cb() 566 be32_to_cpu(desc->len)); ar5523_data_rx_cb() 575 if (be32_to_cpu(desc->status) != 0) { ar5523_data_rx_cb() 577 be32_to_cpu(desc->status), be32_to_cpu(desc->len)); ar5523_data_rx_cb() 595 rx_status->freq = be32_to_cpu(desc->channel); ar5523_data_rx_cb() 597 rx_status->signal = -95 + be32_to_cpu(desc->rssi); ar5523_data_rx_cb() 1031 be32_to_cpu(val)); ar5523_start() 1418 ar->rxbufsz = be32_to_cpu(rxsize); ar5523_get_max_rxsz()
|
/linux-4.4.14/drivers/soc/sunxi/ |
H A D | sunxi_sram.c | 103 be32_to_cpu(*sram_addr_p)); sunxi_sram_show() 115 be32_to_cpu(*section_addr_p), for_each_child_of_node()
|
/linux-4.4.14/block/ |
H A D | t10-pi.c | 88 if (be32_to_cpu(pi->ref_tag) != t10_pi_verify() 93 iter->seed, be32_to_cpu(pi->ref_tag)); t10_pi_verify()
|
/linux-4.4.14/drivers/block/rsxx/ |
H A D | config.c | 59 hdr->version = be32_to_cpu((__force __be32) hdr->version); config_hdr_be_to_cpu() 60 hdr->crc = be32_to_cpu((__force __be32) hdr->crc); config_hdr_be_to_cpu()
|
/linux-4.4.14/drivers/of/ |
H A D | of_mdio.c | 356 status.duplex = be32_to_cpu(fixed_link_prop[1]); of_phy_register_fixed_link() 357 status.speed = be32_to_cpu(fixed_link_prop[2]); of_phy_register_fixed_link() 358 status.pause = be32_to_cpu(fixed_link_prop[3]); of_phy_register_fixed_link() 359 status.asym_pause = be32_to_cpu(fixed_link_prop[4]); of_phy_register_fixed_link()
|
/linux-4.4.14/fs/ufs/ |
H A D | swab.h | 49 return be32_to_cpu((__force __be32)n); fs32_to_cpu()
|
/linux-4.4.14/arch/m68k/kernel/ |
H A D | setup_mm.c | 168 be32_to_cpu(m->addr); m68k_parse_bootinfo() 170 be32_to_cpu(m->size); m68k_parse_bootinfo() 180 m68k_ramdisk.addr = be32_to_cpu(m->addr); m68k_parse_bootinfo() 181 m68k_ramdisk.size = be32_to_cpu(m->size); m68k_parse_bootinfo()
|
/linux-4.4.14/arch/microblaze/kernel/ |
H A D | prom.c | 77 return be32_to_cpu(addr) & ~3; early_init_dt_scan_chosen_serial()
|
/linux-4.4.14/arch/nios2/kernel/ |
H A D | prom.c | 62 if (be32_to_cpu((__be32) *dtb) == OF_DT_HEADER) early_init_devtree()
|
/linux-4.4.14/net/mpls/ |
H A D | internal.h | 113 unsigned entry = be32_to_cpu(hdr->label_stack_entry); mpls_entry_decode()
|
/linux-4.4.14/drivers/zorro/ |
H A D | zorro-sysfs.c | 47 return sprintf(buf, "0x%08x\n", be32_to_cpu(z->rom.er_SerialNumber)); show_serial()
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-opal.c | 77 y_m_d = be32_to_cpu(__y_m_d); opal_get_rtc_time() 143 y_m_d = be32_to_cpu(__y_m_d); opal_get_tpo_time() 144 h_m_s_ms = ((u64)be32_to_cpu(__h_m) << 32); opal_get_tpo_time()
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_ah.c | 215 attr->grh.hop_limit = be32_to_cpu(grh->pdid_hoplimit) & 0xff; ocrdma_query_ah() 216 attr->grh.traffic_class = be32_to_cpu(grh->tclass_flow) >> 24; ocrdma_query_ah() 217 attr->grh.flow_label = be32_to_cpu(grh->tclass_flow) & 0x00ffffffff; ocrdma_query_ah()
|
/linux-4.4.14/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx.c | 546 u32 mux_reg = be32_to_cpu(*list++); imx_pinctrl_parse_groups() 558 conf_reg = be32_to_cpu(*list++); imx_pinctrl_parse_groups() 569 pin->input_reg = be32_to_cpu(*list++); imx_pinctrl_parse_groups() 570 pin->mux_mode = be32_to_cpu(*list++); imx_pinctrl_parse_groups() 571 pin->input_val = be32_to_cpu(*list++); imx_pinctrl_parse_groups() 574 config = be32_to_cpu(*list++); imx_pinctrl_parse_groups()
|
/linux-4.4.14/drivers/crypto/nx/ |
H A D | nx-842-powernv.c | 161 be32_to_cpu((csb)->count)) 350 be32_to_cpu(csb->count), wait_for_csb() 443 (unsigned int)be32_to_cpu(crb->ccw)); nx842_powernv_function() 464 *outlenp = be32_to_cpu(csb->count); nx842_powernv_function() 542 ct = be32_to_cpu(*(unsigned int *)ct_prop->value); nx842_powernv_probe() 548 ci = be32_to_cpu(*(unsigned int *)ci_prop->value); nx842_powernv_probe()
|
/linux-4.4.14/drivers/iio/gyro/ |
H A D | adxrs450.c | 123 *val = (be32_to_cpu(st->rx) >> 5) & 0xFFFF; adxrs450_spi_read_reg_16() 192 *val = (be32_to_cpu(st->rx) >> 10) & 0xFFFF; adxrs450_spi_sensor_data() 228 *val = be32_to_cpu(st->rx); adxrs450_spi_initial()
|