Home
last modified time | relevance | path

Searched refs:listp (Results 1 – 25 of 109) sorted by relevance

12345

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_mnt.c103 listp = mntpoint_listp; in inuse_mnt()
104 while (listp != NULL) { in inuse_mnt()
111 listp = listp->next; in inuse_mnt()
129 listp = firstp; in diff_mnttab()
138 listp = listp->next; in diff_mnttab()
141 listp = secondp; in diff_mnttab()
150 listp = listp->next; in diff_mnttab()
167 nextp = listp->next; in free_mnttab()
170 free((void *)listp); in free_mnttab()
171 listp = nextp; in free_mnttab()
[all …]
H A Dinuse_fs.c129 struct vfstab_list *listp; in inuse_fs() local
130 listp = vfstab_listp; in inuse_fs()
132 while (listp != NULL) { in inuse_fs()
136 if (listp->mountp != NULL) in inuse_fs()
137 mountp = listp->mountp; in inuse_fs()
143 listp = listp->next; in inuse_fs()
341 while (listp != NULL) { in free_vfstab()
342 nextp = listp->next; in free_vfstab()
344 free((void *)listp->mountp); in free_vfstab()
345 free((void *)listp); in free_vfstab()
[all …]
H A Dinuse_lu.c102 struct lu_list *listp; in inuse_lu() local
104 listp = lu_listp; in inuse_lu()
105 while (listp != NULL) { in inuse_lu()
112 listp = listp->next; in inuse_lu()
152 free_lu(struct lu_list *listp) { in free_lu() argument
156 while (listp != NULL) { in free_lu()
157 nextp = listp->next; in free_lu()
158 free((void *)listp->slice); in free_lu()
159 free((void *)listp->name); in free_lu()
160 free((void *)listp); in free_lu()
[all …]
H A Dinuse_vxvm.c121 struct vxvm_list *listp; in inuse_vxvm() local
123 listp = vxvm_listp; in inuse_vxvm()
124 while (listp != NULL) { in inuse_vxvm()
125 if (strcmp(slice, listp->slice) == 0) { in inuse_vxvm()
133 listp = listp->next; in inuse_vxvm()
241 struct vxvm_list *listp = vxvm_listp; in free_vxvm() local
244 while (listp != NULL) { in free_vxvm()
245 nextp = listp->next; in free_vxvm()
246 free((void *)listp->slice); in free_vxvm()
247 free((void *)listp); in free_vxvm()
[all …]
H A Dcache.c72 static int match_alias(alias_t *ap, alias_t *listp);
539 disk_t *listp; in del_drive() local
559 for (listp = disk_listp; listp != NULL; listp = listp->next) { in del_drive()
560 if (dp == listp) { in del_drive()
586 disk_t *listp; in del_drive_by_name() local
588 for (listp = disk_listp; listp != NULL; listp = listp->next) { in del_drive_by_name()
591 for (ap = listp->aliases; ap; ap = ap->next) { in del_drive_by_name()
593 del_drive(listp); in del_drive_by_name()
713 match_alias(alias_t *ap, alias_t *listp) in match_alias() argument
719 while (listp != NULL) { in match_alias()
[all …]
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_memlist.c50 while (listp) { in memlist_dump()
52 listp->ml_address, listp->ml_size); in memlist_dump()
53 listp = listp->ml_next; in memlist_dump()
94 next = *listp; in memlist_insert()
139 *listp = entry; in memlist_insert()
171 chunk = *listp; in memlist_remove()
231 next = *listp; in memlist_find()
268 next = *listp; in memlist_find_with_startaddr()
332 while (listp) { in memlist_dup()
342 listp = listp->ml_next; in memlist_dup()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_list.c1532 listp->next = lap->listp; in do_stat_fca_xport()
1534 lap->listp = listp; in do_stat_fca_xport()
1883 listp->next = lap->listp; in do_stat_fc_dev()
1884 lap->listp = listp; in do_stat_fc_dev()
2954 listp->next = lap->listp; in init_ldata_for_mpath_dev()
2955 lap->listp = listp; in init_ldata_for_mpath_dev()
3185 for (listp = listp_start; listp != NULL; listp = listp->next) { in init_ldata_for_accessible_FCP_dev()
3212 listp = listp->next) { in init_ldata_for_accessible_FCP_dev()
3226 listp = listp->next) { in init_ldata_for_accessible_FCP_dev()
3265 listp = listp->next) { in init_ldata_for_accessible_FCP_dev()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_dispatch.c205 void *listp; in __db_txnlist_add()
216 hp = (DB_TXNHEAD *)listp;
234 void *listp; in __db_txnlist_find()
257 __db_txnlist_end(listp) in __db_txnlist_end() argument
258 void *listp; in __db_txnlist_end()
263 hp = (DB_TXNHEAD *)listp;
279 void *listp; in __db_txnlist_gen()
292 hp = (DB_TXNHEAD *)listp;
304 __db_txnlist_print(listp) in __db_txnlist_print() argument
305 void *listp; in __db_txnlist_print()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c90 char **listp; in main() local
157 listp = listbuf; in main()
176 listp++; in main()
192 *listp = (char *)0; in main()
193 listp = listbuf; in main()
234 if (*listp) { in main()
238 listp++; in main()
272 char **listp = olistp; in oneof() local
275 if (*listp && strcmp(target, *listp) == 0) { in oneof()
276 *listp = (char *)0; in oneof()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dretire_store.c176 list_t *listp; in retire_list_free() local
182 listp = nvf_list(nvfh); in retire_list_free()
184 list_remove(listp, rsp); in retire_list_free()
250 list_t *listp; in rio_store_encode() local
265 listp = nvf_list(nvfh); in rio_store_encode()
266 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) { in rio_store_encode()
322 list_t *listp; in e_ddi_retire_persist() local
334 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) { in e_ddi_retire_persist()
372 list_t *listp; in e_ddi_retire_unpersist() local
406 list_t *listp; in e_ddi_device_retired() local
[all …]
H A Ddevid_cache.c225 list_t *listp; in devid_list_free() local
299 list_t *listp; in devid_cache_pack_list() local
311 for (np = list_head(listp); np; np = list_next(listp, np)) { in devid_cache_pack_list()
520 list_t *listp; in e_devid_cache_register_cmn() local
557 for (np = list_head(listp); np; np = list_next(listp, np)) { in e_devid_cache_register_cmn()
672 list_t *listp; in e_devid_cache_unregister() local
677 for (np = list_head(listp); np; np = list_next(listp, np)) { in e_devid_cache_unregister()
707 list_t *listp; in devid_cache_cleanup() local
806 list_t *listp; in e_devid_cache_devi_path_lists() local
811 for (np = list_head(listp); np; np = list_next(listp, np)) { in e_devid_cache_devi_path_lists()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/
H A Dpiclenvsetup.c248 return (listp); in add_node_to_list()
252 listp = el; in add_node_to_list()
259 tmp = listp; in add_node_to_list()
264 return (listp); in add_node_to_list()
293 listp = add_node_to_list(chdh, listp); in get_node_list_by_class()
295 listp = get_node_list_by_class(chdh, classname, listp); in get_node_list_by_class()
300 return (listp); in get_node_list_by_class()
312 for (; listp != NULL; listp = next) { in free_node_list()
314 free(listp); in free_node_list()
464 for (listp = node_list; listp != NULL; listp = listp->next) { in add_sensor_nodes_and_props()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvsetup.c271 return (listp); in add_node_to_list()
275 listp = el; in add_node_to_list()
282 tmp = listp; in add_node_to_list()
287 return (listp); in add_node_to_list()
316 listp = add_node_to_list(chdh, listp); in get_node_list_by_class()
318 listp = get_node_list_by_class(chdh, classname, listp); in get_node_list_by_class()
323 return (listp); in get_node_list_by_class()
335 for (; listp != NULL; listp = next) { in free_node_list()
337 free(listp); in free_node_list()
487 for (listp = node_list; listp != NULL; listp = listp->next) { in add_sensor_nodes_and_props()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_reset_notify.c42 struct scsi_reset_notify_entry **listp) in scsi_hba_reset_notify_setup() argument
48 p = *listp; in scsi_hba_reset_notify_setup()
59 *listp = p->next; in scsi_hba_reset_notify_setup()
72 p->next = *listp; in scsi_hba_reset_notify_setup()
73 *listp = p; in scsi_hba_reset_notify_setup()
84 scsi_hba_reset_notify_tear_down(struct scsi_reset_notify_entry *listp) in scsi_hba_reset_notify_tear_down() argument
88 p = listp; in scsi_hba_reset_notify_tear_down()
103 struct scsi_reset_notify_entry **listp) in scsi_hba_reset_notify_callback() argument
112 if ((p = *listp) == NULL) in scsi_hba_reset_notify_callback()
127 for (i = 0, p = *listp; i < count; i++, p = p->next) { in scsi_hba_reset_notify_callback()
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_list.c32 ldata_list_t *listp; member
243 *llpp = larg.listp; in do_list()
266 if (listp == NULL) { in postprocess_list_data()
437 S_FREE(listp); in create_pathinfo_ldata()
505 listp->next = lap->listp; in create_pathinfo_ldata()
506 lap->listp = listp; in create_pathinfo_ldata()
671 listp->next = lap->listp; in do_stat_bus()
672 lap->listp = listp; in do_stat_bus()
737 S_FREE(listp); in do_stat_dev()
762 listp->next = lap->listp; in do_stat_dev()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c101 char **listp; in main() local
162 listp = listbuf; in main()
180 listp++; in main()
196 *listp = (char *)0; in main()
197 listp = listbuf; in main()
199 listp = &argv[optind]; in main()
220 if (*listp) in main()
222 listp++; in main()
374 if (*listp && strcmp(target, *listp) == 0) { in oneof()
375 *listp = (char *)0; in oneof()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_archive.c42 char ***listp;
102 *listp = NULL;
151 *listp = NULL;
163 *listp = array;
183 char *pref, ***listp;
250 *listp = NULL;
315 *listp = array;
374 __usermem(listp, db_malloc) in __usermem() argument
375 char ***listp; in __usermem()
406 __os_free(*listp, 0);
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dptrlist.c184 void pack_ptr_list(struct ptr_list **listp) in pack_ptr_list() argument
186 struct ptr_list *head = *listp; in pack_ptr_list()
198 *listp = NULL; in pack_ptr_list()
206 *listp = next; in pack_ptr_list()
252 struct ptr_list *list = *listp; in __add_ptr_list()
267 *listp = newlist; in __add_ptr_list()
301 return __add_ptr_list(listp, ptr); in __add_ptr_list_tag()
445 head = *listp; in copy_ptr_list()
447 *listp = src; in copy_ptr_list()
492 struct ptr_list *tmp, *list = *listp; in __free_ptr_list()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c121 char **listp; in main() local
188 listp = listbuf; in main()
204 listp++; in main()
220 *listp = (char *)0; in main()
221 listp = listbuf; in main()
223 listp = &argv[optind]; in main()
249 if (*listp) { in main()
253 listp++; in main()
617 if (*listp && strcmp(target, *listp) == 0) { in oneof()
618 *listp = (char *)0; in oneof()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfslog_config.c300 if (listp != NULL) { in getconfiglist()
314 listp = create_config(tag, defaultdir, in getconfiglist()
317 if (listp == NULL) in getconfiglist()
321 *listpp = listp; in getconfiglist()
323 tail->nc_next = listp; in getconfiglist()
324 tail = listp; in getconfiglist()
704 getlastconfig(nfsl_config_t *listp) in getlastconfig() argument
708 for (; listp != NULL; listp = listp->nc_next) in getlastconfig()
709 lastp = listp; in getlastconfig()
917 for (; listp != NULL; listp = listp->nc_next) { in nfsl_printconfig_list()
[all …]
/illumos-gate/usr/src/cmd/dis/
H A Ddis_list.c86 uu_list_t *listp; in dis_namelist_create() local
95 if ((listp = uu_list_create(unresolved_pool, NULL, 0)) == NULL) in dis_namelist_create()
98 return (listp); in dis_namelist_create()
182 uu_list_t *listp; in dis_namelist_resolve_sections() local
191 if ((listp = uu_list_create(resolved_pool, NULL, UU_DEFAULT)) == NULL) in dis_namelist_resolve_sections()
196 cb.cb_resolved = listp; in dis_namelist_resolve_sections()
215 return (listp); in dis_namelist_resolve_sections()
260 uu_list_t *listp; in dis_namelist_resolve_functions() local
265 if ((listp = uu_list_create(resolved_pool, NULL, UU_DEFAULT)) == NULL) in dis_namelist_resolve_functions()
270 cb.cb_resolved = listp; in dis_namelist_resolve_functions()
[all …]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dwdt.c85 mde_cookie_t *listp = NULL; in watchdog_init() local
119 listp = kmem_zalloc(listsz, KM_SLEEP); in watchdog_init()
122 md_find_name(mdp, "platform"), md_find_name(mdp, "fwd"), listp); in watchdog_init()
126 if (md_get_prop_val(mdp, listp[0], "watchdog-max-timeout", in watchdog_init()
131 kmem_free(listp, listsz); in watchdog_init()
150 if (md_get_prop_val(mdp, listp[0], "watchdog-resolution", in watchdog_init()
155 kmem_free(listp, listsz); in watchdog_init()
164 kmem_free(listp, listsz); in watchdog_init()
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dprintlist.c46 addlist(struct stringlist *listp, char *funcname) in addlist() argument
57 slp->next = listp->next; in addlist()
59 listp->next = slp; in addlist()
63 onlist(struct stringlist *listp, char *funcname) in onlist() argument
67 for (slp = listp->next; slp; slp = slp->next) { in onlist()
/illumos-gate/usr/src/uts/sun4v/io/
H A Ddr_io.c191 md_find_name(mdp, "fwd"), listp); in dr_io_find_node_md()
225 result = listp[i]; in dr_io_find_node_md()
401 mde_cookie_t *listp; in dr_vio_find_parent_md() local
408 __func__, (void *)listp, listsz); in dr_vio_find_parent_md()
417 pnode = listp[0]; in dr_vio_find_parent_md()
420 __func__, (void *)listp, listsz); in dr_vio_find_parent_md()
421 kmem_free(listp, listsz); in dr_vio_find_parent_md()
437 mde_cookie_t *listp = NULL; in dr_io_configure() local
481 __func__, (void *)listp, listsz); in dr_io_configure()
604 if (listp) { in dr_io_configure()
[all …]
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Ddoscan.c600 FILE *iop, va_list *listp) in number() argument
685 va_arg(*listp, quadruple *), in number()
696 va_arg(*listp, extended *), in number()
705 va_arg(*listp, double *), &efs); in number()
708 va_arg(*listp, double *), in number()
713 va_arg(*listp, single *), &efs); in number()
716 va_arg(*listp, single *), in number()
801 *va_arg(*listp, long long *) = lcval; in number()
813 *va_arg(*listp, int *) = (int)lcval; in number()
977 int len, FILE *iop, va_list *listp) in wstring() argument
[all …]

12345