Home
last modified time | relevance | path

Searched refs:ep (Results 1 – 25 of 467) sorted by relevance

12345678910>>...19

/titanic_44/usr/src/cmd/fm/fmd/common/
H A Dfmd_event.c44 fmd_event_nvwrap(fmd_event_impl_t *ep) in fmd_event_nvwrap() argument
46 (void) nvlist_remove_all(ep->ev_nvl, FMD_EVN_TTL); in fmd_event_nvwrap()
47 (void) nvlist_remove_all(ep->ev_nvl, FMD_EVN_TOD); in fmd_event_nvwrap()
49 (void) nvlist_add_uint8(ep->ev_nvl, in fmd_event_nvwrap()
50 FMD_EVN_TTL, ep->ev_ttl); in fmd_event_nvwrap()
51 (void) nvlist_add_uint64_array(ep->ev_nvl, in fmd_event_nvwrap()
52 FMD_EVN_TOD, (uint64_t *)&ep->ev_time, 2); in fmd_event_nvwrap()
56 fmd_event_nvunwrap(fmd_event_impl_t *ep, const fmd_timeval_t *tp) in fmd_event_nvunwrap() argument
61 if (nvlist_lookup_uint8(ep->ev_nvl, FMD_EVN_TTL, &ep->ev_ttl) != 0) { in fmd_event_nvunwrap()
62 ep->ev_flags |= FMD_EVF_LOCAL; in fmd_event_nvunwrap()
[all …]
H A Dfmd_ustat.c94 fmd_ustat_elem_t *ep, *np; in fmd_ustat_destroy() local
100 for (ep = usp->us_hash[i]; ep != NULL; ep = np) { in fmd_ustat_destroy()
101 if (ep->use_stat->fmds_type == FMD_TYPE_STRING) in fmd_ustat_destroy()
102 fmd_strfree(ep->use_stat->fmds_value.str); in fmd_ustat_destroy()
104 if (ep->use_chunk != NULL) in fmd_ustat_destroy()
105 fmd_ustat_chunk_rele(usp, ep->use_chunk); in fmd_ustat_destroy()
107 np = ep->use_next; in fmd_ustat_destroy()
108 fmd_free(ep, sizeof (fmd_ustat_elem_t)); in fmd_ustat_destroy()
122 const fmd_ustat_elem_t *ep; in fmd_ustat_snapshot() local
137 for (ep = usp->us_hash[i]; ep != NULL; ep = ep->use_next) { in fmd_ustat_snapshot()
[all …]
/titanic_44/usr/src/cmd/file/
H A Dmagicutils.c226 Entry *ep; /* current magic table entry */ in f_mkmtab() local
237 ep = ep1; in f_mkmtab()
241 ep = ep2; in f_mkmtab()
253 ep = mtab; in f_mkmtab()
274 if (ep >= (mend - 1)) { in f_mkmtab()
286 ep = &mtab[oldsize-1]; in f_mkmtab()
297 ep->e_level = 1; in f_mkmtab()
310 ep->e_off = strtol((const char *)p, (char **)NULL, 0); in f_mkmtab()
327 ep->e_mask = strtoull((const char *)p3, (char **)NULL, in f_mkmtab()
330 ep->e_mask = 0ULL; in f_mkmtab()
[all …]
/titanic_44/usr/src/lib/libshell/common/edit/
H A Dedit.c150 # define ttyparm (ep->e_ttyparm)
151 # define nttyparm (ep->e_nttyparm)
162 register Edit_t *ep = (Edit_t*)(sh_getinterp()->ed_context); in tty_check() local
164 ep->e_savefd = -1; in tty_check()
176 register Edit_t *ep = (Edit_t*)(sh_getinterp()->ed_context); in tty_get() local
177 if(fd == ep->e_savefd) in tty_get()
178 *tty = ep->e_savetty; in tty_get()
188 if(ep->e_raw==0) in tty_get()
190 ep->e_savetty = *tty; in tty_get()
191 ep->e_savefd = fd; in tty_get()
[all …]
H A Demacs.c124 #define editb (*ep->ed)
146 #define location ep->_location
185 register Emacs_t *ep = ed->e_emacs; in ed_emacsread() local
191 if(!ep) in ed_emacsread()
193 ep = ed->e_emacs = newof(0,Emacs_t,1,0); in ed_emacsread()
194 ep->ed = ed; in ed_emacsread()
195 ep->prevdirection = 1; in ed_emacsread()
199 ep->screen = Screen; in ed_emacsread()
200 ep->lastdraw = FINAL; in ed_emacsread()
208 ed_setup(ep->ed,fd,reedit); in ed_emacsread()
[all …]
/titanic_44/usr/src/cmd/spell/
H A Dspellprog.c289 char *ep, *cp; in main() local
343 for (ep = word; (*ep = j = getchar()) != '\n'; ep++) in main()
352 if (ep[-1] == '-') { in main()
353 *--ep = 0; in main()
354 if (!tryword(word, ep, 0)) in main()
358 for (cp = word, dp = original; cp < ep; ) in main()
362 for (cp = word; cp < ep; cp++) in main()
365 if (((ep - word) == 1) && in main()
368 if (trypref(ep, ".", 0)) in main()
371 for (cp = original+1, dp = word+1; dp < ep; dp++, cp++) in main()
[all …]
/titanic_44/usr/src/cmd/mandoc/
H A Deqn.c286 struct eqn_node *ep; in eqn_read() local
289 ep = *epp; in eqn_read()
303 mandoc_msg(MANDOCERR_ARGSLOST, ep->parse, ln, pos, NULL); in eqn_read()
313 ep->data = mandoc_realloc(ep->data, ep->sz + sz + 1); in eqn_read()
317 if (0 == ep->sz) in eqn_read()
318 *ep->data = '\0'; in eqn_read()
320 ep->sz += sz; in eqn_read()
321 strlcat(ep->data, p + pos, ep->sz + 1); in eqn_read()
322 strlcat(ep->data, " ", ep->sz + 1); in eqn_read()
356 struct eqn_node *ep; in eqn_end() local
[all …]
/titanic_44/usr/src/cmd/backup/restore/
H A Dsymtab.c57 struct entry *ep; local
61 for (ep = entry[inum % entrytblsize]; ep != NIL; ep = ep->e_next)
62 if (ep->e_ino == inum)
63 return (ep);
149 struct entry *ep; local
160 for (ep = lookupino(ROOTINO); ep != NIL; ep = ep->e_entries) {
165 for (; ep != NIL; ep = ep->e_sibling)
166 if (strcmp(ep->e_name, buf) == 0)
170 ep = ep->e_xattrs;
178 return (ep);
[all …]
H A Drestore.c62 struct entry *ep; local
88 ep = lookupino(ino);
89 if (ep != NIL) {
90 if (strcmp(name, myname(ep)) == 0) {
92 ep->e_flags |= NEW;
97 ep = addentry(name, ino, type);
99 newnode(ep);
101 ep->e_flags |= NEW;
117 struct entry *ep; local
122 ep = lookupino(ino);
[all …]
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/support/
H A Derrors.c42 krb5int_set_error (struct errinfo *ep, long code, const char *fmt, ...) in krb5int_set_error() argument
46 krb5int_vset_error (ep, code, fmt, args); in krb5int_set_error()
51 krb5int_vset_error (struct errinfo *ep, long code, in krb5int_vset_error() argument
56 if (ep->msg && ep->msg != ep->scratch_buf) { in krb5int_vset_error()
57 free ((void *)ep->msg); in krb5int_vset_error()
58 ep->msg = NULL; in krb5int_vset_error()
60 ep->code = code; in krb5int_vset_error()
65 ep->msg = str; in krb5int_vset_error()
70 vsnprintf(ep->scratch_buf, sizeof(ep->scratch_buf), fmt, args); in krb5int_vset_error()
71 p = strdup(ep->scratch_buf); in krb5int_vset_error()
[all …]
/titanic_44/usr/src/lib/libshell/common/sh/
H A Denv.c88 char **env_get(Env_t* ep) in env_get() argument
91 register int n=ep->extra; in env_get()
92 if(ep->flags&ENV_VALID) in env_get()
93 return(ep->env+n); in env_get()
94 if(ep->count > ep->max) in env_get()
96 if(ep->flags&ENV_MALLOCED) in env_get()
97 free((void*)ep->env); in env_get()
98 if(!(ep->env = (char**)malloc(sizeof(char*)*(ep->count+1)))) in env_get()
100 ep->flags |= ENV_MALLOCED; in env_get()
101 ep->max = ep->count; in env_get()
[all …]
/titanic_44/usr/src/lib/libc/port/gen/
H A Dregexpr.c144 char *ep; in re_comp() local
157 ep = expbuf; in re_comp()
162 if (*ep == 0) in re_comp()
173 if (ep >= &expbuf[ESIZE]) in re_comp()
178 *ep++ = CEOF; in re_comp()
179 *ep++ = 0; in re_comp()
183 lastep = ep; in re_comp()
187 *ep++ = CDOT; in re_comp()
200 *ep++ = CDOL; in re_comp()
204 *ep++ = CCL; in re_comp()
[all …]
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dregex.c134 char *ep; in re_comp() local
147 ep = expbuf; in re_comp()
152 if (*ep == 0) in re_comp()
163 if (ep >= &expbuf[ESIZE]) in re_comp()
168 *ep++ = CEOF; in re_comp()
169 *ep++ = 0; in re_comp()
173 lastep = ep; in re_comp()
177 *ep++ = CDOT; in re_comp()
189 *ep++ = CDOL; in re_comp()
193 *ep++ = CCL; in re_comp()
[all …]
/titanic_44/usr/src/ucblib/libucb/port/gen/
H A Dregex.c150 char *ep; in re_comp() local
163 ep = expbuf; in re_comp()
168 if (*ep == 0) in re_comp()
179 if (ep >= &expbuf[ESIZE]) in re_comp()
184 *ep++ = CEOF; in re_comp()
185 *ep++ = 0; in re_comp()
189 lastep = ep; in re_comp()
193 *ep++ = CDOT; in re_comp()
205 *ep++ = CDOL; in re_comp()
209 *ep++ = CCL; in re_comp()
[all …]
/titanic_44/usr/src/head/
H A Dregexp.h56 #define PLACE(c) ep[c >> 3] |= bittab[c & 07]
57 #define ISTHERE(c) (ep[c >> 3] & bittab[c & 07])
72 int advance(const char *lp, const char *ep);
76 compile(char *instring, char *ep, const char *endbuf, int seof) in compile() argument
101 if (*ep == 0 && !sed) in compile()
103 RETURN(ep); in compile()
112 if (ep >= endbuf) in compile()
116 lastep = ep; in compile()
118 *ep++ = CCEOF; in compile()
121 RETURN(ep); in compile()
[all …]
/titanic_44/usr/src/lib/libgen/common/
H A Dreg_compile.c138 compile(const char *sp, char *ep, char *endbuf) in compile() argument
140 return (_compile(sp, ep, endbuf, 0)); in compile()
144 _compile(const char *sp, char *ep, char *endbuf, int viflag) in _compile() argument
158 char *expbuf = ep; in _compile()
170 if (ep == (char *)0 || ep[1] == 0) in _compile()
175 if (ep == (char *)0) { in _compile()
184 if ((ep = malloc(n)) == (char *)0) in _compile()
186 expbuf = ep; in _compile()
188 endbuf = ep + n; in _compile()
192 *ep++ = 1; in _compile()
[all …]
H A Dreg_step.c216 advance(char *lp, char *ep) in advance() argument
223 ret = _advance(lp, ++ep); in advance()
229 _advance(char *lp, char *ep) in _advance() argument
242 switch (*ep++) { in _advance()
245 if (*ep++ == *lp++) in _advance()
250 ep += Popwchar(ep, cl); in _advance()
282 ep += 32; in _advance()
293 if (cclass(ep, &rp, neg) != 1) in _advance()
295 ep += *(ep + 32) + 32; in _advance()
300 braslist[*ep++] = lp; in _advance()
[all …]
/titanic_44/usr/src/lib/libeti/form/common/
H A Dregex.c152 char *lp, *ep, *curlp; in __advance() local
157 ep = aep; in __advance()
160 switch (*ep++) { in __advance()
163 if (*ep++ == *lp++) in __advance()
171 ep++; in __advance()
177 (void) __xpush(0, ++ep); in __advance()
199 i = (((ep[-1] & 03) << 8) + (*ep) & 0377); in __advance()
200 ep++; in __advance()
201 (void) __xpush(0, ep + i + 2); in __advance()
202 (void) __xpush(0, ++ep); in __advance()
[all …]
H A Dregcmp.c79 char *ep, *sp; in libform_regcmp() local
97 if ((sep = ep = malloc((unsigned)(2 * i + SLOP))) == NULL) in libform_regcmp()
103 *ep++ = CIRCFL; in libform_regcmp()
114 *ep++ = FCEOF; in libform_regcmp()
117 __i_size = (int) (ep - sep); in libform_regcmp()
121 lastep = ep; in libform_regcmp()
125 if (!__rpush(ep)) goto cerror; in libform_regcmp()
126 *ep++ = CBRA; in libform_regcmp()
127 *ep++ = -1; in libform_regcmp()
134 *ep++ = CKET; in libform_regcmp()
[all …]
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_client_debug.c88 set_event(nfs4_event_type_t id, nfs4_revent_t *ep, mntinfo4_t *mi, in set_event() argument
97 ep->re_mi = mi; in set_event()
101 ep->re_char1 = fn_path(rp1->r_svnode.sv_name); in set_event()
103 ep->re_char1 = NULL; in set_event()
104 ep->re_rp1 = rp1; in set_event()
107 ep->re_pid = pid; in set_event()
109 ep->re_stat4 = nfs4_error; in set_event()
110 ep->re_tag1 = tag1; in set_event()
111 ep->re_tag2 = tag2; in set_event()
112 ep->re_seqid1 = seqid1; in set_event()
[all …]
/titanic_44/usr/src/lib/libast/common/misc/
H A Dmagic.c478 register Entry_t* ep; in ckmagic() local
495 for (ep = mp->magic; ep; ep = ep->next) in ckmagic()
498 if (ep->nest == '{') in ckmagic()
513 switch (ep->cont) in ckmagic()
524 if (ep->type == ' ') in ckmagic()
530 mp->ret[++call] = ep; in ckmagic()
531 ep = ep->value.lab; in ckmagic()
536 ep = mp->ret[call--]; in ckmagic()
537 if (ep->op == 'l') in ckmagic()
555 if (!ep->expr) in ckmagic()
[all …]
/titanic_44/usr/src/cmd/lp/cmd/lpsched/
H A Dterminate.c45 terminate(register EXEC *ep) in terminate() argument
49 if (ep->pid <= 0) in terminate()
52 if (ep->flags & EXF_KILLED) in terminate()
54 ep->flags |= EXF_KILLED; in terminate()
63 if (kill(-ep->pid, SIGTERM) == -1 && errno == ESRCH) { in terminate()
64 ep->pid = -99; in terminate()
65 ep->status = SIGTERM; in terminate()
66 ep->Errno = 0; in terminate()
84 if ((kill(-ep->pid, 0) == -1) && (errno == ESRCH)) { in terminate()
85 ep->pid = -99; in terminate()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dencrypt.c141 Encryptions *ep = encryptions; in findencryption() local
145 for (; (ep->type != NULL) && (ep->type != type); ep++); in findencryption()
146 return (ep->type ? ep : NULL); in findencryption()
152 Encryptions *ep = encryptions; in finddecryption() local
156 while (ep->type && ep->type != type) in finddecryption()
157 ++ep; in finddecryption()
158 return (ep->type ? ep : NULL); in finddecryption()
179 Encryptions *ep = encryptions; in encrypt_init() local
194 while (ep->type) { in encrypt_init()
198 Name, ENCTYPE_NAME(ep->type)); in encrypt_init()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmultilink.c42 #define set_ip_epdisc(ep, addr) ( \ argument
43 ep->length = 4, \
44 ep->value[0] = addr >> 24, \
45 ep->value[1] = addr >> 16, \
46 ep->value[2] = addr >> 8, \
47 ep->value[3] = addr \
242 get_default_epdisc(ep) in get_default_epdisc() argument
243 struct epdisc *ep; in get_default_epdisc()
248 if (get_first_hwaddr(ep->value, sizeof(ep->value))) {
249 ep->class = EPD_MAC;
[all …]
/titanic_44/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_ib.c583 rds_send_acknowledgement(rds_ep_t *ep) in rds_send_acknowledgement() argument
588 RDS_DPRINTF4("rds_send_acknowledgement", "Enter EP(%p)", ep); in rds_send_acknowledgement()
590 mutex_enter(&ep->ep_lock); in rds_send_acknowledgement()
592 ASSERT(ep->ep_rdmacnt != 0); in rds_send_acknowledgement()
598 if (ep->ep_rbufid != *(uintptr_t *)(uintptr_t)ep->ep_ackds.ds_va) { in rds_send_acknowledgement()
599 *(uintptr_t *)(uintptr_t)ep->ep_ackds.ds_va = ep->ep_rbufid; in rds_send_acknowledgement()
600 mutex_exit(&ep->ep_lock); in rds_send_acknowledgement()
604 ret = ibt_post_send(ep->ep_chanhdl, &ep->ep_ackwr, 1, &ix); in rds_send_acknowledgement()
609 ep, ret, ep->ep_sndpool.pool_nbusy); in rds_send_acknowledgement()
610 mutex_enter(&ep->ep_lock); in rds_send_acknowledgement()
[all …]

12345678910>>...19