Searched refs:listp (Results 1 - 18 of 18) sorted by relevance

/freebsd-current/usr.bin/gprof/
H A Dprintlist.c58 addlist(struct stringlist *listp, char *funcname) argument
65 slp -> next = listp -> next;
67 listp -> next = slp;
71 onlist(struct stringlist *listp, const char *funcname) argument
75 for ( slp = listp -> next ; slp ; slp = slp -> next ) {
/freebsd-current/sys/dev/nvdimm/
H A Dnvdimm_nfit.c95 acpi_nfit_get_dimm_ids(ACPI_TABLE_NFIT *nfitbl, nfit_handle_t **listp, argument
104 *listp = NULL;
119 *listp = mallocarray(maxids, sizeof(nfit_handle_t), M_NVDIMM, M_WAITOK);
123 (*listp)[k++] = regions[i][j]->DeviceHandle;
125 qsort((*listp), maxids, sizeof(uint32_t), uint32_t_compare);
128 if ((*listp)[i] != (*listp)[j])
129 (*listp)[++i] = (*listp)[j];
152 ACPI_NFIT_SYSTEM_ADDRESS ***listp, in
151 acpi_nfit_get_spa_ranges(ACPI_TABLE_NFIT *nfitbl, ACPI_NFIT_SYSTEM_ADDRESS ***listp, int *countp) argument
160 acpi_nfit_get_region_mappings_by_spa_range(ACPI_TABLE_NFIT *nfitbl, uint16_t spa_range_index, ACPI_NFIT_MEMORY_MAP ***listp, int *countp) argument
180 acpi_nfit_get_flush_addrs(ACPI_TABLE_NFIT *nfitbl, nfit_handle_t dimm, uint64_t ***listp, int *countp) argument
203 acpi_nfit_get_memory_maps_by_dimm(ACPI_TABLE_NFIT *nfitbl, nfit_handle_t dimm, ACPI_NFIT_MEMORY_MAP ***listp, int *countp) argument
[all...]
H A Dnvdimm_var.h153 void acpi_nfit_get_dimm_ids(ACPI_TABLE_NFIT *nfitbl, nfit_handle_t **listp,
158 ACPI_NFIT_SYSTEM_ADDRESS ***listp, int *countp);
160 uint16_t spa_range_index, ACPI_NFIT_MEMORY_MAP ***listp, int *countp);
164 uint64_t ***listp, int *countp);
166 nfit_handle_t dimm, ACPI_NFIT_MEMORY_MAP ***listp, int *countp);
/freebsd-current/contrib/libxo/libxo/
H A Dxo_encoder.c53 xo_string_list_init (xo_string_list_t *listp) argument
55 if (listp->tqh_last == NULL)
56 TAILQ_INIT(listp);
60 xo_string_add (xo_string_list_t *listp, const char *str) argument
62 if (listp == NULL || str == NULL)
65 xo_string_list_init(listp);
73 TAILQ_INSERT_TAIL(listp, xsp, xs_link);
84 xo_string_list_clean (xo_string_list_t *listp) argument
88 xo_string_list_init(listp);
91 xsp = TAILQ_FIRST(listp);
128 xo_encoder_list_init(xo_encoder_list_t *listp) argument
[all...]
/freebsd-current/sys/ddb/
H A Ddb_output.c323 va_list listp; local
336 va_start(listp, fmt);
337 retval = kvprintf (fmt, db_putchar, &dca, db_radix, listp);
338 va_end(listp);
357 va_list listp; local
374 va_start(listp, fmt);
375 kvprintf (fmt, db_putchar, &dca, db_radix, listp);
376 va_end(listp);
/freebsd-current/contrib/blocklist/bin/
H A Dblacklistd.c357 uniqueadd(struct conf ***listp, size_t *nlist, size_t *mlist, struct conf *c) argument
359 struct conf **list = *listp;
369 void *p = realloc(*listp, *mlist * sizeof(*list));
372 list = *listp = p;
/freebsd-current/crypto/openssh/
H A Dssh-add.c675 stringlist_append(char ***listp, const char *s) argument
679 if (*listp == NULL)
680 *listp = xcalloc(2, sizeof(**listp));
682 for (i = 0; (*listp)[i] != NULL; i++)
684 *listp = xrecallocarray(*listp, i + 1, i + 2, sizeof(**listp));
686 (*listp)[i] = xstrdup(s);
H A Dkex.c237 kex_assemble_names(char **listp, const char *def, const char *all) argument
243 if (listp == NULL || def == NULL || all == NULL)
246 if (*listp == NULL || **listp == '\0') {
247 if ((*listp = strdup(def)) == NULL)
252 list = *listp;
253 *listp = NULL;
264 if ((*listp = match_filter_denylist(def, list + 1)) == NULL) {
320 *listp = ret;
/freebsd-current/usr.sbin/crunch/crunchgen/
H A Dcrunchgen.c112 void add_string(strlst_t **listp, char *str);
116 int in_list(strlst_t **listp, char *str);
1184 add_string(strlst_t **listp, char *str) argument
1190 for (p1 = NULL, p2 = *listp; p2 != NULL; p1 = p2, p2 = p2->next)
1203 *listp = p2;
1223 in_list(strlst_t **listp, char *str) argument
1226 for (p1 = *listp; p1 != NULL; p1 = p1->next)
/freebsd-current/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_util.c1788 addlist(libzfs_handle_t *hdl, const char *propname, zprop_list_t **listp, argument
1823 *listp = entry;
1835 zprop_get_list(libzfs_handle_t *hdl, char *props, zprop_list_t **listp, argument
1838 *listp = NULL;
1865 if (addlist(hdl, spaceprops[i], listp, type))
1867 listp = &(*listp)->pl_next;
1870 if (addlist(hdl, p, listp, type))
1872 listp = &(*listp)
[all...]
/freebsd-current/contrib/nvi/vi/
H A Dvs_split.c450 vs_join(SCR *sp, SCR **listp, jdir_t *jdirp) argument
460 for (lp = listp, tlen = sp->rows,
495 for (lp = listp, tlen = sp->rows,
530 for (first = 0, lp = listp, tlen = sp->cols,
566 for (first = 0, lp = listp, tlen = sp->cols,
/freebsd-current/contrib/dialog/
H A Ddialog.pl510 my ( $listp, $command ) = @_;
526 if ($listp) {
/freebsd-current/usr.sbin/mfiutil/
H A Dmfiutil.h165 int mfi_pd_get_list(int fd, struct mfi_pd_list **listp, uint8_t *statusp);
H A Dmfi_drive.c251 mfi_pd_get_list(int fd, struct mfi_pd_list **listp, uint8_t *statusp) argument
277 *listp = list;
/freebsd-current/sbin/rcorder/
H A Drcorder.c239 strnode_add(strnodelist **listp, char *s, filenode *fnode) argument
246 ent->next = *listp;
247 *listp = ent;
/freebsd-current/sys/sys/
H A Dbus.h670 int device_get_children(device_t dev, device_t **listp, int *countp);
726 int devclass_get_devices(devclass_t dc, device_t **listp, int *countp);
727 int devclass_get_drivers(devclass_t dc, driver_t ***listp, int *countp);
/freebsd-current/sys/netpfil/ipfilter/netinet/
H A Dfil.c3616 /* listp(I) - pointer to list to flush pointer */
3629 ipf_flushlist(ipf_main_softc_t *softc, int *nfreedp, frentry_t **listp) argument
3634 while ((fp = *listp) != NULL) {
3637 listp = &fp->fr_next;
3640 *listp = fp->fr_next;
3794 /* Parameters: listp(IO) - pointer to start of list with skip rule */
3804 ipf_fixskip(frentry_t **listp, frentry_t *rp, int addremove) argument
3810 for (fp = *listp; (fp != NULL) && (fp != rp); fp = fp->fr_next)
3816 for (rn = 0, fp = *listp; fp && (fp != rp); fp = fp->fr_next, rn++)
/freebsd-current/sys/kern/
H A Dsubr_bus.c1006 * given devclass is allocated and returned in @p *listp. The number
1011 * @param listp gives location for array pointer return value
1019 devclass_get_drivers(devclass_t dc, driver_t ***listp, int *countp) argument
1037 *listp = list;

Completed in 186 milliseconds