/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_cookie.c | 155 buffer->tail = 0; in dapls_cb_create() 202 DAPL_ATOMIC tail; in dapls_cb_resize() local 224 tail = curr_buffer->tail; in dapls_cb_resize() 226 while (head != tail) { in dapls_cb_resize() 232 new_buffer->tail = index; in dapls_cb_resize() 292 if (new_head == buffer->tail) { in dapls_cb_get() 327 buffer->tail = cookie->index; in dapls_cb_put() 424 buffer->tail = cookie->index; in dapls_cookie_dealloc()
|
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/ |
H A D | show_unreachable.sh | 54 if tail -n +$(($line - 1)) $code_file | head -n 1 | \ 59 line_txt=$(tail -n +$(($line)) $code_file | head -n 1) 72 if tail -n +$(($line)) $code_file | head -n 1 | grep -qw 'break' ; then 79 tail -n +$(($line - ($context - 1))) $code_file | head -n $(($context - 1)) 81 tail -n +${line} $code_file | head -n $context
|
/illumos-gate/usr/src/lib/libfru/libfru/ |
H A D | PayloadReader.cc | 113 uint8_t head, uint8_t tail, in calcOffset() argument 124 return (length * tail); in calcOffset() 134 return (length * tail); in calcOffset() 141 int abs = tail - index; in calcOffset() 167 uint8_t tail = iter[1]; in getIterationOffset() local 374 uint8_t *tail = &(cur[1]); in update_iter_cont_bytes() local 398 *tail = *tail+1; in update_iter_cont_bytes() 407 *tail = *tail + 1; in update_iter_cont_bytes() 409 if (*tail == numPoss) in update_iter_cont_bytes() 410 *tail = 0; in update_iter_cont_bytes() [all …]
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | chrqueue.c | 74 CqCharBuff *tail; /* The tail of the list of output buffers */ member 109 cq->buffers.tail = NULL; in _new_GlCharQueue() 233 if(cq->buffers.tail) in _glq_append_chars() 234 cq->buffers.tail->next = node; in _glq_append_chars() 237 cq->buffers.tail = node; in _glq_append_chars() 254 memcpy(cq->buffers.tail->bytes + boff, chars + ndone, nnew); in _glq_append_chars() 280 cq->buffers.head = cq->buffers.tail = NULL; in _glq_empty_queue() 339 int is_tail = cq->buffers.head == cq->buffers.tail; in _glq_flush_queue()
|
H A D | history.c | 369 glh->list.tail = NULL; in _del_GlHistory() 501 glh->list.tail->next = lnode; in _glh_add_history() 505 lnode->prev = glh->list.tail; in _glh_add_history() 506 glh->list.tail = lnode; in _glh_add_history() 567 node = glh->list.tail; in _glh_find_backwards() 675 if(node == glh->list.tail) in _glh_find_forwards() 845 if(node == glh->list.tail) in _glh_oldest_line() 1258 if(glh->list.tail) { in _glh_load_history() 2108 *newest = glh->list.tail ? glh->list.tail->id : 0; in _glh_range_of_history() 2294 for(nseg=1,tail=hnode->head; tail->next; nseg++,tail=tail->next) in _glh_discard_copy() [all …]
|
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct.c | 332 tophdr->tail = new_hdr; in flowacct_add_obj() 345 tophdr->tail = new_hdr; in flowacct_add_obj() 380 if (tophdr->tail == hdr) { in flowacct_del_obj() 381 tophdr->tail = hdr->prev; in flowacct_del_obj() 592 thead->tail = flow->hdr; in flowacct_update_flows_tbl() 596 thead->tail = flow->hdr; in flowacct_update_flows_tbl() 617 thead->tail = flow->hdr; in flowacct_update_flows_tbl() 626 thead->tail = flow->hdr; in flowacct_update_flows_tbl() 805 tail = frec; in flowacct_timer() 807 tail->next = tmp_frec; in flowacct_timer() [all …]
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_notify.c | 209 mblk_t *tail; in sctp_sendfail_sent() local 221 tail = meta; in sctp_sendfail_sent() 238 tail->b_cont = nmp; in sctp_sendfail_sent() 240 while (tail->b_cont) { in sctp_sendfail_sent() 241 tail = tail->b_cont; in sctp_sendfail_sent() 256 mblk_t *tail; in sctp_sendfail_event() local 276 tail = meta; in sctp_sendfail_event() 285 tail->b_cont = nmp; in sctp_sendfail_event() 287 while (tail->b_cont) { in sctp_sendfail_event() 288 tail = tail->b_cont; in sctp_sendfail_event() [all …]
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_tavor_hw.h | 546 #define TAVOR_QP_SQ_ENTRY(qp, tail) \ argument 548 ((tail) * (qp)->qp_sq_wqesz))) 549 #define TAVOR_QP_SQ_DESC(qp, tail) \ argument 551 ((tail) * (qp)->qp_sq_wqesz))) 554 ((tail) * (qp)->qp_rq_wqesz))) 555 #define TAVOR_QP_RQ_DESC(qp, tail) \ argument 557 ((tail) * (qp)->qp_rq_wqesz))) 558 #define TAVOR_SRQ_RQ_ENTRY(srq, tail) \ argument 560 ((tail) * (srq)->srq_wq_wqesz))) 561 #define TAVOR_SRQ_RQ_DESC(srq, tail) \ argument [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | ptrlist.c | 439 struct ptr_list *head, *tail; in copy_ptr_list() local 451 tail = head->prev; in copy_ptr_list() 452 idx = tail->nr; in copy_ptr_list() 462 struct ptr_list *prev = tail; in copy_ptr_list() 463 tail = __alloc_ptrlist(0); in copy_ptr_list() 464 prev->next = tail; in copy_ptr_list() 465 tail->prev = prev; in copy_ptr_list() 469 tail->list[idx++] = ptr; in copy_ptr_list() 477 tail->nr = idx; in copy_ptr_list() 478 head->prev = tail; in copy_ptr_list() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_adsp.c | 121 char *tail = &buf[sizeof (buf)]; in adsp_ctrl() local 124 p += snprintf(p, tail-p, "AckReq"); in adsp_ctrl() 127 p += snprintf(p, tail-p, p == buf ? "EOM" : " EOM"); in adsp_ctrl() 131 p += snprintf(p, tail-p, p == buf ? "Att" : " Att"); in adsp_ctrl() 135 (void) snprintf(p, tail-p, "%s%s", p == buf ? "" : " ", in adsp_ctrl()
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | quick.test | 41 set tail [file tail $testfile] 42 if {[lsearch -exact $EXCLUDE $tail]>=0} continue 46 puts "$tail did not close all files: $sqlite_open_file_count" 48 lappend ::failList $tail
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | plcysubr.c | 245 type, tail); in put_minor_range() 314 char *tail; in delete_one_entry() local 334 tail = strpbrk(tok, "\t\n "); in delete_one_entry() 335 if (tail == NULL) in delete_one_entry() 336 tail = tok + strlen(tok); in delete_one_entry() 337 tc = *tail; in delete_one_entry() 338 *tail = '\0'; in delete_one_entry() 377 *tail = tc; in delete_one_entry() 386 put_minor_range(new, fep, tok, tail, in delete_one_entry() 388 put_minor_range(new, NULL, tok, tail, in delete_one_entry() [all …]
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | cpr_sparc.c | 115 cprop_t *tail; in cpr_update_nvram() local 124 for (tail = props + CPR_MAXPROP; props < tail; props++) { in cpr_update_nvram() 255 cprop_t *orig, *new, *tail; in cpr_default_setup() local 279 for (orig = orig_def_info.props, tail = orig + CPR_MAXPROP; in cpr_default_setup() 280 orig < tail; orig++, new++) { in cpr_default_setup() 501 cprop_t *prop, *tail; in cpr_enumerate_promprops() local 505 tail = &orig_def_info.props[CPR_MAXPROP]; in cpr_enumerate_promprops() 506 for (prop = orig_def_info.props; prop < tail; prop++) in cpr_enumerate_promprops() 512 for (prop = orig_def_info.props; prop < tail; prop++) { in cpr_enumerate_promprops()
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_wr.h | 71 #define HERMON_QP_SQ_ENTRY(qp, tail) \ argument 73 ((tail) << (qp)->qp_sq_log_wqesz))) 74 #define HERMON_QP_RQ_ENTRY(qp, tail) \ argument 76 ((tail) << (qp)->qp_rq_log_wqesz))) 77 #define HERMON_SRQ_WQ_ENTRY(srq, tail) \ argument 79 ((tail) << (srq)->srq_wq_log_wqesz)))
|
/illumos-gate/usr/src/cmd/projects/ |
H A D | projects.c | 64 struct projlist *tail, *prev; in find_projects() local 89 tail = safe_malloc(sizeof (struct projlist)); in find_projects() 96 tail->pl_next = NULL; in find_projects() 97 tail->pl_name = projname; in find_projects() 98 tail->pl_comm = projcomm; in find_projects() 100 projects = tail; in find_projects() 103 prev->pl_next = tail; in find_projects() 104 prev = tail; in find_projects()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 1222 tail = tail->nfs_ext_u.nfs_extB.next = argp; in nfsmount() 1277 if (tail) in nfsmount() 1310 if (tail) in nfsmount() 1337 if (tail) in nfsmount() 1374 if (tail) in nfsmount() 1389 if (tail) in nfsmount() 1418 if (tail) in nfsmount() 1434 if (tail) in nfsmount() 1780 if (tail) in nfsmount() 1890 if (tail) in nfsmount() [all …]
|
/illumos-gate/usr/src/uts/sun4v/ml/ |
H A D | mach_interrupt.S | 59 ! %g7 tail ptr 63 ldxa [%g4]ASI_QUEUE, %g7 ! %g7 = tail ptr 65 be,pn %xcc, 3f ! head == tail 412 * head offset(arg2) and %g3 is tail 429 stxa %g3, [%g4]ASI_QUEUE ! set head equal to tail 462 ldxa [%g4]ASI_QUEUE, %g3 ! %g3 = Q tail offset 465 be,pn %xcc, 0f ! head == tail 473 ldxa [%g4]ASI_QUEUE, %g3 ! %g3 = Q tail offset 520 cmp %g6, %g3 ! head == tail ?? 544 sllx %g3, 32, %g3 ! %g3.h = tail offset
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/ |
H A D | xhci_ring.c | 218 uint64_t tail; in xhci_ring_trb_tail_valid() local 220 tail = xhci_dma_pa(&xrp->xr_dma) + xrp->xr_tail * sizeof (xhci_trb_t); in xhci_ring_trb_tail_valid() 221 return (dma == tail); in xhci_ring_trb_tail_valid() 232 uint_t tail = xrp->xr_tail; in xhci_ring_trb_valid_range() local 237 taddr = xhci_dma_pa(&xrp->xr_dma) + tail * sizeof (xhci_trb_t); in xhci_ring_trb_valid_range() 241 tail++; in xhci_ring_trb_valid_range() 242 if (tail == xrp->xr_ntrb - 1) in xhci_ring_trb_valid_range() 243 tail = 0; in xhci_ring_trb_valid_range()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfslogtab.c | 210 struct logtab_ent_list *head = NULL, *tail = NULL, *tmpl; in logtab_rement() local 244 head = tail = tmpl; in logtab_rement() 250 tail->lel_next = tmpl; in logtab_rement() 251 tail = tmpl; /* remember the last element */ in logtab_rement() 294 struct logtab_ent_list *lelp, *head = NULL, *tail = NULL; in logtab_deactivate() local 327 head = tail = lelp; in logtab_deactivate() 333 tail->lel_next = lelp; in logtab_deactivate() 334 tail = lelp; /* remember the last element */ in logtab_deactivate()
|
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | machdep.c | 159 struct sun4u_tlb *tail; in restore_tlb() local 172 for (tail = utp + CPR_MAX_TLB; utp < tail; utp++) { in restore_tlb() 268 struct sun4u_cpu_info *scip, *tail; in cb_mpsetup() local 285 for (scip = mdinfo.sci, tail = scip + NCPU; scip < tail; scip++) { in cb_mpsetup()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_wr.c | 113 tail = wq->wq_tail; in hermon_post_send_ud() 365 tail = next_tail; in hermon_post_send_ud() 368 wq->wq_tail = tail; in hermon_post_send_ud() 467 tail = wq->wq_tail; in hermon_post_send_rc() 708 tail = next_tail; in hermon_post_send_rc() 711 wq->wq_tail = tail; in hermon_post_send_rc() 849 tail = wq->wq_tail; in hermon_post_send() 1039 tail = next_tail; in hermon_post_send() 1063 wq->wq_tail = tail; in hermon_post_send() 1193 tail = next_tail; in hermon_post_recv() [all …]
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | poplist.c | 38 hdrlines[hdrtype].head : hdrlines[hdrtype].tail); 46 hdrlines[hdrtype].head = hdrlines[hdrtype].tail = 55 hdrlines[hdrtype].head = hdrlines[hdrtype].tail = 58 hdrlines[hdrtype].tail = hdr2rm->prev;
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | RELEASE | 54 09-08-25 tail.c: initialize Tail_t.fifo=0 !! 55 09-08-15 tail.c: fix fifo logic 67 09-05-24 tail.c: -r == +1r 73 09-02-14 tail.c: fix VSC failures 186 04-10-31 tail.c: use SF_LOCKR macro 190 tail.c: use strton() for number conversion 211 03-09-18 tail.c: add --log 260 00-03-08 tail: handle multiple -f files 263 tail: accept + options 278 chmod,head,tail,rev: long options [all …]
|
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/ |
H A D | ktutil_funcs.c | 249 krb5_kt_list lp = NULL, tail = NULL, back = NULL; local 291 if (!tail) 292 tail = lp; 302 ktutil_free_kt_list(context, tail); 303 tail = NULL; 309 *list = tail; 445 if (!tail) 446 tail = lp; 454 ktutil_free_kt_list(context, tail); 455 tail = NULL; [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/ |
H A D | pathfind.c | 46 Dir_t* tail; /* directory list tail */ member 68 if (state.tail) in pathinclude() 69 state.tail = state.tail->next = dp; in pathinclude() 71 state.head = state.tail = dp; in pathinclude()
|