/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | funcs.c | 124 if (strcmp(key, keys[i].key) == 0) { in change_key() 182 if (strcmp(keys[i].key, key) == 0) { in getsetdefval() 215 if (strcmp(usertype, USERATTR_TYPE_NONADMIN_KW) == 0) in is_role() 267 if (strcmp(suffix, KV_WILDCARD)) { /* Not a wildcard */ in check_auth() 278 if (strcmp(suffix, "grant")) { /* Not a grant option */ in check_auth() 369 if (strcmp(utype, USERATTR_TYPE_NONADMIN_KW) != 0) { in check_role() 410 if (strcmp(type, USERATTR_TYPE_NONADMIN_KW) != 0 && in check_type() 411 strcmp(type, USERATTR_TYPE_NORMAL_KW) != 0) in check_type()
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | fslib.c | 215 if ((strcmp(ml->mntl_mnt->mnt_mountp, in fsgetmlast() 217 (strcmp(ml->mntl_mnt->mnt_special, in fsgetmlast() 221 if (strcmp(ml->mntl_mnt->mnt_mountp, in fsgetmlast() 225 if (strcmp(ml->mntl_mnt->mnt_special, in fsgetmlast() 265 if (strcmp(s, cp) == 0) in fsstrinlist() 326 if (strcmp(option_ptr, "loop") == 0) in cmp_requested_to_actual_options() 358 if ((strcmp(option_ptr, actopt)) == 0) { in cmp_requested_to_actual_options() 541 if (strcmp(opt, stdopts[i]) == 0) in optindx()
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_support/ |
H A D | s10_support.c | 281 strcmp(platform, "i86xpv") == 0) in have_valid_ku() 290 if (strcmp(p, vers_table[0]) == 0 || in have_valid_ku() 291 strcmp(p, vers_table[1]) == 0) in have_valid_ku() 366 if (strcmp(emul_feature_filep->d_name, ".") == 0 || in set_zone_emul_bitmap() 367 strcmp(emul_feature_filep->d_name, "..") == 0) in set_zone_emul_bitmap() 524 if (strcmp(argv[1], "verify") == 0) in main() 527 if (strcmp(argv[1], "boot") == 0) in main()
|
/illumos-gate/usr/src/cmd/ahciem/ |
H A D | ahciem.c | 123 if (strcmp(arg, AHCIEM_IDENT) == 0) { in ahciem_parse() 125 } else if (strcmp(arg, AHCIEM_FAULT) == 0) { in ahciem_parse() 127 } else if (strcmp(arg, AHCIEM_NOACTIVITY) == 0) { in ahciem_parse() 129 } else if (strcmp(arg, AHCIEM_DEFAULT) == 0) { in ahciem_parse() 166 if (strcmp(driver, "ahci") != 0) in ahciem_devinfo() 174 if (mname != NULL && strcmp("devctl", mname) == 0) in ahciem_devinfo()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk.c | 57 if (strcmp(MPTSAS_DRV, driver) == 0) { in disk_declare_driver() 70 } else if (strcmp(NVME_DRV, driver) == 0) { in disk_declare_driver() 92 if (strcmp(name, DISK) != 0 && strcmp(name, NVME) != 0) { in disk_enum() 105 if (strcmp(pname, BAY) == 0) { in disk_enum()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_return_efault.c | 102 if (strcmp(fn_name, "copy_to_user") != 0 && in match_return_call() 103 strcmp(fn_name, "__copy_to_user") != 0 && in match_return_call() 104 strcmp(fn_name, "copy_from_user") != 0 && in match_return_call() 105 strcmp(fn_name, "__copy_from_user")) in match_return_call()
|
H A D | check_type.c | 28 if (!strcmp(cur_func, fn)) in in_function() 46 if (!strcmp("sk_buff", type->ident->name)) { in match_free() 48 } else if (!strcmp("net_device", type->ident->name)) { in match_free()
|
H A D | check_kmalloc_to_bugon.c | 30 if (!strcmp(expr->fn->symbol_name->name, "kmalloc")) in is_kmalloc_call() 32 if (!strcmp(expr->fn->symbol_name->name, "kzalloc")) in is_kmalloc_call() 45 if (!macro || strcmp(macro, "BUG_ON") != 0) in match_condition()
|
/illumos-gate/usr/src/cmd/acct/lib/ |
H A D | devtolin.c | 86 ((strcmp(srch_dirs[dirno], dev_dir) == 0) ? in devtolin() 148 if (strcmp(skip_dirs[dirno++], path) == 0) in srch_dir() 191 (strcmp(d->d_name, ".") != 0) && in srch_dir() 192 (strcmp(d->d_name, "..") != 0) && in srch_dir()
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2.c | 49 if (strcmp(cpp->scp_name, nvpair_name(nvp)) == 0) in ses2_setprop() 81 if (strcmp(name, SES_PROP_SWAP) == 0) in ses2_ctl_common_setprop() 83 else if (strcmp(name, SES_PROP_DISABLED) == 0) in ses2_ctl_common_setprop() 85 else if (strcmp(name, SES_PROP_PRDFAIL) == 0) in ses2_ctl_common_setprop()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/ |
H A D | psvcpolicy.c | 435 if (strcmp(state, PSVC_OK) != 0) { in check_fan() 439 if (strcmp(state, prev_state) != 0) { in check_fan() 509 if (strcmp(state, prev_state) != 0) { in psvc_fan_fault_check_policy_0() 909 if (strcmp(state, "NO AC POWER") == 0) in check_ps_state() 928 (strcmp(previous_state, state))); in check_ps_state() 935 if (strcmp(previous_state, state) != 0) { in check_ps_state() 1058 if (strcmp(state, PSVC_OK) != 0) { in check_ps_state() 1339 if (strcmp(state, PSVC_OK) == 0 || strcmp(state, "") == 0) { /* OK */ in light_disk_fault_leds() 1452 if (strcmp(wwn, vwwn) == 0) { in verify_disk_wwn() 1583 if (strcmp(state, PSVC_SWITCH_ON) == 0) { in check_disk_fault() [all …]
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 4044 if (strcmp(root, "/") != 0) { in is_ramdisk() 5013 } else if (strcmp(cmd, in line_parser() 6401 if (strcmp(fstype, "ufs") == 0) { 7058 strcmp(dp->d_name, "..") == 0) 7328 if (strcmp(fstype, "zfs") == 0) { 7501 if (strcmp(fstype, "ufs") == 0) { 7657 if (strcmp(fstype, "ufs") == 0) { 8938 strcmp(bam_root, "/") != 0 || 8939 strcmp(rootbuf, "/") != 0) { 9800 if (strcmp(opt, "default") == 0) { [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | soconfig.c | 103 if (argc == 1 && strcmp(argv[0], "-l") == 0) { 108 if (argc >= 2 && strcmp(argv[0], "-F") == 0) { 113 if (argc == 2 && strcmp(argv[0], "-d") == 0) { 117 if (argc == 2 && strcmp(argv[0], "-f") == 0) { 456 if (strcmp(argv[2], "auto") == 0) { in parse_filter_params() 460 if (strcmp(argv[3], "top") == 0) { in parse_filter_params() 462 } else if (strcmp(argv[3], "bottom") == 0) { in parse_filter_params() 492 } else if (strcmp(argv[2], "prog") == 0) { in parse_filter_params() 636 (strcmp(sc_table.st_entries[i].se_modname, in print_socktable()
|
/illumos-gate/usr/src/cmd/sgs/unifdef/common/ |
H A D | unifdef.c | 129 else if (strcmp(&cp[1], "t") == 0) in main() 131 else if (strcmp(&cp[1], "l") == 0) in main() 133 else if (strcmp(&cp[1], "c") == 0) in main() 344 if (strcmp(keyword, "ifdef") == 0) { in checkline() 347 } else if (strcmp(keyword, "if") == 0) { in checkline() 349 if (strcmp(nextsym(cp), "defined") == 0) { in checkline() 360 } else if (strcmp(keyword, "ifndef") == 0) { in checkline() 388 } else if (strcmp(keyword, "else") == 0) in checkline() 390 else if (strcmp(keyword, "endif") == 0) in checkline()
|
/illumos-gate/usr/src/cmd/devfsadm/sparc/ |
H A D | misc_link_sparc.c | 89 if (strcmp(nn, "SUNW,pmc") == 0) { in ddi_other() 91 } else if (strcmp(nn, "SUNW,mic") == 0) { in ddi_other() 112 if (strcmp(mn, "c") == 0) { in diskette() 116 } else if (strcmp(mn, "c,raw") == 0) { in diskette() 135 if (strcmp(di_driver_name(node), "ecpp") != 0) { in ecpp_create()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | mntinfo.c | 133 return (strcmp(fs1->name, fs2->name)); in fs_tab_ent_comp() 226 if ((strcmp(fs_tab[n]->fstype, MNTTYPE_AUTOFS)) == 0) in get_server_host() 288 if (strcmp(fs_tab[i]->name, client_path) == 0) { in already_mounted() 679 if (strcmp(optptr, keyword) == 0) in hasopt() 684 if (strcmp(vfs_options, keyword) == 0) in hasopt() 713 if (strcmp(mt->mnt_fstype, MNTTYPE_AUTOFS) == 0 || in construct_mt() 714 strcmp(mt->mnt_fstype, MNTTYPE_NFS) == 0 || in construct_mt() 942 strcmp(vfs->vfs_fstype, MNTTYPE_LOFS) != in get_mntinfo() 950 if (strcmp(vfs->vfs_mountp, "/") == 0) { in get_mntinfo() 964 strcmp(path_part(vfs->vfs_special), in get_mntinfo() [all …]
|
/illumos-gate/usr/src/lib/libnsl/netselect/ |
H A D | netselect.c | 189 if (retp && (strcmp(retp->nc_netid, "udp6") == 0 || in getnetconfig() 190 strcmp(retp->nc_netid, "tcp6") == 0)) { in getnetconfig() 230 if (strcmp((*tpp)->nc_netid, netid) == 0) { in getnetconfigent() 232 strcmp((*tpp)->nc_netid, "tcp6") == 0)) { in getnetconfigent() 347 if (netid && (strcmp(netid, entnetid) != 0)) { in fgetnetconfig() 473 if (strcmp(netid, (*tpp)->nc_netid) == 0) { in setnetpath() 509 if (strcmp(netid, (*tpp)->nc_netid) == 0) { in setnetpath() 568 if (retp && (strcmp(retp->nc_netid, "udp6") == 0 || in getnetpath() 569 strcmp(retp->nc_netid, "tcp6") == 0)) { in getnetpath() 626 if (strcmp(nc_data[i].string, cp) == 0) { in getvalue() [all …]
|
/illumos-gate/usr/src/cmd/cxgbetool/ |
H A D | cxgbetool.c | 112 if (!strcmp(opt, option_list[i])) in check_option() 436 if (!strcmp(entity, entity_list[i].name)) in check_dbg_entity() 448 if (!strcmp(entity, entity_alias_list[i].name)) in get_alias() 638 if (strcmp(argv[2], "devlog") == 0) in run_cmd() 640 else if (strcmp(argv[2], "loadfw") == 0) in run_cmd() 642 else if (strcmp(argv[2], "cudbg") == 0) in run_cmd() 728 if (strcmp(di_minor_name(minor), mname) == 0) { in cxgbetool_parse_path() 768 if (strcmp(argv[1], "-h") == 0 || in main() 769 strcmp(argv[1], "--help") == 0) { in main() 773 if (strcmp(argv[1], "-v") == 0 || in main() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 448 (strcmp(get_prop_val( in display_pci() 486 if (strcmp(name, "pci") == 0) { in display_pci() 884 (strcmp(type, "cpu") == 0) || in walk() 893 (strcmp(name, "sbus") == 0) || in walk() 894 (strcmp(name, "memory") == 0) || in walk() 895 (strcmp(name, "mc") == 0) || in walk() 896 (strcmp(name, "associations") == 0)) { in walk() 1397 (strcmp(get_prop_val( in tazjav_disp_asic_revs() 1505 if (strcmp(name, "pci") == 0) { in tazmo_physical_slot() 1516 if (strcmp(name, "pci") == 0) in tazmo_physical_slot() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/ |
H A D | findstack_subr.c | 66 if (strcmp(state, "PARKED") == 0) { in thread_text_to_state() 68 } else if (strcmp(state, "UNPARKED") == 0) { in thread_text_to_state() 70 } else if (strcmp(state, "FREE") == 0) { in thread_text_to_state() 93 if (strcmp(name, "MX") == 0) { in sobj_text_to_ops() 95 } else if (strcmp(name, "CV") == 0) { in sobj_text_to_ops() 115 boolean_t match = (strcmp(obj->obj_name, smp->sm_name) == 0); in stacks_module_callback()
|
/illumos-gate/usr/src/lib/pam_modules/passwd_auth/ |
H A D | passwd_auth.c | 91 if (strcmp(argv[i], "debug") == 0) in pam_sm_authenticate() 93 if (strcmp(argv[i], "nowarn") == 0) in pam_sm_authenticate() 95 if (strcmp(argv[i], "server_policy") == 0) in pam_sm_authenticate() 239 strcmp(repository_name, "files") != 0 && in pam_sm_authenticate() 240 strcmp(repository_name, "nis") != 0) { in pam_sm_authenticate() 262 if (strcmp(crypt(password, rep_passwd), rep_passwd) != 0) { in pam_sm_authenticate()
|
/illumos-gate/usr/src/cmd/pcidr/ |
H A D | pcidr_common.c | 154 if (strcmp(name, ATTRNM_CLASS) == 0 || in pcidr_name2type() 155 strcmp(name, ATTRNM_SUBCLASS) == 0 || in pcidr_name2type() 156 strcmp(name, ATTRNM_PUB_NAME) == 0 || in pcidr_name2type() 157 strcmp(name, DR_REQ_TYPE) == 0 || in pcidr_name2type() 158 strcmp(name, DR_AP_ID) == 0) { in pcidr_name2type() 227 if (strcmp(argstr, valstr) == 0) { in pcidr_check_string()
|
/illumos-gate/usr/src/cmd/split/ |
H A D | split.c | 93 if (strcmp(argv[i], "-") == 0) { in main() 100 (strcmp(argv[i], "--") == 0)) { in main() 111 if (strcmp(argv[i], "--") == 0) in main() 138 if (strcmp(optarg, "--") == 0) { in main() 152 if (strcmp(optarg, "--") == 0) { in main() 164 if (strcmp(optarg, "--") == 0) { in main()
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetnetgr.c | 56 host_filter = (strcmp(list[1], "*") == 0) ? NULL : list[1]; in dogetnetgr() 57 user_filter = (strcmp(list[2], "*") == 0) ? NULL : list[2]; in dogetnetgr() 58 dom_filter = (strcmp(list[3], "*") == 0) ? NULL : list[3]; in dogetnetgr()
|
/illumos-gate/usr/src/lib/libcmdutils/common/ |
H A D | sysattrs.c | 82 if (strcmp(basename(file), file) != 0) { in sysattr_type() 88 if (strcmp(file, VIEW_READONLY) == 0) { in sysattr_type() 90 } else if (strcmp(file, VIEW_READWRITE) == 0) { in sysattr_type()
|