/illumos-gate/usr/src/cmd/bnu/ |
H A D | uucleanup.c | 157 char fullname[MAXFULLNAME], statfile[MAXFULLNAME], machname[MAXFULLNAME]; local 285 FULLNAME(fullname, statfile, file3); 286 DEBUG(9,"Fullname is (%s)\n", fullname); 288 if (_age(fullname) >= _Cdays) 289 cprocess(fullname); 290 else if(_age(fullname) >= _Wdays) 294 if (_age(fullname) >= _Ddays) 297 else if (_age(fullname) >= _Odays) 298 oprocess(fullname); 329 char fullname[MAXFULLNAME]; local [all …]
|
H A D | cpmv.c | 243 char fullname[MAXFULLNAME]; local 245 (void) sprintf(fullname, "%s/%s/", Pubdir, user); 246 if (mkdirs(fullname, PUBMASK) != 0) { 250 (void) strcat(fullname, BASENAME(file, '/')); 251 status = xmv(tmp, fullname); 253 (void) strcpy(file, fullname); 254 (void) chmod(fullname, PUB_FILEMODE);
|
H A D | uustat.c | 469 char fullname[MAXFULLNAME], buf[BUFSIZ], user[9]; local 496 (void) sprintf(fullname, "%s/%s", dir, file); 497 if (stat(fullname, &s) != 0) { 499 DEBUG(4, "Can't stat file (%s),", fullname); 503 fp = fopen(fullname, "r"); 505 DEBUG(4, "Can't open file (%s), ", fullname); 708 char fullname[MAXFULLNAME], buf[BUFSIZ], user[9]; local 724 (void) sprintf(fullname, "%s/%s", dir, file); 725 if (stat(fullname, &s) != 0) { 730 fullname, errno); [all …]
|
H A D | utility.c | 185 char fullname[MAXNAMESIZE], file[MAXNAMESIZE]; local 192 (void) sprintf(fullname, "%s/%s", dir, file); 193 if (cklock(fullname))
|
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/ |
H A D | kpatch.sh | 52 fullname=$1 53 filename=$(basename $fullname) 54 oname=$(echo ${fullname/.c/.o}) 64 if git diff $fullname | grep ^+ | grep -qi alloc ; then 67 if git diff $fullname | grep ^+ | grep -qi alloc ; then 72 kchecker --spammy $fullname 73 kchecker --sparse --endian $fullname 78 for file in $(grep -l $fullname ~/var/mail/sent-*) ; do 79 grepmail $fullname $file | grep -i ^subject || echo -n "" 83 git add $fullname [all …]
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keylogin.c | 225 oldkeylogin(char *fullname, char *pass) in oldkeylogin() argument 230 if (getsecretkey(fullname, secret, pass) == 0) { in oldkeylogin() 232 fullname); in oldkeylogin() 251 fullname); in oldkeylogin() 261 netst.st_netname = strdup(fullname); in oldkeylogin() 266 fullname); in oldkeylogin() 325 char fullname[MAXNETNAMELEN + 1]; in main() local 342 if (getnetname(fullname) == 0) { in main() 346 sec_domain = strdup(strchr(fullname, '@') + 1); in main() 357 (void) oldkeylogin(fullname, pass); in main() [all …]
|
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | kadm5_create.c | 270 char *fullname; in add_admin_princ() local 276 if (krb5_unparse_name(context, principal, &fullname)) in add_admin_princ() 290 gettext(str_PUT_PRINC), fullname); in add_admin_princ() 292 free(fullname); in add_admin_princ() 313 free(fullname); in add_admin_princ() 327 free(fullname); in add_admin_princ() 338 free(fullname); in add_admin_princ() 356 gettext(str_RANDOM_KEY), fullname); in add_admin_princ() 358 free(fullname); in add_admin_princ() 366 gettext(str_PUT_PRINC), fullname); in add_admin_princ() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_module_load.c | 49 const char *fullname = NULL; in mdb_module_load() local 81 fullname = name; in mdb_module_load() 88 if (fullname != NULL) { in mdb_module_load() 89 if (access(fullname, F_OK) != 0) { in mdb_module_load() 90 name = fullname; /* for warn() below */ in mdb_module_load() 93 return (mdb_module_create(name, fullname, mode, NULL)); in mdb_module_load() 155 module_load(void *fp, const mdb_map_t *map, const char *fullname) in module_load() argument 158 const char *name = strbasename(fullname); in module_load() 169 if (strstr(fullname, "/libc/") != NULL) { in module_load() 186 if (strstr(fullname, "ld.so") != NULL) { in module_load()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | print.c | 233 pr_boolean(char *infoname, char *capname, char *fullname, int value) in pr_boolean() argument 253 (void) printf(" %s@\n", fullname); in pr_boolean() 265 (void) printf(" %s\n", fullname); in pr_boolean() 274 nlen = strlen(fullname); in pr_boolean() 329 (void) printf("%s@,", fullname); in pr_boolean() 344 (void) printf("%s,", fullname); in pr_boolean() 389 pr_number(char *infoname, char *capname, char *fullname, int value) in pr_number() argument 409 (void) printf(" %s @\n", fullname); in pr_number() 424 (void) printf(" %s = %d\n", fullname, in pr_number() 436 nlen = strlen(fullname); in pr_number() [all …]
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_backup_reader.c | 199 output_humongus_header(char *fullname, longlong_t file_size, in output_humongus_header() argument 213 len = 20 + 1 + strlen(fullname) + 1; in output_humongus_header() 229 (void) snprintf(buf, len, "%lld %s", file_size, fullname); in output_humongus_header() 640 char *fullname; /* directory + name */ in tlm_output_xattr() local 658 fullname = ndmp_malloc(TLM_MAX_PATH_NAME); in tlm_output_xattr() 659 if (fullname == NULL) { in tlm_output_xattr() 660 free(fullname); in tlm_output_xattr() 664 if (!tlm_cat_path(fullname, dir, name)) { in tlm_output_xattr() 666 free(fullname); in tlm_output_xattr() 670 if (pathconf(fullname, _PC_XATTR_EXISTS) != 1 && in tlm_output_xattr() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/ |
H A D | history_common.kshlib | 125 typeset fullname=${cmd##* } 126 typeset dsname=${fullname%%@*} 127 typeset snapname=${fullname##*@} 157 typeset fullname=${cmd##* } 158 typeset dsname=${fullname%%@*} 161 typeset snapname=${fullname##*@} 388 typeset fullname=${cmd##* } 389 typeset dsname=${fullname%%@*} 390 typeset snapname=${fullname##*@} 392 grep "\[txg:[0-9]*\] $subcmd $fullname ([0-9]*)" $NEW_HISTORY \ [all …]
|
/illumos-gate/usr/src/tools/ctf/stabs/common/ |
H A D | ctfstabs.c | 161 char fullname[WORD_LEN]; in find_type() local 167 (void) snprintf(fullname, WORD_LEN, "struct %s", name); in find_type() 168 if ((id = ctf_lookup_by_name(ctf, fullname)) != CTF_ERR) in find_type() 171 (void) snprintf(fullname, WORD_LEN, "union %s", name); in find_type() 172 if ((id = ctf_lookup_by_name(ctf, fullname)) != CTF_ERR) in find_type() 175 (void) snprintf(fullname, WORD_LEN, "enum %s", name); in find_type() 176 if ((id = ctf_lookup_by_name(ctf, fullname)) != CTF_ERR) in find_type()
|
H A D | forth.c | 177 fth_section_init(char *fullname) in fth_section_init() argument 183 curtype = xstrdup(fullname); in fth_section_init() 185 part = strtok(fullname, "."); in fth_section_init()
|
/illumos-gate/usr/src/cmd/infocmp/ |
H A D | infocmp.c | 78 char *fullname; /* the long C variable name */ member 89 char *fullname; member 100 char *fullname; member 205 ibool[i].fullname = "unknown_boolean"; in allocvariables() 208 ibool[i].fullname = boolfnames[i]; in allocvariables() 218 ibool[i].fullname = "unknown_number"; in allocvariables() 221 num[i].fullname = numfnames[i]; in allocvariables() 231 str[i].fullname = "unknown_string"; in allocvariables() 234 str[i].fullname = strfnames[i]; in allocvariables() 259 return (strcmp(a->fullname, b->fullname)); in boolcompare() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_bookmark.c | 36 dsl_bookmark_hold_ds(dsl_pool_t *dp, const char *fullname, in dsl_bookmark_hold_ds() argument 42 if (strlen(fullname) >= ZFS_MAX_DATASET_NAME_LEN) in dsl_bookmark_hold_ds() 44 hashp = strchr(fullname, '#'); in dsl_bookmark_hold_ds() 51 (void) strlcpy(buf, fullname, hashp - fullname + 1); in dsl_bookmark_hold_ds() 94 dsl_bookmark_lookup(dsl_pool_t *dp, const char *fullname, in dsl_bookmark_lookup() argument 101 error = dsl_bookmark_hold_ds(dp, fullname, &ds, FTAG, &shortname); in dsl_bookmark_lookup() 409 const char *fullname = nvpair_name(pair); in dsl_bookmark_destroy_check() local 415 error = dsl_bookmark_hold_ds(dp, fullname, &ds, in dsl_bookmark_destroy_check() 435 fullname); in dsl_bookmark_destroy_check() 438 fnvlist_add_int32(dbda->dbda_errors, fullname, error); in dsl_bookmark_destroy_check()
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | bootdev.c | 439 char *fullname = NULL; in resolve_devfs_name() local 445 fullname = kmem_alloc(MAXPATHLEN, KM_SLEEP); in resolve_devfs_name() 446 (void) snprintf(fullname, MAXPATHLEN, "/devices%s", name); in resolve_devfs_name() 447 name = fullname; in resolve_devfs_name() 451 if (fullname) in resolve_devfs_name() 452 kmem_free(fullname, MAXPATHLEN); in resolve_devfs_name() 463 if (fullname) in resolve_devfs_name() 464 kmem_free(fullname, MAXPATHLEN); in resolve_devfs_name()
|
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/subsidiary/smf/ |
H A D | smf_util.c | 65 char *name, *inst, *bufp, *fullname; in sw_smf_svcfmri2shortstr() local 76 fullname = fmd_hdl_strdup(hdl, bufp, FMD_SLEEP); in sw_smf_svcfmri2shortstr() 79 return (fullname); /* caller must fmd_hdl_strfree */ in sw_smf_svcfmri2shortstr()
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_project.c | 214 char fullname[PATH_MAX]; in zfs_project_handle_dir() local 240 sizeof (fullname) + 1) { in zfs_project_handle_dir() 245 (void) sprintf(fullname, "%s/%s", name, ent->d_name); in zfs_project_handle_dir() 246 ret = zfs_project_handle_one(fullname, zpc); in zfs_project_handle_dir() 250 if (stat64(fullname, &sb) == 0 && in zfs_project_handle_dir() 252 zfs_project_item_alloc(head, fullname); in zfs_project_handle_dir()
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_register.c | 43 char *fullname; local 47 fullname = NULL; 60 DB_APP_DATA, NULL, name, 0, NULL, &fullname)) != 0) 141 if (fullname != NULL) 142 __os_freestr(fullname);
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | samlib.h | 92 char *fullname; member 100 char *fullname; member 108 char *fullname; member
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_nospec.c | 64 char fullname[256]; in set_param_nospec() local 67 snprintf(fullname, sizeof(fullname), "*%s", name); in set_param_nospec() 69 snprintf(fullname, 256, "%s%s", name, key + 1); in set_param_nospec() 73 set_state(my_id, fullname, sym, &nospec); in set_param_nospec()
|
H A D | smatch_nul_terminator.c | 172 char fullname[256]; in caller_info_terminated() local 175 snprintf(fullname, sizeof(fullname), "*%s", name); in caller_info_terminated() 177 snprintf(fullname, 256, "%s%s", name, key + 1); in caller_info_terminated() 181 set_state(my_id, fullname, sym, (*value == '1') ? &terminated : &unterminated); in caller_info_terminated()
|
H A D | smatch_container_of.c | 426 static char fullname[256]; in get_name_from_offset() local 438 snprintf(fullname, sizeof(fullname), "*%s", name); in get_name_from_offset() 439 return fullname; in get_name_from_offset() 446 snprintf(fullname, sizeof(fullname), "%s->%s", name, member->ident->name); in get_name_from_offset() 447 return fullname; in get_name_from_offset()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | disk_discovery.c | 220 char fullname[256 + MAXNAMLEN]; in device_get_disk_name_from_dir() local 234 (void) snprintf(fullname, sizeof (fullname), in device_get_disk_name_from_dir() 237 loc_err = stat(fullname, &targstat); in device_get_disk_name_from_dir()
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/kctl/ |
H A D | kctl_dmod.c | 69 kctl_find_module(char *modname, char *fullname, size_t fullnamelen) in kctl_find_module() argument 86 (void) strcpy(fullname, modname); in kctl_find_module() 100 (void) snprintf(fullname, fullnamelen, "%s/%s", path, modname); in kctl_find_module() 102 if ((fd = kobj_open(fullname)) == -1) in kctl_find_module() 107 kctl_dprintf("kobj_open %s found", fullname); in kctl_find_module()
|