Searched defs:headp (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/amd64/unwind/
H A Dthrp_unwind.c52 __cleanup_t **headp = (__cleanup_t **)func_arg; local
69 while ((head = *headp) != NULL &&
71 *headp = head->next;
90 __cleanup_t **headp = &self->ul_clnup_hdr; local
109 (*fptr)(posix_stop_func, headp);
114 while ((head = *headp) != NULL) {
115 *headp = head->next;
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_queue.c116 L2_add(L2el_t *headp, L2el_t *elementp, void *private) argument
119 ASSERT(headp != NULL && elementp != NULL);
120 ASSERT(headp->l2_nextp != NULL);
121 ASSERT(headp->l2_prevp != NULL);
125 elementp->l2_nextp = headp;
126 elementp->l2_prevp = headp->l2_prevp;
127 headp->l2_prevp->l2_nextp = elementp;
128 headp->l2_prevp = elementp;
151 L2_add_head(L2el_t *headp, L2el_t *elementp, void *private) argument
154 ASSERT(headp !
176 L2_remove_head(L2el_t *headp) argument
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_dispatch.c183 DB_TXNHEAD *headp; local
186 if ((ret = __os_malloc(sizeof(DB_TXNHEAD), NULL, &headp)) != 0)
189 LIST_INIT(&headp->head);
190 headp->maxid = 0;
191 headp->generation = 1;
193 *(void **)retp = headp;
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_shares.c61 fs_free_share_list(fs_sharelist_t *headp) argument
65 while (headp != NULL) {
66 tmp = headp->next;
67 free(headp->path);
68 free(headp->resource);
69 free(headp->fstype);
70 free(headp->options);
71 free(headp->description);
72 headp->next = NULL;
73 free(headp);
86 fs_sharelist_t *headp; local
[all...]
H A Dfs_mount_defaults.c71 void fs_free_mntdefaults_list(fs_mntdefaults_t *headp) { argument
74 while (headp != NULL) {
75 tmp = headp->next;
76 free(headp->resource);
77 free(headp->fsckdevice);
78 free(headp->mountp);
79 free(headp->fstype);
80 free(headp->fsckpass);
81 free(headp->mountatboot);
82 free(headp
98 fs_mntdefaults_t *headp; local
162 fs_mntdefaults_t *headp; local
[all...]
H A Dfs_dfstab.c133 free_dfstab_list(dfstab_entry_t *headp) argument
135 dfstab_entry_t *tmp = headp;
137 while (headp != NULL) {
138 tmp = headp->next;
139 if (headp->path != NULL) {
140 free(headp->path);
142 if (headp->resource != NULL) {
143 free(headp->resource);
145 if (headp->fstype != NULL) {
146 free(headp
699 dfstab_entry_t *headp = (dfstab_entry_t *)list; local
[all...]
H A Dfs_mounts.c67 fs_free_mount_list(fs_mntlist_t *headp) { argument
70 while (headp != NULL) {
71 tmp = headp->next;
72 free(headp->resource);
73 free(headp->mountp);
74 free(headp->fstype);
75 free(headp->mntopts);
76 free(headp->time);
77 headp->next = NULL;
78 free(headp);
163 fs_mntlist_t *headp; local
274 fs_mntlist_t *headp; local
330 fs_mntlist_t *headp; local
[all...]
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Darcs.c359 nltype *headp; local
364 headp = childp->cyclehead;
365 if (childp == headp) {
394 headp->printflag = FALSE;
395 headp->propfraction = 0.0;
396 for (memp = headp->cnext; memp; memp = memp->cnext) {
399 if (arcp->arc_parentp->cyclehead == headp) {
403 headp->printflag |= parentp->printflag;
410 if (headp->ncall) {
411 headp
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_mnt.c206 struct mntpnt_list *headp; local
214 headp = NULL;
242 free_mnttab(headp);
247 if (headp == NULL) {
248 headp = currp;
260 free_mnttab(headp);
270 free_mnttab(headp);
284 free_mnttab(headp);
297 free_mnttab(headp);
301 if (headp
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_buf.c1035 rds_free_send_buf(rds_ep_t *ep, rds_buf_t *headp, rds_buf_t *tailp, uint_t nbuf, argument
1047 tmp = headp;
1053 tailp = headp;
1065 spool->pool_tailp->buf_nextp = headp;
1067 spool->pool_headp = headp;
H A Drdsib_ib.c1027 rds_buf_t *headp, *tailp, *bp; local
1032 headp = NULL;
1114 if (headp) {
1118 headp = bp;
1139 rds_free_send_buf(ep, headp, tailp, npolled, lock);
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpciev.c54 pcie_domains_t **headp);
552 pcie_domains_t **headp)
557 if (*headp == NULL) {
558 *headp = pd;
563 pd->faulty_next = *headp;
564 (*headp)->faulty_prev = pd;
567 *headp = pd;
551 pcie_faulty_list_update(pcie_domains_t *pd, pcie_domains_t **headp) argument
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetnetgrent.c516 struct grouplist **headp = headp_arg; local
542 gl->gl_nxt = *headp;
543 *headp = gl;
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_util.c189 linkattr_add(dlmgmt_linkattr_t **headp, dlmgmt_linkattr_t *attrp) argument
191 if (*headp == NULL) {
192 *headp = attrp;
194 (*headp)->lp_prev = attrp;
195 attrp->lp_next = *headp;
196 *headp = attrp;
201 linkattr_rm(dlmgmt_linkattr_t **headp, dlmgmt_linkattr_t *attrp) argument
212 *headp = next;
216 linkattr_find(dlmgmt_linkattr_t *headp, const char *attr) argument
220 for (attrp = headp; attr
228 linkattr_set(dlmgmt_linkattr_t **headp, const char *attr, void *attrval, size_t attrsz, dladm_datatype_t type) argument
273 linkattr_unset(dlmgmt_linkattr_t **headp, const char *attr) argument
285 linkattr_get(dlmgmt_linkattr_t **headp, const char *attr, void **attrvalp, size_t *attrszp, dladm_datatype_t *typep) argument
301 linkattr_equal(dlmgmt_linkattr_t **headp, const char *attr, void *attrval, size_t attrsz) argument
528 dlmgmt_getattr_common(dlmgmt_linkattr_t **headp, const char *attr, dlmgmt_getattr_retval_t *retvalp) argument
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Daio_subr.c807 aio_req_t *headp; local
825 headp = aiop->aio_portq;
828 if ((reqp = headp) != NULL) {
837 } while ((reqp = next) != headp);
840 if (headp != NULL && exitflag == 0) {
846 aio_req_t *headprev = headp->aio_req_prev;
849 headp->aio_req_prev = newqprev;
852 newqprev->aio_req_next = headp;
854 aiop->aio_portq = headp;
1197 aio_req_t *headp; local
[all...]
/illumos-gate/usr/src/uts/sun4/os/
H A Dintr.c496 intr_dist_rem_list(struct intr_dist **headp, void (*func)(void *), void *arg) argument
502 for (iptr = *headp, vect = headp;
/illumos-gate/usr/src/uts/i86pc/os/
H A Dpmem.c682 pmem_lpg_free(pmem_lpg_t **headp, pmem_lpg_t *plp) argument
684 if (*headp == plp)
685 *headp = plp->pl_next; /* go to next pmem_lpg_t */
687 if (*headp == plp)
688 *headp = NULL; /* this list is gone */
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_bitmap.c1080 dbmap_list_t *headp; local
1086 headp = &bmp->bm_lru;
1087 if (!headp)
1090 while (!TAILQ_EMPTY(headp)) {
1091 cp = TAILQ_FIRST(headp);
1092 TAILQ_REMOVE(headp, cp, c_lru);
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_svm_util.c172 svm_snap_t *headp = NULL; local
179 headp = svm_snapshot(&error);
237 for (listp = headp; listp != NULL && error == 0; listp = listp->next) {
383 free_svm_snapshot(headp);
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_sched.c1511 kcf_areq_node_t *headp; local
1521 headp = areq->an_idnext = rt->rt_idhash[indx];
1523 if (headp != NULL)
1524 headp->an_idprev = areq;
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_utils.c691 ibcm_ud_state_data_t *prevp, *headp; local
710 headp = hcap->hca_sidr_list;
712 while (headp != NULL) {
714 if (headp == ud_statep) {
716 prevp->ud_nextp = headp->ud_nextp;
718 prevp = headp->ud_nextp;
723 prevp = headp;
724 headp = headp->ud_nextp;
H A Dibcm_impl.c1175 ibcm_hca_info_t *headp, *prevp = NULL; local
1183 headp = ibcm_hca_listp;
1184 while (headp != NULL) {
1185 if (headp == hcap) {
1190 prevp->hca_next = headp->hca_next;
1192 prevp = headp->hca_next;
1203 prevp = headp;
1204 headp = headp->hca_next;
/illumos-gate/usr/src/uts/common/disp/
H A Dsysdc.c673 sysdc_t *volatile *headp = &SYSDC_LIST(sdc)->sdl_list; local
683 head = *headp;
685 } while (atomic_cas_ptr(headp, head, sdc) != head);
732 sysdc_t *volatile *headp = &sdl->sdl_list; local
736 if (*headp == &sysdc_dummy)
751 head = atomic_swap_ptr(headp, &sysdc_dummy);
804 tail = *headp;
806 } while (atomic_cas_ptr(headp, tail, head) != tail);
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibsharecore.c1367 xfs_sharelist_t *headp; local
1371 headp = NULL;
1392 if (headp == NULL) {
1393 headp = newp;
1425 return (headp);
1430 dfs_free_list(headp);
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_flow.c284 flow_entry_t **headp, **p; local
319 headp = &ft->ft_table[index];
324 for (p = headp; *p != NULL; p = &(*p)->fe_next) {
340 err = ops->fo_insert_fe(ft, headp, flent);
1810 flow_generic_insert_fe(flow_tab_t *ft, flow_entry_t **headp, argument
1815 if (*headp != NULL) {
1817 flent->fe_next = *headp;
1819 *headp = flent;
2180 flow_ip_insert_fe(flow_tab_t *ft, flow_entry_t **headp, argument
2183 flow_entry_t **p = headp;
[all...]

Completed in 150 milliseconds

12