/illumos-gate/usr/src/cmd/make/lib/vroot/ |
H A D | vroot.cc | 254 int *rel_path, path_len= 1; in translate_with_thunk() local 256 for (pp= pp1; pp->path != NULL; pp++) path_len++; in translate_with_thunk() 258 for (path_len-= 2; path_len >= 0; path_len--) rel_path[path_len]= 0; in translate_with_thunk() 260 for (pp= pp1, path_len= 0; pp->path != NULL; pp++, path_len++) { in translate_with_thunk() 262 if (rel_path[path_len] == 1) continue; in translate_with_thunk() 263 if (pp->path[0] != '/') rel_path[path_len]= 1; in translate_with_thunk() 301 for (pp= pp1, path_len= 0; pp->path != NULL; pp++, path_len++) in translate_with_thunk()
|
/illumos-gate/usr/src/cmd/acct/lib/ |
H A D | devtolin.c | 140 int path_len; in srch_dir() local 159 path_len = strlen(path); in srch_dir() 161 last_comp = file_name + path_len; in srch_dir() 174 if ((int)(path_len + strlen(d->d_name) + 2) > in srch_dir()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client_secinfo.c | 625 uint_t path_len; in nfs4secinfo_otw() local 636 path_len = strlen(svp->sv_path); in nfs4secinfo_otw() 641 tmp_path = kmem_alloc(path_len + 1, KM_SLEEP); in nfs4secinfo_otw() 643 bcopy(svp->sv_path, tmp_path, path_len + 1); in nfs4secinfo_otw() 685 kmem_free(tmp_path, path_len + 1); in nfs4secinfo_otw() 706 kmem_free(tmp_path, path_len + 1); in nfs4secinfo_otw() 717 kmem_free(tmp_path, path_len + 1); in nfs4secinfo_otw() 741 kmem_free(tmp_path, path_len + 1); in nfs4secinfo_otw() 756 kmem_free(tmp_path, path_len + 1); in nfs4secinfo_otw() 771 kmem_free(tmp_path, path_len + 1); in nfs4secinfo_otw() [all …]
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | setflabel.c | 82 size_t path_len; in setflabel() local 106 path_len = strlen(canon) + 1; in setflabel() 108 datasize = CALL_SIZE(setfbcl_call_t, path_len - BUFSIZE); in setflabel()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_statd.c | 1213 int path_len; in record_name() local 1221 path_len = strlen(CURRENT) + strlen(name) + 2; in record_name() 1222 if (path_len > MAXPATHLEN) { in record_name() 1238 path_len = strlen(path_name[i]) + in record_name() 1241 if (path_len > MAXPATHLEN) { in record_name() 1295 int path_len; in record_addr() local 1375 path_len = strlen(path_name[i]) + in record_addr() 1379 if (path_len > MAXPATHLEN) { in record_addr()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | bootparam.c | 245 int rc = -1, sn_len, path_len, rlen; in bp_getfile() local 303 path_len = MAXPATHLEN-1; in bp_getfile() 304 if (xdr_string_decode(&rdata, pathname, &path_len)) { in bp_getfile()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | ttyname.c | 491 size_t path_len; in srch_dir() local 513 path_len = strlen(path.name); in srch_dir() 515 last_comp = file_name + path_len; in srch_dir() 534 if ((path_len + strlen(direntp->d_name) + 2) > MAX_DEV_PATH) in srch_dir()
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | gettext_real.c | 337 size_t nlspath_len, domain_len, locale_len, path_len; in process_nlspath() local 474 path_len = strlen(pathname); in process_nlspath() 476 path_len + 1); in process_nlspath() 477 pnlstmp->len = path_len; in process_nlspath() 478 ppaths_len += path_len + 1; /* 1 for ':' */ in process_nlspath()
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | server.c | 753 unsigned path_len; local 776 path_len = c - path_to_config; 778 path_len = strlen(path_to_config); 780 len = path_len + 2 + strlen(global_callbacks.appname) + 5 + 1; 794 snprintf(config_filename, len, "%.*s/%s.conf", path_len, path_to_config,
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_event.c | 1820 size_t path_len, dir_len; in aus_umount_path() local 1823 path_len = sizeof (struct audit_path) + sizeof (char *); in aus_umount_path() 1824 path = kmem_alloc(path_len, KM_SLEEP); in aus_umount_path() 1838 path->audp_size = path_len; in aus_umount_path() 1846 kmem_free(path, path_len); in aus_umount_path()
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibdm/ |
H A D | ibdm.c | 6808 size_t path_len; in ibdm_reset_gidinfo() local 6866 IBMF_SAA_PKEY_WC, 0, B_TRUE, &npaths, 0, &path_len, &path); in ibdm_reset_gidinfo() 6909 kmem_free(path, path_len); in ibdm_reset_gidinfo()
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 4250 int path_len; in hot_cleanup() local 4268 path_len = strlen(path); in hot_cleanup() 4304 path_len); in hot_cleanup()
|