| /f-stack/freebsd/contrib/openzfs/include/os/linux/kernel/linux/ |
| H A D | xattr_compat.h | 44 #define ZPL_XATTR_LIST_WRAPPER(fn) \ argument 46 fn(struct dentry *dentry) \ 54 #define ZPL_XATTR_LIST_WRAPPER(fn) \ argument 59 return (__ ## fn(dentry->d_inode, \ 66 #define ZPL_XATTR_LIST_WRAPPER(fn) \ argument 71 return (__ ## fn(dentry->d_inode, \ 84 #define ZPL_XATTR_GET_WRAPPER(fn) \ argument 98 #define ZPL_XATTR_GET_WRAPPER(fn) \ argument 111 #define ZPL_XATTR_GET_WRAPPER(fn) \ argument 128 #define ZPL_XATTR_SET_WRAPPER(fn) \ argument [all …]
|
| /f-stack/tools/libutil/tests/ |
| H A D | flopen_test.c | 54 unlink(fn); in test_flopen_create() 61 unlink(fn); in test_flopen_create() 71 const char *fn = "test_flopen_open"; in test_flopen_open() local 80 fd = flopen(fn, O_RDWR); in test_flopen_open() 87 unlink(fn); in test_flopen_open() 101 unlink(fn); in test_flopen_lock_self() 113 unlink(fn); in test_flopen_lock_self() 127 unlink(fn); in test_flopen_lock_other() 144 unlink(fn); in test_flopen_lock_other() 159 unlink(fn); in test_flopen_lock_child() [all …]
|
| H A D | pidfile_test.c | 67 unlink(fn); in test_pidfile_uncontested() 75 unlink(fn); in test_pidfile_uncontested() 79 unlink(fn); in test_pidfile_uncontested() 94 unlink(fn); in test_pidfile_self() 103 unlink(fn); in test_pidfile_self() 111 unlink(fn); in test_pidfile_self() 116 unlink(fn); in test_pidfile_self() 120 unlink(fn); in test_pidfile_self() 137 unlink(fn); in common_test_pidfile_child() 196 unlink(fn); in common_test_pidfile_child() [all …]
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | mod_os.h | 93 #define module_init(fn) \ argument 95 wrap_ ## fn(void *dummy __unused) \ 97 fn(); \ 99 SYSINIT(zfs_ ## fn, SI_SUB_LAST, SI_ORDER_FIRST, wrap_ ## fn, NULL) 103 wrap_ ## fn(void *dummy __unused) \ 105 fn(); \ 107 SYSINIT(zfs_ ## fn, SI_SUB_INT_CONFIG_HOOKS, SI_ORDER_FIRST, wrap_ ## fn, NULL) 109 #define module_exit(fn) \ argument 111 wrap_ ## fn(void *dummy __unused) \ 113 fn(); \ [all …]
|
| /f-stack/freebsd/contrib/openzfs/cmd/raidz_test/ |
| H A D | raidz_bench.c | 74 int fn, ncols; in run_gen_bench_impl() local 80 for (fn = 0; fn < RAIDZ_GEN_NUM; fn++) { in run_gen_bench_impl() 84 ncols = rto_opts.rto_dcols + fn + 1; in run_gen_bench_impl() 92 fn+1, rto_opts.rto_expand_offset); in run_gen_bench_impl() 95 BENCH_ASHIFT, ncols, fn+1); in run_gen_bench_impl() 113 raidz_gen_name[fn], in run_gen_bench_impl() 146 int fn, ncols, nbad; in run_rec_bench_impl() local 160 for (fn = 0; fn < RAIDZ_REC_NUM; fn++) { in run_rec_bench_impl() 196 vdev_raidz_reconstruct(rm_bench, tgt[fn], nbad); in run_rec_bench_impl() 205 raidz_rec_name[fn], in run_rec_bench_impl()
|
| H A D | raidz_test.c | 582 int fn, err = 0; in run_gen_check() local 606 for (fn = 0; fn < RAIDZ_GEN_NUM; fn++) { in run_gen_check() 613 rm_test = init_raidz_map(opts, &zio_test, fn+1); in run_gen_check() 617 raidz_gen_name[fn]); in run_gen_check() 622 if (cmp_code(opts, rm_test, fn+1) != 0) { in run_gen_check() 653 memcpy(tgtidx, rec_tgts[fn], sizeof (tgtidx)); in run_rec_check_impl() 655 if (fn < RAIDZ_REC_PQ) { in run_rec_check_impl() 680 } else if (fn < RAIDZ_REC_PQR) { in run_rec_check_impl() 758 unsigned fn, err = 0; in run_rec_check() local 787 for (fn = 0; fn < RAIDZ_REC_NUM; fn++) { in run_rec_check() [all …]
|
| /f-stack/app/redis-5.0.5/deps/hiredis/ |
| H A D | read.c | 49 if (r->reply != NULL && r->fn && r->fn->freeObject) { in __redisReaderSetError() 50 r->fn->freeObject(r->reply); in __redisReaderSetError() 223 if (r->fn && r->fn->createInteger) in processLineItem() 229 if (r->fn && r->fn->createString) in processLineItem() 266 if (r->fn && r->fn->createNil) in processBulkItem() 275 if (r->fn && r->fn->createString) in processBulkItem() 321 if (r->fn && r->fn->createNil) in processMultiBulkItem() 333 if (r->fn && r->fn->createArray) in processMultiBulkItem() 425 r->fn = fn; in redisReaderCreateWithFunctions() 438 if (r->reply != NULL && r->fn && r->fn->freeObject) in redisReaderFree() [all …]
|
| H A D | async.h | 47 redisCallbackFn *fn; member 109 int redisAsyncSetConnectCallback(redisAsyncContext *ac, redisConnectCallback *fn); 110 int redisAsyncSetDisconnectCallback(redisAsyncContext *ac, redisDisconnectCallback *fn); 120 int redisvAsyncCommand(redisAsyncContext *ac, redisCallbackFn *fn, void *privdata, const char *form… 121 int redisAsyncCommand(redisAsyncContext *ac, redisCallbackFn *fn, void *privdata, const char *forma… 122 int redisAsyncCommandArgv(redisAsyncContext *ac, redisCallbackFn *fn, void *privdata, int argc, con… 123 int redisAsyncFormattedCommand(redisAsyncContext *ac, redisCallbackFn *fn, void *privdata, const ch…
|
| H A D | async.c | 207 ac->onConnect = fn; in redisAsyncSetConnectCallback() 220 ac->onDisconnect = fn; in redisAsyncSetDisconnectCallback() 267 if (cb->fn != NULL) { in __redisRunCallback() 269 cb->fn(ac,reply,cb->privdata); in __redisRunCallback() 458 c->reader->fn->freeObject(reply); in redisProcessCallbacks() 468 if (cb.fn != NULL) { in redisProcessCallbacks() 470 c->reader->fn->freeObject(reply); in redisProcessCallbacks() 482 c->reader->fn->freeObject(reply); in redisProcessCallbacks() 597 cb.fn = fn; in __redisAsyncCommand() 660 status = __redisAsyncCommand(ac,fn,privdata,cmd,len); in redisvAsyncCommand() [all …]
|
| /f-stack/freebsd/sys/ |
| H A D | callout.h | 104 #define callout_reset_sbt_on(c, sbt, pr, fn, args, cpu, flags) \ argument 106 #define callout_reset_sbt(c, sbt, pr, fn, arg, flags) \ argument 107 callout_reset_sbt_on((c), (sbt), (pr), (fn), (arg), -1, (flags)) 108 #define callout_reset_sbt_curcpu(c, sbt, pr, fn, arg, flags) \ argument 109 callout_reset_sbt_on((c), (sbt), (pr), (fn), (arg), PCPU_GET(cpuid),\ 111 #define callout_reset_on(c, to_ticks, fn, arg, cpu) \ argument 112 callout_reset_tick_on((c), (to_ticks), (fn), (arg), \ 114 #define callout_reset(c, on_tick, fn, arg) \ argument 115 callout_reset_on((c), (on_tick), (fn), (arg), -1) 116 #define callout_reset_curcpu(c, on_tick, fn, arg) \ argument [all …]
|
| H A D | vmem.h | 130 void vmem_whatis(vmem_addr_t addr, int (*fn)(const char *, ...) 132 void vmem_print(vmem_addr_t addr, const char *, int (*fn)(const char *, ...) 134 void vmem_printall(const char *, int (*fn)(const char *, ...)
|
| /f-stack/tools/compat/include/sys/ |
| H A D | callout.h | 104 #define callout_reset_sbt(c, sbt, pr, fn, arg, flags) \ argument 105 callout_reset_sbt_on((c), (sbt), (pr), (fn), (arg), -1, (flags)) 106 #define callout_reset_sbt_curcpu(c, sbt, pr, fn, arg, flags) \ argument 107 callout_reset_sbt_on((c), (sbt), (pr), (fn), (arg), PCPU_GET(cpuid),\ 109 #define callout_reset_on(c, to_ticks, fn, arg, cpu) \ argument 110 callout_reset_sbt_on((c), tick_sbt * (to_ticks), 0, (fn), (arg), \ 112 #define callout_reset(c, on_tick, fn, arg) \ argument 113 callout_reset_on((c), (on_tick), (fn), (arg), -1) 114 #define callout_reset_curcpu(c, on_tick, fn, arg) \ argument 115 callout_reset_on((c), (on_tick), (fn), (arg), PCPU_GET(cpuid))
|
| H A D | _smr.h | 47 #define SMR_ASSERT(ex, fn) \ argument 48 KASSERT((ex), (fn ": Assertion " #ex " failed at %s:%d", __FILE__, __LINE__))
|
| /f-stack/dpdk/lib/librte_telemetry/ |
| H A D | telemetry_legacy.c | 39 telemetry_legacy_cb fn; member 48 .fn = register_client 57 telemetry_legacy_cb fn) in rte_telemetry_legacy_register() argument 59 if (fn == NULL) in rte_telemetry_legacy_register() 71 callbacks[num_legacy_callbacks].fn = fn; in rte_telemetry_legacy_register() 154 perform_command(telemetry_legacy_cb fn, const char *param, int s) in perform_command() argument 159 ret = fn("", param, out_buf, sizeof(out_buf)); in perform_command() 176 telemetry_legacy_cb fn = NULL; in parse_client_request() local 211 fn = callbacks[i].fn; in parse_client_request() 215 if (!fn) in parse_client_request() [all …]
|
| H A D | telemetry.c | 37 telemetry_cb fn; member 45 handler fn; member 66 if (strlen(cmd) >= MAX_CMD_LEN || fn == NULL || cmd[0] != '/' in rte_telemetry_register_cmd() 81 callbacks[i].fn = fn; in rte_telemetry_register_cmd() 279 int ret = fn(cmd, param, &data); in perform_command() 318 telemetry_cb fn = unknown_command; in client_handler() local 325 fn = callbacks[i].fn; in client_handler() 330 perform_command(fn, cmd, param, s); in client_handler() 362 pthread_create(&th, NULL, s->fn, (void *)(uintptr_t)s_accepted); in socket_listener() 434 v1_socket.fn = legacy_client_handler; in telemetry_legacy_init() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | vdev_raidz_math.c | 370 (void) fn; in benchmark_gen_impl() 414 bench_fn(bench_rm, fn); in benchmark_raidz_impl() 432 fstat->gen[fn] = impl; in benchmark_raidz_impl() 433 vdev_raidz_fastest_impl.gen[fn] = in benchmark_raidz_impl() 434 curr_impl->gen[fn]; in benchmark_raidz_impl() 436 fstat->rec[fn] = impl; in benchmark_raidz_impl() 437 vdev_raidz_fastest_impl.rec[fn] = in benchmark_raidz_impl() 438 curr_impl->rec[fn]; in benchmark_raidz_impl() 480 for (int fn = 0; fn < RAIDZ_GEN_NUM; fn++) { in benchmark_raidz() local 481 bench_parity = fn + 1; in benchmark_raidz() [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | vfs_hash.c | 76 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_get() argument 89 if (fn != NULL && fn(vp, arg)) in vfs_hash_get() 111 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_ref() argument 122 if (fn != NULL && fn(vp, arg)) in vfs_hash_ref() 150 struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) in vfs_hash_insert() argument 165 if (fn != NULL && fn(vp2, arg)) in vfs_hash_insert()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/ |
| H A D | zvol_ENOSPC_001_pos.ksh | 60 typeset -i fn=0 67 file_write -o create -f $TESTDIR/testfile$$.$fn \ 74 (( fn = fn + 1 ))
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-pcie.h | 189 uint8_t cvmx_pcie_config_read8(int pcie_port, int bus, int dev, int fn, int reg); 202 uint16_t cvmx_pcie_config_read16(int pcie_port, int bus, int dev, int fn, int reg); 215 uint32_t cvmx_pcie_config_read32(int pcie_port, int bus, int dev, int fn, int reg); 227 void cvmx_pcie_config_write8(int pcie_port, int bus, int dev, int fn, int reg, uint8_t val); 239 void cvmx_pcie_config_write16(int pcie_port, int bus, int dev, int fn, int reg, uint16_t val); 251 void cvmx_pcie_config_write32(int pcie_port, int bus, int dev, int fn, int reg, uint32_t val);
|
| /f-stack/dpdk/app/test/ |
| H A D | test.h | 115 #define TEST_CASE(fn) { NULL, NULL, fn, #fn, 1 } argument 117 #define TEST_CASE_NAMED(name, fn) { NULL, NULL, fn, name, 1 } argument 123 #define TEST_CASE_DISABLED(fn) { NULL, NULL, fn, #fn, 0 } argument
|
| H A D | test_stack_perf.c | 172 lcore_function_t fn) in run_on_core_pair() argument 184 rte_eal_remote_launch(fn, &args[1], cores->c2); in run_on_core_pair() 185 fn(&args[0]); in run_on_core_pair() 188 rte_eal_remote_launch(fn, &args[0], cores->c1); in run_on_core_pair() 189 rte_eal_remote_launch(fn, &args[1], cores->c2); in run_on_core_pair() 201 run_on_n_cores(struct rte_stack *s, lcore_function_t fn, int n) in run_on_n_cores() argument 220 if (rte_eal_remote_launch(fn, &args[lcore_id], in run_on_n_cores() 231 fn(&args[lcore_id]); in run_on_n_cores()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/mount/ |
| H A D | umount_unlinked_drain.ksh | 84 for fn in $(seq 1 175); do 85 log_must mkfile 128k $TESTDIR.$fs/file-$fn 95 for fn in $(seq 1 100); do 96 log_must eval "rm $TESTDIR.$fs/file-$fn &" 111 for fn in $(seq 101 175); do 112 log_must eval "rm $TESTDIR.$fs/file-$fn &"
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/ |
| H A D | zvol_misc_002_pos.ksh | 73 typeset -i fn=0 77 file_write -o create -f $TESTDIR/testfile$$.$fn \ 83 (( fn = fn + 1 ))
|
| /f-stack/dpdk/app/test-sad/ |
| H A D | main.c | 551 uint32_t i, j, f, fn, n; in add_rules() local 557 for (n = 0, j = 0; n != config.nb_rules; n = fn, j++) { in add_rules() 559 fn = n + f; in add_rules() 560 fn = fn > config.nb_rules ? config.nb_rules : fn; in add_rules() 563 for (i = n; i != fn; i++) { in add_rules() 572 nm[j] = fn - n; in add_rules() 585 uint32_t i, j, f, fn, n; in del_rules() local 593 fn = n + f; in del_rules() 594 fn = fn > config.nb_rules ? config.nb_rules : fn; in del_rules() 597 for (i = n; i != fn; i++) { in del_rules() [all …]
|
| /f-stack/dpdk/lib/librte_graph/ |
| H A D | graph_stats.c | 32 rte_graph_cluster_stats_cb_t fn; member 107 rte_graph_cluster_stats_cb_t fn; in stats_mem_init() local 112 fn = prm->fn; in stats_mem_init() 113 if (fn == NULL) in stats_mem_init() 114 fn = graph_cluster_stats_cb; in stats_mem_init() 124 stats->fn = fn; in stats_mem_init() 375 rc = stat->fn(!count, (count == stat->max_nodes - 1), in rte_graph_cluster_stats_get()
|