Searched refs:kshm_magic (Results 1 - 3 of 3) sorted by relevance

/drivers/staging/lustre/include/linux/lnet/
H A Dsocklnd.h54 __u32 kshm_magic; /* magic number of socklnd message */ member in struct:__anon6431
/drivers/staging/lustre/lnet/klnds/socklnd/
H A Dsocklnd_cb.c1616 if (hello->kshm_magic == LNET_PROTO_MAGIC)
1618 else if (hello->kshm_magic == __swab32(LNET_PROTO_MAGIC))
1639 if (hello->kshm_magic == le32_to_cpu(LNET_PROTO_TCP_MAGIC)) {
1715 rc = libcfs_sock_read(sock, &hello->kshm_magic, sizeof (hello->kshm_magic), timeout);
1723 if (hello->kshm_magic != LNET_PROTO_MAGIC &&
1724 hello->kshm_magic != __swab32(LNET_PROTO_MAGIC) &&
1725 hello->kshm_magic != le32_to_cpu (LNET_PROTO_TCP_MAGIC)) {
1728 "%pI4h\n", __cpu_to_le32 (hello->kshm_magic),
H A Dsocklnd_proto.c534 hello->kshm_magic = LNET_PROTO_MAGIC;
655 if (hello->kshm_magic == LNET_PROTO_MAGIC)

Completed in 34 milliseconds