Lines Matching refs:fname
187 char *fname; in sandbox_cmdline_cb_default_fdt() local
191 fname = malloc(len); in sandbox_cmdline_cb_default_fdt()
192 if (!fname) in sandbox_cmdline_cb_default_fdt()
194 snprintf(fname, len, fmt, state->argv[0]); in sandbox_cmdline_cb_default_fdt()
195 state->fdt_fname = fname; in sandbox_cmdline_cb_default_fdt()
207 char *fname; in sandbox_cmdline_cb_test_fdt() local
211 fname = malloc(len); in sandbox_cmdline_cb_test_fdt()
212 if (!fname) in sandbox_cmdline_cb_test_fdt()
214 strcpy(fname, state->argv[0]); in sandbox_cmdline_cb_test_fdt()
215 p = strrchr(fname, '/'); in sandbox_cmdline_cb_test_fdt()
217 p = fname + strlen(fname); in sandbox_cmdline_cb_test_fdt()
218 len -= p - fname; in sandbox_cmdline_cb_test_fdt()
220 state->fdt_fname = fname; in sandbox_cmdline_cb_test_fdt()