Home
last modified time | relevance | path

Searched refs:te (Results 1 – 25 of 51) sorted by relevance

123

/titanic_50/usr/src/lib/libast/common/disc/
H A Dsfdctee.c49 reg Tee_t* te = (Tee_t*)disc; local
52 if(te->status == 0 && sfwrite(te->tee,buf,size) != (ssize_t)size)
53 te->status = -1;
84 reg Tee_t* te; local
86 if(!(te = (Tee_t*)malloc(sizeof(Tee_t))) )
89 te->disc.readf = NIL(Sfread_f);
90 te->disc.seekf = NIL(Sfseek_f);
91 te->disc.writef = teewrite;
92 te->disc.exceptf = teeexcept;
93 te->tee = tee;
[all …]
/titanic_50/usr/src/lib/libast/common/string/
H A Dbase64.c56 register unsigned char* te; in base64encode() local
73 te = tp + tz - B64_EC + 1; in base64encode()
83 te = tp + sizeof(tmp) - B64_EC + 1; in base64encode()
93 if (tp >= te) in base64encode()
101 te = tp + sizeof(tmp) - B64_EC + 1; in base64encode()
122 if (tp >= te) in base64encode()
130 te = tp + sizeof(tmp) - B64_EC + 1; in base64encode()
146 if (tp < te) in base64encode()
167 register unsigned char* te; in base64decode() local
188 te = tp + tz; in base64decode()
[all …]
/titanic_50/usr/src/cmd/cdrw/
H A Dutil.c107 print_trackio_error(struct trackio_error *te) in print_trackio_error() argument
114 switch (te->err_type) { in print_trackio_error()
116 err_msg(gettext("System error: %s\n"), strerror(te->te_errno)); in print_trackio_error()
120 if (te->status == 2) { in print_trackio_error()
121 if ((te->key == 3) && (te->asc == 0x0c) && in print_trackio_error()
122 (te->ascq == 9)) { in print_trackio_error()
127 if (te->key == 3) { in print_trackio_error()
133 te->key, te->asc, te->ascq); in print_trackio_error()
139 if (te->te_errno != 0) in print_trackio_error()
140 err_msg("%s\n", strerror(te->te_errno)); in print_trackio_error()
[all …]
H A Dtrackio.c262 int (*cb)(int64_t, int64_t), int64_t arg, struct trackio_error *te) in write_track() argument
354 te->err_type = TRACKIO_ERR_SYSTEM; in write_track()
355 te->te_errno = errno; in write_track()
380 te->err_type = TRACKIO_ERR_SYSTEM; in write_track()
381 te->te_errno = errno; in write_track()
393 te->err_type = TRACKIO_ERR_SYSTEM; in write_track()
394 te->te_errno = errno; in write_track()
421 te->err_type = TRACKIO_ERR_USER_ABORT; in write_track()
430 te->err_type = TRACKIO_ERR_TRANSPORT; in write_track()
431 te->te_errno = tio_errno; in write_track()
[all …]
H A Ddevice.c731 struct trackio_error *te; in write_next_track() local
760 te = (struct trackio_error *)my_zalloc(sizeof (*te)); in write_next_track()
764 if (!write_track(target, ti, h, progress, size, te)) { in write_next_track()
765 if (te->err_type == TRACKIO_ERR_USER_ABORT) { in write_next_track()
778 free(te); in write_next_track()
H A Dutil.h68 void print_trackio_error(struct trackio_error *te);
H A Dtrackio.h80 trackio_error *te);
/titanic_50/usr/src/lib/libslp/clib/
H A Dslp_targets.c147 struct da_node *te; in slp_new_target_list() local
243 for (te = tl->DAs; te; te = te->next) in slp_new_target_list()
244 add2scopes_list(te, tl); in slp_new_target_list()
377 static void add2scopes_list(struct da_node *te, struct target_list *tl) { in add2scopes_list() argument
391 if (slp_onlist(s, te->scopes)) { in add2scopes_list()
399 st->da = te; in add2scopes_list()
418 struct da_node *te, *p; in add_da_entry() local
420 if (!(te = malloc(sizeof (*te)))) { in add_da_entry()
424 te->scopes = scopes; in add_da_entry()
425 te->coverage = c; in add_da_entry()
[all …]
/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_ioctl.c54 struct smb2_ioctbl_ent *te; in smb2_ioctl() local
91 for (te = smb2_ioc_tbl; te->te_code; te++) { in smb2_ioctl()
92 if (te->te_code == fsctl.CtlCode) in smb2_ioctl()
95 if (te->te_code == 0) { in smb2_ioctl()
107 if ((te->te_flags & ITF_IPC_ONLY) != 0 && in smb2_ioctl()
116 if (te->te_flags & ITF_NO_FID) { in smb2_ioctl()
132 if (te->te_flags & ITF_DISK_FID) { in smb2_ioctl()
168 status = (te->te_func)(sr, &fsctl); in smb2_ioctl()
/titanic_50/usr/src/lib/libscf/common/
H A Dnotify_params.c343 add_entry(scf_transaction_entry_t *te, scf_value_t *val) in add_entry() argument
345 if (scf_entry_add_value(te, val) != 0) { in add_entry()
354 add_boolean_entry(scf_handle_t *h, scf_transaction_entry_t *te, uint8_t v) in add_boolean_entry() argument
363 return (add_entry(te, val)); in add_boolean_entry()
367 add_count_entry(scf_handle_t *h, scf_transaction_entry_t *te, uint64_t v) in add_count_entry() argument
376 return (add_entry(te, val)); in add_count_entry()
380 add_integer_entry(scf_handle_t *h, scf_transaction_entry_t *te, int64_t v) in add_integer_entry() argument
389 return (add_entry(te, val)); in add_integer_entry()
393 add_astring_entry(scf_handle_t *h, scf_transaction_entry_t *te, char *s) in add_astring_entry() argument
405 return (add_entry(te, val)); in add_astring_entry()
[all …]
H A Dlowlevel.c4363 scf_transaction_entry_t *te; in scf_value_reset_locked() local
4368 te = val->value_tx; in scf_value_reset_locked()
4369 te->entry_tx->tran_invalid = 1; in scf_value_reset_locked()
4373 for (curp = &te->entry_head; *curp != NULL; in scf_value_reset_locked()
5160 char *s, *e, *te, *tpg; in scf_parse_svc_fmri() local
5186 te = strstr(s, SCF_FMRI_SERVICE_PREFIX); in scf_parse_svc_fmri()
5187 if (te == NULL) in scf_parse_svc_fmri()
5188 te = e; in scf_parse_svc_fmri()
5190 *te = 0; in scf_parse_svc_fmri()
5193 s = te; in scf_parse_svc_fmri()
[all …]
/titanic_50/usr/src/uts/common/io/chxge/
H A Dglue.c175 struct toetool_reg *te; in pe_ioctl() local
203 te = (struct toetool_reg *)dmp->b_rptr; in pe_ioctl()
305 if ((dmp->b_wptr - dmp->b_rptr) != sizeof (*te)) { in pe_ioctl()
311 if ((te->addr & 3) != 0) { in pe_ioctl()
316 (void) t1_tpi_read(chp, te->addr, &te->val); in pe_ioctl()
318 iocp->ioc_count = sizeof (*te); in pe_ioctl()
324 if ((dmp->b_wptr - dmp->b_rptr) != sizeof (*te)) { in pe_ioctl()
330 if ((te->addr & 3) != 0) { in pe_ioctl()
335 (void) t1_tpi_write(chp, te->addr, te->val); in pe_ioctl()
338 iocp->ioc_count = sizeof (*te); in pe_ioctl()
/titanic_50/usr/src/lib/libast/common/comp/
H A Diconv.c536 register unsigned char* te; in utf2bin() local
547 te = t + (*tn); in utf2bin()
548 while (t < te && f < fe) in utf2bin()
610 register unsigned char* te; in bin2utf() local
620 te = t + (*tn); in bin2utf()
621 while (f < fe && t < te) in bin2utf()
641 if (t >= (te - 2)) in bin2utf()
650 if (t >= (te - 3)) in bin2utf()
720 register unsigned char* te; in ume2bin() local
733 te = t + (*tn); in ume2bin()
[all …]
/titanic_50/usr/src/lib/libm/common/m9x/
H A D__fex_hdlr.c95 int i, ex, te; in __fex_te_needed() local
98 te = 0; in __fex_te_needed()
101 te |= te_bit[i]; in __fex_te_needed()
107 te |= (1 << fp_trap_inexact); in __fex_te_needed()
109 te |= (1 << fp_trap_underflow); in __fex_te_needed()
111 te |= (1 << fp_trap_overflow); in __fex_te_needed()
113 te |= (1 << fp_trap_division); in __fex_te_needed()
115 te |= (1 << fp_trap_invalid); in __fex_te_needed()
118 return te; in __fex_te_needed()
754 int i, te; in __fex_get_thr_handlers() local
[all …]
/titanic_50/usr/src/lib/libast/common/tm/
H A Dtmxmake.c114 Tm_t te; in tmxtm() local
116 te = *tm; in tmxtm()
117 te.tm_year = y; in tmxtm()
118 now = tmxsec(tmxtime(&te, tm->tm_zone->west)); in tmxtm()
/titanic_50/usr/src/lib/libcmd/common/
H A Ddate.c277 Time_t te; in b_date() local
390 te = convert(fmts, t, now); in b_date()
391 if (te > ts) in b_date()
392 e += te - ts; in b_date()
394 e += ts - te; in b_date()
/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dobj_mgr.c1974 TOK_OBJ_ENTRY * te = NULL; in object_mgr_update_publ_tok_obj_from_shm() local
1985 te = &global_shm->publ_tok_objs[index]; in object_mgr_update_publ_tok_obj_from_shm()
1988 val = memcmp(obj->name, te->name, 8); in object_mgr_update_publ_tok_obj_from_shm()
2010 if ((te->count_hi != obj->count_hi) || in object_mgr_update_publ_tok_obj_from_shm()
2011 (te->count_lo != obj->count_lo)) { in object_mgr_update_publ_tok_obj_from_shm()
2013 obj->count_hi = te->count_hi; in object_mgr_update_publ_tok_obj_from_shm()
2014 obj->count_lo = te->count_lo; in object_mgr_update_publ_tok_obj_from_shm()
2026 (void) memcpy(new_obj->name, te->name, 8); in object_mgr_update_publ_tok_obj_from_shm()
2051 te = &global_shm->publ_tok_objs[index]; in object_mgr_update_publ_tok_obj_from_shm()
2053 (void) memcpy(new_obj->name, te->name, 8); in object_mgr_update_publ_tok_obj_from_shm()
[all …]
/titanic_50/usr/src/lib/libsmbfs/smb/
H A Drap.c308 uint16_t *te; in smb_rap_getNparam() local
316 te = (uint16_t *)rap->r_npbuf; in smb_rap_getNparam()
317 *value = letohs(*te); in smb_rap_getNparam()
/titanic_50/usr/src/cmd/svc/svccfg/
H A Dsvccfg_tmpl.c2985 tmpl_errors_destroy(tmpl_errors_t *te) in tmpl_errors_destroy() argument
2991 if (te == NULL) in tmpl_errors_destroy()
2993 if (te->te_list) { in tmpl_errors_destroy()
2994 while ((ite = uu_list_teardown(te->te_list, &marker)) != NULL) { in tmpl_errors_destroy()
2999 uu_list_destroy(te->te_list); in tmpl_errors_destroy()
3001 if (te->te_scf) { in tmpl_errors_destroy()
3003 while ((ste = uu_list_teardown(te->te_scf, &marker)) != NULL) { in tmpl_errors_destroy()
3006 uu_list_destroy(te->te_scf); in tmpl_errors_destroy()
3008 uu_free(te); in tmpl_errors_destroy()
3022 tmpl_errors_t *te; in tmpl_errors_create() local
[all …]
/titanic_50/usr/src/uts/common/vm/
H A Dvm_usage.c1575 vmu_entity_t *te; in vmu_free_extra() local
1590 te = vmu_data.vmu_free_entities; in vmu_free_extra()
1593 if (te->vme_vnode_hash != NULL) in vmu_free_extra()
1594 mod_hash_destroy_hash(te->vme_vnode_hash); in vmu_free_extra()
1595 if (te->vme_amp_hash != NULL) in vmu_free_extra()
1596 mod_hash_destroy_hash(te->vme_amp_hash); in vmu_free_extra()
1597 if (te->vme_anon_hash != NULL) in vmu_free_extra()
1598 mod_hash_destroy_hash(te->vme_anon_hash); in vmu_free_extra()
1599 kmem_free(te, sizeof (vmu_entity_t)); in vmu_free_extra()
/titanic_50/usr/src/uts/common/fs/udfs/
H A Dudf_subr.c193 struct stbl_entry *te; in ud_xlate_to_daddr() local
207 te = (struct stbl_entry *)&stbl->stbl_entry; in ud_xlate_to_daddr()
210 for (i = 0; i < entry_count; i++, te++) { in ud_xlate_to_daddr()
211 begin_bad = SWAP_32(te->sent_ol); in ud_xlate_to_daddr()
230 retblkno = SWAP_32(te->sent_ml) + in ud_xlate_to_daddr()
1370 struct term_entry *te; in ud_check_te_unrec() local
1375 te = (struct term_entry *)addr; in ud_check_te_unrec()
1376 if (ud_verify_tag_and_desc(&te->te_tag, UD_TERMINAL_ENT, in ud_check_te_unrec()
/titanic_50/usr/src/cmd/tbl/
H A DMakefile31 t8.c t9.c tb.c tc.c te.c tf.c tg.c ti.c \
/titanic_50/usr/src/cmd/mdb/common/modules/nca/
H A Dnca.c441 te_t te; in nca_timer() local
485 for (te_addr = tb.head; te_addr != NULL; te_addr = te.next) { in nca_timer()
486 if (mdb_vread(&te, sizeof (te_t), (uintptr_t)te_addr) in nca_timer()
491 mdb_printf("%0p%s", te.ep, te.next == NULL ? "" : " "); in nca_timer()
/titanic_50/usr/src/pkg/manifests/
H A Dlocale-te.mf15 set name=pkg.fmri value=pkg:/locale/te@$(PKGVERS)
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dcmds.c1882 char *tp[9], *te[9]; in domap() local
1935 te[toknum] = cp1; in domap()
1937 te[toknum] = cp1 - len1; in domap()
1983 while (cp3 != te[toknum]) { in domap()
2007 te[toknum]) in domap()
2070 while (cp3 != te[toknum]) { in domap()

123