/freebsd/sys/dev/nvdimm/ |
H A D | nvdimm_nfit.c | 95 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 D | nvdimm_var.h | 153 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 D | xo_encoder.c | 53 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 D | db_output.c | 323 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 D | printlist.c | 58 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 D | kex-names.c | 243 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 D | ssh-add.c | 675 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 D | blacklistd.c | 357 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 D | crunchgen.c | 112 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 D | interactive.c | 492 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 D | libzfs_util.c | 1931 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 D | libzfs.abi | 8501 <parameter type-id='e4378506' name='listp'/>
|
/freebsd/contrib/nvi/vi/ |
H A D | vs_split.c | 450 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 D | fabrics.c | 152 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 D | dialog.pl | 510 my ( $listp, $command ) = @_; 526 if ($listp) {
|
/freebsd/sbin/rcorder/ |
H A D | rcorder.c | 239 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 D | mfiutil.h | 165 int mfi_pd_get_list(int fd, struct mfi_pd_list **listp, uint8_t *statusp);
|
H A D | mfi_drive.c | 251 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 D | bus.h | 664 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 D | fil.c | 3629 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 D | subr_bus.c | 1075 devclass_get_drivers(devclass_t dc, driver_t ***listp, int *countp) in devclass_get_drivers() argument 1093 *listp = list; in devclass_get_drivers()
|