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

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dcirc_buf.h7 int tail; member in struct:circ_buf
11 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1))
14 as a completely full buffer has head == tail, which is the same as
16 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size))
19 accessing head and tail more than once, so they can change
21 #define CIRC_CNT_TO_END(head,tail,size) \
22 ({int end = (size) - (tail); \
27 #define CIRC_SPACE_TO_END(head,tail,siz
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dcirc_buf.h7 int tail; member in struct:circ_buf
11 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1))
14 as a completely full buffer has head == tail, which is the same as
16 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size))
19 accessing head and tail more than once, so they can change
21 #define CIRC_CNT_TO_END(head,tail,size) \
22 ({int end = (size) - (tail); \
27 #define CIRC_SPACE_TO_END(head,tail,siz
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppd/scripts/
H A Dplog4 exec tail "$@" /var/log/ppp.log
6 exec tail "$@" /var/log/syslog | grep ' \(pppd\|chat\)\['
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/scripts/
H A Dplog4 exec tail "$@" /var/log/ppp.log
6 exec tail "$@" /var/log/syslog | grep ' \(pppd\|chat\)\['
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/isdn/eicon/
H A Dlog.c34 KNODE *tail; variable
73 tail=NULL;
85 /* Set head & tail to point to the new Msg Struct */
86 head=tail=new_klog;
87 tail->next=NULL;
101 /* Let last Msg Struct point to new Msg Struct & inc tail */
102 tail->next=new_klog;
103 tail=new_klog;
104 tail->next=NULL;
112 memcpy(&tail
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ftape/lowlevel/
H A Dftape-format.c93 buffer_struct *tail, *head; local
119 tail = ftape_get_buffer(ft_queue_tail); /* tape isn't running yet */
123 setup_format_buffer(tail, switch_segment,
125 switch_segment = tail->next_segment;
127 ((tail = ftape_next_buffer(ft_queue_tail)) != head));
143 buffer_struct *tail = ftape_get_buffer(ft_queue_tail); local
148 ftape_get_buffer(ft_queue_head) != tail) {
156 setup_format_buffer(tail, switch_segment,
157 ft_segments_per_track, tail->gap3);
158 switch_segment = tail
221 buffer_struct *tail; local
[all...]
H A Dftape-write.c152 TRACE(ft_t_noise, "tail: %d, head: %d",
192 buffer_struct *tail; local
211 tail = ftape_get_buffer(ft_queue_tail);
212 switch(tail->status) {
214 ft_history.defects += count_ones(tail->hard_error_map);
226 tail->status = waiting;
228 if (tail->hard_error_map != 0) {
231 count_ones(tail->hard_error_map));
233 (long)tail->hard_error_map);
240 "wait for empty segment failed, tail statu
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-s390/
H A Dqueue.h24 queue *tail; member in struct:__anon10687
36 queue *tail=qhead->tail; local
38 if(tail)
39 tail->next=member;
43 qhead->tail=member;
57 qhead->tail=NULL;
156 qhead->tail=prev;
160 if(qhead->head==qhead->tail)
161 qhead->tail
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-s390x/
H A Dqueue.h24 queue *tail; member in struct:__anon10781
36 queue *tail=qhead->tail; local
38 if(tail)
39 tail->next=member;
43 qhead->tail=member;
57 qhead->tail=NULL;
156 qhead->tail=prev;
160 if(qhead->head==qhead->tail)
161 qhead->tail
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-s390/
H A Dqueue.h24 queue *tail; member in struct:__anon6271
36 queue *tail=qhead->tail; local
38 if(tail)
39 tail->next=member;
43 qhead->tail=member;
57 qhead->tail=NULL;
156 qhead->tail=prev;
160 if(qhead->head==qhead->tail)
161 qhead->tail
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-s390x/
H A Dqueue.h24 queue *tail; member in struct:__anon6365
36 queue *tail=qhead->tail; local
38 if(tail)
39 tail->next=member;
43 qhead->tail=member;
57 qhead->tail=NULL;
156 qhead->tail=prev;
160 if(qhead->head==qhead->tail)
161 qhead->tail
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jffs/
H A Djffs_fm.c82 fmc->tail = 0;
99 fmc->tail = fmc->tail_extra;
139 __u32 tail; local
149 tail = fmc->tail->offset + fmc->tail->size;
150 if (tail == end) {
151 tail = 0;
153 ASSERT(else if (tail > end) {
154 printk(KERN_WARNING "jffs_free_size1(): tail > en
182 __u32 tail = fmc->tail->offset + fmc->tail->size; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/
H A DiSeries_proc.c48 struct T *tail; \
50 #define MYQUEUECTOR(q) do { (q)->head = NULL; (q)->tail = NULL; } while(0)
58 (q)->tail = (q)->head = (p); \
64 (p) = (q)->tail; \
66 (q)->tail = (p)->next; \
69 if ((q)->tail == NULL) \
/asus-wl-520gu-7.0.1.45/src/router/iproute2/tc/
H A Dq_dsmark.c35 struct rtattr *tail; local
74 tail = (struct rtattr *) (((void *) n)+NLMSG_ALIGN(n->nlmsg_len));
83 tail->rta_len = (((void *) n)+n->nlmsg_len)-(void *) tail;
97 struct rtattr *tail; local
101 tail = (struct rtattr *) (((void *) n)+NLMSG_ALIGN(n->nlmsg_len));
129 tail->rta_len = (((void *) n)+n->nlmsg_len)-(void *) tail;
H A Df_fw.c39 struct rtattr *tail; local
53 tail = (struct rtattr*)(((void*)n)+NLMSG_ALIGN(n->nlmsg_len));
83 tail->rta_len = (((void*)n)+n->nlmsg_len) - (void*)tail;
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/affs/
H A Dinode.c43 struct affs_tail *tail; local
65 tail = AFFS_TAIL(sb, bh);
66 prot = be32_to_cpu(tail->protect);
83 id = be16_to_cpu(tail->uid);
91 id = be16_to_cpu(tail->gid);
99 switch (be32_to_cpu(tail->stype)) {
105 if (be32_to_cpu(tail->stype) == ST_USERDIR ||
116 if (tail->link_chain)
132 size = be32_to_cpu(tail->size);
141 if (tail
174 struct affs_tail *tail; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/drm/
H A Dmga_dma.c100 primary->tail = 0;
150 u32 head, tail; local
163 if ( primary->tail == primary->last_flush ) {
168 tail = primary->tail + dev_priv->primary->offset;
183 primary->last_flush = primary->tail;
187 if ( head <= tail ) {
188 primary->space = primary->size - primary->tail;
190 primary->space = head - tail;
194 DRM_DEBUG( " tail
206 u32 head, tail; local
365 drm_mga_freelist_t *tail = dev_priv->tail; local
[all...]
H A Ddrm_auth.h71 if (dev->magiclist[hash].tail) {
72 dev->magiclist[hash].tail->next = entry;
73 dev->magiclist[hash].tail = entry;
76 dev->magiclist[hash].tail = entry;
98 if (dev->magiclist[hash].tail == pt) {
99 dev->magiclist[hash].tail = prev;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acpi/ospm/busmgr/
H A Dbmutils.c190 u8 *tail = NULL; local
286 tail = buffer->pointer + tail_offset;
306 *pointer = tail;
307 *((acpi_integer*)tail) = element->integer.value;
309 tail += sizeof(acpi_integer);
311 *tail = (char)0;
312 tail += sizeof(char);
325 *pointer = tail;
326 memcpy(tail, element->string.pointer, element->string.length);
328 tail
[all...]
/asus-wl-520gu-7.0.1.45/src/router/library/libupnp-1.2.1/threadutil/src/
H A DLinkedList.c111 list->head.next = &list->tail;
114 list->tail.item = NULL;
115 list->tail.prev = &list->head;
116 list->tail.next = NULL;
151 * Adds a node to the tail of the list.
152 * Node gets added immediately before list.tail.
170 return ListAddBefore( list, item, &list->tail );
280 assert( dnode != &list->tail );
284 ( dnode == &list->tail ) || ( dnode == NULL ) ) {
328 for( dnode = list->head.next; dnode != &list->tail; ) {
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/drm-4.0/
H A Dauth.c72 if (dev->magiclist[hash].tail) {
73 dev->magiclist[hash].tail->next = entry;
74 dev->magiclist[hash].tail = entry;
77 dev->magiclist[hash].tail = entry;
99 if (dev->magiclist[hash].tail == pt) {
100 dev->magiclist[hash].tail = prev;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Dmsnd.c143 f->tail = 0;
155 f->len = f->tail = f->head = 0;
169 if (f->head <= f->tail) {
171 if (nwritten > f->n - f->tail)
172 nwritten = f->n - f->tail;
175 nwritten = f->head - f->tail;
181 if (copy_from_user(f->data + f->tail, buf, nwritten))
184 isa_memcpy_fromio(f->data + f->tail, (unsigned long) buf, nwritten);
189 f->tail += nwritten;
190 f->tail
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dlogread.c50 int tail; // end of message list member in struct:shbuf_ds
112 //printf("head: %i tail: %i size: %i\n",buf->head,buf->tail,buf->size);
113 if (buf->head == buf->tail) {
117 while ( i != buf->tail) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/boot/
H A Dpiggyback.c33 usage: piggyback vmlinux System.map tail, where tail is gzipped fs of the initial ramdisk */
47 int image, tail; local
103 if ((tail = open(argv[3],O_RDONLY)) < 0) die(argv[3]);
104 while ((i = read (tail,buffer,1024)) > 0)
107 if (close(tail) < 0) die("close");
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/lib/
H A Dclear_user.S57 beq $1, $tail # .. e1 :
71 $tail:
72 bne $2, 1f # e1 : is there a tail to do?
87 and $1, 7, $2 # e1 : number of bytes in tail

Completed in 280 milliseconds

1234567891011>>