/titanic_44/usr/src/cmd/tail/ |
H A D | reverse.c | 182 BF *mark, *tl, *tr; in r_buf() local 187 tl = NULL; in r_buf() 195 if (enomem || (tl = malloc(sizeof (BF))) == NULL || in r_buf() 196 (tl->l = malloc(BSZ)) == NULL) { in r_buf() 199 tl = enomem ? tl->next : mark; in r_buf() 200 enomem += tl->len; in r_buf() 202 tl->next = mark; in r_buf() 203 tl->prev = mark->prev; in r_buf() 204 mark->prev->next = tl; in r_buf() 205 mark->prev = tl; in r_buf() [all …]
|
/titanic_44/usr/src/lib/libslp/clib/ |
H A D | slp_targets.c | 144 struct target_list *tl; in slp_new_target_list() local 162 if (!(tl = calloc(1, sizeof (*tl)))) { in slp_new_target_list() 166 tl->DAs = NULL; in slp_new_target_list() 168 if (!(tl->scopes = calloc(scope_cnt + 1, sizeof (*(tl->scopes))))) { in slp_new_target_list() 170 free(tl); in slp_new_target_list() 173 tl->uc_scopes = NULL; in slp_new_target_list() 174 tl->state = tl->scopes; in slp_new_target_list() 175 if (!(tl->all_scopes = strdup(scopes))) { in slp_new_target_list() 177 free(tl->scopes); free(tl); in slp_new_target_list() 181 if (!(tl->mc_scopes = strdup(scopes))) { in slp_new_target_list() [all …]
|
/titanic_44/usr/src/lib/libast/common/comp/ |
H A D | strftime.c | 54 Tm_t tl; 56 memset(&tl, 0, sizeof(tl)); 72 tl.tm_sec = tm->tm_sec; 74 tl.tm_min = tm->tm_min; 76 tl.tm_hour = tm->tm_hour; 78 tl.tm_wday = tm->tm_wday; 80 tl.tm_mday = tm->tm_mday; 82 tl.tm_mon = tm->tm_mon; 84 tl.tm_year = tm->tm_year; 88 tl.tm_sec = tm->tm_sec; [all …]
|
/titanic_44/usr/src/cmd/sgs/libelf/common/ |
H A D | newscn.c | 40 Elf_Scn * tl; in elf_newscn() local 78 tl = elf->ed_tlscn; in elf_newscn() 80 s->sb_scn.s_index = tl->s_index + 1; in elf_newscn() 81 elf->ed_tlscn = tl->s_next = &s->sb_scn; in elf_newscn() 84 = (Elf32_Half)(tl->s_index + 2); in elf_newscn() 86 tl = &s->sb_scn; in elf_newscn() 89 return (tl); in elf_newscn() 108 tl = elf->ed_tlscn; in elf_newscn() 110 s->sb_scn.s_index = tl->s_index + 1; in elf_newscn() 111 elf->ed_tlscn = tl->s_next = &s->sb_scn; in elf_newscn() [all …]
|
/titanic_44/usr/src/uts/common/fs/zfs/sys/ |
H A D | txg.h | 112 extern void txg_list_create(txg_list_t *tl, size_t offset); 113 extern void txg_list_destroy(txg_list_t *tl); 114 extern boolean_t txg_list_empty(txg_list_t *tl, uint64_t txg); 115 extern boolean_t txg_all_lists_empty(txg_list_t *tl); 116 extern boolean_t txg_list_add(txg_list_t *tl, void *p, uint64_t txg); 117 extern boolean_t txg_list_add_tail(txg_list_t *tl, void *p, uint64_t txg); 118 extern void *txg_list_remove(txg_list_t *tl, uint64_t txg); 119 extern void *txg_list_remove_this(txg_list_t *tl, void *p, uint64_t txg); 120 extern boolean_t txg_list_member(txg_list_t *tl, void *p, uint64_t txg); 121 extern void *txg_list_head(txg_list_t *tl, uint64_t txg); [all …]
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | txg.c | 691 txg_list_create(txg_list_t *tl, size_t offset) in txg_list_create() argument 695 mutex_init(&tl->tl_lock, NULL, MUTEX_DEFAULT, NULL); in txg_list_create() 697 tl->tl_offset = offset; in txg_list_create() 700 tl->tl_head[t] = NULL; in txg_list_create() 704 txg_list_destroy(txg_list_t *tl) in txg_list_destroy() argument 709 ASSERT(txg_list_empty(tl, t)); in txg_list_destroy() 711 mutex_destroy(&tl->tl_lock); in txg_list_destroy() 715 txg_list_empty(txg_list_t *tl, uint64_t txg) in txg_list_empty() argument 717 return (tl->tl_head[txg & TXG_MASK] == NULL); in txg_list_empty() 728 txg_all_lists_empty(txg_list_t *tl) in txg_all_lists_empty() argument [all …]
|
/titanic_44/usr/src/uts/common/inet/tcp/ |
H A D | tcp_tunables.c | 69 tcp_listener_t *tl; in tcp_listener_conf_get() local 82 for (tl = list_head(&tcps->tcps_listener_conf); tl != NULL; in tcp_listener_conf_get() 83 tl = list_next(&tcps->tcps_listener_conf, tl)) { in tcp_listener_conf_get() 85 nbytes = snprintf(pval, size, "%d:%d", tl->tl_port, in tcp_listener_conf_get() 86 tl->tl_ratio); in tcp_listener_conf_get() 88 nbytes = snprintf(pval, size, ",%d:%d", tl->tl_port, in tcp_listener_conf_get() 89 tl->tl_ratio); in tcp_listener_conf_get() 113 tcp_listener_t *tl; in tcp_listener_conf_add() local 130 for (tl = list_head(&tcps->tcps_listener_conf); tl != NULL; in tcp_listener_conf_add() 131 tl = list_next(&tcps->tcps_listener_conf, tl)) { in tcp_listener_conf_add() [all …]
|
H A D | tcp_misc.c | 618 tcp_listener_t *tl; in tcp_find_listener_conf() local 622 for (tl = list_head(&tcps->tcps_listener_conf); tl != NULL; in tcp_find_listener_conf() 623 tl = list_next(&tcps->tcps_listener_conf, tl)) { in tcp_find_listener_conf() 624 if (tl->tl_port == port) { in tcp_find_listener_conf() 625 ratio = tl->tl_ratio; in tcp_find_listener_conf() 639 tcp_listener_t *tl; in tcp_listener_conf_cleanup() local 642 while ((tl = list_head(&tcps->tcps_listener_conf)) != NULL) { in tcp_listener_conf_cleanup() 643 list_remove(&tcps->tcps_listener_conf, tl); in tcp_listener_conf_cleanup() 644 kmem_free(tl, sizeof (tcp_listener_t)); in tcp_listener_conf_cleanup()
|
/titanic_44/usr/src/uts/i86pc/io/dr/ |
H A D | dr_util.c | 267 struct memlist *hl = NULL, *tl, **mlp; in dr_memlist_dup() local 273 tl = *mlp; in dr_memlist_dup() 278 (*mlp)->ml_prev = tl; in dr_memlist_dup() 279 tl = *mlp; in dr_memlist_dup() 290 struct memlist *ml, *tl, *nl; in dr_memlist_add_span() local 304 for (tl = ml = mlist; ml; tl = ml, ml = ml->ml_next) { in dr_memlist_add_span() 336 nl->ml_prev = tl; in dr_memlist_add_span() 337 tl->ml_next = nl; in dr_memlist_add_span() 349 struct memlist *ml, *tl, *nlp; in dr_memlist_del_span() local 358 for (tl = ml = mlist; ml; tl = ml, ml = nlp) { in dr_memlist_del_span() [all …]
|
/titanic_44/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_util.c | 266 struct memlist *hl = NULL, *tl, **mlp; in dr_memlist_dup() local 272 tl = *mlp; in dr_memlist_dup() 277 (*mlp)->ml_prev = tl; in dr_memlist_dup() 278 tl = *mlp; in dr_memlist_dup() 289 struct memlist *ml, *tl, *nl; in dr_memlist_add_span() local 303 for (tl = ml = mlist; ml; tl = ml, ml = ml->ml_next) { in dr_memlist_add_span() 335 nl->ml_prev = tl; in dr_memlist_add_span() 336 tl->ml_next = nl; in dr_memlist_add_span() 348 struct memlist *ml, *tl, *nlp; in dr_memlist_del_span() local 357 for (tl = ml = mlist; ml; tl = ml, ml = nlp) { in dr_memlist_del_span() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_smb.c | 733 int sz, tl; in interpret_smb() local 741 tl = snprintf(p, sz, "SMB R"); in interpret_smb() 743 tl = snprintf(p, sz, "SMB C"); in interpret_smb() 744 p += tl; in interpret_smb() 745 sz -= tl; in interpret_smb() 749 tl = snprintf(p, sz, " Cmd=SMB%s", decoder->name); in interpret_smb() 751 tl = snprintf(p, sz, " Cmd=0x%02X", smb->com); in interpret_smb() 753 p += tl; in interpret_smb() 754 sz -= tl; in interpret_smb() 761 tl = snprintf(p, sz, "%s", xtra); in interpret_smb() [all …]
|
/titanic_44/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | wbrdr_st.c | 53 wborder_set(w, ls, rs, ts, bs, tl, tr, bl, br) in wborder_set() argument 55 const cchar_t *ls, *rs, *ts, *bs, *tl, *tr, *bl, *br; 63 w, ls, rs, ts, bs, tl, tr, bl, br 89 if (tl == (const cchar_t *) 0) 90 tl = WACS_ULCORNER; 98 if (__m_cc_replace(w, 0, 0, tl, 0) == -1)
|
H A D | wbrdr.c | 55 chtype tl, chtype tr, chtype bl, chtype br) in wborder() argument 63 w, ls, rs, ts, bs, tl, tr, bl, br in wborder() 83 if (tl == 0) in wborder() 84 tl = ACS_ULCORNER; in wborder() 85 (void) __m_acs_cc(tl, &wtl); in wborder()
|
H A D | brdr_st.c | 49 border_set(ls, rs, ts, bs, tl, tr, bl, br) in border_set() argument 50 const cchar_t *ls, *rs, *ts, *bs, *tl, *tr, *bl, *br; in border_set() 57 ls, rs, ts, bs, tl, tr, bl, br 61 code = wborder_set(stdscr, ls, rs, ts, bs, tl, tr, bl, br);
|
H A D | brdr.c | 50 chtype tl, chtype tr, chtype bl, chtype br) in border() argument 57 ls, rs, ts, bs, tl, tr, bl, br in border() 61 code = wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br); in border()
|
/titanic_44/usr/src/cmd/fs.d/smbclnt/chacl/ |
H A D | chacl.c | 79 ulong_t tl; in main() local 91 tl = strtoul(optarg, NULL, 10); in main() 92 if (tl == 0) in main() 94 uid = (uid_t)tl; in main() 97 tl = strtoul(optarg, NULL, 10); in main() 98 if (tl == 0) in main() 100 gid = (gid_t)tl; in main()
|
/titanic_44/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_cfgrom.c | 171 iec61883_node_text_leaf_t tl; in av1394_ioctl_node_get_text_leaf() local 196 if (ddi_copyin(arg, &tl, sizeof (tl), mode) != 0) { in av1394_ioctl_node_get_text_leaf() 200 n = tl.tl_num; in av1394_ioctl_node_get_text_leaf() 201 parent = tl.tl_parent; in av1394_ioctl_node_get_text_leaf() 268 tl.tl_cnt = pd->pd_tl_next; in av1394_ioctl_node_get_text_leaf() 269 tl.tl_desc_entry = desc_entry; in av1394_ioctl_node_get_text_leaf() 270 tl.tl_rlen = leaf_len; in av1394_ioctl_node_get_text_leaf() 271 tl.tl_spec = spec; in av1394_ioctl_node_get_text_leaf() 272 tl.tl_lang_id = lang_id; in av1394_ioctl_node_get_text_leaf() 273 if (ddi_copyout(&tl, arg, sizeof (tl), mode) != 0) { in av1394_ioctl_node_get_text_leaf() [all …]
|
/titanic_44/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wbrdr.c | 58 chtype tl, chtype tr, chtype bl, chtype br) in wborder() argument 79 if (tl == 0) in wborder() 80 tl = ACS_ULCORNER; in wborder() 81 (void) __m_acs_cc(tl, &wtl); in wborder()
|
H A D | wbrdr_st.c | 57 const cchar_t *ts, const cchar_t *bs, const cchar_t *tl, in wborder_set() argument 85 if (tl == NULL) in wborder_set() 86 tl = WACS_ULCORNER; in wborder_set() 94 if (__m_cc_replace(w, 0, 0, tl, 0) == -1) in wborder_set()
|
/titanic_44/usr/src/lib/libast/common/tm/ |
H A D | tmxtime.c | 54 struct tm* tl; in tmxtime() local 97 if (!(tl = tmlocaltime(&now))) in tmxtime() 99 if (tm->tm_isdst = tl->tm_isdst) in tmxtime() 115 if (!(tl = tmlocaltime(&now))) in tmxtime() 117 tm->tm_isdst = tl->tm_isdst; in tmxtime()
|
/titanic_44/usr/src/lib/krb5/kadm5/ |
H A D | kadm_rpc_xdr.c | 309 krb5_tl_data *tl, *tl2; in xdr_krb5_tl_data() local 315 tl = tl2 = *tl_data_head; in xdr_krb5_tl_data() 316 while (tl) { in xdr_krb5_tl_data() 317 tl2 = tl->tl_data_next; in xdr_krb5_tl_data() 318 free(tl->tl_data_contents); in xdr_krb5_tl_data() 319 free(tl); in xdr_krb5_tl_data() 320 tl = tl2; in xdr_krb5_tl_data() 325 tl = *tl_data_head; in xdr_krb5_tl_data() 327 more = (tl != NULL); in xdr_krb5_tl_data() 330 if (tl == NULL) in xdr_krb5_tl_data() [all …]
|
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_net.c | 412 struct timeval tl; in iscsi_net_poll() local 415 tl.tv_sec = timeout / 1000; in iscsi_net_poll() 416 tl.tv_usec = (timeout % 1000) * 1000; in iscsi_net_poll() 417 if (ksocket_setsockopt(ks, SOL_SOCKET, SO_RCVTIMEO, &tl, in iscsi_net_poll() 421 struct timeval32 tl; in iscsi_net_poll() local 424 tl.tv_sec = timeout / 1000; in iscsi_net_poll() 425 tl.tv_usec = (timeout % 1000) * 1000; in iscsi_net_poll() 426 if (ksocket_setsockopt(ks, SOL_SOCKET, SO_RCVTIMEO, &tl, in iscsi_net_poll() 465 struct timeval tl; in iscsi_net_recvmsg() local 467 tl.tv_sec = timeout; in iscsi_net_recvmsg() [all …]
|
/titanic_44/usr/src/uts/sun4v/io/ |
H A D | dr_util.c | 148 struct memlist *hl = NULL, *tl, **mlp; in dr_memlist_dup() local 154 tl = *mlp; in dr_memlist_dup() 160 (*mlp)->ml_prev = tl; in dr_memlist_dup() 161 tl = *mlp; in dr_memlist_dup()
|
/titanic_44/usr/src/cmd/vi/port/ |
H A D | ex_temp.c | 157 getaline(line tl) in getaline() argument 163 bp = getblock(tl, READ); in getaline() 165 tl &= ~OFFMSK; in getaline() 168 bp = getblock(tl += INCRMT, READ); in getaline() 179 line tl; in putline() local 184 tl = tline; in putline() 185 bp = getblock(tl, WRITE); in putline() 187 tl &= ~OFFMSK; in putline() 199 bp = getblock(tl += INCRMT, WRITE); in putline() 203 tl = tline; in putline() [all …]
|
/titanic_44/usr/src/lib/libcurses/screen/ |
H A D | _border.c | 50 chtype tl, chtype tr, chtype bl, chtype br) in border() argument 52 return (wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)); in border()
|