Home
last modified time | relevance | path

Searched refs:elen (Results 1 – 25 of 27) sorted by relevance

12

/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ether.c126 interpret_ether(int flags, char *header, int elen, int origlen) in interpret_ether() argument
159 return (elen); in interpret_ether()
161 if (elen < 14) in interpret_ether()
162 return (elen); in interpret_ether()
178 len = elen - sizeof (struct ether_header); in interpret_ether()
192 return (elen); in interpret_ether()
195 return (elen); in interpret_ether()
265 show_header("ETHER: ", "Ether Header", elen); in interpret_ether()
275 elen, elen); in interpret_ether()
807 interpret_tr(int flags,caddr_t e,int elen,int origlen) interpret_tr() argument
1066 interpret_fddi(int flags,caddr_t e,int elen,int origlen) interpret_fddi() argument
1581 interpret_ib(int flags,char * header,int elen,int origlen) interpret_ib() argument
1670 interpret_ipnet(int flags,char * header,int elen,int origlen) interpret_ipnet() argument
1798 interpret_iptun(int flags,char * header,int elen,int origlen) interpret_iptun() argument
[all...]
/titanic_51/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_util.c59 size_t elen; in __fmt_errstring() local
68 elen = strlen(fmt) + extra_length_hint + FMT_STR_SLOP; in __fmt_errstring()
70 if ((ebuf = (char *)malloc(elen + 1)) == NULL) in __fmt_errstring()
77 if (strlen(ebuf) > elen) in __fmt_errstring()
/titanic_51/usr/src/lib/libsmbios/common/
H A Dsmb_lib.c59 ssize_t n, elen; in smb_fileopen() local
68 elen = MIN(ep->ep21.smbe_elen, SMB_ENTRY_MAXLEN); in smb_fileopen()
72 elen = MIN(ep->ep30.smbe_elen, SMB_ENTRY_MAXLEN); in smb_fileopen()
77 if ((n = pread64(fd, ep, elen, 0)) != elen) in smb_fileopen()
/titanic_51/usr/src/lib/libshell/common/include/
H A Dstreval.h80 short elen; member
98 short elen; member
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dstreval.h84 short elen; member
104 short elen; member
/titanic_51/usr/src/uts/common/fs/udfs/
H A Dudf_inode.c1314 int32_t elen, ndent, index, count, con_index; in ud_updat_ext4() local
1328 elen = sizeof (struct short_ad); in ud_updat_ext4()
1332 elen = sizeof (struct long_ad); in ud_updat_ext4()
1340 ndent = ip->i_max_emb / elen; in ud_updat_ext4()
1349 fe->fe_len_adesc = SWAP_32(ip->i_ext_used * elen); in ud_updat_ext4()
1363 fe->fe_len_adesc = SWAP_32(ndent * elen); in ud_updat_ext4()
1393 sizeof (struct alloc_ext_desc)) / elen; in ud_updat_ext4()
1444 sz = count * elen; in ud_updat_ext4()
1446 sz += elen; in ud_updat_ext4()
1488 ip->i_cur_max_ext -= (count / elen) in ud_updat_ext4()
1686 int32_t elen, ndent, nient; ud_trunc_ext4() local
[all...]
H A Dudf_bmap.c995 uint32_t old_count, elen; in ud_bump_ext_count() local
1079 elen = sizeof (struct short_ad); in ud_bump_ext_count()
1081 elen = sizeof (struct long_ad); in ud_bump_ext_count()
1085 sz = sz - (sizeof (struct alloc_ext_desc) + elen); in ud_bump_ext_count()
1086 ip->i_cur_max_ext += sz / elen; in ud_bump_ext_count()
H A Dudf_subr.c573 int32_t elen; in ud_sync_indir() local
580 elen = sizeof (struct short_ad); in ud_sync_indir()
582 elen = sizeof (struct long_ad); in ud_sync_indir()
590 ndentry = ip->i_max_emb / elen; in ud_sync_indir()
/titanic_51/usr/src/uts/common/inet/sctp/
H A Dsctp_error.c473 size_t elen; in sctp_make_err() local
482 elen = sizeof (*ecp) + sizeof (*eph) + len; in sctp_make_err()
483 emp = allocb(elen + pad, BPRI_MED); in sctp_make_err()
488 emp->b_wptr = emp->b_rptr + elen + pad; in sctp_make_err()
494 ecp->sch_len = htons(elen); in sctp_make_err()
H A Dsctp_asconf.c1037 size_t elen = 0; in sctp_asconf_adderr() local
1041 elen = ntohs(errph->sph_len); in sctp_asconf_adderr()
1042 len += elen; in sctp_asconf_adderr()
1062 if (elen > 0) { in sctp_asconf_adderr()
1063 bcopy(errph, mp->b_wptr, elen); in sctp_asconf_adderr()
1064 mp->b_wptr += elen; in sctp_asconf_adderr()
/titanic_51/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg.c1004 size_t elen; in fmd_msg_getitem_locked() local
1092 elen = (size_t)(p - q); in fmd_msg_getitem_locked()
1093 expr = malloc(elen + MB_CUR_MAX + 1); in fmd_msg_getitem_locked()
1100 for (i = 0; i < elen; i++) in fmd_msg_getitem_locked()
1146 size_t elen; in fmd_msg_decode_tokens() local
1211 elen = (size_t)(p - q); in fmd_msg_decode_tokens()
1212 expr = malloc(elen + MB_CUR_MAX + 1); in fmd_msg_decode_tokens()
1219 for (i = 0; i < elen; i++) in fmd_msg_decode_tokens()
/titanic_51/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclenvmond.c190 post_picl_event(const char *ename, char *envl, size_t elen, in post_picl_event() argument
204 if (nvlist_unpack(envl, elen, &nvlp, 0) < 0) { in post_picl_event()
/titanic_51/usr/src/cmd/syslogd/
H A Dsyslogd.h259 static int logforward(struct filed *f, char *ebuf, size_t elen);
H A Dsyslogd.c3912 logforward(struct filed *f, char *ebuf, size_t elen) in logforward() argument
3927 "unable to rewind the netconfig database", elen); in logforward()
3944 (void) snprintf(ebuf, elen, in logforward()
3951 (void) snprintf(ebuf, elen, "unknown host %s", hp); in logforward()
3959 (void) snprintf(ebuf, elen, in logforward()
3968 (void) strlcpy(ebuf, "malloc failed", elen); in logforward()
3978 (void) strlcpy(ebuf, "t_open", elen); in logforward()
3984 (void) strlcpy(ebuf, "t_bind", elen); in logforward()
/titanic_51/usr/src/lib/scsi/libsmp/common/
H A Dsmp_engine.c528 smp_action_set_response_len(smp_action_t *ap, size_t elen) in smp_action_set_response_len() argument
530 ap->sa_response_engine_len = elen; in smp_action_set_response_len()
/titanic_51/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb.c801 uint16_t prn, flags, elen; in get_blkno() local
818 elen = sizeof (struct short_ad); in get_blkno()
823 elen = sizeof (struct long_ad); in get_blkno()
835 nent = SWAP_32(fe->fe_len_adesc) / elen; in get_blkno()
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dstreval.c165 node.elen = ep->elen; in arith_exec()
836 ep->elen = strlen(string); in arith_compile()
H A Darith.c70 if(cp>=lvalue->expr && cp < lvalue->expr+lvalue->elen) in scope()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dstreval.c171 node.elen = ep->elen; in arith_exec()
937 ep->elen = strlen(string); in arith_compile()
H A Darith.c76 if(cp>=lvalue->expr && cp < lvalue->expr+lvalue->elen) in scope()
/titanic_51/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c917 int elen; in my_getenv() local
920 elen = strlen(estr); in my_getenv()
922 if (strncmp(ent, estr, elen) == 0 && in my_getenv()
923 ent[elen] == '=') in my_getenv()
924 return (ent + elen + 1); in my_getenv()
/titanic_51/usr/src/lib/libsmbfs/smb/
H A Dspnegoparse.c1409 long elen, tlen; in InitSpnegoTokenElements() local
1412 &elen, &tlen ); in InitSpnegoTokenElements()
/titanic_51/usr/src/cmd/fm/modules/common/eversholt/
H A Dfme.c594 int elen; in reconstitute_observations() local
598 elen = fmd_buf_size(fmep->hdl, fmep->fmcase, tmpbuf); in reconstitute_observations()
599 if (elen == 0) { in reconstitute_observations()
607 estr = MALLOC(elen); in reconstitute_observations()
608 fmd_buf_read(fmep->hdl, fmep->fmcase, tmpbuf, estr, elen); in reconstitute_observations()
699 int elen; in fme_restart() local
772 elen = fmd_buf_size(fmep->hdl, fmep->fmcase, tmpbuf); in fme_restart()
773 if (elen == 0) { in fme_restart()
779 estr = MALLOC(elen); in fme_restart()
780 fmd_buf_read(fmep->hdl, fmep->fmcase, tmpbuf, estr, elen); in fme_restart()
[all...]
H A Dplatform.c1252 size_t elen; in generate_envp() local
1284 elen = strlen(envnames[i]) + strlen(envvalues[i]) + 2; in generate_envp()
1285 (*envp)[i] = MALLOC(elen); in generate_envp()
1286 (void) snprintf((*envp)[i], elen, "%s=%s", in generate_envp()
/titanic_51/usr/src/uts/common/pcmcia/sys/
H A Dcs_priv.h765 int elen, uint32_t id, void **cs, void **ss);

12