Home
last modified time | relevance | path

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

/freebsd/sys/dev/nvdimm/
H A Dnvdimm_nfit.c95 acpi_nfit_get_dimm_ids(ACPI_TABLE_NFIT *nfitbl, nfit_handle_t **listp, in acpi_nfit_get_dimm_ids() argument
104 *listp = NULL; in acpi_nfit_get_dimm_ids()
119 *listp = mallocarray(maxids, sizeof(nfit_handle_t), M_NVDIMM, M_WAITOK); in acpi_nfit_get_dimm_ids()
123 (*listp)[k++] = regions[i][j]->DeviceHandle; in acpi_nfit_get_dimm_ids()
125 qsort((*listp), maxids, sizeof(uint32_t), uint32_t_compare); in acpi_nfit_get_dimm_ids()
128 if ((*listp)[i] != (*listp)[j]) in acpi_nfit_get_dimm_ids()
129 (*listp)[++i] = (*listp)[j]; in acpi_nfit_get_dimm_ids()
152 ACPI_NFIT_SYSTEM_ADDRESS ***listp, int *countp) in acpi_nfit_get_spa_ranges() argument
156 (void ***)listp, countp); in acpi_nfit_get_spa_ranges()
161 uint16_t spa_range_index, ACPI_NFIT_MEMORY_MAP ***listp, int *countp) in acpi_nfit_get_region_mappings_by_spa_range() 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/contrib/libxo/libxo/
H A Dxo_encoder.c53 xo_string_list_init (xo_string_list_t *listp) in xo_string_list_init() argument
55 if (listp->tqh_last == NULL) in xo_string_list_init()
56 TAILQ_INIT(listp); in xo_string_list_init()
60 xo_string_add (xo_string_list_t *listp, const char *str) in xo_string_add() argument
62 if (listp == NULL || str == NULL) in xo_string_add()
65 xo_string_list_init(listp); in xo_string_add()
73 TAILQ_INSERT_TAIL(listp, xsp, xs_link); in xo_string_add()
84 xo_string_list_clean (xo_string_list_t *listp) in xo_string_list_clean() argument
88 xo_string_list_init(listp); in xo_string_list_clean()
91 xsp = TAILQ_FIRST(listp); in xo_string_list_clean()
[all …]
/freebsd/sys/ddb/
H A Ddb_output.c323 va_list listp; in db_printf() local
336 va_start(listp, fmt); in db_printf()
337 retval = kvprintf (fmt, db_putchar, &dca, db_radix, listp); in db_printf()
338 va_end(listp); in db_printf()
357 va_list listp; in db_iprintf() local
374 va_start(listp, fmt); in db_iprintf()
375 kvprintf (fmt, db_putchar, &dca, db_radix, listp); in db_iprintf()
376 va_end(listp); in db_iprintf()
/freebsd/usr.bin/gprof/
H A Dprintlist.c58 addlist(struct stringlist *listp, char *funcname) in addlist() argument
65 slp -> next = listp -> next; in addlist()
67 listp -> next = slp; in addlist()
71 onlist(struct stringlist *listp, const char *funcname) in onlist() argument
75 for ( slp = listp -> next ; slp ; slp = slp -> next ) { in onlist()
/freebsd/crypto/openssh/
H A Dkex-names.c243 kex_assemble_names(char **listp, const char *def, const char *all) in kex_assemble_names() argument
249 if (listp == NULL || def == NULL || all == NULL) in kex_assemble_names()
252 if (*listp == NULL || **listp == '\0') { in kex_assemble_names()
253 if ((*listp = strdup(def)) == NULL) in kex_assemble_names()
258 list = *listp; in kex_assemble_names()
259 *listp = NULL; in kex_assemble_names()
270 if ((*listp = match_filter_denylist(def, list + 1)) == NULL) { in kex_assemble_names()
326 *listp = ret; in kex_assemble_names()
H A Dssh-add.c675 stringlist_append(char ***listp, const char *s) in stringlist_append() argument
679 if (*listp == NULL) in stringlist_append()
680 *listp = xcalloc(2, sizeof(**listp)); in stringlist_append()
682 for (i = 0; (*listp)[i] != NULL; i++) in stringlist_append()
684 *listp = xrecallocarray(*listp, i + 1, i + 2, sizeof(**listp)); in stringlist_append()
686 (*listp)[i] = xstrdup(s); in stringlist_append()
/freebsd/contrib/blocklist/bin/
H A Dblacklistd.c357 uniqueadd(struct conf ***listp, size_t *nlist, size_t *mlist, struct conf *c) in uniqueadd() argument
359 struct conf **list = *listp; in uniqueadd()
369 void *p = realloc(*listp, *mlist * sizeof(*list)); in uniqueadd()
372 list = *listp = p; in uniqueadd()
/freebsd/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) in add_string()
1190 for (p1 = NULL, p2 = *listp; p2 != NULL; p1 = p2, p2 = p2->next) in add_string()
1203 *listp = p2; in subtract_strlst()
1223 in_list(strlst_t **listp, char *str) in in_list()
1226 for (p1 = *listp; p1 != NULL; p1 = p1->next)
1178 add_string(strlst_t ** listp,char * str) add_string() argument
1217 in_list(strlst_t ** listp,char * str) in_list() argument
/freebsd/sbin/restore/
H A Dinteractive.c492 struct afile *fp, *list, *listp; in printlist() local
527 listp = list; in printlist()
546 mkentry(locname, dp, listp++); in printlist()
560 for (fp = listp - 1; fp >= list; fp--) in printlist()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_util.c1931 addlist(libzfs_handle_t *hdl, const char *propname, zprop_list_t **listp, in addlist() argument
1966 *listp = entry; in addlist()
1978 zprop_get_list(libzfs_handle_t *hdl, char *props, zprop_list_t **listp, in zprop_get_list() argument
1981 *listp = NULL; in zprop_get_list()
2008 if (addlist(hdl, spaceprops[i], listp, type)) in zprop_get_list()
2010 listp = &(*listp)->pl_next; in zprop_get_list()
2013 if (addlist(hdl, p, listp, type)) in zprop_get_list()
2015 listp = &(*listp)->pl_next; in zprop_get_list()
H A Dlibzfs.abi8501 <parameter type-id='e4378506' name='listp'/>
/freebsd/contrib/nvi/vi/
H A Dvs_split.c450 vs_join(SCR *sp, SCR **listp, jdir_t *jdirp) in vs_join() argument
460 for (lp = listp, tlen = sp->rows, in vs_join()
495 for (lp = listp, tlen = sp->rows, in vs_join()
530 for (first = 0, lp = listp, tlen = sp->cols, in vs_join()
566 for (first = 0, lp = listp, tlen = sp->cols, in vs_join()
/freebsd/sbin/nvmecontrol/
H A Dfabrics.c152 struct addrinfo **listp) in tcp_qpair_params() argument
177 if (listp != NULL) { in tcp_qpair_params()
179 *listp = list; in tcp_qpair_params()
/freebsd/contrib/dialog/
H A Ddialog.pl510 my ( $listp, $command ) = @_;
526 if ($listp) {
/freebsd/sbin/rcorder/
H A Drcorder.c239 strnode_add(strnodelist **listp, char *s, filenode *fnode) in strnode_add() argument
246 ent->next = *listp; in strnode_add()
247 *listp = ent; in strnode_add()
/freebsd/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) in mfi_pd_get_list() argument
277 *listp = list; in mfi_pd_get_list()
/freebsd/sys/sys/
H A Dbus.h664 int device_get_children(device_t dev, device_t **listp, int *countp);
720 int devclass_get_devices(devclass_t dc, device_t **listp, int *countp);
721 int devclass_get_drivers(devclass_t dc, driver_t ***listp, int *countp);
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dfil.c3629 ipf_flushlist(ipf_main_softc_t *softc, int *nfreedp, frentry_t **listp) in ipf_flushlist() argument
3634 while ((fp = *listp) != NULL) { in ipf_flushlist()
3637 listp = &fp->fr_next; in ipf_flushlist()
3640 *listp = fp->fr_next; in ipf_flushlist()
3804 ipf_fixskip(frentry_t **listp, frentry_t *rp, int addremove) in ipf_fixskip() argument
3810 for (fp = *listp; (fp != NULL) && (fp != rp); fp = fp->fr_next) in ipf_fixskip()
3816 for (rn = 0, fp = *listp; fp && (fp != rp); fp = fp->fr_next, rn++) in ipf_fixskip()
/freebsd/sys/kern/
H A Dsubr_bus.c1075 devclass_get_drivers(devclass_t dc, driver_t ***listp, int *countp) in devclass_get_drivers() argument
1093 *listp = list; in devclass_get_drivers()