/illumos-gate/usr/src/cmd/split/ |
H A D | split.c | 68 char head[MAXPATHLEN]; in main() local 195 (void) getcwd(head, sizeof (head)); in main() 198 (void) strcpy(head, output_file_name); in main() 199 last = strrchr(head, '/'); in main() 203 if (statvfs(head, &stbuf) < 0) { in main() 204 perror(head); in main()
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede_fp.c | 47 list->head = (list->head + 1) & TX_RING_MASK; in qede_get_dmah_entry() 85 list->head = (list->head + 1) & TX_RING_MASK; in qede_get_bcopy_pkt() 157 head = dmah; in qede_process_tx_completions() 159 if (head->mp) { in qede_process_tx_completions() 160 freemsg(head->mp); in qede_process_tx_completions() 170 head); in qede_process_tx_completions() 457 head = tail = mp; in qede_lro_end() 480 return (head); in qede_lro_end() 566 head = tail = mp; in qede_reg_jumbo_cqe() 583 return (head); in qede_reg_jumbo_cqe() [all …]
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | poplist.c | 38 hdrlines[hdrtype].head : hdrlines[hdrtype].tail); 46 hdrlines[hdrtype].head = hdrlines[hdrtype].tail = 49 hdrlines[hdrtype].head = hdr2rm->next; 55 hdrlines[hdrtype].head = hdrlines[hdrtype].tail =
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_output.c | 990 mblk_t *head; in sctp_output() local 1040 head = NULL; in sctp_output() 1062 head = NULL; in sctp_output() 1078 head = NULL; in sctp_output() 1101 head = NULL; in sctp_output() 1465 mblk_t *head; in sctp_make_ftsns() local 1537 *nmp = head; in sctp_make_ftsns() 1671 mblk_t *head; in sctp_rexmit() local 1848 head = nmp; in sctp_rexmit() 2083 mblk_t *head; in sctp_rexmit_packet() local [all …]
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_match.c | 72 static struct cache *head; variable 136 for (pp = &head, cnt = 0; (c = *pp) != 0; pp = &c->next, cnt++) { in in_cache() 154 c->next = head; in in_cache() 155 head = c; in in_cache() 280 c->next = head; in __yp_match_cflookup() 281 head = c; in __yp_match_cflookup() 322 p = head; in __empty_yp_cache() 323 head = 0; in __empty_yp_cache() 475 c->next = head; in __yp_match_rsvdport_cflookup() 476 head = c; in __yp_match_rsvdport_cflookup()
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfs4_db_impl.h | 137 #define ENQUEUE(head, l) { \ argument 139 (l)->next = (head); \ 142 (head) = (l); \ 145 #define DEQUEUE(head, l) { \ argument 149 (head) = (l)->next; \
|
/illumos-gate/usr/src/lib/libnsl/ |
H A D | req.flg | 26 echo_file usr/src/head/Makefile 27 echo_file usr/src/head/rpcsvc/nis.x 28 echo_file usr/src/head/rpcsvc/nis_object.x
|
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_generic.c | 224 int32_t cyl, rem, head, start_sector; in _m_raw_read() local 261 head = rem/fdchar.fdc_secptrack; in _m_raw_read() 270 fdraw.fdr_cmd[1] = (head << 2); /* using head 1 */ in _m_raw_read() 272 fdraw.fdr_cmd[3] = head; /* drive head number */ in _m_raw_read() 298 int32_t cyl, rem, head, start_sector; in _m_raw_write() local 334 head = rem/fdchar.fdc_secptrack; in _m_raw_write() 343 fdraw.fdr_cmd[1] = (head << 2); /* using head 1 */ in _m_raw_write() 345 fdraw.fdr_cmd[3] = head; /* drive head number */ in _m_raw_write()
|
/illumos-gate/usr/src/cmd/kvmstat/ |
H A D | kvmstat.c | 121 kstat_instances_update(kstat_ctl_t *kcp, kstat_instance_t **head, in kstat_instances_update() argument 129 if ((kid = kstat_chain_update(kcp)) == 0 && *head != NULL) in kstat_instances_update() 135 for (ksi = *head; ksi != NULL; ksi = ksi->ksi_next) in kstat_instances_update() 149 for (ksi = *head; ksi != NULL; ksi = ksi->ksi_next) { in kstat_instances_update() 176 assert(*head == NULL); in kstat_instances_update() 177 *head = ksi; in kstat_instances_update() 193 for (ksi = *head; ksi != NULL; ksi = next) { in kstat_instances_update() 204 *head = NULL; in kstat_instances_update() 211 *head = sorted[0]; in kstat_instances_update()
|
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_info.c | 42 hp_node_t head; member 217 (void) hp_fini(children.head); in copy_devices() 224 self->hp_child = children.head; in copy_devices() 350 node->hp_child = ports.head; in copy_hotplug() 354 if (connections.head == NULL) in copy_hotplug() 356 *retp = connections.head; in copy_hotplug() 360 (void) hp_fini(ports.head); in copy_hotplug() 361 (void) hp_fini(connections.head); in copy_hotplug() 445 listp->head = node; in node_list_add()
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_tx.c | 41 (sd)->mp_hndl.head = NULL; \ 74 for (dmah = ssbdp->mp_hndl.head; dmah != NULL; in nge_tx_recycle_all() 101 dst->head = src->head; in nge_tx_dmah_pop() 104 if ((src->head = node->next) == NULL) in nge_tx_dmah_pop() 117 dst->tail->next = src->head; in nge_tx_dmah_push() 119 dst->head = src->head; in nge_tx_dmah_push() 205 dmah.head = NULL; in nge_tx_recycle() 223 if (ssbdp->mp_hndl.head != NULL) in nge_tx_recycle() 260 for (dme = dmah.head; dme != NULL; dme = dme->next) in nge_tx_recycle() 262 if (dmah.head != NULL) { in nge_tx_recycle() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | radix.c | 113 rn_search(void *v_arg, struct radix_node *head) in rn_search() argument 118 for (x = head, v = v_arg; x->rn_b >= 0; ) { in rn_search() 133 for (x = head; x->rn_b >= 0; ) { in rn_search_m() 180 x = rn_match(v_arg, head); in rn_lookup() 216 rn_match(void *v_arg, struct radix_node_head *head) in rn_match() argument 219 struct radix_node *t = head->rnh_treetop, *x; in rn_match() 360 struct radix_node *top = head->rnh_treetop; in rn_insert() 718 x = head->rnh_treetop; in rn_delete() 952 rn_inithead(void **head, uint_t off) in rn_inithead() argument 956 if (*head) in rn_inithead() [all …]
|
/illumos-gate/usr/src/cmd/ipf/examples/ |
H A D | BASIC_2.FW | 24 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
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4fp.c | 269 cqe = cqe_buffer->head; in lm_tcp_qe_buffer_next_free_cqe() 272 cqe_buffer->head = cqe_buffer->first; /* cyclic*/ in lm_tcp_qe_buffer_next_free_cqe() 274 cqe_buffer->head = cqe + cqe_buffer->qe_size; in lm_tcp_qe_buffer_next_free_cqe() 293 if ((cqe == cqe_buffer->head) && (cqe_buffer->left > 0)) { in lm_tcp_qe_buffer_next_occupied_cqe() 310 return ((cqe_buffer->head == cqe_buffer->tail) && (cqe_buffer->left > 0)); in lm_tcp_qe_buffer_is_empty() 318 cqe = cqe_buffer->head; in lm_tcp_qe_buffer_next_cqe_override() 321 cqe_buffer->head = cqe_buffer->first; /* cyclic*/ in lm_tcp_qe_buffer_next_cqe_override() 323 cqe_buffer->head = cqe + cqe_buffer->qe_size; in lm_tcp_qe_buffer_next_cqe_override()
|
/illumos-gate/usr/src/lib/iconv_modules/euro/utils/gentbl/ |
H A D | Makefile | 153 HEADERS = $(MODULES:%.c=%.head) 163 %.head: ../%.c 169 %.tbl: gen_% %.head input copyright 173 cat $$ID.head $$ID.info copyright $@.tmp > $@ 190 %.btbl: %.out btbl.head 194 cat btbl.head $$ID.info $@.tmp > $@ 202 btbl.head: rewritetbl.c 209 $(RM) -r *.head *.tbl gen_* *info debug.inc *.out *.btbl
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | sun4u_memlist.c | 162 struct memlist *ptr, *head, *last; in reg_to_list() local 178 head = NULL; in reg_to_list() 200 if (!head) in reg_to_list() 201 head = ptr; in reg_to_list() 215 return (head); in reg_to_list()
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | lex.c | 786 NODE *head; in stop() local 795 for (head = fplist; head != (NODE *)NULL; head = head->next) { in stop() 796 if (head->fp == stdin || head->fp == stdout) in stop() 798 if (head->fp == itf || head->fp == otf) in stop() 800 if (head->fp == stderr) in stop() 802 if (head->fp == semfp) in stop() 804 if (head->fp == pipef) { in stop() 809 fclose(head->fp); in stop()
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | hash.c | 72 HashNode *head; /* The head of the bucket hash-node list */ member 268 b->head = NULL; in _new_HashTable() 378 node->next = bucket->head; in _new_HashSymbol() 379 bucket->head = node; in _new_HashSymbol() 409 bucket->head = node->next; in _del_HashSymbol() 606 for(last=NULL, node=bucket->head; in _find_HashNode() 689 HashNode *node = bucket->head; in _clear_HashTable() 698 bucket->head = NULL; in _clear_HashTable() 737 for(node=bucket->head; node; node=node->next) { in _scan_HashTable()
|
/illumos-gate/usr/src/tools/quick/ |
H A D | make-gss | 67 (cd $SRC/head && $make clobber) 80 test -f $SRC/head/rpcsvc/nispasswd.h || 81 (cd $SRC/head && $make -k install_h) 89 (cd $SRC/head && $make install_h) 153 find head -name '*.h' -print |sort
|
/illumos-gate/usr/src/uts/common/sys/nxge/ |
H A D | nxge_txdma.h | 58 #define TXDMA_RING_EMPTY(head, head_wrap, tail, tail_wrap) \ argument 59 ((head == tail && head_wrap == tail_wrap) ? B_TRUE : B_FALSE) 61 #define TXDMA_RING_FULL(head, head_wrap, tail, tail_wrap) \ argument 62 ((head == tail && head_wrap != tail_wrap) ? B_TRUE : B_FALSE) 85 int head; member 175 p_mblk_t head; member
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_txdma.h | 56 #define TXDMA_RING_EMPTY(head, head_wrap, tail, tail_wrap) \ argument 57 ((head == tail && head_wrap == tail_wrap) ? B_TRUE : B_FALSE) 59 #define TXDMA_RING_FULL(head, head_wrap, tail, tail_wrap) \ argument 60 ((head == tail && head_wrap != tail_wrap) ? B_TRUE : B_FALSE) 75 int head; member 160 p_mblk_t head; member
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddi_hp_ndi.c | 275 ddi_hp_cn_handle_t *head, *curr, *prev; in ndi_hp_walk_cn() local 290 head = DEVI(dip)->devi_hp_hdlp; in ndi_hp_walk_cn() 291 curr = head; in ndi_hp_walk_cn() 304 if (DEVI(dip)->devi_hp_hdlp != head) { in ndi_hp_walk_cn() 309 head = DEVI(dip)->devi_hp_hdlp; in ndi_hp_walk_cn() 310 curr = head; in ndi_hp_walk_cn()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | pick_opts.c | 51 char ** head; in pick_opts() local 58 head = new_opts; in pick_opts() 79 for (new_opts = head; *new_opts != NULL; new_opts++) { in pick_opts()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_e82545.c | 855 head = sc->esc_RDH; in e82545_rx_callback() 895 len, n, head); in e82545_rx_callback() 938 head = (head + n) % size; in e82545_rx_callback() 1067 for ( ; head != tail; head = (head + 1) % dsize) { in e82545_transmit_done() 1098 ohead = head; in e82545_transmit() 1104 for (desc = 0; ; desc++, head = (head + 1) % dsize) { in e82545_transmit() 1106 *rhead = head; in e82545_transmit() 1490 head = (head + 1) % dsize; in e82545_transmit() 1493 *rhead = head; in e82545_transmit() 1514 rhead = head; in e82545_tx_run() [all …]
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | thread.c | 1030 ctx = head = t->t_ctx; in ctxop_find_by_tmpl() 1043 } while (ctx != head); in ctxop_find_by_tmpl() 1136 ctx->next = head; in ctxop_attach() 1138 head->prev = ctx; in ctxop_attach() 1178 head = cur = t->t_ctx; in ctxop_detach() 1244 ctx = head = t->t_ctx; in savectx() 1251 } while (ctx != head); in savectx() 1282 ctx = head = t->t_ctx; in forkctx() 1288 } while (ctx != head); in forkctx() 1380 head = ctx; in freectx_ctx() [all …]
|