Searched defs:listp (Results 1 - 25 of 108) sorted by relevance

12345

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpsiginfo.c55 const struct siginfolist *listp; local
71 } else if (((listp = &_sys_siginfolist[sip->si_signo-1]) != NULL) &&
72 sip->si_code <= listp->nsiginfo) {
73 c = _libc_gettext(listp->vsiginfo[sip->si_code-1]);
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dprintlist.c48 addlist(struct stringlist *listp, char *funcname) argument
59 slp->next = listp->next;
61 listp->next = slp;
65 onlist(struct stringlist *listp, char *funcname) argument
69 for (slp = listp->next; slp; slp = slp->next) {
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_reset_notify.c44 struct scsi_reset_notify_entry **listp)
50 p = *listp;
61 *listp = p->next;
74 p->next = *listp;
75 *listp = p;
86 scsi_hba_reset_notify_tear_down(struct scsi_reset_notify_entry *listp) argument
90 p = listp;
105 struct scsi_reset_notify_entry **listp)
114 if ((p = *listp) == NULL)
129 for (i = 0, p = *listp;
42 scsi_hba_reset_notify_setup(struct scsi_address *ap, int flag, void (*callback)(caddr_t), caddr_t arg, kmutex_t *mutex, struct scsi_reset_notify_entry **listp) argument
104 scsi_hba_reset_notify_callback(kmutex_t *mutex, struct scsi_reset_notify_entry **listp) argument
[all...]
/illumos-gate/usr/src/cmd/streams/strcmd/
H A Dstrconf.c191 * more_modules(listp, n) allocate space for 'n' modules in 'listp'
197 more_modules(struct str_list *listp, int n) argument
217 for (i = 0; i < listp->sl_nmods; ++i)
218 (void) strncpy(modp[i].l_name, listp->sl_modlist[i].l_name,
220 listp->sl_nmods = n;
221 listp->sl_modlist = modp;
H A Dstrchg.c526 * more_modules(listp, n) allocate space for 'n' modules in 'listp'
532 more_modules(struct str_list *listp, int n) argument
552 for (i = 0; i < listp->sl_nmods; ++i)
553 (void) strncpy(modp[i].l_name, listp->sl_modlist[i].l_name,
555 listp->sl_nmods = n;
556 listp->sl_modlist = modp;
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_mp_startup.c175 mde_cookie_t *listp = NULL; local
195 listp = kmem_zalloc(listsz, KM_SLEEP);
198 md_find_name(mdp, "fwd"), listp);
204 if (md_get_prop_val(mdp, listp[i], "id", &cpuid_prop))
207 cpunode = listp[i];
215 kmem_free(listp, listsz);
H A Dwdt.c85 mde_cookie_t *listp = NULL; local
119 listp = kmem_zalloc(listsz, KM_SLEEP);
122 md_find_name(mdp, "platform"), md_find_name(mdp, "fwd"), listp);
126 if (md_get_prop_val(mdp, listp[0], "watchdog-max-timeout",
131 kmem_free(listp, listsz);
150 if (md_get_prop_val(mdp, listp[0], "watchdog-resolution",
155 kmem_free(listp, listsz);
164 kmem_free(listp, listsz);
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/hostbridge/
H A Dhb_mdesc.c86 mde_cookie_t *listp; local
92 listp = topo_mod_zalloc(mod, sizeof (mde_cookie_t) * nnode);
99 listp);
102 topo_mod_free(mod, listp, sizeof (mde_cookie_t) * nnode);
108 rc = md_get_prop_str(mdp, listp[i], MD_STR_DEVICE_TYPE, &s);
115 topo_mod_free(mod, listp, sizeof (mde_cookie_t) * nnode);
134 rc = md_get_prop_str(mdp, listp[i], MD_STR_DEVICE_TYPE, &s);
141 if (md_get_prop_val(mdp, listp[i], MD_STR_CFGHDL, &x) < 0) {
158 topo_mod_free(mod, listp, sizeof (mde_cookie_t) * nnode);
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_lu.c66 static void free_lu(struct lu_list *listp);
104 struct lu_list *listp; local
106 listp = lu_listp;
107 while (listp != NULL) {
108 if (strcmp(slice, listp->slice) == 0) {
110 libdiskmgt_add_str(attrs, DM_USED_NAME, listp->name, errp);
114 listp = listp->next;
154 free_lu(struct lu_list *listp) { argument
158 while (listp !
[all...]
H A Dinuse_fs.c73 static void free_vfstab(struct vfstab_list *listp);
131 struct vfstab_list *listp; local
132 listp = vfstab_listp;
134 while (listp != NULL) {
135 if (strcmp(slice, listp->special) == 0) {
138 if (listp->mountp != NULL)
139 mountp = listp->mountp;
145 listp = listp->next;
339 free_vfstab(struct vfstab_list *listp) argument
[all...]
H A Dinuse_vxvm.c121 struct vxvm_list *listp; local
123 listp = vxvm_listp;
124 while (listp != NULL) {
125 if (strcmp(slice, listp->slice) == 0) {
133 listp = listp->next;
241 struct vxvm_list *listp = vxvm_listp; local
244 while (listp != NULL) {
245 nextp = listp->next;
246 free((void *)listp
[all...]
H A Dinuse_mnt.c62 static void free_mnttab(struct mntpnt_list *listp);
64 struct mntpnt_list *listp);
75 struct mntpnt_list *listp; local
103 listp = mntpoint_listp;
104 while (listp != NULL) {
105 if (libdiskmgt_str_eq(slice, listp->special)) {
107 libdiskmgt_add_str(attrs, DM_USED_NAME, listp->mountp, errp);
111 listp = listp->next;
127 struct mntpnt_list *listp; local
162 free_mnttab(struct mntpnt_list *listp) argument
179 in_list(struct mntpnt_list *elementp, struct mntpnt_list *listp) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/motherboard/
H A Dmotherboard.c125 mde_cookie_t *listp; local
171 if ((listp = (mde_cookie_t *)mb_topo_alloc(
173 topo_mod_dprintf(mod, "alloc listp error\n");
182 md_find_name(mdp, "fwd"), listp);
185 mb_topo_free(listp, sizeof (mde_cookie_t) * num_nodes);
196 if (md_get_prop_str(mdp, listp[i], "type", &pstr) == 0) {
199 if (md_get_prop_str(mdp, listp[i],
202 if (md_get_prop_str(mdp, listp[i],
205 if (md_get_prop_str(mdp, listp[i],
209 if (md_get_prop_str(mdp, listp[
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu_mdesc.c88 mde_cookie_t *listp; local
94 listp = topo_mod_zalloc(mod, sizeof (mde_cookie_t) * num_nodes);
100 listp);
109 if (md_get_prop_val(mdp, listp[idx], MD_STR_ID, &x) < 0)
113 if (md_get_prop_val(mdp, listp[idx], MD_STR_PID, &x) < 0)
119 if (md_get_prop_val(mdp, listp[idx], MD_STR_CPU_SERIAL,
152 topo_mod_free(mod, listp, sizeof (mde_cookie_t) * num_nodes);
/illumos-gate/usr/src/lib/libdladm/common/
H A Dflowattr.c276 dladm_parse_flow_attrs(char *str, dladm_arg_list_t **listp, boolean_t novalues) argument
279 if (dladm_parse_args(str, listp, novalues)
283 if (*listp != NULL && flow_attrlist_check(*listp)
285 dladm_free_attrs(*listp);
H A Dflowprop.c462 dladm_parse_flow_props(char *str, dladm_arg_list_t **listp, boolean_t novalues) argument
466 status = dladm_parse_args(str, listp, novalues);
470 if (*listp != NULL && (status = flow_proplist_check(*listp)
472 dladm_free_props(*listp);
/illumos-gate/usr/src/cmd/dis/
H A Ddis_list.c88 uu_list_t *listp; local
97 if ((listp = uu_list_create(unresolved_pool, NULL, 0)) == NULL)
100 return (listp);
184 uu_list_t *listp; local
193 if ((listp = uu_list_create(resolved_pool, NULL, UU_DEFAULT)) == NULL)
198 cb.cb_resolved = listp;
217 return (listp);
262 uu_list_t *listp; local
267 if ((listp = uu_list_create(resolved_pool, NULL, UU_DEFAULT)) == NULL)
272 cb.cb_resolved = listp;
[all...]
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_info.c440 node_list_add(hp_node_list_t *listp, hp_node_t node) argument
442 if (listp->prev != NULL)
443 listp->prev->hp_sibling = node;
445 listp->head = node;
447 listp->prev = node;
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dsetlist.c93 addlist(struct cl_attr ***listp, char *item) argument
98 if (*listp) {
99 for (i = 0; (*listp)[i]; i++)
100 if (strcmp(item, (*listp)[i]->name) == 0)
111 (*listp) = (struct cl_attr **)ar_get_head(cl_handle);
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmemscrub.c215 memscrub_printmemlist(char *title, struct memlist *listp) argument
221 for (list = listp; list; list = list->next) {
/illumos-gate/usr/src/uts/common/os/
H A Dretire_store.c176 list_t *listp; local
182 listp = nvf_list(nvfh);
183 while (rsp = list_head(listp)) {
184 list_remove(listp, rsp);
250 list_t *listp; local
265 listp = nvf_list(nvfh);
266 for (rsp = list_head(listp); rsp; rsp = list_next(listp, rsp)) {
322 list_t *listp; local
333 listp
372 list_t *listp; local
406 list_t *listp; local
[all...]
/illumos-gate/usr/src/tools/smatch/src/
H A Dstorage.c40 static void sort_hash_list(struct storage_hash_list **listp) argument
42 sort_list((struct ptr_list **)listp, hash_list_cmp);
102 struct storage_hash_list **listp = storage_hash_table + storage_hash(bb,pseudo,inout); local
109 add_ptr_list(listp, hash);
131 static void vrfy_storage(struct storage_hash_list **listp) argument
135 sort_list((struct ptr_list **)listp, storage_hash_cmp);
137 FOR_EACH_PTR(*listp, entry) {
H A Dptrlist.c178 // @listp: a pointer to the list to be packed.
184 void pack_ptr_list(struct ptr_list **listp) argument
186 struct ptr_list *head = *listp;
198 *listp = NULL;
206 *listp = next;
244 // @listp: a pointer to the list
250 void **__add_ptr_list(struct ptr_list **listp, void *ptr) argument
252 struct ptr_list *list = *listp;
267 *listp = newlist;
286 // @listp
293 __add_ptr_list_tag(struct ptr_list **listp, void *ptr, unsigned long tag) argument
437 copy_ptr_list(struct ptr_list **listp, struct ptr_list *src) argument
490 __free_ptr_list(struct ptr_list **listp) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c90 char **listp; local
157 listp = listbuf;
174 *listp = malloc(strlen(vfsbuf.vfs_special) + 1);
175 strcpy(*listp, vfsbuf.vfs_special);
176 listp++;
188 listp = &listbuf[listcnt];
192 *listp = (char *)0;
193 listp = listbuf;
195 listp = &argv[optind];
226 (oneof(mntp.mnt_special, listp, listcn
272 char **listp = olistp; local
[all...]
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_memlist.c47 memlist_dump(struct memlist *listp) argument
49 dprintf("memlist 0x%p content: ", (void *)listp);
50 while (listp) {
52 listp->ml_address, listp->ml_size);
53 listp = listp->ml_next;
87 memlist_insert(struct memlist **listp, uint64_t addr, uint64_t size) argument
94 next = *listp;
138 entry->ml_next = *listp;
155 memlist_remove(struct memlist **listp, uint64_t addr, uint64_t size) argument
224 memlist_find(struct memlist **listp, uint64_t size, int align) argument
260 memlist_find_with_startaddr(struct memlist **listp, uint64_t address, uint64_t size, int align) argument
328 memlist_dup(struct memlist *listp) argument
349 memlist_count(struct memlist *listp) argument
[all...]

Completed in 166 milliseconds

12345