| /f-stack/dpdk/app/test-crypto-perf/ |
| H A D | cperf_options_parsing.c | 322 if (parse_range(arg, &opts->min_burst_size, &opts->max_burst_size, in parse_burst_sz() 343 if (parse_range(arg, &opts->min_buffer_size, &opts->max_buffer_size, in parse_buffer_sz() 423 strncpy(opts->device_type, arg, sizeof(opts->device_type) - 1); in parse_device_type() 424 *(opts->device_type + sizeof(opts->device_type) - 1) = '\0'; in parse_device_type() 519 opts->silent = 1; in parse_silent() 774 opts->csv = 1; in parse_csv_friendly() 775 opts->silent = 1; in parse_csv_friendly() 862 opts->pool_sz = 8192; in cperf_options_default() 887 opts->nb_qps = 1; in cperf_options_default() 891 opts->silent = 0; in cperf_options_default() [all …]
|
| H A D | main.c | 132 opts->device_type); in cperf_initialize_cryptodev() 190 opts->nb_qps = 1; in cperf_initialize_cryptodev() 239 opts->segment_sz += (opts->headroom_sz + opts->tailroom_sz); in cperf_initialize_cryptodev() 335 opts->digest_sz, in cperf_verify_devices_capabilities() 374 opts->digest_sz, in cperf_verify_devices_capabilities() 546 if (!opts.silent) in main() 595 if (!opts.silent && opts.test != CPERF_TEST_TYPE_THROUGHPUT && in main() 691 opts.test_buffer_size = opts.min_buffer_size; in main() 693 opts.test_buffer_size = opts.buffer_size_list[0]; in main() 695 while (opts.test_buffer_size <= opts.max_buffer_size) { in main() [all …]
|
| H A D | cperf_test_vector_parsing.c | 18 if (vector == NULL || opts == NULL) in free_test_vector() 26 if (opts->test_file != NULL) { in free_test_vector() 339 if (opts->auth_key_sz > data_length) { in parse_entry() 381 if (opts->auth_iv_sz > data_length) { in parse_entry() 395 if (opts->aead_iv_sz > data_length) { in parse_entry() 440 if (opts->digest_sz > data_length) { in parse_entry() 469 fp = fopen(opts->test_file, "r"); in parse_file() 496 if (!strcmp(line, opts->test_name)) { in parse_file() 568 if (opts == NULL || opts->test_file == NULL) in cperf_test_vector_get_from_file() 577 status = parse_file(test_vector, opts); in cperf_test_vector_get_from_file() [all …]
|
| H A D | cperf_test_pmd_cyclecount.c | 43 const struct cperf_options *opts; member 182 state->ctx->sess, state->opts, in pmd_cyclecount_bench_ops() 233 state->ctx->sess, state->opts, in pmd_cyclecount_build_ops() 397 const struct cperf_options *opts; in cperf_pmd_cyclecount_test_runner() local 402 opts = state.ctx->options; in cperf_pmd_cyclecount_test_runner() 403 state.opts = opts; in cperf_pmd_cyclecount_test_runner() 415 state.delay = 1000 * opts->pmdcc_delay; in cperf_pmd_cyclecount_test_runner() 434 if (opts->inc_burst_size != 0) in cperf_pmd_cyclecount_test_runner() 435 test_burst_size = opts->min_burst_size; in cperf_pmd_cyclecount_test_runner() 452 if (!opts->csv) { in cperf_pmd_cyclecount_test_runner() [all …]
|
| /f-stack/freebsd/contrib/openzfs/cmd/raidz_test/ |
| H A D | raidz_test.c | 64 switch (opts->rto_v) { in print_opts() 308 fini_raidz_map(&opts->zio_golden, &opts->rm_golden); in init_raidz_golden_map() 314 opts->zio_golden->io_offset = zio_test->io_offset = opts->rto_offset; in init_raidz_golden_map() 315 opts->zio_golden->io_size = zio_test->io_size = opts->rto_dsize; in init_raidz_golden_map() 317 opts->zio_golden->io_abd = raidz_alloc(opts->rto_dsize); in init_raidz_golden_map() 326 opts->rm_golden = in init_raidz_golden_map() 328 opts->zio_golden->io_size, opts->zio_golden->io_offset, in init_raidz_golden_map() 336 opts->rm_golden = vdev_raidz_map_alloc(opts->zio_golden, in init_raidz_golden_map() 632 fini_raidz_map(&opts->zio_golden, &opts->rm_golden); in run_gen_check() 804 fini_raidz_map(&opts->zio_golden, &opts->rm_golden); in run_rec_check() [all …]
|
| /f-stack/freebsd/contrib/openzfs/etc/systemd/system-generators/ |
| H A D | zfs-mount-generator.in | 291 opts="${opts},noatime" 299 opts="${opts},dev" 301 opts="${opts},nodev" 309 opts="${opts},exec" 311 opts="${opts},noexec" 319 opts="${opts},ro" 321 opts="${opts},rw" 329 opts="${opts},suid" 331 opts="${opts},nosuid" 339 opts="${opts},mand" [all …]
|
| /f-stack/freebsd/sys/ |
| H A D | mutex.h | 93 int opts); 415 _mtx_lock_flags((m), (opts), (file), (line)) 417 _mtx_unlock_flags((m), (opts), (file), (line)) 448 #define mtx_lock_flags(m, opts) \ argument 450 #define mtx_unlock_flags(m, opts) \ argument 452 #define mtx_lock_spin_flags(m, opts) \ argument 454 #define mtx_unlock_spin_flags(m, opts) \ argument 456 #define mtx_trylock_flags(m, opts) \ argument 458 #define mtx_trylock_spin_flags(m, opts) \ argument 526 #define MTX_SYSINIT(name, mtx, desc, opts) \ argument [all …]
|
| /f-stack/freebsd/contrib/rdma/krping/ |
| H A D | getopt.c | 30 const struct krping_option *opts, char **optopt, in krping_getopt() argument 47 for (; opts->name; opts++) { in krping_getopt() 48 if (!strcmp(opts->name, token)) { in krping_getopt() 50 if (opts->has_arg & OPT_NOPARAM) { in krping_getopt() 51 return opts->val; in krping_getopt() 57 if (opts->has_arg & OPT_INT) { in krping_getopt() 62 return opts->val; in krping_getopt() 68 if (opts->has_arg & OPT_STRING) { in krping_getopt() 69 return opts->val; in krping_getopt()
|
| /f-stack/lib/ |
| H A D | ff_lock.c | 173 if (opts & RW_DUPOK) in ff_rw_init_flags() 175 if (opts & RW_NOPROFILE) in ff_rw_init_flags() 177 if (!(opts & RW_NOWITNESS)) in ff_rw_init_flags() 179 if (opts & RW_RECURSE) in ff_rw_init_flags() 181 if (opts & RW_QUIET) in ff_rw_init_flags() 224 if (opts & RM_RECURSE) in rm_init_flags() 301 if (opts & SX_DUPOK) in sx_init_flags() 303 if (opts & SX_NOPROFILE) in sx_init_flags() 307 if (opts & SX_RECURSE) in sx_init_flags() 309 if (opts & SX_QUIET) in sx_init_flags() [all …]
|
| /f-stack/tools/libxo/xo/ |
| H A D | xo.c | 226 static struct opts { struct 239 } opts; argument 351 if (opts.o_depth) { in main() 354 } else if (opts.o_help) { in main() 358 } else if (opts.o_not_first) { in main() 361 } else if (opts.o_xpath) { in main() 364 } else if (opts.o_version) { in main() 368 } else if (opts.o_warn_xml) { in main() 372 } else if (opts.o_wrap) { in main() 375 } else if (opts.o_top_wrap) { in main() [all …]
|
| /f-stack/tools/ifconfig/ |
| H A D | ifgre.c | 56 uint32_t opts, port; in gre_status() local 58 opts = 0; in gre_status() 59 ifr.ifr_data = (caddr_t)&opts; in gre_status() 67 if (opts != 0) in gre_status() 68 printf("\tgrekey: 0x%x (%u)\n", opts, opts); in gre_status() 69 opts = 0; in gre_status() 85 printb("\toptions", opts, GREBITS); in gre_status() 128 uint32_t opts; local 130 ifr.ifr_data = (caddr_t)&opts; 143 opts &= ~(-d); [all …]
|
| H A D | ifgif.c | 63 int opts; in gif_status() local 65 ifr.ifr_data = (caddr_t)&opts; in gif_status() 74 if (opts == 0) in gif_status() 76 printb("\toptions", opts, GIFBITS); in gif_status() 83 int opts; local 85 ifr.ifr_data = (caddr_t)&opts; 98 opts &= ~(-d); 100 opts |= d;
|
| /f-stack/freebsd/kern/ |
| H A D | kern_mutex.c | 334 (opts & MTX_RECURSE) != 0, in __mtx_lock_spin_flags() 337 opts &= ~MTX_RECURSE; in __mtx_lock_spin_flags() 457 opts &= ~MTX_RECURSE; in _mtx_trylock_flags_int() 547 opts &= ~MTX_RECURSE; in __mtx_lock_sleep() 556 opts &= ~MTX_RECURSE; in __mtx_lock_sleep() 1142 if (opts & MTX_SPIN) in _mtx_init() 1147 if (opts & MTX_QUIET) in _mtx_init() 1149 if (opts & MTX_RECURSE) in _mtx_init() 1153 if (opts & MTX_DUPOK) in _mtx_init() 1155 if (opts & MTX_NOPROFILE) in _mtx_init() [all …]
|
| H A D | kern_jail.c | 892 vfs_opterror(opts, in kern_jail_set() 906 vfs_opterror(opts, in kern_jail_set() 916 vfs_opterror(opts, in kern_jail_set() 931 vfs_opterror(opts, in kern_jail_set() 951 vfs_opterror(opts, in kern_jail_set() 1342 vfs_opterror(opts, in kern_jail_set() 1350 vfs_opterror(opts, in kern_jail_set() 1358 vfs_opterror(opts, in kern_jail_set() 1556 vfs_opterror(opts, in kern_jail_set() 1922 vfs_freeopts(opts); in kern_jail_set() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/ |
| H A D | mmp.kshlib | 34 typeset opts=$2 38 zpool import $opts 2>&1 | \ 48 typeset opts=$2 50 check_pool_import "$pool" "$opts" "status" \ 58 typeset opts=$2 60 while is_pool_imported "$pool" "$opts"; do 70 typeset opts=$2 208 typeset opts=$2 213 zpool import $opts $pool 227 typeset opts=$2 [all …]
|
| /f-stack/lib/include/sys/ |
| H A D | mutex.h | 59 #define __mtx_lock(mp, tid, opts, file, line) DO_NOTHING argument 60 #define __mtx_unlock(mp, tid, opts, file, line) DO_NOTHING argument 61 #define __mtx_lock_spin(mp, tid, opts, file, line) DO_NOTHING argument 64 #define _mtx_lock_flags(m, opts, file, line) DO_NOTHING argument 65 #define _mtx_unlock_flags(m, opts, file, line) DO_NOTHING argument 66 #define _mtx_lock_spin_flags(m, opts, file, line) DO_NOTHING argument 67 #define _mtx_unlock_spin_flags(m, opts, file, line) DO_NOTHING argument 69 #define thread_lock_flags_(tdp, opts, file, line) DO_NOTHING argument 78 void ff_mtx_init(struct lock_object *lo, const char *name, const char *type, int opts);
|
| /f-stack/app/redis-5.0.5/utils/ |
| H A D | redis-copy.rb | 11 def redisCopy(opts={}) argument 12 src = "#{opts[:srchost]}:#{opts[:srcport]}" 13 dst = "#{opts[:dsthost]}:#{opts[:dstport]}"
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
| H A D | send-cpL_varied_recsize.ksh | 165 typeset recsize opts dir 182 for opts in '' -d -c -p -dp -L -dL -cp -cL -pL -dpL -cpL; do 183 check $opts $small log_must 185 for opts in -dc -dcp -dcL -dcpL; do 186 check $opts $small log_mustnot 190 for opts in '' -d -dp -c; do 191 check $opts $large log_must 193 for opts in -dc -dL -dcp -dcL -dpL -dcpL; do 194 check $opts $large log_mustnot
|
| /f-stack/freebsd/netinet/ |
| H A D | ip_options.c | 402 struct ipopt_tag *opts; in save_rte() local 406 if (opts == NULL) in save_rte() 411 m_tag_free((struct m_tag *)opts); in save_rte() 416 opts->ip_srcrt.dst = dst; in save_rte() 430 struct ipopt_tag *opts; in ip_srcroute() local 433 if (opts == NULL) in ip_srcroute() 436 if (opts->ip_nhops == 0) in ip_srcroute() 442 #define OPTSIZ (sizeof(opts->ip_srcrt.nop) + sizeof(opts->ip_srcrt.srcopt)) in ip_srcroute() 451 p = &(opts->ip_srcrt.route[opts->ip_nhops - 1]); in ip_srcroute() 457 opts->ip_srcrt.nop = IPOPT_NOP; in ip_srcroute() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cachefile/ |
| H A D | cachefile_001_pos.ksh | 69 set -A opts "none" "false" "none" \ 77 log_must zpool create -o cachefile=${opts[i]} $TESTPOOL $DISKS 78 case ${opts[((i+1))]} in 81 true) log_must pool_in_cache $TESTPOOL ${opts[i]} 86 if [[ $PROP != ${opts[((i+2))]} ]]; then
|
| H A D | cachefile_003_pos.ksh | 76 set -A opts "none" "none" \ 83 log_must zpool create -o altroot=$TESTDIR -o cachefile=${opts[i]} \ 85 if [[ ${opts[i]} != none ]]; then 86 log_must pool_in_cache $TESTPOOL ${opts[i]} 92 if [[ $PROP != ${opts[((i+1))]} ]]; then
|
| /f-stack/freebsd/net/altq/ |
| H A D | altq_cbq.c | 276 struct cbq_opts *opts; in cbq_add_queue() local 298 opts = &a->pq_u.cbq_opts; in cbq_add_queue() 305 if (opts->flags & CBQCLF_BORROW) in cbq_add_queue() 327 switch (opts->flags & CBQCLF_CLASSMASK) { in cbq_add_queue() 352 rmc_init(cbqp->ifnp.ifq_, &cbqp->ifnp, opts->ns_per_byte, in cbq_add_queue() 354 opts->maxidle, opts->minidle, opts->offtime, in cbq_add_queue() 355 opts->flags); in cbq_add_queue() 359 &cbqp->ifnp, opts->ns_per_byte, in cbq_add_queue() 361 opts->maxidle, opts->minidle, opts->offtime, in cbq_add_queue() 362 opts->pktsize, opts->flags); in cbq_add_queue() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/ |
| H A D | zfs_create_007_pos.ksh | 63 typeset opts="" 67 opts="$opts -o ${RW_VOL_PROP[$i]}" 72 log_must zfs create $opts -V $VOLSIZE $TESTPOOL/$TESTVOL 75 log_must zfs create -s $opts -V $VOLSIZE $TESTPOOL/$TESTVOL1
|
| /f-stack/dpdk/drivers/net/dpaa/ |
| H A D | dpaa_ethdev.c | 929 struct qm_mcc_initfq opts = {0}; in dpaa_eth_rx_queue_setup() local 1051 opts.we_mask = opts.we_mask | QM_INITFQ_WE_DESTWQ; in dpaa_eth_rx_queue_setup() 1140 struct qm_mcc_initfq opts = {0}; in dpaa_eth_eventq_attach() local 1168 opts.we_mask = opts.we_mask | QM_INITFQ_WE_DESTWQ; in dpaa_eth_eventq_attach() 1169 opts.fqd.dest.channel = ch_id; in dpaa_eth_eventq_attach() 1198 struct qm_mcc_initfq opts; in dpaa_eth_eventq_detach() local 1660 struct qm_mcc_initfq opts = {0}; in dpaa_rx_queue_init() local 1706 opts.fqd.cgid = cgr_rx->cgrid; in dpaa_rx_queue_init() 1721 struct qm_mcc_initfq opts = {0}; in dpaa_tx_queue_init() local 1744 opts.fqd.context_b = 0; in dpaa_tx_queue_init() [all …]
|
| /f-stack/freebsd/contrib/openzfs/scripts/ |
| H A D | cstyle.pl | 75 my %opts; 77 if (!getopts("cgho:pvCP", \%opts)) { 82 my $check_continuation = $opts{'c'}; 83 my $github_workflow = $opts{'g'} || $ENV{'CI'}; 84 my $heuristic = $opts{'h'}; 85 my $picky = $opts{'p'}; 86 my $verbose = $opts{'v'}; 87 my $ignore_hdr_comment = $opts{'C'}; 88 my $check_posix_types = $opts{'P'}; 93 if (defined($opts{'o'})) { [all …]
|