Home
last modified time | relevance | path

Searched refs:tofree (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dwhence.c140 int tofree; in whence() local
150 tofree=0; in whence()
237 tofree=1; in whence()
278 if(tofree) in whence()
281 tofree = 0; in whence()
/illumos-gate/usr/src/cmd/bhyve/
H A Dconfig.c54 char *copy, *name, *tofree; in _lookup_config_node() local
60 tofree = copy; in _lookup_config_node()
81 for (copy = tofree; copy < name; copy++) in _lookup_config_node()
86 path, tofree); in _lookup_config_node()
112 free(tofree); in _lookup_config_node()
H A Dpci_virtio_9p.c242 char *sharename = NULL, *tofree, *token, *tokens; in pci_vt9p_legacy_config() local
247 tokens = tofree = strdup(opts); in pci_vt9p_legacy_config()
262 free(tofree); in pci_vt9p_legacy_config()
H A Duart_emul.c846 char *opts, *tofree; in uart_sock_backend() local
858 tofree = nextopt = opts; in uart_sock_backend()
869 free(tofree); in uart_sock_backend()
875 free(tofree); in uart_sock_backend()
884 free(tofree); in uart_sock_backend()
H A Dpci_virtio_console.c691 char *opt, *str, *tofree; in pci_vtcon_legacy_config() local
696 tofree = str = strdup(opts); in pci_vtcon_legacy_config()
705 free(tofree); in pci_vtcon_legacy_config()
H A Dpci_passthru.c700 char *config, *name, *tofree, *value; in passthru_legacy_config() local
705 config = tofree = strdup(opt); in passthru_legacy_config()
714 free(tofree); in passthru_legacy_config()
720 free(tofree); in passthru_legacy_config()
H A Dpci_virtio_viona.c612 char *config, *name, *tofree, *value; in pci_viona_legacy_config() local
617 config = tofree = strdup(opt); in pci_viona_legacy_config()
627 free(tofree); in pci_viona_legacy_config()
H A Dbhyverun.c285 char *cp, *str, *tofree; in topology_parse() local
295 tofree = str = strdup(opt); in topology_parse()
313 free(tofree); in topology_parse()
317 free(tofree); in topology_parse()
H A Dnet_backends.c1310 char *config, *name, *tofree, *value; in netbe_legacy_config() local
1319 config = tofree = strdup(opts); in netbe_legacy_config()
1331 free(tofree); in netbe_legacy_config()
H A Dpci_emul.c236 char *config, *name, *tofree, *value; in pci_parse_legacy_config() local
241 config = tofree = strdup(opt); in pci_parse_legacy_config()
251 free(tofree); in pci_parse_legacy_config()
H A Dpci_ahci.c2346 char *next, *next2, *str, *tofree; in pci_ahci_legacy_config() local
2354 tofree = str = strdup(opts); in pci_ahci_legacy_config()
2390 free(tofree); in pci_ahci_legacy_config()
H A Dpci_xhci.c2705 char *cp, *opt, *str, *tofree; in pci_xhci_legacy_config() local
2713 tofree = str = strdup(opts); in pci_xhci_legacy_config()
2734 free(tofree); in pci_xhci_legacy_config()
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibevchannel.c690 evchan_subscr_t *subp, *prevsubp, *tofree; in sysevent_evc_unsubscribe() local
747 tofree = subp; in sysevent_evc_unsubscribe()
751 if (tofree->evsub_attr) in sysevent_evc_unsubscribe()
752 kill_door_servers(tofree); in sysevent_evc_unsubscribe()
754 (void) door_revoke(tofree->evsub_door_desc); in sysevent_evc_unsubscribe()
755 free(tofree->evsub_sid); in sysevent_evc_unsubscribe()
756 free(tofree); in sysevent_evc_unsubscribe()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dname.c1827 const char *tofree=0; in nv_putval() local
1891 tofree = up->cp; in nv_putval()
1894 tofree = 0; in nv_putval()
1896 tofree = 0; in nv_putval()
1909 if(tofree) in nv_putval()
1943 tofree = up->cp; in nv_putval()
1954 if(!tofree || size) in nv_putval()
1979 if(tofree && tofree!=Empty && tofree!=Null) in nv_putval()
1982 tofree = 0; in nv_putval()
2019 if(tofree && tofree!=Empty && tofree!=Null) in nv_putval()
[all …]
/illumos-gate/usr/src/cmd/flowstat/
H A Dflowstat.c345 flow_chain_t *tofree; in cleanup_removed_flows() local
364 tofree = fcurr; in cleanup_removed_flows()
368 dladm_flow_stat_free(tofree->fc_stat); in cleanup_removed_flows()
369 free(tofree); in cleanup_removed_flows()
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_diff.c746 ctf_diff_guess_t *cdg, *tofree; in ctf_diff_pass1() local
764 tofree = cdg; in ctf_diff_pass1()
766 ctf_free(tofree, sizeof (ctf_diff_guess_t)); in ctf_diff_pass1()
933 ctf_diff_guess_t *tofree = cdg; in ctf_diff_fini() local
935 ctf_free(tofree, sizeof (ctf_diff_guess_t)); in ctf_diff_fini()
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dfmdump.c835 char *dup, *start, *tofree; in do_disables() local
841 tofree = dup = strdup(env); in do_disables()
856 free(tofree); in do_disables()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlstat.c2357 dladm_stat_chain_t *tofree = curr; in dladm_link_stat_free() local
2360 free(tofree->dc_statentry); in dladm_link_stat_free()
2361 free(tofree); in dladm_link_stat_free()
2491 dladm_stat_chain_t *tofree = curr; in dladm_link_stat_query_all_free() local
2504 free(tofree); in dladm_link_stat_query_all_free()
/illumos-gate/usr/src/cmd/dlstat/
H A Ddlstat.c935 link_chain_t *tofree; in cleanup_removed_links() local
953 tofree = lcurr; in cleanup_removed_links()
959 dladm_link_stat_free(tofree->lc_statchain[i]); in cleanup_removed_links()
961 free(tofree); in cleanup_removed_links()