Searched refs:tofree (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-current/crypto/heimdal/lib/roken/
H A Dfreeaddrinfo.c45 struct addrinfo *tofree; local
50 tofree = ai;
52 free (tofree);
/freebsd-current/usr.bin/rctl/
H A Drctl.c114 char *copy, *expanded, *tofree; local
117 tofree = copy = strdup(rule);
134 free(tofree);
151 free(tofree);
165 free(tofree);
169 free(tofree);
179 char *copy, *expanded, *resolved, *tofree; local
182 tofree = copy = strdup(rule);
216 free(tofree);
224 free(tofree);
309 char *copy, *humanized, buf[6], *tofree; local
462 char *copy, *humanized, buf[6], *tofree; local
[all...]
/freebsd-current/sbin/nvmecontrol/
H A Dfabrics.h13 * a separate buffer for the address was allocated, 'tofree' is set to
14 * the allocated buffer, otherwise 'tofree' is set to NULL.
17 const char **port, char **tofree);
H A Dconnect.c179 char *tofree; local
194 nvmf_parse_address(opt.address, &address, &port, &tofree);
205 free(tofree);
213 char *tofree; local
226 nvmf_parse_address(opt.address, &address, &port, &tofree);
229 free(tofree);
H A Dreconnect.c108 char *tofree; local
119 nvmf_parse_address(opt.address, &address, &port, &tofree);
130 free(tofree);
H A Dfabrics.c53 const char **port, char **tofree)
73 *tofree = strndup(in_address + 1, cp - (in_address + 1));
74 *address = *tofree;
98 *tofree = NULL;
106 *tofree = NULL;
114 *tofree = strndup(in_address, cp - in_address);
115 *address = *tofree;
52 nvmf_parse_address(const char *in_address, const char **address, const char **port, char **tofree) argument
H A Ddiscover.c248 char *tofree; local
258 nvmf_parse_address(opt.address, &address, &port, &tofree);
260 free(tofree);
/freebsd-current/sys/contrib/openzfs/lib/libzfs/os/freebsd/
H A Dlibzfs_zmount.c77 char *optstr, *p, *tofree; local
85 tofree = optstr = strdup(opts);
102 free(tofree);
/freebsd-current/usr.sbin/bhyve/
H A Dconfig.c51 char *copy, *name, *tofree; local
57 tofree = copy;
78 for (copy = tofree; copy < name; copy++)
83 path, tofree);
101 free(tofree);
H A Dpci_virtio_9p.c223 char *sharename = NULL, *tofree, *token, *tokens; local
228 tokens = tofree = strdup(opts);
243 free(tofree);
H A Dnet_backend_slirp.c497 char *rules, *tofree; local
500 tofree = rules = strdup(hostfwd);
506 free(tofree);
510 free(tofree);
H A Dbhyverun.c132 char *cp, *str, *tofree; local
142 tofree = str = strdup(opt);
160 free(tofree);
164 free(tofree);
H A Dpci_virtio_console.c665 char *opt, *str, *tofree; local
670 tofree = str = strdup(opts);
679 free(tofree);
H A Dpci_passthru.c706 char *tofree; local
716 tofree = strndup(opts, cp - opts);
717 set_config_value_node(nvl, "pptdev", tofree);
718 free(tofree);
/freebsd-current/sys/contrib/openzfs/etc/systemd/system-generators/
H A Dzfs-mount-generator.c201 void **tofree = tofree_all; local
230 const char *pool = *(tofree++) = strndup(dataset, pool_len);
273 char *keyloadunit = *(tofree++) =
391 after = *(tofree++) = toktmp;
576 *(tofree++) = (void *)mountfile;
613 *(--tofree) = NULL;
683 *(tofree++) = linktgt;
735 if (tofree >= tofree_all + nitems(tofree_all)) {
742 getpid(), dataset, tofree - tofree_all, nitems(tofree_all));
743 ret = tofree
[all...]
/freebsd-current/usr.sbin/autofs/
H A Dautomountd.c92 char *tofree, *pair, *newoptions; local
96 tofree = *optionsp;
117 free(tofree);
H A Dcommon.c130 char *component, *copy, *tofree, *partial, *tmp; local
138 copy = tofree = checked_strdup(path + 1);
156 free(tofree);
/freebsd-current/usr.sbin/watchdogd/
H A Dwatchdogd.c549 char *dupacts, *tofree; local
553 tofree = dupacts = strdup(acts);
554 if (!tofree)
566 free(tofree);
/freebsd-current/usr.sbin/ctld/
H A Dlogin.c192 char *tofree, *str, *token; local
194 tofree = str = checked_strdup(list);
198 free(tofree);
202 free(tofree);
210 char *tofree, *str, *token; local
212 tofree = str = checked_strdup(list);
216 free(tofree);
220 free(tofree);
224 free(tofree);
/freebsd-current/usr.sbin/iscsid/
H A Dlogin.c310 char *tofree, *str, *token; local
312 tofree = str = checked_strdup(list);
316 free(tofree);
320 free(tofree);
324 free(tofree);
H A Discsid.c152 char *arg, *addr, *ch, *tofree; local
156 tofree = arg = checked_strdup(address);
218 free(tofree);
/freebsd-current/sys/powerpc/aim/
H A Dmmu_oea64.c365 struct pvo_dlist *tofree);
2693 struct pvo_dlist tofree; local
2695 SLIST_INIT(&tofree);
2708 SLIST_INSERT_HEAD(&tofree, pvo, pvo_dlink);
2712 while (!SLIST_EMPTY(&tofree)) {
2713 pvo = SLIST_FIRST(&tofree);
2714 SLIST_REMOVE_HEAD(&tofree, pvo_dlink);
2722 struct pvo_dlist *tofree)
2733 tpvo = moea64_sp_remove(pvo, tofree);
2749 SLIST_INSERT_HEAD(tofree, pv
2721 moea64_remove_locked(pmap_t pm, vm_offset_t sva, vm_offset_t eva, struct pvo_dlist *tofree) argument
2760 struct pvo_dlist tofree; local
3598 moea64_pvo_cleanup(struct pvo_dlist *tofree) argument
3684 struct pvo_dlist tofree; local
4082 moea64_sp_remove(struct pvo_entry *sp, struct pvo_dlist *tofree) argument
[all...]
/freebsd-current/sbin/nvmecontrol/modules/wdc/
H A Dwdc.c268 uint8_t *hdr, *tofree; local
277 tofree = hdr = (uint8_t*)malloc(len);
315 free(tofree);
/freebsd-current/sbin/geom/core/
H A Dgeom.c534 char *curpath, path[MAXPATHLEN], *tofree, *totalpath; local
540 tofree = totalpath = strdup(library_path());
566 free(tofree);
/freebsd-current/contrib/ntp/sntp/libevent/
H A Devutil.c1818 struct cached_sock_errs_entry **errs, *tofree; local
1822 tofree = *errs;
1826 LocalFree(tofree->msg);
1827 mm_free(tofree);

Completed in 245 milliseconds

12