Home
last modified time | relevance | path

Searched refs:newfile (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-err.c51 const char *newfile; in spl_panic() local
55 newfile = strrchr(file, '/'); in spl_panic()
56 if (newfile != NULL) in spl_panic()
57 newfile = newfile + 1; in spl_panic()
59 newfile = file; in spl_panic()
66 printk(KERN_EMERG "PANIC at %s:%d:%s()\n", newfile, line, func); in spl_panic()
/freebsd/share/i18n/esdb/
H A DMakefile13 newfile=$$(for i in ${SUBDIR}; do \
16 [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
17 printf '%s\n' "$$newfile" >${.TARGET}
22 newfile=$$(for i in ${SUBDIR}; do \
25 [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
26 printf '%s\n' "$$newfile" >${.TARGET}
/freebsd/share/i18n/csmapper/
H A DMakefile10 newfile=$$(for i in ${SUBDIR}; do \
13 [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
14 printf '%s\n' "$$newfile" >${.TARGET}
22 newfile=$$(for i in ${SUBDIR}; do \
25 [ "$$newfile" = "$$(cat ${.TARGET} 2>/dev/null)" ] || \
26 printf '%s\n' "$$newfile" >${.TARGET}
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_debug.c157 const char *newfile; in __dprintf() local
171 newfile = strrchr(file, '/'); in __dprintf()
172 if (newfile != NULL) { in __dprintf()
173 newfile = newfile + 1; /* Get rid of leading / */ in __dprintf()
175 newfile = file; in __dprintf()
179 curthread, prefix, newfile, line, func); in __dprintf()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_debug.c192 const char *newfile; in __dprintf() local
205 newfile = strrchr(file, '/'); in __dprintf()
206 if (newfile != NULL) { in __dprintf()
207 newfile = newfile + 1; /* Get rid of leading / */ in __dprintf()
209 newfile = file; in __dprintf()
212 i = snprintf(buf, size, "%s:%d:%s(): ", newfile, line, func); in __dprintf()
/freebsd/usr.bin/split/
H A Dsplit.c67 static void newfile(void);
231 newfile(); in split1()
243 newfile(); in split1()
251 newfile(); in split1()
297 newfile(); in split2()
299 newfile(); in split2()
305 newfile(); in split2()
349 newfile(void) in newfile() function
/freebsd/usr.sbin/unbound/setup/
H A Dlocal-unbound-setup.sh305 local newfile="$2"
308 mv "${newfile}" "${D}${file}"
309 elif ! cmp -s "${D}${file}" "${newfile}" ; then
311 mv "${newfile}" "${D}${file}"
314 rm "${newfile}"
/freebsd/usr.bin/bsdiff/bspatch/
H A Dbspatch.c52 static char *newfile; variable
59 if (dirfd != -1 && newfile != NULL) in exit_cleanup()
60 if (unlinkat(dirfd, newfile, 0)) in exit_cleanup()
143 if ((newfile = basename(argv[2])) == NULL) in main()
146 if ((newfd = openat(dirfd, newfile, in main()
296 newfile = NULL; in main()
/freebsd/sys/dev/aic7xxx/aicasm/
H A Daicasm_scan.l455 FILE *newfile;
458 newfile = NULL;
461 newfile = fopen(file_name, "r");
463 if (newfile == NULL && type != SOURCE_FILE) {
477 if ((newfile = fopen(fullname, "r")) != NULL)
482 if (newfile == NULL) {
500 yy_switch_to_buffer(yy_create_buffer(newfile, YY_BUF_SIZE));
/freebsd/contrib/openbsm/bin/auditd/
H A Dauditd.c200 char *newfile, *name; in swap_audit_file() local
229 err = auditd_swap_trail(TS, &newfile, audit_review_gid, in swap_audit_file()
254 if (auditd_new_curlink(newfile) != 0) in swap_audit_file()
256 newfile, auditd_strerror(err)); in swap_audit_file()
258 lastfile = newfile; in swap_audit_file()
259 auditd_log_notice("New audit file is %s", newfile); in swap_audit_file()
/freebsd/contrib/openbsm/bin/auditdistd/
H A Dsender.c384 bool newfile = false; in read_thread_wait() local
397 newfile = true; in read_thread_wait()
401 newfile = true; in read_thread_wait()
414 if (newfile) { in read_thread_wait()
420 return (newfile); in read_thread_wait()
428 bool newfile; in read_thread() local
433 newfile = read_thread_wait(); in read_thread()
435 if (newfile) { in read_thread()
438 newfile = false; in read_thread()
/freebsd/usr.bin/csplit/
H A Dcsplit.c67 static FILE *newfile(void);
196 ofp = newfile(); in main()
232 newfile(void) in newfile() function
384 ofp = newfile(); in do_rexp()
453 ofp = newfile(); in do_lineno()
/freebsd/contrib/elftoolchain/libelf/
H A Delf_update.c1040 unsigned char *newfile; in _libelf_write_elf() local
1046 if ((newfile = malloc((size_t) newsize)) == NULL) { in _libelf_write_elf()
1061 if ((nrc = _libelf_write_ehdr(e, newfile, ex)) < 0) in _libelf_write_elf()
1066 if ((nrc = _libelf_write_phdr(e, newfile, ex)) < 0) in _libelf_write_elf()
1071 if ((nrc = _libelf_write_scn(e, newfile, ex)) < 0) in _libelf_write_elf()
1076 if ((nrc = _libelf_write_shdr(e, newfile, ex)) < 0) in _libelf_write_elf()
1134 e->e_rawfile = newfile; in _libelf_write_elf()
1135 newfile = NULL; in _libelf_write_elf()
1184 if (newfile) in _libelf_write_elf()
1185 free(newfile); in _libelf_write_elf()
[all …]
/freebsd/tools/regression/usr.bin/env/
H A Dregress-sb.rb383 newfile = $2
388 elsif File.exists?(newfile)
390 newfile
393 $testdata.add_symlink(srcfile, newfile)
/freebsd/contrib/openbsm/libauditd/
H A Dauditd_lib.c936 auditd_swap_trail(char *TS, char **newfile, gid_t gid, in auditd_swap_trail() argument
963 *newfile = fn; in auditd_swap_trail()
1164 char *newfile = NULL; in audit_quick_start() local
1192 err = auditd_swap_trail(TS, &newfile, getgid(), NULL); in audit_quick_start()
1201 if (auditd_new_curlink(newfile) != 0) { in audit_quick_start()
1225 if (newfile != NULL) in audit_quick_start()
1226 free(newfile); in audit_quick_start()
/freebsd/contrib/libarchive/test_utils/
H A Dtest_common.h245 #define assertMakeHardlink(newfile, oldfile) \ argument
246 assertion_make_hardlink(__FILE__, __LINE__, newfile, oldfile)
247 #define assertMakeSymlink(newfile, linkto, targetIsDir) \ argument
248 assertion_make_symlink(__FILE__, __LINE__, newfile, linkto, targetIsDir)
/freebsd/usr.sbin/config/
H A Dconfig.y95 static void newfile(char *name);
138 FILES ID SEMICOLON { newfile($2); };
327 newfile(char *name) in newfile() function
/freebsd/contrib/openbsm/bsm/
H A Dauditd_lib.h100 int auditd_swap_trail(char *TS, char **newfile, gid_t gid,
/freebsd/usr.bin/fortune/datfiles/
H A Dfreebsd-tips.sp.ok48 newfile
/freebsd/contrib/lua/src/
H A Dliolib.c253 static LStream *newfile (lua_State *L) { in newfile() function
262 LStream *p = newfile(L); in opencheck()
272 LStream *p = newfile(L); in io_open()
302 LStream *p = newfile(L); in io_tmpfile()
/freebsd/contrib/llvm-project/clang/include/clang/ARCMigrate/
H A DFileRemapper.h70 void remap(FileEntryRef file, FileEntryRef newfile);
/freebsd/usr.sbin/lpr/common_source/
H A Dprintcap.c74 setprintcap(char *newfile) in setprintcap() argument
76 printcapdb[0] = newfile; in setprintcap()
/freebsd/crypto/heimdal/lib/krb5/
H A Dfcache.c800 krb5_ccache copy, newfile; in fcc_remove_cred() local
837 ret = krb5_cc_resolve(context, newname, &newfile); in fcc_remove_cred()
845 ret = krb5_cc_copy_cache(context, copy, newfile); in fcc_remove_cred()
849 krb5_cc_destroy(context, newfile); in fcc_remove_cred()
857 krb5_cc_close(context, newfile); in fcc_remove_cred()
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dkernel.c590 const char *newfile = zfs_basename(file); in __dprintf() local
597 !dprintf_find_string(newfile) && in __dprintf()
613 (void) printf("%s, line %d: ", newfile, line); in __dprintf()
627 i = snprintf(buf, size, "%s:%d:%s(): ", newfile, line, func); in __dprintf()
/freebsd/tools/test/stress2/testcases/openat/
H A Ddoat.c81 char *newfile = "newfile"; variable
491 tests[9].tests[4].params[1].cp = newfile; in setup()
541 tests[11].tests[4].params[1].cp = newfile; in setup()
543 tests[11].tests[4].params[3].cp = newfile; in setup()
592 tests[13].tests[6].params[1].cp = newfile; in setup()

12