Home
last modified time | relevance | path

Searched refs:mtype (Results 1 – 25 of 56) sorted by relevance

123

/NextBSD/sys/contrib/ngatm/netnatm/msg/
HDprivmsg.c69 out->mtype = *msg->b_rptr++; in uni_decode_head()
112 uni_decode_body_internal(enum uni_msgtype mtype, struct uni_msg *msg, in uni_decode_body_internal() argument
185 ret = uni_msgtable[mtype]->decode(out, msg, ietype, in uni_decode_body_internal()
234 if (out->mtype >= 256) in uni_decode_body()
236 if (uni_msgtable[out->mtype] == NULL) in uni_decode_body()
238 return (uni_decode_body_internal(out->mtype, msg, &out->u, cx)); in uni_decode_body()
259 if (in->mtype >= 256) in uni_encode()
261 if (uni_msgtable[in->mtype] == NULL) in uni_encode()
264 return ((uni_msgtable[in->mtype]->encode)(msg, &in->u, cx)); in uni_encode()
/NextBSD/contrib/binutils/bfd/
HDaout0.c33 #define MACHTYPE_OK(mtype) \ argument
34 ((mtype) == M_UNKNOWN || (mtype) == M_68010 || (mtype) == M_68020)
HDaout-sparcle.c32 #define MACHTYPE_OK(mtype) ((mtype) == M_SPARC || (mtype) == M_SPARCLET) argument
HDi386freebsd.c27 #define MACHTYPE_OK(mtype) ((mtype) == M_386_NETBSD || (mtype) == M_UNKNOWN) argument
HDi386bsd.c37 #define MACHTYPE_OK(mtype) ((mtype) == M_386 || (mtype) == M_UNKNOWN) argument
HDmipsbsd.c34 #define MACHTYPE_OK(mtype) ((mtype) == M_UNKNOWN \ argument
35 || (mtype) == M_MIPS1 || (mtype) == M_MIPS2)
HDaoutf1.h39 #define MACHTYPE_OK(mtype) \ argument
40 (((mtype) == M_SPARC && bfd_lookup_arch (bfd_arch_sparc, 0) != NULL) \
41 || (((mtype) == M_UNKNOWN || (mtype) == M_68010 || (mtype) == M_68020) \
/NextBSD/contrib/nvi/vi/
HDvs_msg.c231 vs_msg(SCR *sp, mtype_t mtype, char *line, size_t len) in vs_msg() argument
286 if (mtype == M_ERR) in vs_msg()
289 if (mtype == M_ERR) in vs_msg()
302 (void)vs_msgsave(sp, mtype, line, len); in vs_msg()
310 if (mtype == M_NONE) { in vs_msg()
311 vs_output(sp, mtype, line, len); in vs_msg()
348 vs_output(sp, vip->mtype, ".\n", 2); in vs_msg()
350 vs_output(sp, vip->mtype, ";", 1); in vs_msg()
353 vip->mtype = mtype; in vs_msg()
375 vs_output(sp, mtype, s, e - s); in vs_msg()
[all …]
/NextBSD/contrib/tcpdump/
HDprint-tipc.c165 u_int mtype; in print_payload() local
181 mtype = TIPC_MTYPE(w1); in print_payload()
192 tok2str(tipcmtype_values, "Unknown", mtype))); in print_payload()
205 tok2str(tipcmtype_values, "Unknown", mtype))); in print_payload()
230 u_int mtype; in print_internal() local
251 mtype = TIPC_MTYPE(w1); in print_internal()
260 tok2str(tipcmtype_values, "Unknown", mtype), w1)); in print_internal()
298 u_int mtype; in print_link_conf() local
311 mtype = TIPC_MTYPE(w1); in print_link_conf()
321 tok2str(tipc_linkconf_mtype_values, "Unknown", mtype))); in print_link_conf()
/NextBSD/sys/kern/
HDsubr_kobj.c265 struct malloc_type *mtype, in kobj_create() argument
273 obj = malloc(cls->size, mtype, mflags | M_ZERO); in kobj_create()
326 kobj_delete(kobj_t obj, struct malloc_type *mtype) in kobj_delete() argument
346 if (mtype) in kobj_delete()
347 free(obj, mtype); in kobj_delete()
HDsysv_msg.c676 kern_msgsnd(td, msqid, msgp, msgsz, msgflg, mtype) in kern_msgsnd() argument
682 long mtype;
864 msghdr->msg_type = mtype;
1019 long mtype; local
1024 if ((error = copyin(uap->msgp, &mtype, sizeof(mtype))) != 0) {
1029 (const char *)uap->msgp + sizeof(mtype),
1030 uap->msgsz, uap->msgflg, mtype));
1043 kern_msgrcv(td, msqid, msgp, msgsz, msgtyp, msgflg, mtype) in kern_msgrcv() argument
1050 long *mtype;
1254 *mtype = msghdr->msg_type;
[all …]
HDsubr_mchain.c274 int mtype, error; in mb_put_uio() local
276 mtype = (uiop->uio_segflg == UIO_SYSSPACE) ? MB_MSYSTEM : MB_MUSER; in mb_put_uio()
289 error = mb_put_mem(mbp, uiop->uio_iov->iov_base, left, mtype); in mb_put_uio()
528 int mtype, error; in md_get_uio() local
530 mtype = (uiop->uio_segflg == UIO_SYSSPACE) ? MB_MSYSTEM : MB_MUSER; in md_get_uio()
543 error = md_get_mem(mdp, uiocp, left, mtype); in md_get_uio()
/NextBSD/tools/regression/sysvmsg/
HDmsgtest.c68 long mtype; member
171 m.mtype = MTYPE_1; in main()
185 m.mtype = MTYPE_2; in main()
321 m.mtype = MTYPE_1_ACK; in receiver()
338 m.mtype = MTYPE_2_ACK; in receiver()
/NextBSD/contrib/nvi/common/
HDmark.c118 mtype_t mtype) in mark_get() argument
127 msgq(sp, mtype, "017|Mark %s: not set", KEY_NAME(sp, key)); in mark_get()
131 msgq(sp, mtype, in mark_get()
142 msgq(sp, mtype, in mark_get()
HDmsg.c364 mtype_t mtype, in msgq_wstr() argument
372 msgq(sp, mtype, "%s", fmt); in msgq_wstr()
376 msgq_str(sp, mtype, nstr, fmt); in msgq_wstr()
388 mtype_t mtype, in msgq_str() argument
396 msgq(sp, mtype, "%s", fmt); in msgq_str()
403 msgq(sp, mtype, fmt, p); in msgq_str()
HDmsg.h58 mtype_t mtype; /* Message type: M_NONE, M_ERR, M_INFO. */ member
/NextBSD/sys/contrib/ngatm/netnatm/sig/
HDunimkmsg.h36 (MSG)->mtype = (TYPE); \
44 (MSG)->mtype = (TYPE); \
91 (IE).u.mtype = MTYPE; \
HDsig_coord.c361 VERBOSE(uni, UNI_FAC_COORD, 2, "GLOB MTYPE = %x", u->mtype); in input_global()
363 switch (u->mtype) { in input_global()
426 VERBOSE(uni, UNI_FAC_COORD, 2, "UNKNOWN MTYPE = %x", u->mtype); in input_unknown()
428 switch (u->mtype) { in input_unknown()
521 ADD_CAUSE_MTYPE(resp->u.release_compl.cause[0], u->mtype); in input_unknown()
552 u->mtype, c->cref, c->mine ? "mine":"his"); in input_call()
554 switch (u->mtype) { in input_call()
1130 enum uni_callstate cs, enum uni_cause c1, u_int mtype) in uni_respond_status_mtype() argument
1140 ADD_CAUSE_MTYPE(resp->u.status.cause, mtype); in uni_respond_status_mtype()
/NextBSD/contrib/gdb/gdb/
HDc-typeprint.c44 static void cp_type_print_method_args (struct type *mtype, char *prefix,
156 cp_type_print_method_args (struct type *mtype, char *prefix, char *varstring, in cp_type_print_method_args() argument
159 struct field *args = TYPE_FIELDS (mtype); in cp_type_print_method_args()
160 int nargs = TYPE_NFIELDS (mtype); in cp_type_print_method_args()
161 int varargs = TYPE_VARARGS (mtype); in cp_type_print_method_args()
1027 struct type *mtype = TYPE_FN_FIELD_TYPE (f, j); in c_type_print_base() local
1028 cp_type_print_method_args (mtype, in c_type_print_base()
HDgdbtypes.c595 struct type *mtype; in lookup_member_type() local
597 mtype = alloc_type (TYPE_OBJFILE (type)); in lookup_member_type()
598 smash_to_member_type (mtype, domain, type); in lookup_member_type()
599 return (mtype); in lookup_member_type()
611 struct type *mtype; in allocate_stub_method() local
613 mtype = init_type (TYPE_CODE_METHOD, 1, TYPE_FLAG_STUB, NULL, in allocate_stub_method()
615 TYPE_TARGET_TYPE (mtype) = type; in allocate_stub_method()
617 return (mtype); in allocate_stub_method()
1531 struct type *mtype; in check_stub_method() local
1618 mtype = TYPE_FN_FIELD_TYPE (f, signature_id); in check_stub_method()
[all …]
/NextBSD/contrib/netbsd-tests/kernel/
HDt_sysv.c76 long mtype; member
284 m.mtype = MTYPE_1; in ATF_TC_BODY()
298 m.mtype = MTYPE_2; in ATF_TC_BODY()
403 m.mtype = MTYPE_1_ACK; in receiver()
419 m.mtype = MTYPE_2_ACK; in receiver()
/NextBSD/sys/sys/
HDkobj.h197 struct malloc_type *mtype,
209 void kobj_delete(kobj_t obj, struct malloc_type *mtype);
/NextBSD/usr.sbin/timed/timed/
HDreadmsg.c45 #define LOOKAT(msg, mtype, mfrom, netp, froms) \ argument
46 (((mtype) == TSP_ANY || (mtype) == (msg).tsp_type) && \
/NextBSD/contrib/ntp/include/
HDadjtime.h47 long mtype; member
/NextBSD/sys/compat/linux/
HDlinux_ipc.c610 long mtype; in linux_msgsnd() local
619 mtype = (long)lmtype; in linux_msgsnd()
622 args->msgsz, args->msgflg, mtype)); in linux_msgsnd()
629 long mtype; in linux_msgrcv() local
638 args->msgtyp, args->msgflg, &mtype)) != 0) in linux_msgrcv()
640 lmtype = (l_long)mtype; in linux_msgrcv()

123