/illumos-gate/usr/src/boot/efi/loader/ |
H A D | copy.c | 267 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 D | form.c | 75 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 D | ppcomment.c | 31 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 D | zfs.c | 394 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 D | ufs_lockfs.c | 104 #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 D | lufs_debug.c | 269 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 D | lufs_thread.c | 345 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 D | pushlist.c | 60 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 D | bnxe_rx.c | 289 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 D | dthash.c | 153 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 D | tic_parse.c | 119 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 D | make-smbclnt | 66 (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 D | make-nfs | 69 (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 D | dump.c | 127 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 D | usage.c | 537 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 D | mdoc_macro.c | 957 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 D | man_macro.c | 268 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 D | show_ifs.sh | 21 tail -n +$(($line - ($context - 1))) $code_file | head -n $(($context - 1)) 25 tail -n +${line} $code_file | head -n $context
|
H A D | show_errs.sh | 29 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 D | xnf.c | 1777 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 D | xhci_ring.c | 264 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 D | list.h | 51 Listnode *head; /* the first element */ member 66 Elf32_Addr head; /* the first element */ member
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | utilities.c | 782 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 D | hurl.sh | 130 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 D | igb_sw.h | 264 (_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
|