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

12345

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpsiginfo.c54 const struct siginfolist *listp; local
64 } else if (((listp = &_sys_siginfolist[sip->si_signo-1]) != NULL) &&
65 sip->si_code <= listp->nsiginfo) {
66 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.c176 mde_cookie_t *listp = NULL; local
196 listp = kmem_zalloc(listsz, KM_SLEEP);
199 md_find_name(mdp, "fwd"), listp);
205 if (md_get_prop_val(mdp, listp[i], "id", &cpuid_prop))
208 cpunode = listp[i];
216 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/lvm/libmeta/common/
H A Dmeta_set_med.c43 add_lst(char ***listp, char *item) argument
47 if (*listp) {
48 for (i = 0; (*listp)[i]; i++)
51 *listp = (char **)Zalloc(MALSIZ * sizeof (char *));
55 (*listp)[i] = Strdup(item);
58 *listp = (char **)Realloc((void *)*listp,
61 (*listp)[j] = (char *)NULL;
67 del_lst(char ***listp) argument
71 if (*listp) {
[all...]
/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_mnt.c64 static void free_mnttab(struct mntpnt_list *listp);
66 struct mntpnt_list *listp);
77 struct mntpnt_list *listp; local
105 listp = mntpoint_listp;
106 while (listp != NULL) {
107 if (libdiskmgt_str_eq(slice, listp->special)) {
109 libdiskmgt_add_str(attrs, DM_USED_NAME, listp->mountp, errp);
113 listp = listp->next;
129 struct mntpnt_list *listp; local
164 free_mnttab(struct mntpnt_list *listp) argument
181 in_list(struct mntpnt_list *elementp, struct mntpnt_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...]
/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/lib/libbc/libc/stdio/common/
H A Ddoscan.c202 number(int stow, int type, int len, int size, FILE *iop, va_list *listp) argument
258 decimal_to_double((double *) va_arg(*listp, double *), &dm, &dr, &efs);
260 decimal_to_quadruple((quadruple *)va_arg(*listp, double *), &dm, &dr, &efs);
262 decimal_to_single((float *) va_arg(*listp, float *), &dm, &dr, &efs);
399 *va_arg(*listp, long *) = lcval;
401 *va_arg(*listp, short *) = (short)lcval;
403 *va_arg(*listp, int *) = (int)lcval;
414 string(int stow, int type, int len, char *tab, FILE *iop, va_list *listp) argument
420 start = ptr = stow ? va_arg(*listp, char *) : NULL;
/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/fs.d/ufs/quotaon/
H A Dquotaon.c92 char **listp; local
159 listp = listbuf;
176 *listp = malloc(strlen(vfsbuf.vfs_special) + 1);
177 strcpy(*listp, vfsbuf.vfs_special);
178 listp++;
190 listp = &listbuf[listcnt];
194 *listp = (char *)0;
195 listp = listbuf;
197 listp = &argv[optind];
228 (oneof(mntp.mnt_special, listp, listcn
274 char **listp = olistp; local
[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/intel/io/pci/
H A Dpci_memlist.c44 memlist_dump(struct memlist *listp) argument
46 dprintf("memlist 0x%p content", (void *)listp);
47 while (listp) {
49 (int)(listp->ml_address >> 32), (int)listp->ml_address,
50 (int)(listp->ml_size >> 32), (int)listp->ml_size);
51 listp = listp->ml_next;
84 memlist_insert(struct memlist **listp, uint64_ argument
152 memlist_remove(struct memlist **listp, uint64_t addr, uint64_t size) argument
221 memlist_find(struct memlist **listp, uint64_t size, int align) argument
257 memlist_find_with_startaddr(struct memlist **listp, uint64_t address, uint64_t size, int align) argument
325 memlist_dup(struct memlist *listp) argument
346 memlist_count(struct memlist *listp) argument
[all...]
/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...]

Completed in 64 milliseconds

12345