Searched refs:magic_num (Results 1 – 9 of 9) sorted by relevance
/titanic_41/usr/src/lib/libpcp/common/ |
H A D | pcp_common.h | 46 uint32_t magic_num; /* magic number */ member 64 uint32_t magic_num; /* magic number */ member
|
H A D | libpcp.c | 397 req_msg_hdr->magic_num = PCP_MAGIC_NUM; in pcp_send_recv() 959 hdrp->magic_num = htonl(req_hdr->magic_num); in pcp_send_req_msg_hdr() 984 uint32_t magic_num; in pcp_recv_resp_msg_hdr() local 1016 if ((ret = pcp_io_op(&magic_num, sizeof (magic_num), in pcp_recv_resp_msg_hdr() 1021 magic_num = ntohl(magic_num); in pcp_recv_resp_msg_hdr() 1023 if (magic_num != PCP_MAGIC_NUM) { in pcp_recv_resp_msg_hdr() 1106 resp_hdr->magic_num = magic_num; in pcp_recv_resp_msg_hdr()
|
/titanic_41/usr/src/uts/sun4v/ontario/io/ |
H A D | tsalarm.c | 133 uint32_t magic_num; /* magic number */ member 150 uint32_t magic_num; /* magic number */ member 931 req_msg_hdr->magic_num = PCP_MAGIC_NUM; in tsal_pcp_send_recv() 1361 hdrp->magic_num = htonl(req_hdr->magic_num); in tsal_pcp_send_req_msg_hdr() 1387 uint32_t magic_num; in tsal_pcp_recv_resp_msg_hdr() local 1415 if ((ret = tsal_pcp_io_op(sc, &magic_num, sizeof (magic_num), in tsal_pcp_recv_resp_msg_hdr() 1420 magic_num = ntohl(magic_num); in tsal_pcp_recv_resp_msg_hdr() 1422 if (magic_num != PCP_MAGIC_NUM) { in tsal_pcp_recv_resp_msg_hdr() 1505 resp_hdr->magic_num = magic_num; in tsal_pcp_recv_resp_msg_hdr()
|
/titanic_41/usr/src/cmd/fm/modules/sun4v/etm/ |
H A D | etm_xport_api_dd.c | 90 uint32_t magic_num; /* magic number */ member 95 uint32_t magic_num; /* magic number */ member 416 if (_addr->magic_num != ETM_XPORT_DD_MAGIC_ADDR) { in etm_xport_valid_addr() 448 if (_conn->magic_num != ETM_XPORT_DD_MAGIC_CONN) { in etm_xport_valid_conn() 867 _conn->magic_num = ETM_XPORT_DD_MAGIC_CONN; in etm_xport_open() 1054 _conn->magic_num = 0; in etm_xport_close() 1114 _addr->magic_num = ETM_XPORT_DD_MAGIC_ADDR; in etm_xport_get_ev_addrv()
|
H A D | etm.c | 943 uint32_t magic_num; /* magic number */ in etm_magic_read() local 951 magic_num = 0; in etm_magic_read() 957 while (magic_num != ETM_PROTO_MAGIC_NUM) { in etm_magic_read() 964 j = MIN((j + 1), sizeof (magic_num)); in etm_magic_read() 965 if (byte_cnt < sizeof (magic_num)) { in etm_magic_read() 969 if (byte_cnt > sizeof (magic_num)) { in etm_magic_read() 977 (void) memcpy(&magic_num, &buf5[0], sizeof (magic_num)); in etm_magic_read() 978 magic_num = ntohl(magic_num); in etm_magic_read() 983 if (byte_cnt != sizeof (magic_num)) { in etm_magic_read() 987 if ((byte_cnt > sizeof (magic_num)) && (etm_debug_lvl >= 2)) { in etm_magic_read() [all …]
|
/titanic_41/usr/src/cmd/sgs/prof/common/ |
H A D | profv.c | 810 unsigned int magic_num; in profver() local 823 if (read(fd, (char *)&magic_num, sizeof (unsigned int)) == -1) { in profver() 827 if (magic_num != (unsigned int) PROF_MAGIC) { in profver()
|
/titanic_41/usr/src/cmd/sgs/gprof/common/ |
H A D | gprof.c | 1534 unsigned long magic_num; in openpfile() local 1549 if (fread(&magic_num, sizeof (unsigned int), 1, pfile) == 0) { in openpfile() 1559 if (magic_num == (unsigned int)PROF_MAGIC) { in openpfile() 1588 if (magic_num == (unsigned long)PRF_MAGIC) in openpfile()
|
/titanic_41/usr/src/lib/gss_mechs/mech_spnego/mech/ |
H A D | gssapiP_spnego.h | 84 OM_uint32 magic_num; member
|
H A D | spnego_mech.c | 471 spnego_ctx->magic_num = SPNEGO_MAGIC_ID; in create_spnego_ctx() 2344 (*ctx)->magic_num == SPNEGO_MAGIC_ID) { in spnego_gss_delete_sec_context()
|