/illumos-gate/usr/src/test/zfs-tests/tests/functional/upgrade/ |
H A D | upgrade_userobj_001_pos.ksh | 59 zfs userspace -o objused -H $TESTPOOL | head -n 1 | grep -q "-" || 66 zfs userspace -o objused -H $TESTPOOL | head -n 1 | grep -q "-" || 74 zfs userspace -o objused -H $TESTPOOL/fs1 | head -n 1 | grep -q "-" && 82 zfs userspace -o objused -H $TESTPOOL/fs2 | head -n 1 | grep -q "-" && 87 zfs userspace -o objused -H $TESTPOOL | head -n 1 | grep -q "-" || 92 zfs userspace -o objused -H $TESTPOOL | head -n 1 | grep -q "-" &&
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_loclists.c | 60 Dwarf_Chain cur = head; in free_loclists_chain() 63 if(!head) { in free_loclists_chain() 605 Dwarf_Loc_Head_c head, in dwarf_get_loclist_head_basics() argument 628 *lkind = head->ll_kind; in dwarf_get_loclist_head_basics() 1263 Dwarf_Loc_Head_c head, in dwarf_get_loclists_entry_fields() argument 1293 Dwarf_Debug dbg = head->ll_dbg; in _dwarf_free_loclists_head() 1295 if (head->ll_first) { in _dwarf_free_loclists_head() 1305 head->ll_first = 0; in _dwarf_free_loclists_head() 1306 head->ll_last = 0; in _dwarf_free_loclists_head() 1321 head->ll_locdesc = 0; in _dwarf_free_loclists_head() [all …]
|
/illumos-gate/usr/src/common/fs/ |
H A D | ufsops.c | 67 static fileid_t *head; variable 134 fileid_t *filep = head; in find_fp() 568 head->fi_back = head->fi_forw = head; in bufs_mountroot() 569 head->fi_filedes = 0; in bufs_mountroot() 570 head->fi_taken = 0; in bufs_mountroot() 577 head->fi_offset = 0; in bufs_mountroot() 579 if (diskread(head)) { in bufs_mountroot() 629 filep->fi_forw = head; in bufs_open() 631 head->fi_back = filep; in bufs_open() 789 fileid_t *filep = head; in bufs_closeall() [all …]
|
/illumos-gate/usr/src/stand/lib/fs/ufs/ |
H A D | ufsops.c | 47 static fileid_t *head; variable 157 fileid_t *filep = head; in find_fp() 633 head->fi_back = head->fi_forw = head; in boot_ufs_mountroot() 634 head->fi_filedes = 0; in boot_ufs_mountroot() 635 head->fi_taken = 0; in boot_ufs_mountroot() 642 head->fi_offset = 0; in boot_ufs_mountroot() 644 if (diskread(head) || in boot_ufs_mountroot() 649 lufs_boot_init(head); in boot_ufs_mountroot() 687 filep->fi_forw = head; in boot_ufs_open() 689 head->fi_back = filep; in boot_ufs_open() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | atexit.c | 119 p->next = arp->head; in __cxa_atexit() 120 arp->head = p; in __cxa_atexit() 150 p = arp->head; in __cxa_finalize() 161 p = arp->head; in __cxa_finalize() 337 p = arp->head; in _preexec_exit_handlers() 359 p = arp->head; in _preexec_exit_handlers() 407 p->next = arp->head; in at_quick_exit() 408 arp->head = p; in at_quick_exit() 426 p = qrp->head; in quick_exit() 428 qrp->head = p->next; in quick_exit() [all …]
|
H A D | atfork.c | 53 atfork_t *head; in pthread_atfork() local 68 if ((head = udp->atforklist) == NULL) { in pthread_atfork() 72 head->back->forw = atfp; in pthread_atfork() 73 atfp->forw = head; in pthread_atfork() 74 atfp->back = head->back; in pthread_atfork() 75 head->back = atfp; in pthread_atfork()
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | history.c | 368 glh->list.head = NULL; in _del_GlHistory() 500 if(glh->list.head) in _glh_add_history() 503 glh->list.head = lnode; in _glh_add_history() 1039 head = NULL; in _glh_save_history() 1041 for(head=glh->list.tail; head && --max_lines > 0; head=head->prev) in _glh_save_history() 1044 if(!head) in _glh_save_history() 1045 head = glh->list.head; in _glh_save_history() 1780 while(glh->list.head && glh->list.head != oldest) in _glh_limit_history() 2034 node = glh->list.head; in _glh_find_id() 2106 *oldest = glh->list.head ? glh->list.head->id : 0; in _glh_range_of_history() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/ |
H A D | show_unreachable.sh | 54 if tail -n +$(($line - 1)) $code_file | head -n 1 | \ 59 line_txt=$(tail -n +$(($line)) $code_file | head -n 1) 72 if tail -n +$(($line)) $code_file | head -n 1 | grep -qw 'break' ; then 79 tail -n +$(($line - ($context - 1))) $code_file | head -n $(($context - 1)) 81 tail -n +${line} $code_file | head -n $context
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/ |
H A D | slowsend.c | 55 extern int head; 145 if ( num > tail - head ) in writeblock() 146 num = tail - head; in writeblock() 148 if ( (count = write(ttyo, &block[head], num)) == -1 ) in writeblock() 153 head += count; in writeblock()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmhdr.h | 219 Head_t* head; member 254 struct _head_s head; member 278 { Head_t head; member 290 #define TLEFT(b) ((b)->head.head.seg.link) /* instead of LEFT */ 343 #define SEG(b) ((b)->head.head.seg.seg) 344 #define SEGLINK(b) ((b)->head.head.seg.link) 345 #define SIZE(b) ((b)->head.head.size.size) 346 #define SIZELINK(b) ((b)->head.head.size.link) 396 #define PFOBJ(d) (PFDATA(d)->head.seg.pf) 397 #define PFSIZE(d) (PFDATA(d)->head.size.size) [all …]
|
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_memlist.c | 297 struct memlist *head, *prev; in memlist_subsume() local 299 head = *src; in memlist_subsume() 300 while (head) { in memlist_subsume() 301 memlist_insert(dest, head->ml_address, head->ml_size); in memlist_subsume() 302 prev = head; in memlist_subsume() 303 head = head->ml_next; in memlist_subsume() 330 struct memlist *head = 0, *prev = 0; in memlist_dup() local 340 head = entry; in memlist_dup() 345 return (head); in memlist_dup()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | dnssrv.c | 68 struct srv_dns_entry *head = NULL; in krb5int_make_srv_query_realm() local 153 if (head == NULL || head->priority > srv->priority) { in krb5int_make_srv_query_realm() 154 srv->next = head; in krb5int_make_srv_query_realm() 155 head = srv; in krb5int_make_srv_query_realm() 165 for (entry = head; entry != NULL; entry = entry->next) { in krb5int_make_srv_query_realm() 182 *answers = head; in krb5int_make_srv_query_realm()
|
/illumos-gate/usr/src/cmd/rpcinfo/ |
H A D | rpcinfo.c | 489 pmaplist_ptr head = NULL; local 542 if (head == NULL) { 546 for (; head != NULL; head = head->pml_next) { 800 if (head == NULL) 801 head = list; 837 if (head == NULL) { 842 for (; head != NULL; head = head->rpcb_next) { 844 head->rpcb_map.r_prog, head->rpcb_map.r_vers); 855 for (; head != NULL; head = head->rpcb_next) { 1019 if (head == NULL) { [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | net_backends.c | 752 uint32_t head; in netmap_send() local 757 head = ring->head; in netmap_send() 794 head = nm_ring_next(ring, head); in netmap_send() 813 head = nm_ring_next(ring, head); in netmap_send() 816 ring->head = ring->cur = head; in netmap_send() 828 uint32_t head = ring->head; in netmap_peek_recvlen() local 837 head = nm_ring_next(ring, head); in netmap_peek_recvlen() 852 uint32_t head; in netmap_recv() local 857 head = ring->head; in netmap_recv() 900 head = nm_ring_next(ring, head); in netmap_recv() [all …]
|
/illumos-gate/usr/src/uts/sun4v/ml/ |
H A D | mach_interrupt.S | 58 ! %g6 head ptr 61 ldxa [%g3]ASI_QUEUE, %g6 ! %g6 = head ptr 65 be,pn %xcc, 3f ! head == tail 412 * head offset(arg2) and %g3 is tail 460 ldxa [%g4]ASI_QUEUE, %g2 ! %g2 = Q head offset 465 be,pn %xcc, 0f ! head == tail 471 ldxa [%g4]ASI_QUEUE, %g2 ! %g2 = Q head offset 474 mov %g2, %g6 ! save head in %g2 520 cmp %g6, %g3 ! head == tail ?? 530 stxa %g6, [%g4]ASI_QUEUE ! update head offset [all …]
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vio_util.c | 87 vmplp->head = 0; in vio_create_mblks() 102 vmplp->tail = vmplp->head; in vio_create_mblks() 156 if (vmplp->head == vmplp->tail) { in vio_destroy_mblks() 164 if (vmplp->head != vmplp->tail) { in vio_destroy_mblks() 214 uint32_t head; in vio_allocb() local 217 head = (vmplp->head + 1) & vmplp->quemask; in vio_allocb() 218 if (head != vmplp->tail) { in vio_allocb() 220 vmp = vmplp->quep[vmplp->head]; in vio_allocb() 221 vmplp->head = head; in vio_allocb() 284 ASSERT(vmplp->tail != vmplp->head); in vio_clobber_pool()
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | sendmail.c | 257 if ((hptr = hdrlines[H_MIMEVERS].head) != in sendmail() 265 if ((hptr = hdrlines[H_CTYPE].head) != in sendmail() 273 if ((hptr = hdrlines[H_CLEN].head) != in sendmail() 293 if ((hptr = hdrlines[H_MIMEVERS].head) != in sendmail() 301 if ((hptr = hdrlines[H_CTYPE].head) != in sendmail() 309 if ((hptr = hdrlines[H_CLEN].head) != in sendmail() 336 if (hdrlines[H_MIMEVERS].head == (struct hdrs *)NULL) { in sendmail() 343 if (hdrlines[H_CTYPE].head == (struct hdrs *)NULL) { in sendmail() 350 if (hdrlines[H_CLEN].head == (struct hdrs *)NULL) { in sendmail() 411 if ((hptr = hdrlines[H_CTYPE].head) != (struct hdrs *)NULL) { in sendmail() [all …]
|
H A D | copylet.c | 124 if ((hptr = hdrlines[H_CLEN].head) != in xxxcopylet() 206 if ((hptr = hdrlines[H_TCOPY].head) != in xxxcopylet() 209 strlen(hdrlines[H_TCOPY].head->value); in xxxcopylet() 212 if ((hptr = hdrlines[H_RECEIVED].head) != in xxxcopylet() 219 if ((hptr = hdrlines[H_MIMEVERS].head) != in xxxcopylet() 221 i += strlen(hdrlines[H_MIMEVERS].head->value); in xxxcopylet() 223 if ((hptr = hdrlines[H_CTYPE].head) != in xxxcopylet() 225 i += strlen(hdrlines[H_CTYPE].head->value); in xxxcopylet() 227 if ((hptr = hdrlines[H_CLEN].head) != in xxxcopylet() 229 i += strlen(hdrlines[H_CLEN].head->value); in xxxcopylet() [all …]
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_sched.c | 1540 mp = head; in mac_rx_srs_proto_fanout() 1541 head = head->b_next; in mac_rx_srs_proto_fanout() 1967 mp = head; in mac_rx_srs_fanout() 1968 head = head->b_next; in mac_rx_srs_fanout() 2507 return (head); in mac_srs_pick_chain() 2537 head = mp; in mac_srs_pick_chain() 2551 return (head); in mac_srs_pick_chain() 2572 mblk_t *head; in mac_rx_srs_drain() local 2809 mblk_t *head; in mac_rx_srs_drain_bw() local 3349 head = NULL; in mac_rx_srs_process() [all …]
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | biossmap.c | 59 STAILQ_HEAD(smap_head, smap_buf) head = in bios_getsmap() 60 STAILQ_HEAD_INITIALIZER(head); in bios_getsmap() 64 STAILQ_INIT(&head); in bios_getsmap() 89 STAILQ_INSERT_TAIL(&head, next, bufs); in bios_getsmap() 98 STAILQ_FOREACH(cur, &head, bufs) in bios_getsmap() 105 STAILQ_FOREACH(cur, &head, bufs) in bios_getsmap() 111 cur = STAILQ_FIRST(&head); in bios_getsmap()
|
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct.c | 331 tophdr->head = new_hdr; in flowacct_add_obj() 338 tophdr->head = new_hdr; in flowacct_add_obj() 377 if (tophdr->head == hdr) { in flowacct_del_obj() 378 tophdr->head = hdr->next; in flowacct_del_obj() 410 itemhdr = flow->items.head; in flowacct_item_present() 591 thead->head = flow->hdr; in flowacct_update_flows_tbl() 613 thead->head = thead->head->timeout_next; in flowacct_update_flows_tbl() 731 list_head_t *head, *thead; in flowacct_timer() local 758 fl_hdr = thead->head; in flowacct_timer() 764 head = flow->back_ptr; in flowacct_timer() [all …]
|
/illumos-gate/usr/src/common/net/patricia/ |
H A D | radix.c | 176 rn_search(v_arg, head) in rn_search() argument 178 struct radix_node *head; 197 struct radix_node *head; in rn_search_m() 247 rn_lookup(v_arg, m_arg, head) in rn_lookup() argument 260 x = rn_match(v_arg, head); 304 rn_match(v_arg, head) in rn_match() argument 896 x = head->rnh_treetop; 1188 rn_inithead(head, off) in rn_inithead() argument 1189 void **head; in rn_inithead() 1194 if (*head) [all …]
|
/illumos-gate/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 61 static fileid_t *head; variable 487 head->fi_back = head->fi_forw = head; in boot_hsfs_mountroot() 488 head->fi_filedes = 0; in boot_hsfs_mountroot() 489 head->fi_taken = 0; in boot_hsfs_mountroot() 492 bzero(head->fi_buf, sizeof (head->fi_buf)); in boot_hsfs_mountroot() 493 head->fi_devp = devp; in boot_hsfs_mountroot() 496 head->fi_memp = head->fi_buf; in boot_hsfs_mountroot() 497 head->fi_offset = 0; in boot_hsfs_mountroot() 499 if (diskread(head)) { in boot_hsfs_mountroot() 711 if (head) in boot_hsfs_closeall() [all …]
|
/illumos-gate/usr/src/cmd/ipf/examples/ |
H A D | BASIC_1.FW | 24 block in log on ppp0 all head 100 25 block in log proto tcp all flags S/SA head 101 group 100 26 block out log on ppp0 all head 150 27 block in log on ed0 from w.x.y.z/24 to any head 200 28 block in log proto tcp all flags S/SA head 201 group 200 29 block in log proto udp all head 202 group 200 30 block out log on ed0 all head 250 85 block in log proto tcp from any to a.b.c.d/32 flags S/SA head 110 group 100
|
/illumos-gate/usr/src/ |
H A D | Makefile | 53 HDRSUBDIRS= uts head lib cmd 58 CHKHDRSUBDIRS= head uts lib 127 clean: $(SUBDIRS) head pkg 128 clobber: $(SUBDIRS) head pkg clobber_local 169 $(SUBDIRS) head pkg: FRC target 210 @cd head; pwd; $(MAKE) install_h 232 XRINCDIRS = uts/common head ucbhead 248 $(JAVA_ROOT)/bin/java -fullversion 2>&1 | head -1; \
|