| /f-stack/freebsd/contrib/openzfs/lib/libuutil/ |
| H A D | uu_open.c | 50 char *fname = uu_zalloc(PATH_MAX); in uu_open_tmp() local 52 if (fname == NULL) in uu_open_tmp() 56 (void) snprintf(fname, PATH_MAX, "%s/uu%lld", dir, gethrtime()); in uu_open_tmp() 58 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600); in uu_open_tmp() 65 (void) unlink(fname); in uu_open_tmp() 67 uu_free(fname); in uu_open_tmp()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mktree/ |
| H A D | mktree.c | 100 char fname[MAXPATHLEN] = {0}; in mktree() local 122 (void) memset(fname, '\0', sizeof (fname)); in mktree() 123 (void) strcpy(fname, in mktree() 125 crtfile(fname); in mktree() 131 (void) memset(fname, '\0', sizeof (fname)); in mktree() 132 (void) strcpy(fname, getfdname(pdir, TYPE_F, level, d, f)); in mktree() 133 crtfile(fname); in mktree()
|
| /f-stack/freebsd/contrib/zstd/examples/ |
| H A D | simple_decompression.c | 16 static void decompress(const char* fname) in decompress() argument 19 void* const cBuff = mallocAndLoadFile_orDie(fname, &cSize); in decompress() 27 CHECK(rSize != ZSTD_CONTENTSIZE_ERROR, "%s: not compressed by zstd!", fname); in decompress() 28 CHECK(rSize != ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname); in decompress() 43 printf("%25s : %6u -> %7u \n", fname, (unsigned)cSize, (unsigned)rSize); in decompress()
|
| H A D | dictionary_decompression.c | 30 static void decompress(const char* fname, const ZSTD_DDict* ddict) in decompress() argument 33 void* const cBuff = mallocAndLoadFile_orDie(fname, &cSize); in decompress() 41 CHECK(rSize != ZSTD_CONTENTSIZE_ERROR, "%s: not compressed by zstd!", fname); in decompress() 42 CHECK(rSize != ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname); in decompress() 70 printf("%25s : %6u -> %7u \n", fname, (unsigned)cSize, (unsigned)rSize); in decompress()
|
| H A D | streaming_compression_thread_pool.c | 21 const char *fname; member 32 fprintf (stderr, "Starting compression of %s with level %d\n", args->fname, args->cLevel); in compressFile_orDie() 34 FILE* const fin = fopen_orDie(args->fname, "rb"); in compressFile_orDie() 160 args[i].fname = argv[i]; in main() 161 args[i].outName = createOutFilename_orDie(args[i].fname); in main()
|
| H A D | simple_compression.c | 17 static void compress_orDie(const char* fname, const char* oname) in compress_orDie() argument 20 void* const fBuff = mallocAndLoadFile_orDie(fname, &fSize); in compress_orDie() 34 printf("%25s : %6u -> %7u - %s \n", fname, (unsigned)fSize, (unsigned)cSize, oname); in compress_orDie()
|
| H A D | dictionary_compression.c | 30 static void compress(const char* fname, const char* oname, const ZSTD_CDict* cdict) in compress() argument 33 void* const fBuff = mallocAndLoadFile_orDie(fname, &fSize); in compress() 51 printf("%25s : %6u -> %7u - %s \n", fname, (unsigned)fSize, (unsigned)cSize, oname); in compress()
|
| H A D | multiple_simple_compression.c | 66 static void compressFile_orDie(resources ress, const char* fname, const char* oname) in compressFile_orDie() argument 68 size_t fSize = loadFile_orDie(fname, ress.fBuffer, ress.fBufferSize); in compressFile_orDie() 80 printf("%25s : %6u -> %7u - %s \n", fname, (unsigned)fSize, (unsigned)cSize, oname); in compressFile_orDie()
|
| H A D | streaming_decompression.c | 17 static void decompressFile_orDie(const char* fname) in decompressFile_orDie() argument 19 FILE* const fin = fopen_orDie(fname, "rb"); in decompressFile_orDie()
|
| /f-stack/freebsd/kern/ |
| H A D | imgact_shell.c | 105 const char *ihp, *interpb, *interpe, *maxp, *optb, *opte, *fname; in exec_shell_imgact() local 174 if (imgp->args->fname != NULL) { in exec_shell_imgact() 175 fname = imgp->args->fname; in exec_shell_imgact() 181 fname = sbuf_data(sname); in exec_shell_imgact() 195 offset += strlen(fname) + 1; /* fname of script */ in exec_shell_imgact() 237 error = copystr(fname, imgp->args->begin_argv + offset, in exec_shell_imgact()
|
| H A D | kern_exec.c | 209 char *fname; member 264 char *fname; member 430 if (args->fname != NULL) { in do_execve() 438 if (args->fname != NULL) { in do_execve() 576 if (args->fname != NULL && args->fname[0] == '/') in do_execve() 630 if (args->fname != NULL) in do_execve() 745 if (args->fname) in do_execve() 892 if (args->fname) in do_execve() 1447 if (fname != NULL) { in exec_args_add_fname() 1450 copystr(fname, args->fname, PATH_MAX, &length) : in exec_args_add_fname() [all …]
|
| H A D | imgact_binmisc.c | 592 const char *fname = NULL; in imgact_binmisc_exec() local 624 if (imgp->args->fname != NULL) { in imgact_binmisc_exec() 625 fname = imgp->args->fname; in imgact_binmisc_exec() 631 fname = sbuf_data(sname); in imgact_binmisc_exec() 634 namelen = strlen(fname); in imgact_binmisc_exec() 679 memcpy(d, fname, namelen); in imgact_binmisc_exec()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mkbusy/ |
| H A D | mkbusy.c | 98 char *arg, *dname, *fname; in main() local 119 fname = strdup(arg); in main() 123 fname = strdup(slash + 1); in main() 126 if (dname == NULL || fname == NULL) in main() 134 rc = asprintf(&fpath, "%s/%s", dname, fname); in main() 136 free(fname); in main()
|
| /f-stack/freebsd/arm/include/ |
| H A D | cpu-v6.h | 101 #define _RF0(fname, aname...) \ argument 103 fname(void) \ 110 #define _R64F0(fname, aname) \ argument 112 fname(void) \ 119 #define _WF0(fname, aname...) \ argument 121 fname(void) \ 126 #define _WF1(fname, aname...) \ argument 128 fname(uint32_t reg) \ 133 #define _W64F1(fname, aname...) \ argument 135 fname(uint64_t reg) \
|
| /f-stack/dpdk/config/arm/ |
| H A D | armv8_machine.py | 6 fname = '/sys/devices/system/cpu/cpu0/regs/identification/midr_el1' variable 7 with open(fname) as f:
|
| /f-stack/dpdk/lib/librte_bpf/ |
| H A D | rte_bpf_ethdev.h | 84 const struct rte_bpf_prm *prm, const char *fname, const char *sname, 109 const struct rte_bpf_prm *prm, const char *fname, const char *sname,
|
| H A D | bpf_load_elf.c | 298 rte_bpf_elf_load(const struct rte_bpf_prm *prm, const char *fname, in rte_bpf_elf_load() argument 304 if (prm == NULL || fname == NULL || sname == NULL) { in rte_bpf_elf_load() 309 fd = open(fname, O_RDONLY); in rte_bpf_elf_load() 313 __func__, fname, rc, strerror(rc)); in rte_bpf_elf_load() 325 __func__, fname, sname, rte_errno); in rte_bpf_elf_load() 331 __func__, fname, sname, bpf, bpf->jit.func, bpf->jit.sz); in rte_bpf_elf_load()
|
| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | lauxlib.c | 624 const char *fname, int szhint) { in luaL_findtable() argument 628 e = strchr(fname, '.'); in luaL_findtable() 629 if (e == NULL) e = fname + strlen(fname); in luaL_findtable() 630 lua_pushlstring(L, fname, e - fname); in luaL_findtable() 635 lua_pushlstring(L, fname, e - fname); in luaL_findtable() 641 return fname; /* return problematic part of the name */ in luaL_findtable() 644 fname = e + 1; in luaL_findtable() 722 LUALIB_API int luaL_getsubtable (lua_State *L, int idx, const char *fname) { in luaL_getsubtable() argument 723 lua_getfield(L, idx, fname); in luaL_getsubtable() 730 lua_setfield(L, idx, fname); /* assign new table to field */ in luaL_getsubtable()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | bpf_cmd.c | 97 const char *fname, *sname; in cmd_operate_bpf_ld_parsed() local 105 fname = res->prm; in cmd_operate_bpf_ld_parsed() 110 fname, sname, flags); in cmd_operate_bpf_ld_parsed() 114 fname, sname, flags); in cmd_operate_bpf_ld_parsed()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | zcp.c | 1275 VERIFY3U(len, >, strlcat(errmsg, fname, len)); in zcp_args_error() 1321 zcp_args_error(state, fname, pargs, kwargs, in zcp_parse_table_args() 1325 zcp_args_error(state, fname, pargs, kwargs, in zcp_parse_table_args() 1350 zcp_args_error(state, fname, pargs, kwargs, in zcp_parse_table_args() 1371 zcp_args_error(state, fname, pargs, kwargs, in zcp_parse_table_args() 1374 zcp_args_error(state, fname, pargs, kwargs, in zcp_parse_table_args() 1377 zcp_args_error(state, fname, pargs, kwargs, in zcp_parse_table_args() 1396 zcp_args_error(state, fname, pargs, kwargs, in zcp_parse_pos_args() 1400 zcp_args_error(state, fname, pargs, kwargs, in zcp_parse_pos_args() 1408 zcp_args_error(state, fname, pargs, kwargs, in zcp_parse_pos_args() [all …]
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/bin/ |
| H A D | jeprof.in | 749 my $fname = shift; 767 my $fname = shift; 773 my $fname = shift; 801 my $fname = shift; 1428 my $fname = ""; 1473 RunWeb($fname); 1476 unlink($fname); 1958 my $fname = $current_file; 1963 $fname = "..." . substr($fname, -55); 3823 my $fname = shift; [all …]
|
| /f-stack/dpdk/devtools/ |
| H A D | check-symbol-change.sh | 7 local fname="$1" 10 cat "$fname" | awk '
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | lauxlib.c | 358 const char *fname, int szhint) { in luaL_findtable() argument 362 e = strchr(fname, '.'); in luaL_findtable() 363 if (e == NULL) e = fname + strlen(fname); in luaL_findtable() 364 lua_pushlstring(L, fname, e - fname); in luaL_findtable() 369 lua_pushlstring(L, fname, e - fname); in luaL_findtable() 375 return fname; /* return problematic part of the name */ in luaL_findtable() 378 fname = e + 1; in luaL_findtable()
|
| H A D | lua.c | 241 const char *fname; in handle_script() local 244 fname = argv[n]; in handle_script() 245 if (strcmp(fname, "-") == 0 && strcmp(argv[n-1], "--") != 0) in handle_script() 246 fname = NULL; /* stdin */ in handle_script() 247 status = luaL_loadfile(L, fname); in handle_script()
|
| /f-stack/freebsd/sys/ |
| H A D | imgact.h | 52 char *fname; /* pointer to filename of executable (system space) */ member 109 int exec_args_add_fname(struct image_args *args, const char *fname,
|