Home
last modified time | relevance | path

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

12345678910>>...17

/titanic_50/usr/src/uts/common/io/bnxe/577xx/include/
H A Dlistq.h79 s_list_entry_t *tail; member
97 s_list->tail = tail_entry; in s_list_init()
108 s_list->tail = (s_list_entry_t *) 0; in s_list_clear()
121 if(s_list->tail == (s_list_entry_t *) 0) in s_list_push_head()
123 s_list->tail = s_entry; in s_list_push_head()
144 s_list->tail = (s_list_entry_t *) 0; in s_list_pop_head()
162 if(s_list->tail) in s_list_push_tail()
164 s_list->tail->next = s_entry; in s_list_push_tail()
170 s_list->tail = s_entry; in s_list_push_tail()
190 return s_list->tail; in s_list_peek_tail()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_zip.c51 uint8_t *tail = (uint8_t *)zip + len; in interpret_ddp_zip() local
72 if ((p+6 > tail) || (p+7+p[6] > tail)) in interpret_ddp_zip()
110 if (p+2 > tail) in interpret_ddp_zip()
126 if (p+2 > 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()
[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()
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_queue.c31 static void iscsi_enqueue_cmd_tail(iscsi_cmd_t **head, iscsi_cmd_t **tail,
60 queue->tail = NULL; in iscsi_init_queue()
90 &isp->sess_queue_pending.tail, icmdp); in iscsi_enqueue_pending_cmd()
95 &isp->sess_queue_pending.tail, icmdp); in iscsi_enqueue_pending_cmd()
116 &isp->sess_queue_pending.tail, icmdp); in iscsi_dequeue_pending_cmd()
172 &icp->conn_queue_active.tail, icmdp); in iscsi_enqueue_active_cmd()
177 &icp->conn_queue_active.tail, icmdp); in iscsi_enqueue_active_cmd()
180 &icp->conn_queue_active.tail, icmdp); in iscsi_enqueue_active_cmd()
205 &icp->conn_queue_active.tail, icmdp); in iscsi_dequeue_active_cmd()
245 &icp->conn_queue_idm_aborting.tail, icmdp); in iscsi_enqueue_idm_aborting_cmd()
[all …]
/titanic_50/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");
/titanic_50/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");
/titanic_50/usr/src/cmd/vi/port/
H A Dex_cmds.c196 tail("abbreviate");
203 tail("args");
213 tail("append");
231 tail("copy");
238 tail("crypt");
261 tail("cd");
302 tail("change");
341 tail("delete");
361 tail(peekchar() == 'x' ? "ex" : "edit");
400 tail("file");
[all …]
/titanic_50/usr/src/cmd/rcap/rcapd/
H A Drcapd_rfd.c62 static rfd_t *tail; /* tail of global list */ variable
98 if (tail == NULL) { in rfd_revoke_next()
110 rfd = rfd_find_prev_class(tail, RFD_RESERVED); in rfd_revoke_next()
117 rfd = rfd_find_prev_class(tail, RFD_PSINFO); in rfd_revoke_next()
128 rfd = tail; in rfd_revoke_next()
181 if (tail != NULL) in rfd_open()
182 rfd->rfd_prev_class = rfd_find_prev_class(tail, class); in rfd_open()
184 rfd->rfd_prev_class = tail; in rfd_open()
185 rfd->rfd_prev = tail; in rfd_open()
186 if (tail != NULL) in rfd_open()
[all …]
/titanic_50/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 …]
/titanic_50/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()
209 if (((pos + 1) & rbuf->lim) != rbuf->tail) { in dapls_rbuf_add()
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()
[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 …]
H A Ddapl_cookie.c155 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()
/titanic_50/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()
/titanic_50/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()
/titanic_50/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;
120 if ((hptr = hdrlines[H_FROM1].tail) == (struct hdrs *)NULL) {
121 hptr = hdrlines[H_FROM].tail;
259 hdrlines[H_AFWDFROM].tail = hdrlines[H_DAFWDFROM].tail;
261 hdrlines[H_DAFWDFROM].tail = (struct hdrs *)NULL;
[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;
/titanic_50/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()
/titanic_50/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()
/titanic_50/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; \
/titanic_50/usr/src/uts/common/io/mac/
H A Dmac_sched.c1147 #define MAC_SRS_ENQUEUE_CHAIN(mac_srs, head, tail, count, sz) { \ argument
1153 (mac_srs)->srs_last = (tail); \
1157 #define MAC_RX_SRS_ENQUEUE_CHAIN(mac_srs, head, tail, count, sz) { \ argument
1160 MAC_SRS_ENQUEUE_CHAIN(mac_srs, head, tail, count, sz); \
1171 #define MAC_TX_SRS_ENQUEUE_CHAIN(mac_srs, head, tail, count, sz) { \ argument
1173 MAC_SRS_ENQUEUE_CHAIN(mac_srs, head, tail, count, sz); \
1313 #define MAC_TX_SRS_TEST_HIWAT(srs, mp, tail, cnt, sz, cookie) { \ argument
1338 MAC_TX_SRS_ENQUEUE_CHAIN(srs, mp, tail, cnt, sz); \
1445 #define FANOUT_ENQUEUE_MP(head, tail, cnt, bw_ctl, sz, sz0, mp) { \ argument
1446 if ((tail) != NULL) { \
[all …]
/titanic_50/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()
284 ASSERT(vmplp->tail != vmplp->head); in vio_clobber_pool()
[all …]
/titanic_50/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()
/titanic_50/usr/src/lib/udapl/libdat/common/
H A Ddat_dictionary.c64 DAT_DICTIONARY_NODE *tail; member
129 p_dictionary->tail = dat_os_alloc(sizeof (DAT_DICTIONARY_NODE)); in dat_dictionary_create()
130 if (NULL == p_dictionary->tail) { in dat_dictionary_create()
136 (void) dat_os_memset(p_dictionary->tail, '\0', in dat_dictionary_create()
139 p_dictionary->head->next = p_dictionary->tail; in dat_dictionary_create()
140 p_dictionary->tail->prev = p_dictionary->head; 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()
280 prev_node = p_dictionary->tail->prev; in dat_dictionary_insert()
281 next_node = p_dictionary->tail; in dat_dictionary_insert()
[all …]
/titanic_50/usr/src/lib/libfru/libfru/
H A DPayloadReader.cc115 uint8_t head, uint8_t tail, in calcOffset() argument
126 return (length * tail); in calcOffset()
136 return (length * tail); in calcOffset()
143 int abs = tail - index; in calcOffset()
169 uint8_t tail = iter[1]; in getIterationOffset() local
205 head, tail, iterThere, iterPoss, in getIterationOffset()
376 uint8_t *tail = &(cur[1]); in update_iter_cont_bytes() local
394 if ((*tail + 1) == numPoss) in update_iter_cont_bytes()
399 if (*tail != (numPoss-1)) in update_iter_cont_bytes()
400 *tail = *tail+1; in update_iter_cont_bytes()
[all …]

12345678910>>...17