/illumos-gate/usr/src/cmd/du/ |
H A D | du.c | 301 if (curname) in descend() 311 i = fstatat(curfd, curname, &stb, 0); in descend() 312 j = fstatat(curfd, curname, &stb1, AT_SYMLINK_NOFOLLOW); in descend() 322 i = fstatat(curfd, curname, &stb, AT_SYMLINK_NOFOLLOW); in descend() 392 if (curname && (follow_symlinks || in descend() 394 pathconf(curname, _PC_XATTR_EXISTS) == 1) { in descend() 395 if ((fd = attropen(curname, ".", O_RDONLY)) < 0) { in descend() 425 if (curname == NULL) in descend() 428 dirp = opendir(curname); in descend() 448 if ((curname ? (chdir(curname) < 0) : (fchdir(curfd) < 0))) { in descend() [all …]
|
/illumos-gate/usr/src/tools/ctf/stabs/common/ |
H A D | genassym.c | 158 char *curname, *sizedef, *shdef; in ga_process_name() local 162 if (ga_parse_name(line, &curname, &sizedef, &shdef) < 0) in ga_process_name() 165 if ((curtype = find_type(curname)) == CTF_ERR) in ga_process_name() 166 return (parse_warn("Couldn't find type %s", curname)); in ga_process_name() 171 curname)); in ga_process_name() 174 curname)); in ga_process_name() 187 "(%d) isn't a power of 2", curname, sz)); in ga_process_name()
|
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | algs.c | 439 char **curname, **newbiename; in ipsecalg_exists() local 455 curname = curalg->a_names; in ipsecalg_exists() 458 while ((*curname != NULL) && (*newbiename != NULL) && match) { in ipsecalg_exists() 459 match = (strcmp(*curname, *newbiename) == 0); in ipsecalg_exists() 460 curname++; in ipsecalg_exists() 463 if (!match || (*curname != NULL) || (*newbiename != NULL)) in ipsecalg_exists()
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | auxprop.c | 384 const char **curname; in prop_getnames() local 388 for(curname = names; *curname; curname++) { in prop_getnames() 391 if(!strcmp(*curname,val->name)) { in prop_getnames()
|
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | util_machelf.c | 219 const char *curname; in elfedit_name_to_symndx() local 224 curname = elfedit_offset_to_str(strsec, offset, in elfedit_name_to_symndx() 226 if (strcmp(curname, name) == 0) { in elfedit_name_to_symndx()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | modctl.c | 4035 char *curname, *newname; in mod_hold_by_name_common() local 4085 curname = mp->mod_filename; in mod_hold_by_name_common() 4086 if (curname == NULL || in mod_hold_by_name_common() 4088 (curname != filename) && in mod_hold_by_name_common() 4090 (strcmp(curname, filename) != 0))) { in mod_hold_by_name_common() 4094 if (curname != NULL) in mod_hold_by_name_common() 4095 kobj_free(curname, strlen(curname) + 1); in mod_hold_by_name_common()
|
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/ |
H A D | fake_vfs.c | 2035 char *curname; in fs_build_vector() local 2039 curname = translation[i].name; in fs_build_vector() 2047 if (strcmp(operations[j].name, curname) == 0) { in fs_build_vector()
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 848 char curname[ZONENAME_MAX], old_delname[ZONENAME_MAX]; in zonecfg_set_name() local 851 if ((err = getrootattr(handle, DTD_ATTR_NAME, curname, in zonecfg_set_name() 852 sizeof (curname))) != Z_OK) in zonecfg_set_name() 855 if (strcmp(name, curname) == 0) in zonecfg_set_name() 894 err = zone_get_state(curname, &state); in zonecfg_set_name() 902 (void) strlcpy(handle->zone_dh_delete_name, curname, in zonecfg_set_name() 929 if ((err = insert_admins(handle, curname)) != Z_OK) in zonecfg_set_name()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vfs.c | 4388 char *curname; in fs_build_vector() local 4392 curname = translation[i].name; in fs_build_vector() 4400 if (strcmp(operations[j].name, curname) == 0) { in fs_build_vector()
|