Home
last modified time | relevance | path

Searched refs:tail (Results 1 – 25 of 442) sorted by relevance

12345678910>>...18

/illumos-gate/usr/src/uts/common/io/bnx/include/
H A Dlistq.h170 if(s_list->tail) in s_list_push_tail()
261 s_list->tail = s_list_tail->tail; in s_list_add_tail()
381 (_s_list)->tail = (_s_list_tail)->tail; \
516 if(d_list->tail) in d_list_push_tail()
541 d_list->tail = d_list->tail->prev; in d_list_pop_tail()
675 d_list->tail = d_list_head->tail; in d_list_add_head()
699 d_list->tail = d_list_tail->tail; in d_list_add_tail()
771 (_d_list)->tail = (_d_list)->tail->prev; \
849 (_d_list)->tail = (_d_list)->tail->prev; \
886 (_d_list)->tail = (_d_list_head)->tail; \
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/
H A Dlistq.h162 if(s_list->tail) in s_list_push_tail()
253 s_list->tail = s_list_tail->tail; in s_list_add_tail()
373 (_s_list)->tail = (_s_list_tail)->tail; \
508 if(d_list->tail) in d_list_push_tail()
533 d_list->tail = d_list->tail->prev; in d_list_pop_tail()
667 d_list->tail = d_list_head->tail; in d_list_add_head()
691 d_list->tail = d_list_tail->tail; in d_list_add_tail()
763 (_d_list)->tail = (_d_list)->tail->prev; \
841 (_d_list)->tail = (_d_list)->tail->prev; \
878 (_d_list)->tail = (_d_list_head)->tail; \
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_zip.c72 if ((p+6 > tail) || (p+7+p[6] > tail)) in interpret_ddp_zip()
130 if (p+1 > tail || (&p[1] + p[0]) > tail) in interpret_ddp_zip()
141 if (p+1 > tail || (&p[1] + p[0]) > tail) in interpret_ddp_zip()
148 if (p+5 > tail) in interpret_ddp_zip()
154 if (p+7 > tail || (&p[7] + p[6]) > tail) in interpret_ddp_zip()
161 if (p+1 > tail || (&p[1] + p[0]) > tail) in interpret_ddp_zip()
170 if (p+1 > tail || (&p[1] + p[0]) > tail) in interpret_ddp_zip()
206 if (p+7 > tail || (&p[7] + p[6]) > tail) in interpret_ddp_zip()
213 if (p+1 > tail || (&p[1] + p[0]) > tail) in interpret_ddp_zip()
220 if (p+1 > tail || (&p[1] + p[0]) > tail) in interpret_ddp_zip()
[all …]
H A Dsnoop_atp.c102 char *tail = &buf[sizeof (buf)]; in atp_ci() local
106 p += snprintf(p, tail-p, "TReq"); in atp_ci()
110 p += snprintf(p, tail-p, "TResp"); in atp_ci()
113 p += snprintf(p, tail-p, "TRel"); in atp_ci()
117 p += snprintf(p, tail-p, ci & ATP_FLG_XO ? " XO" : " ALO"); in atp_ci()
120 p += snprintf(p, tail-p, " EOM"); in atp_ci()
123 p += snprintf(p, tail-p, " STS"); in atp_ci()
126 (void) snprintf(p, tail-p, " %s", to); in atp_ci()
H A Dsnoop_nbp.c100 show_nbp_tuples(uint8_t *p, int tuples, uint8_t *tail) in show_nbp_tuples() argument
112 if ((p + 5) > tail) in show_nbp_tuples()
120 if (p > tail || &p[1]+p[0] > tail) in show_nbp_tuples()
125 if (p > tail || &p[1]+p[0] > tail) in show_nbp_tuples()
130 if (p > tail || &p[1]+p[0] > tail) in show_nbp_tuples()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_queue.c60 queue->tail = NULL; in iscsi_init_queue()
318 dst_queue->tail = src_queue->tail; in iscsi_move_queue()
321 src_queue->tail = NULL; in iscsi_move_queue()
342 ASSERT(tail != NULL); in iscsi_dequeue_cmd()
352 *tail = NULL; in iscsi_dequeue_cmd()
404 ASSERT(icmdp != *tail); in iscsi_enqueue_cmd_head()
408 *head = *tail = icmdp; in iscsi_enqueue_cmd_head()
431 ASSERT(icmdp != *tail); in iscsi_enqueue_cmd_tail()
435 *head = *tail = icmdp; in iscsi_enqueue_cmd_tail()
441 icmdp->cmd_prev = *tail; in iscsi_enqueue_cmd_tail()
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_cmds.c203 tail("args");
231 tail("copy");
261 tail("cd");
400 tail("file");
438 tail("join");
483 tail("list");
509 tail("move");
520 tail("next");
834 tail("t");
892 tail("v");
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dmknames.awk58 function tail(file) { function
94 tail("boolname.c");
95 tail("boolcode.c");
96 tail("boolfnam.c");
97 tail("numname.c");
98 tail("numcode.c");
99 tail("numfnam.c");
100 tail("strname.c");
101 tail("strcode.c");
102 tail("strfnam.c");
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmknames.awk59 function tail(file) { function
102 tail("boolname.c");
103 tail("boolcode.c");
104 tail("boolfnam.c");
105 tail("numname.c");
106 tail("numcode.c");
107 tail("numfnam.c");
108 tail("strname.c");
109 tail("strcode.c");
110 tail("strfnam.c");
/illumos-gate/usr/src/cmd/rcap/rcapd/
H A Drcapd_rfd.c98 if (tail == NULL) { in rfd_revoke_next()
128 rfd = tail; in rfd_revoke_next()
181 if (tail != NULL) in rfd_open()
185 rfd->rfd_prev = tail; in rfd_open()
186 if (tail != NULL) in rfd_open()
187 tail->rfd_next = rfd; in rfd_open()
188 tail = rfd; in rfd_open()
207 rfd = tail; in rfd_close()
215 if (tail == rfd) in rfd_close()
216 tail = rfd->rfd_prev; in rfd_close()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dpathdup.c55 static struct dup *head, *tail, *new; variable
75 tail = head->next; in pathinit()
76 while (tail) { in pathinit()
77 new = tail->next; in pathinit()
78 free(tail); in pathinit()
79 tail = new; in pathinit()
81 tail = head; in pathinit()
101 tail->next = new; in growstore()
102 tail = new; in growstore()
124 pt = &tail->mem[MEMSIZ-size]; in pathalloc()
[all …]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_ring_buffer_util.c86 rbuf->tail = 0; in dapls_rbuf_alloc()
127 if (rbuf->head != rbuf->tail) { in dapls_rbuf_realloc()
242 if (rbuf->head != rbuf->tail) { in dapls_rbuf_remove()
243 pos = rbuf->tail; in dapls_rbuf_remove()
244 rbuf->tail = (pos + 1) & rbuf->lim; in dapls_rbuf_remove()
274 int tail; in dapls_rbuf_count() local
278 tail = rbuf->tail; in dapls_rbuf_count()
280 if (head == tail) in dapls_rbuf_count()
282 if (head > tail) in dapls_rbuf_count()
283 return (head - tail); in dapls_rbuf_count()
[all …]
H A Ddapl_provider.c185 g_dapl_provider_list.tail = dapl_os_alloc( in dapl_provider_list_create()
187 if (NULL == g_dapl_provider_list.tail) { in dapl_provider_list_create()
193 (void) dapl_os_memzero(g_dapl_provider_list.tail, in dapl_provider_list_create()
196 g_dapl_provider_list.head->next = g_dapl_provider_list.tail; in dapl_provider_list_create()
197 g_dapl_provider_list.tail->prev = g_dapl_provider_list.head; in dapl_provider_list_create()
207 if (NULL != g_dapl_provider_list.tail) { in dapl_provider_list_create()
208 dapl_os_free(g_dapl_provider_list.tail, in dapl_provider_list_create()
269 prev_node = g_dapl_provider_list.tail->prev; in dapl_provider_list_insert()
270 next_node = g_dapl_provider_list.tail; in dapl_provider_list_insert()
311 g_dapl_provider_list.tail != cur_node; in dapl_provider_list_search()
[all …]
/illumos-gate/usr/src/tools/cscope-fast/
H A Dhistory.c42 HISTORY *head, *tail, *current; variable
51 if (tail) { in addcmd()
52 tail->next = h; in addcmd()
54 h->previous = tail; in addcmd()
55 tail = h; in addcmd()
57 head = tail = h; in addcmd()
75 } else if (tail) in prevcmd()
76 return (current = tail); in prevcmd()
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dillumos_4149_builtin_head.sh34 builtin head tail
70 [[ $(tail -1 $t1) == 'test04' ]] || \
73 [[ $(tail -2 $t1) == $'test03\ntest04' ]] || \
76 [[ $(tail -10 $t1) == $'test00\ntest01\ntest02\ntest03\ntest04' ]] || \
87 [[ $(tail -1 $t3) == 'nonewline' ]] || \
90 [[ $(tail -2 $t3) == 'nonewline' ]] || \
113 [[ $(tail -1 $t2) == 'nonewline' ]] || \
116 [[ $(tail -2 $t2) == $'test04\nnonewline' ]] || \
119 [[ $(tail -10 $t2) == $'test00\ntest01\ntest02\ntest03\ntest04\nnonewline' ]] \
/illumos-gate/usr/src/cmd/mail/
H A Dgendeliv.c55 hdrlines[H_DAFWDFROM].tail = hdrlines[H_AFWDFROM].tail;
57 hdrlines[H_AFWDFROM].tail = (struct hdrs *)NULL;
59 hdrlines[H_DRECEIVED].tail = hdrlines[H_RECEIVED].tail;
61 hdrlines[H_RECEIVED].tail = (struct hdrs *)NULL;
63 hdrlines[H_DTCOPY].tail = hdrlines[H_TCOPY].tail;
65 hdrlines[H_TCOPY].tail = (struct hdrs *)NULL;
121 hptr = hdrlines[H_FROM].tail;
259 hdrlines[H_AFWDFROM].tail = hdrlines[H_DAFWDFROM].tail;
263 hdrlines[H_RECEIVED].tail = hdrlines[H_DRECEIVED].tail;
267 hdrlines[H_TCOPY].tail = hdrlines[H_DTCOPY].tail;
[all …]
H A Dgoback.c139 hdrlines[H_DAFWDFROM].tail = hdrlines[H_AFWDFROM].tail;
141 hdrlines[H_AFWDFROM].tail = (struct hdrs *)NULL;
143 hdrlines[H_DRECEIVED].tail = hdrlines[H_RECEIVED].tail;
145 hdrlines[H_RECEIVED].tail = (struct hdrs *)NULL;
147 hdrlines[H_DTCOPY].tail = hdrlines[H_TCOPY].tail;
149 hdrlines[H_TCOPY].tail = (struct hdrs *)NULL;
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ofs_gen_util.c62 new_entry->prev = list->tail; in add_genlist()
65 list->tail = new_entry; in add_genlist()
68 list->tail->next = new_entry; in add_genlist()
69 list->tail = new_entry; in add_genlist()
92 list->tail = entry->prev; in delete_genlist()
113 list->tail = list->head; in remove_genlist_head()
149 entry->prev = list->tail; in insert_genlist_tail()
152 list->tail = entry; in insert_genlist_tail()
155 list->tail->next = entry; in insert_genlist_tail()
156 list->tail = entry; in insert_genlist_tail()
/illumos-gate/usr/src/ucbcmd/ln/
H A Dln.c79 char *tail; in linkit() local
90 tail = strrchr(from, '/'); in linkit()
91 if (tail == 0) in linkit()
92 tail = from; in linkit()
94 tail++; in linkit()
95 if (strlen(to) + strlen(tail) >= sizeof (destname) - 1) { in linkit()
97 to, tail); in linkit()
100 (void) sprintf(destname, "%s/%s", to, tail); in linkit()
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dstrproc.c69 char *tail; in conv_strproc_trim() local
76 tail = str + strlen(str); in conv_strproc_trim()
77 while ((tail > str) && conv_strproc_isspace(*(tail - 1))) in conv_strproc_trim()
78 tail--; in conv_strproc_trim()
79 *tail = '\0'; in conv_strproc_trim()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_sched.c2296 tail = mp; in mac_rx_srs_poll_ring()
2537 tail = mp; in mac_srs_pick_chain()
3235 tail = mp; in mac_rx_srs_subflow_process()
3256 tail = mp; in mac_rx_srs_subflow_process()
3301 tail = mp; in mac_rx_srs_process()
3356 tail = mp; in mac_rx_srs_process()
3457 mblk_t *tail; in mac_tx_srs_no_desc() local
3511 mblk_t *tail; in mac_tx_srs_enqueue() local
4183 prev = tail; in mac_tx_srs_drain()
4796 mblk_t *tail; in mac_tx_sring_enqueue() local
[all …]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvio_util.c88 vmplp->tail = 0; in vio_create_mblks()
102 vmplp->tail = vmplp->head; in vio_create_mblks()
119 vmplp->quep[vmplp->tail] = vmp; in vio_create_mblks()
120 vmplp->tail = (vmplp->tail + 1) & vmplp->quemask; in vio_create_mblks()
156 if (vmplp->head == vmplp->tail) { in vio_destroy_mblks()
164 if (vmplp->head != vmplp->tail) { in vio_destroy_mblks()
218 if (head != vmplp->tail) { in vio_allocb()
256 vmplp->quep[vmplp->tail] = vmp; in vio_freeb()
257 vmplp->tail = (vmplp->tail + 1) & vmplp->quemask; in vio_freeb()
285 vmplp->quep[vmplp->tail] = vmp; in vio_clobber_pool()
[all …]
/illumos-gate/usr/src/lib/libresolv2/include/isc/
H A Dlist.h22 #define LIST(type) struct { type *head, *tail; }
24 do { (list).head = NULL; (list).tail = NULL; } while (0)
38 #define TAIL(list) ((list).tail)
47 (list).tail = (elt); \
56 if ((list).tail != NULL) \
57 (list).tail->link.next = (elt); \
60 (elt)->link.prev = (list).tail; \
62 (list).tail = (elt); \
71 INSIST((list).tail == (elt)); \
72 (list).tail = (elt)->link.prev; \
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dexportlist.c73 struct exportnode **tail; in export() local
91 tail = &exportlist; in export()
156 tail = newexport(sh->sh_path, groups, tail); in export()
192 newgroup(char *grname, struct groupnode **tail) in newgroup() argument
203 *tail = new; in newgroup()
209 newexport(char *grname, struct groupnode *grplist, struct exportnode **tail) in newexport() argument
221 *tail = new; in newexport()
/illumos-gate/usr/src/lib/udapl/libdat/common/
H A Ddat_dictionary.c66 DAT_DICTIONARY_NODE *tail; member
132 if (NULL == p_dictionary->tail) { in dat_dictionary_create()
138 (void) dat_os_memset(p_dictionary->tail, '\0', in dat_dictionary_create()
141 p_dictionary->head->next = p_dictionary->tail; in dat_dictionary_create()
154 if (NULL != p_dictionary->tail) { in dat_dictionary_create()
155 dat_os_free(p_dictionary->tail, in dat_dictionary_create()
283 prev_node = p_dictionary->tail->prev; in dat_dictionary_insert()
284 next_node = p_dictionary->tail; in dat_dictionary_insert()
318 p_dictionary->tail != cur_node; in dat_dictionary_search()
361 p_dictionary->tail != cur_node; in dat_dictionary_enumerate()
[all …]

12345678910>>...18