Home
last modified time | relevance | path

Searched refs:__swab32 (Results 1 – 22 of 22) sorted by relevance

/linux-4.1.27/arch/c6x/include/asm/
Dunaligned.h80 #define get_unaligned_le32(p) __swab32(get_unaligned32(p))
84 #define put_unaligned_le32(v, p) put_unaligned32(__swab32(v), (p))
95 #define get_unaligned_be32(p) __swab32(get_unaligned32(p))
99 #define put_unaligned_be32(v, p) put_unaligned32(__swab32(v), (p))
/linux-4.1.27/include/linux/
Dswab.h7 # define swab32 __swab32
/linux-4.1.27/include/uapi/linux/byteorder/
Dbig_endian.h32 #define __cpu_to_le32(x) ((__force __le32)__swab32((x)))
33 #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
Dlittle_endian.h38 #define __cpu_to_be32(x) ((__force __be32)__swab32((x)))
39 #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x))
/linux-4.1.27/include/uapi/linux/
Dswab.h114 #define __swab32(x) \ macro
172 return __swab32(*p); in __swab32p()
/linux-4.1.27/lib/
Dfind_bit.c142 return (unsigned long) __swab32((u32) y); in ext2_swab()
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/
Dping_test.c183 LASSERT(reqstmsg->msg_magic == __swab32(SRPC_MSG_MAGIC)); in ping_server_handle()
Drpc.c1246 reply->msg_magic != __swab32(SRPC_MSG_MAGIC))) { in srpc_send_rpc()
1511 msg->msg_type != __swab32(type)) || in srpc_lnet_ev_handler()
1513 msg->msg_magic != __swab32(SRPC_MSG_MAGIC))) { in srpc_lnet_ev_handler()
Dbrw_test.c430 LASSERT(reqstmsg->msg_magic == __swab32(SRPC_MSG_MAGIC)); in brw_server_handle()
Dframework.c694 LASSERT(msg->msg_magic == __swab32(SRPC_MSG_MAGIC)); in sfw_unpack_addtest_req()
1425 LASSERT(msg->msg_magic == __swab32(SRPC_MSG_MAGIC)); in sfw_unpack_message()
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
Dacceptor.c62 magic == __swab32(constant)); in lnet_accept_magic()
Drouter.c624 if (info->pi_magic == __swab32(LNET_PROTO_PING_MAGIC)) in lnet_parse_rc_info()
Dapi-ni.c1891 if (info->pi_magic == __swab32(LNET_PROTO_PING_MAGIC)) { in lnet_ping()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dobd.h220 if (*lmm_magic == __swab32(LOV_USER_MAGIC_V1)) { in lov_lum_swab_if_needed()
226 } else if (*lmm_magic == __swab32(LOV_USER_MAGIC_V3)) { in lov_lum_swab_if_needed()
/linux-4.1.27/arch/powerpc/sysdev/
Dfsl_msi.c174 msg->data = __swab32(hwirq); in fsl_compose_msi_msg()
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_cb.c1613 else if (hello->kshm_magic == __swab32(LNET_PROTO_MAGIC)) in ksocknal_parse_proto_version()
1614 version = __swab32(hello->kshm_version); in ksocknal_parse_proto_version()
1719 hello->kshm_magic != __swab32(LNET_PROTO_MAGIC) && in ksocknal_recv_hello()
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd_cb.c2228 reqmsg->ibm_magic == __swab32(LNET_PROTO_MAGIC)) in kiblnd_passive_connect()
2234 if (reqmsg->ibm_magic == __swab32(IBLND_MSG_MAGIC) && in kiblnd_passive_connect()
2552 if (rej->ibr_magic == __swab32(IBLND_MSG_MAGIC) || in kiblnd_rejected()
2553 rej->ibr_magic == __swab32(LNET_PROTO_MAGIC)) { in kiblnd_rejected()
Do2iblnd.c226 } else if (msg->ibm_magic == __swab32(IBLND_MSG_MAGIC)) { in kiblnd_unpack_msg()
245 msg_nob = flip ? __swab32(msg->ibm_nob) : msg->ibm_nob; in kiblnd_unpack_msg()
253 msg_cksum = flip ? __swab32(msg->ibm_cksum) : msg->ibm_cksum; in kiblnd_unpack_msg()
/linux-4.1.27/drivers/mtd/spi-nor/
Dfsl-quadspi.c254 return is_vybrid_qspi(q) ? __swab32(a) : a; in fsl_qspi_endian_xchg()
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h2997 (((r)->lrh_type & __swab32(LLOG_OP_MASK)) == __swab32(LLOG_OP_MAGIC))
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dobd_config.c1406 if (lcfg->lcfg_version == __swab32(LUSTRE_CFG_VERSION)) { in class_config_llog_handler()
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_obd.c788 if (desc->ld_magic == __swab32(LOV_DESC_MAGIC)) { in lov_setup()