Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/nvdimm/
H A Dnvdimm_nfit.c105 *listp = NULL; in acpi_nfit_get_dimm_ids()
124 (*listp)[k++] = regions[i][j]->DeviceHandle; in acpi_nfit_get_dimm_ids()
129 if ((*listp)[i] != (*listp)[j]) in acpi_nfit_get_dimm_ids()
130 (*listp)[++i] = (*listp)[j]; in acpi_nfit_get_dimm_ids()
153 ACPI_NFIT_SYSTEM_ADDRESS ***listp, int *countp) in acpi_nfit_get_spa_ranges() argument
157 (void ***)listp, countp); in acpi_nfit_get_spa_ranges()
167 spa_range_index, (void ***)listp, countp); in acpi_nfit_get_region_mappings_by_spa_range()
182 uint64_t ***listp, int *countp) in acpi_nfit_get_flush_addrs() argument
192 *listp = NULL; in acpi_nfit_get_flush_addrs()
205 ACPI_NFIT_MEMORY_MAP ***listp, int *countp) in acpi_nfit_get_memory_maps_by_dimm() 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-14.2/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()
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()
88 xo_string_list_init(listp); in xo_string_list_clean()
91 xsp = TAILQ_FIRST(listp); in xo_string_list_clean()
94 TAILQ_REMOVE(listp, xsp, xs_link); in xo_string_list_clean()
130 if (listp->tqh_last == NULL) in xo_encoder_list_init()
[all …]
/freebsd-14.2/usr.bin/gprof/
H A Dprintlist.c64 addlist(struct stringlist *listp, char *funcname) in addlist() argument
71 slp -> next = listp -> next; in addlist()
73 listp -> next = slp; in addlist()
77 onlist(struct stringlist *listp, const char *funcname) in onlist() argument
81 for ( slp = listp -> next ; slp ; slp = slp -> next ) { in onlist()
/freebsd-14.2/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-14.2/crypto/openssh/
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()
H A Dkex.c237 kex_assemble_names(char **listp, const char *def, const char *all) in kex_assemble_names() argument
243 if (listp == NULL || def == NULL || all == NULL) in kex_assemble_names()
246 if (*listp == NULL || **listp == '\0') { in kex_assemble_names()
247 if ((*listp = strdup(def)) == NULL) in kex_assemble_names()
252 list = *listp; in kex_assemble_names()
253 *listp = NULL; in kex_assemble_names()
264 if ((*listp = match_filter_denylist(def, list + 1)) == NULL) { in kex_assemble_names()
320 *listp = ret; in kex_assemble_names()
/freebsd-14.2/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-14.2/usr.sbin/crunch/crunchgen/
H A Dcrunchgen.c113 void add_string(strlst_t **listp, char *str);
117 int in_list(strlst_t **listp, char *str);
1179 add_string(strlst_t **listp, char *str) in add_string() argument
1185 for (p1 = NULL, p2 = *listp; p2 != NULL; p1 = p2, p2 = p2->next) in add_string()
1198 *listp = p2; in add_string()
1218 in_list(strlst_t **listp, char *str) in in_list() argument
1221 for (p1 = *listp; p1 != NULL; p1 = p1->next) in in_list()
/freebsd-14.2/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_util.c1783 addlist(libzfs_handle_t *hdl, const char *propname, zprop_list_t **listp, in addlist() argument
1818 *listp = entry; in addlist()
1830 zprop_get_list(libzfs_handle_t *hdl, char *props, zprop_list_t **listp, in zprop_get_list() argument
1833 *listp = NULL; in zprop_get_list()
1860 if (addlist(hdl, spaceprops[i], listp, type)) in zprop_get_list()
1862 listp = &(*listp)->pl_next; in zprop_get_list()
1865 if (addlist(hdl, p, listp, type)) in zprop_get_list()
1867 listp = &(*listp)->pl_next; in zprop_get_list()
H A Dlibzfs.abi7928 <parameter type-id='e4378506' name='listp'/>
/freebsd-14.2/sbin/restore/
H A Dinteractive.c499 struct afile *fp, *list, *listp; in printlist() local
534 listp = list; in printlist()
553 mkentry(locname, dp, listp++); in printlist()
567 for (fp = listp - 1; fp >= list; fp--) in printlist()
/freebsd-14.2/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-14.2/contrib/dialog/
H A Ddialog.pl510 my ( $listp, $command ) = @_;
526 if ($listp) {
/freebsd-14.2/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-14.2/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-14.2/sys/sys/
H A Dbus.h636 int device_get_children(device_t dev, device_t **listp, int *countp);
692 int devclass_get_devices(devclass_t dc, device_t **listp, int *countp);
693 int devclass_get_drivers(devclass_t dc, driver_t ***listp, int *countp);
/freebsd-14.2/sys/netpfil/ipfilter/netinet/
H A Dfil.c3633 ipf_flushlist(ipf_main_softc_t *softc, int *nfreedp, frentry_t **listp) in ipf_flushlist() argument
3638 while ((fp = *listp) != NULL) { in ipf_flushlist()
3641 listp = &fp->fr_next; in ipf_flushlist()
3644 *listp = fp->fr_next; in ipf_flushlist()
3808 ipf_fixskip(frentry_t **listp, frentry_t *rp, int addremove) in ipf_fixskip() argument
3814 for (fp = *listp; (fp != NULL) && (fp != rp); fp = fp->fr_next) in ipf_fixskip()
3820 for (rn = 0, fp = *listp; fp && (fp != rp); fp = fp->fr_next, rn++) in ipf_fixskip()
/freebsd-14.2/sys/kern/
H A Dsubr_bus.c1062 devclass_get_drivers(devclass_t dc, driver_t ***listp, int *countp) in devclass_get_drivers() argument
1080 *listp = list; in devclass_get_drivers()