Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 1496) sorted by relevance

12345678910>>...60

/titanic_41/usr/src/cmd/svc/milestone/
H A Dnet-install111 msg="Error creating default route:\n\"$cmd\""
112 net_record_err "$msg" $err
119 msg="Error creating \"$rootdir/etc/inet\" directory"
120 net_record_err "$msg" $err
127 msg="Error adding persistent default route:\n\"$cmd\""
128 net_record_err "$msg" $err
160 msg="No \"address_type\" property defined in the "
161 msg=$msg"\"$NET_V4IF\" property group"
162 net_record_err "$msg" 0
170 msg="Bad value, \"$prop\", defined for the \"address_type\" "
[all …]
/titanic_41/usr/src/lib/libresolv2/common/nameser/
H A Dns_newmsg.c43 ns_msg *msg = &handle->msg; in ns_newmsg_init() local
46 msg->_msg = buffer; in ns_newmsg_init()
47 msg->_eom = buffer + bufsiz; in ns_newmsg_init()
48 msg->_sect = ns_s_qd; in ns_newmsg_init()
49 msg->_rrnum = 0; in ns_newmsg_init()
50 msg->_msg_ptr = buffer + NS_HFIXEDSZ; in ns_newmsg_init()
51 handle->dnptrs[0] = msg->_msg; in ns_newmsg_init()
61 ns_newmsg_copy(ns_newmsg *handle, ns_msg *msg) { in ns_newmsg_copy() argument
65 ns_newmsg_id(handle, ns_msg_id(*msg)); in ns_newmsg_copy()
67 ns_newmsg_flag(handle, flag, ns_msg_getflag(*msg, flag)); in ns_newmsg_copy()
[all …]
/titanic_41/usr/src/lib/libnisdb/
H A Ddb_headers.h48 #define FATAL(msg, fcode) \ argument
50 syslog(LOG_ERR, "ERROR: %s", (msg)); \
52 __nisdb_get_tsd()->fatalmsg = msg; \
55 #define FATAL3(msg, fcode, retval) \ argument
57 syslog(LOG_ERR, "ERROR: %s", (msg)); \
59 __nisdb_get_tsd()->fatalmsg = msg; \
64 #define LOCKVAL(lockcall, msg, lockcode) \ argument
69 __nisdb_get_tsd()->fatalmsg = msg; \
74 #define LOCKVAL(lockcall, msg, lockcode) \ argument
79 __nisdb_get_tsd()->fatalmsg = msg; \
[all …]
/titanic_41/usr/src/cmd/devmgmt/cmds/
H A Dputdgrp.c110 static char msg[256]; /* Space for text of message */ variable
242 (void) snprintf(msg, sizeof(msg), E_NODGRP, dgroup); in main()
243 stdmsg(MM_NRECOV, lbl, MM_ERROR, msg); in main()
253 (void) snprintf(msg, sizeof(msg), E_NODGRPTAB, _dgrptabpath()); in main()
254 stdmsg(MM_NRECOV, lbl, MM_ERROR, msg); in main()
269 (void) snprintf(msg, sizeof(msg), E_NOMKTAB, p); in main()
271 (void) snprintf(msg, sizeof(msg), E_NODGRPTAB, p); in main()
272 stdmsg(MM_NRECOV, lbl, MM_ERROR, msg); in main()
281 (void) snprintf(msg, sizeof(msg), E_INTERNAL, errno); in main()
282 stdmsg(MM_NRECOV, lbl, MM_ERROR, msg); in main()
[all …]
H A Dputdev.c118 static char msg[256]; /* Space for text of message */ variable
293 else (void) snprintf(p=msg, sizeof(msg), E_INVALIAS, alias); in main()
304 (void) snprintf(msg, sizeof(msg), E_ALIASIS, alias); in main()
305 stdmsg(MM_NRECOV, lbl, MM_ERROR, msg); in main()
318 (void) snprintf(msg, sizeof(msg), E_NOMKDTAB, p); in main()
320 (void) snprintf(msg, sizeof(msg), E_NODEVTAB, p); in main()
321 stdmsg(MM_NRECOV, lbl, MM_ERROR, msg); in main()
350 (void) sprintf(msg, E_INTERNAL, errno); in main()
351 stdmsg(MM_NRECOV, lbl, MM_ERROR, msg); in main()
393 (void) snprintf(msg, sizeof(msg), E_NODEV, device); in main()
[all …]
H A Ddevfree.c111 static char msg[MM_MXTXTLN+1]; variable
204 (void) snprintf(msg, sizeof (msg), M_INVKEY, *argp); in main()
205 stdmsg(MM_NRECOV, lbl, MM_ERROR, msg); in main()
220 (void) snprintf(msg, sizeof(msg), M_RSVTAB, rsvtab); in main()
224 (void) snprintf(msg, sizeof (msg), M_ERROR, errno); in main()
228 stdmsg(MM_NRECOV, lbl, sev, msg); in main()
245 (void) snprintf(msg, sizeof(msg), M_DEVTAB, devtab); in main()
249 (void) snprintf(msg, sizeof (msg), M_ERROR, errno); in main()
253 stdmsg(MM_NRECOV, lbl, sev, msg); in main()
260 (void) snprintf(msg, sizeof(msg), M_INVKEY, *argp); in main()
[all …]
/titanic_41/usr/src/cmd/ssh/sftp/
H A Dsftp-client.c124 Buffer msg; in send_string_request() local
126 buffer_init(&msg); in send_string_request()
127 buffer_put_char(&msg, code); in send_string_request()
128 buffer_put_int(&msg, id); in send_string_request()
129 buffer_put_string(&msg, s, len); in send_string_request()
130 send_msg(fd, &msg); in send_string_request()
132 buffer_free(&msg); in send_string_request()
139 Buffer msg; in send_string_attrs_request() local
141 buffer_init(&msg); in send_string_attrs_request()
142 buffer_put_char(&msg, code); in send_string_attrs_request()
[all …]
/titanic_41/usr/src/uts/common/io/comstar/port/pppt/
H A Dpppt_msg.c47 static void pppt_msg_tgt_deregister(stmf_ic_msg_t *msg);
49 static void pppt_msg_session_destroy(stmf_ic_msg_t *msg);
51 static void pppt_msg_scsi_cmd(stmf_ic_msg_t *msg);
53 static void pppt_msg_data_xfer_done(stmf_ic_msg_t *msg);
55 static void pppt_msg_handle_status(stmf_ic_msg_t *msg);
58 pppt_msg_rx(stmf_ic_msg_t *msg) in pppt_msg_rx() argument
60 switch (msg->icm_msg_type) { in pppt_msg_rx()
62 pppt_msg_tgt_register(msg); in pppt_msg_rx()
65 pppt_msg_tgt_deregister(msg); in pppt_msg_rx()
68 pppt_msg_tx_status(msg, STMF_NOT_SUPPORTED); in pppt_msg_rx()
[all …]
/titanic_41/usr/src/lib/libslp/clib/
H A DSLPFindSrvTypes.c138 slp_msg_t *msg = &(hp->msg); in slp_packSrvTypeRqst() local
149 if (!(msg->iov = calloc(6, sizeof (*(msg->iov))))) { in slp_packSrvTypeRqst()
153 msg->iovlen = 6; in slp_packSrvTypeRqst()
168 if (!(msg->msg = calloc(1, msgLen))) { in slp_packSrvTypeRqst()
169 free(msg->iov); in slp_packSrvTypeRqst()
175 msg->prlistlen.iov_base = msg->msg; in slp_packSrvTypeRqst()
176 msg->prlistlen.iov_len = 2; in slp_packSrvTypeRqst()
177 msg->iov[1].iov_base = msg->msg; in slp_packSrvTypeRqst()
178 msg->iov[1].iov_len = 2; in slp_packSrvTypeRqst()
180 msg->scopeslen.iov_base = msg->msg + 2; in slp_packSrvTypeRqst()
[all …]
H A DSLPReg.c88 struct reg_msg *msg; member
99 struct reg_msg *msg; member
145 struct reg_msg *msg; in SLPReg() local
168 pcScopeList, pcAttrs, fresh, &msg)) != SLP_OK) { in SLPReg()
174 if ((err = reg_common(hSLP, msg, pvUser, callback)) == SLP_OK && in SLPReg()
194 SLPBoolean fresh, struct reg_msg **msg) { in packSrvReg() argument
206 *msg = NULL; in packSrvReg()
207 if (!(*msg = calloc(1, sizeof (**msg)))) { in packSrvReg()
240 if (!((*msg)->msgiov = calloc(4, sizeof (*((*msg)->msgiov))))) { in packSrvReg()
245 (*msg)->msgiov_len = 4; in packSrvReg()
[all …]
H A DSLPFindSrvs.c333 slp_msg_t *msg = &(hp->msg); in slp_packSrvRqst() local
354 if (!(msg->iov = calloc(7, sizeof (*(msg->iov))))) { in slp_packSrvRqst()
358 msg->iovlen = 7; in slp_packSrvRqst()
367 if (!(msg->msg = calloc(1, msgLen))) { in slp_packSrvRqst()
368 free(msg->iov); in slp_packSrvRqst()
374 msg->prlistlen.iov_base = msg->msg; in slp_packSrvRqst()
375 msg->prlistlen.iov_len = 2; in slp_packSrvRqst()
376 msg->iov[1].iov_base = msg->msg; in slp_packSrvRqst()
377 msg->iov[1].iov_len = 2; in slp_packSrvRqst()
379 msg->scopeslen.iov_base = msg->msg + 2; in slp_packSrvRqst()
[all …]
/titanic_41/usr/src/cmd/lms/
H A DLMEConnectionCompat.cpp57 LMS_SEND_DATA_MESSAGE *msg; in CompatSendMessage() local
63 msg = (LMS_SEND_DATA_MESSAGE *)sendBuf; in CompatSendMessage()
64 msg->MessageType = LMS_MESSAGE_TYPE_SEND_DATA; in CompatSendMessage()
65 msg->ConnectionId = connID; in CompatSendMessage()
66 msg->DataLength = htons(len); in CompatSendMessage()
67 memcpy(msg->Data, buffer, len); in CompatSendMessage()
79 LMS_CLOSE_CONNECTION_MESSAGE msg; in CompatCloseConnection() local
81 msg.MessageType = LMS_MESSAGE_TYPE_CLOSE_CONNECTION; in CompatCloseConnection()
82 msg.ConnectionId = connID; in CompatCloseConnection()
83 msg.ClosingReason = status; in CompatCloseConnection()
[all …]
H A DProtocolCompat.cpp59 LMS_OPEN_CONNECTION_EX_MESSAGE *msg = in _LmeReceiveCompat() local
63 switch (msg->Protocol) { in _LmeReceiveCompat()
73 if ((msg->Flags & HOSTNAME_BIT) != 0) { in _LmeReceiveCompat()
75 msg->ConnectionId, in _LmeReceiveCompat()
76 msg->Host, in _LmeReceiveCompat()
77 ntohs(msg->HostPort)); in _LmeReceiveCompat()
80 (const char *)msg->Host, in _LmeReceiveCompat()
81 ntohs(msg->HostPort), in _LmeReceiveCompat()
85 msg->ConnectionId, in _LmeReceiveCompat()
86 inet_ntoa(*((struct in_addr *)msg->Host)), in _LmeReceiveCompat()
[all …]
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_client_debug.c788 nfs4_free_msg(nfs4_debug_msg_t *msg) in nfs4_free_msg() argument
792 if (msg->msg_type == RM_EVENT) in nfs4_free_msg()
793 free_event(&msg->rmsg_u.msg_event); in nfs4_free_msg()
795 free_fact(&msg->rmsg_u.msg_fact); in nfs4_free_msg()
797 if (msg->msg_srv) { in nfs4_free_msg()
798 len = strlen(msg->msg_srv) + 1; in nfs4_free_msg()
799 kmem_free(msg->msg_srv, len); in nfs4_free_msg()
802 if (msg->msg_mntpt) { in nfs4_free_msg()
803 len = strlen(msg->msg_mntpt) + 1; in nfs4_free_msg()
804 kmem_free(msg->msg_mntpt, len); in nfs4_free_msg()
[all …]
/titanic_41/usr/src/lib/pam_modules/sample/
H A Dsample_utils.c48 __free_msg(num_msg, msg) in __free_msg() argument
50 struct pam_message *msg;
55 if (msg) {
56 m = msg;
58 if (m->msg)
59 free(m->msg);
61 free(msg);
101 struct pam_message *msg; variable
108 msg = (struct pam_message *)calloc(num_msg,
110 if (msg == NULL) {
[all …]
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/base/
H A DOperations.java58 public boolean handleMessage(Message msg) { in handleMessage() argument
59 if (msg.isAWT) in handleMessage()
60 return handleEvent(msg, (Event)msg.arg); in handleMessage()
65 public boolean handleEvent(Message msg, Event evt) { in handleEvent() argument
68 return mouseEnter(msg, evt, evt.x, evt.y); in handleEvent()
70 return mouseExit(msg, evt, evt.x, evt.y); in handleEvent()
72 return mouseMove(msg, evt, evt.x, evt.y); in handleEvent()
74 return mouseDown(msg, evt, evt.x, evt.y); in handleEvent()
76 return mouseDrag(msg, evt, evt.x, evt.y); in handleEvent()
78 return mouseUp(msg, evt, evt.x, evt.y); in handleEvent()
[all …]
/titanic_41/usr/src/uts/i86pc/os/
H A Dx_call.c157 xc_insert(void *queue, xc_msg_t *msg) in xc_insert() argument
165 ASSERT(msg->xc_command != XC_MSG_FREE || in xc_insert()
166 cpu[msg->xc_master] == NULL || /* possible only during init */ in xc_insert()
167 queue == &cpu[msg->xc_master]->cpu_m.xc_free); in xc_insert()
171 msg->xc_next = old_head; in xc_insert()
172 } while (atomic_cas_ptr(queue, old_head, msg) != old_head); in xc_insert()
203 xc_msg_t *msg; in xc_init_cpu() local
216 msg = kmem_zalloc(sizeof (*msg), KM_SLEEP); in xc_init_cpu()
217 msg->xc_command = XC_MSG_FREE; in xc_init_cpu()
218 msg->xc_master = cpup->cpu_id; in xc_init_cpu()
[all …]
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dauthfd.c233 Buffer msg; in ssh_lock_agent() local
235 buffer_init(&msg); in ssh_lock_agent()
236 buffer_put_char(&msg, lock ? SSH_AGENTC_LOCK : SSH_AGENTC_UNLOCK); in ssh_lock_agent()
237 buffer_put_cstring(&msg, password); in ssh_lock_agent()
239 if (ssh_request_reply(auth, &msg, &msg) == 0) { in ssh_lock_agent()
240 buffer_free(&msg); in ssh_lock_agent()
243 type = buffer_get_char(&msg); in ssh_lock_agent()
244 buffer_free(&msg); in ssh_lock_agent()
418 Buffer msg; in ssh_agent_sign() local
430 buffer_init(&msg); in ssh_agent_sign()
[all …]
/titanic_41/usr/src/uts/common/fs/zev/
H A Dzev_callbacks.c52 zev_msg_t *msg = NULL; in zev_zfs_mount_cb() local
104 msg = zev_alloc(sizeof(*msg) + msg_size); in zev_zfs_mount_cb()
105 msg->size = msg_size; in zev_zfs_mount_cb()
106 rec = (zev_zfs_mount_t *)(msg + 1); in zev_zfs_mount_cb()
119 zev_queue_message(op, msg); in zev_zfs_mount_cb()
127 zev_msg_t *msg = NULL; in zev_zfs_umount_cb() local
155 msg = zev_alloc(sizeof(*msg) + msg_size); in zev_zfs_umount_cb()
156 msg->size = msg_size; in zev_zfs_umount_cb()
157 rec = (zev_zfs_umount_t *)(msg + 1); in zev_zfs_umount_cb()
174 zev_queue_message(op, msg); in zev_zfs_umount_cb()
[all …]
/titanic_41/usr/src/cmd/hal/hald-runner/
H A Dmain.c40 parse_udi (run_request *r, DBusMessage *msg, DBusMessageIter *iter) in parse_udi() argument
60 parse_environment(run_request *r, DBusMessage *msg, DBusMessageIter *iter) in parse_environment() argument
90 handle_run(DBusConnection *con, DBusMessage *msg) in handle_run() argument
98 g_assert(dbus_message_iter_init(msg, &iter)); in handle_run()
100 if (!parse_udi(r, msg, &iter)) in handle_run()
103 if (!parse_environment(r, msg, &iter)) in handle_run()
123 run_request_run(r, con, msg, NULL); in handle_run()
128 reply = dbus_message_new_error(msg, "org.freedesktop.HalRunner.Malformed", in handle_run()
135 handle_start(DBusConnection *con, DBusMessage *msg, gboolean is_singleton) in handle_start() argument
145 g_assert(dbus_message_iter_init(msg, &iter)); in handle_start()
[all …]
/titanic_41/usr/src/cmd/sgs/libldmake/common/
H A Dlock.c44 file_lock_error(char *msg, char *file, int err, const char *str, in file_lock_error() argument
50 (void) snprintf(msg, mlen, "Could not lock file `%s'; ", file); in file_lock_error()
51 len = strlen(msg); in file_lock_error()
52 (void) snprintf(&msg[len], (mlen - len), str, arg1, arg2); in file_lock_error()
53 (void) strcat(msg, " failed - "); in file_lock_error()
55 (void) strlcat(msg, errstr, mlen); in file_lock_error()
57 len = strlen(msg); in file_lock_error()
58 (void) sprintf(&msg[len], "errno %d", err); in file_lock_error()
97 static char msg[MAXPATHLEN]; in file_lock() local
108 file_lock_error(msg, name, errno, in file_lock()
[all …]
/titanic_41/usr/src/cmd/genmsg/
H A Dutil.c73 char *msg; member
107 add_msg(int setid, int msgid, char *msg, char *file, int line, int no_write) in add_msg() argument
112 if (lookup_msgid(si, msgid, msg, file, line)) { in add_msg()
115 add_msgid(si, msgid, msg, file, line, no_write); in add_msg()
118 add_setid(setid, msgid, msg, file, line, no_write); in add_msg()
175 char msg[NL_TEXTMAX+32]; /* 32 is some other stuff. */ in write_msgfile() local
202 makeup_msg(&(mi->msg)); in write_msgfile()
204 (void) snprintf(msg, sizeof (msg), "%d\t%s%s%s\n", in write_msgfile()
205 mi->id, pquote, mi->msg, pquote); in write_msgfile()
221 print_prefix(fp, "$ ", FALSE, msg); in write_msgfile()
[all …]
/titanic_41/usr/src/cmd/hal/hald/
H A Dhald_dbus.h34 DBusMessage *msg);
36 DBusMessage *msg);
38 DBusMessage *msg);
40 DBusMessage *msg);
42 DBusMessage *msg);
44 DBusMessage *msg);
46 DBusMessage *msg);
48 DBusMessage *msg, dbus_bool_t local_interface);
50 DBusMessage *msg, dbus_bool_t local_interface);
52 DBusMessage *msg, dbus_bool_t local_interface);
[all …]
/titanic_41/usr/src/cmd/sckmd/sparc/sun4u/
H A Dsckmd.c81 static int process_sckm_req(int fd, sckm_ioctl_getreq_t *msg);
82 static int send_sckm_status(int fd, sckm_ioctl_status_t *msg);
85 static int convert_pfkey_msg(struct sadb_msg *msg);
101 sckm_ioctl_getreq_t msg; in main() local
187 (void) memset(&msg, 0, sizeof (sckm_ioctl_getreq_t)); in main()
188 msg.buf = (caddr_t)msg_buf; in main()
190 msg.buf_len = SCKMD_MAX_MSG_SIZE; in main()
193 if (ioctl(fd, SCKM_IOCTL_GETREQ, &msg) == -1) { in main()
200 if (process_sckm_req(fd, &msg) == -1) { in main()
220 process_sckm_req(int fd, sckm_ioctl_getreq_t *msg) in process_sckm_req() argument
[all …]
/titanic_41/usr/src/cmd/isns/isnsd/
H A Dmsgq.c65 msg_text_t *msg; in queue_msg_set() local
67 msg = (msg_text_t *)calloc(1, sizeof (msg_text_t)); in queue_msg_set()
69 if (!msg) { in queue_msg_set()
73 msg->id = id; in queue_msg_set()
74 msg->data = data; in queue_msg_set()
80 q->q_head = msg; in queue_msg_set()
81 q->q_tail = msg; in queue_msg_set()
84 q->q_tail->next = msg; in queue_msg_set()
85 msg->prev = q->q_tail; in queue_msg_set()
86 q->q_tail = msg; in queue_msg_set()
[all …]

12345678910>>...60