Home
last modified time | relevance | path

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

12345678910>>...18

/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/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/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_zip.c70 if ((p+6 > tail) || (p+7+p[6] > tail)) in interpret_ddp_zip()
128 if (p+1 > tail || (&p[1] + p[0]) > tail) in interpret_ddp_zip()
139 if (p+1 > tail || (&p[1] + p[0]) > tail) in interpret_ddp_zip()
146 if (p+5 > tail) in interpret_ddp_zip()
152 if (p+7 > tail || (&p[7] + p[6]) > tail) in interpret_ddp_zip()
159 if (p+1 > tail || (&p[1] + p[0]) > tail) in interpret_ddp_zip()
168 if (p+1 > tail || (&p[1] + p[0]) > tail) in interpret_ddp_zip()
204 if (p+7 > tail || (&p[7] + p[6]) > tail) in interpret_ddp_zip()
211 if (p+1 > tail || (&p[1] + p[0]) > tail) in interpret_ddp_zip()
218 if (p+1 > tail || (&p[1] + p[0]) > tail) in interpret_ddp_zip()
[all …]
H A Dsnoop_atp.c100 char *tail = &buf[sizeof (buf)]; in atp_ci() local
104 p += snprintf(p, tail-p, "TReq"); in atp_ci()
108 p += snprintf(p, tail-p, "TResp"); in atp_ci()
111 p += snprintf(p, tail-p, "TRel"); in atp_ci()
115 p += snprintf(p, tail-p, ci & ATP_FLG_XO ? " XO" : " ALO"); in atp_ci()
118 p += snprintf(p, tail-p, " EOM"); in atp_ci()
121 p += snprintf(p, tail-p, " STS"); in atp_ci()
124 (void) snprintf(p, tail-p, " %s", to); in atp_ci()
H A Dsnoop_nbp.c98 show_nbp_tuples(uint8_t *p, int tuples, uint8_t *tail) in show_nbp_tuples() argument
110 if ((p + 5) > tail) in show_nbp_tuples()
118 if (p > tail || &p[1]+p[0] > tail) in show_nbp_tuples()
123 if (p > tail || &p[1]+p[0] > tail) in show_nbp_tuples()
128 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.c205 tail("args");
233 tail("copy");
263 tail("cd");
402 tail("file");
440 tail("join");
485 tail("list");
511 tail("move");
522 tail("next");
836 tail("t");
894 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.awk55 function tail(file) { function
98 tail("boolname.c");
99 tail("boolcode.c");
100 tail("boolfnam.c");
101 tail("numname.c");
102 tail("numcode.c");
103 tail("numfnam.c");
104 tail("strname.c");
105 tail("strcode.c");
106 tail("strfnam.c");
/illumos-gate/usr/src/cmd/rcap/rcapd/
H A Drcapd_rfd.c96 if (tail == NULL) { in rfd_revoke_next()
126 rfd = tail; in rfd_revoke_next()
179 if (tail != NULL) in rfd_open()
183 rfd->rfd_prev = tail; in rfd_open()
184 if (tail != NULL) in rfd_open()
185 tail->rfd_next = rfd; in rfd_open()
186 tail = rfd; in rfd_open()
205 rfd = tail; in rfd_close()
213 if (tail == rfd) in rfd_close()
214 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.c40 HISTORY *head, *tail, *current; variable
49 if (tail) { in addcmd()
50 tail->next = h; in addcmd()
52 h->previous = tail; in addcmd()
53 tail = h; in addcmd()
55 head = tail = h; in addcmd()
73 } else if (tail) in prevcmd()
74 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.c53 hdrlines[H_DAFWDFROM].tail = hdrlines[H_AFWDFROM].tail;
55 hdrlines[H_AFWDFROM].tail = (struct hdrs *)NULL;
57 hdrlines[H_DRECEIVED].tail = hdrlines[H_RECEIVED].tail;
59 hdrlines[H_RECEIVED].tail = (struct hdrs *)NULL;
61 hdrlines[H_DTCOPY].tail = hdrlines[H_TCOPY].tail;
63 hdrlines[H_TCOPY].tail = (struct hdrs *)NULL;
119 hptr = hdrlines[H_FROM].tail;
257 hdrlines[H_AFWDFROM].tail = hdrlines[H_DAFWDFROM].tail;
261 hdrlines[H_RECEIVED].tail = hdrlines[H_DRECEIVED].tail;
265 hdrlines[H_TCOPY].tail = hdrlines[H_DTCOPY].tail;
[all …]
H A Dgoback.c136 hdrlines[H_DAFWDFROM].tail = hdrlines[H_AFWDFROM].tail;
138 hdrlines[H_AFWDFROM].tail = (struct hdrs *)NULL;
140 hdrlines[H_DRECEIVED].tail = hdrlines[H_RECEIVED].tail;
142 hdrlines[H_RECEIVED].tail = (struct hdrs *)NULL;
144 hdrlines[H_DTCOPY].tail = hdrlines[H_TCOPY].tail;
146 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.c77 char *tail; in linkit() local
88 tail = strrchr(from, '/'); in linkit()
89 if (tail == 0) in linkit()
90 tail = from; in linkit()
92 tail++; in linkit()
93 if (strlen(to) + strlen(tail) >= sizeof (destname) - 1) { in linkit()
95 to, tail); in linkit()
98 (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.c71 struct exportnode **tail; in export() local
89 tail = &exportlist; in export()
154 tail = newexport(sh->sh_path, groups, tail); in export()
190 newgroup(char *grname, struct groupnode **tail) in newgroup() argument
201 *tail = new; in newgroup()
207 newexport(char *grname, struct groupnode *grplist, struct exportnode **tail) in newexport() argument
219 *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