Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/ngatm/netnatm/msg/
H A Dprivmsg.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()
H A Duni_ie.c730 if(msg->mtype >= 256 || uni_msgtable[msg->mtype] == NULL) { in uni_print_internal()
731 uni_printf(cx, "0x%02x(ERROR)", msg->mtype); in uni_print_internal()
737 (*uni_msgtable[msg->mtype]->print)(&msg->u, cx); in uni_print_internal()
758 if (mtype >= 256 || uni_msgtable[mtype] == NULL) { in uni_print_msg_internal()
759 uni_printf(cx, "0x%02x(ERROR)", mtype); in uni_print_msg_internal()
761 uni_printf(cx, "%s", uni_msgtable[mtype]->name); in uni_print_msg_internal()
765 (*uni_msgtable[mtype]->print)(msg, cx); in uni_print_msg_internal()
778 uni_print_msg_internal(mtype, all, cx); in uni_print_msg()
979 uni_print_entry(cx, "mtype", "%u", ie->u.mtype); in print_cause()
1380 APP_BYTE(msg, ie->u.mtype); in encode_cause()
[all …]
H A Dunistruct.h734 uint8_t mtype; member
1362 enum uni_msgtype mtype; member
/f-stack/freebsd/kern/
H A Dsubr_kobj.c295 kobj_create(kobj_class_t cls, struct malloc_type *mtype, int mflags) in kobj_create() argument
299 obj = malloc(cls->size, mtype, mflags | M_ZERO); in kobj_create()
303 free(obj, mtype); in kobj_create()
330 kobj_delete(kobj_t obj, struct malloc_type *mtype) in kobj_delete() argument
350 if (mtype) in kobj_delete()
351 free(obj, mtype); in kobj_delete()
H A Dsysv_msg.c961 msghdr->msg_type = mtype; in kern_msgsnd()
1114 long mtype; in sys_msgsnd() local
1119 if ((error = copyin(uap->msgp, &mtype, sizeof(mtype))) != 0) { in sys_msgsnd()
1140 int msgflg, long *mtype) in kern_msgrcv() argument
1354 *mtype = msghdr->msg_type; in kern_msgrcv()
1402 long mtype; in sys_msgrcv() local
1411 if ((error = copyout(&mtype, uap->msgp, sizeof(mtype))) != 0) in sys_msgrcv()
1795 long mtype; in freebsd32_msgsnd() local
1802 mtype = mtype32; in freebsd32_msgsnd()
1812 long mtype; in freebsd32_msgrcv() local
[all …]
H A Dsubr_mchain.c277 int mtype, error; in mb_put_uio() local
279 mtype = (uiop->uio_segflg == UIO_SYSSPACE) ? MB_MSYSTEM : MB_MUSER; in mb_put_uio()
292 error = mb_put_mem(mbp, uiop->uio_iov->iov_base, left, mtype); in mb_put_uio()
531 int mtype, error; in md_get_uio() local
533 mtype = (uiop->uio_segflg == UIO_SYSSPACE) ? MB_MSYSTEM : MB_MUSER; in md_get_uio()
546 error = md_get_mem(mdp, uiocp, left, mtype); in md_get_uio()
H A Dvfs_subr.c966 int mtype; in vfs_getnewfsid() local
970 mtype = mp->mnt_vfc->vfc_typenum; in vfs_getnewfsid()
971 tfsid.val[1] = mtype; in vfs_getnewfsid()
972 mtype = (mtype & 0xFF) << 24; in vfs_getnewfsid()
975 mtype | ((mntid_base & 0xFF00) << 8) | (mntid_base & 0xFF)); in vfs_getnewfsid()
/f-stack/freebsd/contrib/ngatm/netnatm/sig/
H A Dunimkmsg.h36 (MSG)->mtype = (TYPE); \
44 (MSG)->mtype = (TYPE); \
91 (IE).u.mtype = MTYPE; \
H A Dsig_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()
H A Dunipriv.h500 enum uni_callstate cs, enum uni_cause c1, u_int mtype);
H A Dsig_call.c3268 ADD_CAUSE_MTYPE(c->uni->cause, u->mtype); in uni_bad_message()
3319 ADD_CAUSE_MTYPE(c->uni->cause, u->mtype); in unx_unknown()
/f-stack/freebsd/sys/
H A Dkobj.h198 struct malloc_type *mtype,
210 void kobj_delete(kobj_t obj, struct malloc_type *mtype);
/f-stack/dpdk/drivers/net/bnxt/tf_ulp/
H A Dbnxt_ulp.c384 enum bnxt_ulp_flow_mem_type mtype; in ulp_eem_tbl_scope_init() local
400 if (bnxt_ulp_cntxt_mem_type_get(bp->ulp_ctx, &mtype)) in ulp_eem_tbl_scope_init()
403 if (mtype != BNXT_ULP_FLOW_MEM_TYPE_EXT) { in ulp_eem_tbl_scope_init()
434 enum bnxt_ulp_flow_mem_type mtype; in ulp_eem_tbl_scope_deinit() local
458 if (bnxt_ulp_cntxt_mem_type_get(ulp_ctx, &mtype)) in ulp_eem_tbl_scope_deinit()
460 if (mtype != BNXT_ULP_FLOW_MEM_TYPE_EXT) { in ulp_eem_tbl_scope_deinit()
590 enum bnxt_ulp_flow_mem_type mtype; in ulp_dparms_dev_port_intf_update() local
592 if (bnxt_ulp_cntxt_mem_type_get(ulp_ctx, &mtype)) in ulp_dparms_dev_port_intf_update()
595 if (mtype == BNXT_ULP_FLOW_MEM_TYPE_EXT) in ulp_dparms_dev_port_intf_update()
H A Dulp_mapper.c1774 enum bnxt_ulp_flow_mem_type mtype; in ulp_mapper_em_tbl_process() local
1779 rc = bnxt_ulp_cntxt_mem_type_get(parms->ulp_ctx, &mtype); in ulp_mapper_em_tbl_process()
1871 if (mtype == BNXT_ULP_FLOW_MEM_TYPE_EXT && in ulp_mapper_em_tbl_process()
1874 else if (mtype == BNXT_ULP_FLOW_MEM_TYPE_INT && in ulp_mapper_em_tbl_process()
2490 enum bnxt_ulp_flow_mem_type mtype = BNXT_ULP_FLOW_MEM_TYPE_INT; in ulp_mapper_tbl_memtype_opcode_process() local
2493 bnxt_ulp_cntxt_mem_type_get(parms->ulp_ctx, &mtype); in ulp_mapper_tbl_memtype_opcode_process()
2497 if (mtype == BNXT_ULP_FLOW_MEM_TYPE_INT) in ulp_mapper_tbl_memtype_opcode_process()
2501 if (mtype == BNXT_ULP_FLOW_MEM_TYPE_EXT) in ulp_mapper_tbl_memtype_opcode_process()
H A Dulp_flow_db.c489 enum bnxt_ulp_flow_mem_type mtype; in ulp_flow_db_init() local
515 bnxt_ulp_cntxt_mem_type_get(ulp_ctxt, &mtype); in ulp_flow_db_init()
516 if (mtype == BNXT_ULP_FLOW_MEM_TYPE_INT) in ulp_flow_db_init()
H A Dulp_rte_parser.c186 uint32_t mtype; in bnxt_ulp_comp_fld_intf_update() local
213 mtype = ULP_COMP_FLD_IDX_RD(params, in bnxt_ulp_comp_fld_intf_update()
215 if (mtype == BNXT_ULP_INTF_TYPE_VF_REP) { in bnxt_ulp_comp_fld_intf_update()
/f-stack/dpdk/drivers/net/cxgbe/base/
H A Dcommon.h547 int t4_memory_rw_mtype(struct adapter *adap, int win, int mtype, u32 maddr,
550 int mtype, u32 maddr, u32 len, in t4_memory_rw() argument
553 return t4_memory_rw_mtype(adap, win, mtype, maddr, len, hbuf, dir); in t4_memory_rw()
H A Dt4_hw.c5689 int t4_memory_rw_mtype(struct adapter *adap, int win, int mtype, u32 maddr, in t4_memory_rw_mtype() argument
5702 if (mtype != MEM_MC1) { in t4_memory_rw_mtype()
5703 mtype_offset = (mtype * (edc_size * 1024 * 1024)); in t4_memory_rw_mtype()
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-llm.c313 int mtype = 0; // MTYPE (0: RLDRAM/1: FCRAM in rld_csr_config_generate() local
450 if (mtype != 0) in rld_csr_config_generate()
617 (mtype << 3) | in rld_csr_config_generate()
H A Dcvmx-dfa-defs.h3734 uint64_t mtype : 1; /**< FCRAM-II Memory Type member
3761 uint64_t mtype : 1;
4004 uint64_t mtype : 1; /**< Memory Type (0=RLDRAM-II/1=Network DRAM-II/FCRAM) member
4050 uint64_t mtype : 1;
4261 uint64_t mtype : 1; /**< Memory Type (0=RLDRAM-II/1=Network DRAM-II/FCRAM) member
4307 uint64_t mtype : 1;
/f-stack/dpdk/drivers/net/cxgbe/
H A Dcxgbe_main.c1125 unsigned long mtype = 0, maddr = 0; in adap_init0_config() local
1152 mtype = FW_MEMTYPE_CF_FLASH; in adap_init0_config()
1172 V_FW_CAPS_CONFIG_CMD_MEMTYPE_CF(mtype) | in adap_init0_config()
/f-stack/app/redis-5.0.5/src/
H A Dserver.h560 #define moduleInitIOContext(iovar,mtype,rioptr,keyptr) do { \ argument
562 iovar.type = mtype; \