Home
last modified time | relevance | path

Searched refs:head (Results 176 – 200 of 714) sorted by relevance

12345678910>>...29

/illumos-gate/usr/src/boot/efi/loader/
H A Dcopy.c267 struct chunk_head *head; in efi_copy_finish() local
274 head = &relocator->rel_chunk_head; in efi_copy_finish()
275 chunk = STAILQ_LAST(head, chunk, chunk_next); in efi_copy_finish()
293 STAILQ_FOREACH_FROM(chunk, head, chunk_next) { in efi_copy_finish()
306 STAILQ_FOREACH(c, head, chunk_next) { in efi_copy_finish()
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dform.c75 insert(FIELD *f, FIELD *head) in insert() argument
81 if (head) { in insert()
82 p = newhead = head; in insert()
91 if (p == head) { in insert()
92 head = (FIELD *) 0; in insert()
101 if (p == head) in insert()
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dppcomment.c31 ppcomment(char* head, char* comment, char* tail, int line) in ppcomment() argument
34 ppprintf("%s%-.*s%s", head, MAXTOKEN - 4, comment, tail); in ppcomment()
/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfs.c394 head = offset % secsz; in vdev_read()
396 tail = total_size - (head + bytes); in vdev_read()
399 if (head > 0) in vdev_read()
419 if (head > 0) { in vdev_read()
425 memcpy(outbuf, bouncebuf + head, min(secsz - head, bytes)); in vdev_read()
426 outbuf += min(secsz - head, bytes); in vdev_read()
483 head = offset % secsz; in vdev_write()
485 tail = total_size - (head + bytes); in vdev_write()
488 if (head > 0) in vdev_write()
508 if (head > 0) { in vdev_write()
[all …]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_lockfs.c104 #define IS_REC_VOP(found, head, ulp, free) \ argument
124 #define SEARCH_ULOCKFSP(head, ulp, info) \ argument
128 for (_curr = head; _curr != NULL; \
238 ulockfs_info_t *head; in ufs_quiesce() local
243 SEARCH_ULOCKFSP(head, ulp, info); in ufs_quiesce()
887 ulockfs_info_t *head; in ufs__fiolfs() local
926 SEARCH_ULOCKFSP(head, ulp, info); in ufs__fiolfs()
1488 ulockfs_info_t *head; in ufs_lockfs_end() local
1497 SEARCH_ULOCKFSP(head, ulp, info); in ufs_lockfs_end()
1510 if (ufs_lockfs_top_vop_return(head)) in ufs_lockfs_end()
[all …]
H A Dlufs_debug.c269 off_t head, trimroll, lof; in logmap_logscan_debug() local
276 head = ul->un_head_lof; in logmap_logscan_debug()
282 if (lof >= head) { in logmap_logscan_debug()
283 if (trimroll >= head && trimroll <= lof) in logmap_logscan_debug()
286 if (trimroll <= lof || trimroll >= head) in logmap_logscan_debug()
587 off_t head = ul->un_head_lof; in ldl_sethead_debug() local
590 if (head <= tail) { in ldl_sethead_debug()
591 if (trimr < head || trimr >= tail) in ldl_sethead_debug()
594 if (trimr >= tail && trimr < head) in ldl_sethead_debug()
H A Dlufs_thread.c345 rollbuf_t *head, *prev, *rbp2; in log_roll_write() local
354 for (head = rbs, rbp = rbs + 1; rbp < rbs + nbuf; rbp++) { in log_roll_write()
355 for (rbp2 = head; rbp2; prev = rbp2, rbp2 = rbp2->rb_next) { in log_roll_write()
357 if (rbp2 == head) { in log_roll_write()
358 rbp->rb_next = head; in log_roll_write()
359 head = rbp; in log_roll_write()
376 for (rbp = head; rbp; rbp = rbp2) { in log_roll_write()
/illumos-gate/usr/src/cmd/mail/
H A Dpushlist.c60 ohp = (where == HEAD ? hdrlines[hdrtype].head : hdrlines[hdrtype].tail); in pushlist()
109 hdrlines[hdrtype].head = hdrlines[hdrtype].tail = nhp; in pushlist()
114 hdrlines[hdrtype].head = ohp->prev = nhp; in pushlist()
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_rx.c289 mblk_t * head = NULL; in BnxeRxRingProcess() local
492 if (head == NULL) in BnxeRxRingProcess()
494 head = pMblk; in BnxeRxRingProcess()
512 if (head) in BnxeRxRingProcess()
531 pUM->fcoe.bind.cliIndicateRx(pUM->fcoe.pDev, head); in BnxeRxRingProcess()
536 freemsgchain(head); in BnxeRxRingProcess()
537 head = NULL; in BnxeRxRingProcess()
545 head, in BnxeRxRingProcess()
550 head); in BnxeRxRingProcess()
569 return (polling == TRUE) ? head : NULL; in BnxeRxRingProcess()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/
H A Ddthash.c153 Dtlink_t **t, **endt, *head, *tail, *l; in hflatten() local
157 { head = tail = NIL(Dtlink_t*); in hflatten()
162 else head = tail = l; in hflatten()
169 { hash->here = head; in hflatten()
174 return (Void_t*)head; in hflatten()
177 { head = hash->here; in hflatten()
183 for(l = head; l && l != *t; l = l->_rght) in hflatten()
188 *t = head; /* head of list for this slot */ in hflatten()
189 head = l->_rght; /* head of next list */ in hflatten()
/illumos-gate/usr/src/cmd/tic/
H A Dtic_parse.c119 struct use_item *head, *tail; member
203 while (use_list.head != NULL && old_use_count != use_count) { in compile()
217 for (ptr = use_list.head; ptr != NULL; in compile()
234 if (use_list.head != NULL && !check_only) { in compile()
240 for (ptr = use_list.head; ptr != NULL; ptr = ptr->fptr) { in compile()
257 for (ptr = use_list.head; ptr != NULL; ptr = ptr->fptr) { in dump_list()
450 if (use_list.head != NULL) { in enqueue()
456 use_list.tail = use_list.head = item; in enqueue()
479 use_list.head = ptr->fptr; in dequeue()
/illumos-gate/usr/src/tools/quick/
H A Dmake-smbclnt66 (cd $SRC/head && $make clobber)
79 test -f $SRC/head/rpcsvc/nispasswd.h ||
80 (cd $SRC/head && $make -k install_h)
88 (cd $SRC/head && $make install_h)
224 find head -name '*.h' -print |sort
H A Dmake-nfs69 (cd $SRC/head && $make clobber)
82 test -f $SRC/head/rpcsvc/nispasswd.h ||
83 (cd $SRC/head && $make -k $targ)
91 (cd $SRC/head && $make $targ)
231 find head -name '*.h' -print |sort
/illumos-gate/usr/src/cmd/sgs/libcrle/common/
H A Ddump.c127 Rtc_head * head = (Rtc_head *)addr; in scanconfig() local
134 strtbl = (const char *)((char *)addr + head->ch_str); in scanconfig()
139 for (dirtbl = (Rtc_dir *)(head->ch_dir + addr); in scanconfig()
166 if (head->ch_app) { in scanconfig()
185 obj = (Rtc_obj *)((char *)addr + head->ch_app); in scanconfig()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dusage.c537 if (head == NULL) { in get_starting_point()
542 *start = head; in get_starting_point()
907 net_entry_t *head; in free_logtable() local
941 while (head != NULL) { in free_logtable()
942 next = head->net_entry_next; in free_logtable()
943 head->net_entry_next = NULL; in free_logtable()
944 ns = head->net_entry_shead; in free_logtable()
950 head->net_entry_scount = 0; in free_logtable()
952 free(head->net_entry_desc); in free_logtable()
954 free(head); in free_logtable()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dmdoc_macro.c957 struct roff_node *head; /* Our own head. */ in blk_full() local
1071 head = body = NULL; in blk_full()
1089 rew_last(mdoc, head); in blk_full()
1151 if (head == NULL && in blk_full()
1162 if (head == NULL) in blk_full()
1197 if (head == NULL) in blk_full()
1208 rew_last(mdoc, head); in blk_full()
1333 head = NULL; in blk_part_exp()
1349 if (head == NULL) { in blk_part_exp()
1353 rew_last(mdoc, head); in blk_part_exp()
[all …]
H A Dman_macro.c268 if (tok == MAN_RE && nn->head->aux > 0) in blk_close()
269 roff_setreg(man->roff, "an-margin", nn->head->aux, '-'); in blk_close()
298 struct roff_node *head; in blk_exp() local
307 head = roff_head_alloc(man, line, ppos, tok); in blk_exp()
316 if ((head->aux = strtod(p, NULL) * 24.0) > 0) in blk_exp()
318 head->aux, '+'); in blk_exp()
327 man_unscope(man, head); in blk_exp()
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dshow_ifs.sh21 tail -n +$(($line - ($context - 1))) $code_file | head -n $(($context - 1))
25 tail -n +${line} $code_file | head -n $context
H A Dshow_errs.sh29 tail -n +$(($lineno - ($context - 1))) $code_file | head -n $(($context - 1))
31 tail -n +${lineno} $code_file | head -n $context
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnf.c1777 if (head == NULL) { in xnf_mblk_map()
1778 head = txp; in xnf_mblk_map()
1850 return (head); in xnf_mblk_map()
1899 xnf_txbuf_t *head; in xnf_send() local
2022 if (head == NULL) in xnf_send()
2031 head->tx_mp = mp; in xnf_send()
2425 if (head == NULL) in xnf_rx_one_packet()
2426 head = mp; in xnf_rx_one_packet()
2479 if (head != NULL) in xnf_rx_one_packet()
2480 freemsg(head); in xnf_rx_one_packet()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_ring.c264 uint_t head = xrp->xr_head; in xhci_ring_trb_space() local
271 head++; in xhci_ring_trb_space()
272 if (head == xrp->xr_ntrb - 1) { in xhci_ring_trb_space()
273 head = 0; in xhci_ring_trb_space()
276 if (head == xrp->xr_tail) in xhci_ring_trb_space()
/illumos-gate/usr/src/cmd/sgs/include/
H A Dlist.h51 Listnode *head; /* the first element */ member
66 Elf32_Addr head; /* the first element */ member
/illumos-gate/usr/src/cmd/backup/restore/
H A Dutilities.c782 if (ap->head == NULL) in mkentry()
783 ap->head = ap->last = ap->base; in mkentry()
788 if (fp == ap->head + ap->nent) { in mkentry()
796 ap->head = ap->base; in mkentry()
797 fp = ap->head + ap->nent; in mkentry()
883 sindex = (int)(ap->last - ap->head); in expand()
904 lindex = (int)(ap->last - ap->head); in expand()
908 size = expand(ap->head[rindexa].fname, in expand()
919 bcopy((void *)(&ap->head[lindex]), in expand()
920 (void *)(&ap->head[sindex]), in expand()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dhurl.sh130 do if ! read head data
134 test 0 != $verbose && echo "$command: head=$head $data" >&2
135 case $head in
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_sw.h264 (_LH)->head = (_LH)->tail = NULL
266 #define LIST_GET_HEAD(_LH) ((single_link_t *)((_LH)->head))
269 (single_link_t *)(_LH)->head; \
271 if ((_LH)->head != NULL) { \
272 (_LH)->head = (_LH)->head->link; \
273 if ((_LH)->head == NULL) \
285 (_LH)->head = (_LH)->tail = (single_link_t *)(_E); \
299 single_link_t *head; member

12345678910>>...29