Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 25 of 684) sorted by relevance

12345678910>>...28

/f-stack/dpdk/app/test-pmd/
H A Dparameters.c545 if (!strcmp(optarg, "unknown")) in parse_event_printing_config()
555 else if (!strcmp(optarg, "ipsec")) in parse_event_printing_config()
557 else if (!strcmp(optarg, "macsec")) in parse_event_printing_config()
567 else if (!strcmp(optarg, "all")) in parse_event_printing_config()
762 if (!strcmp(lgopts[opt_idx].name, in launch_args_parse()
869 if (!strcmp(optarg, "native")) in launch_args_parse()
965 if (!strcmp(lgopts[opt_idx].name, in launch_args_parse()
967 if (!strcmp(optarg, "none")) in launch_args_parse()
983 if (!strcmp(optarg, "64K")) in launch_args_parse()
997 if (!strcmp(lgopts[opt_idx].name, in launch_args_parse()
[all …]
H A Dcmdline.c131 if (!strcmp(res->section, "all")) in cmd_help_long_parsed()
1491 if (!strcmp(speedstr, "10")) { in parse_and_check_speed_duplex()
4076 if (!strcmp(res->on, "on")) in cmd_vlan_offload_parsed()
6658 if (!strcmp(res->set, "set") && !strcmp(res->burst, "burst") in cmd_set_burst_tx_retry_parsed()
6659 && !strcmp(res->tx, "tx")) { in cmd_set_burst_tx_retry_parsed()
6718 if (!strcmp(res->mode, "on")) in cmd_set_promisc_mode_parsed()
6790 if (!strcmp(res->mode, "on")) in cmd_set_allmulti_mode_parsed()
8965 if ((strcmp(res->set, "set") == 0) && (strcmp(res->port, "port") == 0) in cmd_queue_rate_limit_parsed()
9034 if ((strcmp(res->set, "set") == 0) && (strcmp(res->port, "port") == 0) in cmd_vf_rate_limit_parsed()
9323 if (!strcmp(res->on, "on")) in cmd_set_mirror_mask_parsed()
[all …]
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_cli.c3944 strcmp(tokens[3], "g") || in parse_table_action_meter_tc()
3946 strcmp(tokens[5], "y") || in parse_table_action_meter_tc()
3948 strcmp(tokens[7], "r") || in parse_table_action_meter_tc()
3961 strcmp(tokens[0], "meter")) in parse_table_action_meter()
3968 strcmp(tokens[0], "tc0") || in parse_table_action_meter()
4008 strcmp(tokens[0], "tm") || in parse_table_action_tm()
4384 strcmp(tokens[0], "nat")) in parse_table_action_nat()
4426 strcmp(tokens[0], "ttl")) in parse_table_action_ttl()
4461 strcmp(tokens[0], "time")) in parse_table_action_time()
4776 strcmp(tokens[2], "type")) in parse_table_action_sym_crypto()
[all …]
/f-stack/dpdk/examples/ip_pipeline/
H A Dcli.c3242 strcmp(tokens[3], "g") || in parse_table_action_meter_tc()
3244 strcmp(tokens[5], "y") || in parse_table_action_meter_tc()
3246 strcmp(tokens[7], "r") || in parse_table_action_meter_tc()
3265 strcmp(tokens[0], "tc0") || in parse_table_action_meter()
3304 strcmp(tokens[0], "tm") || in parse_table_action_tm()
3677 strcmp(tokens[0], "nat")) in parse_table_action_nat()
3719 strcmp(tokens[0], "ttl")) in parse_table_action_ttl()
3739 strcmp(tokens[0], "stats")) in parse_table_action_stats()
3754 strcmp(tokens[0], "time")) in parse_table_action_time()
4069 strcmp(tokens[2], "type")) in parse_table_action_sym_crypto()
[all …]
/f-stack/dpdk/app/test-bbdev/
H A Dtest_bbdev_vector.c194 else if (!strcmp(token, in op_ldpc_decoder_flag_strtoul()
197 else if (!strcmp(token, in op_ldpc_decoder_flag_strtoul()
200 else if (!strcmp(token, in op_ldpc_decoder_flag_strtoul()
337 if (!strcmp(tok, "OK")) in parse_expected_status()
339 else if (!strcmp(tok, "DMA")) in parse_expected_status()
341 else if (!strcmp(tok, "FCW")) in parse_expected_status()
343 else if (!strcmp(tok, "SYNCRC")) { in parse_expected_status()
346 } else if (!strcmp(tok, "SYN")) in parse_expected_status()
348 else if (!strcmp(tok, "CRC")) { in parse_expected_status()
454 else if (!strcmp(key_token, "e")) { in parse_decoder_params()
[all …]
/f-stack/freebsd/contrib/openzfs/lib/libshare/os/linux/
H A Dnfs.c188 if (strcmp(opt, "rw") == 0 || strcmp(opt, "ro") == 0) { in foreach_nfs_host_cb()
321 if (strcmp(key, "ro") == 0 || strcmp(key, "rw") == 0 || in get_linux_shareopts_cb()
336 if (strcmp(key, "insecure") != 0 && strcmp(key, "secure") != 0 && in get_linux_shareopts_cb()
337 strcmp(key, "async") != 0 && strcmp(key, "sync") != 0 && in get_linux_shareopts_cb()
338 strcmp(key, "no_wdelay") != 0 && strcmp(key, "wdelay") != 0 && in get_linux_shareopts_cb()
339 strcmp(key, "nohide") != 0 && strcmp(key, "hide") != 0 && in get_linux_shareopts_cb()
346 strcmp(key, "no_acl") != 0 && strcmp(key, "mountpoint") != 0 && in get_linux_shareopts_cb()
347 strcmp(key, "mp") != 0 && strcmp(key, "fsuid") != 0 && in get_linux_shareopts_cb()
348 strcmp(key, "refer") != 0 && strcmp(key, "replicas") != 0 && in get_linux_shareopts_cb()
352 strcmp(key, "no_all_squash") != 0 && strcmp(key, "fsid") != 0 && in get_linux_shareopts_cb()
[all …]
H A Dsmb.c145 if (strcmp(key, "path") == 0) { in smb_retrieve_shares()
148 } else if (strcmp(key, "comment") == 0) { in smb_retrieve_shares()
151 } else if (strcmp(key, "guest_ok") == 0) { in smb_retrieve_shares()
288 if (strcmp(shareopts, "off") == 0) in smb_enable_share()
338 if (strcmp(impl_share->sa_mountpoint, shares->path) == 0) in smb_disable_share()
354 if ((strcmp(shareopts, "off") == 0) || (strcmp(shareopts, "on") == 0)) in smb_validate_shareopts()
375 if (strcmp(impl_share->sa_mountpoint, iter->path) == 0) in smb_is_share_active()
/f-stack/dpdk/examples/pipeline/
H A Dcli.c189 if (strcmp(tokens[4], "pool") != 0) { in cmd_mempool()
199 if (strcmp(tokens[6], "cache") != 0) { in cmd_mempool()
209 if (strcmp(tokens[8], "cpu") != 0) { in cmd_mempool()
254 if (strcmp(tokens[2], "dev") == 0) in cmd_link()
268 if (strcmp(tokens[4], "rxq") != 0) { in cmd_link()
284 if (strcmp(tokens[8], "txq") != 0) { in cmd_link()
304 if (strcmp(tokens[12], "on") == 0) in cmd_link()
512 if (strcmp(tokens[3], "in") != 0) { in cmd_pipeline_port_in()
644 if (strcmp(tokens[3], "out") != 0) { in cmd_pipeline_port_out()
1023 if (strcmp(tokens[2], "stats")) { in cmd_pipeline_stats()
[all …]
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-sysinfo.c218 if (strcmp(field, "dram_size:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
220 else if (strcmp(field, "phy_mem_desc_addr:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
222 else if (strcmp(field, "eclock_hz:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
224 else if (strcmp(field, "dclock_hz:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
226 else if (strcmp(field, "board_type:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
228 else if (strcmp(field, "board_rev_major:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
230 else if (strcmp(field, "board_rev_minor:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
234 else if (strcmp(field, "mac_addr_base:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
242 else if (strcmp(field, "mac_addr_count:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
244 else if (strcmp(field, "fdt_addr:") == 0) in cvmx_sysinfo_linux_userspace_initialize()
[all …]
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_swx_pipeline_spec.c62 strcmp(tokens[4], "pragma")))) { in extobj_statement_parse()
403 (strcmp(tokens[2], "args") || in action_statement_parse()
404 strcmp(tokens[3], "none") || in action_statement_parse()
405 strcmp(tokens[4], "{"))) || in action_statement_parse()
407 (strcmp(tokens[2], "args") || in action_statement_parse()
409 strcmp(tokens[5], "{")))) { in action_statement_parse()
614 strcmp(tokens[1], "lpm"))) { in table_key_block_parse()
624 if (!strcmp(tokens[1], "lpm")) in table_key_block_parse()
626 if (!strcmp(tokens[1], "exact")) in table_key_block_parse()
803 if (!strcmp(tokens[0], "key")) in table_block_parse()
[all …]
/f-stack/dpdk/app/test/
H A Dtest_errno.c44 if (strcmp(rte_retval, libc_retval) != 0) in test_errno()
55 if (strcmp(rte_retval, libc_retval) == 0) in test_errno()
62 if ((strcmp(expected_libc_retval, libc_retval) != 0) && in test_errno()
63 (strcmp("", libc_retval) != 0)){ in test_errno()
76 if ((strcmp(rte_retval, libc_retval) != 0) || in test_errno()
77 (strcmp(expected_libc_retval, libc_retval) != 0)){ in test_errno()
78 if (strcmp("", libc_retval) != 0){ in test_errno()
H A Dcommands.c70 if (!strcmp(res->autotest, t->command)) in cmd_autotest_parsed()
120 if (!strcmp(res->dump, "dump_physmem")) in cmd_dump_parsed()
122 else if (!strcmp(res->dump, "dump_memzone")) in cmd_dump_parsed()
124 else if (!strcmp(res->dump, "dump_struct_sizes")) in cmd_dump_parsed()
126 else if (!strcmp(res->dump, "dump_ring")) in cmd_dump_parsed()
128 else if (!strcmp(res->dump, "dump_mempool")) in cmd_dump_parsed()
130 else if (!strcmp(res->dump, "dump_devargs")) in cmd_dump_parsed()
132 else if (!strcmp(res->dump, "dump_log_types")) in cmd_dump_parsed()
134 else if (!strcmp(res->dump, "dump_malloc_stats")) in cmd_dump_parsed()
174 if (!strcmp(res->dump, "dump_ring")) { in cmd_dump_one_parsed()
[all …]
/f-stack/lib/
H A Dff_config.c168 if (strcmp(section, "boot") == 0) { in freebsd_conf_handler()
493 if (strcmp(name, "ifc_name") == 0) { in port_cfg_handler()
495 } else if (strcmp(name, "addr") == 0) { in port_cfg_handler()
517 else if (0 == strcmp(name, "addr6")) { in port_cfg_handler()
573 if (strcmp(name, "iface") == 0) { in vdev_cfg_handler()
581 } else if (strcmp(name, "mac") == 0) { in vdev_cfg_handler()
583 } else if (strcmp(name, "cq") == 0) { in vdev_cfg_handler()
627 if (strcmp(name, "mode") == 0) { in bond_cfg_handler()
635 } else if (strcmp(name, "mac") == 0) { in bond_cfg_handler()
658 #define MATCH(s, n) strcmp(section, s) == 0 && strcmp(name, n) == 0 in ini_parse_handler()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zcommon/
H A Dzfs_comutil.c85 if (strcmp(bias, VDEV_ALLOC_BIAS_SPECIAL) == 0 || in zfs_special_devs()
86 strcmp(bias, VDEV_ALLOC_BIAS_DEDUP) == 0) { in zfs_special_devs()
87 if (type != NULL && strcmp(bias, type) == 0) { in zfs_special_devs()
117 if (strcmp(nm, ZPOOL_LOAD_POLICY) == 0) { in zpool_get_load_policy()
121 } else if (strcmp(nm, ZPOOL_LOAD_REWIND_POLICY) == 0) { in zpool_get_load_policy()
125 } else if (strcmp(nm, ZPOOL_LOAD_REQUEST_TXG) == 0) { in zpool_get_load_policy()
127 } else if (strcmp(nm, ZPOOL_LOAD_META_THRESH) == 0) { in zpool_get_load_policy()
129 } else if (strcmp(nm, ZPOOL_LOAD_DATA_THRESH) == 0) { in zpool_get_load_policy()
/f-stack/freebsd/contrib/zstd/programs/
H A Dzstdcli.c795 if (!strcmp(argument, "-")){ in main()
806 if (!strcmp(argument, "--list")) { operation=zom_list; continue; } in main()
814 if (!strcmp(argument, "--quiet")) { g_displayLevel--; continue; } in main()
816 if (!strcmp(argument, "--ultra")) { ultra=1; continue; } in main()
821 if (!strcmp(argument, "--test")) { operation=zom_test; continue; } in main()
830 if (!strcmp(argument, "--adapt")) { adapt = 1; continue; } in main()
1242 if (!strcmp(filenames->fileNames[0], stdinmark) && !outFileName) in main()
1246 if (!strcmp(filenames->fileNames[0], stdinmark) && IS_CONSOLE(stdin) ) { in main()
1250 if ( outFileName && !strcmp(outFileName, stdoutmark) in main()
1252 && !strcmp(filenames->fileNames[0], stdinmark) in main()
[all …]
/f-stack/freebsd/contrib/openzfs/cmd/zed/agents/
H A Dzfs_agents.c121 (strcmp(gsp->gs_devid, path) == 0)) { in zfs_agent_iter_vdev()
174 if (strcmp(class, "sysevent.fs.zfs.vdev_check") == 0) { in zfs_agent_post_event()
187 if ((strcmp(class, EC_DEV_REMOVE) == 0) && in zfs_agent_post_event()
188 (strcmp(subclass, ESC_DISK) == 0) && in zfs_agent_post_event()
281 strcmp(class, "sysevent.fs.zfs.vdev_remove") == 0 || in zfs_agent_dispatch()
283 strcmp(class, "sysevent.fs.zfs.pool_destroy") == 0) { in zfs_agent_dispatch()
295 if (strcmp(class, FM_LIST_SUSPECT_CLASS) == 0 || in zfs_agent_dispatch()
296 strcmp(class, "resource.fs.zfs.removed") == 0 || in zfs_agent_dispatch()
297 strcmp(class, "resource.fs.zfs.statechange") == 0 || in zfs_agent_dispatch()
298 strcmp(class, "sysevent.fs.zfs.vdev_remove") == 0) { in zfs_agent_dispatch()
[all …]
H A Dfmd_api.c225 if (strcmp(name, "spare_on_remove") == 0) in fmd_prop_get_int32()
228 if (strcmp(name, "io_N") == 0 || strcmp(name, "checksum_N") == 0) in fmd_prop_get_int32()
242 if (strcmp(name, "remove_timeout") == 0) in fmd_prop_get_int64()
245 if (strcmp(name, "io_T") == 0 || strcmp(name, "checksum_T") == 0) in fmd_prop_get_int64()
388 if (strcmp(class, "fault.fs.zfs.vdev.io") == 0) in fmd_fault_mkcode()
398 else if (strcmp(class, "fault.fs.zfs.pool") == 0) in fmd_fault_mkcode()
458 assert(strcmp(name, "data") == 0); in fmd_buf_create()
470 assert(strcmp(name, "data") == 0); in fmd_buf_read()
481 assert(strcmp(name, "data") == 0); in fmd_buf_write()
717 if (strcmp(name, "zfs-retire") == 0) in fmd_module_hdl()
[all …]
/f-stack/freebsd/contrib/openzfs/cmd/zed/
H A Dzed_disk_event.c121 if ((value != NULL && strcmp("partition", value) == 0) || in dev_event_nvlist()
193 if (strcmp(type, "zfs_member") == 0) { in zed_udev_monitor()
214 strcmp(type, "disk") == 0 && in zed_udev_monitor()
250 if (strcmp(action, "add") == 0) { in zed_udev_monitor()
253 } else if (strcmp(action, "remove") == 0) { in zed_udev_monitor()
256 } else if (strcmp(action, "change") == 0) { in zed_udev_monitor()
284 if (strcmp(class, EC_DEV_STATUS) == 0 && in zed_udev_monitor()
289 if (tmp && tmp2 && (strcmp(tmp, tmp2) != 0)) { in zed_udev_monitor()
308 if (tmp != NULL && strcmp(tmp, "0") == 0) { in zed_udev_monitor()
328 if (strcmp(class, EC_DEV_STATUS) == 0 && in zed_udev_monitor()
[all …]
/f-stack/dpdk/examples/vm_power_manager/
H A Dchannel_monitor.c192 if (!strcmp(key, "policy")) { in parse_json_to_pkt()
202 } else if (!strcmp(key, "command")) { in parse_json_to_pkt()
205 if (!strcmp(command, "power")) { in parse_json_to_pkt()
219 if (!strcmp(command, "TIME")) { in parse_json_to_pkt()
232 } else if (!strcmp(key, "workload")) { in parse_json_to_pkt()
235 if (!strcmp(command, "HIGH")) { in parse_json_to_pkt()
239 } else if (!strcmp(command, "LOW")) { in parse_json_to_pkt()
264 } else if (!strcmp(key, "mac_list")) { in parse_json_to_pkt()
282 } else if (!strcmp(key, "unit")) { in parse_json_to_pkt()
285 if (!strcmp(unit, "SCALE_UP")) { in parse_json_to_pkt()
[all …]
/f-stack/freebsd/amd64/amd64/
H A Ddb_trace.c198 if (strcmp(name, "calltrap") == 0 || in db_nextframe()
199 strcmp(name, "fork_trampoline") == 0 || in db_nextframe()
200 strcmp(name, "mchk_calltrap") == 0 || in db_nextframe()
201 strcmp(name, "nmi_calltrap") == 0 || in db_nextframe()
202 strcmp(name, "Xdblfault") == 0) in db_nextframe()
206 strcmp(name, "Xxen_intr_upcall") == 0 || in db_nextframe()
207 strcmp(name, "Xtimerint") == 0 || in db_nextframe()
209 strcmp(name, "Xcpustop") == 0 || in db_nextframe()
210 strcmp(name, "Xcpususpend") == 0 || in db_nextframe()
211 strcmp(name, "Xrendezvous") == 0) in db_nextframe()
[all …]
/f-stack/freebsd/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c376 if (strcmp(type, VDEV_TYPE_DISK) == 0) in make_leaf_vdev()
520 if (strcmp(type, VDEV_TYPE_HOLE) == 0) in get_replication()
583 while (strcmp(childtype, in get_replication()
608 strcmp(type, childtype) != 0) { in get_replication()
953 if (strcmp(type, VDEV_TYPE_DISK) != 0) in make_disks()
1110 if (strcmp(type, VDEV_TYPE_DISK) == 0) in is_device_in_use()
1131 if (strcmp(type, VDEV_TYPE_DISK) == 0) in is_device_in_use()
1248 if (strcmp(type, "mirror") == 0) { in is_grouping()
1254 if (strcmp(type, "spare") == 0) { in is_grouping()
1260 if (strcmp(type, "log") == 0) { in is_grouping()
[all …]
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5.c891 if (!strcmp(sh->ibdev_name, in mlx5_alloc_shared_dev_ctx()
1450 if (!strcmp(MLX5_REPRESENTOR, key)) in mlx5_args_check()
1459 if (tmp < 0 && strcmp(MLX5_TX_PP, key) && strcmp(MLX5_TX_SKEW, key)) { in mlx5_args_check()
1466 if (strcmp(MLX5_RXQ_CQE_COMP_EN, key) == 0) { in mlx5_args_check()
1505 } else if (strcmp(MLX5_TX_DB_NC, key) == 0) { in mlx5_args_check()
1521 } else if (strcmp(MLX5_TX_VEC_EN, key) == 0) { in mlx5_args_check()
1523 } else if (strcmp(MLX5_TX_PP, key) == 0) { in mlx5_args_check()
1530 } else if (strcmp(MLX5_TX_SKEW, key) == 0) { in mlx5_args_check()
1532 } else if (strcmp(MLX5_RX_VEC_EN, key) == 0) { in mlx5_args_check()
1536 } else if (strcmp(MLX5_VF_NL_EN, key) == 0) { in mlx5_args_check()
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_sysfs.c270 if (strcmp(attr_name, "datasets") == 0 && in zprop_sysfs_show()
284 if (strcmp(attr_name, "type") == 0) { in zprop_sysfs_show()
286 } else if (strcmp(attr_name, "readonly") == 0) { in zprop_sysfs_show()
288 } else if (strcmp(attr_name, "setonce") == 0) { in zprop_sysfs_show()
290 } else if (strcmp(attr_name, "visible") == 0) { in zprop_sysfs_show()
292 } else if (strcmp(attr_name, "values") == 0) { in zprop_sysfs_show()
294 } else if (strcmp(attr_name, "default") == 0) { in zprop_sysfs_show()
371 if (strcmp(attr->name, "supported") == 0) in kernel_feature_show()
455 if (strcmp(attr->name, "description") == 0) { in pool_feature_show()
457 } else if (strcmp(attr->name, "guid") == 0) { in pool_feature_show()
[all …]
/f-stack/freebsd/kern/
H A Dvfs_mount.c196 if (strcmp(opt->name, name) == 0) in vfs_deleteopt()
205 if (strcmp(opt, "ro") == 0 || strcmp(opt, "rdonly") == 0 || in vfs_isopt_ro()
206 strcmp(opt, "norw") == 0) in vfs_isopt_ro()
215 if (strcmp(opt, "rw") == 0 || strcmp(opt, "noro") == 0) in vfs_isopt_rw()
229 if (strcmp(opt1, opt2) == 0) in vfs_equalopts()
1967 if (strcmp(*t, p) == 0) in vfs_filteropt()
1970 if (strcmp(*t, q) == 0) in vfs_filteropt()
1977 if (strcmp(*t, p) == 0) in vfs_filteropt()
1980 if (strcmp(*t, q) == 0) in vfs_filteropt()
2096 if (strcmp(name, opt->name) != 0) in vfs_getopts()
[all …]
/f-stack/freebsd/contrib/openzfs/cmd/zstream/
H A Dzstream.c57 if (strcmp(subcommand, "dump") == 0) { in main()
59 } else if (strcmp(subcommand, "token") == 0) { in main()
61 } else if (strcmp(subcommand, "redup") == 0) { in main()

12345678910>>...28