Home
last modified time | relevance | path

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

12345678910>>...28

/freebsd/sys/contrib/ck/include/
H A Dck_hp_fifo.h90 tail = ck_pr_load_ptr(&fifo->tail); in ck_hp_fifo_enqueue_mpmc()
92 if (tail != ck_pr_load_ptr(&fifo->tail)) in ck_hp_fifo_enqueue_mpmc()
97 ck_pr_cas_ptr(&fifo->tail, tail, next); in ck_hp_fifo_enqueue_mpmc()
104 ck_pr_cas_ptr(&fifo->tail, tail, entry); in ck_hp_fifo_enqueue_mpmc()
120 tail = ck_pr_load_ptr(&fifo->tail); in ck_hp_fifo_tryenqueue_mpmc()
122 if (tail != ck_pr_load_ptr(&fifo->tail)) in ck_hp_fifo_tryenqueue_mpmc()
127 ck_pr_cas_ptr(&fifo->tail, tail, next); in ck_hp_fifo_tryenqueue_mpmc()
133 ck_pr_cas_ptr(&fifo->tail, tail, entry); in ck_hp_fifo_tryenqueue_mpmc()
147 tail = ck_pr_load_ptr(&fifo->tail); in ck_hp_fifo_dequeue_mpmc()
180 tail = ck_pr_load_ptr(&fifo->tail); in ck_hp_fifo_trydequeue_mpmc()
[all …]
H A Dck_fifo.h263 tail.pointer = ck_pr_load_ptr(&fifo->tail.pointer); in ck_fifo_mpmc_enqueue()
280 ck_pr_cas_ptr_2(&fifo->tail, &tail, &update); in ck_fifo_mpmc_enqueue()
297 ck_pr_cas_ptr_2(&fifo->tail, &tail, &update); in ck_fifo_mpmc_enqueue()
314 tail.generation = ck_pr_load_ptr(&fifo->tail.generation); in ck_fifo_mpmc_tryenqueue()
316 tail.pointer = ck_pr_load_ptr(&fifo->tail.pointer); in ck_fifo_mpmc_tryenqueue()
333 ck_pr_cas_ptr_2(&fifo->tail, &tail, &update); in ck_fifo_mpmc_tryenqueue()
350 ck_pr_cas_ptr_2(&fifo->tail, &tail, &update); in ck_fifo_mpmc_tryenqueue()
367 tail.pointer = ck_pr_load_ptr(&fifo->tail.pointer); in ck_fifo_mpmc_dequeue()
385 ck_pr_cas_ptr_2(&fifo->tail, &tail, &update); in ck_fifo_mpmc_dequeue()
422 tail.pointer = ck_pr_load_ptr(&fifo->tail.pointer); in ck_fifo_mpmc_trydequeue()
[all …]
/freebsd/contrib/ncurses/ncurses/
H A Dfifo_defs.h53 if (head == tail) \
54 head = -1, tail = 0; \
60 if (head == tail) \
61 tail = -1; \
65 ? tail = 0 \
66 : tail++; \
67 if (tail == head) \
68 tail = -1; \
71 (tail <= 0) \
72 ? tail = FIFO_SIZE-1 \
[all …]
/freebsd/usr.bin/find/
H A Doperator.c109 tail = next; in yankexpr()
111 tail->next = NULL; in yankexpr()
128 result = tail = NULL; in paren_squish()
146 tail->next = expr; in paren_squish()
147 tail = expr; in paren_squish()
149 tail->next = NULL; in paren_squish()
209 tail->next = next; in not_squish()
210 tail = next; in not_squish()
212 tail->next = NULL; in not_squish()
262 tail = next; in or_squish()
[all …]
H A Dfind.c71 PLAN *plan, *tail, *new; in find_formplan() local
89 for (plan = tail = NULL; *argv;) { in find_formplan()
93 tail = plan = new; in find_formplan()
95 tail->next = new; in find_formplan()
96 tail = new; in find_formplan()
112 tail = plan = new; in find_formplan()
120 tail->next = new; in find_formplan()
121 tail = new; in find_formplan()
124 tail->next = new; in find_formplan()
125 tail = new; in find_formplan()
/freebsd/stand/efi/libefi/
H A Ddevpath.c80 char *tail; in efi_make_tail() local
82 tail = NULL; in efi_make_tail()
87 return (tail); in efi_make_tail()
120 free(tail); in efi_vendor_path()
132 free(tail); in efi_vendor_path()
176 free(tail); in efi_hw_dev_path()
241 free(tail); in efi_acpi_dev_path()
250 char *tail; in efi_messaging_dev_path() local
331 free(tail); in efi_messaging_dev_path()
342 char *tail; in efi_media_dev_path() local
[all …]
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dhash.h107 case 3: k1 ^= tail[2] << 16; JEMALLOC_FALLTHROUGH in hash_x86_32()
108 case 2: k1 ^= tail[1] << 8; JEMALLOC_FALLTHROUGH in hash_x86_32()
181 case 14: k4 ^= tail[13] << 8; JEMALLOC_FALLTHROUGH in hash_x86_128()
182 case 13: k4 ^= tail[12] << 0; in hash_x86_128()
187 case 10: k3 ^= tail[ 9] << 8; JEMALLOC_FALLTHROUGH in hash_x86_128()
188 case 9: k3 ^= tail[ 8] << 0; in hash_x86_128()
193 case 6: k2 ^= tail[ 5] << 8; JEMALLOC_FALLTHROUGH in hash_x86_128()
194 case 5: k2 ^= tail[ 4] << 0; in hash_x86_128()
200 case 1: k1 ^= tail[ 0] << 0; in hash_x86_128()
270 case 9: k2 ^= ((uint64_t)(tail[ 8])) << 0; in hash_x64_128()
[all …]
/freebsd/usr.bin/tail/tests/
H A Dtail_test.sh35 tail -r infile > outfile
36 tail -r < infile > outpipe
58 tail -r infile > outfile
59 tail -r < infile > outpipe
80 tail -rn2 infile > outfile
160 tail -r infile > outfile
161 tail -r < infile > outpipe
205 tail -r infile > outfile
206 tail -r < infile > outpipe
285 tail < infile > outfile
[all …]
/freebsd/sys/kern/
H A Dsubr_memdesc.c451 tail = tail->m_next; in paddr_ext_mbuf()
487 m = tail = NULL; in vlist_ext_mbuf()
502 tail = m; in vlist_ext_mbuf()
505 tail = n; in vlist_ext_mbuf()
582 tail = tail->m_next; in plist_ext_mbuf()
648 tail = tail->m_next; in vmpages_ext_mbuf()
651 tail->m_epg_pa[tail->m_epg_npgs] = VM_PAGE_TO_PHYS(*ma); in vmpages_ext_mbuf()
666 tail = tail->m_next; in vmpages_ext_mbuf()
669 tail->m_epg_pa[tail->m_epg_npgs] = VM_PAGE_TO_PHYS(*ma); in vmpages_ext_mbuf()
714 tail = m; in mbuf_subchain()
[all …]
/freebsd/crypto/openssl/util/
H A Dadd-depends.pl231 (my $tail = $') =~ s/\s*\R$//;
236 $tail = canonpath($tail);
238 unless (defined $depconv_cache{$tail}) {
239 my $dep = $tail;
246 $depconv_cache{$tail} = $dep;
251 if defined $depconv_cache{$tail};
279 (my $tail = $') =~ s/\s*\R$//;
285 $tail = rel2abs($tail);
287 unless (defined $depconv_cache{$tail}) {
288 my $dep = $tail;
[all …]
H A Dcheck-format.pl452 my ($head, $tail) = (substr($str, 0, $i).$1, $3);
471 $tail =~ m/^([\s@]*)([^\s\@])/;
614 $_ = "$head@@".$tail; # blind the "*/"
625 $_ = blind_nonspace($cmt_text)."@@".$tail;
636 my $cmt_text = $opt_minus.$tail; # preliminary
884 … report("code after '}'") unless $tail eq "" || $tail =~ m/(else|while|OSSL_TRACE_END)(\W|$)/;
1015 my ($head, $mid, $tail) = ($1, $3, $4);
1085 my $tail = substr($_, $terminator_position + 1);
1087 if ($tail =~ m/\s*else(\W|$)/) {
1167 if (my ($head, $tail) = m/(^|^.*\W)while(\W.*$|$)/) {
[all …]
/freebsd/contrib/bmake/unit-tests/
H A Dvarmod-tail.exp1 tail (basename) of 'a/b/c' is 'c'
2 tail (basename) of 'def' is 'def'
3 tail (basename) of 'a.b.c' is 'a.b.c'
4 tail (basename) of 'a.b/c' is 'c'
5 tail (basename) of 'a' is 'a'
6 tail (basename) of 'a.a' is 'a.a'
7 tail (basename) of '.gitignore' is '.gitignore'
8 tail (basename) of 'a' is 'a'
9 tail (basename) of 'a.a' is 'a.a'
10 tail (basename) of 'trailing/' is ''
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dbitmap.h46 if (tail) in bitmap_fill()
47 addr[BIT_WORD(size)] = BITMAP_LAST_WORD_MASK(tail); in bitmap_fill()
62 if (tail) { in bitmap_full()
83 if (tail) { in bitmap_empty()
215 if (tail) { in bitmap_weight()
236 if (tail) { in bitmap_equal()
250 const unsigned tail = size & (BITS_PER_LONG - 1); in bitmap_subset() local
258 if (tail) { in bitmap_subset()
272 const unsigned tail = size & (BITS_PER_LONG - 1); in bitmap_intersects() local
279 if (tail) { in bitmap_intersects()
[all …]
H A Dcirc_buf.h30 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size) - 1)) argument
31 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head) + 1),(size)) argument
/freebsd/sys/dev/syscons/
H A Dsctermvar.h64 if (tail <= 0) in sc_term_ins_line()
65 tail = scp->ysize; in sc_term_ins_line()
68 if (n > tail - y) in sc_term_ins_line()
69 n = tail - y; in sc_term_ins_line()
78 if (tail <= 0) in sc_term_del_line()
79 tail = scp->ysize; in sc_term_del_line()
82 if (n > tail - y) in sc_term_del_line()
83 n = tail - y; in sc_term_del_line()
151 if (tail <= 0) in sc_term_down()
180 if (tail <= 0) in sc_term_up_scroll()
[all …]
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/
H A Dlist.h46 #define ISC_LIST_TAIL(list) ((list).tail)
54 (list).tail = (elt); \
71 if ((list).tail != NULL) \
72 (list).tail->link.next = (elt); \
75 (elt)->link.prev = (list).tail; \
77 (list).tail = (elt); \
94 ISC_INSIST((list).tail == (elt)); \
95 (list).tail = (elt)->link.prev; \
166 (list1).tail = (list2).tail; \
169 (list2).tail = NULL; \
[all …]
/freebsd/crypto/openssl/test/
H A Dmodes_internal_test.c155 size_t tail; in last_blocks_correction() local
159 tail = 16; in last_blocks_correction()
160 tail += 16; in last_blocks_correction()
162 return tail; in last_blocks_correction()
168 size_t tail; in last_blocks_correction_nist() local
171 tail = 16; in last_blocks_correction_nist()
172 len -= 16 + tail; in last_blocks_correction_nist()
177 len += 16 + tail; in last_blocks_correction_nist()
178 tail = 16; in last_blocks_correction_nist()
180 return tail; in last_blocks_correction_nist()
[all …]
/freebsd/lib/libc/include/isc/
H A Dlist.h30 #define LIST(type) struct { type *head, *tail; }
32 do { (list).head = NULL; (list).tail = NULL; } while (0)
46 #define TAIL(list) ((list).tail)
55 (list).tail = (elt); \
64 if ((list).tail != NULL) \
65 (list).tail->link.next = (elt); \
68 (elt)->link.prev = (list).tail; \
70 (list).tail = (elt); \
79 INSIST((list).tail == (elt)); \
80 (list).tail = (elt)->link.prev; \
/freebsd/sys/netpfil/ipfw/
H A Ddn_sched_rr.c78 struct rr_queue *head, *tail; /* Pointer to current queue */ member
92 si->tail->qnext = q; in rr_append()
93 si->tail = q; /* advance the tail pointer */ in rr_append()
105 if (si->head == si->tail) { in rr_remove_head()
106 si->head = si->tail = NULL; in rr_remove_head()
111 si->tail->qnext = si->head; in rr_remove_head()
133 if (q == si->tail) in remove_queue_q()
134 si->tail = prev; in remove_queue_q()
147 si->tail = si->tail->qnext; in next_pointer()
228 si->head = si->tail = NULL; in rr_new_sched()
/freebsd/sys/dev/tws/
H A Dtws_user.c226 if ( sc->aen_q.head == sc->aen_q.tail ) { in tws_retrive_aen()
260 }while ( index != sc->aen_q.tail ); in tws_retrive_aen()
261 if ( index == sc->aen_q.tail ) { in tws_retrive_aen()
274 }while ( index != sc->aen_q.tail ); in tws_retrive_aen()
275 if ( index == sc->aen_q.tail ) { in tws_retrive_aen()
375 volatile u_int16_t head, tail; in tws_circular_aenq_insert() local
380 tail = cq->tail; in tws_circular_aenq_insert()
381 retr = q[tail].retrieved; in tws_circular_aenq_insert()
384 tail = (tail+1) % cq->depth; in tws_circular_aenq_insert()
386 if ( head == tail ) { /* q is full */ in tws_circular_aenq_insert()
[all …]
H A Dtws_services.c89 volatile u_int16_t head, tail; in tws_trace() local
93 tail = sc->trace_q.tail; in tws_trace()
97 strncpy(rec[tail].fname, file, TWS_TRACE_FNAME_LEN); in tws_trace()
98 strncpy(rec[tail].func, fun, TWS_TRACE_FUNC_LEN); in tws_trace()
99 rec[tail].linenum = linenum; in tws_trace()
100 strncpy(rec[tail].desc, desc, TWS_TRACE_DESC_LEN); in tws_trace()
101 rec[tail].val1 = val1; in tws_trace()
102 rec[tail].val2 = val2; in tws_trace()
104 tail = (tail+1) % sc->trace_q.depth; in tws_trace()
106 if ( head == tail ) { in tws_trace()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_symbolize.cpp58 SymbolizedStack *tail; member
65 if (ssb->tail) { in AddFrame()
66 ssb->tail->next = SymbolizedStack::New(ssb->addr); in AddFrame()
67 ssb->tail = ssb->tail->next; in AddFrame()
69 ssb->head = ssb->tail = SymbolizedStack::New(ssb->addr); in AddFrame()
71 AddressInfo *info = &ssb->tail->info; in AddFrame()
/freebsd/sys/netgraph/bluetooth/include/
H A Dng_bluetooth.h68 struct mbuf *tail; /* last item in the queue */ member
79 (q)->tail = NULL; \
102 if ((q)->tail == NULL) \
105 (q)->tail->m_nextpkt = (i); \
107 (q)->tail = (i); \
117 (q)->tail = NULL; \
127 if ((q)->tail == NULL) \
128 (q)->tail = (i); \
/freebsd/sys/dev/netmap/
H A Dnetmap_mbq.c50 q->head = q->tail = NULL; in __mbq_init()
71 if (q->tail) { in __mbq_enqueue()
72 q->tail->m_nextpkt = m; in __mbq_enqueue()
73 q->tail = m; in __mbq_enqueue()
75 q->head = q->tail = m; in __mbq_enqueue()
103 q->tail = NULL; in __mbq_dequeue()
/freebsd/lib/libc/riscv/gen/
H A Dsigsetjmp.S40 tail _C_LABEL(setjmp)
42 tail _C_LABEL(_setjmp)
52 tail _C_LABEL(longjmp)
54 tail _C_LABEL(_longjmp)

12345678910>>...28