Home
last modified time | relevance | path

Searched refs:strcmp (Results 176 – 200 of 3318) sorted by relevance

12345678910>>...133

/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c792 0 || strcmp(token, in nfs_parse_legacy_options()
797 if (strcmp(token, in nfs_parse_legacy_options()
967 strcmp(value, "1") == 0)) in fill_export_from_optionset()
974 strcmp(value, "1") == 0)) in fill_export_from_optionset()
981 strcmp(value, "1") == 0)) in fill_export_from_optionset()
988 strcmp(value, "1") == 0)) in fill_export_from_optionset()
1004 strcmp(value, ".") != 0) { in fill_export_from_optionset()
1038 strcmp(value, "1") == 0)) in fill_export_from_optionset()
1045 strcmp(value, "1") == 0)) in fill_export_from_optionset()
2389 strcmp(c, "*") != 0) in nfs_validate_property()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/usb/
H A Dtopo_usb.c359 if (strcmp(drvname, "xhci") == 0) { in topo_usb_controller_create()
397 } else if (strcmp(drvname, "ehci") == 0) { in topo_usb_controller_create()
399 } else if (strcmp(drvname, "uhci") == 0) { in topo_usb_controller_create()
401 } else if (strcmp(drvname, "ohci") == 0) { in topo_usb_controller_create()
581 strcmp(pname, "port") != 0) { in topo_usb_gather_acpi()
719 strcmp(drvname, "hubd") == 0 && in topo_usb_gather_devcfg_port()
781 if (strcmp(name, "root-hub") == 0 && in topo_usb_gather_devcfg_cb()
1223 if (strcmp(strs[j], vers) == 0) in topo_usb_port_properties()
1700 strcmp(driver, "hubd") == 0) { in topo_usb_enum_lport()
1902 if (strcmp(name, USB_PCI) == 0) { in topo_usb_enum()
[all …]
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_services.c88 if (!strcmp(proto_str, "udp")) in process_host_list()
90 else if (!strcmp(proto_str, "tcp")) in process_host_list()
120 else if (strcmp(proto_str, "1")) { in process_host_list()
132 else if (strcmp(proto_str, "0")) { in process_host_list()
267 if (!strcmp(argv[i], "-kdc")) {
271 } else if (!strcmp(argv[i], "-pwd")) {
329 if (!strcmp(argv[i], "-randpw")) {
1183 if (strcmp(argv[i],"-force")==0) {
1227 if (strcmp(buf, yes)) {
1375 if (strcmp(argv[1], "-basedn")) {
[all …]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautomount.c218 if (strcmp(dir->dir_map, "-null") == 0) in main()
226 if (strcmp(dir->dir_name, d->dir_name) == 0) in main()
241 if (strcmp(mntp->mnt_fstype, MNTTYPE_AUTOFS) != 0) { in main()
253 if (strcmp(mntp->mnt_special, dir->dir_map) == 0 && in main()
360 if (strcmp(mntpnt, mntl->mntl_mnt->mnt_mountp) == 0) {
450 if (strcmp(opttbl1[i], opttbl2[j]) == 0) {
498 if (strcmp(mnt->mnt_fstype, MNTTYPE_AUTOFS) != 0) in do_unmounts()
514 if (strcmp(dir->dir_name, mnt->mnt_mountp) == 0) { in do_unmounts()
515 current = strcmp(dir->dir_map, "-null"); in do_unmounts()
H A Dmount.c110 if (strcmp(mntpnt, "/-") == 0) { in main()
194 if (strcmp(opt, "direct") == 0) { in process_opts()
196 } else if (strcmp(opt, "indirect") == 0) { in process_opts()
198 } else if ((strcmp(opt, "nest") != 0) && in process_opts()
199 (strcmp(opt, "ignore") != 0)) { in process_opts()
/illumos-gate/usr/src/cmd/truss/
H A Dlistopts.c107 if (stp->name && strcmp(stp->name, name) == 0) in syslist()
113 if (strcmp(sap->name, name) == 0) in syslist()
289 } else if (strcmp(name, "all") == 0 || in syslist()
290 strcmp(name, "ALL") == 0) { in syslist()
352 if (strcmp(sname, name) == 0 || in siglist()
353 strcmp(sname+3, name) == 0) in siglist()
365 } else if (strcmp(name, "ALL") == 0) { in siglist()
429 if (strcmp(fname, name) == 0 || in fltlist()
430 strcmp(fname+3, name) == 0) in fltlist()
442 } else if (strcmp(name, "ALL") == 0) { in fltlist()
[all …]
/illumos-gate/usr/src/lib/libproject/common/
H A Dsetproject.c86 if (strcmp("basic", component) == 0) { in build_rctlblk()
91 if (strcmp("priv", component) == 0 || in build_rctlblk()
92 strcmp("privileged", component) == 0) { in build_rctlblk()
125 if (strcmp("none", component) == 0) { in build_rctlblk()
130 if (strcmp("deny", component) == 0) { in build_rctlblk()
147 if (strcmp("sig", component) == 0 || in build_rctlblk()
148 strcmp("signal", component) == 0) { in build_rctlblk()
425 if (strcmp(name, (char *)data) == 0) in rctlwalkfunc()
593 if (strcmp(project_name, "") == 0 || in setproject_proc()
635 if (strcmp(kv_array->data[i].key, in setproject_proc()
[all …]
/illumos-gate/usr/src/uts/common/rpc/
H A Drpc_subr.c450 ASSERT(strcmp(config->knc_protofmly, NC_INET) == 0); in portmap_getport()
455 if (strcmp(config->knc_proto, NC_TCP) == 0) { in portmap_getport()
531 if (strcmp(config->knc_protofmly, NC_INET) == 0) { in rpcbind_getaddr()
534 if (strcmp(config->knc_proto, NC_TCP) == 0) in rpcbind_getaddr()
539 } else if (strcmp(config->knc_protofmly, NC_INET6) == 0) { in rpcbind_getaddr()
540 if (strcmp(config->knc_proto, NC_TCP) == 0) in rpcbind_getaddr()
545 } else if (strcmp(config->knc_protofmly, NC_LOOPBACK) == 0) { in rpcbind_getaddr()
621 if (strcmp(config->knc_protofmly, NC_INET) == 0) { in rpcbind_getaddr()
629 } else if (strcmp(config->knc_protofmly, NC_INET6) == 0) { in rpcbind_getaddr()
637 } else if (strcmp(config->knc_protofmly, NC_LOOPBACK) == 0) { in rpcbind_getaddr()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkdb5_util.c167 if (strcmp(cmd->name, name) == 0)
257 if (strcmp(*argv, "-P") == 0 && ARG_VAL) {
260 } else if (strcmp(*argv, "-d") == 0 && ARG_VAL) {
279 } else if (strcmp(*argv, "-x") == 0 && ARG_VAL) {
285 } else if (strcmp(*argv, "-r") == 0 && ARG_VAL) {
296 } else if (strcmp(*argv, "-k") == 0 && ARG_VAL) {
303 } else if (strcmp(*argv, "-M") == 0 && ARG_VAL) {
306 } else if (((strcmp(*argv, "-sf") == 0)
308 || (strcmp(*argv, "-f") == 0)) && ARG_VAL) {
311 } else if (strcmp(*argv, "-m") == 0) {
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dsysfiles.c288 if (strcmp(line, name) == SAME)
292 return(strcmp(line, name) == SAME);
335 if (strcmp(*line, "systems") == SAME) in nameparse()
337 else if (strcmp(*line, "devices") == SAME) in nameparse()
339 else if (strcmp(*line, "dialers") == SAME) in nameparse()
341 else if (strcmp(*line, "pop") == SAME) in nameparse()
343 else if (strcmp(*line, "push") == SAME) in nameparse()
345 else if (strcmp(*line, "connecttime") == SAME) in nameparse()
347 else if (strcmp(*line, "expecttime") == SAME) in nameparse()
349 else if (strcmp(*line, "msgtime") == SAME) in nameparse()
[all …]
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg.y171 if (strcmp($2, "-a") == 0) {
196 if (strcmp($2, "-a") == 0) {
209 if (strcmp($2, "-a") == 0) {
230 if (strcmp($2, "-a") == 0) {
246 if (strcmp($2, "-a") == 0) {
280 if (strcmp($2, "-n") == 0) {
303 if (strcmp($2, "-f") == 0) {
312 if (strcmp($2, "-f") == 0) {
360 if (strcmp($2, "-f") == 0) {
402 if (strcmp($2, "-d") == 0) {
[all …]
/illumos-gate/usr/src/cmd/vscan/vscanadm/
H A Dvscanadm.c263 if (strcmp(argv[i], "-?") == 0) in main()
326 if (strcmp(argv[i], "-p") == 0) { in vs_adm_get()
403 if (strcmp(argv[i], "-p") != 0) { in vs_adm_get_engine()
499 if (strcmp(argv[i], "-p") == 0) { in vs_adm_set_engine()
673 if (strcmp(argv[2], "-p") == 0) { in vs_adm_file_usage()
854 if (strcmp(argv[i], "-p") == 0) { in vs_adm_props_from_input()
938 if (strcmp(propname, p->vap_name) == 0) in vs_adm_prop_by_name()
1026 if (strcmp(valstr, VS_ADM_ALLOW) == 0) { in vs_adm_parse_maxsize_action()
1031 if (strcmp(valstr, VS_ADM_DENY) == 0) { in vs_adm_parse_maxsize_action()
1076 if (strcmp(valstr, VS_ADM_ON) == 0) { in vs_adm_parse_enable()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-string.c33 SM_TEST(strcmp(s, r) == 0);
37 SM_TEST(strcmp(s, buf) == 0);
43 SM_TEST(strcmp(foo, r) == 0);
H A Dt-exc.c97 SM_TEST(strcmp(unknown, cant) == 0);
111 SM_TEST(strcmp(unknown, cant) == 0);
124 SM_TEST(strcmp(unknown, cant) == 0);
143 SM_TEST(strcmp(unknown, cant) == 0);
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_arm64_tagged.c77 if (!strcmp(expr->member->name, "vm_start") || in expr_has_untagged_member()
78 !strcmp(expr->member->name, "vm_end") || in expr_has_untagged_member()
79 !strcmp(expr->member->name, "addr_limit")) in expr_has_untagged_member()
90 return (name && !strcmp(name, macro_name)); in expr_has_macro_with_name()
252 if (!arch || strcmp(arch, "arm64")) in check_arm64_tagged()
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsmap.c500 strcmp(prop_name, "name") == 0) { in parse_conf_entry()
530 if (strcmp(string, "yes") == 0) in parse_conf_entry()
532 else if (strcmp(string, "no") == 0) in parse_conf_entry()
561 if (strcmp(prop_name, "port") == 0) { in parse_conf_entry()
847 if (strcmp(node_name, "fp") == 0) { in lookup_in_conf_file()
1027 if (strcmp(p1, dev2) == 0) { in compare_controller()
1526 if (strcmp(nodepath, abspath) == 0) { in is_dev_in_vfstab()
1745 if (strcmp(rootdir, "/") == 0) in devfs_target2install()
1806 if (strcmp(rootdir, "/") == 0) in devfs_install2target()
1997 (strcmp(dp->d_name, "..") == 0)) in devfs_walk_children_minors()
[all …]
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_gld.c1421 if (strcmp(pr_name, "_eee_support") == 0) { in igb_set_priv_prop()
1458 if (strcmp(pr_name, "_tx_copy_thresh") == 0) { in igb_set_priv_prop()
1472 if (strcmp(pr_name, "_tx_recycle_thresh") == 0) { in igb_set_priv_prop()
1486 if (strcmp(pr_name, "_tx_overload_thresh") == 0) { in igb_set_priv_prop()
1500 if (strcmp(pr_name, "_tx_resched_thresh") == 0) { in igb_set_priv_prop()
1515 if (strcmp(pr_name, "_rx_copy_thresh") == 0) { in igb_set_priv_prop()
1529 if (strcmp(pr_name, "_rx_limit_per_intr") == 0) { in igb_set_priv_prop()
1543 if (strcmp(pr_name, "_intr_throttling") == 0) { in igb_set_priv_prop()
1576 if (strcmp(pr_name, "_adv_pause_cap") == 0) { in igb_get_priv_prop()
1580 } else if (strcmp(pr_name, "_eee_support") == 0) { in igb_get_priv_prop()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/
H A Dpsvcpolicy.c315 if ((strcmp(state1, check1) == 0) && (strcmp(state2, check2) != 0)) in change_of_state_str()
317 if ((strcmp(state1, check1) != 0) && (strcmp(state2, check2) == 0)) in change_of_state_str()
525 if ((strcmp(state, PSVC_ERROR) == 0) && in psvc_remove_missing_nodes_0()
1109 if (strcmp(state, PSVC_ERROR) == 0) { in psvc_ps_device_fail_notifier_policy_0()
1112 if (strcmp(bad_sensors[j], in psvc_ps_device_fail_notifier_policy_0()
1179 if (strcmp(state, PSVC_OK)) in psvc_ps_check_and_disable_dr_policy_0()
2015 if (strcmp(led_state, PSVC_OFF) == 0) { in psvc_update_FSP_fault_led_policy_0()
2025 if (strcmp(led_state, PSVC_ON) == 0) { in psvc_update_FSP_fault_led_policy_0()
2063 if (strcmp(led_state, PSVC_ON) == 0) { in update_gen_fault_led()
2072 if (strcmp(led_state, PSVC_OFF) == 0) { in update_gen_fault_led()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dsysevent_events.c77 if ((strcmp(event_class, EC_DEV_ADD) != 0 && in sysevent_handler()
78 strcmp(event_class, EC_DEV_REMOVE) != 0) || in sysevent_handler()
79 strcmp(event_subclass, ESC_NETWORK) != 0) { in sysevent_handler()
85 link_added = (strcmp(event_class, EC_DEV_ADD) == 0); in sysevent_handler()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dsetadmin.c96 if (strcmp(a_paramName, admlist[i].tag) == 0) { in setadminSetting()
135 else if (strcmp(file, "none") == 0) { in setadminFile()
158 if (strcmp(param, "mail") == 0) { in setadminFile()
166 if (strcmp(param, admlist[i].tag) == 0) { in setadminFile()
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_rsvd.c53 if (strcmp(nt, "udp") && strcmp(nt, "tcp") && in __yp_clnt_create_rsvdport_netid_req()
54 strcmp(nt, "udp6") && strcmp(nt, "tcp6")) in __yp_clnt_create_rsvdport_netid_req()
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal_find_by_capability.c109 if (strcmp (opt, "help") == 0) { in main()
112 } else if (strcmp (opt, "verbose") == 0) { in main()
114 } else if (strcmp (opt, "version") == 0) { in main()
116 } else if (strcmp (opt, "capability") == 0) { in main()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c442 (strcmp(get_prop_val( in display_pci()
480 if (strcmp(name, "pci") == 0) { in display_pci()
919 (strcmp(type, "cpu") == 0) || in walk()
928 (strcmp(name, "sbus") == 0) || in walk()
929 (strcmp(name, "memory") == 0) || in walk()
930 (strcmp(name, "mc") == 0) || in walk()
931 (strcmp(name, "associations") == 0)) { in walk()
1188 (strcmp(get_prop_val( in tazjav_disp_asic_revs()
1296 if (strcmp(name, "pci") == 0) { in tazmo_physical_slot()
1312 if (strcmp(name, "pci") == 0) in tazmo_physical_slot()
[all …]
/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv.c184 if (p->name != NULL && strcmp(p->name, name) == 0) in get_var()
197 if (strcmp(name, "bootcmd") == 0) { in print_var()
253 if (strcmp(name, "bootcmd") == 0) in set_var()
423 if (strcmp(strbegin, "setprop") != 0) { in parse_cmd()
691 if (strcmp(type, "DATA_TYPE_STRING") == 0) { in add_pair()
703 } else if (strcmp(type, "DATA_TYPE_INT64") == 0) { in add_pair()
723 } else if (strcmp(type, "DATA_TYPE_INT32") == 0) { in add_pair()
747 } else if (strcmp(type, "DATA_TYPE_INT16") == 0) { in add_pair()
771 } else if (strcmp(type, "DATA_TYPE_INT8") == 0) { in add_pair()
783 } else if (strcmp(type, "DATA_TYPE_BYTE") == 0) { in add_pair()
[all …]
/illumos-gate/usr/src/lib/libumem/common/
H A Denvvar.c436 if (strcmp(name, "size_clear") == 0) { in umem_size_process()
444 } else if (strcmp(name, "size_add") == 0) { in umem_size_process()
446 } else if (strcmp(name, "size_remove") == 0) { in umem_size_process()
478 if (strcmp(item_arg, "sbrk") == 0) in umem_backend_process()
480 else if (strcmp(item_arg, "mmap") == 0) in umem_backend_process()
502 if (strcmp(item_arg, "best") == 0) in umem_allocator_process()
504 else if (strcmp(item_arg, "next") == 0) in umem_allocator_process()
506 else if (strcmp(item_arg, "first") == 0) in umem_allocator_process()
508 else if (strcmp(item_arg, "instant") == 0) in umem_allocator_process()
649 if (strcmp(buf, item_list->item_name) == 0) { in umem_process_value()

12345678910>>...133