Searched refs:tail (Results 1 - 25 of 389) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libpp/common/
H A Dppcomment.c31 ppcomment(char* head, char* comment, char* tail, int line) argument
34 ppprintf("%s%-.*s%s", head, MAXTOKEN - 4, comment, tail);
/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("strfna
[all...]
/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("strfna
[all...]
/illumos-gate/usr/src/tools/cscope-fast/
H A Dhistory.c42 HISTORY *head, *tail, *current; variable
51 if (tail) {
52 tail->next = h;
54 h->previous = tail;
55 tail = h;
57 head = tail = h;
75 } else if (tail)
76 return (current = tail);
95 /* reset current to tail */
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dpathdup.c55 static struct dup *head, *tail, *new; variable in typeref:struct:
75 tail = head->next;
76 while (tail) {
77 new = tail->next;
78 free(tail);
79 tail = new;
81 tail = head;
101 tail->next = new;
102 tail = new;
124 pt = &tail
[all...]
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dstrproc.c69 char *tail; local
76 tail = str + strlen(str);
77 while ((tail > str) && conv_strproc_isspace(*(tail - 1)))
78 tail--;
79 *tail = '\0';
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/
H A Dlistq.h10 * void s_list_init (s_list_t *, *head, *tail, cnt)
25 * void d_list_init (d_list_t *, *head, *tail, cnt)
79 s_list_entry_t *tail; member in struct:_s_list_t
97 s_list->tail = tail_entry;
108 s_list->tail = (s_list_entry_t *) 0;
121 if(s_list->tail == (s_list_entry_t *) 0)
123 s_list->tail = s_entry;
144 s_list->tail = (s_list_entry_t *) 0;
162 if(s_list->tail)
164 s_list->tail
414 d_list_entry_t *tail; member in struct:_d_list_t
911 q_list_entry_t *tail; member in struct:_q_list_t
[all...]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_ring_buffer_util.c86 rbuf->tail = 0;
127 if (rbuf->head != rbuf->tail) {
209 if (((pos + 1) & rbuf->lim) != rbuf->tail) {
242 if (rbuf->head != rbuf->tail) {
243 pos = rbuf->tail;
244 rbuf->tail = (pos + 1) & rbuf->lim;
274 int tail; local
278 tail = rbuf->tail;
280 if (head == tail)
[all...]
H A Ddapl_cookie.c52 * tail index : index of last unallocated cookie
57 * used to update the tail. This will implicitly deallocate all of the cookies
58 * "between" the old tail and the new tail.
140 * allocate one additional entry so that the tail
155 buffer->tail = 0;
202 DAPL_ATOMIC tail; local
224 tail = curr_buffer->tail;
226 while (head != tail) {
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_zip.c51 uint8_t *tail = (uint8_t *)zip + len; local
72 if ((p+6 > tail) || (p+7+p[6] > tail))
110 if (p+2 > tail)
126 if (p+2 > tail)
130 if (p+1 > tail || (&p[1] + p[0]) > tail)
141 if (p+1 > tail || (&p[1] + p[0]) > tail)
148 if (p+5 > tail)
269 char *tail = &buf[sizeof (buf)]; local
290 char *tail = &buf[sizeof (buf)]; local
313 uint8_t *tail = (uint8_t *)(atp+1) + len; local
[all...]
H A Dsnoop_atp.c102 char *tail = &buf[sizeof (buf)]; local
106 p += snprintf(p, tail-p, "TReq");
110 p += snprintf(p, tail-p, "TResp");
113 p += snprintf(p, tail-p, "TRel");
117 p += snprintf(p, tail-p, ci & ATP_FLG_XO ? " XO" : " ALO");
120 p += snprintf(p, tail-p, " EOM");
123 p += snprintf(p, tail-p, " STS");
126 (void) snprintf(p, tail-p, " %s", to);
H A Dsnoop_nbp.c100 show_nbp_tuples(uint8_t *p, int tuples, uint8_t *tail) argument
112 if ((p + 5) > tail)
120 if (p > tail || &p[1]+p[0] > tail)
125 if (p > tail || &p[1]+p[0] > tail)
130 if (p > tail || &p[1]+p[0] > tail)
H A Dsnoop_adsp.c123 char *tail = &buf[sizeof (buf)]; local
126 p += snprintf(p, tail-p, "AckReq");
129 p += snprintf(p, tail-p, p == buf ? "EOM" : " EOM");
133 p += snprintf(p, tail-p, p == buf ? "Att" : " Att");
137 (void) snprintf(p, tail-p, "%s%s", p == buf ? "" : " ",
/illumos-gate/usr/src/cmd/rcap/rcapd/
H A Drcapd_rfd.c62 static rfd_t *tail; /* tail of global list */ variable
98 if (tail == NULL) {
110 rfd = rfd_find_prev_class(tail, RFD_RESERVED);
117 rfd = rfd_find_prev_class(tail, RFD_PSINFO);
128 rfd = tail;
181 if (tail != NULL)
182 rfd->rfd_prev_class = rfd_find_prev_class(tail, class);
184 rfd->rfd_prev_class = tail;
185 rfd->rfd_prev = tail;
[all...]
/illumos-gate/usr/src/cmd/sgs/include/
H A Dlist.h52 Listnode *tail; /* the last element */ member in struct:list
67 Elf32_Addr tail; /* the last element */ member in struct:list32
/illumos-gate/usr/src/ucbcmd/ln/
H A Dln.c79 char *tail; local
90 tail = strrchr(from, '/');
91 if (tail == 0)
92 tail = from;
94 tail++;
95 if (strlen(to) + strlen(tail) >= sizeof (destname) - 1) {
97 to, tail);
100 (void) sprintf(destname, "%s/%s", to, tail);
/illumos-gate/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;
90 &isp->sess_queue_pending.tail, icmdp);
95 &isp->sess_queue_pending.tail, icmdp);
116 &isp->sess_queue_pending.tail, icmdp);
134 * This interface attempts to keep newer items are on the tail,
138 * the current head, otherwise add to the tail.
172 &icp->conn_queue_active.tail, icmdp);
177 &icp->conn_queue_active.tail, icmdp);
180 &icp->conn_queue_active.tail, icmd
335 iscsi_dequeue_cmd(iscsi_cmd_t **head, iscsi_cmd_t **tail, iscsi_cmd_t *icmdp) argument
397 iscsi_enqueue_cmd_head(iscsi_cmd_t **head, iscsi_cmd_t **tail, iscsi_cmd_t *icmdp) argument
424 iscsi_enqueue_cmd_tail(iscsi_cmd_t **head, iscsi_cmd_t **tail, iscsi_cmd_t *icmdp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ofs_gen_util.c47 * Adds the entry to the tail of the list.
62 new_entry->prev = list->tail;
65 list->tail = new_entry;
68 list->tail->next = new_entry;
69 list->tail = new_entry;
92 list->tail = entry->prev;
113 list->tail = list->head;
149 entry->prev = list->tail;
152 list->tail = entry;
155 list->tail
[all...]
/illumos-gate/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("fil
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Dslowsend.c57 extern int tail;
146 if ( num > tail - head )
147 num = tail - head;
/illumos-gate/usr/src/cmd/dmesg/
H A Ddmesg.sh32 /var/adm/messages | /usr/bin/tail -200
/illumos-gate/usr/src/cmd/mail/
H A Dpoplist.c40 hdrlines[hdrtype].head : hdrlines[hdrtype].tail);
48 hdrlines[hdrtype].head = hdrlines[hdrtype].tail =
57 hdrlines[hdrtype].head = hdrlines[hdrtype].tail =
60 hdrlines[hdrtype].tail = hdr2rm->prev;
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)
[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/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
[all...]

Completed in 118 milliseconds

1234567891011>>