Home
last modified time | relevance | path

Searched refs:head (Results 151 – 175 of 714) sorted by relevance

12345678910>>...29

/illumos-gate/usr/src/uts/common/syscall/
H A Dsendfile.c447 if (head == NULL) in sendvec_small_chunk()
449 head->b_wptr = head->b_rptr = head->b_rptr + wroff; in sendvec_small_chunk()
455 freemsg(head); in sendvec_small_chunk()
474 freemsg(head); in sendvec_small_chunk()
480 freemsg(head); in sendvec_small_chunk()
532 freemsg(head); in sendvec_small_chunk()
538 freemsg(head); in sendvec_small_chunk()
545 freemsg(head); in sendvec_small_chunk()
558 freemsg(head); in sendvec_small_chunk()
581 freemsg(head); in sendvec_small_chunk()
[all …]
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_recv2.c288 mblk_t *head; in bge_receive_ring() local
314 head = NULL; in bge_receive_ring()
315 tail = &head; in bge_receive_ring()
332 return (head); in bge_receive_ring()
357 mblk_t *head; in bge_poll_ring() local
385 head = NULL; in bge_poll_ring()
386 tail = &head; in bge_poll_ring()
404 return (head); in bge_poll_ring()
/illumos-gate/usr/src/uts/common/inet/ilb/
H A Dilb_nat.c206 list_t *head; in ilb_find_nat_src() local
211 head = &ilbs->ilbs_nat_src[idx].nsh_head; in ilb_find_nat_src()
212 for (tmp = list_head(head); tmp != NULL; tmp = list_next(head, tmp)) { in ilb_find_nat_src()
247 list_insert_tail(head, tmp); in ilb_find_nat_src()
299 list_t *head; in ilb_nat_src_timer() local
304 head = &ilbs->ilbs_nat_src[i].nsh_head; in ilb_nat_src_timer()
305 cur = list_head(head); in ilb_nat_src_timer()
314 cur = list_next(head, cur); in ilb_nat_src_timer()
318 cur = list_next(head, cur); in ilb_nat_src_timer()
319 list_remove(head, tmp); in ilb_nat_src_timer()
/illumos-gate/usr/src/cmd/lp/lib/forms/
H A Dwrform.c187 print_sdn(int fd, char *head, SCALED sdn) in print_sdn() argument
192 (void)fdprintf(fd, "%s ", head); in print_sdn()
199 print_str(int fd, char *head, char *str) in print_str() argument
204 (void)fdprintf(fd, "%s %s\n", head, str); in print_str()
/illumos-gate/usr/src/lib/libfru/libfru/
H A DPayloadReader.cc113 uint8_t head, uint8_t tail, in calcOffset() argument
133 return (length * head); in calcOffset()
139 return (length * ((head + index) % iterPoss)); in calcOffset()
166 uint8_t head = iter[0]; in getIterationOffset() local
203 head, tail, iterThere, iterPoss, in getIterationOffset()
373 uint8_t *head = &(cur[0]); in update_iter_cont_bytes() local
412 if (*tail == *head) { in update_iter_cont_bytes()
414 if (++(*head) == numPoss) in update_iter_cont_bytes()
415 *head = 0; in update_iter_cont_bytes()
/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp_sack.h93 #define TCP_NOTSACK_REMOVE_ALL(head) \ argument
96 tmp = (head); \
102 (head) = NULL; \
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_getldap.c661 *head = NULL; in getldap_init_serverInfo()
683 *head = info; in getldap_init_serverInfo()
730 if (head && *head) { in getldap_init_serverInfo()
732 *head = NULL; in getldap_init_serverInfo()
747 if (head == NULL) { in getldap_destroy_serverInfo()
753 for (info = head; info; info = next) { in getldap_destroy_serverInfo()
791 if (head == NULL) { in getldap_set_serverInfo()
851 test_server_change(head); in getldap_set_serverInfo()
917 if (head == NULL) { in getldap_get_serverInfo()
1181 if (head == NULL) { in getldap_get_server_stat()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_cache.c488 QUEUE_INSERT_TAIL(&refq->head, refent) in smb_netbios_cache_insrefq()
498 QUEUE_INSERT_TAIL(&refq->head, refent) in smb_netbios_cache_insrefq()
526 bzero(&refq->head, sizeof (refq->head)); in smb_netbios_cache_refresh()
527 refq->head.forw = refq->head.back = &refq->head; in smb_netbios_cache_refresh()
576 bzero(&delq->head, sizeof (delq->head)); in smb_netbios_cache_delete_locals()
577 delq->head.forw = delq->head.back = &delq->head; in smb_netbios_cache_delete_locals()
595 QUEUE_INSERT_TAIL(&delq->head, delent) in smb_netbios_cache_delete_locals()
/illumos-gate/usr/src/uts/sun4u/opl/os/
H A Dopl.c332 head = tail = NULL; in opl_memlist_per_board()
343 if (head == NULL) in opl_memlist_per_board()
344 head = new; in opl_memlist_per_board()
353 return (head); in opl_memlist_per_board()
1138 (m)->next = ctl_msg.head; \
1142 ctl_msg.head = (m); \
1150 ctl_msg.head = (m)->next; \
1155 #define FREE_THE_TAIL(head) \ argument
1158 m = (head)->next; \
1159 (head)->next = NULL; \
[all …]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_fusion.c354 mblk_t *head, *prev_head = NULL; in tcp_fuse_output_urg() local
406 head = peer_tcp->tcp_rcv_list; in tcp_fuse_output_urg()
407 while (head != NULL) { in tcp_fuse_output_urg()
413 if (DB_TYPE(head) != M_DATA) { in tcp_fuse_output_urg()
414 mp1 = head; in tcp_fuse_output_urg()
417 head = mp1->b_cont; in tcp_fuse_output_urg()
419 head->b_next = mp1->b_next; in tcp_fuse_output_urg()
422 prev_head->b_next = head; in tcp_fuse_output_urg()
424 peer_tcp->tcp_rcv_list = head; in tcp_fuse_output_urg()
429 prev_head = head; in tcp_fuse_output_urg()
[all …]
/illumos-gate/usr/src/cmd/tsol/tnchkdb/
H A Dtnchkdb.c75 add_name(struct tsol_name_list **head, const char *name, int linenum) in add_name() argument
90 entry->next = *head; in add_name()
92 *head = entry; in add_name()
96 find_name(struct tsol_name_list *head, const char *name) in find_name() argument
100 for (entry = head; entry != NULL; entry = entry->next) in find_name()
107 add_addr(struct tsol_addr_list **head, int prefix_len, in6_addr_t addr, in add_addr() argument
124 entry->next = *head; in add_addr()
126 *head = entry; in add_addr()
130 find_addr(struct tsol_addr_list *head, int prefix_len, in6_addr_t addr) in find_addr() argument
134 for (entry = head; entry != NULL; entry = entry->next) in find_addr()
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibdm/
H A Dibdm.c390 head = head->gid_next; in ibdm_free_iou_info()
477 head = head->gid_next; in ibdm_fini()
1099 prev = head; in ibdm_handle_hca_detach()
1100 head = head->hl_next; in ibdm_handle_hca_detach()
1142 head = head->hl_next; in ibdm_handle_hca_detach()
3350 head = head->gl_next; in ibdm_is_ioc_present()
3372 head = head->gl_next; in ibdm_is_ioc_present()
4885 *hca = head; in ibdm_ibnex_get_hca_list()
4908 head = head->hl_next; in ibdm_ibnex_get_hca_info_by_guid()
6381 head = new; in ibdm_addto_gidlist()
[all …]
/illumos-gate/usr/src/tools/quick/
H A Dmake-idmap67 (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)
171 find head -name '*.h' -print |sort
/illumos-gate/usr/src/cmd/lp/filter/postscript/postio/
H A Dparallel.c61 extern int head, tail;
357 if ((actual = write(fd, block + head, tail - head)) == -1) { in parallel_comm()
371 head += actual; in parallel_comm()
374 logit("Writing (%d) at 0x%x actual: %d, %s\n", count++, head, in parallel_comm()
/illumos-gate/usr/src/uts/sun4/sys/
H A Dfcode.h428 struct fc_device_tree *head);
430 void fc_remove_child(dev_info_t *child, struct fc_device_tree *head);
432 dev_info_t *fc_child_node(dev_info_t *parent, struct fc_device_tree *head);
433 dev_info_t *fc_peer_node(dev_info_t *devi, struct fc_device_tree *head);
436 void fc_create_device_tree(dev_info_t *ap, struct fc_device_tree **head);
437 void fc_remove_device_tree(struct fc_device_tree **head);
449 struct fc_resource *head; member
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_macro5.c1408 if (!head || head->mc_sentinel != 0xada) { in dwarf_macro_context_head()
1410 if(head) { in dwarf_macro_context_head()
1411 dbg = head->mc_dbg; in dwarf_macro_context_head()
1416 *version = head->mc_version_number; in dwarf_macro_context_head()
1418 *mac_len = head->mc_total_length; in dwarf_macro_context_head()
1420 *flags = head->mc_flags; in dwarf_macro_context_head()
1437 if (!head || head->mc_sentinel != 0xada) { in dwarf_macro_operands_table()
1438 if(head) { in dwarf_macro_operands_table()
1439 dbg = head->mc_dbg; in dwarf_macro_operands_table()
1444 dbg = head->mc_dbg; in dwarf_macro_operands_table()
[all …]
/illumos-gate/usr/src/cmd/mailx/
H A Dreceipt.c55 char head[LINESIZE]; in receipt() local
78 readline(fp, head); in receipt()
79 if (parse_headline(head, hl) != 0) { in receipt()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathfind.c45 Dir_t* head; /* directory list head */ member
61 for (dp = state.head; dp; dp = dp->next) in pathinclude()
71 state.head = state.tail = dp; in pathinclude()
136 for (dp = state.head; dp; dp = dp->next) in pathfind()
/illumos-gate/usr/src/cmd/listen/
H A Dlisten.c540 queue(head, cp) in queue() argument
541 struct call_list *head; in queue()
547 head->cl_head = head->cl_tail = cp;
552 head->cl_tail = cp;
564 pqueue(head, cp) in pqueue() argument
565 struct call_list *head; in pqueue()
570 head->cl_head = head->cl_tail = cp;
574 head->cl_head = cp;
587 dequeue(head) in dequeue() argument
588 struct call_list *head; in dequeue()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddisk_link.c786 dvlist_t *head; in reserved_links_exist() local
813 head = NULL; in reserved_links_exist()
815 DI_PRIMARY_LINK, &head, dvlink_cb); in reserved_links_exist()
821 if (head == NULL && (*mn == *(MN_SMI) || in reserved_links_exist()
835 phys_path, DI_PRIMARY_LINK, &head, dvlink_cb); in reserved_links_exist()
838 if (head == NULL) { in reserved_links_exist()
854 "are NOT reserved\n", modname, head->dv_link); in reserved_links_exist()
855 free_dvlist(&head); in reserved_links_exist()
860 "reserved list\n", modname, head->dv_link); in reserved_links_exist()
867 for (entry = head; entry; entry = entry->dv_next) { in reserved_links_exist()
[all …]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl.h284 DAPL_ATOMIC head; /* head pointer index */ member
292 DAPL_ATOMIC head; member
1115 dapl_llist_init_head(DAPL_LLIST_HEAD *head);
1121 dapl_llist_is_empty(DAPL_LLIST_HEAD *head);
1125 DAPL_LLIST_HEAD *head,
1131 DAPL_LLIST_HEAD *head,
1137 DAPL_LLIST_HEAD *head,
1143 dapl_llist_remove_head(DAPL_LLIST_HEAD *head);
1146 dapl_llist_remove_tail(DAPL_LLIST_HEAD *head);
1153 dapl_llist_peek_head(DAPL_LLIST_HEAD *head);
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfctl.c3669 head->d_id_head = pd; in fctl_enlist_did_table()
3672 head->d_id_count++; in fctl_enlist_did_table()
3712 head->d_id_count--; in fctl_delist_did_table()
3782 head->pwwn_head = pd; in fctl_enlist_pwwn_table()
3784 head->pwwn_count++; in fctl_enlist_pwwn_table()
3832 head->pwwn_count--; in fctl_delist_pwwn_table()
3868 pd = head->d_id_head; in fctl_get_remote_port_by_did()
3921 pd = head->d_id_head; in fctl_hold_remote_port_by_did()
3963 pd = head->pwwn_head; in fctl_get_remote_port_by_pwwn()
3996 pd = head->pwwn_head; in fctl_get_remote_port_by_pwwn_mutex_held()
[all …]
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_mem.c151 cpqary3p->cmdmemlistp->head = head_pvtp; /* head Command Memory List */ in cpqary3_meminit()
299 ptr = memlistp->head; in cpqary3_meminit()
310 "cpqary3_cmdpvt starts at %x \n", memlistp->head); in cpqary3_meminit()
347 memp = memlistp->head; in cpqary3_cmdlist_occupy()
358 memlistp->head = memp->next; in cpqary3_cmdlist_occupy()
362 if (memlistp->head) /* Atleast one more item is left in the Memory Q */ in cpqary3_cmdlist_occupy()
405 if (memlistp->head == NULL) { /* obviously, tail is also NULL */ in cpqary3_cmdlist_release()
406 memlistp->head = memp; in cpqary3_cmdlist_release()
/illumos-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacctddi.c184 list_head_t *head; in flowacct_create_action() local
271 for (flow_count = 0, head = flowacct_data->flows_tbl; in flowacct_create_action()
272 flow_count < (FLOW_TBL_COUNT + 1); flow_count++, head++) { in flowacct_create_action()
273 mutex_init(&head->lock, NULL, MUTEX_DEFAULT, 0); in flowacct_create_action()
391 list_head_t *head; in flowacct_destroy_action() local
413 for (flow_count = 0, head = flowacct_data->flows_tbl; in flowacct_destroy_action()
414 flow_count < FLOW_TBL_COUNT; flow_count++, head++) { in flowacct_destroy_action()
415 mutex_destroy(&head->lock); in flowacct_destroy_action()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_parse.c146 tf_idata_insert(tf_idata_t **head, tf_idata_t *ni) in tf_idata_insert() argument
151 for (l = *head; l != NULL; l = l->ti_next) { in tf_idata_insert()
158 *head = ni; in tf_idata_insert()
165 tf_idata_lookup(tf_idata_t *head, topo_instance_t i) in tf_idata_lookup() argument
168 for (f = head; f != NULL; f = f->ti_next) in tf_idata_lookup()

12345678910>>...29