/titanic_44/usr/src/cmd/du/ |
H A D | du.c | 91 static u_longlong_t descend(char *curname, int curfd, int *retcode, 280 descend(char *curname, int curfd, int *retcode, dev_t device) in descend() argument 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() [all …]
|
/titanic_44/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()
|
/titanic_44/usr/src/cmd/setuname/ |
H A D | setuname.c | 514 char curname[SYS_NMLN]; local 519 curlen = fread(curname, sizeof(char), SYS_NMLN, file); 521 if (curname[i] == '\n') { 522 curname[i] = '\0'; 527 curname[curlen] = '\0'; 531 curname[0] = '\0'; 533 if (strcmp(curname, nodenm) != 0) {
|
/titanic_44/usr/src/tools/ctf/cvt/ |
H A D | output.c | 684 write_ctf(tdata_t *td, const char *curname, const char *newname, int flags) in write_ctf() argument 695 if ((fd = open(curname, O_RDONLY)) < 0 || fstat(fd, &st) < 0) in write_ctf() 696 terminate("%s: Cannot open for re-reading", curname); in write_ctf() 698 elfterminate(curname, "Cannot re-read"); in write_ctf() 703 elfterminate(curname, "Cannot write"); in write_ctf() 705 data = make_ctf_data(td, elf, curname, &len, flags); in write_ctf() 706 write_file(elf, curname, telf, newname, data, len, flags); in write_ctf()
|
/titanic_44/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()
|
/titanic_44/usr/src/lib/libsasl/lib/ |
H A D | auxprop.c | 385 const char **curname; in prop_getnames() local 389 for(curname = names; *curname; curname++) { in prop_getnames() 392 if(!strcmp(*curname,val->name)) { in prop_getnames()
|
/titanic_44/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()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | modctl.c | 4022 char *curname, *newname; in mod_hold_by_name_common() local 4072 curname = mp->mod_filename; in mod_hold_by_name_common() 4073 if (curname == NULL || in mod_hold_by_name_common() 4075 (curname != filename) && in mod_hold_by_name_common() 4077 (strcmp(curname, filename) != 0))) { in mod_hold_by_name_common() 4081 if (curname != NULL) in mod_hold_by_name_common() 4082 kobj_free(curname, strlen(curname) + 1); in mod_hold_by_name_common()
|
/titanic_44/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 840 char curname[ZONENAME_MAX], old_delname[ZONENAME_MAX]; in zonecfg_set_name() local 843 if ((err = getrootattr(handle, DTD_ATTR_NAME, curname, in zonecfg_set_name() 844 sizeof (curname))) != Z_OK) in zonecfg_set_name() 847 if (strcmp(name, curname) == 0) in zonecfg_set_name() 886 err = zone_get_state(curname, &state); in zonecfg_set_name() 894 (void) strlcpy(handle->zone_dh_delete_name, curname, in zonecfg_set_name() 921 if ((err = insert_admins(handle, curname)) != Z_OK) in zonecfg_set_name()
|
/titanic_44/usr/src/uts/common/fs/ |
H A D | vfs.c | 4523 char *curname; in fs_build_vector() local 4527 curname = translation[i].name; in fs_build_vector() 4535 if (strcmp(operations[j].name, curname) == 0) { in fs_build_vector()
|