Home
last modified time | relevance | path

Searched refs:mbc (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_marshaling.c43 static int mbc_marshal_put_char(mbuf_chain_t *mbc, uint8_t);
44 static int mbc_marshal_put_short(mbuf_chain_t *mbc, uint16_t);
45 static int mbc_marshal_put_long(mbuf_chain_t *mbc, uint32_t);
46 static int mbc_marshal_put_long_long(mbuf_chain_t *mbc, uint64_t);
50 static int mbc_marshal_put_mbufs(mbuf_chain_t *mbc, mbuf_t *m);
51 static int mbc_marshal_put_mbuf_chain(mbuf_chain_t *mbc, mbuf_chain_t *nmbc);
52 static uint8_t mbc_marshal_fetch_byte(mbuf_chain_t *mbc);
53 static int mbc_marshal_get_char(mbuf_chain_t *mbc, uint8_t *data);
54 static int mbc_marshal_get_short(mbuf_chain_t *mbc, uint16_t *data);
55 static int mbc_marshal_get_long(mbuf_chain_t *mbc, uint32_t *data);
[all …]
H A Dsmb_mbuf_util.c87 mbuf_chain_t *mbc; in smb_mbc_alloc() local
90 mbc = kmem_cache_alloc(smb_mbc_cache, KM_SLEEP); in smb_mbc_alloc()
91 bzero(mbc, sizeof (*mbc)); in smb_mbc_alloc()
92 mbc->mbc_magic = SMB_MBC_MAGIC; in smb_mbc_alloc()
97 mbc->chain = m; in smb_mbc_alloc()
101 mbc->max_bytes = max_bytes; in smb_mbc_alloc()
102 return (mbc); in smb_mbc_alloc()
106 smb_mbc_free(mbuf_chain_t *mbc) in smb_mbc_free() argument
108 SMB_MBC_VALID(mbc); in smb_mbc_free()
110 m_freem(mbc->chain); in smb_mbc_free()
[all …]
H A Dsmb_session.c122 smb_session_send(smb_session_t *session, uint8_t type, mbuf_chain_t *mbc) in smb_session_send() argument
131 if ((mbc != NULL) && (mbc->chain != NULL)) { in smb_session_send()
132 m_freem(mbc->chain); in smb_session_send()
133 mbc->chain = NULL; in smb_session_send()
134 mbc->flags = 0; in smb_session_send()
143 if ((mbc != NULL) && (mbc->chain != NULL)) { in smb_session_send()
144 rc = mbc_moveout(mbc, (caddr_t)&txr->tr_buf[NETBIOS_HDR_SZ], in smb_session_send()
186 struct mbuf_chain mbc; in smb_session_request() local
233 MBC_INIT(&mbc, MAX_DATAGRAM_LENGTH); in smb_session_request()
234 (void) smb_mbc_encodef(&mbc, "b", in smb_session_request()
[all …]
H A Dsmb_signing.c59 smb_sign_calc(struct mbuf_chain *mbc,
211 smb_sign_calc(struct mbuf_chain *mbc, in smb_sign_calc() argument
219 struct mbuf *mbuf = mbc->chain; in smb_sign_calc()
220 int offset = mbc->chain_offset; in smb_sign_calc()
261 if (smb_mbc_peek(mbc, offset, "#c", size, hdrp) != 0) in smb_sign_calc()
/titanic_41/usr/src/cmd/xargs/
H A Dxargs.c529 char mbc[MB_LEN_MAX]; in getarg() local
541 c = getwchr(mbc, &len); in getarg()
553 store_str(&arg, mbc, len); in getarg()
589 store_str(&arg, mbc, len); in getarg()
605 store_str(&arg, mbc, len); in getarg()
624 store_str(&arg, mbc, len); in getarg()
634 store_str(&arg, mbc, len); in getarg()
642 store_str(&arg, mbc, len); in getarg()
816 getwchr(char *mbc, size_t *sz) in getwchr() argument
838 mbc[i++] = (char)c; in getwchr()
[all …]
/titanic_41/usr/src/lib/libcmd/common/
H A Dwclib.c53 #define mbc(c) ((c)&WC_MB) macro
367 if(mbc(lasttype)) in wc_count()
399 if(mbc(c)) in wc_count()
442 } while (mbc(c = type[*cp++])); in wc_count()
453 while(mbc(c) && ((c|WC_ERR) || (c&7)==0)) in wc_count()
460 if(mbc(c)) in wc_count()
473 if(mbc(c)) in wc_count()
/titanic_41/usr/src/cmd/fm/dicts/
H A DSCF.dict102 fault.chassis.SPARC-Enterprise.if.fe-mbc-sc=111
103 fault.chassis.SPARC-Enterprise.asic.mbc.fe=112
104 fault.chassis.SPARC-Enterprise.if.se-mbc-sc=113
105 fault.chassis.SPARC-Enterprise.if.se-mbc-xscf=114
106 fault.chassis.SPARC-Enterprise.asic.mbc.se=115
107 fault.chassis.SPARC-Enterprise.asic.mbc.se-dma=116
108 fault.chassis.SPARC-Enterprise.asic.mbc.se-dma-dscp=117
109 fault.chassis.SPARC-Enterprise.asic.mbc.se-cmd=118
110 fault.chassis.SPARC-Enterprise.if.ce-mbc-sc=119
111 fault.chassis.SPARC-Enterprise.asic.mbc.ce=120
[all …]
H A DSCF.po1166 # keys: fault.chassis.SPARC-Enterprise.if.fe-mbc-sc
1182 # keys: fault.chassis.SPARC-Enterprise.asic.mbc.fe
1198 # keys: fault.chassis.SPARC-Enterprise.if.se-mbc-sc
1214 # keys: fault.chassis.SPARC-Enterprise.if.se-mbc-xscf
1230 # keys: fault.chassis.SPARC-Enterprise.asic.mbc.se
1246 # keys: fault.chassis.SPARC-Enterprise.asic.mbc.se-dma
1262 # keys: fault.chassis.SPARC-Enterprise.asic.mbc.se-dma-dscp
1278 # keys: fault.chassis.SPARC-Enterprise.asic.mbc.se-cmd
1294 # keys: fault.chassis.SPARC-Enterprise.if.ce-mbc-sc
1310 # keys: fault.chassis.SPARC-Enterprise.asic.mbc.ce
[all …]
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.c945 mbr_contains_t *mbc = data; in offset_to_name_cb() local
950 if (*mbc->mbc_offp < off) in offset_to_name_cb()
958 if (off + size <= *mbc->mbc_offp) in offset_to_name_cb()
961 n = mdb_snprintf(*mbc->mbc_bufp, *mbc->mbc_lenp, "%s", name); in offset_to_name_cb()
962 mbc->mbc_total += n; in offset_to_name_cb()
963 if (n > *mbc->mbc_lenp) in offset_to_name_cb()
964 n = *mbc->mbc_lenp; in offset_to_name_cb()
966 *mbc->mbc_lenp -= n; in offset_to_name_cb()
967 *mbc->mbc_bufp += n; in offset_to_name_cb()
969 *mbc->mbc_offp -= off; in offset_to_name_cb()
[all …]
/titanic_41/usr/src/cmd/csh/
H A Dsh.file.c173 char mbc[MB_LEN_MAX]; in pushback() local
174 int i, j = wctomb(mbc, (wchar_t)*p); in pushback()
181 if (ioctl(SHIN, TIOCSTI, mbc + i) != 0 && in pushback()
/titanic_41/usr/src/uts/common/io/i40e/core/
H A Di40e_type.h588 u8 mbc; member
/titanic_41/usr/src/lib/libast/common/regex/
H A Dregcomp.c1180 char mbc[COLL_KEY_MAX + 1]; in bra() local
1510 w = mbconv(mbc, c); in bra()
1511 pp = (unsigned char*)mbc; in bra()