/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metaimport.c | 61 struct utsname curname; local 63 if (uname(&curname) == -1) { 68 (void) fprintf(stderr, "%s %s\n", myname, curname.version);
|
/illumos-gate/usr/src/cmd/setuname/ |
H A D | setuname.c | 517 char curname[SYS_NMLN]; 522 curlen = fread(curname, sizeof(char), SYS_NMLN, file); 524 if (curname[i] == '\n') { 525 curname[i] = '\0'; 530 curname[curlen] = '\0'; 534 curname[0] = '\0'; 536 if (strcmp(curname, nodenm) != 0) { 514 char curname[SYS_NMLN]; local
|
/illumos-gate/usr/src/tools/ctf/stabs/common/ |
H A D | genassym.c | 158 char *curname, *sizedef, *shdef; local 162 if (ga_parse_name(line, &curname, &sizedef, &shdef) < 0) 165 if ((curtype = find_type(curname)) == CTF_ERR) 166 return (parse_warn("Couldn't find type %s", curname)); 171 curname)); 174 curname)); 187 "(%d) isn't a power of 2", curname, sz));
|
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | algs.c | 439 char **curname, **newbiename; local 455 curname = curalg->a_names; 458 while ((*curname != NULL) && (*newbiename != NULL) && match) { 459 match = (strcmp(*curname, *newbiename) == 0); 460 curname++; 463 if (!match || (*curname != NULL) || (*newbiename != NULL))
|
/illumos-gate/usr/src/cmd/du/ |
H A D | du.c | 93 static u_longlong_t descend(char *curname, int curfd, int *retcode, 275 * If curname is NULL, curfd is used. 278 descend(char *curname, int curfd, int *retcode, dev_t device) argument 299 if (curname) 309 i = fstatat(curfd, curname, &stb, 0); 310 j = fstatat(curfd, curname, &stb1, AT_SYMLINK_NOFOLLOW); 320 i = fstatat(curfd, curname, &stb, AT_SYMLINK_NOFOLLOW); 389 if (curname && (follow_symlinks || 391 pathconf(curname, _PC_XATTR_EXISTS) == 1) { 392 if ((fd = attropen(curname, " [all...] |
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | auxprop.c | 385 const char **curname; local 389 for(curname = names; *curname; curname++) { 392 if(!strcmp(*curname,val->name)) {
|
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | util_machelf.c | 219 const char *curname; local 224 curname = elfedit_offset_to_str(strsec, offset, 226 if (strcmp(curname, name) == 0) {
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | output.c | 684 write_ctf(tdata_t *td, const char *curname, const char *newname, int flags) argument 695 if ((fd = open(curname, O_RDONLY)) < 0 || fstat(fd, &st) < 0) 696 terminate("%s: Cannot open for re-reading", curname); 698 elfterminate(curname, "Cannot re-read"); 703 elfterminate(curname, "Cannot write"); 705 data = make_ctf_data(td, elf, curname, &len, flags); 706 write_file(elf, curname, telf, newname, data, len, flags);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | modctl.c | 4022 char *curname, *newname; local 4072 curname = mp->mod_filename; 4073 if (curname == NULL || 4075 (curname != filename) && 4077 (strcmp(curname, filename) != 0))) { 4081 if (curname != NULL) 4082 kobj_free(curname, strlen(curname) + 1);
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vfs.c | 4441 char *curname; local 4445 curname = translation[i].name; 4453 if (strcmp(operations[j].name, curname) == 0) {
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 846 char curname[ZONENAME_MAX], old_delname[ZONENAME_MAX]; local 849 if ((err = getrootattr(handle, DTD_ATTR_NAME, curname, 850 sizeof (curname))) != Z_OK) 853 if (strcmp(name, curname) == 0) 892 err = zone_get_state(curname, &state); 900 (void) strlcpy(handle->zone_dh_delete_name, curname, 927 if ((err = insert_admins(handle, curname)) != Z_OK)
|