Searched refs:head (Results 126 - 150 of 923) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/ofed/include/rdma/
H A Drdmavt_cq.h66 * This structure is used to contain the head pointer, tail pointer,
71 u32 head; /* index of next entry to fill */ member in struct:rvt_cq_wc
/freebsd-11-stable/usr.bin/head/
H A Dhead.c38 static char sccsid[] = "@(#)head.c 8.2 (Berkeley) 5/4/95";
42 __FBSDID("$FreeBSD: stable/11/usr.bin/head/head.c 332482 2018-04-13 17:57:00Z kevans $");
56 * head - give the first few lines of a stream or of each of a set of files
61 static void head(FILE *, int);
119 head(fp, linecnt);
125 head(stdin, linecnt);
133 head(FILE *fp, int cnt) function
188 (void)fprintf(stderr, "usage: head [-n lines | -c bytes] [file ...]\n");
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DCrashRecoveryContext.cpp102 CrashRecoveryContextCleanup *i = head;
154 if (head)
155 head->prev = cleanup;
156 cleanup->next = head;
157 head = cleanup;
164 if (cleanup == head) {
165 head = cleanup->next;
166 if (head)
167 head->prev = nullptr;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_symbolize.cpp57 SymbolizedStack *head; member in struct:__tsan::SymbolizedStackBuilder
69 ssb->head = ssb->tail = SymbolizedStack::New(ssb->addr);
87 if (ssb.head)
88 return ssb.head;
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_crtc_helper.c61 &dev->mode_config.connector_list, head) {
64 list_move_tail(&connector->head, &panel_list);
82 list_for_each_entry(mode, &connector->modes, head) {
128 list_for_each_entry(mode, &connector->modes, head)
180 list_for_each_entry(mode, &connector->modes, head) {
192 list_for_each_entry(mode, &connector->modes, head)
199 list_for_each_entry(mode, &connector->modes, head) {
224 list_for_each_entry(connector, &dev->mode_config.connector_list, head)
248 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head)
282 list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
[all...]
/freebsd-11-stable/gnu/usr.bin/gdb/gdbserver/
H A Dfbsd-low.c74 #define pid_of(proc) ((proc)->head.id)
120 process->head.id = pid;
126 add_inferior_to_list (&all_processes, &process->head);
339 fbsd_resume_one_process (&process->head, 0, 0);
460 event_child->tid, event_child->head.id);
463 if (all_threads.head == all_threads.tail)
468 remove_inferior (&all_processes, &event_child->head);
471 current_inferior = (struct thread_info *) all_threads.head;
489 fbsd_resume_one_process (&event_child->head,
501 event_child->head
[all...]
/freebsd-11-stable/contrib/unbound/dnscrypt/
H A Ddnscrypt.c579 struct config_strlist *head, *head2; local
586 for (head = cfg->dnscrypt_provider_cert; head; head = head->next) {
589 for (head = cfg->dnscrypt_provider_cert_rotated; head; head = head->next) {
599 for(head
793 struct config_strlist *head; local
[all...]
/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_descdma.c146 struct ath_descdma *dd, ath_bufhead *head,
239 struct ath_descdma *dd, ath_bufhead *head,
251 error = ath_descdma_alloc_desc(sc, dd, head, name, ds_size,
272 TAILQ_INIT(head);
296 ath_descdma_cleanup(sc, dd, head);
300 TAILQ_INSERT_TAIL(head, bf, bf_list);
328 struct ath_descdma *dd, ath_bufhead *head,
361 TAILQ_INIT(head);
373 ath_descdma_cleanup(sc, dd, head);
376 TAILQ_INSERT_TAIL(head, b
145 ath_descdma_alloc_desc(struct ath_softc *sc, struct ath_descdma *dd, ath_bufhead *head, const char *name, int ds_size, int ndesc) argument
238 ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, ath_bufhead *head, const char *name, int ds_size, int nbuf, int ndesc) argument
327 ath_descdma_setup_rx_edma(struct ath_softc *sc, struct ath_descdma *dd, ath_bufhead *head, const char *name, int nbuf, int rx_status_len) argument
385 ath_descdma_cleanup(struct ath_softc *sc, struct ath_descdma *dd, ath_bufhead *head) argument
[all...]
/freebsd-11-stable/contrib/mdocml/
H A Dcompat_fts.c359 FTSENT *p, *head; local
407 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) {
429 fts_lfree(head);
454 fts_lfree(head);
470 if (head == NULL)
471 head = tail = p;
486 fts_padjust(sp, head);
504 head = fts_sort(sp, head, nitems);
505 return (head);
562 fts_sort(FTS *sp, FTSENT *head, int nitems) argument
619 fts_lfree(FTSENT *head) argument
667 fts_padjust(FTS *sp, FTSENT *head) argument
[all...]
/freebsd-11-stable/contrib/ipfilter/rules/
H A DBASIC_2.FW24 block in log on ppp0 all head 100
25 block out log on ppp0 all head 150
26 block in log on ed0 from w.x.y.z/24 to any head 200
27 block out log on ed0 all head 250
/freebsd-11-stable/contrib/apr/include/
H A Dapr_ring.h44 * without knowing where its head is.
66 * first in the element struct unless the head is always part of a larger
79 * Each ring is managed via its head, which is a struct declared like this:
88 * The first element in the ring is next after the head, and the last
89 * element is just before the head.
91 #define APR_RING_HEAD(head, elem) \
92 struct head { \
102 * the ring's head. The head itself isn't an element, but in order to
125 * point to the head, the
[all...]
/freebsd-11-stable/etc/
H A Drc.sendmail113 kill -TERM `head -1 ${sendmail_pidfile}`
146 kill -HUP `head -1 ${sendmail_pidfile}`
192 kill -TERM `head -1 ${sendmail_mspq_pidfile}`
220 kill -HUP `head -1 ${sendmail_mspq_pidfile}`
/freebsd-11-stable/sys/netinet6/
H A Din6_rmx.c97 extern int in6_inithead(void **head, int off);
99 extern int in6_detachhead(void **head, int off);
106 in6_addroute(void *v_arg, void *n_arg, struct radix_head *head, argument
150 return (rn_addroute(v_arg, n_arg, head, treenodes));
214 in6_inithead(void **head, int off) argument
223 *head = (void *)rh;
236 in6_detachhead(void **head, int off) argument
240 rt_table_destroy((struct rib_head *)(*head));
/freebsd-11-stable/sys/netpfil/ipfw/test/
H A Dtest_dn_sched.c40 if (q->mq.head)
41 dn_free_pkts(q->mq.head);
/freebsd-11-stable/sys/geom/
H A Dgeom_flashmap.c70 flash_slicer_t slicer, struct g_flashmap_head *head);
153 struct g_flashmap_head head; local
172 STAILQ_INIT(&head);
187 if (g_flashmap_load(dev, pp, slicer, &head) == 0)
191 cp->provider->sectorsize, &head);
196 STAILQ_FOREACH_SAFE(slice, &head, sl_link, slice_temp)
208 struct g_flashmap_head *head)
225 STAILQ_INSERT_TAIL(head, slice, sl_link);
207 g_flashmap_load(device_t dev, struct g_provider *pp, flash_slicer_t slicer, struct g_flashmap_head *head) argument
/freebsd-11-stable/lib/libusb/
H A Dlibusb_global_linux.h79 #define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
80 for ((var) = TAILQ_FIRST((head)); \
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dtypes.h83 typedef void (*rcu_callback_t)(struct rcu_head *head);
84 typedef void (*call_rcu_func_t)(struct rcu_head *head, rcu_callback_t func);
/freebsd-11-stable/sys/dev/drm/
H A Dmach64_dma.c148 u32 head; local
151 head = ring->head;
155 if (ring->head == ring->tail &&
161 if (ring->head == head) {
164 head = ring->head;
186 ring->head = ring->tail = 0;
415 * pointed by the ring head
1203 u32 bytes, remaining, head, eol; local
1516 u32 head, tail, ofs; local
[all...]
H A Ddrm_auth.c56 for (pt = dev->magiclist[hash].head; pt; pt = pt->next) {
91 dev->magiclist[hash].head = entry;
113 for (pt = dev->magiclist[hash].head; pt; prev = pt, pt = pt->next) {
115 if (dev->magiclist[hash].head == pt) {
116 dev->magiclist[hash].head = pt->next;
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-profiler.c129 cpu_buf->pcpu_blk_info.head = cpu_buf->pcpu_blk_info.tail = \
165 * Add new sample to the buffer and increment the head pointer and
179 * head/tail pointer can be NULL, and this case arises when oct-remote-profile is
183 if (cvmx_unlikely(!cpu_buf->pcpu_blk_info.head && !cpu_buf->pcpu_blk_info.end)) {
190 /* In case of hitting end of buffer, reset head,data ptr to start */
191 if (cpu_buf->pcpu_blk_info.head == cpu_buf->pcpu_blk_info.end)
192 cpu_buf->pcpu_blk_info.head = cpu_buf->pcpu_blk_info.data = cpu_buf->pcpu_data;
202 cpu_buf->pcpu_blk_info.head = cpu_buf->pcpu_blk_info.data;
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_tasklet.c57 TAILQ_HEAD(, tasklet_struct) head;
76 ts = TAILQ_FIRST(&tw->head);
79 TAILQ_REMOVE(&tw->head, ts, entry);
108 TAILQ_INIT(&tw->head);
171 TAILQ_INSERT_TAIL(&tw->head, ts, entry);
/freebsd-11-stable/sys/netinet/
H A Dsctp_peeloff.c50 sctp_can_peel_off(struct socket *head, sctp_assoc_t assoc_id) argument
56 if (head == NULL) {
60 inp = (struct sctp_inpcb *)head->so_pcb;
88 sctp_do_peeloff(struct socket *head, struct socket *so, sctp_assoc_t assoc_id) argument
94 inp = (struct sctp_inpcb *)head->so_pcb;
/freebsd-11-stable/contrib/llvm-project/libunwind/src/
H A DUnwind_AppleExtras.cpp152 libgcc_object_info *head = (libgcc_object_info *) local
154 if (head != NULL) {
156 for (libgcc_object *ob = head->unseen_objects; ob != NULL; ob = ob->next) {
167 head);
174 _keymgr_set_and_unlock_processwide_ptr(KEYMGR_GCC3_DW2_OBJ_LIST, head);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dinflate.c124 state->head = Z_NULL;
611 if (state->head != Z_NULL)
612 state->head->done = -1;
654 if (state->head != Z_NULL)
655 state->head->text = (int)((hold >> 8) & 1);
662 if (state->head != Z_NULL)
663 state->head->time = hold;
670 if (state->head != Z_NULL) {
671 state->head->xflags = (int)(hold & 0xff);
672 state->head
[all...]
/freebsd-11-stable/sys/security/mac_portacl/
H A Dmac_portacl.c140 toast_rules(struct rulehead *head) argument
144 while ((rule = TAILQ_FIRST(head)) != NULL) {
145 TAILQ_REMOVE(head, rule, r_entries);
240 parse_rules(char *string, struct rulehead *head) argument
253 TAILQ_INSERT_TAIL(head, new, r_entries);
257 toast_rules(head);
334 struct rulehead head, save_head; local
354 TAILQ_INIT(&head);
355 error = parse_rules(copy_string, &head);
363 TAILQ_CONCAT(&rule_head, &head, r_entrie
[all...]

Completed in 220 milliseconds

1234567891011>>